diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..ea4f9c4ba88d5ebf96e2a7e90057bb6f09b68ab8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,504 @@ +# Created by https://www.toptal.com/developers/gitignore/api/intellij+iml,phpunit,git,vim,visualstudiocode,phpstorm,go,intellij+all,netbeans,dbeaver,node,yarn +# Edit at https://www.toptal.com/developers/gitignore?templates=intellij+iml,phpunit,git,vim,visualstudiocode,phpstorm,go,intellij+all,netbeans,dbeaver,node,yarn + +### DBeaver ### +# ide config file +.dbeaver-data-sources*.xml + +### Git ### +# Created by git for backups. To disable backups in Git: +# git config --global mergetool.keepBackup false +*.orig + +# Created by git when using merge tools for conflicts +*.BACKUP.* +*.BASE.* +*.LOCAL.* +*.REMOTE.* +*_BACKUP_*.txt +*_BASE_*.txt +*_LOCAL_*.txt +*_REMOTE_*.txt + +### Go ### +# If you prefer the allow list template instead of the deny list, see community template: +# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore +# +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib + +# Test binary, built with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE +*.out + +# Dependency directories (remove the comment below to include it) +# vendor/ + +# Go workspace file +go.work + +### Go Patch ### +/vendor/ +/Godeps/ + +### Intellij+all ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +### Intellij+all Patch ### +# Ignore everything but code style settings and run configurations +# that are supposed to be shared within teams. + +.idea/* + +!.idea/codeStyles +!.idea/runConfigurations + +### Intellij+iml ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff + +# AWS User-specific + +# Generated files + +# Sensitive or high-churn files + +# Gradle + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake + +# Mongo Explorer plugin + +# File-based project format + +# IntelliJ + +# mpeltonen/sbt-idea plugin + +# JIRA plugin + +# Cursive Clojure plugin + +# SonarLint plugin + +# Crashlytics plugin (for Android Studio and IntelliJ) + +# Editor-based Rest Client + +# Android studio 3.1+ serialized cache file + +### Intellij+iml Patch ### +# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023 + +*.iml +modules.xml +.idea/misc.xml +*.ipr + +### NetBeans ### +**/nbproject/private/ +**/nbproject/Makefile-*.mk +**/nbproject/Package-*.bash +build/ +nbbuild/ +dist/ +nbdist/ +.nb-gradle/ + +### Node ### +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional stylelint cache +.stylelintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variable files +.env +.env.development.local +.env.test.local +.env.production.local +.env.local + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next +out + +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# vuepress v2.x temp and cache directory +.temp + +# Docusaurus cache and generated files +.docusaurus + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* + +### Node Patch ### +# Serverless Webpack directories +.webpack/ + +# Optional stylelint cache + +# SvelteKit build / generate output +.svelte-kit + +### PhpStorm ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff + +# AWS User-specific + +# Generated files + +# Sensitive or high-churn files + +# Gradle + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake + +# Mongo Explorer plugin + +# File-based project format + +# IntelliJ + +# mpeltonen/sbt-idea plugin + +# JIRA plugin + +# Cursive Clojure plugin + +# SonarLint plugin + +# Crashlytics plugin (for Android Studio and IntelliJ) + +# Editor-based Rest Client + +# Android studio 3.1+ serialized cache file + +### PhpStorm Patch ### +# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 + +# *.iml +# modules.xml +# .idea/misc.xml +# *.ipr + +# Sonarlint plugin +# https://plugins.jetbrains.com/plugin/7973-sonarlint +.idea/**/sonarlint/ + +# SonarQube Plugin +# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin +.idea/**/sonarIssues.xml + +# Markdown Navigator plugin +# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced +.idea/**/markdown-navigator.xml +.idea/**/markdown-navigator-enh.xml +.idea/**/markdown-navigator/ + +# Cache file creation bug +# See https://youtrack.jetbrains.com/issue/JBR-2257 +.idea/ACHE_FILE +# CodeStream plugin +# https://plugins.jetbrains.com/plugin/12206-codestream +.idea/codestream.xml + +# Azure Toolkit for IntelliJ plugin +# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij +.idea/**/azureSettings.xml + +### PHPUnit ### +# Covers PHPUnit +# Reference: https://phpunit.de/ + +# Generated files +.phpunit.result.cache +.phpunit.cache + +# PHPUnit +/app/phpunit.xml +/phpunit.xml + +# Build data +/build/ + +### Vim ### +# Swap +[._]*.s[a-v][a-z] +!*.svg # comment out if you don't need vector files +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim +Sessionx.vim + +# Temporary +.netrwhist +*~ +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +# Support for Project snippet scope +.vscode/*.code-snippets + +# Ignore code-workspaces +*.code-workspace + +### yarn ### +# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored + +.yarn/* +!.yarn/releases +!.yarn/patches +!.yarn/plugins +!.yarn/sdks +!.yarn/versions + +# if you are NOT using Zero-installs, then: +# comment the following lines +!.yarn/cache + +# and uncomment the following lines +# .pnp.* + diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..5d19777b20ad5804f55831b1f5351c22b7979039 --- /dev/null +++ b/Makefile @@ -0,0 +1,60 @@ +############################################################################################# +############################################################################################# +## +## PROJECT-DEFINITIONS +## +############################################################################################# +############################################################################################# + +COMPONENT_NAME := NameOfComponent + +############################################################################################# +############################################################################################# +## +## MORE GENERAL BLOCK WITH STANDARD DEFINITIONS +## +############################################################################################# +############################################################################################# + +# get Makefile directory name: http://stackoverflow.com/a/5982798/376773 +THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) +PROJECT_ROOT:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd)/ +THIS_MAKEFILE:=$(PROJECT_ROOT)$(THIS_MAKEFILE_PATH) + + +-include $(PROJECT_ROOT)project.mk + + +## Define the location of Makefiles +MAKEFILE_IMPORT_PATH?=$(PROJECT_ROOT)makefiles/ +-include $(MAKEFILE_IMPORT_PATH)project.mk + +############################################################################################# +############################################################################################# +## +## INCLUSION OF VARIOUS STANDARD RULES +## +############################################################################################# +############################################################################################# + +include $(MAKEFILE_IMPORT_PATH)license-agpl3.mk +include $(MAKEFILE_IMPORT_PATH)placeholder.mk +include $(MAKEFILE_IMPORT_PATH)directories-standard.mk +include $(MAKEFILE_IMPORT_PATH)s3.mk +include $(MAKEFILE_IMPORT_PATH)nodejs.mk +include $(MAKEFILE_IMPORT_PATH)color.mk +include $(MAKEFILE_IMPORT_PATH)terminal.mk +include $(MAKEFILE_IMPORT_PATH)output.mk +include $(MAKEFILE_IMPORT_PATH)version.mk +include $(MAKEFILE_IMPORT_PATH)gitignore.mk +include $(MAKEFILE_IMPORT_PATH)target-help.mk +include $(MAKEFILE_IMPORT_PATH)target-variable.mk +include $(MAKEFILE_IMPORT_PATH)target-docman.mk +include $(MAKEFILE_IMPORT_PATH)target-update-makefiles.mk +include $(MAKEFILE_IMPORT_PATH)target-deploy-tool.mk +include $(MAKEFILE_IMPORT_PATH)target-build-nodejs.mk +include $(MAKEFILE_IMPORT_PATH)target-git.mk +include $(MAKEFILE_IMPORT_PATH)terminal-check.mk + + +############################################################################################# diff --git a/application/source/constants.js b/application/source/constants.js new file mode 100644 index 0000000000000000000000000000000000000000..864ca6060cf96139a74332ed96465ed061c8b54e --- /dev/null +++ b/application/source/constants.js @@ -0,0 +1,29 @@ +'use strict'; + +/** + * Property-Keys + * @author schukai GmbH + */ + +/** + * @private + * @type {symbol} + * @memberOf Monster + * @since 1.24.0 + */ +const internalSymbol = Symbol('internalData'); + +/** + * @private + * @type {symbol} + * @memberOf Monster + * @since 1.25.0 + */ +const internalStateSymbol = Symbol('state'); + + +export { + internalSymbol, + internalStateSymbol +} + diff --git a/application/source/constraints/abstract.js b/application/source/constraints/abstract.js new file mode 100644 index 0000000000000000000000000000000000000000..8813074f93867e79406e34e7af2996aa55794366 --- /dev/null +++ b/application/source/constraints/abstract.js @@ -0,0 +1,46 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from '../types/base.js'; + + +/** + * Constraints are used to define conditions that must be met by the value of a variable. + * + * The uniform API of the constraints allows chains to be formed. + * + * The abstract constraint defines the api for all constraints. mainly the method isValid() is defined. + * + * derived classes must implement the method isValid(). + * + * @since 1.3.0 + * @copyright schukai GmbH + * @memberOf Monster.Constraints + * @summary The abstract constraint + */ +class AbstractConstraint extends Base { + + /** + * + */ + constructor() { + super(); + } + + /** + * this method must return a promise containing the result of the check. + * + * @param {*} value + * @returns {Promise} + */ + isValid(value) { + return Promise.reject(value); + } +} + +assignToNamespace('Monster.Constraints', AbstractConstraint); +export {Monster, AbstractConstraint} \ No newline at end of file diff --git a/application/source/constraints/abstractoperator.js b/application/source/constraints/abstractoperator.js new file mode 100644 index 0000000000000000000000000000000000000000..90d15a415d840ecd5af986f23ae2dc30550b7f18 --- /dev/null +++ b/application/source/constraints/abstractoperator.js @@ -0,0 +1,45 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {AbstractConstraint} from "./abstract.js"; + +/** + * Constraints are used to define conditions that must be met by the value of a variable. + * + * The uniform API of the constraints allows chains to be formed. + * + * Operators allow you to link constraints together. for example, you can check whether a value is an object or an array. each operator has two operands that are linked together. + * + * @since 1.3.0 + * @copyright schukai GmbH + * @memberOf Monster.Constraints + * @summary The abstract operator constraint + */ +class AbstractOperator extends AbstractConstraint { + + /** + * + * @param {AbstractConstraint} operantA + * @param {AbstractConstraint} operantB + * @throws {TypeError} "parameters must be from type AbstractConstraint" + */ + constructor(operantA, operantB) { + super(); + + if (!(operantA instanceof AbstractConstraint) || !(operantB instanceof AbstractConstraint)) { + throw new TypeError("parameters must be from type AbstractConstraint") + } + + this.operantA = operantA; + this.operantB = operantB; + + } + + +} + +assignToNamespace('Monster.Constraints', AbstractOperator); +export {Monster, AbstractOperator} \ No newline at end of file diff --git a/application/source/constraints/andoperator.js b/application/source/constraints/andoperator.js new file mode 100644 index 0000000000000000000000000000000000000000..654745482d681cb22518e864b06a2065d6d03538 --- /dev/null +++ b/application/source/constraints/andoperator.js @@ -0,0 +1,71 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {AbstractOperator} from "./abstractoperator.js"; + +/** + * Constraints are used to define conditions that must be met by the value of a variable. + * + * The uniform API of the constraints allows chains to be formed. + * + * The AndOperator is used to link several contraints. The constraint is fulfilled if all constraints of the operators are fulfilled. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Constraint.AndOperator(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/andoperator.js'; + * new AndOperator(); + * </script> + * ``` + * + * @example + * + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/valid.js'; + * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/invalid.js'; + * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/andoperator.js'; + * + * new AndOperator( + * new Valid(), new Valid()).isValid() + * .then(()=>console.log(true)) + * .catch(()=>console.log(false)); + * // ↦ true + * + * new AndOperator( + * new Invalid(), new Valid()).isValid() + * .then(()=>console.log(true)) + * .catch(()=>console.log(false)); + * // ↦ false + * + * @since 1.3.0 + * @copyright schukai GmbH + * @memberOf Monster.Constraints + * @summary A and operator constraint + */ +class AndOperator extends AbstractOperator { + + /** + * this method return a promise containing the result of the check. + * + * @param {*} value + * @returns {Promise} + */ + isValid(value) { + return Promise.all([this.operantA.isValid(value), this.operantB.isValid(value)]); + } + +} + +assignToNamespace('Monster.Constraints', AndOperator); +export {Monster, AndOperator} diff --git a/application/source/constraints/invalid.js b/application/source/constraints/invalid.js new file mode 100644 index 0000000000000000000000000000000000000000..1550600e5c707cc547a30f2ec1df8eb93285cfd8 --- /dev/null +++ b/application/source/constraints/invalid.js @@ -0,0 +1,63 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {AbstractConstraint} from "./abstract.js"; + +/** + * Constraints are used to define conditions that must be met by the value of a variable. + * + * The uniform API of the constraints allows chains to be formed. + * + * The invalid constraint allows an always invalid query to be performed. this constraint is mainly intended for testing. + * + * You can call the method via the monster namespace `new Monster.Constraint.Invalid()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Constraint.Invalid(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/invalid.js'; + * new Invalid(); + * </script> + * ``` + * + * @example + * + * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/invalid.js'; + * + * new Invalid().isValid() + * .then(()=>console.log(true)) + * .catch(()=>console.log(false)); + * // ↦ false + * + * @since 1.3.0 + * @copyright schukai GmbH + * @memberOf Monster.Constraints + * @summary A constraint that always invalid + */ +class Invalid extends AbstractConstraint { + + /** + * this method return a rejected promise + * + * @param {*} value + * @returns {Promise} + */ + isValid(value) { + return Promise.reject(value); + } + +} + +assignToNamespace('Monster.Constraints', Invalid); +export {Monster, Invalid} diff --git a/application/source/constraints/isarray.js b/application/source/constraints/isarray.js new file mode 100644 index 0000000000000000000000000000000000000000..03d48732e42375153d1e994431d4dcc629ba7179 --- /dev/null +++ b/application/source/constraints/isarray.js @@ -0,0 +1,71 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {isArray} from "../types/is.js"; +import {AbstractConstraint} from "./abstract.js"; + +/** + * Constraints are used to define conditions that must be met by the value of a variable. + * + * The uniform API of the constraints allows chains to be formed. + * + * You can call the method via the monster namespace `new Monster.Constraint.IsObject()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Constraint.IsArray() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/isarray.js'; + * console.log(new IsArray()) + * </script> + * ``` + * + * @example + * + * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/isarray.js'; + * + * new IsArray() + * .isValid([]) + * .then(()=>console.log(true)); + * // ↦ true + * + * new IsArray() + * .isValid(99) + * .catch(e=>console.log(e)); + * // ↦ 99 + * + * @since 1.3.0 + * @copyright schukai GmbH + * @memberOf Monster.Constraints + * @summary A constraint to check if a value is an array + */ +class IsArray extends AbstractConstraint { + + /** + * this method return a promise containing the result of the check. + * + * @param {*} value + * @returns {Promise} + */ + isValid(value) { + if (isArray(value)) { + return Promise.resolve(value); + } + + return Promise.reject(value); + } + +} + +assignToNamespace('Monster.Constraints', IsArray); +export {Monster, IsArray} diff --git a/application/source/constraints/isobject.js b/application/source/constraints/isobject.js new file mode 100644 index 0000000000000000000000000000000000000000..e9fd31ef496862310c402e653a69eca7757293b2 --- /dev/null +++ b/application/source/constraints/isobject.js @@ -0,0 +1,72 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {isObject} from "../types/is.js"; +import {AbstractConstraint} from "./abstract.js"; + +/** + * Constraints are used to define conditions that must be met by the value of a variable. + * + * The uniform API of the constraints allows chains to be formed. + * + * You can call the method via the monster namespace `new Monster.Constraint.IsObject()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(new Monster.Constraint.IsObject()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/isobject.js'; + * console.log(new IsObject()) + * </script> + * ``` + * + * @example + * + * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/isobject.js'; + * + * new IsObject() + * .isValid({}) + * .then(()=>console.log(true)); + * // ↦ true + * + * + * new IsObject() + * .isValid(99) + * .catch(e=>console.log(e)); + * // ↦ 99 + * + * @since 1.3.0 + * @copyright schukai GmbH + * @memberOf Monster.Constraints + * @summary A constraint to check if a value is an object + */ +class IsObject extends AbstractConstraint { + + /** + * this method return a promise containing the result of the check. + * + * @param {*} value + * @returns {Promise} + */ + isValid(value) { + if (isObject(value)) { + return Promise.resolve(value); + } + + return Promise.reject(value); + } + +} + +assignToNamespace('Monster.Constraints', IsObject); +export {Monster, IsObject} diff --git a/application/source/constraints/namespace.js b/application/source/constraints/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..4cc4d6bf717dbcdab6651f688b7f791e0e1009df --- /dev/null +++ b/application/source/constraints/namespace.js @@ -0,0 +1,15 @@ +'use strict'; + +/** + * Constraints are used to define conditions that must be met by the value of a variable so that the value can be transferred to the system. + * + * @namespace Constraints + * @memberOf Monster + * @author schukai GmbH + */ + +/** + * @private + * @type {string} + */ +export const namespace = "Monster.Constraints"; \ No newline at end of file diff --git a/application/source/constraints/oroperator.js b/application/source/constraints/oroperator.js new file mode 100644 index 0000000000000000000000000000000000000000..a28c09e68d39df0b13be0a5418f3e1a940baf9e5 --- /dev/null +++ b/application/source/constraints/oroperator.js @@ -0,0 +1,97 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {AbstractOperator} from "./abstractoperator.js"; + +/** + * Constraints are used to define conditions that must be met by the value of a variable. + * + * The uniform API of the constraints allows chains to be formed. + * + * The OrOperator is used to link several constraints. The constraint is fulfilled if one of the constraints is fulfilled. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Constraint.OrOperator(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraint/oroperator.js'; + * new OrOperator(); + * </script> + * ``` + * + * @example + * + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/valid.js'; + * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/invalid.js'; + * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/oroperator.js'; + * + * new OrOperator( + * new Valid(), new Invalid()).isValid() + * .then(()=>console.log(true)) + * .catch(()=>console.log(false)); + * // ↦ true + * + * new OrOperator( + * new Invalid(), new Invalid()).isValid() + * .then(()=>console.log(true)) + * .catch(()=>console.log(false)); + * // ↦ false + * + * @since 1.3.0 + * @copyright schukai GmbH + * @memberOf Monster.Constraints + * @summary A or operator + */ +class OrOperator extends AbstractOperator { + + /** + * this method return a promise containing the result of the check. + * + * @param {*} value + * @returns {Promise} + */ + isValid(value) { + var self = this; + + return new Promise(function (resolve, reject) { + let a, b; + + self.operantA.isValid(value) + .then(function () { + resolve(); + }).catch(function () { + a = false; + /** b has already been evaluated and was not true */ + if (b === false) { + reject(); + } + }); + + self.operantB.isValid(value) + .then(function () { + resolve(); + }).catch(function () { + b = false; + /** b has already been evaluated and was not true */ + if (a === false) { + reject(); + } + }); + }); + } + + +} + +assignToNamespace('Monster.Constraints', OrOperator); +export {Monster, OrOperator} diff --git a/application/source/constraints/valid.js b/application/source/constraints/valid.js new file mode 100644 index 0000000000000000000000000000000000000000..b4cf8117406faee5a8026b4dfbfa716c8da4546a --- /dev/null +++ b/application/source/constraints/valid.js @@ -0,0 +1,63 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {AbstractConstraint} from "./abstract.js"; + +/** + * Constraints are used to define conditions that must be met by the value of a variable. + * + * The uniform API of the constraints allows chains to be formed. + * + * The valid constraint allows an always valid query to be performed. this constraint is mainly intended for testing. + * + * You can call the method via the monster namespace `new Monster.Constraint.Valid()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Constraint.Valid(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/valid.js'; + * new Valid(); + * </script> + * ``` + * + * @example + * + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/constraints/valid.js'; + * + * new Valid().isValid() + * .then(()=>console.log(true)) + * .catch(()=>console.log(false)); + * // ↦ true + * + * @since 1.3.0 + * @copyright schukai GmbH + * @memberOf Monster.Constraints + * @summary A constraint that always valid + */ +class Valid extends AbstractConstraint { + + /** + * this method return a promise containing the result of the check. + * + * @param {*} value + * @returns {Promise} + */ + isValid(value) { + return Promise.resolve(value); + } + +} + +assignToNamespace('Monster.Constraints', Valid); +export {Monster, Valid} diff --git a/application/source/data/buildmap.js b/application/source/data/buildmap.js new file mode 100644 index 0000000000000000000000000000000000000000..24b6948c43036b096cfa2887ac6c32971ae28427 --- /dev/null +++ b/application/source/data/buildmap.js @@ -0,0 +1,433 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {isFunction, isObject, isString} from "../types/is.js"; +import {validateString} from "../types/validate.js"; +import {clone} from "../util/clone.js"; +import {DELIMITER, Pathfinder, WILDCARD} from "./pathfinder.js"; + + +/** + * @type {string} parent symbol + */ +export const PARENT = '^'; + + +/** + * With the help of the function `buildMap()`, maps can be easily created from data objects. + * + * Either a simple definition `a.b.c` or a template `${a.b.c}` can be specified as the path. + * Key and value can be either a definition or a template. The key does not have to be defined. + * + * You can call the method via the monster namespace `Monster.Data.buildMap()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.Data.buildMap()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/buildmap.js'; + * console.log(buildMap()) + * </script> + * ``` + * + * The templates determine the appearance of the keys and the value of the map. Either a single value `id` can be taken or a composite key `${id} ${name}` can be used. + * + * If you want to access values of the parent data set, you have to use the `^` character `${id} ${^.name}`. + * + * @example + * + * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/buildmap.js'; + * // a typical data structure as reported by an api + * + * let map; + * let obj = { + * "data": [ + * { + * "id": 10, + * "name": "Cassandra", + * "address": { + * "street": "493-4105 Vulputate Street", + * "city": "Saumur", + * "zip": "52628" + * } + * }, + * { + * "id": 20, + * "name": "Holly", + * "address": { + * "street": "1762 Eget Rd.", + * "city": "Schwalbach", + * "zip": "952340" + * } + * }, + * { + * "id": 30, + * "name": "Guy", + * "address": { + * "street": "957-388 Sollicitudin Avenue", + * "city": "Panchià", + * "zip": "420729" + * } + * } + * ] + * }; + * + * // The function is passed this data structure and with the help of the selector `'data.*'` the data to be considered are selected. + * // The key is given by a simple definition `'id'` and the value is given by a template `'${name} (${address.zip} ${address.city})'`. + * map = buildMap(obj, 'data.*', '${name} (${address.zip} ${address.city})', 'id'); + * console.log(map); + * + * // ↦ Map(3) { + * // '10' => 'Cassandra (52628 Saumur)', + * // '20' => 'Holly (952340 Schwalbach)', + * // '30' => 'Guy (420729 Panchià)' + * // } + * + * // If no key is specified, the key from the selection, here the array index, is taken. + * map = buildMap(obj, 'data.*', '${name} (${address.zip} ${address.city})'); + * console.log(map); + * + * // ↦ Map(3) { + * // '0' => 'Cassandra (52628 Saumur)', + * // '1' => 'Holly (952340 Schwalbach)', + * // '2' => 'Guy (420729 Panchià)' + * // } + * + * // a filter (function(value, key) {}) can be specified to accept only defined entries. + * map = buildMap(obj, 'data.*', '${name} (${address.zip} ${address.city})', 'id', function (value, key) { + * return (value['id'] >= 20) ? true : false + * }); + * console.log(map); + * + * // ↦ Map(2) { + * // 20 => 'Holly (952340 Schwalbach)', + * // 30 => 'Guy (420729 Panchià)' + * // } + * + * @param {*} subject + * @param {string|Monster.Data~exampleSelectorCallback} selector + * @param {string} [valueTemplate] + * @param {string} [keyTemplate] + * @param {Monster.Data~exampleFilterCallback} [filter] + * @return {*} + * @memberOf Monster.Data + * @throws {TypeError} value is neither a string nor a function + * @throws {TypeError} the selector callback must return a map + */ +function buildMap(subject, selector, valueTemplate, keyTemplate, filter) { + return assembleParts(subject, selector, filter, function (v, k, m) { + k = build(v, keyTemplate, k); + v = build(v, valueTemplate); + this.set(k, v); + }); + +} + +/** + * @private + * @param {*} subject + * @param {string|Monster.Data~exampleSelectorCallback} selector + * @param {Monster.Data~exampleFilterCallback} [filter] + * @param {function} callback + * @return {Map} + * @throws {TypeError} selector is neither a string nor a function + */ +function assembleParts(subject, selector, filter, callback) { + + const result = new Map(); + + let map; + if (isFunction(selector)) { + map = selector(subject) + if (!(map instanceof Map)) { + throw new TypeError('the selector callback must return a map'); + } + } else if (isString(selector)) { + map = new Map; + buildFlatMap.call(map, subject, selector); + } else { + throw new TypeError('selector is neither a string nor a function') + } + + if (!(map instanceof Map)) { + return result; + } + + map.forEach((v, k, m) => { + if (isFunction(filter)) { + if (filter.call(m, v, k) !== true) return; + } + + callback.call(result, v, k, m); + + }); + + return result; +} + +/** + * @private + * @param subject + * @param selector + * @param key + * @param parentMap + * @return {*} + */ +function buildFlatMap(subject, selector, key, parentMap) { + + const result = this; + const currentMap = new Map; + + const resultLength = result.size; + + if (key === undefined) key = []; + + let parts = selector.split(DELIMITER); + let current = "", currentPath = []; + do { + + current = parts.shift(); + currentPath.push(current); + + if (current === WILDCARD) { + + let finder = new Pathfinder(subject); + let map; + + try { + map = finder.getVia(currentPath.join(DELIMITER)); + } catch (e) { + let a = e; + map = new Map(); + } + + for (const [k, o] of map) { + + let copyKey = clone(key); + + currentPath.map((a) => { + copyKey.push((a === WILDCARD) ? k : a) + }) + + let kk = copyKey.join(DELIMITER); + let sub = buildFlatMap.call(result, o, parts.join(DELIMITER), copyKey, o); + + if (isObject(sub) && parentMap !== undefined) { + sub[PARENT] = parentMap; + } + + currentMap.set(kk, sub); + } + + } + + + } while (parts.length > 0); + + // no set in child run + if (resultLength === result.size) { + for (const [k, o] of currentMap) { + result.set(k, o); + } + } + + return subject; + +} + + +/** + * With the help of this filter callback, values can be filtered out. Only if the filter function returns true, the value is taken for the map. + * + * @callback Monster.Data~exampleFilterCallback + * @param {*} value Value + * @param {string} key Key + * @memberOf Monster.Data + * @see {@link Monster.Data.buildMap} + */ + +/** + * Alternatively to a string selector a callback can be specified. this must return a map. + * + * @example + * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/buildmap.js'; + * + * let obj = { + * "data": [ + * { + * "id": 10, + * "name": "Cassandra", + * "enrichment": { + * variants: [ + * { + * sku: 1, label: "XXS", price: [ + * {vk: '12.12 €'}, + * {vk: '12.12 €'} + * ] + * }, + * { + * sku: 2, label: "XS", price: [ + * {vk: '22.12 €'}, + * {vk: '22.12 €'} + * ] + * }, + * { + * sku: 3, label: "S", price: [ + * {vk: '32.12 €'}, + * {vk: '32.12 €'} + * ] + * }, + * { + * sku: 4, label: "L", price: [ + * {vk: '42.12 €'}, + * {vk: '42.12 €'} + * ] + * } + * ] + * + * } + * }, + * { + * "id": 20, + * "name": "Yessey!", + * "enrichment": { + * variants: [ + * { + * sku: 1, label: "XXS", price: [ + * {vk: '12.12 €'}, + * {vk: '12.12 €'} + * ] + * }, + * { + * sku: 2, label: "XS", price: [ + * {vk: '22.12 €'}, + * {vk: '22.12 €'} + * ] + * }, + * { + * sku: 3, label: "S", price: [ + * {vk: '32.12 €'}, + * {vk: '32.12 €'} + * ] + * }, + * { + * sku: 4, label: "L", price: [ + * {vk: '42.12 €'}, + * {vk: '42.12 €'} + * ] + * } + * ] + * + * } + * } + * ] + * }; + * + * let callback = function (subject) { + * let m = new Map; + * + * for (const [i, b] of Object.entries(subject.data)) { + * + * let key1 = i; + * + * for (const [j, c] of Object.entries(b.enrichment.variants)) { + * let key2 = j; + * + * for (const [k, d] of Object.entries(c.price)) { + * + * let key3 = k; + * + * d.name = b.name; + * d.label = c.label; + * d.id = [key1, key2, key3].join('.'); + * + * m.set(d.id, d); + * } + * + * } + * } + * return m; + * } + * + * let map = buildMap(obj, callback, '${name} ${vk}', '${id}') + * + * // ↦ Map(3) { + * // "0.0.0":"Cassandra 12.12 €", + * // "0.0.1":"Cassandra 12.12 €", + * // "0.1.0":"Cassandra 22.12 €", + * // "0.1.1":"Cassandra 22.12 €", + * // "0.2.0":"Cassandra 32.12 €", + * // "0.2.1":"Cassandra 32.12 €", + * // "0.3.0":"Cassandra 42.12 €", + * // "0.3.1":"Cassandra 42.12 €", + * // "1.0.0":"Yessey! 12.12 €", + * // "1.0.1":"Yessey! 12.12 €", + * // "1.1.0":"Yessey! 22.12 €", + * // "1.1.1":"Yessey! 22.12 €", + * // "1.2.0":"Yessey! 32.12 €", + * // "1.2.1":"Yessey! 32.12 €", + * // "1.3.0":"Yessey! 42.12 €", + * // "1.3.1":"Yessey! 42.12 €" + * // } + * + * @callback Monster.Data~exampleSelectorCallback + * @param {*} subject subject + * @return Map + * @since 1.17.0 + * @memberOf Monster.Data + * @see {@link Monster.Data.buildMap} + */ + +/** + * @private + * @param {*} subject + * @param {string|undefined} definition + * @param {*} defaultValue + * @return {*} + */ +function build(subject, definition, defaultValue) { + if (definition === undefined) return defaultValue ? defaultValue : subject; + validateString(definition); + + const regexp = /(?<placeholder>\${(?<path>[a-z\^A-Z.\-_0-9]*)})/gm + const array = [...definition.matchAll(regexp)]; + + let finder = new Pathfinder(subject); + + if (array.length === 0) { + return finder.getVia(definition); + } + + array.forEach((a) => { + let groups = a?.['groups']; + let placeholder = groups?.['placeholder'] + if (placeholder === undefined) return; + + let path = groups?.['path'] + + let v = finder.getVia(path); + if (v === undefined) v = defaultValue; + + definition = definition.replaceAll(placeholder, v); + + + }) + + return definition; + +} + + +assignToNamespace('Monster.Data', buildMap); +export {Monster, buildMap, assembleParts} diff --git a/application/source/data/buildtree.js b/application/source/data/buildtree.js new file mode 100644 index 0000000000000000000000000000000000000000..78c7b6ecd517f65733ec99de8f6dbb24007a57f7 --- /dev/null +++ b/application/source/data/buildtree.js @@ -0,0 +1,129 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {isArray, isObject} from "../types/is.js"; +import {Node} from "../types/node.js"; +import {NodeList} from "../types/nodelist.js"; +import {assembleParts} from "./buildmap.js"; +import {extend} from "./extend.js"; + + +/** + * @private + * @type {symbol} + */ +const parentSymbol = Symbol('parent'); + +/** + * @private + * @type {symbol} + */ +const rootSymbol = Symbol('root'); + +/** + * @typedef {Object} buildTreeOptions + * @property {array} options.rootReferences=[null, undefined] defines the values for elements without parents + * @property {Monster.Data~exampleFilterCallback} options.filter filtering of the values + * @memberOf Monster.Data + */ + +/** + * With the help of the function `buildTree()`, nodes can be easily created from data objects. + * + * You can call the method via the monster namespace `Monster.Data.buildTree()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/buildtree.js'; + * Monster.Data.buildTree() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {buildTree} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/buildtree.js'; + * buildTree() + * </script> + * ``` + * + * @param {*} subject + * @param {string|Monster.Data~exampleSelectorCallback} selector + * @param {string} idKey + * @param {string} parentIDKey + * @param {buildTreeOptions} [options] + * @return {*} + * @memberOf Monster.Data + * @throws {TypeError} value is neither a string nor a function + * @throws {TypeError} the selector callback must return a map + * @throws {Error} the object has no value for the specified id + * @since 1.26.0 + */ +function buildTree(subject, selector, idKey, parentIDKey, options) { + + const nodes = new Map; + + if (!isObject(options)) { + options = {} + } + + options = extend({}, { + rootReferences: [null, undefined], + filter: undefined + }, options) + + const filter = options?.filter; + let rootReferences = options.rootReferences; + if (!isArray(rootReferences)) { + rootReferences = [rootReferences]; + } + + const childMap = assembleParts(subject, selector, filter, function (o, k, m) { + + const key = o?.[idKey] + let ref = o?.[parentIDKey] + if (rootReferences.indexOf(ref) !== -1) ref = rootSymbol; + + if (key === undefined) { + throw new Error('the object has no value for the specified id') + } + + o[parentSymbol] = ref; + + const node = new Node(o); + this.has(ref) ? this.get(ref).add(node) : this.set(ref, new NodeList().add(node)); + nodes.set(key, node); + + }) + + nodes.forEach(node => { + + let id = node?.['value']?.[idKey]; + + if (childMap.has(id)) { + node.childNodes = childMap.get(id); + childMap.delete(id) + } + }) + + const list = new NodeList; + + childMap.forEach((s) => { + if (s instanceof Set) { + s.forEach((n) => { + list.add(n); + }) + } + }) + + return list; +} + + +assignToNamespace('Monster.Data', buildTree); +export {Monster, buildTree} diff --git a/application/source/data/datasource.js b/application/source/data/datasource.js new file mode 100644 index 0000000000000000000000000000000000000000..875a3b26fcce06035f54d135a7886824db92feb6 --- /dev/null +++ b/application/source/data/datasource.js @@ -0,0 +1,246 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {internalSymbol} from "../constants.js"; +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from "../types/base.js"; +import {parseDataURL} from "../types/dataurl.js"; +import {isString} from "../types/is.js"; +import {ProxyObserver} from "../types/proxyobserver.js"; +import {validateObject} from "../types/validate.js"; +import {extend} from "./extend.js"; +import {Pathfinder} from "./pathfinder.js"; + + +/** + * @private + * @type {symbol} + * @memberOf Monster.Data + * @since 1.24.0 + */ +const internalDataSymbol = Symbol('internalData'); + +/** + * The datasource class is the basis for dealing with different data sources. + * It provides a unified interface for accessing data + * + * You can create an object of this class using the monster namespace `Monster.Data.Datasource()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Data.Datasource() + * </script> + * ``` + * + * Alternatively you can import the class directly + * + * ``` + * <script type="module"> + * import {Datasource} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/datasource.js'; + * new Datasource() + * </script> + * ``` + * + * @example + * + * import {Datasource} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/datasource.js' + * + * class MyDatasource extends Datasource { + * + * } + * + * const ds = new MyDatasource(); + * + * @since 1.22.0 + * @copyright schukai GmbH + * @memberOf Monster.Data + * @summary The datasource class encapsulates the access to data objects. + */ +class Datasource extends Base { + + /** + * + */ + constructor() { + super(); + this[internalSymbol] = new ProxyObserver({ + 'options': extend({}, this.defaults) + }); + + this[internalDataSymbol] = new ProxyObserver({ + + }); + + + } + + /** + * attach a new observer + * + * @param {Observer} observer + * @returns {Datasource} + */ + attachObserver(observer) { + this[internalDataSymbol].attachObserver(observer) + return this; + } + + /** + * detach a observer + * + * @param {Observer} observer + * @returns {Datasource} + */ + detachObserver(observer) { + this[internalDataSymbol].detachObserver(observer) + return this; + } + + /** + * @param {Observer} observer + * @returns {boolean} + */ + containsObserver(observer) { + return this[internalDataSymbol].containsObserver(observer); + } + + /** + * Derived classes can override and extend this method as follows. + * + * ``` + * get defaults() { + * return Object.assign({}, super.defaults, { + * myValue:true + * }); + * } + * ``` + */ + get defaults() { + return {}; + } + + /** + * Set option + * + * @param {string} path + * @param {*} value + * @return {Datasource} + */ + setOption(path, value) { + new Pathfinder(this[internalSymbol].getSubject()['options']).setVia(path, value); + return this; + } + + /** + * @param {string|object} options + * @return {Datasource} + * @throws {Error} the options does not contain a valid json definition + */ + setOptions(options) { + + if (isString(options)) { + options = parseOptionsJSON(options) + } + + const self = this; + extend(self[internalSymbol].getSubject()['options'], self.defaults, options); + + return self; + } + + /** + * nested options can be specified by path `a.b.c` + * + * @param {string} path + * @param {*} defaultValue + * @return {*} + */ + getOption(path, defaultValue) { + let value; + + try { + value = new Pathfinder(this[internalSymbol].getRealSubject()['options']).getVia(path); + } catch (e) { + + } + + if (value === undefined) return defaultValue; + return value; + } + + /** + * @throws {Error} this method must be implemented by derived classes. + * @return {Promise} + */ + read() { + throw new Error("this method must be implemented by derived classes") + } + + /** + * @throws {Error} this method must be implemented by derived classes. + * @return {Promise} + */ + write() { + throw new Error("this method must be implemented by derived classes") + } + + + /** + * Returns real object + * + * @return {Object|Array} + */ + get() { + const self = this; + return self[internalDataSymbol].getRealSubject(); + } + + /** + * @param {Object|Array} data + * @return {Datasource} + */ + set(data) { + const self = this; + self[internalDataSymbol].setSubject(data); + return self; + } + +} + +/** + * @private + * @param data + * @return {Object} + * @throws {Error} the options does not contain a valid json definition + */ +function parseOptionsJSON(data) { + if (isString(data)) { + + // the configuration can be specified as a data url. + try { + let dataUrl = parseDataURL(data); + data = dataUrl.content; + } catch (e) { + + } + + + try { + let obj = JSON.parse(data); + validateObject(obj); + return obj; + } catch (e) { + throw new Error('the options does not contain a valid json definition (actual: ' + data + ').'); + } + } + + return {}; +} + + +assignToNamespace('Monster.Data', Datasource); +export {Monster, Datasource} diff --git a/application/source/data/datasource/namespace.js b/application/source/data/datasource/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..31e3e545e4c360744646f1d587adc5f84a7ccbf0 --- /dev/null +++ b/application/source/data/datasource/namespace.js @@ -0,0 +1,16 @@ +'use strict'; + +/** + * Namespace for datasources + * + * @namespace Monster.Data.Datasource + * @memberOf Monster.Data + * @author schukai GmbH + */ + + +/** + * @private + * @type {string} + */ +export const namespace = "Monster.Data.Datasource"; \ No newline at end of file diff --git a/application/source/data/datasource/restapi.js b/application/source/data/datasource/restapi.js new file mode 100644 index 0000000000000000000000000000000000000000..8df7cb79bbbe2530bbf2879e24c01086aed71e6c --- /dev/null +++ b/application/source/data/datasource/restapi.js @@ -0,0 +1,266 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {internalSymbol} from "../../constants.js"; +import {assignToNamespace, Monster} from '../../namespace.js'; +import {isObject} from "../../types/is.js"; +import {Datasource} from "../datasource.js"; +import {Pathfinder} from "../pathfinder.js"; +import {Pipe} from "../pipe.js"; +import {WriteError} from "./restapi/writeerror.js"; + +/** + * You can create an object of this class using the monster namespace `Monster.Data.Datasource.RestAPI()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Data.Datasource.RestAPI() + * </script> + * ``` + * + * Alternatively you can import the class directly + * + * ``` + * <script type="module"> + * import {RestAPI} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/datasource/restapi.js'; + * new RestAPI() + * </script> + * ``` + * + * @example + * + * import {RestAPI} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/datasource/restapi.js'; + * + * const ds = new RestAPI({ + * url: 'https://httpbin.org/get' + * },{ + * url: 'https://httpbin.org/post' + * }); + * + * ds.set({flag:true}) + * ds.write().then(()=>console.log('done')); + * ds.read().then(()=>console.log('done')); + * + * @since 1.22.0 + * @copyright schukai GmbH + * @memberOf Monster.Data.Datasource + * @summary The LocalStorage class encapsulates the access to data objects. + */ +class RestAPI extends Datasource { + + /** + * + * @param {Object} [readDefinition] An options object containing any custom settings that you want to apply to the read request. + * @param {Object} [writeDefinition] An options object containing any custom settings that you want to apply to the write request. + * @throws {TypeError} value is not a string + */ + constructor(readDefinition, writeDefinition) { + super(); + + const options = {} + + if (isObject(readDefinition)) options.read = readDefinition; + if (isObject(writeDefinition)) options.write = writeDefinition; + + this.setOptions(options); + + } + + /** + * @property {string} url=undefined Defines the resource that you wish to fetch. + * @property {Object} write={} Options + * @property {Object} write.init={} An options object containing any custom settings that you want to apply to the request. The parameters are identical to those of the {@link https://developer.mozilla.org/en-US/docs/Web/API/Request/Request|Request constructor} + * @property {string} write.init.method=POST + * @property {string} write.acceptedStatus=[200,201] + * @property {string} write.url URL + * @property {Object} write.mapping the mapping is applied before writing. + * @property {String} write.mapping.transformer Transformer to select the appropriate entries + * @property {Object} write.report + * @property {String} write.report.path Path to validations + * @property {Monster.Data.Datasource~exampleCallback[]} write.mapping.callback with the help of the callback, the structures can be adjusted before writing. + * @property {Object} read.init={} An options object containing any custom settings that you want to apply to the request. The parameters are identical to those of the {@link https://developer.mozilla.org/en-US/docs/Web/API/Request/Request|Request constructor} + * @property {string} read.init.method=GET + * @property {string} read.acceptedStatus=[200] + * @property {string} read.url URL + * @property {Object} read.mapping the mapping is applied after reading. + * @property {String} read.mapping.transformer Transformer to select the appropriate entries + * @property {Monster.Data.Datasource~exampleCallback[]} read.mapping.callback with the help of the callback, the structures can be adjusted after reading. + */ + get defaults() { + return Object.assign({}, super.defaults, { + write: { + init: { + method: 'POST', + }, + acceptedStatus: [200, 201], + url: undefined, + mapping: { + transformer: undefined, + callbacks: [] + }, + report: { + path: undefined + } + }, + read: { + init: { + method: 'GET' + }, + acceptedStatus: [200], + url: undefined, + mapping: { + transformer: undefined, + callbacks: [] + }, + }, + + }); + } + + /** + * @return {Promise} + * @throws {Error} the options does not contain a valid json definition + * @throws {TypeError} value is not a object + * @throws {Error} the data cannot be read + */ + read() { + const self = this; + let response; + + let init = self.getOption('read.init'); + if (!isObject(init)) init = {}; + + return fetch(self.getOption('read.url'), init).then(resp => { + response = resp; + + const acceptedStatus = self.getOption('read.acceptedStatus', [200]); + + if (acceptedStatus.indexOf(resp.status) === -1) { + throw Error('the data cannot be read (response ' + resp.status + ')') + } + + return resp.text() + }).then(body => { + + let obj; + + try { + obj = JSON.parse(body); + + } catch (e) { + + if (body.length > 100) { + body = body.substring(0, 97) + '...'; + } + + throw new Error('the response does not contain a valid json (actual: ' + body + ').'); + } + + let transformation = self.getOption('read.mapping.transformer'); + if (transformation !== undefined) { + const pipe = new Pipe(transformation); + obj = pipe.run(obj); + } + + self.set(obj); + return response; + }) + } + + /** + * @return {Promise} + * @throws {WriteError} the data cannot be written + */ + write() { + const self = this; + + + let init = self.getOption('write.init'); + if (!isObject(init)) init = {}; + if (typeof init['headers'] !== 'object') { + init['headers'] = { + 'Content-Type': 'application/json' + } + } + + let obj = self.get(); + let transformation = self.getOption('write.mapping.transformer'); + if (transformation !== undefined) { + const pipe = new Pipe(transformation); + obj = pipe.run(obj); + } + + let sheathingObject = self.getOption('write.sheathing.object'); + let sheathingPath = self.getOption('write.sheathing.path'); + let reportPath = self.getOption('write.report.path'); + + if (sheathingObject && sheathingPath) { + const sub = obj; + obj = sheathingObject; + (new Pathfinder(obj)).setVia(sheathingPath, sub); + } + + init['body'] = JSON.stringify(obj); + + return fetch(self.getOption('write.url'), init).then(response => { + + const acceptedStatus = self.getOption('write.acceptedStatus', [200, 2001]); + + if (acceptedStatus.indexOf(response.status) === -1) { + + return response.text().then((body) => { + + let obj, validation; + try { + obj = JSON.parse(body); + validation = new Pathfinder(obj).getVia(reportPath) + + } catch (e) { + + if (body.length > 100) { + body = body.substring(0, 97) + '...'; + } + + throw new Error('the response does not contain a valid json (actual: ' + body + ').'); + } + + throw new WriteError('the data cannot be written (response ' + response.status + ')', response, validation) + + }) + + + } + + return response; + }); + } + + + /** + * @return {RestAPI} + */ + getClone() { + const self = this; + return new RestAPI(self[internalSymbol].getRealSubject()['options'].read, self[internalSymbol].getRealSubject()['options'].write); + } + +} + + +/** + * This callback can be passed to a datasource and is used to adapt data structures. + * + * @callback Monster.Data.Datasource~exampleCallback + * @param {*} value Value + * @param {string} key Key + * @memberOf Monster.Data + * @see Monster.Data.Datasource + */ + + +assignToNamespace('Monster.Data.Datasource', RestAPI); +export {Monster, RestAPI} diff --git a/application/source/data/datasource/restapi/writeerror.js b/application/source/data/datasource/restapi/writeerror.js new file mode 100644 index 0000000000000000000000000000000000000000..ae4cac057ad9a19bde6834b835d7d693b3272ff1 --- /dev/null +++ b/application/source/data/datasource/restapi/writeerror.js @@ -0,0 +1,49 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {internalSymbol} from "../../../constants.js"; +import {assignToNamespace, Monster} from '../../../namespace.js'; + +/** + * Error message for API requests with extension of request and validation. + * + * @since 1.24.0 + * @copyright schukai GmbH + * @memberOf Monster.Data.Datasource.RestAPI + * @summary the error is thrown by the rest api in case of error + */ +class WriteError extends Error { + /** + * + * @param {string} message + * @param {Response} response + */ + constructor(message, response, validation) { + super(message); + this[internalSymbol] = { + response: response, + validation: validation + }; + } + + /** + * @return {Response} + */ + getResponse() { + return this[internalSymbol]['response'] + } + + /** + * @return {Object} + */ + getValidation() { + return this[internalSymbol]['validation'] + } +} + + +assignToNamespace('Monster.Data.Datasource.RestAPI', WriteError); +export {Monster, WriteError} \ No newline at end of file diff --git a/application/source/data/datasource/storage.js b/application/source/data/datasource/storage.js new file mode 100644 index 0000000000000000000000000000000000000000..4d4a6049e99d499c4c23201553a07c258f38a409 --- /dev/null +++ b/application/source/data/datasource/storage.js @@ -0,0 +1,131 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {internalSymbol} from "../../constants.js"; +import {assignToNamespace, Monster} from '../../namespace.js'; +import {validateString} from "../../types/validate.js"; +import {Datasource} from "../datasource.js"; + +/** + * @private + * @type {symbol} + */ +const storageObjectSymbol = Symbol('storageObject'); + +/** + * You can create an object of this class using the monster namespace `Monster.Data.Datasource.Storage()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Data.Datasource.Storage() + * </script> + * ``` + * + * Alternatively you can import the class directly + * + * ``` + * <script type="module"> + * import {Storage} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/datasource/storage.js'; + * new Storage() + * </script> + * ``` + * + * @example + * + * import {Storage} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/datasource/storage.js'; + * + * new Datasource(); + * + * @since 1.22.0 + * @copyright schukai GmbH + * @memberOf Monster.Data.Datasource + * @summary The Storage class encapsulates the access to data objects over WebStorageAPI. + */ +class Storage extends Datasource { + + /** + * + * @param {string} key LocalStorage Key + * @throws {TypeError} value is not a string + */ + constructor(key) { + super(); + this.setOption('key', validateString(key)); + } + + /** + * @property {string} key=undefined LocalStorage Key + */ + get defaults() { + return Object.assign({}, super.defaults, { + key: undefined, + }); + } + + /** + * @throws {Error} this method must be implemented by derived classes. + * @return {external:Storage} + * @private + */ + [storageObjectSymbol]() { + throw new Error("this method must be implemented by derived classes") + } + + /** + * @return {Promise} + * @throws {Error} the options does not contain a valid json definition + * @throws {TypeError} value is not a object + * @throws {Error} the data cannot be read + */ + read() { + const self = this; + + const storage = self[storageObjectSymbol](); + + return new Promise(function (resolve) { + const data = JSON.parse(storage.getItem(self.getOption('key'))); + self.set(data??{}); + resolve(); + }) + + } + + /** + * @return {Storage} + * @throws {Error} the data cannot be written + */ + write() { + const self = this; + + const storage = self[storageObjectSymbol](); + + return new Promise(function (resolve) { + + const data = self.get(); + if (data === undefined) { + storage.removeItem(self.getOption('key')); + } else { + storage.setItem(self.getOption('key'), JSON.stringify(data)); + } + + resolve(); + }) + } + + /** + * @return {Storage} + */ + getClone() { + const self=this; + return new Storage(self[internalSymbol].getRealSubject()['options'].key); + } + +} + + +assignToNamespace('Monster.Data.Datasource', Storage); +export {Monster, Storage, storageObjectSymbol} diff --git a/application/source/data/datasource/storage/localstorage.js b/application/source/data/datasource/storage/localstorage.js new file mode 100644 index 0000000000000000000000000000000000000000..8094fe589a451f6624da750a9443a19700b6e6f1 --- /dev/null +++ b/application/source/data/datasource/storage/localstorage.js @@ -0,0 +1,64 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {internalSymbol} from "../../../constants.js"; +import {assignToNamespace, Monster} from '../../../namespace.js'; +import {getGlobalObject} from "../../../types/global.js"; +import {Datasource} from "../../datasource.js"; +import {Storage, storageObjectSymbol} from "../storage.js"; + + +/** + * + * + * You can create an object of this class using the monster namespace `Monster.Data.Datasource.Storage.LocalStorage()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Data.Datasource.Storage.LocalStorage() + * </script> + * ``` + * + * Alternatively you can import the class directly + * + * ``` + * <script type="module"> + * import {LocalStorage} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/datasource/storage/localstorage.js'; + * new LocalStorage() + * </script> + * ``` + * + * @since 1.22.0 + * @copyright schukai GmbH + * @memberOf Monster.Data.Datasource.Storage + * @summary The LocalStorage class encapsulates the access to data objects. + */ +class LocalStorage extends Storage { + + /** + * @throws {Error} this method must be implemented by derived classes. + * @return {external:localStorage} + * @private + */ + [storageObjectSymbol]() { + return getGlobalObject('localStorage'); + } + + /** + * Create clone + * @return {LocalStorage} + */ + getClone() { + const self = this; + return new LocalStorage(self[internalSymbol].getRealSubject()['options'].key); + } + + +} + +assignToNamespace('Monster.Data.Datasource.Storage', LocalStorage); +export {Monster, LocalStorage} diff --git a/application/source/data/datasource/storage/namespace.js b/application/source/data/datasource/storage/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..122d1e020e09b49f5673da8b502dc1a61c5f6036 --- /dev/null +++ b/application/source/data/datasource/storage/namespace.js @@ -0,0 +1,16 @@ +'use strict'; + +/** + * Namespace for storages + * + * @namespace Monster.Data.Datasource.Storage + * @memberOf Monster.Data.Datasource + * @author schukai GmbH + */ + + +/** + * @private + * @type {string} + */ +export const namespace = "Monster.Data.Datasource.Storage"; \ No newline at end of file diff --git a/application/source/data/datasource/storage/sessionstorage.js b/application/source/data/datasource/storage/sessionstorage.js new file mode 100644 index 0000000000000000000000000000000000000000..5cbbe6880df2044614844d65c17812cbf232fe10 --- /dev/null +++ b/application/source/data/datasource/storage/sessionstorage.js @@ -0,0 +1,61 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {internalSymbol} from "../../../constants.js"; +import {assignToNamespace, Monster} from '../../../namespace.js'; +import {getGlobalObject} from "../../../types/global.js"; +import {Datasource} from "../../datasource.js"; +import {Storage, storageObjectSymbol} from "../storage.js"; + +/** + * You can create an object of this class using the monster namespace `Monster.Data.Datasource.Storage.SessionStorage()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Data.Datasource.Storage.SessionStorage() + * </script> + * ``` + * + * Alternatively you can import the class directly + * + * ``` + * <script type="module"> + * import {SessionStorage} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/datasource/storage/sessionstorage.js'; + * new SessionStorage() + * </script> + * ``` + * + * @since 1.22.0 + * @copyright schukai GmbH + * @memberOf Monster.Data.Datasource.Storage + * @summary The LocalStorage class encapsulates the access to data objects. + */ +class SessionStorage extends Storage { + + /** + * @throws {Error} this method must be implemented by derived classes. + * @return {external:sessionStorage} + * @private + */ + [storageObjectSymbol]() { + return getGlobalObject('sessionStorage'); + } + + /** + * Create Clone + * + * @return {SessionStorage} + */ + getClone() { + const self = this; + return new SessionStorage(self[internalSymbol].getRealSubject()['options'].key); + } + +} + +assignToNamespace('Monster.Data.Datasource.Storage', SessionStorage); +export {Monster, SessionStorage} diff --git a/application/source/data/diff.js b/application/source/data/diff.js new file mode 100644 index 0000000000000000000000000000000000000000..086bca728e87a4140859f5b352335c64d0283868 --- /dev/null +++ b/application/source/data/diff.js @@ -0,0 +1,249 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {isArray, isObject} from "../types/is.js"; +import {typeOf} from "../types/typeof.js"; + +/** + * With the diff function you can perform the change of one object to another. The result shows the changes of the second object to the first object. + * + * The operator `add` means that something has been added to the second object. `delete` means that something has been deleted from the second object compared to the first object. + * + * You can call the method via the monster namespace `Monster.Data.Diff()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Data.Diff(a, b) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/diff.js'; + * Diff(a, b) + * </script> + * ``` + * + * @example + * + * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/diff.js'; + * + * // given are two objects x and y. + * + * let x = { + * a: 1, + * b: "Hello!" + * } + * + * let y = { + * a: 2, + * c: true + * } + * + * // These two objects can be compared with each other. + * + * console.log(Diff(x, y)); + * + * // the result is then the following + * + * // + * // [ + * // { + * // operator: 'update', + * // path: [ 'a' ], + * // first: { value: 1, type: 'number' }, + * // second: { value: 2, type: 'number' } + * // }, + * // { + * // operator: 'delete', + * // path: [ 'b' ], + * // first: { value: 'Hello!', type: 'string' } + * // }, + * // { + * // operator: 'add', + * // path: [ 'c' ], + * // second: { value: true, type: 'boolean' } + * // } + * // ] + * + * @param {*} first + * @param {*} second + * @return {array} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster.Data + */ +function diff(first, second) { + return doDiff(first, second) +} + +/** + * @private + * @param a + * @param b + * @param type + * @return {Set<string>|Set<number>} + */ +function getKeys(a, b, type) { + if (isArray(type)) { + const keys = a.length > b.length ? new Array(a.length) : new Array(b.length); + keys.fill(0); + return new Set(keys.map((_, i) => i)); + } + + return new Set(Object.keys(a).concat(Object.keys(b))); +} + +/** + * @private + * @param a + * @param b + * @param path + * @param diff + * @return {array} + */ +function doDiff(a, b, path, diff) { + + let typeA = typeOf(a) + let typeB = typeOf(b) + + const currPath = path || []; + const currDiff = diff || []; + + if (typeA === typeB && (typeA === 'object' || typeA ==='array')) { + + getKeys(a, b, typeA).forEach((v) => { + + if (!(Object.prototype.hasOwnProperty.call(a, v))) { + currDiff.push(buildResult(a[v], b[v], 'add', currPath.concat(v))); + } else if (!(Object.prototype.hasOwnProperty.call(b, v))) { + currDiff.push(buildResult(a[v], b[v], 'delete', currPath.concat(v))); + } else { + doDiff(a[v], b[v], currPath.concat(v), currDiff); + } + }); + + } else { + + const o = getOperator(a, b, typeA, typeB); + if (o !== undefined) { + currDiff.push(buildResult(a, b, o, path)); + } + + } + + return currDiff; + +} + +/** + * + * @param {*} a + * @param {*} b + * @param {string} operator + * @param {array} path + * @return {{path: array, operator: string}} + * @private + */ +function buildResult(a, b, operator, path) { + + const result = { + operator, + path, + }; + + if (operator !== 'add') { + result.first = { + value: a, + type: typeof a + }; + + if (isObject(a)) { + const name = Object.getPrototypeOf(a)?.constructor?.name; + if (name !== undefined) { + result.first.instance = name; + } + } + } + + if (operator === 'add' || operator === 'update') { + result.second = { + value: b, + type: typeof b + }; + + if (isObject(b)) { + const name = Object.getPrototypeOf(b)?.constructor?.name; + if (name !== undefined) { + result.second.instance = name; + } + } + + } + + return result; +} + +/** + * @private + * @param {*} a + * @param {*} b + * @return {boolean} + */ +function isNotEqual(a, b) { + + if (typeof a !== typeof b) { + return true; + } + + if (a instanceof Date && b instanceof Date) { + return a.getTime() !== b.getTime(); + } + + return a !== b; +} + +/** + * @private + * @param {*} a + * @param {*} b + * @return {string|undefined} + */ +function getOperator(a, b) { + + /** + * @type {string|undefined} + */ + let operator; + + /** + * @type {string} + */ + let typeA = typeof a; + + /** + * @type {string} + */ + let typeB = typeof b; + + if (typeA === 'undefined' && typeB !== 'undefined') { + operator = 'add'; + } else if (typeA !== 'undefined' && typeB === 'undefined') { + operator = 'delete'; + } else if (isNotEqual(a, b)) { + operator = 'update'; + } + + return operator; + +} + +assignToNamespace('Monster.Data', diff); +export {Monster, diff} diff --git a/application/source/data/extend.js b/application/source/data/extend.js new file mode 100644 index 0000000000000000000000000000000000000000..821b2df50011926b17116435021fb416c48210a4 --- /dev/null +++ b/application/source/data/extend.js @@ -0,0 +1,92 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {isArray, isObject} from "../types/is.js"; +import {typeOf} from "../types/typeof.js"; + +/** + * Extend copies all enumerable own properties from one or + * more source objects to a target object. It returns the modified target object. + * + * You can call the method via the monster namespace `Monster.Data.extend()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Data.extend(a, b) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/extend.js'; + * extend(a, b) + * </script> + * ``` + * + * @param {object} target + * @param {object} + * @return {object} + * @since 1.10.0 + * @copyright schukai GmbH + * @memberOf Monster.Data + * @throws {Error} unsupported argument + * @throws {Error} type mismatch + */ +function extend() { + let o, i; + + for (i = 0; i < arguments.length; i++) { + let a = arguments[i]; + + if (!(isObject(a) || isArray(a))) { + throw new Error('unsupported argument ' + JSON.stringify(a)); + } + + if (o === undefined) { + o = a; + continue; + } + + for (let k in a) { + + let v = a?.[k]; + + if (v === o?.[k]) { + continue; + } + + if ((isObject(v)&&typeOf(v)==='object') || isArray(v)) { + + if (o[k] === undefined) { + if (isArray(v)) { + o[k] = []; + } else { + o[k] = {}; + } + } else { + if (typeOf(o[k]) !== typeOf(v)) { + throw new Error("type mismatch: " + JSON.stringify(o[k]) + "(" + typeOf(o[k]) + ") != " + JSON.stringify(v) + "(" + typeOf(v) + ")"); + } + } + + o[k] = extend(o[k], v); + + } else { + o[k] = v; + } + + } + } + + return o; +} + + +assignToNamespace('Monster.Data', extend); +export {Monster, extend} diff --git a/application/source/data/namespace.js b/application/source/data/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..c4f008b29835c5e038ce5b222148fb3d7c9e685f --- /dev/null +++ b/application/source/data/namespace.js @@ -0,0 +1,16 @@ +'use strict'; + +/** + * In this namespace you will find classes and methods for handling data. + * + * @namespace Monster.Data + * @memberOf Monster + * @author schukai GmbH + */ + + +/** + * @private + * @type {string} + */ +export const namespace = "Monster.Data"; \ No newline at end of file diff --git a/application/source/data/pathfinder.js b/application/source/data/pathfinder.js new file mode 100644 index 0000000000000000000000000000000000000000..aa520cb0a27f5bb44e62095636fc57aa1f178a02 --- /dev/null +++ b/application/source/data/pathfinder.js @@ -0,0 +1,472 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from '../types/base.js'; +import {isArray, isInteger, isObject, isPrimitive} from '../types/is.js'; +import {Stack} from "../types/stack.js"; +import {validateInteger, validateString} from '../types/validate.js'; + +/** + * path separator + * + * @private + * @type {string} + */ +export const DELIMITER = '.'; + +/** + * @private + * @type {string} + */ +export const WILDCARD = '*'; + +/** + * You can call the method via the monster namespace `new Monster.Data.Pathfinder()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(new Monster.Data.Pathfinder()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/pathfinder.js'; + * console.log(new Pathfinder()) + * </script> + * ``` + * + * With the help of the pathfinder, values can be read and written from an object construct. + * + * ``` + * new Pathfinder({ + * a: { + * b: { + * f: [ + * { + * g: false, + * } + * ], + * } + * } + * }).getVia("a.b.f.0.g"); // ↦ false + * ``` + * + * if a value is not present or has the wrong type, a corresponding exception is thrown. + * + * ``` + * new Pathfinder({}).getVia("a.b.f.0.g"); // ↦ Error + * ``` + * + * The `Pathfinder.exists()` method can be used to check whether access to the path is possible. + * + * ``` + * new Pathfinder({}).exists("a.b.f.0.g"); // ↦ false + * ``` + * + * pathfinder can also be used to build object structures. to do this, the `Pathfinder.setVia()` method must be used. + * + * ``` + * obj = {}; + * new Pathfinder(obj).setVia('a.b.0.c', true); // ↦ {a:{b:[{c:true}]}} + * ``` + * + * @example + * + * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/pathfinder.js'; + * + * let value = new Pathfinder({ + * a: { + * b: { + * f: [ + * { + * g: false, + * } + * ], + * } + * } + * }).getVia("a.b.f.0.g"); + * + * console.log(value); + * // ↦ false + * + * try { + * new Pathfinder({}).getVia("a.b.f.0.g"); + * } catch(e) { + * console.log(e.toString()); + * // ↦ Error: the journey is not at its end (b.f.0.g) + * } + * + * @example + * + * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/pathfinder.js'; + * + * let p = new Pathfinder({ + * a: { + * x: [ + * {c: 1}, {c: 2} + * ], + * y: true + * }, + * b: { + * x: [ + * {c: 1, d: false}, {c: 2} + * ], + * y: true + * }, + * }); + * + * let r = p.getVia("*.x.*.c"); + * console.log(r); + * + * @since 1.4.0 + * @copyright schukai GmbH + * @memberOf Monster.Data + */ +class Pathfinder extends Base { + + /** + * @param {array|object|Map|Set} value + * @since 1.4.0 + * @throws {Error} the parameter must not be a simple type + **/ + constructor(object) { + super(); + + if (isPrimitive(object)) { + throw new Error('the parameter must not be a simple type'); + } + + this.object = object; + this.wildCard = WILDCARD; + } + + /** + * set wildcard + * + * @param {string} wildcard + * @return {Pathfinder} + * @since 1.7.0 + */ + setWildCard(wildcard) { + validateString(wildcard); + this.wildCard = wildcard; + return this; + } + + /** + * + * @param {string} path + * @since 1.4.0 + * @returns {*} + * @throws {TypeError} unsupported type + * @throws {Error} the journey is not at its end + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type + */ + getVia(path) { + return getValueViaPath.call(this, this.object, validateString(path)); + } + + /** + * + * @param {string} path + * @param {*} value + * @returns {Pathfinder} + * @since 1.4.0 + * @throws {TypeError} unsupported type + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type + */ + setVia(path, value) { + validateString(path); + setValueViaPath.call(this, this.object, path, value); + return this; + } + + /** + * Delete Via Path + * + * @param {string} path + * @returns {Pathfinder} + * @since 1.6.0 + * @throws {TypeError} unsupported type + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type + */ + deleteVia(path) { + validateString(path); + deleteValueViaPath.call(this, this.object, path); + return this; + } + + /** + * + * @param {string} path + * @return {bool} + * @throws {TypeError} unsupported type + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not an integer + * @since 1.4.0 + */ + exists(path) { + validateString(path); + try { + getValueViaPath.call(this, this.object, path, true); + return true; + } catch (e) { + + } + + return false; + } + +} + +assignToNamespace('Monster.Data', Pathfinder); +export {Monster, Pathfinder} + +/** + * + * @param {*} subject + * @param {string} path + * @param {string} check + * @return {Map} + * @throws {TypeError} unsupported type + * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @private + */ +function iterate(subject, path, check) { + + const result = new Map; + + if (isObject(subject) || isArray(subject)) { + for (const [key, value] of Object.entries(subject)) { + result.set(key, getValueViaPath.call(this, value, path, check)) + } + } else { + let key = path.split(DELIMITER).shift(); + result.set(key, getValueViaPath.call(this, subject, path, check)); + } + + return result; + + +} + +/** + * + * @param {*} subject + * @param [string} path + * @param [boolean} check + * @returns {*} + * @throws {TypeError} unsupported type + * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @private + */ +function getValueViaPath(subject, path, check) { + + if (path === "") { + return subject; + } + + let parts = path.split(DELIMITER) + let current = parts.shift(); + + if (current === this.wildCard) { + return iterate.call(this, subject, parts.join(DELIMITER), check); + } + + if (isObject(subject) || isArray(subject)) { + + let anchor; + if (subject instanceof Map || subject instanceof WeakMap) { + anchor = subject.get(current); + + } else if (subject instanceof Set || subject instanceof WeakSet) { + current = parseInt(current); + validateInteger(current) + anchor = [...subject]?.[current]; + + } else if (typeof WeakRef === 'function' && subject instanceof WeakRef) { + throw Error('unsupported action for this data type'); + + } else if (isArray(subject)) { + current = parseInt(current); + validateInteger(current) + anchor = subject?.[current]; + } else { + anchor = subject?.[current]; + } + + if (isObject(anchor) || isArray(anchor)) { + return getValueViaPath.call(this, anchor, parts.join(DELIMITER), check) + } + + if (parts.length > 0) { + throw Error("the journey is not at its end (" + parts.join(DELIMITER) + ")"); + } + + + if (check === true) { + const descriptor = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(subject), current); + + if (!subject.hasOwnProperty(current) && descriptor === undefined) { + throw Error('unknown value'); + } + + } + + return anchor; + + } + + throw TypeError("unsupported type " + typeof subject) + +} + +/** + * + * @param object + * @param path + * @param value + * @returns {void} + * @throws {TypeError} unsupported type + * @throws {TypeError} unsupported type + * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @private + */ +function setValueViaPath(object, path, value) { + + validateString(path); + + let parts = path.split(DELIMITER) + let last = parts.pop(); + let subpath = parts.join(DELIMITER); + + let stack = new Stack() + let current = subpath; + while (true) { + + try { + getValueViaPath.call(this, object, current, true) + break; + } catch (e) { + + } + + stack.push(current); + parts.pop(); + current = parts.join(DELIMITER); + + if (current === "") break; + } + + while (!stack.isEmpty()) { + current = stack.pop(); + let obj = {}; + + if (!stack.isEmpty()) { + let n = stack.peek().split(DELIMITER).pop(); + if (isInteger(parseInt(n))) { + obj = []; + } + + } + + setValueViaPath.call(this, object, current, obj); + } + + let anchor = getValueViaPath.call(this, object, subpath); + + if (!isObject(object) && !isArray(object)) { + throw TypeError("unsupported type: " + typeof object); + } + + if (anchor instanceof Map || anchor instanceof WeakMap) { + anchor.set(last, value); + } else if (anchor instanceof Set || anchor instanceof WeakSet) { + anchor.append(value) + + } else if (typeof WeakRef === 'function' && anchor instanceof WeakRef) { + throw Error('unsupported action for this data type'); + + } else if (isArray(anchor)) { + last = parseInt(last); + validateInteger(last) + assignProperty(anchor, last, value); + } else { + assignProperty(anchor, last, value); + } + + +} + +/** + * @private + * @param {object} object + * @param {string} key + * @param {*} value + */ +function assignProperty(object, key, value) { + + if (!object.hasOwnProperty(key)) { + object[key] = value; + return; + } + + if (value === undefined) { + delete object[key]; + } + + object[key] = value; + +} + +/** + * + * @param object + * @param path + * @returns {void} + * @throws {TypeError} unsupported type + * @throws {TypeError} unsupported type + * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @since 1.6.0 + * @private + */ +function deleteValueViaPath(object, path) { + + const parts = path.split(DELIMITER) + let last = parts.pop(); + const subpath = parts.join(DELIMITER); + + const anchor = getValueViaPath.call(this, object, subpath); + + if (anchor instanceof Map) { + anchor.delete(last); + } else if (anchor instanceof Set || anchor instanceof WeakMap || anchor instanceof WeakSet || (typeof WeakRef === 'function' && anchor instanceof WeakRef)) { + throw Error('unsupported action for this data type'); + + } else if (isArray(anchor)) { + last = parseInt(last); + validateInteger(last) + delete anchor[last]; + } else { + delete anchor[last]; + } + + +} diff --git a/application/source/data/pipe.js b/application/source/data/pipe.js new file mode 100644 index 0000000000000000000000000000000000000000..242b078ac5c33e8c35c9caa3728a68699c7366ba --- /dev/null +++ b/application/source/data/pipe.js @@ -0,0 +1,111 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from '../types/base.js'; +import {validateString} from '../types/validate.js'; +import {Transformer} from './transformer.js'; + + +const DELIMITER = '|'; + +/** + * The pipe class makes it possible to combine several processing steps. + * + * You can call the method via the monster namespace `new Monster.Data.Pipe()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Data.Pipe() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/pipe.js'; + * new Pipe() + * </script> + * ``` + * + * A pipe consists of commands whose input and output are connected with the pipe symbol `|`. + * + * With the Pipe, processing steps can be combined. Here, the value of an object is accessed via the pathfinder (path command). + * the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char. + * + * @example + * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/pipe.js'; + * + * let obj = { + * a: { + * b: { + * c: { + * d: "world" + * } + * } + * } + * } + * + * console.log(new Pipe('path:a.b.c.d | toupper | prefix:Hello\\ ').run(obj)); + * // ↦ Hello WORLD + * + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster.Data + */ +class Pipe extends Base { + + /** + * + * @param {string} pipe a pipe consists of commands whose input and output are connected with the pipe symbol `|`. + * @throws {TypeError} + */ + constructor(pipe) { + super(); + validateString(pipe); + + this.pipe = pipe.split(DELIMITER).map((v) => { + return new Transformer(v); + }); + + + } + + /** + * + * @param {string} name + * @param {function} callback + * @param {object} context + * @returns {Transformer} + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not a function + */ + setCallback(name, callback, context) { + + for (const [, t] of Object.entries(this.pipe)) { + t.setCallback(name, callback, context); + } + + return this; + } + + /** + * run a pipe + * + * @param {*} value + * @returns {*} + */ + run(value) { + return this.pipe.reduce((accumulator, transformer, currentIndex, array) => { + return transformer.run(accumulator); + }, value); + } +} + +assignToNamespace('Monster.Data', Pipe); +export {Monster, Pipe} diff --git a/application/source/data/transformer.js b/application/source/data/transformer.js new file mode 100644 index 0000000000000000000000000000000000000000..430351b6ffc2f3529b91b00d3bb5b036b8322e1e --- /dev/null +++ b/application/source/data/transformer.js @@ -0,0 +1,574 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from '../types/base.js'; +import {getGlobal, getGlobalObject} from "../types/global.js"; +import {ID} from '../types/id.js'; +import {isArray, isObject, isString} from '../types/is.js'; +import { + validateFunction, + validateInteger, + validateObject, + validatePrimitive, + validateString +} from '../types/validate.js'; +import {clone} from "../util/clone.js"; +import {Pathfinder} from "./pathfinder.js"; + +/** + * The transformer class is a swiss army knife for manipulating values. especially in combination with the pipe, processing chains can be built up. + * + * You can call the method via the monster namespace `new Monster.Data.Transformer()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Data.Transformer() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/transformer.js'; + * new Transformer() + * </script> + * ``` + * + * A simple example is the conversion of all characters to lowercase. for this purpose the command `tolower` must be used. + * + * ``` + * let t = new Transformer('tolower').run('ABC'); // ↦ abc + * ``` + * + * **all commands** + * + * in the following table all commands, parameters and existing aliases are described. + * + * | command | parameter | alias | description | + * |:-------------|:---------------------------|:------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| + * | to-base64 | | base64, btob | Converts the value to base64 | + * | from-base64 | | atob | Converts the value from base64 | + * | call | function:param1:param2:... | | Calling a callback function. The function can be defined in three places: either globally, in the context `addCallback` or in the passed object | + * | default | value:type | ?? | If the value is undefined the first argument is returned, otherwise the value. The third optional parameter specifies the desired type. If no type is specified, string is used. Valid types are bool, string, int, float, undefined and object. An object default value must be specified as a base64 encoded json string. (since 1.12.0) | + * | debug | | | the passed value is output (console) and returned | + * | empty | | | Return empty String "" | + * | first-key | default | | Can be applied to objects and returns the value of the first key. All keys of the object are fetched and sorted. (since 1.23.0) | + * | fromjson | | | Type conversion from a JSON string (since 1.12.0) | + * | if | statement1:statement2 | ? | Is the ternary operator, the first parameter is the valid statement, the second is the false part. To use the current value in the queue, you can set the value keyword. On the other hand, if you want to have the static string "value", you have to put one backslash \\ in front of it and write value. the follow values are true: 'on', true, 'true'. If you want to have a space, you also have to write \\ in front of the space. | + * | index | key:default | property, key | Fetches a value from an object, an array, a map or a set | + * | last-key | default | | Can be applied to objects and returns the value of the last key. All keys of the object are fetched and sorted. (since 1.23.0) | + * | length | | count | Length of the string or entries of an array or object | + * | nop | | | Do nothing | + * | nth-key | index:default | | Can be applied to objects and returns the value of the nth key. All keys of the object are fetched and sorted. (since 1.23.0) | + * | nth-last-key | index:default | | Can be applied to objects and returns the value of the nth key from behind. All keys of the object are fetched and sorted. (since 1.23.0) | + * | path | path | | The access to an object is done via a Pathfinder object | + * | path-exists | path | | Check if the specified path is available in the value (since 1.24.0) | + * | plaintext | | plain | All HTML tags are removed (*) | + * | prefix | text | | Adds a prefix | + * | rawurlencode | | | URL coding | + * | static | | none | The Arguments value is used and passed to the value. Special characters \ <space> and : can be quotet by a preceding \. | + * | substring | start:length | | Returns a substring | + * | suffix | text | | Adds a suffix | + * | tointeger | | | Type conversion to an integer value | + * | tojson | | | Type conversion to a JSON string (since 1.8.0) | + * | tolower | | strtolower, tolowercase | The input value is converted to lowercase letters | + * | tostring | | | Type conversion to a string. | + * | toupper | | strtoupper, touppercase | The input value is converted to uppercase letters | + * | trim | | | Remove spaces at the beginning and end | + * | ucfirst | | | First character large | + * | ucwords | | | Any word beginning large | + * | undefined | | | Return undefined | + * | uniqid | | | Creates a string with a unique value (**) + * + * (*) for this functionality the extension [jsdom](https://www.npmjs.com/package/jsdom) must be loaded in the nodejs context. + * + * ``` + * // polyfill + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * [ + * 'self', + * 'document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (global[key] = window[key])); + * } + * ``` + * + * (**) for this command the crypt library is necessary in the nodejs context. + * + * ``` + * import * as Crypto from "@peculiar/webcrypto"; + * global['crypto'] = new Crypto.Crypto(); + * ``` + * + * @example + * + * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/data/transformer.js'; + * + * const transformer = new Transformer("tolower") + * + * console.log(transformer.run("HELLO")) + * // ↦ hello + * + * console.log(transformer.run("WORLD")) + * // ↦ world + * + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster.Data + */ +class Transformer extends Base { + /** + * + * @param {string} definition + */ + constructor(definition) { + super(); + this.args = disassemble(definition); + this.command = this.args.shift() + this.callbacks = new Map(); + + } + + /** + * + * @param {string} name + * @param {function} callback + * @param {object} context + * @returns {Transformer} + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not a function + */ + setCallback(name, callback, context) { + validateString(name) + validateFunction(callback) + + if (context !== undefined) { + validateObject(context); + } + + this.callbacks.set(name, { + callback: callback, + context: context, + }); + + return this; + } + + /** + * + * @param {*} value + * @returns {*} + * @throws {Error} unknown command + * @throws {TypeError} unsupported type + * @throws {Error} type not supported + */ + run(value) { + return transform.apply(this, [value]) + } +} + +assignToNamespace('Monster.Data', Transformer); +export {Monster, Transformer} + +/** + * + * @param {string} command + * @returns {array} + * @private + */ +function disassemble(command) { + + validateString(command); + + let placeholder = new Map; + const regex = /((?<pattern>\\(?<char>.)){1})/mig; + + // The separator for args must be escaped + // undefined string which should not occur normally and is also not a regex + let result = command.matchAll(regex) + + for (let m of result) { + let g = m?.['groups']; + if (!isObject(g)) { + continue; + } + + let p = g?.['pattern']; + let c = g?.['char']; + + if (p && c) { + let r = '__' + new ID().toString() + '__'; + placeholder.set(r, c); + command = command.replace(p, r); + } + + } + let parts = command.split(':'); + + parts = parts.map(function (value) { + let v = value.trim(); + for (let k of placeholder) { + v = v.replace(k[0], k[1]); + } + return v; + + + }); + + return parts +} + +/** + * tries to make a string out of value and if this succeeds to return it back + * + * @param {*} value + * @returns {string} + * @private + */ +function convertToString(value) { + + if (isObject(value) && value.hasOwnProperty('toString')) { + value = value.toString(); + } + + validateString(value) + return value; +} + +/** + * + * @param {*} value + * @returns {*} + * @private + * @throws {Error} unknown command + * @throws {TypeError} unsupported type + * @throws {Error} type not supported + * @throws {Error} missing key parameter + */ +function transform(value) { + + const console = getGlobalObject('console'); + + let args = clone(this.args); + let key, defaultValue; + + switch (this.command) { + + case 'static': + return this.args.join(':'); + + case 'tolower': + case 'strtolower': + case 'tolowercase': + validateString(value) + return value.toLowerCase(); + + case 'toupper': + case 'strtoupper': + case 'touppercase': + validateString(value) + return value.toUpperCase(); + + case 'tostring': + return "" + value; + + case 'tointeger': + let n = parseInt(value); + validateInteger(n); + return n + + case 'tojson': + return JSON.stringify(value); + + case 'fromjson': + return JSON.parse(value); + + case 'trim': + validateString(value) + return value.trim(); + + case 'rawurlencode': + validateString(value) + return encodeURIComponent(value) + .replace(/!/g, '%21') + .replace(/'/g, '%27') + .replace(/\(/g, '%28') + .replace(/\)/g, '%29') + .replace(/\*/g, '%2A'); + + + case 'call': + + /** + * callback-definition + * function callback(value, ...args) { + * return value; + * } + */ + + let callback; + let callbackName = args.shift(); + let context = getGlobal(); + + if (isObject(value) && value.hasOwnProperty(callbackName)) { + callback = value[callbackName]; + } else if (this.callbacks.has(callbackName)) { + let s = this.callbacks.get(callbackName); + callback = s?.['callback']; + context = s?.['context']; + } else if (typeof window === 'object' && window.hasOwnProperty(callbackName)) { + callback = window[callbackName]; + } + validateFunction(callback); + + args.unshift(value); + return callback.call(context, ...args); + + case 'plain': + case 'plaintext': + validateString(value); + let doc = new DOMParser().parseFromString(value, 'text/html'); + return doc.body.textContent || ""; + + case 'if': + case '?': + + validatePrimitive(value); + + let trueStatement = (args.shift() || undefined); + let falseStatement = (args.shift() || undefined); + + if (trueStatement === 'value') { + trueStatement = value; + } + if (trueStatement === '\\value') { + trueStatement = 'value'; + } + if (falseStatement === 'value') { + falseStatement = value; + } + if (falseStatement === '\\value') { + falseStatement = 'value'; + } + + let condition = ((value !== undefined && value !== '' && value !== 'off' && value !== 'false' && value !== false) || value === 'on' || value === 'true' || value === true); + return condition ? trueStatement : falseStatement; + + + case 'ucfirst': + validateString(value); + + let firstchar = value.charAt(0).toUpperCase(); + return firstchar + value.substr(1); + case 'ucwords': + validateString(value); + + return value.replace(/^([a-z\u00E0-\u00FC])|\s+([a-z\u00E0-\u00FC])/g, function (v) { + return v.toUpperCase(); + }); + + case 'count': + case 'length': + + if ((isString(value) || isObject(value) || isArray(value)) && value.hasOwnProperty('length')) { + return value.length; + } + + throw new TypeError("unsupported type " + typeof value); + + case 'to-base64': + case 'btoa': + case 'base64': + return btoa(convertToString(value)); + + case 'atob': + case 'from-base64': + return atob(convertToString(value)); + + case 'empty': + return ''; + + case 'undefined': + return undefined; + + case 'debug': + + if (isObject(console)) { + console.log(value); + } + + return value; + + case 'prefix': + validateString(value); + let prefix = args?.[0]; + return prefix + value; + + case 'suffix': + validateString(value); + let suffix = args?.[0]; + return value + suffix; + + case 'uniqid': + return (new ID()).toString(); + + case 'first-key': + case 'last-key': + case 'nth-last-key': + case 'nth-key': + + if (!isObject(value)) { + throw new Error("type not supported") + } + + const keys = Object.keys(value).sort() + + if (this.command === 'first-key') { + key = 0; + } else if (this.command === 'last-key') { + key = keys.length - 1; + } else { + + key = validateInteger(parseInt(args.shift())); + + if (this.command === 'nth-last-key') { + key = keys.length - key - 1; + } + } + + defaultValue = (args.shift() || ''); + + let useKey = keys?.[key]; + + if (value?.[useKey]) { + return value?.[useKey]; + } + + return defaultValue; + + + case 'key': + case 'property': + case 'index': + + key = args.shift() || undefined; + + if (key === undefined) { + throw new Error("missing key parameter") + } + + defaultValue = (args.shift() || undefined); + + if (value instanceof Map) { + if (!value.has(key)) { + return defaultValue; + } + return value.get(key); + } + + if (isObject(value) || isArray(value)) { + + if (value?.[key]) { + return value?.[key]; + } + + return defaultValue; + } + + throw new Error("type not supported") + + case 'path-exists': + + key = args.shift(); + if (key === undefined) { + throw new Error("missing key parameter") + } + + return new Pathfinder(value).exists(key); + + case 'path': + + key = args.shift(); + if (key === undefined) { + throw new Error("missing key parameter") + } + + let pf = new Pathfinder(value); + + if (!pf.exists(key)) { + return undefined; + } + + return pf.getVia(key); + + + case 'substring': + + validateString(value); + + let start = parseInt(args[0]) || 0; + let end = (parseInt(args[1]) || 0) + start; + + return value.substring(start, end); + + case 'nop': + return value; + + case '??': + case 'default': + if (value !== undefined && value !== null) { + return value; + } + + defaultValue = args.shift(); + let defaultType = args.shift(); + if (defaultType === undefined) { + defaultType = 'string'; + } + + switch (defaultType) { + case 'int': + case 'integer': + return parseInt(defaultValue); + case 'float': + return parseFloat(defaultValue); + case 'undefined': + return undefined + case 'bool': + case 'boolean': + defaultValue = defaultValue.toLowerCase() + return ((defaultValue !== 'undefined' && defaultValue !== '' && defaultValue !== 'off' && defaultValue !== 'false' && defaultValue !== 'false') || defaultValue === 'on' || defaultValue === 'true' || defaultValue === 'true'); + case 'string': + return "" + defaultValue; + case "object": + return JSON.parse(atob(defaultValue)); + } + + throw new Error("type not supported") + + + default: + throw new Error("unknown command " + this.command) + } + + return value; +} + diff --git a/application/source/dom/assembler.js b/application/source/dom/assembler.js new file mode 100644 index 0000000000000000000000000000000000000000..65dd7338217294c6e540948b2eed259b060013e4 --- /dev/null +++ b/application/source/dom/assembler.js @@ -0,0 +1,100 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from '../types/base.js'; +import {getGlobalFunction} from "../types/global.js"; +import {ProxyObserver} from "../types/proxyobserver.js"; +import {validateInstance, validateString} from "../types/validate.js"; + + +/** + * attribute prefix + * + * @type {string} + * @memberOf Monster.DOM + */ +const ATTRIBUTEPREFIX = "data-monster-"; + +/** + * you can call the method via the monster namespace `new Monster.DOM.Assembler()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(new Monster.DOM.Assembler()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/assembler.js'; + * console.log(new Assembler()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @summary Allows you to build an html fragment + */ +class Assembler extends Base { + + /** + * @param {DocumentFragment} fragment + * @throws {TypeError} value is not an instance of + * @throws {TypeError} value is not a function + * @throws {Error} the function is not defined + */ + constructor(fragment) { + super(); + this.attributePrefix = ATTRIBUTEPREFIX; + validateInstance(fragment, getGlobalFunction('DocumentFragment')); + this.fragment = fragment; + } + + /** + * + * @param {string} prefix + * @returns {Assembler} + * @throws {TypeError} value is not a string + */ + setAttributePrefix(prefix) { + validateString(prefix); + this.attributePrefix = prefix; + return this; + } + + /** + * + * @returns {string} + */ + getAttributePrefix() { + return this.attributePrefix; + } + + /** + * + * @param {ProxyObserver|undefined} data + * @return {DocumentFragment} + * @throws {TypeError} value is not an instance of + */ + createDocumentFragment(data) { + + if (data === undefined) { + data = new ProxyObserver({}); + } + + validateInstance(data, ProxyObserver); + let fragment = this.fragment.cloneNode(true); + return fragment; + } + +} + +assignToNamespace('Monster.DOM', Assembler); +export {Monster, ATTRIBUTEPREFIX, Assembler} diff --git a/application/source/dom/attributes.js b/application/source/dom/attributes.js new file mode 100644 index 0000000000000000000000000000000000000000..75e8dcbd46d57bc3b49579d2cb3272508cf383c4 --- /dev/null +++ b/application/source/dom/attributes.js @@ -0,0 +1,626 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {getGlobalFunction} from "../types/global.js"; +import {TokenList} from "../types/tokenlist.js"; +import {validateInstance, validateString, validateSymbol} from "../types/validate.js"; +import {ATTRIBUTE_OBJECTLINK} from "./constants.js"; + +/** + * Get the closest object link of a node + * + * if a node is specified without a object link, a recursive search upwards is performed until the corresponding + * object link is found, or undefined is returned. + * + * you can call the method via the monster namespace `Monster.DOM.getUpdaterFromNode()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.DOM.findClosestObjectLink()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/updater.js'; + * console.log(findClosestObjectLink()) + * </script> + * ``` + * + * @param {HTMLElement} element + * @return {HTMLElement|undefined} + * @since 1.10.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @throws {TypeError} value is not an instance of HTMLElement + */ +function findClosestObjectLink(element) { + return findClosestByAttribute(element, ATTRIBUTE_OBJECTLINK); +} + +/** + * You can call the method via the monster namespace `new Monster.DOM.addToObjectLink()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.DOM.addToObjectLink(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/attributes.js'; + * addToObjectLink(); + * </script> + * ``` + * + * @since 1.9.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @param {HTMLElement} element + * @param {Symbol} symbol + * @param {Object} object + * @return {boolean} + */ +function addToObjectLink(element, symbol, object) { + + validateInstance(element, HTMLElement); + validateSymbol(symbol) + + if (element?.[symbol] === undefined) { + element[symbol] = new Set; + } + + addAttributeToken(element, ATTRIBUTE_OBJECTLINK, symbol.toString()); + element[symbol].add(object); + return element; + +} + +/** + * You can call the method via the monster namespace `new Monster.DOM.removeObjectLink()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.DOM.removeObjectLink(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/attributes.js'; + * removeObjectLink(); + * </script> + * ``` + * + * @since 1.9.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @param {HTMLElement} element + * @param {Symbol} symbol + * @return {boolean} + */ +function removeObjectLink(element, symbol) { + + validateInstance(element, HTMLElement); + validateSymbol(symbol) + + if (element?.[symbol] === undefined) { + return element + } + + removeAttributeToken(element, ATTRIBUTE_OBJECTLINK, symbol.toString()); + delete element[symbol]; + return element; + +} + + +/** + * You can call the method via the monster namespace `new Monster.DOM.hasObjectLink()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.DOM.hasObjectLink(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/attributes.js'; + * hasObjectLink(); + * </script> + * ``` + * + * @since 1.9.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @param {HTMLElement} element + * @param {Symbol} symbol + * @return {boolean} + */ +function hasObjectLink(element, symbol) { + + validateInstance(element, HTMLElement); + validateSymbol(symbol) + + if (element?.[symbol] === undefined) { + return false + } + + return containsAttributeToken(element, ATTRIBUTE_OBJECTLINK, symbol.toString()); + +} + +/** + * The ObjectLink can be used to attach objects to HTMLElements. The elements are kept in a set under a unique + * symbol and can be read via an iterator {@see {@link getLinkedObjects}}. + * + * In addition, elements with an objectLink receive the attribute `data-monster-objectlink`. + * + * With the method {@see {@link addToObjectLink}} the objects can be added. + * + * You can call the method via the monster namespace `new Monster.DOM.getLinkedObjects()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.DOM.getLinkedObjects(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/attributes.js'; + * getLinkedObjects(); + * </script> + * ``` + * + * @since 1.9.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @param {HTMLElement} element + * @param {Symbol} symbol + * @return {Iterator} + * @throws {Error} there is no object link for symbol + */ +function getLinkedObjects(element, symbol) { + + validateInstance(element, HTMLElement); + validateSymbol(symbol) + + if (element?.[symbol] === undefined) { + throw new Error('there is no object link for ' + symbol.toString()); + } + + return element?.[symbol][Symbol.iterator](); + +} + + +/** + * With this method tokens in an attribute can be switched on or off. For example, classes can be switched on and off in the elements class attribute. + * + * Tokens are always separated by a space. + * + * You can call the method via the monster namespace `new Monster.DOM.toggleAttributeToken()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.DOM.toggleAttributeToken(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/attributes.js'; + * toggleAttributeToken(); + * </script> + * ``` + * + * @since 1.9.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @param {HTMLElement} element + * @param {string} key + * @param {string} token + * @return {HTMLElement} + */ +function toggleAttributeToken(element, key, token) { + validateInstance(element, HTMLElement); + validateString(token) + validateString(key) + + if (!element.hasAttribute(key)) { + element.setAttribute(key, token); + return element; + } + + element.setAttribute(key, new TokenList(element.getAttribute(key)).toggle(token).toString()); + + return element +} + +/** + * This method can be used to add a token to an attribute. Tokens are always separated by a space. + * + * You can call the method via the monster namespace `new Monster.DOM.addAttributeToken()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.DOM.addAttributeToken(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/attributes.js'; + * addAttributeToken(); + * </script> + * ``` + * + * @since 1.9.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @param {HTMLElement} element + * @param {string} key + * @param {string} token + * @return {HTMLElement} + */ +function addAttributeToken(element, key, token) { + validateInstance(element, HTMLElement); + validateString(token) + validateString(key) + + if (!element.hasAttribute(key)) { + element.setAttribute(key, token); + return element; + } + + element.setAttribute(key, new TokenList(element.getAttribute(key)).add(token).toString()); + + return element +} + +/** + * This function can be used to remove tokens from an attribute. + * + * Tokens are always separated by a space. + * + * You can call the method via the monster namespace `new Monster.DOM.removeAttributeToken()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.DOM.removeAttributeToken(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/attributes.js'; + * removeAttributeToken(); + * </script> + * ``` + * + * @since 1.9.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @param {HTMLElement} element + * @param {string} key + * @param {string} token + * @return {HTMLElement} + */ +function removeAttributeToken(element, key, token) { + validateInstance(element, HTMLElement); + validateString(token) + validateString(key) + + if (!element.hasAttribute(key)) { + return element; + } + + element.setAttribute(key, new TokenList(element.getAttribute(key)).remove(token).toString()); + + return element +} + +/** + * This method can be used to determine whether an attribute has a token. + * + * Tokens are always separated by a space. + * + * You can call the method via the monster namespace `new Monster.DOM.containsAttributeToken()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.DOM.containsAttributeToken(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/attributes.js'; + * containsAttributeToken(); + * </script> + * ``` + * + * @since 1.9.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @param {HTMLElement} element + * @param {string} key + * @param {string} token + * @return {boolean} + */ +function containsAttributeToken(element, key, token) { + validateInstance(element, HTMLElement); + validateString(token) + validateString(key) + + if (!element.hasAttribute(key)) { + return false; + } + + return new TokenList(element.getAttribute(key)).contains(token); + +} + +/** + * Tokens are always separated by a space. + * + * You can call the method via the monster namespace `new Monster.DOM.replaceAttributeToken()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.DOM.replaceAttributeToken(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/attributes.js'; + * replaceAttributeToken(); + * </script> + * ``` + * + * @since 1.9.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @param {HTMLElement} element + * @param {string} key + * @param {string} from + * @param {string} to + * @return {HTMLElement} + */ +function replaceAttributeToken(element, key, from, to) { + validateInstance(element, HTMLElement); + validateString(from) + validateString(to) + validateString(key) + + if (!element.hasAttribute(key)) { + return element; + } + + element.setAttribute(key, new TokenList(element.getAttribute(key)).replace(from, to).toString()); + + return element +} + +/** + * Tokens are always separated by a space. + * + * You can call the method via the monster namespace `new Monster.DOM.clearAttributeTokens()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.DOM.clearAttributeTokens(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/attributes.js'; + * clearAttributeTokens(); + * </script> + * ``` + * + * @since 1.9.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @param {HTMLElement} element + * @param {string} key + * @return {HTMLElement} + */ +function clearAttributeTokens(element, key) { + validateInstance(element, HTMLElement); + validateString(key) + + if (!element.hasAttribute(key)) { + return element; + } + + element.setAttribute(key, ""); + + return element +} + +/** + * This function searches, starting from an `HTMLElemement`, for the next element that has a certain attribute. + * + * ```html + * <div data-my-attribute="2" id="2"> + * <div id="1"></div> + * </div> + * ``` + * + * ```javascript + * // if no value is specified (undefined), then only the attribute is checked. + * findClosestByAttribute(document.getElementById('1'),'data-my-attribute'); // ↦ node with id 2 + * findClosestByAttribute(document.getElementById('2'),'data-my-attribute'); // ↦ node with id 2 + * + * // if a value is specified, for example an empty string, then the name and the value are checked. + * findClosestByAttribute(document.getElementById('1'),'data-my-attribute', ''); // ↦ undefined + * findClosestByAttribute(document.getElementById('1'),'data-my-attribute', '2'); // ↦ node with id 2 + * ``` + * + * You can call the method via the monster namespace `new Monster.DOM.findClosestByAttribute()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.DOM.findClosestByAttribute(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/attributes.js'; + * findClosestByAttribute(); + * </script> + * ``` + * + * @since 1.14.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @param {HTMLElement} element + * @param {string} key + * @param {string|undefined} value + * @return {HTMLElement|undefined} + * @summary find closest node + */ +function findClosestByAttribute(element, key, value) { + validateInstance(element, getGlobalFunction('HTMLElement')); + + if (element.hasAttribute(key)) { + if (value === undefined) { + return element; + } + + if (element.getAttribute(key) === value) { + return element; + } + + } + + let selector = validateString(key); + if (value !== undefined) selector += "=" + validateString(value); + let result = element.closest('[' + selector + ']'); + if (result instanceof HTMLElement) { + return result; + } + return undefined; +} + +/** + * This function searches, starting from an `HTMLElemement`, for the next element that has a certain attribute. + * + * ```html + * <div class="myclass" id="2"> + * <div id="1"></div> + * </div> + * ``` + * + * ```javascript + * // if no value is specified (undefined), then only the attribute is checked. + * findClosestByClass(document.getElementById('1'),'myclass'); // ↦ node with id 2 + * findClosestByClass(document.getElementById('2'),'myclass'); // ↦ node with id 2 + * ``` + * + * You can call the method via the monster namespace `new Monster.DOM.findClosestByClass()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.DOM.findClosestByClass(); + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {findClosestByClass} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/attributes.js'; + * findClosestByClass(); + * </script> + * ``` + * + * @since 1.27.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @param {HTMLElement} element + * @param {string} className + * @return {HTMLElement|undefined} + * @summary find closest node + */ +function findClosestByClass(element, className) { + validateInstance(element, getGlobalFunction('HTMLElement')); + + if (element?.classList?.contains(validateString(className))) { + return element; + } + + let result = element.closest('.' + className); + if (result instanceof HTMLElement) { + return result; + } + + return undefined; +} + +// exports +assignToNamespace('Monster.DOM', findClosestByClass, getLinkedObjects, addToObjectLink, removeObjectLink, findClosestByAttribute, hasObjectLink, clearAttributeTokens, replaceAttributeToken, containsAttributeToken, removeAttributeToken, addAttributeToken, toggleAttributeToken); +export { + Monster, + addToObjectLink, + removeObjectLink, + hasObjectLink, + findClosestByAttribute, + clearAttributeTokens, + replaceAttributeToken, + containsAttributeToken, + removeAttributeToken, + addAttributeToken, + toggleAttributeToken, + getLinkedObjects, + findClosestObjectLink, + findClosestByClass +} diff --git a/application/source/dom/constants.js b/application/source/dom/constants.js new file mode 100644 index 0000000000000000000000000000000000000000..07e663f8101e84356cb96092c31800cf70fd9bd1 --- /dev/null +++ b/application/source/dom/constants.js @@ -0,0 +1,444 @@ +'use strict'; + +import {Monster} from '../namespace.js'; +/** + * @author schukai GmbH + */ + + +/** + * default theme + * @memberOf Monster.DOM + * @type {string} + */ +const DEFAULT_THEME = 'monster'; + +/** + * @memberOf Monster.DOM + * @since 1.8.0 + * @type {string} + */ +const ATTRIBUTE_PREFIX = 'data-monster-'; + +/** + * This is the name of the attribute to pass options to a control + * + * @memberOf Monster.DOM + * @since 1.8.0 + * @type {string} + */ +const ATTRIBUTE_OPTIONS = ATTRIBUTE_PREFIX + 'options'; + +/** + * This is the name of the attribute to pass options to a control + * + * @memberOf Monster.DOM + * @since 1.30.0 + * @type {string} + */ +const ATTRIBUTE_OPTIONS_SELECTOR = ATTRIBUTE_PREFIX + 'options-selector'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.8.0 + */ +const ATTRIBUTE_THEME_PREFIX = ATTRIBUTE_PREFIX + 'theme-'; + +/** + * @memberOf Monster.DOM + * @type {string} + */ +const ATTRIBUTE_THEME_NAME = ATTRIBUTE_THEME_PREFIX + 'name'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.8.0 + */ +const ATTRIBUTE_UPDATER_ATTRIBUTES = ATTRIBUTE_PREFIX + 'attributes'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.27.1 + */ +const ATTRIBUTE_UPDATER_SELECT_THIS = ATTRIBUTE_PREFIX + 'select-this'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.8.0 + */ +const ATTRIBUTE_UPDATER_REPLACE = ATTRIBUTE_PREFIX + 'replace'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.8.0 + */ +const ATTRIBUTE_UPDATER_INSERT = ATTRIBUTE_PREFIX + 'insert'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.8.0 + */ +const ATTRIBUTE_UPDATER_INSERT_REFERENCE = ATTRIBUTE_PREFIX + 'insert-reference'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.8.0 + */ +const ATTRIBUTE_UPDATER_REMOVE = ATTRIBUTE_PREFIX + 'remove'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.9.0 + */ +const ATTRIBUTE_UPDATER_BIND = ATTRIBUTE_PREFIX + 'bind'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.27.0 + */ +const ATTRIBUTE_TEMPLATE_PREFIX = ATTRIBUTE_PREFIX + 'template-prefix'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.14.0 + */ +const ATTRIBUTE_ROLE = ATTRIBUTE_PREFIX + 'role'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.24.0 + */ +const ATTRIBUTE_DISABLED = 'disabled'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.24.0 + */ +const ATTRIBUTE_VALUE = 'value'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.9.0 + */ +const ATTRIBUTE_OBJECTLINK = ATTRIBUTE_PREFIX + 'objectlink'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.24.0 + */ +const ATTRIBUTE_ERRORMESSAGE = ATTRIBUTE_PREFIX + 'error'; + +/** + * @memberOf Monster.DOM + * @type {symbol} + * @since 1.24.0 + */ +const objectUpdaterLinkSymbol = Symbol('monsterUpdater'); + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const TAG_SCRIPT = 'script'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const TAG_STYLE = 'style'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const TAG_LINK = 'link'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ + +const ATTRIBUTE_ID = 'id'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ + +const ATTRIBUTE_CLASS = 'class'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_TITLE = 'title'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_SRC = 'src'; +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_HREF = 'href'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_TYPE = 'type'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_NONCE = 'nonce'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_TRANSLATE = 'translate'; + + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_TABINDEX = 'tabindex'; + + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_SPELLCHECK = 'spellcheck'; + + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_SLOT = 'slot'; + + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_PART = 'part'; + + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_LANG = 'lang'; + + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_ITEMTYPE = 'itemtype'; + + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_ITEMSCOPE = 'itemscope'; + + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_ITEMREF = 'itemref'; + + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_ITEMID = 'itemid'; + + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_ITEMPROP = 'itemprop'; + + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_IS = 'is'; + + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_INPUTMODE = 'inputmode'; + + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_ACCESSKEY = 'accesskey'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_AUTOCAPITALIZE = 'autocapitalize'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_AUTOFOCUS = 'autofocus'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_CONTENTEDITABLE = 'contenteditable'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_DIR = 'dir'; + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_DRAGGABLE = 'draggable'; + + +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_ENTERKEYHINT = 'enterkeyhint'; +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_EXPORTPARTS = 'exportparts'; +/** + * @memberOf Monster.DOM + * @type {string} + * @since 1.25.0 + */ +const ATTRIBUTE_HIDDEN = 'hidden'; + + +export { + Monster, + ATTRIBUTE_HIDDEN, + ATTRIBUTE_EXPORTPARTS, + ATTRIBUTE_ENTERKEYHINT, + ATTRIBUTE_DRAGGABLE, + ATTRIBUTE_DIR, + ATTRIBUTE_CONTENTEDITABLE, + ATTRIBUTE_AUTOFOCUS, + ATTRIBUTE_AUTOCAPITALIZE, + ATTRIBUTE_ACCESSKEY, + TAG_SCRIPT, + TAG_LINK, + ATTRIBUTE_INPUTMODE, + ATTRIBUTE_IS, + ATTRIBUTE_ITEMPROP, + ATTRIBUTE_ITEMID, + ATTRIBUTE_ITEMREF, + ATTRIBUTE_ITEMSCOPE, + TAG_STYLE, + ATTRIBUTE_ITEMTYPE, + ATTRIBUTE_HREF, + ATTRIBUTE_LANG, + ATTRIBUTE_PART, + ATTRIBUTE_SLOT, + ATTRIBUTE_SPELLCHECK, + ATTRIBUTE_SRC, + ATTRIBUTE_TABINDEX, + ATTRIBUTE_TRANSLATE, + ATTRIBUTE_NONCE, + ATTRIBUTE_TYPE, + ATTRIBUTE_TITLE, + ATTRIBUTE_CLASS, + ATTRIBUTE_ID, + ATTRIBUTE_PREFIX, + ATTRIBUTE_OPTIONS, + DEFAULT_THEME, + ATTRIBUTE_THEME_PREFIX, + ATTRIBUTE_ROLE, + ATTRIBUTE_THEME_NAME, + ATTRIBUTE_UPDATER_ATTRIBUTES, + ATTRIBUTE_UPDATER_REPLACE, + ATTRIBUTE_UPDATER_INSERT, + ATTRIBUTE_UPDATER_INSERT_REFERENCE, + ATTRIBUTE_UPDATER_REMOVE, + ATTRIBUTE_UPDATER_BIND, + ATTRIBUTE_OBJECTLINK, + ATTRIBUTE_DISABLED, + ATTRIBUTE_ERRORMESSAGE, + ATTRIBUTE_VALUE, + objectUpdaterLinkSymbol, + ATTRIBUTE_TEMPLATE_PREFIX, + ATTRIBUTE_UPDATER_SELECT_THIS, + ATTRIBUTE_OPTIONS_SELECTOR +} \ No newline at end of file diff --git a/application/source/dom/customcontrol.js b/application/source/dom/customcontrol.js new file mode 100644 index 0000000000000000000000000000000000000000..510f95712483814d10a90dfbfaa3f903196ad784 --- /dev/null +++ b/application/source/dom/customcontrol.js @@ -0,0 +1,333 @@ +'use strict'; + +import {extend} from "../data/extend.js"; +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {ATTRIBUTE_VALUE} from "./constants.js"; +import {CustomElement, attributeObserverSymbol} from "./customelement.js"; + + +/** + * @private + * @type {symbol} + */ +const attachedInternalSymbol = Symbol('attachedInternal'); + +/** + * To define a new HTML control we need the power of CustomElement + * + * IMPORTANT: after defining a `CustomElement`, the `registerCustomElement` method must be called + * with the new class name. only then will the tag defined via the `getTag` method be made known to the DOM. + * + * <img src="./images/customcontrol-class.png"> + * + * This control uses `attachInternals()` to integrate the control into a form. + * If the target environment does not support this method, the [polyfill](https://www.npmjs.com/package/element-internals-polyfill ) can be used. + * + * You can create the object via the function `document.createElement()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * document.createElement('monster-') + * </script> + * ``` + * + * @startuml customcontrol-class.png + * skinparam monochrome true + * skinparam shadowing false + * HTMLElement <|-- CustomElement + * CustomElement <|-- CustomControl + * @enduml + * + * @summary A base class for customcontrols based on CustomElement + * @see {@link https://www.npmjs.com/package/element-internals-polyfill} + * @see {@link https://github.com/WICG/webcomponents} + * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements} + * @since 1.14.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + */ +class CustomControl extends CustomElement { + + /** + * IMPORTANT: CustomControls instances are not created via the constructor, but either via a tag in the HTML or via <code>document.createElement()</code>. + * + * @throws {Error} the ElementInternals is not supported and a polyfill is necessary + * @summary create new Instance + */ + constructor() { + super(); + + if (typeof this['attachInternals'] === 'function') { + /** + * currently only supported by chrome + * @property {Object} + * @private + */ + this[attachedInternalSymbol] = this.attachInternals(); + } + + initObserver.call(this); + + } + + /** + * This method determines which attributes are to be monitored by `attributeChangedCallback()`. + * + * @return {string[]} + * @since 1.15.0 + */ + static get observedAttributes() { + const list = super.observedAttributes; + list.push(ATTRIBUTE_VALUE); + return list; + } + + /** + * + * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals} + * @since 1.14.0 + * @return {boolean} + */ + static get formAssociated() { + return true; + } + + /** + * Derived classes can override and extend this method as follows. + * + * ``` + * get defaults() { + * return extends{}, super.defaults, { + * myValue:true + * }); + * } + * ``` + * + * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example} + * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals} + * @return {object} + * @since 1.14.0 + */ + get defaults() { + return extend({}, super.defaults); + } + + /** + * Must be overridden by a derived class and return the value of the control. + * + * This is a method of [internal api](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals) + * + * @since 1.14.0 + * @throws {Error} the value getter must be overwritten by the derived class + */ + get value() { + throw Error('the value getter must be overwritten by the derived class'); + } + + /** + * Must be overridden by a derived class and return the value of the control. + * + * This is a method of [internal api](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals) + * + * @param {*} value + * @since 1.14.0 + * @throws {Error} the value setter must be overwritten by the derived class + */ + set value(value) { + throw Error('the value setter must be overwritten by the derived class'); + } + + /** + * This is a method of [internal api](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals) + * + * @return {NodeList} + * @since 1.14.0 + * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/labels} + * @throws {Error} the ElementInternals is not supported and a polyfill is necessary + */ + get labels() { + return getInternal.call(this)?.labels; + } + + /** + * This is a method of [internal api](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals) + * + * @return {string|null} + */ + get name() { + return this.getAttribute('name'); + } + + /** + * This is a method of [internal api](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals) + * + * @return {string} + */ + get type() { + return this.constructor.getTag(); + } + + /** + * This is a method of [internal api](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals) + * + * @return {ValidityState} + * @throws {Error} the ElementInternals is not supported and a polyfill is necessary + * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/ValidityState} + * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/validity} + */ + get validity() { + return getInternal.call(this)?.validity; + } + + /** + * This is a method of [internal api](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals) + * + * @return {string} + * @since 1.14.0 + * @see https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validationMessage + * @throws {Error} the ElementInternals is not supported and a polyfill is necessary + */ + get validationMessage() { + return getInternal.call(this)?.validationMessage; + } + + /** + * This is a method of [internal api](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals) + * + * @return {boolean} + * @since 1.14.0 + * @see https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/willValidate + * @throws {Error} the ElementInternals is not supported and a polyfill is necessary + */ + get willValidate() { + return getInternal.call(this)?.willValidate; + } + + /** + * This is a method of [internal api](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals) + * + * @return {CustomStateSet} + * @since 1.14.0 + * @see https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/states + * @throws {Error} the ElementInternals is not supported and a polyfill is necessary + */ + get states() { + return getInternal.call(this)?.states; + } + + /** + * This is a method of [internal api](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals) + * + * @return {HTMLFontElement|null} + * @since 1.14.0 + * @see https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form + * @throws {Error} the ElementInternals is not supported and a polyfill is necessary + */ + get form() { + return getInternal.call(this)?.form; + } + + /** + * This is a method of [internal api](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals) + * + * ``` + * // Use the control's name as the base name for submitted data + * const n = this.getAttribute('name'); + * const entries = new FormData(); + * entries.append(n + '-first-name', this.firstName_); + * entries.append(n + '-last-name', this.lastName_); + * this.setFormValue(entries); + * ``` + * + * @param {File|string|FormData} value + * @param {File|string|FormData} state + * @since 1.14.0 + * @return {undefined} + * @throws {DOMException} NotSupportedError + * @throws {Error} the ElementInternals is not supported and a polyfill is necessary + * @see https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue + */ + setFormValue(value, state) { + getInternal.call(this).setFormValue(value, state); + } + + /** + * + * @param {object} flags + * @param {string|undefined} message + * @param {HTMLElement} anchor + * @see https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setValidity + * @since 1.14.0 + * @return {undefined} + * @throws {DOMException} NotSupportedError + * @throws {Error} the ElementInternals is not supported and a polyfill is necessary + */ + setValidity(flags, message, anchor) { + getInternal.call(this).setValidity(flags, message, anchor); + } + + /** + * This is a method of [internal api](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals) + * + * @see https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/checkValidity + * @since 1.14.0 + * @return {boolean} + * @throws {DOMException} NotSupportedError + * @throws {Error} the ElementInternals is not supported and a polyfill is necessary + */ + checkValidity() { + return getInternal.call(this)?.checkValidity(); + } + + /** + * This is a method of [internal api](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals) + * + * @return {boolean} + * @since 1.14.0 + * @see https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/reportValidity + * @throws {Error} the ElementInternals is not supported and a polyfill is necessary + * @throws {DOMException} NotSupportedError + */ + reportValidity() { + return getInternal.call(this)?.reportValidity(); + } + +} + +/** + * @private + * @return {object} + * @throws {Error} the ElementInternals is not supported and a polyfill is necessary + * @this CustomControl + */ +function getInternal() { + const self = this; + + if (!(attachedInternalSymbol in this)) { + throw new Error('ElementInternals is not supported and a polyfill is necessary'); + } + + return this[attachedInternalSymbol]; +} + +/** + * @private + * @return {object} + * @this CustomControl + */ +function initObserver() { + const self = this; + + // value + self[attributeObserverSymbol]['value'] = () => { + self.setOption('value', self.getAttribute('value')); + } + +} + +assignToNamespace('Monster.DOM', CustomControl); +export {Monster, CustomControl} diff --git a/application/source/dom/customelement.js b/application/source/dom/customelement.js new file mode 100644 index 0000000000000000000000000000000000000000..0a76fbd9cc45eec72def8775bef77eb0c0c80156 --- /dev/null +++ b/application/source/dom/customelement.js @@ -0,0 +1,991 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {internalSymbol} from "../constants.js"; +import {extend} from "../data/extend.js"; +import {Pathfinder} from "../data/pathfinder.js"; +import {assignToNamespace, Monster} from '../namespace.js'; +import {parseDataURL} from "../types/dataurl.js"; +import {getGlobalObject} from "../types/global.js"; +import {isArray, isFunction, isObject, isString} from "../types/is.js"; +import {Observer} from "../types/observer.js"; +import {ProxyObserver} from "../types/proxyobserver.js"; +import {validateFunction, validateInstance, validateObject, validateString} from "../types/validate.js"; +import {clone} from "../util/clone.js"; +import {addAttributeToken, addToObjectLink, getLinkedObjects, hasObjectLink} from "./attributes.js"; +import { + ATTRIBUTE_DISABLED, + ATTRIBUTE_ERRORMESSAGE, + ATTRIBUTE_OPTIONS, + ATTRIBUTE_OPTIONS_SELECTOR, + objectUpdaterLinkSymbol +} from "./constants.js"; +import {findDocumentTemplate, Template} from "./template.js"; +import {Updater} from "./updater.js"; + + +/** + * @memberOf Monster.DOM + * @type {symbol} + */ +const initMethodSymbol = Symbol('initMethodSymbol'); + +/** + * @memberOf Monster.DOM + * @type {symbol} + */ +const assembleMethodSymbol = Symbol('assembleMethodSymbol'); + +/** + * this symbol holds the attribute observer callbacks. The key is the attribute name. + * @memberOf Monster.DOM + * @type {symbol} + */ +const attributeObserverSymbol = Symbol('attributeObserver'); + + +/** + * HTMLElement + * @external HTMLElement + * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement + * + * @startuml customelement-sequencediagram.png + * skinparam monochrome true + * skinparam shadowing false + * + * autonumber + * + * Script -> DOM: element = document.createElement('my-element') + * DOM -> CustomElement: constructor() + * CustomElement -> CustomElement: [initMethodSymbol]() + * + * CustomElement --> DOM: Element + * DOM --> Script : element + * + * + * Script -> DOM: document.querySelector('body').append(element) + * + * DOM -> CustomElement : connectedCallback() + * + * note right CustomElement: is only called at\nthe first connection + * CustomElement -> CustomElement : [assembleMethodSymbol]() + * + * ... ... + * + * autonumber + * + * Script -> DOM: document.querySelector('monster-confirm-button').parentNode.removeChild(element) + * DOM -> CustomElement: disconnectedCallback() + * + * + * @enduml + * + * @startuml customelement-class.png + * skinparam monochrome true + * skinparam shadowing false + * HTMLElement <|-- CustomElement + * @enduml + */ + + +/** + * To define a new HTML element we need the power of CustomElement + * + * IMPORTANT: after defining a `CustomElement`, the `registerCustomElement` method must be called + * with the new class name. only then will the tag defined via the `getTag` method be made known to the DOM. + * + * <img src="./images/customelement-class.png"> + * + * You can create the object via the function `document.createElement()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * document.createElement('monster-') + * </script> + * ``` + * + * ## Interaction + * + * <img src="./images/customelement-sequencediagram.png"> + * + * ## Styling + * + * For optimal display of custom-elements the pseudo-class :defined can be used. + * + * To prevent the custom elements from being displayed and flickering until the control is registered, it is recommended to create a css directive. + * + * In the simplest case, you can simply hide the control. + * + * ``` + * <style> + * + * my-custom-element:not(:defined) { + * display: none; + * } + * + * my-custom-element:defined { + * display: flex; + * } + * + * </style> + * ``` + * + * Alternatively you can also display a loader + * + * ``` + * my-custom-element:not(:defined) { + * display: flex; + * box-shadow: 0 4px 10px 0 rgba(33, 33, 33, 0.15); + * border-radius: 4px; + * height: 200px; + * position: relative; + * overflow: hidden; + * } + * + * my-custom-element:not(:defined)::before { + * content: ''; + * display: block; + * position: absolute; + * left: -150px; + * top: 0; + * height: 100%; + * width: 150px; + * background: linear-gradient(to right, transparent 0%, #E8E8E8 50%, transparent 100%); + * animation: load 1s cubic-bezier(0.4, 0.0, 0.2, 1) infinite; + * } + * + * @keyframes load { + * from { + * left: -150px; + * } + * to { + * left: 100%; + * } + * } + * + * my-custom-element:defined { + * display: flex; + * } + * ``` + * + * @example + * + * // In the example the the user can use his own template by creating a template in the DOM with the ID `my-custom-element`. + * // You can also specify a theme (for example `mytheme`), then it will search for the ID `my-custom-element-mytheme` and + * // if not available for the ID `my-custom-element`. + * + * class MyCustomElement extends CustomElement { + * + * static getTag() { + * return "my-custom-element" + * } + * + * } + * + * // ↦ <my-custom-element></my-custom-element> + * + * @see https://github.com/WICG/webcomponents + * @see https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements + * @since 1.7.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @extends external:HTMLElement + * @summary A base class for HTML5 customcontrols + */ +class CustomElement extends HTMLElement { + + /** + * A new object is created. First the `initOptions` method is called. Here the + * options can be defined in derived classes. Subsequently, the shadowRoot is initialized. + * + * @throws {Error} the options attribute does not contain a valid json definition. + * @since 1.7.0 + */ + constructor() { + super(); + this[internalSymbol] = new ProxyObserver({'options': extend({}, this.defaults)}); + this[attributeObserverSymbol] = {}; + initOptionObserver.call(this); + this[initMethodSymbol](); + } + + /** + * This method determines which attributes are to be monitored by `attributeChangedCallback()`. + * + * @return {string[]} + * @since 1.15.0 + */ + static get observedAttributes() { + return [ATTRIBUTE_OPTIONS, ATTRIBUTE_DISABLED]; + } + + /** + * Derived classes can override and extend this method as follows. + * + * ``` + * get defaults() { + * return Object.assign({}, super.defaults, { + * myValue:true + * }); + * } + * ``` + * + * To set the options via the html tag the attribute data-monster-options must be set. + * As value a JSON object with the desired values must be defined. + * + * Since 1.18.0 the JSON can be specified as a DataURI. + * + * ``` + * new Monster.Types.DataUrl(btoa(JSON.stringify({ + * shadowMode: 'open', + * delegatesFocus: true, + * templates: { + * main: undefined + * } + * })),'application/json',true).toString() + * ``` + * + * The attribute data-monster-options-selector can be used to access a script tag that contains additional configuration. + * + * As value a selector must be specified, which belongs to a script tag and contains the configuration as json. + * + * ``` + * <script id="id-for-this-config" type="application/json"> + * { + * "config-key": "config-value" + * } + * </script> + * ``` + * + * The individual configuration values can be found in the table. + * + * @property {boolean} disabled=false Object The Boolean disabled attribute, when present, makes the element not mutable, focusable, or even submitted with the form. + * @property {string} shadowMode=open `open` Elements of the shadow root are accessible from JavaScript outside the root, for example using. `close` Denies access to the node(s) of a closed shadow root from JavaScript outside it + * @property {Boolean} delegatesFocus=true A boolean that, when set to true, specifies behavior that mitigates custom element issues around focusability. When a non-focusable part of the shadow DOM is clicked, the first focusable part is given focus, and the shadow host is given any available :focus styling. + * @property {Object} templates Templates + * @property {string} templates.main=undefined Main template + * + * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow + * @since 1.8.0 + */ + get defaults() { + return { + ATTRIBUTE_DISABLED: this.getAttribute(ATTRIBUTE_DISABLED), + shadowMode: 'open', + delegatesFocus: true, + templates: { + main: undefined + } + }; + } + + /** + * There is no check on the name by this class. the developer is responsible for assigning an appropriate tag. + * if the name is not valid, registerCustomElement() will issue an error + * + * @link https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name + * @return {string} + * @throws {Error} the method getTag must be overwritten by the derived class. + * @since 1.7.0 + */ + static getTag() { + throw new Error("the method getTag must be overwritten by the derived class."); + } + + /** + * At this point a `CSSStyleSheet` object can be returned. If the environment does not + * support a constructor, then an object can also be built using the following detour. + * + * If `undefined` is returned then the shadowRoot does not get a stylesheet. + * + * ``` + * const doc = document.implementation.createHTMLDocument('title'); + * + * let style = doc.createElement("style"); + * style.innerHTML="p{color:red;}"; + * + * // WebKit Hack + * style.appendChild(document.createTextNode("")); + * // Add the <style> element to the page + * doc.head.appendChild(style); + * return doc.styleSheets[0]; + * ; + * ``` + * + * @return {CSSStyleSheet|CSSStyleSheet[]|string|undefined} + */ + static getCSSStyleSheet() { + return undefined; + } + + /** + * attach a new observer + * + * @param {Observer} observer + * @returns {CustomElement} + */ + attachObserver(observer) { + this[internalSymbol].attachObserver(observer) + return this; + } + + /** + * detach a observer + * + * @param {Observer} observer + * @returns {CustomElement} + */ + detachObserver(observer) { + this[internalSymbol].detachObserver(observer) + return this; + } + + /** + * @param {Observer} observer + * @returns {ProxyObserver} + */ + containsObserver(observer) { + return this[internalSymbol].containsObserver(observer) + } + + /** + * nested options can be specified by path `a.b.c` + * + * @param {string} path + * @param {*} defaultValue + * @return {*} + * @since 1.10.0 + */ + getOption(path, defaultValue) { + let value; + + try { + value = new Pathfinder(this[internalSymbol].getRealSubject()['options']).getVia(path); + } catch (e) { + + } + + if (value === undefined) return defaultValue; + return value; + } + + /** + * Set option and inform elements + * + * @param {string} path + * @param {*} value + * @return {CustomElement} + * @since 1.14.0 + */ + setOption(path, value) { + new Pathfinder(this[internalSymbol].getSubject()['options']).setVia(path, value); + return this; + } + + /** + * @since 1.15.0 + * @param {string|object} options + * @return {CustomElement} + */ + setOptions(options) { + + if (isString(options)) { + options = parseOptionsJSON.call(this, options) + } + + const self = this; + extend(self[internalSymbol].getSubject()['options'], self.defaults, options); + + return self; + } + + /** + * Is called once via the constructor + * + * @return {CustomElement} + * @since 1.8.0 + */ + [initMethodSymbol]() { + return this; + } + + /** + * Is called once when the object is included in the DOM for the first time. + * + * @return {CustomElement} + * @since 1.8.0 + */ + [assembleMethodSymbol]() { + + const self = this; + let elements, nodeList; + + const AttributeOptions = getOptionsFromAttributes.call(self); + if (isObject(AttributeOptions) && Object.keys(AttributeOptions).length > 0) { + self.setOptions(AttributeOptions); + } + + const ScriptOptions = getOptionsFromScriptTag.call(self); + if (isObject(ScriptOptions) && Object.keys(ScriptOptions).length > 0) { + self.setOptions(ScriptOptions); + } + + + if (self.getOption('shadowMode', false) !== false) { + try { + initShadowRoot.call(self); + elements = self.shadowRoot.childNodes; + + } catch (e) { + + } + + try { + initCSSStylesheet.call(this); + } catch (e) { + addAttributeToken(self, ATTRIBUTE_ERRORMESSAGE, e.toString()); + } + } + + if (!(elements instanceof NodeList)) { + if (!(elements instanceof NodeList)) { + initHtmlContent.call(this); + elements = this.childNodes; + } + } + + try { + nodeList = new Set([ + ...elements, + ...getSlottedElements.call(self) + ]) + } catch (e) { + nodeList = elements + } + + assignUpdaterToElement.call(self, nodeList, clone(self[internalSymbol].getRealSubject()['options'])); + return self; + } + + /** + * Called every time the element is inserted into the DOM. Useful for running setup code, such as + * fetching resources or rendering. Generally, you should try to delay work until this time. + * + * @return {void} + * @since 1.7.0 + */ + connectedCallback() { + let self = this; + if (!hasObjectLink(self, objectUpdaterLinkSymbol)) { + self[assembleMethodSymbol]() + } + } + + /** + * Called every time the element is removed from the DOM. Useful for running clean up code. + * + * @return {void} + * @since 1.7.0 + */ + disconnectedCallback() { + + } + + /** + * The custom element has been moved into a new document (e.g. someone called document.adoptNode(el)). + * + * @return {void} + * @since 1.7.0 + */ + adoptedCallback() { + + } + + /** + * Called when an observed attribute has been added, removed, updated, or replaced. Also called for initial + * values when an element is created by the parser, or upgraded. Note: only attributes listed in the observedAttributes + * property will receive this callback. + * + * @param {string} attrName + * @param {string} oldVal + * @param {string} newVal + * @return {void} + * @since 1.15.0 + */ + attributeChangedCallback(attrName, oldVal, newVal) { + const self = this; + + const callback = self[attributeObserverSymbol]?.[attrName]; + + if (isFunction(callback)) { + callback.call(self, newVal, oldVal); + } + + } + + /** + * + * @param {Node} node + * @return {boolean} + * @throws {TypeError} value is not an instance of + * @since 1.19.0 + */ + hasNode(node) { + const self = this; + + if (containChildNode.call(self, validateInstance(node, Node))) { + return true; + } + + if (!(self.shadowRoot instanceof ShadowRoot)) { + return false; + } + + return containChildNode.call(self.shadowRoot, node); + + } + +} + +/** + * @private + * @param {String|undefined} query + * @param {String|undefined|null} name name of the slot (if the parameter is undefined, all slots are searched, if the parameter has the value null, all slots without a name are searched. if a string is specified, the slots with this name are searched.) + * @return {*} + * @this CustomElement + * @since 1.23.0 + * @throws {Error} query must be a string + */ +function getSlottedElements(query, name) { + const self = this; + const result = new Set; + + if (!(self.shadowRoot instanceof ShadowRoot)) { + return result; + } + + let selector = 'slot'; + if (name !== undefined) { + if (name === null) { + selector += ':not([name])'; + } else { + selector += '[name=' + validateString(name) + ']'; + } + + } + + const slots = self.shadowRoot.querySelectorAll(selector); + + for (const [, slot] of Object.entries(slots)) { + slot.assignedElements().forEach(function (node) { + + if (!(node instanceof HTMLElement)) return; + + if (isString(query)) { + node.querySelectorAll(query).forEach(function (n) { + result.add(n); + }); + + if (node.matches(query)) { + result.add(node); + } + + } else if (query !== undefined) { + throw new Error('query must be a string') + } else { + result.add(node); + } + }) + } + + return result; +} + +/** + * @this CustomElement + * @private + * @param {Node} node + * @return {boolean} + */ +function containChildNode(node) { + const self = this; + + if (self.contains(node)) { + return true; + } + + for (const [, e] of Object.entries(self.childNodes)) { + if (e.contains(node)) { + return true; + } + + containChildNode.call(e, node); + } + + + return false; +} + +/** + * @since 1.15.0 + * @private + * @this CustomElement + */ +function initOptionObserver() { + const self = this; + + let lastDisabledValue = undefined; + self.attachObserver(new Observer(function () { + const flag = self.getOption('disabled'); + + if (flag === lastDisabledValue) { + return; + } + + lastDisabledValue = flag; + + if (!(self.shadowRoot instanceof ShadowRoot)) { + return; + } + + const query = 'button, command, fieldset, keygen, optgroup, option, select, textarea, input, [data-monster-objectlink]'; + const elements = self.shadowRoot.querySelectorAll(query); + + let nodeList; + try { + nodeList = new Set([ + ...elements, + ...getSlottedElements.call(self, query) + ]) + } catch (e) { + nodeList = elements + } + + for (const element of [...nodeList]) { + if (flag === true) { + element.setAttribute(ATTRIBUTE_DISABLED, ''); + } else { + element.removeAttribute(ATTRIBUTE_DISABLED); + } + } + + })); + + self.attachObserver(new Observer(function () { + + // not initialised + if (!hasObjectLink(self, objectUpdaterLinkSymbol)) { + return; + } + // inform every element + const updaters = getLinkedObjects(self, objectUpdaterLinkSymbol); + + for (const list of updaters) { + for (const updater of list) { + let d = clone(self[internalSymbol].getRealSubject()['options']); + Object.assign(updater.getSubject(), d); + } + } + + })); + + // disabled + self[attributeObserverSymbol][ATTRIBUTE_DISABLED] = () => { + if (self.hasAttribute(ATTRIBUTE_DISABLED)) { + self.setOption(ATTRIBUTE_DISABLED, true); + } else { + self.setOption(ATTRIBUTE_DISABLED, undefined); + } + } + + // data-monster-options + self[attributeObserverSymbol][ATTRIBUTE_OPTIONS] = () => { + const options = getOptionsFromAttributes.call(self); + if (isObject(options) && Object.keys(options).length > 0) { + self.setOptions(options); + } + } + + // data-monster-options-selector + self[attributeObserverSymbol][ATTRIBUTE_OPTIONS_SELECTOR] = () => { + const options = getOptionsFromScriptTag.call(self); + if (isObject(options) && Object.keys(options).length > 0) { + self.setOptions(options); + } + } + + +} + +/** + * @private + * @return {object} + * @throws {TypeError} value is not a object + */ +function getOptionsFromScriptTag() { + const self = this; + + if (!self.hasAttribute(ATTRIBUTE_OPTIONS_SELECTOR)) { + return {}; + } + + const node = document.querySelector(self.getAttribute(ATTRIBUTE_OPTIONS_SELECTOR)); + if (!(node instanceof HTMLScriptElement)) { + addAttributeToken(self, ATTRIBUTE_ERRORMESSAGE, 'the selector ' + ATTRIBUTE_OPTIONS_SELECTOR + ' for options was specified (' + self.getAttribute(ATTRIBUTE_OPTIONS_SELECTOR) + ') but not found.'); + return {}; + } + + let obj = {}; + + try { + obj = parseOptionsJSON.call(this, node.textContent.trim()) + } catch (e) { + addAttributeToken(self, ATTRIBUTE_ERRORMESSAGE, 'when analyzing the configuration from the script tag there was an error. ' + e); + } + + return obj; + +} + +/** + * @private + * @return {object} + */ +function getOptionsFromAttributes() { + const self = this; + + if (this.hasAttribute(ATTRIBUTE_OPTIONS)) { + try { + return parseOptionsJSON.call(self, this.getAttribute(ATTRIBUTE_OPTIONS)) + } catch (e) { + addAttributeToken(self, ATTRIBUTE_ERRORMESSAGE, 'the options attribute ' + ATTRIBUTE_OPTIONS + ' does not contain a valid json definition (actual: ' + this.getAttribute(ATTRIBUTE_OPTIONS) + ').' + e); + } + } + + return {}; +} + +/** + * @private + * @param data + * @return {Object} + */ +function parseOptionsJSON(data) { + + const self = this, obj = {}; + + if (!isString(data)) { + return obj; + } + + // the configuration can be specified as a data url. + try { + let dataUrl = parseDataURL(data); + data = dataUrl.content; + } catch (e) { + + } + + try { + let obj = JSON.parse(data); + return validateObject(obj); + } catch (e) { + throw e; + } + + + return obj; +} + +/** + * @private + * @return {initHtmlContent} + */ +function initHtmlContent() { + + try { + let template = findDocumentTemplate(this.constructor.getTag()); + this.appendChild(template.createDocumentFragment()); + } catch (e) { + + let html = this.getOption('templates.main', ''); + if (isString(html) && html.length > 0) { + this.innerHTML = html; + } + + } + + return this; + +} + +/** + * @private + * @return {CustomElement} + * @memberOf Monster.DOM + * @this CustomElement + * @since 1.16.0 + * @throws {TypeError} value is not an instance of + */ +function initCSSStylesheet() { + const self = this; + + if (!(this.shadowRoot instanceof ShadowRoot)) { + return self; + } + + const styleSheet = this.constructor.getCSSStyleSheet(); + + if (styleSheet instanceof CSSStyleSheet) { + if (styleSheet.cssRules.length > 0) { + this.shadowRoot.adoptedStyleSheets = [styleSheet]; + } + } else if (isArray(styleSheet)) { + const assign = []; + for (let s of styleSheet) { + + if (isString(s)) { + let trimedStyleSheet = s.trim() + if (trimedStyleSheet !== '') { + const style = document.createElement('style') + style.innerHTML = trimedStyleSheet; + self.shadowRoot.prepend(style); + } + continue; + } + + validateInstance(s, CSSStyleSheet); + + if (s.cssRules.length > 0) { + assign.push(s); + } + + } + + if (assign.length > 0) { + this.shadowRoot.adoptedStyleSheets = assign; + } + + } else if (isString(styleSheet)) { + + let trimedStyleSheet = styleSheet.trim() + if (trimedStyleSheet !== '') { + const style = document.createElement('style') + style.innerHTML = styleSheet; + self.shadowRoot.prepend(style); + } + + } + + return self; + +} + +/** + * @private + * @return {CustomElement} + * @throws {Error} html is not set. + * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow + * @memberOf Monster.DOM + * @since 1.8.0 + */ +function initShadowRoot() { + + let template, html; + + try { + template = findDocumentTemplate(this.constructor.getTag()); + } catch (e) { + + html = this.getOption('templates.main', ''); + if (!isString(html) || html === undefined || html === "") { + throw new Error("html is not set."); + } + + } + + this.attachShadow({ + mode: this.getOption('shadowMode', 'open'), + delegatesFocus: this.getOption('delegatesFocus', true) + }); + + if (template instanceof Template) { + this.shadowRoot.appendChild(template.createDocumentFragment()); + return this; + } + + this.shadowRoot.innerHTML = html; + return this; +} + +/** + * This method registers a new element. The string returned by `CustomElement.getTag()` is used as the tag. + * + * @param {CustomElement} element + * @return {void} + * @since 1.7.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @throws {DOMException} Failed to execute 'define' on 'CustomElementRegistry': is not a valid custom element name + */ +function registerCustomElement(element) { + validateFunction(element); + getGlobalObject('customElements').define(element.getTag(), element); +} + + +/** + * + * @param element + * @param object + * @return {Promise[]} + * @since 1.23.0 + * @memberOf Monster.DOM + */ +function assignUpdaterToElement(elements, object) { + + const updaters = new Set; + + if (elements instanceof NodeList) { + elements = new Set([ + ...elements + ]) + } + + let result = []; + + elements.forEach((element) => { + if (!(element instanceof HTMLElement)) return; + if ((element instanceof HTMLTemplateElement)) return; + + const u = new Updater(element, object) + updaters.add(u); + + result.push(u.run().then(() => { + return u.enableEventProcessing(); + })); + + }); + + if (updaters.size > 0) { + addToObjectLink(this, objectUpdaterLinkSymbol, updaters); + } + + return result; +} + +assignToNamespace('Monster.DOM', CustomElement, registerCustomElement, assignUpdaterToElement); +export { + Monster, + registerCustomElement, + CustomElement, + initMethodSymbol, + assembleMethodSymbol, + assignUpdaterToElement, + attributeObserverSymbol, + getSlottedElements +} diff --git a/application/source/dom/events.js b/application/source/dom/events.js new file mode 100644 index 0000000000000000000000000000000000000000..4d1ebed5c1600b881d4d0ff496d59ed60a1b088c --- /dev/null +++ b/application/source/dom/events.js @@ -0,0 +1,185 @@ +'use strict'; + + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {isArray,isObject} from "../types/is.js"; +import {validateInstance, validateString} from "../types/validate.js"; +import {getDocument} from "./util.js"; + +/** + * You can call the function via the monster namespace `new Monster.DOM.fireEvent()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.DOM.fireEvent() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/events.js'; + * fireEvent() + * </script> + * ``` + * + * @param {HTMLElement|HTMLCollection|NodeList} element + * @param {string} type + * @return {void} + * @since 1.10.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @throws {TypeError} value is not an instance of HTMLElement or HTMLCollection + * @summary Construct and send and event + */ +function fireEvent(element, type) { + + const document = getDocument(); + + if (element instanceof HTMLElement) { + + if (type === 'click') { + element.click(); + return; + } + + let event = new Event(validateString(type), { + bubbles: true, + cancelable: true, + }); + + element.dispatchEvent(event); + + } else if (element instanceof HTMLCollection || element instanceof NodeList) { + for (let e of element) { + fireEvent(e, type); + } + } else { + throw new TypeError('value is not an instance of HTMLElement or HTMLCollection') + } + +} + +/** + * You can call the function via the monster namespace `new Monster.DOM.fireCustomEvent()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.DOM.fireCustomEvent() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {fireCustomEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/events.js'; + * fireCustomEvent() + * </script> + * ``` + * + * @param {HTMLElement|HTMLCollection|NodeList} element + * @param {string} type + * @return {void} + * @since 1.29.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @throws {TypeError} value is not an instance of HTMLElement or HTMLCollection + * @summary Construct and send and event + */ +function fireCustomEvent(element, type, detail) { + + const document = getDocument(); + + if (element instanceof HTMLElement) { + + if (!isObject(detail)) { + detail = {detail}; + } + + let event = new CustomEvent(validateString(type), { + bubbles: true, + cancelable: true, + detail + }); + + element.dispatchEvent(event); + + } else if (element instanceof HTMLCollection || element instanceof NodeList) { + for (let e of element) { + fireCustomEvent(e, type, detail); + } + } else { + throw new TypeError('value is not an instance of HTMLElement or HTMLCollection') + } + +} + +/** + * This function gets the path `Event.composedPath()` from an event and tries to find the next element + * up the tree `element.closest()` with the attribute and value. If no value, or a value that is undefined or null, + * is specified, only the attribute is searched. + * + * You can call the function via the monster namespace `new Monster.DOM.findTargetElementFromEvent()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.DOM.findTargetElementFromEvent() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/events.js'; + * findTargetElementFromEvent() + * </script> + * ``` + * + * @since 1.14.0 + * @param {Event} event + * @param {string} attributeName + * @param {string|null|undefined} attributeValue + * @throws {Error} unsupported event + * @memberOf Monster.DOM + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not an instance of HTMLElement + * @summary Help function to find the appropriate control + */ +function findTargetElementFromEvent(event, attributeName, attributeValue) { + validateInstance(event, Event); + + if (typeof event.composedPath !== 'function') { + throw new Error('unsupported event'); + } + + const path = event.composedPath(); + + // closest cannot be used here, because closest is not correct for slotted elements + if (isArray(path)) { + for (let i = 0; i < path.length; i++) { + const o = path[i]; + + if (o instanceof HTMLElement && + o.hasAttribute(attributeName) + && (attributeValue === undefined || o.getAttribute(attributeName) === attributeValue)) { + return o; + } + } + } + + return undefined; + +} + + +assignToNamespace('Monster.DOM', findTargetElementFromEvent, fireEvent, fireCustomEvent); +export {Monster, findTargetElementFromEvent, fireEvent, fireCustomEvent} diff --git a/application/source/dom/focusmanager.js b/application/source/dom/focusmanager.js new file mode 100644 index 0000000000000000000000000000000000000000..31d6dbbbd3b6aee62b914b0971fd42b38489f03c --- /dev/null +++ b/application/source/dom/focusmanager.js @@ -0,0 +1,250 @@ +'use strict'; + + +/** + * @author schukai GmbH + */ + + +import {extend} from "../data/extend.js"; +import {assignToNamespace} from "../namespace.js"; +import {BaseWithOptions} from "../types/basewithoptions.js"; +import {getGlobalObject} from "../types/global.js"; +import {isArray} from "../types/is.js"; +import {Stack} from "../types/stack.js"; +import {validateInstance, validateString} from "../types/validate.js"; + +/** + * @private + * @type {string} + */ +const KEY_DOCUMENT = 'document'; + +/** + * @private + * @type {string} + */ +const KEY_CONTEXT = 'context'; + + +/** + * @private + * @type {Symbol} + */ +const stackSymbol = Symbol('stack'); + + +/** + * With the focusmanager the focus can be stored in a document, recalled and moved. + * + * You can create the object via the monster namespace `new Monster.DOM.FocusManager()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.DOM.FocusManager() + * </script> + * ``` + * + * Alternatively, you can also integrate this object individually. + * + * ``` + * <script type="module"> + * import {FocusManager} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/focusmanager.js'; + * new FocusManager() + * </script> + * ``` + * + * @since 1.25.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @throws {Error} unsupported locale + * @summary Handle the focus + */ +class FocusManager extends BaseWithOptions { + + /** + * + * @param {Object|undefined} options + */ + constructor(options) { + super(options); + validateInstance(this.getOption(KEY_DOCUMENT), HTMLDocument); + + this[stackSymbol] = new Stack(); + } + + /** + * @property {HTMLDocument} document the document object into which the node is to be appended + */ + get defaults() { + return extend({}, super.defaults, { + [KEY_DOCUMENT]: getGlobalObject('document'), + [KEY_CONTEXT]: undefined, + }) + } + + /** + * Remembers the current focus on a stack. + * Several focus can be stored. + * + * @return {Monster.DOM.FocusManager} + */ + storeFocus() { + + const active = this.getActive(); + if (active instanceof Node) { + this[stackSymbol].push(active) + } + return this; + } + + /** + * The last focus on the stack is set again + * + * @return {Monster.DOM.FocusManager} + */ + restoreFocus() { + + const last = this[stackSymbol].pop(); + if (last instanceof Node) { + this.focus(last); + } + + return this; + } + + /** + * + * @param {Node} element + * @param {boolean} preventScroll + * @throws {TypeError} value is not an instance of + * @return {Monster.DOM.FocusManager} + */ + focus(element, preventScroll) { + + validateInstance(element, Node) + + element.focus({ + preventScroll: preventScroll ?? false + }) + + return this; + } + + /** + * + * @return {Element} + */ + getActive() { + return this.getOption(KEY_DOCUMENT).activeElement; + } + + /** + * Select all elements that can be focused + * + * @param {string|undefined} query + * @return {array} + * @throws {TypeError} value is not an instance of + */ + getFocusable(query) { + + let contextElement = this.getOption(KEY_CONTEXT); + if (contextElement === undefined) { + contextElement = this.getOption(KEY_DOCUMENT); + } + + validateInstance(contextElement, Node) + + if (query !== undefined) { + validateString(query); + } + + return [...contextElement.querySelectorAll( + 'details, button, input, [tabindex]:not([tabindex="-1"]), select, textarea, a[href], body' + )].filter((element) => { + + if (query !== undefined && !element.matches(query)) { + return false; + } + + if (element.hasAttribute('disabled')) return false; + if (element.getAttribute("aria-hidden") === 'true') return false; + + const rect = element.getBoundingClientRect(); + if(rect.width===0) return false; + if(rect.height===0) return false; + + return true; + }); + } + + /** + * @param {string} query + * @return {Monster.DOM.FocusManager} + */ + focusNext(query) { + + const current = this.getActive(); + const focusable = this.getFocusable(query); + + if (!isArray(focusable) || focusable.length === 0) { + return this; + } + + if (current instanceof Node) { + let index = focusable.indexOf(current); + + if (index > -1) { + this.focus(focusable[index + 1] || focusable[0]); + } else { + this.focus(focusable[0]); + } + } else { + this.focus(focusable[0]) + } + + return this; + } + + /** + * @param {string} query + * @return {Monster.DOM.FocusManager} + */ + focusPrev(query) { + + const current = this.getActive(); + const focusable = this.getFocusable(query); + + if (!isArray(focusable) || focusable.length === 0) { + return this; + } + + if (current instanceof Node) { + let index = focusable.indexOf(current); + + if (index > -1) { + this.focus(focusable[index - 1] || focusable[focusable.length - 1]); + } else { + this.focus(focusable[focusable.length - 1]); + } + } else { + this.focus(focusable[focusable.length - 1]) + } + + return this; + } + + +} + + +assignToNamespace('Monster.DOM', FocusManager); +export {FocusManager} + + + + + + + diff --git a/application/source/dom/locale.js b/application/source/dom/locale.js new file mode 100644 index 0000000000000000000000000000000000000000..3a8cb41b2f15f57c3849cca750a8dfb75a95f066 --- /dev/null +++ b/application/source/dom/locale.js @@ -0,0 +1,66 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {parseLocale} from "../i18n/locale.js"; +import {assignToNamespace, Monster} from '../namespace.js'; +import {getDocument} from "./util.js"; + +/** + * @private + * @type {string} + */ +const DEFAULT_LANGUAGE = 'en'; + +/** + * With this function you can read the language version set by the document. + * For this the attribute `lang` in the html tag is read. If no attribute is set, `en` is used as default. + * + * ```html + * <html lang="en"> + * ``` + * + * You can call the function via the monster namespace `new Monster.DOM.getLocaleOfDocument()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.DOM.getLocaleOfDocument() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/locale.js'; + * new getLocaleOfDocument() + * </script> + * ``` + * + * @since 1.13.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @throws {TypeError} value is not a string + * @throws {Error} unsupported locale + * @summary Tries to determine the locale used + */ +function getLocaleOfDocument() { + + const document = getDocument(); + + let html = document.querySelector('html') + if (html instanceof HTMLElement && html.hasAttribute('lang')) { + let locale = html.getAttribute('lang'); + if (locale) { + return new parseLocale(locale) + } + } + + return parseLocale(DEFAULT_LANGUAGE); +} + +assignToNamespace('Monster.DOM', getLocaleOfDocument); +export {Monster, getLocaleOfDocument} diff --git a/application/source/dom/namespace.js b/application/source/dom/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..753607f8d8e93b8b198eb7b4481f25f72b783f09 --- /dev/null +++ b/application/source/dom/namespace.js @@ -0,0 +1,15 @@ +'use strict'; + +/** + * In this namespace you will find classes and methods for handling the DOM. + * + * @namespace Monster.DOM + * @memberOf Monster + * @author schukai GmbH + */ + +/** + * @private + * @type {string} + */ +export const namespace = "Monster.DOM"; \ No newline at end of file diff --git a/application/source/dom/ready.js b/application/source/dom/ready.js new file mode 100644 index 0000000000000000000000000000000000000000..9fd6fea370f409d56542ba171ea03991945b1031 --- /dev/null +++ b/application/source/dom/ready.js @@ -0,0 +1,81 @@ +'use strict'; + + +/** + * @author schukai GmbH + */ + + +import {Monster} from '../namespace.js'; +import {getDocument, getWindow} from "./util.js"; + +/** + * This variable is a promise that is fulfilled as soon as the dom is available. + * + * The DOMContentLoaded event is fired when the original HTML document is fully loaded and parsed + * without waiting for stylesheets, images, and subframes to finish loading. + * + * ``` + * <script type="module"> + * import {domReady} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/ready.js'; + * domReady().then(()=>{ + * // ... + * }) + * </script> + * ``` + * + * @since 1.31.0 + * @memberOf Monster.DOM + * @summary variable to check if dom is ready + * @type {Promise} + * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/DOMContentLoaded_event + * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState + */ +const domReady = new Promise(resolve => { + + const document = getDocument(); + + if (document.readyState === "loading") { + document.addEventListener('DOMContentLoaded', resolve); + } else { + resolve(); + } +}); + + +/** + * This variable is a promise that is fulfilled as soon as the windows is available. + * + * The load event fires when the entire page is loaded, including all dependent resources such as stylesheets, + * assets, and images. Unlike DOMContentLoaded, which fires as soon as the DOM of the page is loaded, + * without waiting for the resources to finish loading. + * + * ``` + * <script type="module"> + * import {windowReady} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/ready.js'; + * windowReady().then(()=>{ + * // ... + * }) + * </script> + * ``` + * + * @since 1.31.0 + * @memberOf Monster.DOM + * @summary variable to check if window is ready + * @type {Promise} + * @see https://developer.mozilla.org/en-US/docs/Web/API/Window/load_event + * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState + */ +const windowReady = new Promise(resolve => { + + const document = getDocument(); + const window = getWindow(); + + if (document.readyState === 'complete') { + resolve(); + } else { + window.addEventListener('load', resolve); + } +}); + +export {Monster, windowReady, domReady} diff --git a/application/source/dom/resource.js b/application/source/dom/resource.js new file mode 100644 index 0000000000000000000000000000000000000000..4558f76d6eb22702e9e748b02b527bb8c1f77b16 --- /dev/null +++ b/application/source/dom/resource.js @@ -0,0 +1,268 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {internalStateSymbol, internalSymbol,} from "../constants.js"; +import {extend} from "../data/extend.js"; +import {assignToNamespace, Monster} from "../namespace.js"; +import {BaseWithOptions} from "../types/basewithoptions.js"; +import {getGlobalObject} from "../types/global.js"; +import {ID} from "../types/id.js"; +import {isString} from "../types/is.js"; +import {Observer} from "../types/observer.js"; +import {ProxyObserver} from "../types/proxyobserver.js"; +import {ATTRIBUTE_CLASS, ATTRIBUTE_ID, ATTRIBUTE_TITLE} from "./constants.js"; + + +/** + * @private + * @type {string} + */ +export const KEY_DOCUMENT = 'document'; + +/** + * @private + * @type {string} + */ +export const KEY_QUERY = 'query'; + +/** + * @private + * @type {string} + */ +export const KEY_TIMEOUT = 'timeout'; + +/** + * @private + * @type {symbol} + */ +export const referenceSymbol = Symbol('reference'); + +/** + * This class is the base class for all resources to be loaded. + * + * You can call the method via the monster namespace `new Monster.DOM.Resource()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.DOM.Resource() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Resource} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/resource.js'; + * new Resource() + * </script> + * ``` + * + * @since 1.25.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @summary A Resource class + */ +class Resource extends BaseWithOptions { + + /** + * + * @param {Object|undefined} options + */ + constructor(options) { + super(options); + + let uri = this.getOption(this.constructor.getURLAttribute()); + + if (uri === undefined) { + throw new Error('missing source') + } else if (uri instanceof URL) { + uri = uri.toString(); + } else if (!isString(uri)) { + throw new Error('unsupported url type') + } + + this[internalSymbol][this.constructor.getURLAttribute()] = uri; + this[internalStateSymbol] = new ProxyObserver({ + loaded: false, + error: undefined, + }) + + this[referenceSymbol] = undefined; + + } + + /** + * @return {boolean} + */ + isConnected() { + + if (this[referenceSymbol] instanceof HTMLElement) { + return this[referenceSymbol].isConnected; + } + + return false; + } + + /** + * This method is overridden by the special classes and creates the DOM object. + * This method is also called implicitly, if not yet done explicitly, by calling `connect()`. + * + * @throws {Error} this method must be implemented by derived classes + * @return {Monster.DOM.Resource} + */ + create() { + throw new Error("this method must be implemented by derived classes"); + } + + /** + * This method appends the HTMLElement to the specified document. + * If the element has not yet been created, `create()` is called implicitly. + * + * throws {Error} target not found + * @return {Monster.DOM.Resource} + */ + connect() { + + if (!(this[referenceSymbol] instanceof HTMLElement)) { + this.create(); + } + + appendToDocument.call(this); + return this; + } + + /** + * @property {Document} document the document object into which the node is to be appended + * @property {string} src/href url to the corresponding resource + * @property {string} query defines the location where the resource is to be hooked into the dom. + * @property {string} id element attribute id + * @property {string} title element attribute title + * @property {string} class element attribute class + * @property {int} timeout timeout + */ + get defaults() { + return extend({}, super.defaults, { + [this.constructor.getURLAttribute()]: undefined, + [KEY_DOCUMENT]: getGlobalObject('document'), + [KEY_QUERY]: 'head', + [KEY_TIMEOUT]: 10000, + [ATTRIBUTE_ID]: (new ID('resource')).toString(), + [ATTRIBUTE_CLASS]: undefined, + [ATTRIBUTE_TITLE]: undefined + }) + } + + /** + * With `available()` you can check if a resource is available. + * This is the case when the tag is included and the resource is loaded. + * + * @return {Promise} + */ + available() { + const self = this; + if (!(self[referenceSymbol] instanceof HTMLElement)) { + return Promise.reject('no element') + } + + if (!self.isConnected()) { + return Promise.reject('element not connected') + } + + if (self[internalStateSymbol].getSubject()['loaded'] === true) { + + if (self[internalStateSymbol].getSubject()['error'] !== undefined) { + return Promise.reject(self[internalStateSymbol].getSubject()['error']); + } + + return Promise.resolve(); + + } + + return new Promise(function (resolve, reject) { + + const timeout = setTimeout(() => { + reject('timeout'); + }, self.getOption('timeout')) + + const observer = new Observer(() => { + clearTimeout(timeout); + self[internalStateSymbol].detachObserver(observer); + resolve(); + }) + + self[internalStateSymbol].attachObserver(observer); + + }); + + }; + + /** + * @return {string} + */ + static getURLAttribute() { + throw new Error("this method must be implemented by derived classes"); + } + +} + + +/** + * @private + * @return {Promise} + * throws {Error} target not found + */ +function appendToDocument() { + const self = this; + + const targetNode = document.querySelector(self.getOption(KEY_QUERY, 'head')) + if (!(targetNode instanceof HTMLElement)) { + throw new Error('target not found') + } + + addEvents.call(self); + targetNode.appendChild(self[referenceSymbol]); + + return self; +} + +/** + * @private + * @return {addEvents} + */ +function addEvents() { + const self = this; + + const onError = () => { + + self[referenceSymbol].removeEventListener('error', onError); + self[referenceSymbol].removeEventListener('load', onLoad); + + self[internalStateSymbol].setSubject({ + loaded: true, + error: self[referenceSymbol][self.constructor.getURLAttribute()] + ' is not available', + }) + + return; + } + + const onLoad = () => { + self[referenceSymbol].removeEventListener('error', onError); + self[referenceSymbol].removeEventListener('load', onLoad); + self[internalStateSymbol].getSubject()['loaded'] = true; + return; + } + + self[referenceSymbol].addEventListener('load', onLoad, false); + self[referenceSymbol].addEventListener('error', onError, false); + + return self; + +} + + +assignToNamespace('Monster.DOM', Resource); +export {Monster, Resource} diff --git a/application/source/dom/resource/data.js b/application/source/dom/resource/data.js new file mode 100644 index 0000000000000000000000000000000000000000..1a0de992962cabbc8cb0afe4654126c21b8b5ea3 --- /dev/null +++ b/application/source/dom/resource/data.js @@ -0,0 +1,170 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {internalStateSymbol} from "../../constants.js"; +import {extend} from "../../data/extend.js"; +import {assignToNamespace, Monster} from "../../namespace.js"; +import {getGlobalFunction} from "../../types/global.js"; +import { + ATTRIBUTE_CLASS, + ATTRIBUTE_ERRORMESSAGE, + ATTRIBUTE_ID, + ATTRIBUTE_SRC, + ATTRIBUTE_TITLE, + ATTRIBUTE_TYPE, + TAG_SCRIPT +} from "../constants.js"; +import {KEY_DOCUMENT, KEY_QUERY, referenceSymbol, Resource} from "../resource.js"; + + +/** + * This class is used by the resource manager to embed data. + * + * You can call the method via the monster namespace `new Monster.DOM.Resource.Data()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.DOM.Resource.Data() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Data} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/resource/data.js'; + * new Data() + * </script> + * ``` + * + * @since 1.25.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM.Resource + * @summary A Data Resource class + */ +class Data extends Resource { + + /** + * @property {string} mode=cors https://developer.mozilla.org/en-US/docs/Web/API/fetch + * @property {string} credentials=same-origin https://developer.mozilla.org/en-US/docs/Web/API/fetch + * @property {string} type=application/json {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-type} + */ + get defaults() { + return extend({}, super.defaults, { + mode: 'cors', + credentials: 'same-origin', + type: 'application/json', + }) + } + + /** + * + * @return {Monster.DOM.Resource.Data} + */ + create() { + createElement.call(this); + return this; + } + + /** + * This method appends the HTMLElement to the specified document + * + * throws {Error} target not found + * @return {Monster.DOM.Resource} + */ + connect() { + + if (!(this[referenceSymbol] instanceof HTMLElement)) { + this.create(); + } + + appendToDocument.call(this); + return this; + } + + /** + * @return {string} + */ + static getURLAttribute() { + return ATTRIBUTE_SRC + } + +} + +/** + * @private + * @return {Monster.DOM.Resource.Data} + */ +function createElement() { + const self = this; + + const document = self.getOption(KEY_DOCUMENT); + self[referenceSymbol] = document.createElement(TAG_SCRIPT); + + for (let key of [ATTRIBUTE_TYPE, ATTRIBUTE_ID, ATTRIBUTE_CLASS, ATTRIBUTE_TITLE]) { + if (self.getOption(key) !== undefined) { + self[referenceSymbol][key] = self.getOption(key); + } + } + + return self; +} + + +/** + * @private + * @return {Promise} + * throws {Error} target not found + */ +function appendToDocument() { + const self = this; + + const targetNode = document.querySelector(self.getOption(KEY_QUERY, 'head')) + if (!(targetNode instanceof HTMLElement)) { + throw new Error('target not found') + } + + targetNode.appendChild(self[referenceSymbol]); + + getGlobalFunction('fetch')(self.getOption(ATTRIBUTE_SRC), { + method: 'GET', // *GET, POST, PUT, DELETE, etc. + mode: self.getOption('mode', 'cors'), // no-cors, *cors, same-origin + cache: 'no-cache', // *default, no-cache, reload, force-cache, only-if-cached + credentials: self.getOption('credentials', 'same-origin'), // include, *same-origin, omit + headers: { + 'Accept': self.getOption('type', 'application/json') + }, + redirect: 'follow', // manual, *follow, error + referrerPolicy: 'no-referrer', // no-referrer, + }).then(response => { + + return response.text() + + + }).then(text => { + + const textNode = document.createTextNode(text); + self[referenceSymbol].appendChild(textNode); + + self[internalStateSymbol].getSubject()['loaded'] = true; + + + }).catch(e => { + self[internalStateSymbol].setSubject({ + loaded: true, + error: e.toString(), + }) + + targetNode.setAttribute(ATTRIBUTE_ERRORMESSAGE, e.toString()); + }) + + return self; +} + + +assignToNamespace('Monster.DOM.Resource', Data); +export {Monster, Data} diff --git a/application/source/dom/resource/link.js b/application/source/dom/resource/link.js new file mode 100644 index 0000000000000000000000000000000000000000..354a675bbbe4242db6bb6124481c8b3a55f05a9c --- /dev/null +++ b/application/source/dom/resource/link.js @@ -0,0 +1,125 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {extend} from "../../data/extend.js"; +import {assignToNamespace, Monster} from "../../namespace.js"; +import { + ATTRIBUTE_CLASS, + ATTRIBUTE_HREF, + ATTRIBUTE_ID, + ATTRIBUTE_NONCE, ATTRIBUTE_SRC, + ATTRIBUTE_TITLE, ATTRIBUTE_TYPE, + TAG_LINK +} from "../constants.js"; +import {KEY_DOCUMENT, referenceSymbol, Resource} from "../resource.js"; + + +/** + * This class is used by the resource manager to embed external resources. + * + * You can call the method via the monster namespace `new Monster.DOM.Resource.Link()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.DOM.Resource.Link() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Link} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/resource/link.js'; + * new Link() + * </script> + * ``` + * + * @since 1.25.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM.Resource + * @summary A Resource class + * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link + */ +class Link extends Resource { + + /** + * @property {string} as {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-as} + * @property {string} crossOrigin=anonymous {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-crossorigin} + * @property {boolean} disabled + * @property {string} href {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-href} + * @property {string} hreflang {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-hreflang} + * @property {string} imagesizes {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-imagesizes} + * @property {string} imagesrcset {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-imagesrcset} + * @property {string} integrity {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-integrity} + * @property {string} media {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-media} + * @property {string} prefetch {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-prefetch} + * @property {string} referrerpolicy {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-referrerpolicy} + * @property {string} rel {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel} + * @property {string} type {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-type} + * @property {string} sizes {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-sizes} + * @property {string} nonce {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-nonce} + */ + get defaults() { + return extend({}, super.defaults, { + as: undefined, + crossOrigin: 'anonymous', + disabled: undefined, + href: undefined, + hreflang: undefined, + imagesizes: undefined, + imagesrcset: undefined, + integrity: undefined, + media: undefined, + prefetch: undefined, + referrerpolicy: undefined, + rel: undefined, + sizes: undefined, + type: undefined, + nonce: undefined + }) + } + + /** + * + * @return {Monster.DOM.Resource.Link} + */ + create() { + createElement.call(this); + return this; + } + + /** + * @return {string} + */ + static getURLAttribute() { + return ATTRIBUTE_HREF + } + +} + +/** + * @private + * @return {Monster.DOM.Resource.Link} + */ +function createElement() { + const self = this; + + const document = self.getOption(KEY_DOCUMENT); + self[referenceSymbol] = document.createElement(TAG_LINK); + + for (let key of ['as','crossOrigin','disabled','href','hreflang','imagesizes','imagesrcset','integrity','media','prefetch','referrerpolicy','sizes','rel','type',ATTRIBUTE_HREF,ATTRIBUTE_ID,ATTRIBUTE_CLASS,ATTRIBUTE_TITLE,ATTRIBUTE_NONCE]) { + if (self.getOption(key) !== undefined) { + self[referenceSymbol][key] = self.getOption(key); + } + } + + return self; +} + + +assignToNamespace('Monster.DOM.Resource', Link); +export {Monster, Link} diff --git a/application/source/dom/resource/link/stylesheet.js b/application/source/dom/resource/link/stylesheet.js new file mode 100644 index 0000000000000000000000000000000000000000..9615fa5357c038191dd6f4b18ae6064ed78c8f2c --- /dev/null +++ b/application/source/dom/resource/link/stylesheet.js @@ -0,0 +1,54 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {extend} from "../../../data/extend.js"; +import {assignToNamespace, Monster} from "../../../namespace.js"; +import {Link} from "../link.js"; + + +/** + * This class is used by the resource manager to embed external resources. + * + * You can call the method via the monster namespace `new Monster.DOM.Resource.Link.Stylesheet()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.DOM.Resource.Link.Stylesheet() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Style} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/resource/link/stylesheet.js'; + * new Stylesheet() + * </script> + * ``` + * + * @since 1.25.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM.Resource + * @summary A Resource class + * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link + */ +class Stylesheet extends Link { + + /** + * @property {string} rel {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel} + */ + get defaults() { + return extend({}, super.defaults, { + rel: 'stylesheet' + }) + } + +} + + +assignToNamespace('Monster.DOM.Resource.Link', Stylesheet); +export {Monster, Stylesheet} diff --git a/application/source/dom/resource/script.js b/application/source/dom/resource/script.js new file mode 100644 index 0000000000000000000000000000000000000000..544426cb25db9458c76a7715f51ecabfca5e5174 --- /dev/null +++ b/application/source/dom/resource/script.js @@ -0,0 +1,112 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {extend} from "../../data/extend.js"; +import {assignToNamespace, Monster} from "../../namespace.js"; +import { + ATTRIBUTE_CLASS, + ATTRIBUTE_ID, + ATTRIBUTE_NONCE, + ATTRIBUTE_SRC, + ATTRIBUTE_TITLE, + ATTRIBUTE_TYPE, + TAG_SCRIPT +} from "../constants.js"; +import {KEY_DOCUMENT, referenceSymbol, Resource} from "../resource.js"; + + +/** + * This class is used by the resource manager to embed scripts. + * + * You can call the method via the monster namespace `new Monster.DOM.Resource.Script()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.DOM.Resource.Script() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Script} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/resource/script.js'; + * new Script() + * </script> + * ``` + * + * @since 1.25.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM.Resource + * @summary A Resource class + */ +class Script extends Resource { + + /** + * @property {boolean} async=true {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-async} + * @property {string} crossOrigin=anonymous {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-crossorigin} + * @property {boolean} defer=false {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-defer} + * @property {string} integrity {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-integrity} + * @property {boolean} nomodule {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-nomodule} + * @property {string} nonce {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-nonce} + * @property {string} referrerpolicy {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-referrerpolicy} + * @property {string} type {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-type} + */ + get defaults() { + return extend({}, super.defaults, { + async: true, + crossOrigin: 'anonymous', + defer: false, + integrity: undefined, + nomodule: false, + nonce: undefined, + referrerpolicy: undefined, + type: 'text/javascript', + }) + } + + /** + * + * @return {Monster.DOM.Resource.Script} + */ + create() { + createElement.call(this); + return this; + } + + /** + * @return {string} + */ + static getURLAttribute() { + return ATTRIBUTE_SRC + } + +} + +/** + * @private + * @return {Monster.DOM.Resource.Script} + */ +function createElement() { + const self = this; + + const document = self.getOption(KEY_DOCUMENT); + self[referenceSymbol] = document.createElement(TAG_SCRIPT); + + for (let key of ['crossOrigin', 'defer', 'async', 'integrity', 'nomodule', ATTRIBUTE_NONCE, 'referrerpolicy', ATTRIBUTE_TYPE, ATTRIBUTE_SRC, ATTRIBUTE_ID, ATTRIBUTE_CLASS, ATTRIBUTE_TITLE]) { + if (self.getOption(key) !== undefined) { + self[referenceSymbol][key] = self.getOption(key); + } + } + + + return self; +} + + +assignToNamespace('Monster.DOM.Resource', Script); +export {Monster, Script} diff --git a/application/source/dom/resourcemanager.js b/application/source/dom/resourcemanager.js new file mode 100644 index 0000000000000000000000000000000000000000..d90bc3775cda8e478185adfbfc3ee30472f1a2d4 --- /dev/null +++ b/application/source/dom/resourcemanager.js @@ -0,0 +1,214 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {extend} from "../data/extend.js"; +import {assignToNamespace, Monster} from "../namespace.js"; +import {BaseWithOptions} from "../types/basewithoptions.js"; +import {getGlobalObject} from "../types/global.js"; +import {isArray} from "../types/is.js"; +import {ATTRIBUTE_HREF, ATTRIBUTE_SRC} from "./constants.js"; +import {Resource} from "./resource.js"; +import {Data} from "./resource/data.js"; +import {Stylesheet} from "./resource/link/stylesheet.js"; +import {Script} from "./resource/script.js"; + + +/** + * You can call the method via the monster namespace `new Monster.DOM.ResourceManager()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.DOM.ResourceManager() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Resource} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/resourcemanager.js'; + * new ResourceManager() + * </script> + * ``` + * + * @since 1.25.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @summary A Resource class + */ +class ResourceManager extends BaseWithOptions { + + /** + * + * @param {Object} options + * throw {Error} unsupported document type + */ + constructor(options) { + super(options); + + if (!(this.getOption('document') instanceof Document)) { + throw new Error('unsupported document type') + } + + + } + + /** + * @property {string} baseurl + */ + getBaseURL() { + this.getOption('document')?.baseURL; + } + + /** + * + * @property {HTMLDocument} document=document Document + * @property {Object} resources + * @property {Array} resources.scripts=[] array with {@link Monster.DOM.Resource.Script} objects + * @property {Array} resources.stylesheets=[] array with {@link Monster.DOM.Resource.Link.Stylesheet} objects + * @property {Array} resources.data=[] array with {@link Monster.DOM.Resource.Data} objects + */ + get defaults() { + return Object.assign({}, super.defaults, { + document: getGlobalObject('document'), + resources: { + scripts: [], + stylesheets: [], + data: [] + } + }) + } + + /** + * Append Tags to DOM + * + * @return {Monster.DOM.ResourceManager} + * @throws {Error} unsupported resource definition + */ + connect() { + runResourceMethod.call(this, 'connect'); + return this; + } + + /** + * Check if available + * + * @return {Promise} + * @throws {Error} unsupported resource definition + */ + available() { + return Promise.all(runResourceMethod.call(this, 'available')); + } + + /** + * Add a script + * + * @param {string|URL} url + * @param [Object|undefined} options + * @return {Monster.DOM.ResourceManager} + * @see Monster.DOM.Resource.Script + */ + addScript(url, options) { + return addResource.call(this, 'scripts', url, options); + } + + + /** + * Add Stylesheet + * + * @param {string|URL} url + * @param [Object|undefined} options + * @return {Monster.DOM.ResourceManager} + * @see Monster.DOM.Resource.Link.Stylesheet + */ + addStylesheet(url, options) { + return addResource.call(this, 'stylesheets', url, options); + } + + /** + * Add Data Tag + * + * @param {string|URL} url + * @param [Object|undefined} options + * @return {Monster.DOM.ResourceManager} + * @see Monster.DOM.Resource.Data + */ + addData(url, options) { + return addResource.call(this, 'data', url, options); + } + + +} + +/** + * @private + * @param {string} method + * @return {Array} + */ +function runResourceMethod(method) { + const self = this; + + const result = []; + + for (const type of ['scripts', 'stylesheets', 'data']) { + const resources = self.getOption('resources.' + type); + if (!isArray(resources)) { + continue; + } + + for (const resource of resources) { + if (!(resource instanceof Resource)) { + throw new Error('unsupported resource definition') + } + + result.push(resource[method]()); + } + + } + + return result; +} + +/** + * + * @param {string} type + * @param {string|URL} url + * @param [Object|undefined} options + * @return {Monster.DOM.ResourceManager} + * @private + */ +function addResource(type, url, options) { + const self = this; + + if (url instanceof URL) { + url = url.toString(); + } + + options = options || {} + + let resource; + switch (type) { + case 'scripts': + resource = new Script(extend({}, options, {[ATTRIBUTE_SRC]: url})) + break; + case 'stylesheets': + resource = new Stylesheet(extend({}, options, {[ATTRIBUTE_HREF]: url})) + break; + case 'data': + resource = new Data(extend({}, options, {[ATTRIBUTE_SRC]: url})) + break; + default: + throw new Error('unsupported type ' + type) + } + + (self.getOption('resources')?.[type]).push(resource); + return self; +} + + +assignToNamespace('Monster.DOM', ResourceManager); +export {Monster, ResourceManager} diff --git a/application/source/dom/template.js b/application/source/dom/template.js new file mode 100644 index 0000000000000000000000000000000000000000..e5b54b60de157b86a06d95cc8addbf53aadf0967 --- /dev/null +++ b/application/source/dom/template.js @@ -0,0 +1,226 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from '../types/base.js'; +import {getGlobalFunction, getGlobalObject} from '../types/global.js'; +import {validateInstance, validateString} from "../types/validate.js"; +import {ATTRIBUTE_TEMPLATE_PREFIX} from "./constants.js"; +import {getDocumentTheme} from "./theme.js"; + +/** + * you can call the method via the monster namespace `new Monster.DOM.Template()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.DOM.Template() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/template.js'; + * new Template() + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @summary A template class + */ +class Template extends Base { + /** + * + * @param {HTMLTemplateElement} template + * @throws {TypeError} value is not an instance of + * @throws {TypeError} value is not a function + * @throws {Error} the function is not defined + */ + constructor(template) { + super(); + const HTMLTemplateElement = getGlobalFunction('HTMLTemplateElement'); + validateInstance(template, HTMLTemplateElement); + this.template = template; + } + + /** + * + * @returns {HTMLTemplateElement} + */ + getTemplateElement() { + return this.template; + } + + /** + * + * @return {DocumentFragment} + * @throws {TypeError} value is not an instance of + */ + createDocumentFragment() { + return this.template.content.cloneNode(true); + } + +} + +/** + * This method loads a template with the given ID and returns it. + * + * To do this, it first reads the theme of the document and looks for the `data-monster-theme-name` attribute in the HTML tag. + * + * ``` + * <html data-monster-theme-name="my-theme"> + * ``` + * + * If no theme was specified, the default theme is `monster`. + * + * Now it is looked if there is a template with the given ID and theme `id-theme` and if yes it is returned. + * If there is no template a search for a template with the given ID `id` is done. If this is also not found, an error is thrown. + * + * You can call the method via the monster namespace `Monster.DOM.findDocumentTemplate()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.DOM.findDocumentTemplate() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/template.js'; + * findDocumentTemplate() + * </script> + * ``` + * + * @example + * + * import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/template.js"; + * + * const template = document.createElement("template"); + * template.id = "myTemplate"; + * template.innerHTML = "<p>my default template</p>"; + * document.body.appendChild(template); + * + * const themedTemplate = document.createElement("template"); + * themedTemplate.id = "myTemplate-myTheme"; + * themedTemplate.innerHTML = "<p>my themed template</p>"; + * document.body.appendChild(themedTemplate); + * + * // loads the temple and since no theme is set the default template + * const template1 = findDocumentTemplate("myTemplate"); + * console.log(template1.createDocumentFragment()); + * // ↦ '<p>my default template</p>' + * + * // now we set our own theme + * document + * .querySelector("html") + * .setAttribute("data-monster-theme-name", "myTheme"); + * + * // now we don't get the default template, + * // but the template with the theme in the id + * const template2 = findDocumentTemplate("myTemplate"); + * console.log(template2.createDocumentFragment()); + * // ↦ '<p>my themed template</p>' + * + * @param {string} id + * @param {Node} currentNode + * @return {Monster.DOM.Template} + * @since 1.7.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @throws {Error} template id not found. + * @throws {TypeError} value is not a string + */ +function findDocumentTemplate(id, currentNode) { + validateString(id); + + const document = getGlobalObject('document'); + const HTMLTemplateElement = getGlobalFunction('HTMLTemplateElement'); + const DocumentFragment = getGlobalFunction('DocumentFragment'); + const Document = getGlobalFunction('Document'); + + + let prefixID; + + if (!(currentNode instanceof Document || currentNode instanceof DocumentFragment)) { + + if (currentNode instanceof Node) { + + if (currentNode.hasAttribute(ATTRIBUTE_TEMPLATE_PREFIX)) { + prefixID = currentNode.getAttribute(ATTRIBUTE_TEMPLATE_PREFIX) + } + + currentNode = currentNode.getRootNode(); + + if (!(currentNode instanceof Document || currentNode instanceof DocumentFragment)) { + currentNode = currentNode.ownerDocument; + } + + } + + if (!(currentNode instanceof Document || currentNode instanceof DocumentFragment)) { + currentNode = document; + } + } + + let template; + let theme = getDocumentTheme() + + if (prefixID) { + let themedPrefixID = prefixID + '-' + id + '-' + theme.getName(); + + // current + themedPrefixID + template = currentNode.getElementById(themedPrefixID); + if (template instanceof HTMLTemplateElement) { + return new Template(template); + } + + // document + themedPrefixID + template = document.getElementById(themedPrefixID); + if (template instanceof HTMLTemplateElement) { + return new Template(template); + } + } + + let themedID = id + '-' + theme.getName(); + + // current + themedID + template = currentNode.getElementById(themedID); + if (template instanceof HTMLTemplateElement) { + return new Template(template); + } + + // document + themedID + template = document.getElementById(themedID); + if (template instanceof HTMLTemplateElement) { + return new Template(template); + } + + // current + ID + template = currentNode.getElementById(id); + if (template instanceof HTMLTemplateElement) { + return new Template(template); + } + + // document + ID + template = document.getElementById(id); + if (template instanceof HTMLTemplateElement) { + return new Template(template); + } + + throw new Error("template " + id + " not found.") +} + + +assignToNamespace('Monster.DOM', Template, findDocumentTemplate); +export {Monster, Template, findDocumentTemplate} + + diff --git a/application/source/dom/theme.js b/application/source/dom/theme.js new file mode 100644 index 0000000000000000000000000000000000000000..677ac4b6ab3fbf96ef1338f9b99a600750744762 --- /dev/null +++ b/application/source/dom/theme.js @@ -0,0 +1,101 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from '../types/base.js'; +import {getGlobalObject} from '../types/global.js'; +import {validateString} from "../types/validate.js"; +import {ATTRIBUTE_THEME_NAME, DEFAULT_THEME} from "./constants.js"; + + +/** + * You can call the method via the monster namespace `new Monster.DOM.Theme()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(new Monster.DOM.Theme()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/theme.js'; + * console.log(new Theme()) + * </script> + * ``` + * + * @example + * + * import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/theme.js'; + * + * const theme = getDocumentTheme(); + * console.log(theme.getName()); + * // ↦ monster + * + * @since 1.7.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @summary A theme class + */ +class Theme extends Base { + + /** + * + * @param name + * @throws {TypeError} value is not a string + */ + constructor(name) { + super(); + validateString(name); + this.name = name; + } + + /** + * + * @returns {string} + */ + getName() { + return this.name; + } + +} + +/** + * The theming used in the document can be defined via the html-tag. + * The theming is specified via the attribute `data-monster-theme-name`. + * + * As name for a theme all characters are valid, which are also allowed for a HTMLElement-ID. + * + * ``` + * <html data-monster-theme-name="my-theme"> + * ``` + * + * the default theme name is `monster`. + * + * @return {Theme} + * @memberOf Monster.DOM + * @since 1.7.0 + */ +function getDocumentTheme() { + let document = getGlobalObject('document'); + let name = DEFAULT_THEME; + + let element = document.querySelector('html'); + if (element instanceof HTMLElement) { + let theme = element.getAttribute(ATTRIBUTE_THEME_NAME); + if (theme) { + name = theme; + } + } + + return new Theme(name); + +} + +assignToNamespace('Monster.DOM', Theme, getDocumentTheme); +export {Monster, Theme, getDocumentTheme} diff --git a/application/source/dom/updater.js b/application/source/dom/updater.js new file mode 100644 index 0000000000000000000000000000000000000000..93b19ecf068452f5a49af1ad41d2b045681639dd --- /dev/null +++ b/application/source/dom/updater.js @@ -0,0 +1,905 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {internalSymbol} from "../constants.js"; +import {diff} from "../data/diff.js"; +import {Pathfinder} from "../data/pathfinder.js"; +import {Pipe} from "../data/pipe.js"; +import { + ATTRIBUTE_ERRORMESSAGE, + ATTRIBUTE_UPDATER_ATTRIBUTES, + ATTRIBUTE_UPDATER_BIND, + ATTRIBUTE_UPDATER_INSERT, + ATTRIBUTE_UPDATER_INSERT_REFERENCE, + ATTRIBUTE_UPDATER_REMOVE, + ATTRIBUTE_UPDATER_REPLACE, + ATTRIBUTE_UPDATER_SELECT_THIS +} from "../dom/constants.js"; +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from "../types/base.js"; +import {isArray, isInstance, isIterable} from "../types/is.js"; +import {Observer} from "../types/observer.js"; +import {ProxyObserver} from "../types/proxyobserver.js"; +import {validateArray, validateInstance} from "../types/validate.js"; +import {clone} from "../util/clone.js"; +import {trimSpaces} from "../util/trimspaces.js"; +import {findTargetElementFromEvent} from "./events.js"; +import {findDocumentTemplate} from "./template.js"; +import {getDocument} from "./util.js"; + + +/** + * The updater class connects an object with the dom. In this way, structures and contents in the DOM can be programmatically adapted via attributes. + * + * For example, to include a string from an object, the attribute `data-monster-replace` can be used. + * a further explanation can be found under {@tutorial dom-based-templating-implementation}. + * + * Changes to attributes are made only when the direct values are changed. If you want to assign changes to other values + * as well, you have to insert the attribute `data-monster-select-this`. This should be done with care, as it can reduce performance. + * + * You can create an object of this class using the monster namespace `new Monster.DOM.Updater()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.DOM.Updater() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/updater.js'; + * new Updater() + * </script> + * ``` + * + * @example + * + * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/updater.js'; + * + * // First we prepare the html document. + * // This is done here via script, but can also be inserted into the document as pure html. + * // To do this, simply insert the tag <h1 data-monster-replace="path:headline"></h1>. + * const body = document.querySelector('body'); + * const headline = document.createElement('h1'); + * headline.setAttribute('data-monster-replace','path:headline') + * body.appendChild(headline); + * + * // the data structure + * let obj = { + * headline: "Hello World", + * }; + * + * // Now comes the real magic. we pass the updater the parent HTMLElement + * // and the desired data structure. + * const updater = new Updater(body, obj); + * updater.run(); + * + * // Now you can change the data structure and the HTML will follow these changes. + * const subject = updater.getSubject(); + * subject['headline'] = "Hello World!" + * + * @since 1.8.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @throws {Error} the value is not iterable + * @throws {Error} pipes are not allowed when cloning a node. + * @throws {Error} no template was found with the specified key. + * @throws {Error} the maximum depth for the recursion is reached. + * @throws {TypeError} value is not a object + * @throws {TypeError} value is not an instance of HTMLElement + * @summary The updater class connects an object with the dom + */ +class Updater extends Base { + + /** + * @since 1.8.0 + * @param {HTMLElement} element + * @param {object|ProxyObserver|undefined} subject + * @throws {TypeError} value is not a object + * @throws {TypeError} value is not an instance of HTMLElement + * @see {@link Monster.DOM.findDocumentTemplate} + */ + constructor(element, subject) { + super(); + + /** + * @type {HTMLElement} + */ + if (subject === undefined) subject = {} + if (!isInstance(subject, ProxyObserver)) { + subject = new ProxyObserver(subject); + } + + this[internalSymbol] = { + element: validateInstance(element, HTMLElement), + last: {}, + callbacks: new Map(), + eventTypes: ['keyup', 'click', 'change', 'drop', 'touchend', 'input'], + subject: subject + } + + this[internalSymbol].callbacks.set('checkstate', getCheckStateCallback.call(this)); + + this[internalSymbol].subject.attachObserver(new Observer(() => { + + const s = this[internalSymbol].subject.getRealSubject(); + + const diffResult = diff(this[internalSymbol].last, s) + this[internalSymbol].last = clone(s); + + for (const [, change] of Object.entries(diffResult)) { + removeElement.call(this, change); + insertElement.call(this, change); + updateContent.call(this, change); + updateAttributes.call(this, change); + } + })); + + } + + /** + * Defaults: 'keyup', 'click', 'change', 'drop', 'touchend' + * + * @see {@link https://developer.mozilla.org/de/docs/Web/Events} + * @since 1.9.0 + * @param {Array} types + * @return {Updater} + */ + setEventTypes(types) { + this[internalSymbol].eventTypes = validateArray(types); + return this; + } + + /** + * With this method, the eventlisteners are hooked in and the magic begins. + * + * ``` + * updater.run().then(() => { + * updater.enableEventProcessing(); + * }); + * ``` + * + * @since 1.9.0 + * @return {Updater} + * @throws {Error} the bind argument must start as a value with a path + */ + enableEventProcessing() { + this.disableEventProcessing(); + + for (const type of this[internalSymbol].eventTypes) { + // @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener + this[internalSymbol].element.addEventListener(type, getControlEventHandler.call(this), { + capture: true, + passive: true + }); + } + + return this; + + } + + /** + * This method turns off the magic or who loves it more profane it removes the eventListener. + * + * @since 1.9.0 + * @return {Updater} + */ + disableEventProcessing() { + + for (const type of this[internalSymbol].eventTypes) { + this[internalSymbol].element.removeEventListener(type, getControlEventHandler.call(this)); + } + + return this; + + } + + /** + * The run method must be called for the update to start working. + * The method ensures that changes are detected. + * + * ``` + * updater.run().then(() => { + * updater.enableEventProcessing(); + * }); + * ``` + * + * @summary Let the magic begin + * @return {Promise} + */ + run() { + // the key __init__has no further meaning and is only + // used to create the diff for empty objects. + this[internalSymbol].last = {'__init__': true}; + return this[internalSymbol].subject.notifyObservers(); + } + + /** + * Gets the values of bound elements and changes them in subject + * + * @since 1.27.0 + * @return {Monster.DOM.Updater} + */ + retrieve() { + retrieveFromBindings.call(this); + return this; + } + + /** + * If you have passed a ProxyObserver in the constructor, you will get the object that the ProxyObserver manages here. + * However, if you passed a simple object, here you will get a proxy for that object. + * + * For changes the ProxyObserver must be used. + * + * @since 1.8.0 + * @return {Proxy} + */ + getSubject() { + return this[internalSymbol].subject.getSubject(); + } + + /** + * This method can be used to register commands that can be called via call: instruction. + * This can be used to provide a pipe with its own functionality. + * + * @param {string} name + * @param {function} callback + * @returns {Transformer} + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not a function + */ + setCallback(name, callback) { + this[internalSymbol].callbacks.set(name, callback); + return this; + } + +} + +/** + * @private + * @since 1.9.0 + * @return {function + * @this Updater + */ +function getCheckStateCallback() { + const self = this; + + return function (current) { + + // this is a reference to the current object (therefore no array function here) + if (this instanceof HTMLInputElement) { + if (['radio', 'checkbox'].indexOf(this.type) !== -1) { + return (this.value + "" === current + "") ? 'true' : undefined + } + } else if (this instanceof HTMLOptionElement) { + + if (isArray(current) && current.indexOf(this.value) !== -1) { + return 'true' + } + + return undefined; + } + } +} + +/** + * @private + */ +const symbol = Symbol('EventHandler'); + +/** + * @private + * @return {function} + * @this Updater + * @throws {Error} the bind argument must start as a value with a path + */ +function getControlEventHandler() { + + const self = this; + + if (self[symbol]) { + return self[symbol]; + } + + /** + * @throws {Error} the bind argument must start as a value with a path. + * @throws {Error} unsupported object + * @param {Event} event + */ + self[symbol] = (event) => { + const element = findTargetElementFromEvent(event, ATTRIBUTE_UPDATER_BIND); + + if (element === undefined) { + return; + } + + retrieveAndSetValue.call(self, element); + + } + + return self[symbol]; + + +} + +/** + * @throws {Error} the bind argument must start as a value with a path + * @param {HTMLElement} element + * @return void + * @memberOf Monster.DOM + * @private + */ +function retrieveAndSetValue(element) { + + const self = this; + + const pathfinder = new Pathfinder(self[internalSymbol].subject.getSubject()); + + let path = element.getAttribute(ATTRIBUTE_UPDATER_BIND); + + if (path.indexOf('path:') !== 0) { + throw new Error('the bind argument must start as a value with a path'); + } + + path = path.substr(5); + + let value; + + if (element instanceof HTMLInputElement) { + switch (element.type) { + + case 'checkbox': + value = element.checked ? element.value : undefined; + break; + default: + value = element.value; + break; + + + } + } else if (element instanceof HTMLTextAreaElement) { + value = element.value; + + } else if (element instanceof HTMLSelectElement) { + + switch (element.type) { + case 'select-one': + value = element.value; + break; + case 'select-multiple': + value = element.value; + + let options = element?.selectedOptions; + if (options === undefined) options = element.querySelectorAll(":scope option:checked"); + value = Array.from(options).map(({value}) => value); + + break; + } + + + // values from customelements + } else if ((element?.constructor?.prototype && !!Object.getOwnPropertyDescriptor(element.constructor.prototype, 'value')?.['get']) || element.hasOwnProperty('value')) { + value = element?.['value']; + } else { + throw new Error("unsupported object"); + } + + const copy = clone(self[internalSymbol].subject.getRealSubject()); + const pf = new Pathfinder(copy); + pf.setVia(path, value); + + const diffResult = diff(copy, self[internalSymbol].subject.getRealSubject()); + + if (diffResult.length > 0) { + pathfinder.setVia(path, value); + } +} + +/** + * @since 1.27.0 + * @return void + * @private + */ +function retrieveFromBindings() { + const self = this; + + if (self[internalSymbol].element.matches('[' + ATTRIBUTE_UPDATER_BIND + ']')) { + retrieveAndSetValue.call(self, element) + } + + for (const [, element] of self[internalSymbol].element.querySelectorAll('[' + ATTRIBUTE_UPDATER_BIND + ']').entries()) { + retrieveAndSetValue.call(self, element) + } + +} + +/** + * @private + * @since 1.8.0 + * @param {object} change + * @return {void} + */ +function removeElement(change) { + const self = this; + + for (const [, element] of self[internalSymbol].element.querySelectorAll(':scope [' + ATTRIBUTE_UPDATER_REMOVE + ']').entries()) { + element.parentNode.removeChild(element); + } +} + +/** + * @private + * @since 1.8.0 + * @param {object} change + * @return {void} + * @throws {Error} the value is not iterable + * @throws {Error} pipes are not allowed when cloning a node. + * @throws {Error} no template was found with the specified key. + * @throws {Error} the maximum depth for the recursion is reached. + * @this Updater + */ +function insertElement(change) { + const self = this; + const subject = self[internalSymbol].subject.getRealSubject(); + const document = getDocument(); + + let mem = new WeakSet; + let wd = 0; + + const container = self[internalSymbol].element; + + while (true) { + let found = false; + wd++; + + let p = clone(change?.['path']); + if (!isArray(p)) return self; + + while (p.length > 0) { + const current = p.join('.'); + + let iterator = new Set; + const query = '[' + ATTRIBUTE_UPDATER_INSERT + '*="path:' + current + '"]'; + + const e = container.querySelectorAll(query); + + if (e.length > 0) { + iterator = new Set( + [...e] + ) + } + + if (container.matches(query)) { + iterator.add(container); + } + + for (const [, containerElement] of iterator.entries()) { + + if (mem.has(containerElement)) continue; + mem.add(containerElement) + + found = true; + + const attributes = containerElement.getAttribute(ATTRIBUTE_UPDATER_INSERT); + let def = trimSpaces(attributes); + let i = def.indexOf(' '); + let key = trimSpaces(def.substr(0, i)); + let refPrefix = key + '-'; + let cmd = trimSpaces(def.substr(i)); + + // this case is actually excluded by the query but is nevertheless checked again here + if (cmd.indexOf('|') > 0) { + throw new Error("pipes are not allowed when cloning a node."); + } + + let pipe = new Pipe(cmd); + self[internalSymbol].callbacks.forEach((f, n) => { + pipe.setCallback(n, f); + }) + + let value + try { + containerElement.removeAttribute(ATTRIBUTE_ERRORMESSAGE); + value = pipe.run(subject) + } catch (e) { + containerElement.setAttribute(ATTRIBUTE_ERRORMESSAGE, e.message); + } + + let dataPath = cmd.split(':').pop(); + + let insertPoint; + if (containerElement.hasChildNodes()) { + insertPoint = containerElement.lastChild; + } + + if (!isIterable(value)) { + throw new Error('the value is not iterable'); + } + + let available = new Set; + + for (const [i, obj] of Object.entries(value)) { + let ref = refPrefix + i; + let currentPath = dataPath + "." + i; + + available.add(ref); + let refElement = containerElement.querySelector('[' + ATTRIBUTE_UPDATER_INSERT_REFERENCE + '="' + ref + '"]'); + + if (refElement instanceof HTMLElement) { + insertPoint = refElement; + continue; + } + + appendNewDocumentFragment(containerElement, key, ref, currentPath); + } + + let nodes = containerElement.querySelectorAll('[' + ATTRIBUTE_UPDATER_INSERT_REFERENCE + '*="' + refPrefix + '"]'); + for (const [, node] of Object.entries(nodes)) { + if (!available.has(node.getAttribute(ATTRIBUTE_UPDATER_INSERT_REFERENCE))) { + try { + containerElement.removeChild(node); + } catch (e) { + containerElement.setAttribute(ATTRIBUTE_ERRORMESSAGE, (containerElement.getAttribute(ATTRIBUTE_ERRORMESSAGE) + ", " + e.message).trim()); + } + + } + } + } + + p.pop(); + } + + if (found === false) break; + if (wd++ > 200) { + throw new Error('the maximum depth for the recursion is reached.'); + } + + } + + +} + +/** + * + * @private + * @since 1.8.0 + * @param {HTMLElement} container + * @param {string} key + * @param {string} ref + * @param {string} path + * @throws {Error} no template was found with the specified key. + */ +function appendNewDocumentFragment(container, key, ref, path) { + + let template = findDocumentTemplate(key, container); + + let nodes = template.createDocumentFragment(); + for (const [, node] of Object.entries(nodes.childNodes)) { + if (node instanceof HTMLElement) { + + applyRecursive(node, key, path); + node.setAttribute(ATTRIBUTE_UPDATER_INSERT_REFERENCE, ref); + } + + container.appendChild(node); + } +} + +/** + * @private + * @since 1.10.0 + * @param {HTMLElement} node + * @param {string} key + * @param {string} path + * @return {void} + */ +function applyRecursive(node, key, path) { + + if (node instanceof HTMLElement) { + + if (node.hasAttribute(ATTRIBUTE_UPDATER_REPLACE)) { + let value = node.getAttribute(ATTRIBUTE_UPDATER_REPLACE); + node.setAttribute(ATTRIBUTE_UPDATER_REPLACE, value.replaceAll("path:" + key, "path:" + path)); + } + + if (node.hasAttribute(ATTRIBUTE_UPDATER_ATTRIBUTES)) { + let value = node.getAttribute(ATTRIBUTE_UPDATER_ATTRIBUTES); + node.setAttribute(ATTRIBUTE_UPDATER_ATTRIBUTES, value.replaceAll("path:" + key, "path:" + path)); + } + + for (const [, child] of Object.entries(node.childNodes)) { + applyRecursive(child, key, path); + } + } +} + +/** + * @private + * @since 1.8.0 + * @param {object} change + * @return {void} + * @this Updater + */ +function updateContent(change) { + const self = this; + const subject = self[internalSymbol].subject.getRealSubject(); + + let p = clone(change?.['path']); + runUpdateContent.call(this, this[internalSymbol].element, p, subject); + + const slots = this[internalSymbol].element.querySelectorAll('slot'); + if (slots.length > 0) { + for (const [, slot] of Object.entries(slots)) { + for (const [, element] of Object.entries(slot.assignedNodes())) { + runUpdateContent.call(this, element, p, subject); + } + } + } + + +} + +/** + * @private + * @since 1.8.0 + * @param {HTMLElement} container + * @param {array} parts + * @param {object} subject + * @return {void} + */ +function runUpdateContent(container, parts, subject) { + if (!isArray(parts)) return; + if (!(container instanceof HTMLElement)) return; + parts = clone(parts); + + let mem = new WeakSet; + + while (parts.length > 0) { + const current = parts.join('.'); + parts.pop(); + + // Unfortunately, static data is always changed as well, since it is not possible to react to changes here. + const query = '[' + ATTRIBUTE_UPDATER_REPLACE + '^="path:' + current + '"], [' + ATTRIBUTE_UPDATER_REPLACE + '^="static:"]'; + const e = container.querySelectorAll('' + query); + + const iterator = new Set([ + ...e + ]) + + if (container.matches(query)) { + iterator.add(container); + } + + /** + * @type {HTMLElement} element + */ + for (const [element] of iterator.entries()) { + + if (mem.has(element)) return; + mem.add(element) + + const attributes = element.getAttribute(ATTRIBUTE_UPDATER_REPLACE) + let cmd = trimSpaces(attributes); + + let pipe = new Pipe(cmd); + this[internalSymbol].callbacks.forEach((f, n) => { + pipe.setCallback(n, f); + }) + + let value + try { + element.removeAttribute(ATTRIBUTE_ERRORMESSAGE); + value = pipe.run(subject) + } catch (e) { + element.setAttribute(ATTRIBUTE_ERRORMESSAGE, e.message); + } + + if (value instanceof HTMLElement) { + while (element.firstChild) { + element.removeChild(element.firstChild); + } + + try { + element.appendChild(value); + } catch (e) { + element.setAttribute(ATTRIBUTE_ERRORMESSAGE, (element.getAttribute(ATTRIBUTE_ERRORMESSAGE) + ", " + e.message).trim()); + } + + } else { + element.innerHTML = value; + } + + } + + + } + +} + +/** + * @private + * @since 1.8.0 + * @param {string} path + * @param {object} change + * @return {void} + */ +function updateAttributes(change) { + const subject = this[internalSymbol].subject.getRealSubject(); + let p = clone(change?.['path']); + runUpdateAttributes.call(this, this[internalSymbol].element, p, subject); +} + +/** + * @private + * @param {HTMLElement} container + * @param {array} parts + * @param {object} subject + * @return {void} + * @this Updater + */ +function runUpdateAttributes(container, parts, subject) { + + const self = this; + + if (!isArray(parts)) return; + parts = clone(parts); + + let mem = new WeakSet; + + while (parts.length > 0) { + const current = parts.join('.'); + parts.pop(); + + let iterator = new Set; + + const query = '[' + ATTRIBUTE_UPDATER_SELECT_THIS + '], [' + ATTRIBUTE_UPDATER_ATTRIBUTES + '*="path:' + current + '"], [' + ATTRIBUTE_UPDATER_ATTRIBUTES + '^="static:"]'; + + const e = container.querySelectorAll(query); + + if (e.length > 0) { + iterator = new Set( + [...e] + ) + } + + if (container.matches(query)) { + iterator.add(container); + } + + for (const [element] of iterator.entries()) { + + if (mem.has(element)) return; + mem.add(element) + + const attributes = element.getAttribute(ATTRIBUTE_UPDATER_ATTRIBUTES) + + for (let [, def] of Object.entries(attributes.split(','))) { + def = trimSpaces(def); + let i = def.indexOf(' '); + let name = trimSpaces(def.substr(0, i)); + let cmd = trimSpaces(def.substr(i)); + + let pipe = new Pipe(cmd); + + self[internalSymbol].callbacks.forEach((f, n) => { + pipe.setCallback(n, f, element); + }) + + let value + try { + element.removeAttribute(ATTRIBUTE_ERRORMESSAGE); + value = pipe.run(subject) + } catch (e) { + element.setAttribute(ATTRIBUTE_ERRORMESSAGE, e.message); + } + + + if (value === undefined) { + element.removeAttribute(name) + + } else if (element.getAttribute(name) !== value) { + element.setAttribute(name, value); + } + + handleInputControlAttributeUpdate.call(this, element, name, value); + + } + } + } + +} + +/** + * @private + * @param {HTMLElement|*} element + * @param {string} name + * @param {string|number|undefined} value + * @return {void} + * @this Updater + */ + +function handleInputControlAttributeUpdate(element, name, value) { + const self = this; + + if (element instanceof HTMLSelectElement) { + + + switch (element.type) { + case 'select-multiple': + + for (const [index, opt] of Object.entries(element.options)) { + if (value.indexOf(opt.value) !== -1) { + opt.selected = true; + } else { + opt.selected = false; + } + } + + break; + case 'select-one': + // Only one value may be selected + + for (const [index, opt] of Object.entries(element.options)) { + if (opt.value === value) { + element.selectedIndex = index; + break; + } + } + + break; + } + + + } else if (element instanceof HTMLInputElement) { + switch (element.type) { + + case 'radio': + if (name === 'checked') { + + if (value !== undefined) { + element.checked = true; + } else { + element.checked = false; + } + } + + break; + + case 'checkbox': + + if (name === 'checked') { + + if (value !== undefined) { + element.checked = true; + } else { + element.checked = false; + } + } + + break; + case 'text': + default: + if (name === 'value') { + element.value = (value === undefined ? "" : value); + } + + break; + + + } + } else if (element instanceof HTMLTextAreaElement) { + if (name === 'value') { + element.value = (value === undefined ? "" : value); + } + } + +} + +assignToNamespace('Monster.DOM', Updater); +export {Monster, Updater} diff --git a/application/source/dom/util.js b/application/source/dom/util.js new file mode 100644 index 0000000000000000000000000000000000000000..b9937e7b37a81c726de99bf456b9fd82ccaa38b3 --- /dev/null +++ b/application/source/dom/util.js @@ -0,0 +1,203 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {getGlobal} from "../types/global.js"; +import {validateString} from "../types/validate.js"; + + +/** + * this method fetches the document object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.DOM.getDocument()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/util.js'; + * console.log(getDocument()) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {object} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @throws {Error} not supported environment + */ +function getDocument() { + let document = getGlobal()?.['document']; + if (typeof document !== 'object') { + throw new Error("not supported environment") + } + + return document; +} + +/** + * this method fetches the window object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.DOM.getWindow()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/util.js'; + * console.log(getWindow(null)) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * getGlobal()['window']=window; + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {object} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @throws {Error} not supported environment + */ +function getWindow() { + let window = getGlobal()?.['window']; + if (typeof window !== 'object') { + throw new Error("not supported environment") + } + + return window; +} + + +/** + * + * + * this method fetches the document object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.DOM.getDocumentFragmentFromString()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/util.js'; + * console.log(getDocumentFragmentFromString('<div></div>')) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {DocumentFragment} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + * @throws {Error} not supported environment + * @throws {TypeError} value is not a string + */ +function getDocumentFragmentFromString(html) { + validateString(html); + + const document = getDocument(); + const template = document.createElement('template'); + template.innerHTML = html; + + return template.content; +} + + +assignToNamespace('Monster.DOM', getWindow, getDocument, getDocumentFragmentFromString); +export {Monster, getWindow, getDocument, getDocumentFragmentFromString} diff --git a/application/source/dom/worker/factory.js b/application/source/dom/worker/factory.js new file mode 100644 index 0000000000000000000000000000000000000000..4a88d16fc6c2bb223a45b54f0f4a39aa20fc8df7 --- /dev/null +++ b/application/source/dom/worker/factory.js @@ -0,0 +1,134 @@ +'use strict'; + + +/** + * @author schukai GmbH + */ + + +import {internalSymbol} from "../../constants.js"; +import {assignToNamespace, Monster} from "../../namespace.js"; +import {Base} from "../../types/base.js"; +import {getGlobal, getGlobalFunction} from "../../types/global.js"; +import {isFunction} from "../../types/is.js"; +import {validateInstance, validateString} from "../../types/validate.js"; + + + +/** + * You can call the function via the monster namespace `new Monster.DOM.Worker.getLocaleOfDocument()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(new Monster.DOM.Worker.Factory()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Factory} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/dom/worker/factory.js'; + * console.log(new Factory()) + * </script> + * ``` + * + * @since 1.25.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM.Worker + * @summary A small factory to create worker + */ +class Factory extends Base { + + + /** + * + */ + constructor() { + super(); + this[internalSymbol] = { + worker: new WeakMap + } + } + + /** + * Creates a worker from a URL + * + * @param {string|URL} url + * @param {function} messageHandler + * @param {function} errorHandler + * @return {Worker} + */ + createFromURL = function (url, messageHandler, errorHandler) { + + if (url instanceof URL) { + url = url.toString(); + } + + const workerClass = getGlobalFunction('Worker'); + var worker = new workerClass(validateString(url)); + + if (isFunction(messageHandler)) { + worker.onmessage = (event) => { + messageHandler.call(worker, event); + } + } + + if (isFunction(errorHandler)) { + worker.onerror = (event) => { + errorHandler.call(worker, event); + } + } + + return worker; + }; + + /** + * Creates a worker from a script + * + * @param {string} content + * @param {function} messageHandler + * @param {function} errorHandler + * @return {Worker} + * @see https://developer.mozilla.org/de/docs/Web/API/URL/createObjectURL + */ + createFromScript = function (content, messageHandler, errorHandler) { + const blobFunction = new getGlobalFunction('Blob') + const blob = new blobFunction([validateString(content)], {type: 'script/javascript'}); + + const url = getGlobalFunction('URL').createObjectURL(blob); + const worker = this.createFromURL(url, messageHandler, errorHandler); + + this[internalSymbol]['worker'].set(worker, url); + + return worker; + + }; + + /** + * Terminate the worker and call revokeObjectURL if necessary. + * + * @param worker + * @return {Monster.DOM.Worker.Factory} + */ + terminate(worker) { + + const workerClass = getGlobalFunction('Worker'); + validateInstance(worker, workerClass); + + worker.terminate(); + + if (this[internalSymbol]['worker'].has(worker)) { + const url = this[internalSymbol]['worker'].get(worker); + URL.revokeObjectURL(url); + } + + return this; + } + + +} + +assignToNamespace('Monster.DOM.Worker', Factory); +export {Monster, Factory} diff --git a/application/source/i18n/formatter.js b/application/source/i18n/formatter.js new file mode 100644 index 0000000000000000000000000000000000000000..7e5c24f9918156f7fd414fd7ae38530f7200c055 --- /dev/null +++ b/application/source/i18n/formatter.js @@ -0,0 +1,140 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + + +import {internalSymbol} from "../constants.js"; +import {extend} from "../data/extend.js"; +import {assignToNamespace, Monster} from '../namespace.js'; +import {Formatter as TextFormatter} from "../text/formatter.js"; +import {validateInstance, validateString} from "../types/validate.js"; +import {Translations} from "./translations.js"; + +/** + * @private + * @type {symbol} + */ +const internalTranslationSymbol = Symbol('internalTranslation') + +/** + * The Formatter extends the Text.Formatter with the possibility to replace the key by a translation. + * + * You can create an instance via the monster namespace `new Monster.I18n.Formatter()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.I18n.Formatter() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/i18n/formatter.js'; + * new Formatter() + * </script> + * ``` + * + * @example + * + * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/i18n/formatter.js'; + * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/i18n/translations.js'; + * + * const translations = new Translations('en') + * .assignTranslations({ + * thekey: "${animal} has eaten the ${food}!" + * }); + * + * new Formatter({}, translations).format("thekey:animal=dog::food=cake") + * // ↦ dog has eaten the cake! + * + * @since 1.26.0 + * @copyright schukai GmbH + * @memberOf Monster.I18n + */ +class Formatter extends TextFormatter { + + /** + * Default values for the markers are `${` and `}` + * + * @param {object} object + * @throws {TypeError} value is not a object + */ + constructor(object, translation, options) { + super(object, options); + this[internalTranslationSymbol] = validateInstance(translation, Translations); + } + + /** + * @property {object} marker + * @property {array} marker.open=["i18n{","${"] + * @property {array} marker.close=["${"] + * @property {object} parameter + * @property {string} parameter.delimiter="::" + * @property {string} parameter.assignment="=" + * @property {object} callbacks + * @property {function} callbacks.i18n=()=>{} + */ + get defaults() { + const self = this; + return extend({}, super.defaults, { + callbacks: { + i18n: (value) => { + return self[internalTranslationSymbol].getText(validateString(value)); + } + }, + marker: { + open: ['i18n{', '${'], + close: ['}'], + }, + }) + } + + /** + * + * @param {string} text + * @return {string} + * @throws {TypeError} value is not a string + * @throws {Error} too deep nesting + * @throws {Error} key not found + * @throws {Error} the closing marker is missing + */ + format(text) { + validateString(text) + + const openMarker = this[internalSymbol]['marker']['open']?.[0]; + const closeMarker = this[internalSymbol]['marker']['close']?.[0]; + + if (text.indexOf(openMarker) === 0) { + text = text.substring(openMarker.length); + + if (text.indexOf(closeMarker) === text.length - closeMarker.length) { + text = text.substring(0, text.length - closeMarker.length); + } else { + throw new Error("the closing marker is missing") + } + } + + + const parts = validateString(text).split('::') + const translationKey = parts.shift().trim(); // key value delimiter + const parameter = parts.join('::').trim(); + + + let assembledText = openMarker + 'static:' + translationKey + ' | call:i18n'; + if (parameter.length > 0) { + assembledText += '::' + parameter; + } + assembledText += closeMarker; + return super.format(assembledText); + } + + +} + +assignToNamespace('Monster.I18n', Formatter); +export {Monster, Formatter} diff --git a/application/source/i18n/locale.js b/application/source/i18n/locale.js new file mode 100644 index 0000000000000000000000000000000000000000..68ba869f374b865cf241e0a2a14296b07188dcd5 --- /dev/null +++ b/application/source/i18n/locale.js @@ -0,0 +1,336 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from "../types/base.js"; +import {validateString} from "../types/validate.js"; +import {clone} from "../util/clone.js"; + +/** + * @memberOf Monster.I18n + * @type {symbol} + */ +const propertiesSymbol = Symbol('properties'); + +/** + * @type {symbol} + * @memberOf Monster.I18n + */ +const localeStringSymbol = Symbol('localeString'); + +/** + * You can create an instance via the monster namespace `new Monster.I18n.Locale()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.I18n.Locale() + * </script> + * ``` + * + * Alternatively, you can also integrate this class individually. + * + * ``` + * <script type="module"> + * import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/i18n/locale.js'; + * new Locale() + * </script> + * ``` + * + * RFC + * + * ``` + * A Language-Tag consists of: + * langtag ; generated tag + * -or- private-use ; a private use tag + * + * langtag = (language + * ["-" script] + * ["-" region] + * *("-" variant) + * *("-" extension) + * ["-" privateuse]) + * + * language = "en", "ale", or a registered value + * + * script = "Latn", "Cyrl", "Hant" ISO 15924 codes + * + * region = "US", "CS", "FR" ISO 3166 codes + * "419", "019", or UN M.49 codes + * + * variant = "rozaj", "nedis", "1996", multiple subtags can be used in a tag + * + * extension = single letter followed by additional subtags; more than one extension + * may be used in a language tag + * + * private-use = "x-" followed by additional subtags, as many as are required + * Note that these can start a tag or appear at the end (but not + * in the middle) + * ``` + * + * @since 1.13.0 + * @copyright schukai GmbH + * @memberOf Monster.I18n + * @see https://datatracker.ietf.org/doc/html/rfc3066 + */ +class Locale extends Base { + + /** + * @param {string} language + * @param {string} [region] + * @param {string} [script] + * @param {string} [variants] + * @param {string} [extlang] + * @param {string} [privateUse] + * @throws {Error} unsupported locale + */ + constructor(language, region, script, variants, extlang, privateUse) { + super(); + + this[propertiesSymbol] = { + language: (language === undefined) ? undefined : validateString(language), + script: (script === undefined) ? undefined : validateString(script), + region: (region === undefined) ? undefined : validateString(region), + variants: (variants === undefined) ? undefined : validateString(variants), + extlang: (extlang === undefined) ? undefined : validateString(extlang), + privateUse: (privateUse === undefined) ? undefined : validateString(privateUse), + }; + + let s = []; + if (language !== undefined) s.push(language); + if (script !== undefined) s.push(script); + if (region !== undefined) s.push(region); + if (variants !== undefined) s.push(variants); + if (extlang !== undefined) s.push(extlang); + if (privateUse !== undefined) s.push(privateUse); + + if (s.length === 0) { + throw new Error('unsupported locale'); + } + + this[localeStringSymbol] = s.join('-'); + + } + + /** + * @return {string} + */ + get localeString() { + return this[localeStringSymbol]; + } + + /** + * @return {string|undefined} + */ + get language() { + return this[propertiesSymbol].language; + } + + /** + * @return {string|undefined} + */ + get region() { + return this[propertiesSymbol].region; + } + + /** + * @return {string|undefined} + */ + get script() { + return this[propertiesSymbol].script; + } + + /** + * @return {string|undefined} + */ + get variants() { + return this[propertiesSymbol].variants; + } + + /** + * @return {string|undefined} + */ + get extlang() { + return this[propertiesSymbol].extlang; + } + + /** + * @return {string|undefined} + */ + get privateUse() { + return this[propertiesSymbol].privateValue; + } + + + /** + * @return {string} + */ + toString() { + return "" + this.localeString; + } + + /** + * The structure has the following: language, script, region, variants, extlang, privateUse + * + * @return {Monster.I18n.LocaleMap} + */ + getMap() { + return clone(this[propertiesSymbol]) + } + + +} + +/** + * @typedef {Object} LocaleMap + * @property {string} language + * @property {string} script + * @property {string} region + * @property {string} variants + * @property {string} extlang + * @property {string} privateUse + * @memberOf Monster.I18n + */ + +/** + * Parse local according to rfc4646 standard + * + * Limitations: The regex cannot handle multiple variants or private. + * + * You can call the method via the monster namespace `Monster.I18n.createLocale()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.I18n.createLocale() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/i18n/locale.js'; + * createLocale() + * </script> + * ``` + * + * RFC + * + * ``` + * The syntax of the language tag in ABNF [RFC4234] is: + * + * Language-Tag = langtag + * / privateuse ; private use tag + * / grandfathered ; grandfathered registrations + * + * langtag = (language + * ["-" script] + * ["-" region] + * *("-" variant) + * *("-" extension) + * ["-" privateuse]) + * + * language = (2*3ALPHA [ extlang ]) ; shortest ISO 639 code + * / 4ALPHA ; reserved for future use + * / 5*8ALPHA ; registered language subtag + * + * extlang = *3("-" 3ALPHA) ; reserved for future use + * + * script = 4ALPHA ; ISO 15924 code + * + * region = 2ALPHA ; ISO 3166 code + * / 3DIGIT ; UN M.49 code + * + * variant = 5*8alphanum ; registered variants + * / (DIGIT 3alphanum) + * + * extension = singleton 1*("-" (2*8alphanum)) + * + * singleton = %x41-57 / %x59-5A / %x61-77 / %x79-7A / DIGIT + * ; "a"-"w" / "y"-"z" / "A"-"W" / "Y"-"Z" / "0"-"9" + * ; Single letters: x/X is reserved for private use + * + * privateuse = ("x"/"X") 1*("-" (1*8alphanum)) + * + * grandfathered = 1*3ALPHA 1*2("-" (2*8alphanum)) + * ; grandfathered registration + * ; Note: i is the only singleton + * ; that starts a grandfathered tag + * + * alphanum = (ALPHA / DIGIT) ; letters and numbers + * + * Figure 1: Language Tag ABNF + * ``` + * + * @param {string} locale + * @returns {Locale} + * @since 1.14.0 + * @copyright schukai GmbH + * @memberOf Monster.I18n + * @throws {TypeError} value is not a string + * @throws {Error} unsupported locale + */ +function parseLocale(locale) { + + locale = validateString(locale).replace(/_/g, "-"); + + let language, region, variants, parts, script, extlang, + regexRegular = "(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)", + regexIrregular = "(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)", + regexGrandfathered = "(" + regexIrregular + "|" + regexRegular + ")", + regexPrivateUse = "(x(-[A-Za-z0-9]{1,8})+)", + regexSingleton = "[0-9A-WY-Za-wy-z]", + regexExtension = "(" + regexSingleton + "(-[A-Za-z0-9]{2,8})+)", + regexVariant = "([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3})", + regexRegion = "([A-Za-z]{2}|[0-9]{3})", + regexScript = "([A-Za-z]{4})", + regexExtlang = "([A-Za-z]{3}(-[A-Za-z]{3}){0,2})", + regexLanguage = "(([A-Za-z]{2,3}(-" + regexExtlang + ")?)|[A-Za-z]{4}|[A-Za-z]{5,8})", + regexLangtag = "(" + regexLanguage + "(-" + regexScript + ")?" + "(-" + regexRegion + ")?" + "(-" + regexVariant + ")*" + "(-" + regexExtension + ")*" + "(-" + regexPrivateUse + ")?" + ")", + regexLanguageTag = "^(" + regexGrandfathered + "|" + regexLangtag + "|" + regexPrivateUse + ")$", + regex = new RegExp(regexLanguageTag), match; + + + if ((match = regex.exec(locale)) !== null) { + if (match.index === regex.lastIndex) { + regex.lastIndex++; + } + } + + if (match === undefined || match === null) { + throw new Error('unsupported locale'); + } + + if (match[6] !== undefined) { + language = match[6]; + + parts = language.split('-'); + if (parts.length > 1) { + language = parts[0]; + extlang = parts[1]; + } + + } + + if (match[14] !== undefined) { + region = match[14]; + } + + if (match[12] !== undefined) { + script = match[12]; + } + + if (match[16] !== undefined) { + variants = match[16]; + } + + return new Locale(language, region, script, variants, extlang); + +} + + +assignToNamespace('Monster.I18n', Locale, parseLocale); +export {Monster, Locale, parseLocale} diff --git a/application/source/i18n/namespace.js b/application/source/i18n/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..fb55e2545f3801d3718936fb148d4793ea163753 --- /dev/null +++ b/application/source/i18n/namespace.js @@ -0,0 +1,16 @@ +'use strict'; + +/** + * In this namespace you will find classes and methods for handling locale and localized texts. + * + * @namespace Monster.I18n + * @memberOf Monster + * @author schukai GmbH + */ + + +/** + * @private + * @type {string} + */ +export const namespace = "Monster.I18n"; \ No newline at end of file diff --git a/application/source/i18n/provider.js b/application/source/i18n/provider.js new file mode 100644 index 0000000000000000000000000000000000000000..d7b6bc2d4c08923af6be3f017714a791d6f7315e --- /dev/null +++ b/application/source/i18n/provider.js @@ -0,0 +1,58 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {BaseWithOptions} from "../types/basewithoptions.js"; +import {Locale} from "./locale.js" +import {Translations} from "./translations.js" + +/** + * A provider makes a translation object available. + * + * You can call the method via the monster namespace `new Monster.I18n.Provider()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.I18n.Provider() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/i18n/provider.js'; + * new Provider() + * </script> + * ``` + * + * @since 1.13.0 + * @copyright schukai GmbH + * @memberOf Monster.I18n + * @see {@link https://datatracker.ietf.org/doc/html/rfc3066} + */ +class Provider extends BaseWithOptions { + + /** + * @param {Locale|string} locale + * @return {Promise} + */ + getTranslations(locale) { + return new Promise((resolve, reject) => { + try { + resolve(new Translations(locale)); + } catch (e) { + reject(e); + } + + }); + } + +} + + +assignToNamespace('Monster.I18n', Provider); +export {Monster, Provider} diff --git a/application/source/i18n/providers/fetch.js b/application/source/i18n/providers/fetch.js new file mode 100644 index 0000000000000000000000000000000000000000..5506b2e721d3a02ae28a5715bb86148ed2b449e3 --- /dev/null +++ b/application/source/i18n/providers/fetch.js @@ -0,0 +1,147 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {internalSymbol} from "../../constants.js"; +import {extend} from "../../data/extend.js"; +import {assignToNamespace, Monster} from '../../namespace.js'; +import {Formatter} from "../../text/formatter.js"; +import {getGlobalFunction} from "../../types/global.js"; +import {isInstance, isString} from "../../types/is.js"; +import {validateObject, validateString} from "../../types/validate.js"; +import {parseLocale} from "../locale.js"; +import {Provider} from "../provider.js"; +import {Translations} from "../translations.js"; + +/** + * The fetch provider retrieves a JSON file from the given URL and returns a translation object. + * + * You can create the object via the monster namespace `new Monster.I18n.Provider.Fetch()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.I18n.Providers.Fetch() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/i18n/providers/fetch.js'; + * new Fetch() + * </script> + * ``` + * + * @example <caption>das ist ein test</caption> + * + * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/i18n/providers/fetch.js'; + * + * // fetch from API + * const translation = new Fetch('https://example.com/${language}.json').getTranslation('en-GB'); + * // ↦ https://example.com/en.json + * + * @since 1.13.0 + * @copyright schukai GmbH + * @memberOf Monster.I18n.Providers + * @see {@link https://datatracker.ietf.org/doc/html/rfc3066} + * @tutorial i18n-locale-and-formatter + */ +class Fetch extends Provider { + + /** + * As options the key `fetch` can be passed. This config object is passed to the fetch method as init. + * + * The url may contain placeholders (language, script, region, variants, extlang, privateUse), so you can specify one url for all translations. + * + * ``` + * new Fetch('https://www.example.com/assets/${language}.json') + * ``` + * + * @param {string|URL} url + * @param {Object} options see {@link Monster.I18n.Providers.Fetch#defaults} + * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/fetch} + */ + constructor(url, options) { + super(options); + + if (isInstance(url, URL)) { + url = url.toString(); + } + + if (options === undefined) { + options = {}; + } + + validateString(url); + + /** + * @property {string} + */ + this.url = url; + + /** + * @private + * @property {Object} options + */ + this[internalSymbol] = extend({}, super.defaults, this.defaults, validateObject(options)); + + } + + /** + * Defaults + * + * @property {Object} fetch + * @property {String} fetch.method=GET + * @property {String} fetch.mode=cors + * @property {String} fetch.cache=no-cache + * @property {String} fetch.credentials=omit + * @property {String} fetch.redirect=follow + * @property {String} fetch.referrerPolicy=no-referrer + * + * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API} + */ + get defaults() { + + return { + fetch: { + method: 'GET', // *GET, POST, PUT, DELETE, etc. + mode: 'cors', // no-cors, *cors, same-origin + cache: 'no-cache', // *default, no-cache, reload, force-cache, only-if-cached + credentials: 'omit', // include, *same-origin, omit + redirect: 'follow', // manual, *follow, error + referrerPolicy: 'no-referrer', // no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url + } + } + + } + + /** + * + * @param {Locale|string} locale + * @return {Promise} + */ + getTranslations(locale) { + + if (isString(locale)) { + locale = parseLocale(locale); + } + + let formatter = new Formatter(locale.getMap()) + + return getGlobalFunction('fetch')(formatter.format(this.url), this.getOption('fetch', {})) + .then((response) => response.json()).then(data => { + return new Translations(locale).assignTranslations(data); + }); + + } + + +} + + +assignToNamespace('Monster.I18n.Providers', Fetch); +export {Monster, Fetch} diff --git a/application/source/i18n/providers/namespace.js b/application/source/i18n/providers/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..4e01e737d6520a4f983c3af24f4c84e3f10ebe94 --- /dev/null +++ b/application/source/i18n/providers/namespace.js @@ -0,0 +1,16 @@ +'use strict'; + +/** + * Namespace for different translation providers. + * + * @namespace Monster.I18n.Providers + * @memberOf Monster.I18n + * @author schukai GmbH + */ + + +/** + * @private + * @type {string} + */ +export const namespace = "Monster.I18n.Providers"; \ No newline at end of file diff --git a/application/source/i18n/translations.js b/application/source/i18n/translations.js new file mode 100644 index 0000000000000000000000000000000000000000..641b54fa650c076ef09fba7a090e5124682c32ff --- /dev/null +++ b/application/source/i18n/translations.js @@ -0,0 +1,219 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from "../types/base.js"; +import {isObject, isString} from "../types/is.js"; +import {validateInstance, validateInteger, validateObject, validateString} from "../types/validate.js"; +import {Locale, parseLocale} from "./locale.js"; + + +/** + * With this class you can manage translations and access the keys. + * + * You can call the method via the monster namespace `new Monster.I18n.Translations()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.I18n.Translations() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/i18n/translations.js'; + * new Translations() + * </script> + * ``` + * + * @example + * + * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/i18n/translations.js'; + * import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/i18n/locale.js'; + * + * const translation = new Translations(parseLocale('en-GB')); + * + * translation.assignTranslations({ + * text1: "click", + * text2: { + * 'one': 'click once', + * 'other': 'click n times' + * } + * }); + * + * console.log(translation.getText('text1')); + * // ↦ click + * + * console.log(translation.getPluralRuleText('text2',1)); + * // -> click once + * console.log(translation.getPluralRuleText('text2',2)); + * // -> click n times + * + * @since 1.13.0 + * @copyright schukai GmbH + * @memberOf Monster.I18n + * @see https://datatracker.ietf.org/doc/html/rfc3066 + */ +class Translations extends Base { + + /** + * + * @param {Locale} locale + */ + constructor(locale) { + super(); + + if (isString(locale)) { + locale = parseLocale(locale); + } + + this.locale = validateInstance(locale, Locale); + this.storage = new Map(); + + } + + + /** + * Fetches a text using the specified key. + * If no suitable key is found, `defaultText` is taken. + * + * @param {string} key + * @param {string|undefined} defaultText + * @return {string} + * @throws {Error} key not found + */ + getText(key, defaultText) { + if (!this.storage.has(key)) { + if (defaultText === undefined) { + throw new Error('key ' + key + ' not found'); + } + + return validateString(defaultText); + } + + let r = this.storage.get(key); + if (isObject(r)) { + return this.getPluralRuleText(key, 'other', defaultText); + } + + return this.storage.get(key); + } + + /** + * A number `count` can be passed to this method. In addition to a number, one of the keywords can also be passed directly. + * "zero", "one", "two", "few", "many" and "other". Remember: not every language has all rules. + * + * The appropriate text for this number is then selected. If no suitable key is found, `defaultText` is taken. + * + * @param {string} key + * @param {integer|count} count + * @param {string|undefined} defaultText + * @return {string} + */ + getPluralRuleText(key, count, defaultText) { + if (!this.storage.has(key)) { + return validateString(defaultText); + } + + let r = validateObject(this.storage.get(key)); + + let keyword; + if (isString(count)) { + keyword = count.toLocaleString(); + } else { + count = validateInteger(count); + if (count === 0) { + // special handlig for zero count + if (r.hasOwnProperty('zero')) { + return validateString(r['zero']); + } + } + + keyword = new Intl.PluralRules(this.locale.toString()).select(validateInteger(count)); + } + + if (r.hasOwnProperty(keyword)) { + return validateString(r[keyword]); + } + + if (r.hasOwnProperty(DEFAULT_KEY)) { + return validateString(r[DEFAULT_KEY]); + } + + return validateString(defaultText); + } + + /** + * Set a text for a key + * + * ``` + * translations.setText("text1": "Make my day!"); + * // plural rules + * translations.setText("text6": { + * "zero": "There are no files on Disk.", + * "one": "There is one file on Disk.", + * "other": "There are files on Disk." + * "default": "There are files on Disk." + * }); + * ``` + * + * @param {string} key + * @param {string|object} text + * @return {Translations} + * @throws {TypeError} value is not a string or object + */ + setText(key, text) { + + if (isString(text) || isObject(text)) { + this.storage.set(validateString(key), text); + return this; + } + + throw new TypeError('value is not a string or object'); + + } + + /** + * This method can be used to transfer overlays from an object. The keys are transferred and the values are entered as text. + * + * The values can either be character strings or, in the case of texts with plural forms, objects. The plural forms must be stored as text via a standard key "zero", "one", "two", "few", "many" and "other". + * + * Additionally, the key default can be specified, which will be used if no other key fits. + * + * In some languages, like for example in german, there is no own more number at the value 0. In these languages the function applies additionally zero. + * + * ``` + * translations.assignTranslations({ + * "text1": "Make my day!", + * "text2": "I'll be back!", + * "text6": { + * "zero": "There are no files on Disk.", + * "one": "There is one file on Disk.", + * "other": "There are files on Disk." + * "default": "There are files on Disk." + * }); + * ``` + * + * @param {object} translations + * @return {Translations} + */ + assignTranslations(translations) { + validateObject(translations); + + for (const [k, v] of Object.entries(translations)) { + this.setText(k, v); + } + + return this; + + } + +} + +assignToNamespace('Monster.I18n', Translations); +export {Monster, Translations} diff --git a/application/source/logging/handler.js b/application/source/logging/handler.js new file mode 100644 index 0000000000000000000000000000000000000000..674fe3ea6fc3f3677dbd10b6d0414c5fd206db95 --- /dev/null +++ b/application/source/logging/handler.js @@ -0,0 +1,184 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from '../types/base.js'; +import {validateInstance, validateInteger} from "../types/validate.js"; +import {LogEntry} from "./logentry.js"; +import {ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN} from "./logger.js"; + +/** + * you can call the method via the monster namespace `new Monster.Logging.Handler()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(new Monster.Logging.Handler()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/logging/handler.js'; + * console.log(new Handler()) + * </script> + * ``` + * + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster.Logging + */ +class Handler extends Base { + constructor() { + super(); + + /** + * Loglevel + * + * @type {integer} + */ + this.loglevel = OFF; + } + + /** + * This is the central log function. this method must be + * overwritten by derived handlers with their own logic. + * + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * @param {LogEntry} entry + * @returns {boolean} + */ + log(entry) { + validateInstance(entry, LogEntry); + + if (this.loglevel < entry.getLogLevel()) { + return false; + } + + return true; + } + + /** + * set loglevel + * + * @param {integer} loglevel + * @returns {Handler} + * @since 1.5.0 + */ + setLogLevel(loglevel) { + validateInteger(loglevel) + this.loglevel = loglevel; + return this; + } + + /** + * get loglevel + * + * @returns {integer} + * @since 1.5.0 + */ + getLogLevel() { + return this.loglevel; + } + + /** + * Set log level to All + * + * @returns {Handler} + * @since 1.5.0 + */ + setAll() { + this.setLogLevel(ALL); + return this; + }; + + /** + * Set log level to Trace + * + * @returns {Handler} + * @since 1.5.0 + */ + setTrace() { + this.setLogLevel(TRACE); + return this; + }; + + /** + * Set log level to Debug + * + * @returns {Handler} + * @since 1.5.0 + */ + setDebug() { + this.setLogLevel(DEBUG); + return this; + }; + + /** + * Set log level to Info + * + * @returns {Handler} + * @since 1.5.0 + */ + setInfo() { + this.setLogLevel(INFO); + return this; + }; + + /** + * Set log level to Warn + * + * @returns {undefined} + * @since 1.5.0 + */ + setWarn() { + this.setLogLevel(WARN); + return this; + }; + + /** + * Set log level to Error + * + * @returns {Handler} + * @since 1.5.0 + */ + setError() { + this.setLogLevel(ERROR); + return this; + }; + + /** + * Set log level to Fatal + * + * @returns {Handler} + * @since 1.5.0 + */ + setFatal() { + this.setLogLevel(FATAL); + return this; + }; + + + /** + * Set log level to Off + * + * @returns {Handler} + * @since 1.5.0 + */ + setOff() { + this.setLogLevel(OFF); + return this; + }; + + +} + + +assignToNamespace('Monster.Logging', Handler); +export {Monster, Handler}; diff --git a/application/source/logging/handler/console.js b/application/source/logging/handler/console.js new file mode 100644 index 0000000000000000000000000000000000000000..5bd470630a75fa0593d0cdf0274c0c360d2230b5 --- /dev/null +++ b/application/source/logging/handler/console.js @@ -0,0 +1,66 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../../namespace.js'; +import {Base} from '../../types/base.js'; +import {getGlobalObject} from "../../types/global.js"; +import {Handler} from '../handler.js'; +import {LogEntry} from "../logentry.js"; + +/** + * You can create an object of the class simply by using the namespace `new Monster.Logging.Handler.ConsoleHandler()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(new Monster.Logging.Handler.ConsoleHandler()) + * </script> + * ``` + * + * Alternatively, you can also integrate this class individually. + * + * ``` + * <script type="module"> + * import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/logging/handler/console.js'; + * console.log(new ConsoleHandler()) + * </script> + * ``` + * + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster.Logging.Handler + */ +class ConsoleHandler extends Handler { + constructor() { + super(); + } + + + /** + * This is the central log function. this method must be + * overwritten by derived handlers with their own logic. + * + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * @param {LogEntry} entry + * @returns {boolean} + */ + log(entry) { + if (super.log(entry)) { + let console = getGlobalObject('console'); + if (!console) return false; + console.log(entry.toString()); + return true; + } + + return false; + } + +} + + +assignToNamespace('Monster.Logging.Handler', ConsoleHandler); +export {Monster, ConsoleHandler}; diff --git a/application/source/logging/handler/namespace.js b/application/source/logging/handler/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..6bd37d05db543512a7cfb89a84aae257cca7e553 --- /dev/null +++ b/application/source/logging/handler/namespace.js @@ -0,0 +1,14 @@ +'use strict'; + +/** + * @namespace Monster.Logging.Handler + * @memberOf Monster.Logging + * @author schukai GmbH + */ + + +/** + * @private + * @type {string} + */ +export const namespace = "Monster.Logging.Handler"; \ No newline at end of file diff --git a/application/source/logging/logentry.js b/application/source/logging/logentry.js new file mode 100644 index 0000000000000000000000000000000000000000..cca66fb32c7b428a32a77ba3a17addfad5600f98 --- /dev/null +++ b/application/source/logging/logentry.js @@ -0,0 +1,68 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from '../types/base.js'; +import {validateInteger} from '../types/validate.js'; + + +/** + * you can call the method via the monster namespace `new Monster.Logging.LogEntry()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(new Monster.Logging.LogEntry()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/logging/logentry.js'; + * console.log(new LogEntry()) + * </script> + * ``` + * + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster.Logging + */ +class LogEntry extends Base { + /** + * + * @param {Integer} loglevel + * @param {...*} args + */ + constructor(loglevel, ...args) { + super(); + validateInteger(loglevel); + + this.loglevel = loglevel + this.arguments = args + } + + /** + * + * @returns {integerr} + */ + getLogLevel() { + return this.loglevel + } + + /** + * + * @returns {array} + */ + getArguments() { + return this.arguments + } + +} + +assignToNamespace('Monster.Logging', LogEntry); +export {Monster, LogEntry} diff --git a/application/source/logging/logger.js b/application/source/logging/logger.js new file mode 100644 index 0000000000000000000000000000000000000000..420c46a617a8e0cb216e925bf23c7fce2b3749a5 --- /dev/null +++ b/application/source/logging/logger.js @@ -0,0 +1,280 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {Handler} from '../logging/handler.js'; +import {LogEntry} from '../logging/logentry.js'; +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from '../types/base.js'; +import {validateInteger, validateObject, validateString} from '../types/validate.js'; + + +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster.Logging + */ +const ALL = 255; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster.Logging + */ +const TRACE = 64; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster.Logging + */ +const DEBUG = 32; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster.Logging + */ +const INFO = 16; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster.Logging + */ +const WARN = 8; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster.Logging + */ +const ERROR = 4; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster.Logging + */ +const FATAL = 2; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster.Logging + */ +const OFF = 0; + +/** + * You can create an object of the class simply by using the namespace `new Monster.Logging.Logger()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Logging.Logger() + * </script> + * ``` + * + * Alternatively, you can also integrate this class individually. + * + * ``` + * <script type="module"> + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/logging/logger.js'; + * new Logger() + * </script> + * ``` + * + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster.Logging + */ +class Logger extends Base { + + /** + * + */ + constructor() { + super(); + this.handler = new Set; + } + + /** + * + * @param {Handler} handler + * @returns {Logger} + * @throws {Error} the handler must be an instance of Handler + */ + addHandler(handler) { + validateObject(handler) + if (!(handler instanceof Handler)) { + throw new Error("the handler must be an instance of Handler") + } + + this.handler.add(handler) + return this; + } + + /** + * + * @param {Handler} handler + * @returns {Logger} + * @throws {Error} the handler must be an instance of Handler + */ + removeHandler(handler) { + validateObject(handler) + if (!(handler instanceof Handler)) { + throw new Error("the handler must be an instance of Handler") + } + + this.handler.delete(handler); + return this; + } + + /** + * log Trace message + * + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * @param {*} arguments + * @returns {Logger} + * @since 1.5.0 + */ + logTrace() { + triggerLog.apply(this, [TRACE, ...arguments]); + return this; + }; + + /** + * log Debug message + * + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * @param {*} arguments + * @returns {Logger} + * @since 1.5.0 + */ + logDebug() { + triggerLog.apply(this, [DEBUG, ...arguments]); + return this; + }; + + /** + * log Info message + * + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * + * @param {*} arguments + * @returns {Logger} + * @since 1.5.0 + */ + logInfo() { + triggerLog.apply(this, [INFO, ...arguments]); + return this; + }; + + /** + * log Warn message + * + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * @param {*} arguments + * @returns {Logger} + * @since 1.5.0 + */ + logWarn() { + triggerLog.apply(this, [WARN, ...arguments]); + return this; + }; + + /** + * log Error message + * + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * @param {*} arguments + * @returns {Logger} + * @since 1.5.0 + */ + logError() { + triggerLog.apply(this, [ERROR, ...arguments]); + return this; + }; + + /** + * log Fatal message + * + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * @param {*} arguments + * @returns {Logger} + * @since 1.5.0 + */ + logFatal() { + triggerLog.apply(this, [FATAL, ...arguments]); + return this; + }; + + + /** + * Labels + * + * @param {integer} level + * @returns {string} + */ + getLabel(level) { + validateInteger(level); + + if (level === ALL) return 'ALL'; + if (level === TRACE) return 'TRACE'; + if (level === DEBUG) return 'DEBUG'; + if (level === INFO) return 'INFO'; + if (level === WARN) return 'WARN'; + if (level === ERROR) return 'ERROR'; + if (level === FATAL) return 'FATAL'; + if (level === OFF) return 'OFF'; + + return 'unknown'; + }; + + /** + * Level + * + * @param {string} label + * @returns {integer} + */ + getLevel(label) { + validateString(label); + + if (label === 'ALL') return ALL; + if (label === 'TRACE') return TRACE; + if (label === 'DEBUG') return DEBUG; + if (label === 'INFO') return INFO; + if (label === 'WARN') return WARN; + if (label === 'ERROR') return ERROR; + if (label === 'FATAL') return FATAL; + if (label === 'OFF') return OFF; + + return 0; + }; + + +} + +assignToNamespace('Monster.Logging', Logger); +export {Monster, Logger, ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF}; + + +/** + * Log triggern + * + * @param {integer} loglevel + * @param {*} args + * @returns {Logger} + * @private + */ +function triggerLog(loglevel, ...args) { + var logger = this; + + for (let handler of logger.handler) { + handler.log(new LogEntry(loglevel, args)) + } + + return logger; + +} diff --git a/application/source/logging/namespace.js b/application/source/logging/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..325bb0bd22f68cb0a4227fa86a9f4e2fead613d1 --- /dev/null +++ b/application/source/logging/namespace.js @@ -0,0 +1,16 @@ +'use strict'; + +/** + * Namespace for logging. + * + * @namespace Monster.Logging + * @memberOf Monster + * @author schukai GmbH + */ + + +/** + * @private + * @type {string} + */ +export const namespace = "Monster.Logging"; \ No newline at end of file diff --git a/application/source/math/namespace.js b/application/source/math/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..93c2e40e0c2a71fd92ce4fb6eaf573eb9ce8a477 --- /dev/null +++ b/application/source/math/namespace.js @@ -0,0 +1,16 @@ +'use strict'; + +/** + * Namespace for math. + * + * @namespace Monster.Math + * @memberOf Monster + * @author schukai GmbH + */ + + +/** + * @private + * @type {string} + */ +export const namespace = "Monster.Math"; \ No newline at end of file diff --git a/application/source/math/random.js b/application/source/math/random.js new file mode 100644 index 0000000000000000000000000000000000000000..2b41fa9143ccaf87aaba3a083f1ec1e96ae1388f --- /dev/null +++ b/application/source/math/random.js @@ -0,0 +1,134 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {getGlobal} from '../types/global.js'; + + +/** + * this function uses crypt and returns a random number. + * + * you can call the method via the monster namespace `Monster.Math.random()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Math.random(1,10) + * // ↦ 5 + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/math/random.js'; + * random(1,10) + * // ↦ 5 + * </script> + * ``` + * + * @param {number} min starting value of the definition set (default is 0) + * @param {number} max end value of the definition set (default is 1000000000) + * @returns {number} + * @memberOf Monster.Math + * @throws {Error} missing crypt + * @throws {Error} we cannot generate numbers larger than 53 bits. + * @throws {Error} the distance is too small to create a random number. + + * @since 1.0.0 + * @copyright schukai GmbH + */ +function random(min, max) { + + if (min === undefined) { + min = 0; + } + if (max === undefined) { + max = MAX; + } + + if (max < min) { + throw new Error("max must be greater than min"); + } + + return Math.round(create(min, max)); + +} + +/** + * @private + * @type {number} + */ +var MAX = 1000000000; + + +Math.log2 = Math.log2 || function (n) { + return Math.log(n) / Math.log(2); +}; + +/** + * + * @param {number} min + * @param {number} max + * @returns {number} + * @private + * @throws {Error} missing crypt + * @throws {Error} we cannot generate numbers larger than 53 bits. + * @throws {Error} the distance is too small to create a random number. + */ +function create(min, max) { + let crypt; + let globalReference = getGlobal(); + + crypt = globalReference?.['crypto'] || globalReference?.['msCrypto'] || globalReference?.['crypto'] || undefined; + + if (typeof crypt === "undefined") { + throw new Error("missing crypt") + } + + let rval = 0; + const range = max - min; + if (range < 2) { + throw new Error('the distance is too small to create a random number.') + } + + const bitsNeeded = Math.ceil(Math.log2(range)); + if (bitsNeeded > 53) { + throw new Error("we cannot generate numbers larger than 53 bits."); + } + const bytesNeeded = Math.ceil(bitsNeeded / 8); + const mask = Math.pow(2, bitsNeeded) - 1; + + const byteArray = new Uint8Array(bytesNeeded); + crypt.getRandomValues(byteArray); + + let p = (bytesNeeded - 1) * 8; + for (var i = 0; i < bytesNeeded; i++) { + rval += byteArray[i] * Math.pow(2, p); + p -= 8; + } + + rval = rval & mask; + + if (rval >= range) { + return create(min, max); + } + + if (rval < min) { + rval += min; + } + + return rval; + +} + +assignToNamespace('Monster.Math', random); +export {Monster, random} + + + + diff --git a/application/source/monster.js b/application/source/monster.js new file mode 100644 index 0000000000000000000000000000000000000000..62275425db1a5f37ad04b6509b91331d73e67d7d --- /dev/null +++ b/application/source/monster.js @@ -0,0 +1,94 @@ +/** + * @license + * Copyright 2021 schukai GmbH + * SPDX-License-Identifier: AGPL-3.0-only or COMMERCIAL + * @author schukai GmbH + */ + +'use strict'; + +import './constants.js'; +// find packages/monster/source/ -type f -name "*.js" -not -name "*namespace*" -not -iname "monster.js" +import './constraints/isobject.js +import './constraints/valid.js'; +import './constraints/invalid.js'; +import './constraints/abstractoperator.js'; +import './constraints/oroperator.js'; +import './constraints/andoperator.js'; +import './constraints/abstract.js'; +import './constraints/isarray.js'; +import './logging/logger.js'; +import './logging/handler.js'; +import './logging/logentry.js'; +import './logging/handler/console.js'; +import './text/formatter.js'; +import './dom/resource/script.js'; +import './dom/resource/data.js'; +import './dom/resource/link/stylesheet.js'; +import './dom/resource/link.js'; +import './dom/resource.js'; +import './dom/updater.js'; +import './dom/attributes.js'; +import './dom/template.js'; +import './dom/util.js'; +import './dom/ready.js'; +import './dom/resourcemanager.js'; +import './dom/locale.js'; +import './dom/customcontrol.js'; +import './dom/constants.js'; +import './dom/assembler.js'; +import './dom/theme.js'; +import './dom/worker/factory.js'; +import './dom/focusmanager.js'; +import './dom/events.js'; +import './dom/customelement.js'; +import './i18n/formatter.js'; +import './i18n/providers/fetch.js'; +import './i18n/translations.js'; +import './i18n/locale.js'; +import './i18n/provider.js'; +import './types/queue.js'; +import './types/binary.js'; +import './types/regex.js'; +import './types/observer.js'; +import './types/observerlist.js'; +import './types/basewithoptions.js'; +import './types/is.js'; +import './types/proxyobserver.js'; +import './types/uniquequeue.js'; +import './types/node.js'; +import './types/tokenlist.js'; +import './types/typeof.js'; +import './types/uuid.js'; +import './types/mediatype.js'; +import './types/dataurl.js'; +import './types/base.js'; +import './types/version.js'; +import './types/nodelist.js'; +import './types/id.js'; +import './types/randomid.js'; +import './types/noderecursiveiterator.js'; +import './types/validate.js'; +import './types/stack.js'; +import './util/deadmansswitch.js'; +import './util/comparator.js'; +import './util/trimspaces.js'; +import './util/clone.js'; +import './util/freeze.js'; +import './util/processing.js'; +import './constants.js'; +import './data/pathfinder.js'; +import './data/pipe.js'; +import './data/extend.js'; +import './data/diff.js'; +import './data/buildmap.js'; +import './data/datasource.js'; +import './data/buildtree.js'; +import './data/transformer.js'; +import './data/datasource/storage.js'; +import './data/datasource/restapi.js'; +import './data/datasource/storage/sessionstorage.js'; +import './data/datasource/storage/localstorage.js'; +import './data/datasource/restapi/writeerror.js'; +import './math/random.js'; + diff --git a/application/source/text/formatter.js b/application/source/text/formatter.js new file mode 100644 index 0000000000000000000000000000000000000000..bcb536fd61dd4c3290c78b4bf10a233147538b9a --- /dev/null +++ b/application/source/text/formatter.js @@ -0,0 +1,367 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {internalSymbol} from "../constants.js"; +import {extend} from "../data/extend.js"; +import {Pipe} from "../data/pipe.js"; +import {assignToNamespace, Monster} from '../namespace.js'; +import {BaseWithOptions} from "../types/basewithoptions.js"; +import {isObject, isString} from "../types/is.js"; +import {validateArray, validateString} from "../types/validate.js"; + + +/** + * @private + * @type {symbol} + */ +const internalObjectSymbol = Symbol('internalObject'); + +/** + * @private + * @type {symbol} + */ +const watchdogSymbol = Symbol('watchdog'); + +/** + * @private + * @type {symbol} + */ +const markerOpenIndexSymbol = Symbol('markerOpenIndex'); + +/** + * @private + * @type {symbol} + */ +const markerCloseIndexSymbol = Symbol('markercloseIndex'); + +/** + * @private + * @type {symbol} + */ +const workingDataSymbol = Symbol('workingData'); + + +/** + * Messages can be formatted with the formatter. To do this, an object with the values must be passed to the formatter. The message can then contain placeholders. + * + * Look at the example below. The placeholders use the logic of Pipe. + * + * You can create an instance via the monster namespace `new Monster.Text.Formatter()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Text.Formatter() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/text/formatter.js'; + * new Formatter() + * </script> + * ``` + * + * ## Marker in marker + * + * Markers can be nested. Here, the inner marker is resolved first `${subkey} ↦ 1 = ${mykey2}` and then the outer marker `${mykey2}`. + * + * ``` + * const text = '${mykey${subkey}}'; + * let obj = { + * mykey2: "1", + * subkey: "2" + * }; + * + * new Formatter(obj).format(text); + * // ↦ 1 + * ``` + * + * ## Callbacks + * + * The values in a formatter can be adjusted via the commands of the `Transformer` or the`Pipe`. + * There is also the possibility to use callbacks. + * + * const formatter = new Formatter({x: '1'}, { + * callbacks: { + * quote: (value) => { + * return '"' + value + '"' + * } + * } + * }); + * + * formatter.format('${x | call:quote}')) + * // ↦ "1" + * + * ## Marker with parameter + * + * A string can also bring its own values. These must then be separated from the key by a separator `::`. + * The values themselves must be specified in key/value pairs. The key must be separated from the value by a separator `=`. + * + * When using a pipe, you must pay attention to the separators. + * + * @example + * + * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/text/formatter.js'; + * + * new Formatter({ + * a: { + * b: { + * c: "Hello" + * }, + * d: "world", + * } + * }).format("${a.b.c} ${a.d | ucfirst}!"); // with pipe + * + * // ↦ Hello World! + * + * @since 1.12.0 + * @copyright schukai GmbH + * @memberOf Monster.Text + */ +class Formatter extends BaseWithOptions { + + /** + * Default values for the markers are `${` and `}` + * + * @param {object} object + * @throws {TypeError} value is not a object + */ + constructor(object, options) { + super(options); + this[internalObjectSymbol] = object || {} + this[markerOpenIndexSymbol] = 0; + this[markerCloseIndexSymbol] = 0; + } + + /** + * @property {object} marker + * @property {array} marker.open=["${"] + * @property {array} marker.close=["${"] + * @property {object} parameter + * @property {string} parameter.delimiter="::" + * @property {string} parameter.assignment="=" + * @property {object} callbacks={} + */ + get defaults() { + return extend({}, super.defaults, { + marker: { + open: ['${'], + close: ['}'] + }, + parameter: { + delimiter: '::', + assignment: '=' + }, + callbacks: {}, + }) + } + + + /** + * Set new Parameter Character + * + * Default values for the chars are `::` and `=` + * + * ``` + * formatter.setParameterChars('#'); + * formatter.setParameterChars('[',']'); + * formatter.setParameterChars('i18n{','}'); + * ``` + * + * @param {string} delimiter + * @param {string} assignment + * @return {Formatter} + * @since 1.24.0 + * @throws {TypeError} value is not a string + */ + setParameterChars(delimiter, assignment) { + + if (delimiter !== undefined) { + this[internalSymbol]['parameter']['delimiter'] = validateString(delimiter); + } + + if (assignment !== undefined) { + this[internalSymbol]['parameter']['assignment'] = validateString(assignment); + } + + return this; + } + + /** + * Set new Marker + * + * Default values for the markers are `${` and `}` + * + * ``` + * formatter.setMarker('#'); // open and close are both # + * formatter.setMarker('[',']'); + * formatter.setMarker('i18n{','}'); + * ``` + * + * @param {array|string} open + * @param {array|string|undefined} close + * @return {Formatter} + * @since 1.12.0 + * @throws {TypeError} value is not a string + */ + setMarker(open, close) { + + if (close === undefined) { + close = open; + } + + if (isString(open)) open = [open]; + if (isString(close)) close = [close]; + + this[internalSymbol]['marker']['open'] = validateArray(open); + this[internalSymbol]['marker']['close'] = validateArray(close); + return this; + } + + /** + * + * @param {string} text + * @return {string} + * @throws {TypeError} value is not a string + * @throws {Error} too deep nesting + */ + format(text) { + this[watchdogSymbol] = 0; + this[markerOpenIndexSymbol] = 0; + this[markerCloseIndexSymbol] = 0; + this[workingDataSymbol] = {}; + return format.call(this, text); + } + +} + +/** + * @private + * @return {string} + */ +function format(text) { + const self = this; + + self[watchdogSymbol]++; + if (this[watchdogSymbol] > 20) { + throw new Error('too deep nesting') + } + + let openMarker = self[internalSymbol]['marker']['open']?.[this[markerOpenIndexSymbol]]; + let closeMarker = self[internalSymbol]['marker']['close']?.[this[markerCloseIndexSymbol]]; + + // contains no placeholders + if (text.indexOf(openMarker) === -1 || text.indexOf(closeMarker) === -1) { + return text; + } + + let result = tokenize.call(this, validateString(text), openMarker, closeMarker) + + if (self[internalSymbol]['marker']['open']?.[this[markerOpenIndexSymbol] + 1]) { + this[markerOpenIndexSymbol]++; + } + + if (self[internalSymbol]['marker']['close']?.[this[markerCloseIndexSymbol] + 1]) { + this[markerCloseIndexSymbol]++; + } + + result = format.call(self, result) + + return result; +} + +/** + * @private + * @since 1.12.0 + * @param text + * @return {string} + */ +function tokenize(text, openMarker, closeMarker) { + const self = this; + + let formatted = []; + + const parameterAssignment = self[internalSymbol]['parameter']['assignment'] + const parameterDelimiter = self[internalSymbol]['parameter']['delimiter'] + const callbacks = self[internalSymbol]['callbacks']; + + while (true) { + + let startIndex = text.indexOf(openMarker); + // no marker + if (startIndex === -1) { + formatted.push(text); + break; + } else if (startIndex > 0) { + formatted.push(text.substring(0, startIndex)) + text = text.substring(startIndex) + } + + let endIndex = text.substring(openMarker.length).indexOf(closeMarker); + if (endIndex !== -1) endIndex += openMarker.length; + let insideStartIndex = text.substring(openMarker.length).indexOf(openMarker); + if (insideStartIndex !== -1) { + insideStartIndex += openMarker.length; + if (insideStartIndex < endIndex) { + let result = tokenize.call(self, text.substring(insideStartIndex), openMarker, closeMarker); + text = text.substring(0, insideStartIndex) + result + endIndex = text.substring(openMarker.length).indexOf(closeMarker); + if (endIndex !== -1) endIndex += openMarker.length; + } + } + + if (endIndex === -1) { + throw new Error("syntax error in formatter template") + return; + } + + let key = text.substring(openMarker.length, endIndex); + let parts = key.split(parameterDelimiter); + let currentPipe = parts.shift(); + + self[workingDataSymbol] = extend({}, self[internalObjectSymbol], self[workingDataSymbol]); + + for (const kv of parts) { + const [k, v] = kv.split(parameterAssignment); + self[workingDataSymbol][k] = v; + } + + const t1 = key.split('|').shift().trim(); // pipe symbol + const t2 = t1.split('::').shift().trim(); // key value delimiter + const t3 = t2.split('.').shift().trim(); // path delimiter + let prefix = self[workingDataSymbol]?.[t3] ? 'path:' : 'static:'; + + let command = ""; + if (prefix && key.indexOf(prefix) !== 0 + && key.indexOf('path:') !== 0 + && key.indexOf('static:') !== 0) { + command = prefix; + } + + command += currentPipe; + + const pipe = new Pipe(command); + + if (isObject(callbacks)) { + for (const [name, callback] of Object.entries(callbacks)) { + pipe.setCallback(name, callback); + } + } + + formatted.push(validateString(pipe.run(self[workingDataSymbol]))); + + text = text.substring(endIndex + closeMarker.length); + + } + + return formatted.join(''); +} + +assignToNamespace('Monster.Text', Formatter); +export {Monster, Formatter} diff --git a/application/source/text/namespace.js b/application/source/text/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..2bd5ddd7ec88fe4192638681588effc76d07f99f --- /dev/null +++ b/application/source/text/namespace.js @@ -0,0 +1,16 @@ +'use strict'; + +/** + * Namespace for texts. + * + * @namespace Monster.Text + * @memberOf Monster + * @author schukai GmbH + */ + + +/** + * @private + * @type {string} + */ +export const namespace = "Monster.Text"; \ No newline at end of file diff --git a/application/source/types/base.js b/application/source/types/base.js new file mode 100644 index 0000000000000000000000000000000000000000..74c6f1efc339d892b2fc8b688d7925121fe0070b --- /dev/null +++ b/application/source/types/base.js @@ -0,0 +1,50 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; + +/** + * This is the base class from which all monster classes are derived. + * + * You can call the method via the monster namespace `new Monster.Types.Base()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Types.Base() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/base.js'; + * new Base() + * </script> + * ``` + * + * The class was formerly called Object. + * + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +class Base extends Object { + + /** + * + * @returns {string} + */ + toString() { + return JSON.stringify(this); + }; + + +} + +assignToNamespace('Monster.Types', Base); +export {Monster, Base} diff --git a/application/source/types/basewithoptions.js b/application/source/types/basewithoptions.js new file mode 100644 index 0000000000000000000000000000000000000000..f100f37e6932b85b10ecabf3eada4db7dbda8441 --- /dev/null +++ b/application/source/types/basewithoptions.js @@ -0,0 +1,118 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {internalSymbol} from "../constants.js"; +import {extend} from "../data/extend.js"; +import {Pathfinder} from "../data/pathfinder.js"; +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from "./base.js"; +import {validateObject} from "./validate.js"; + +/** + * This is the base class with options from which some monster classes are derived. + * + * This class is actually only used as a base class. + * + * However, you can also create an instance directly via the monster namespace `new Monster.Types.BaseWithOptions()`. + * + * ```html + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Types.BaseWithOptions() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ```html + * <script type="module"> + * import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/basewithoptions.js'; + * new BaseWithOptions() + * </script> + * ``` + * + * Classes that require the possibility of options can be derived directly from this class. + * Derived classes almost always override the `defaul` getter with their own values. + * + * ```javascript + * class My extends BaseWithOptions { + * get defaults() { + * return Object.assign({}, super.defaults, { + * mykey: true + * }); + * } + * } + * ``` + * + * The class was formerly called Object. + * + * @since 1.13.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +class BaseWithOptions extends Base { + + /** + * + * @param {object} options + */ + constructor(options) { + super(); + + if (options === undefined) { + options = {}; + } + + this[internalSymbol] = extend({}, this.defaults, validateObject(options)); + + } + + /** + * This getter provides the options. Derived classes overwrite + * this getter with their own values. It is good karma to always include + * the values from the parent class. + * + * ```javascript + * get defaults() { + * return Object.assign({}, super.defaults, { + * mykey: true + * }); + * } + * + * ``` + * + * @return {object} + */ + get defaults() { + return {} + } + + /** + * nested options can be specified by path `a.b.c` + * + * @param {string} path + * @param {*} defaultValue + * @return {*} + * @since 1.10.0 + */ + getOption(path, defaultValue) { + let value; + + try { + value = new Pathfinder(this[internalSymbol]).getVia(path); + } catch (e) { + + } + + if (value === undefined) return defaultValue; + return value; + } + + +} + +assignToNamespace('Monster.Types', BaseWithOptions); +export {Monster, BaseWithOptions} diff --git a/application/source/types/binary.js b/application/source/types/binary.js new file mode 100644 index 0000000000000000000000000000000000000000..939b3452a3723af19b5cdd5f04c55ae31ff1d693 --- /dev/null +++ b/application/source/types/binary.js @@ -0,0 +1,92 @@ +'use strict'; + +import {assignToNamespace} from "../namespace.js"; + + +/** + * @author schukai GmbH + */ +import {Monster, validateString} from "./validate.js"; + +/** + * You can call the function via the monster namespace `Monster.Types.toBinary()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Types.toBinary() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {toBinary} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/binary.js'; + * toBinary() + * </script> + * ``` + * + * @param {String} binary + * @return {String} + * @throws {TypeError} value is not a string + * @memberOf Monster.Types + * @since 1.18.0 + */ +function toBinary(string) { + const codeUnits = new Uint16Array(validateString(string).length); + for (let i = 0; i < codeUnits.length; i++) { + codeUnits[i] = string.charCodeAt(i); + } + + const charCodes = new Uint8Array(codeUnits.buffer); + let result = ''; + + for (let i = 0; i < charCodes.byteLength; i++) { + result += String.fromCharCode(charCodes[i]); + } + + return result; +} + +/** + * You can call the function via the monster namespace `Monster.Types.fromBinary()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Types.fromBinary() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {fromBinary} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/binary.js'; + * fromBinary() + * </script> + * ``` + * + * @param {String} binary + * @return {String} + * @throws {TypeError} value is not a string + * @memberOf Monster.Types + * @since 1.18.0 + */ +function fromBinary(binary) { + const bytes = new Uint8Array(validateString(binary).length); + for (let i = 0; i < bytes.length; i++) { + bytes[i] = binary.charCodeAt(i); + } + const charCodes = new Uint16Array(bytes.buffer); + let result = ''; + for (let i = 0; i < charCodes.length; i++) { + result += String.fromCharCode(charCodes[i]); + } + return result; +} + + +assignToNamespace('Monster.Types', toBinary, fromBinary); +export {Monster, toBinary, fromBinary}; diff --git a/application/source/types/dataurl.js b/application/source/types/dataurl.js new file mode 100644 index 0000000000000000000000000000000000000000..4049ef55908f4c5ee47eded7d327c8999286dd5c --- /dev/null +++ b/application/source/types/dataurl.js @@ -0,0 +1,176 @@ +'use strict'; + +import {assignToNamespace} from "../namespace.js"; +/** + * @author schukai GmbH + */ +import {Base, Monster} from "./base.js"; +import {isString} from "./is.js"; +import {MediaType, parseMediaType} from "./mediatype.js"; +import {validateBoolean, validateInstance, validateString} from "./validate.js"; + +/** + * @private + * @type {symbol} + */ +const internal = Symbol('internal'); + +/** + * You can create an object via the monster namespace `new Monster.Types.DataUrl()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Types.DataUrl() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/dataurl.js'; + * new DataUrl() + * </script> + * ``` + * + * @since 1.8.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs + * @see https://datatracker.ietf.org/doc/html/rfc2397 + */ +class DataUrl extends Base { + + /** + * + * @param {String} content + * @param {String|Monster.Types.MediaType} mediatype + * @param {boolean} base64=true + */ + constructor(content, mediatype, base64) { + super(); + + if (isString(mediatype)) { + mediatype = parseMediaType(mediatype); + } + + this[internal] = { + content: validateString(content), + mediatype: validateInstance(mediatype, MediaType), + base64: validateBoolean(base64 === undefined ? true : base64) + } + + + } + + get content() { + return this[internal].base64 ? atob(this[internal].content) : this[internal].content; + } + + get mediatype() { + return this[internal].mediatype; + } + + + /** + * + * @return {string} + * @see https://datatracker.ietf.org/doc/html/rfc2397 + */ + toString() { + + let content = this[internal].content; + + if (this[internal].base64 === true) { + content = ';base64,' + content; + } else { + content = ',' + encodeURIComponent(content); + } + + return 'data:' + this[internal].mediatype.toString() + content; + } + +} + +/** + * You can call the function via the monster namespace `Monster.Types.parseDataURL()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.Types.parseDataURL()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/dataurl.js'; + * console.log(parseDataURL()) + * </script> + * ``` + * + * Specification: + * + * ``` + * dataurl := "data:" [ mediatype ] [ ";base64" ] "," data + * mediatype := [ type "/" subtype ] *( ";" parameter ) + * data := *urlchar + * parameter := attribute "=" value + * ``` + * + * @param {String} dataurl + * @return {Monster.Types.DataUrl} + * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs + * @see https://datatracker.ietf.org/doc/html/rfc2397 + * @throws {TypeError} incorrect or missing data protocol + * @throws {TypeError} malformed data url + * @memberOf Monster.Types + */ +function parseDataURL(dataurl) { + + validateString(dataurl); + + dataurl = dataurl.trim(); + + if (dataurl.substring(0, 5) !== 'data:') { + throw new TypeError('incorrect or missing data protocol') + } + + dataurl = dataurl.substring(5); + + let p = dataurl.indexOf(','); + if (p === -1) { + throw new TypeError('malformed data url') + } + + let content = dataurl.substring(p + 1); + let mediatypeAndBase64 = dataurl.substring(0, p).trim(); + let mediatype = 'text/plain;charset=US-ASCII'; + let base64Flag = false; + + if (mediatypeAndBase64 !== "") { + mediatype = mediatypeAndBase64; + if (mediatypeAndBase64.endsWith('base64')) { + let i = mediatypeAndBase64.lastIndexOf(';'); + mediatype = mediatypeAndBase64.substring(0, i); + base64Flag = true; + } else { + content = decodeURIComponent(content); + } + + mediatype = parseMediaType(mediatype); + } else { + content = decodeURIComponent(content); + } + + return new DataUrl(content, mediatype, base64Flag); + + +} + + +assignToNamespace('Monster.Types', parseDataURL, DataUrl); +export {Monster, parseDataURL, DataUrl}; diff --git a/application/source/types/id.js b/application/source/types/id.js new file mode 100644 index 0000000000000000000000000000000000000000..2f0f45e68656bd109e5f5c2828a2f625581bb0ce --- /dev/null +++ b/application/source/types/id.js @@ -0,0 +1,84 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from './base.js'; +import {validateString} from "./validate.js"; + +/** + * @private + * @type {Map<string, integer>} + */ +let internalCounter = new Map; + +/** + * With the id class, sequences of ids can be created. for this purpose, an internal counter is incremented for each prefix. + * thus, the first id with the prefix `myid` will be `myid1` and the second id `myid2`. + * The ids are the same for every call, for example on a web page. + * + * So the ids can also be used for navigation. you just have to take care that the order stays the same. + * + * You can call the method via the monster namespace `new Monster.Types.ID()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(new Monster.Types.ID()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/id.js'; + * console.log(new ID()) + * </script> + * ``` + * + * As of version 1.6.0 there is the new RandomID. this ID class is continuous from now on. + * + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @summary Automatic generation of ids + */ +class ID extends Base { + + /** + * create new id with prefix + * + * @param {string} prefix + */ + constructor(prefix) { + super(); + + if (prefix === undefined) { + prefix = "id"; + } + + validateString(prefix); + + if (!internalCounter.has(prefix)) { + internalCounter.set(prefix, 1); + } + + let count = internalCounter.get(prefix); + this.id = prefix + count; + + internalCounter.set(prefix, ++count); + } + + /** + * @return {string} + */ + toString() { + return this.id; + } + +} + +assignToNamespace('Monster.Types', ID); +export {Monster, ID} diff --git a/application/source/types/is.js b/application/source/types/is.js new file mode 100644 index 0000000000000000000000000000000000000000..533773ba88c5dd436c7e1472a57ef3ebbbca0edd --- /dev/null +++ b/application/source/types/is.js @@ -0,0 +1,429 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; + +/** + * With this function you can check if a value is iterable. + * + * This method is used in the library to have consistent names. + * + * You can call the method via the monster namespace `Monster.Types.isPrimitive()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Types.isIterable(null) // ↦ false + * Monster.Types.isIterable('hello') // ↦ true + * Monster.Types.isIterable([]) // ↦ true + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/is.js'; + * isIterable(null) // ↦ false + * isIterable('hello') // ↦ true + * isIterable([]) // ↦ true + * </script> + * ``` + * + * @param {*} value + * @returns {boolean} + * @since 1.2.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +function isIterable(value) { + if (value === undefined) return false; + if (value === null) return false; + return typeof value?.[Symbol.iterator] === 'function'; +} + + +/** + * Checks whether the value passed is a primitive (string, number, boolean, NaN, undefined, null or symbol) + * + * This method is used in the library to have consistent names. + * + * You can call the method via the monster namespace `Monster.Types.isPrimitive()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Types.isPrimitive('2') // ↦ false + * Monster.Types.isPrimitive([]) // ↦ true + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/is.js'; + * isPrimitive('2')) // ↦ true + * isPrimitive([])) // ↦ false + * </script> + * ``` + * + * @param {*} value + * @returns {boolean} + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +function isPrimitive(value) { + var type; + + if (value === undefined || value === null) { + return true; + } + + type = typeof value; + + if (type === 'string' || type === 'number' || type === 'boolean' || type === 'symbol') { + return true; + } + + return false; +} + +/** + * Checks whether the value passed is a symbol + * + * This method is used in the library to have consistent names. + * + * You can call the method via the monster namespace `Monster.Types.isSymbol()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Types.isSymbol('2') // ↦ false + * Monster.Types.isSymbol(Symbol('test') // ↦ true + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/is.js'; + * isSymbol(Symbol('a'))) // ↦ true + * isSymbol([]) // ↦ false + * </script> + * ``` + * + * @param {*} value + * @returns {boolean} + * @since 1.9.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +function isSymbol(value) { + return ('symbol' === typeof value) ? true : false; +} + +/** + * Checks whether the value passed is a boolean. + * + * This method is used in the library to have consistent names. + * + * You can call the method via the monster namespace `Monster.Types.isBoolean()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Types.isBoolean('2') // ↦ false + * Monster.Types.isBoolean([]) // ↦ false + * Monster.Types.isBoolean(true) // ↦ true + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/is.js'; + * isBoolean('2')) // ↦ false + * isBoolean([])) // ↦ false + * isBoolean(2>4)) // ↦ true + * </script> + * ``` + * + * @param {*} value + * @returns {boolean} + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +function isBoolean(value) { + + if (value === true || value === false) { + return true; + } + + return false; +} + +/** + * Checks whether the value passed is a string + * + * This method is used in the library to have consistent names. + * + * You can call the method via the monster namespace `Monster.Types.isString()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Types.isString('2') // ↦ true + * Monster.Types.isString([]) // ↦ false + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/is.js'; + * isString('2')) // ↦ true + * isString([])) // ↦ false + * </script> + * ``` + * + * @param {*} value + * @returns {boolean} + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +function isString(value) { + if (value === undefined || typeof value !== 'string') { + return false; + } + return true; +} + +/** + * Checks whether the value passed is a object + * + * This method is used in the library to have consistent names. + * + * You can call the method via the monster namespace `Monster.Types.isObject()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Types.isObject('2') // ↦ false + * Monster.Types.isObject([]) // ↦ false + * Monster.Types.isObject({}) // ↦ true + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/is.js'; + * isObject('2')) // ↦ false + * isObject([])) // ↦ false + * </script> + * ``` + * + * @param {*} value + * @returns {boolean} + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +function isObject(value) { + + if (isArray(value)) return false; + if (isPrimitive(value)) return false; + + if (typeof value === 'object') { + return true; + } + + return false; +} + +/** + * Checks whether the value passed is a object and instance of instance. + * + * This method is used in the library to have consistent names. + * + * you can call the method via the monster namespace `Monster.Types.isInstance()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Types.isInstance('2') // ↦ false + * Monster.Types.isInstance([]) // ↦ false + * Monster.Types.isInstance({}) // ↦ true + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/is.js'; + * isInstance('2')) // ↦ false + * isInstance([])) // ↦ false + * </script> + * ``` + * + * @param {*} value + * @param {*} instance + * @returns {boolean} + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +function isInstance(value, instance) { + + if (!isObject(value)) return false; + if (!isFunction(instance)) return false; + if (!instance.hasOwnProperty('prototype')) return false; + return (value instanceof instance) ? true : false; + +} + +/** + * Checks whether the value passed is a array + * + * This method is used in the library to have consistent names. + * + * you can call the method via the monster namespace `Monster.Types.isArray()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Types.isArray('2') // ↦ false + * Monster.Types.isArray([]) // ↦ true + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/is.js'; + * isArray('2')) // ↦ false + * isArray([])) // ↦ true + * </script> + * ``` + * + * @param {*} value + * @returns {boolean} + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @see https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray + */ +function isArray(value) { + return Array.isArray(value); +} + +/** + * Checks whether the value passed is a function + * + * This method is used in the library to have consistent names. + * + * you can call the method via the monster namespace `Monster.Types.isFunction()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Types.isFunction(()=>{}) // ↦ true + * Monster.Types.isFunction('2') // ↦ false + * Monster.Types.isFunction([]) // ↦ false + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/is.js'; + * isFunction(()=>{}) // ↦ true + * isFunction('2')) // ↦ false + * isFunction([])) // ↦ false + * </script> + * ``` + * + * @param {*} value + * @returns {boolean} + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +function isFunction(value) { + if (isArray(value)) return false; + if (isPrimitive(value)) return false; + + if (typeof value === 'function') { + return true; + } + + return false; + +} + +/** + * Checks whether the value passed is an integer. + * + * This method is used in the library to have consistent names. + * + * You can call the method via the monster namespace `Monster.Types.isFunction()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Types.isInteger(()=>{}) // ↦ true + * Monster.Types.isInteger('2') // ↦ false + * Monster.Types.isInteger(2) // ↦ true + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/is.js'; + * isInteger(()=>{}) // ↦ true + * isInteger('2')) // ↦ false + * isInteger(2)) // ↦ true + * </script> + * ``` + * + * @param {*} value + * @returns {boolean} + * @since 1.4.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +function isInteger(value) { + return Number.isInteger(value); +} + + +assignToNamespace('Monster.Types', isPrimitive, isBoolean, isString, isObject, isArray, isFunction, isIterable, isInteger, isSymbol); +export { + Monster, + isPrimitive, + isBoolean, + isString, + isObject, + isInstance, + isArray, + isFunction, + isIterable, + isInteger, + isSymbol +} diff --git a/application/source/types/mediatype.js b/application/source/types/mediatype.js new file mode 100644 index 0000000000000000000000000000000000000000..6b63573e955dfcc68d2a33894c088d3fcfdb0462 --- /dev/null +++ b/application/source/types/mediatype.js @@ -0,0 +1,236 @@ +'use strict'; + +import {assignToNamespace} from "../namespace.js"; +/** + * @author schukai GmbH + */ +import {Base, Monster} from "./base.js"; +import {isString} from "./is.js"; +import {validateArray, validateString} from "./validate.js"; + + +/** + * @private + * @type {symbol} + */ +const internal = Symbol('internal'); + +/** + * @typedef {Object} Parameter + * @property {string} key + * @property {string} value + * @memberOf Monster.Types + */ + + +/** + * You can create an object via the monster namespace `new Monster.Types.MediaType()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(new Monster.Types.MediaType()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/mediatype.js'; + * console.log(new MediaType()) + * </script> + * ``` + * + * @since 1.8.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +class MediaType extends Base { + + /** + * + * @param {String} type + * @param {String} subtype + * @param {Monster.Types.Parameter[]} parameter + */ + constructor(type, subtype, parameter) { + super(); + + this[internal] = { + type: validateString(type).toLowerCase(), + subtype: validateString(subtype).toLowerCase(), + parameter: [] + } + + if (parameter !== undefined) { + this[internal]['parameter'] = validateArray(parameter); + } + + + } + + /** + * @return {String} + */ + get type() { + return this[internal].type; + } + + /** + * @return {String} + */ + get subtype() { + return this[internal].subtype; + } + + /** + * @return {Monster.Types.Parameter[]} + */ + get parameter() { + return this[internal].parameter; + } + + /** + * + * + * @return {Map} + */ + get parameter() { + + const result = new Map + + this[internal]['parameter'].forEach(p => { + + let value = p.value; + + // internally special values are partly stored with quotes, this function removes them. + if (value.startsWith('"') && value.endsWith('"')) { + value = value.substring(1, value.length - 1); + } + + result.set(p.key, value); + }) + + + return result; + } + + /** + * + * @return {string} + */ + toString() { + + let parameter = []; + for (let a of this[internal].parameter) { + parameter.push(a.key + '=' + a.value); + } + + return this[internal].type + '/' + this[internal].subtype + (parameter.length > 0 ? ';' + parameter.join(';') : ''); + } + +} + +/** + * You can call the function via the monster namespace `Monster.Types.parseMediaType()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.Types.parseMediaType()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/dataurl.js'; + * console.log(parseMediaType()) + * </script> + * ``` + * + * Specification: + * + * ``` + * dataurl := "data:" [ mediatype ] [ ";base64" ] "," data + * mediatype := [ type "/" subtype ] *( ";" parameter ) + * data := *urlchar + * parameter := attribute "=" value + * ``` + * + * @param {String} mediatype + * @return {Monster.Types.MediaType} + * @see https://datatracker.ietf.org/doc/html/rfc2045#section-5.1 + * @throws {TypeError} the mimetype can not be parsed + * @throws {TypeError} blank value is not allowed + * @throws {TypeError} malformed data url + * @memberOf Monster.Types + */ +function parseMediaType(mediatype) { + + const regex = /(?<type>[A-Za-z]+|\*)\/(?<subtype>([a-zA-Z0-9.\+_\-]+)|\*|)(?<parameter>\s*;\s*([a-zA-Z0-9]+)\s*(=\s*("?[A-Za-z0-9_\-]+"?))?)*/g; + const result = regex.exec(validateString(mediatype)); + + const groups = result?.['groups']; + if (groups === undefined) { + throw new TypeError('the mimetype can not be parsed') + } + + const type = groups?.['type']; + const subtype = groups?.['subtype']; + const parameter = groups?.['parameter']; + + if (subtype === "" || type === "") { + throw new TypeError('blank value is not allowed'); + } + + return new MediaType(type, subtype, parseParameter(parameter)); + + +} + +/** + * @private + * @since 1.18.0 + * @param {String} parameter + * @return {Monster.Types.Parameter[]|undefined} + * @memberOf Monster.Types + */ +function parseParameter(parameter) { + + if (!isString(parameter)) { + return undefined; + } + + let result = []; + + parameter.split(';').forEach((entry) => { + + entry = entry.trim(); + if (entry === "") { + return; + } + + const kv = entry.split('=') + + let key = validateString(kv?.[0]).trim(); + let value = validateString(kv?.[1]).trim(); + + // if values are quoted, they remain so internally + result.push({ + key: key, + value: value + }) + + + }) + + return result; + +} + + +assignToNamespace('Monster.Types', parseMediaType, MediaType); +export {Monster, parseMediaType, MediaType}; diff --git a/application/source/types/namespace.js b/application/source/types/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..d379ec3ed5b505dad2dacb7929c12917f77ceec5 --- /dev/null +++ b/application/source/types/namespace.js @@ -0,0 +1,16 @@ +'use strict'; + +/** + * Namespace for types. + * + * @namespace Monster.Types + * @memberOf Monster + * @author schukai GmbH + */ + + +/** + * @private + * @type {string} + */ +export const namespace = "Monster.Types"; \ No newline at end of file diff --git a/application/source/types/node.js b/application/source/types/node.js new file mode 100644 index 0000000000000000000000000000000000000000..ad4093ab2697b9aa113edff6448734019cef651c --- /dev/null +++ b/application/source/types/node.js @@ -0,0 +1,210 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + + +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from './base.js'; +import {isPrimitive} from "./is.js"; +import {NodeList} from './nodelist.js'; +import {validateInstance} from './validate.js'; + +/** + * @private + * @type {symbol} + */ +const internalValueSymbol = Symbol('internalData'); + +/** + * @private + * @type {symbol} + */ +const treeStructureSymbol = Symbol('treeStructure'); + + +/** + * You can create the instance via the monster namespace `new Monster.Types.Node()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Types.Node() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Node} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/node.js'; + * new Node() + * </script> + * ``` + * + * @since 1.26.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @summary A Node Class + * @see https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Iteration_protocols + */ +class Node extends Base { + + /** + * @param {*} [value] + */ + constructor(value) { + super(); + this[internalValueSymbol] = value; + + this[treeStructureSymbol] = { + parent: null, + childNodes: new NodeList, + level: 0 + } + + } + + /** + * @property {*} + */ + get value() { + return this[internalValueSymbol]; + } + + /** + * @property {*} + */ + set value(value) { + this[internalValueSymbol] = value; + } + + /** + * @property {Monster.Types.Node|null} + */ + get parent() { + return this[treeStructureSymbol].parent; + } + + /** + * @property {integer} + */ + get level() { + return this[treeStructureSymbol].level; + } + + /** + * + * @property {NodeList} + */ + get childNodes() { + return this[treeStructureSymbol].childNodes; + } + + /** + * + * @property {NodeList} + */ + set childNodes(childNodes) { + this[treeStructureSymbol].childNodes = validateInstance(childNodes, NodeList); + setChildLevelAndParent.call(this, this, 1); + } + + /** + * @return {Monster.Types.Node} + * @param {Node} node + */ + appendChild(node) { + this[treeStructureSymbol].childNodes.add(validateInstance(node, Node)); + node[treeStructureSymbol].parent = this; + + node[treeStructureSymbol].level = this.level + 1; + setChildLevelAndParent.call(this, node, 1); + return this; + } + + /** + * @return {Monster.Types.Node} + * @param {Node} node + */ + removeChild(node) { + this[treeStructureSymbol].childNodes.remove(validateInstance(node, Node)); + node[treeStructureSymbol].parent = null; + + node[treeStructureSymbol].level = 0; + setChildLevelAndParent.call(this, node, -1); + return this; + } + + /** + * + * @return {boolean} + */ + hasChildNodes() { + return this[treeStructureSymbol].childNodes.length > 0; + } + + /** + * @return {Monster.Types.Node} + * @param {Node} node + */ + hasChild(node) { + return this[treeStructureSymbol].childNodes.has(validateInstance(node, Node)); + } + + /** + * @since 1.28.0 + * @return {string} + */ + toString() { + + let parts = []; + if (this[internalValueSymbol]) { + let label = this[internalValueSymbol]; + if (!isPrimitive(label)) label = JSON.stringify(this[internalValueSymbol]) + + parts.push( label); + } + + if (!this.hasChildNodes()) { + return parts.join("\n"); + } + + let count = this.childNodes.length, + counter = 0; + + for (const node of this.childNodes) { + counter++; + const prefix = (count === counter ? '└' : '├').padStart(2 * node.level, ' |'); + parts.push(prefix + node.toString()); + } + + return parts.join("\n"); + } + +} + +/** + * @private + * @param {Node} node + * @param {int} operand + * @return {setChildLevelAndParent} + */ +function setChildLevelAndParent(node, operand) { + const self = this; + + if (node !== this) { + node[treeStructureSymbol].parent = this + } + + node[treeStructureSymbol].childNodes.forEach(function (child) { + child[treeStructureSymbol].parent = node; + child[treeStructureSymbol].level = node[treeStructureSymbol].level + operand; + setChildLevelAndParent.call(self, child, operand); + }); + return this; +} + +assignToNamespace('Monster.Types', Node); +export {Monster, Node} diff --git a/application/source/types/nodelist.js b/application/source/types/nodelist.js new file mode 100644 index 0000000000000000000000000000000000000000..49437d21a60e1b1bd201b2e6407a2db2730c2bed --- /dev/null +++ b/application/source/types/nodelist.js @@ -0,0 +1,129 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {isArray, isInstance} from "./is.js"; +import {Node} from "./node.js"; +import {validateInstance} from "./validate.js"; + +/** + * You can create the instance via the monster namespace `new Monster.Types.NodeList()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Types.NodeList() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {NodeList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/nodelist.js'; + * new NodeList() + * </script> + * ``` + * + * @since 1.26.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @summary A NodeList class + */ +class NodeList extends Set { + + /** + * @throws {Error} invalid value type + * @param {NodeList|Node|Array<Node>}values + */ + constructor(values) { + super(); + + const self = this + + if(values===undefined) return; + + if (isArray(values)) { + values.forEach(value => self.add(value)); + } else if (isInstance(values, NodeList)) { + values.forEach(value => self.add(value)); + } else if (isInstance(values, Node)) { + self.add(values); + } else { + throw new Error('invalid value type'); + } + } + + /** + * + * @param {Node} node + * @return {Monster.Types.NodeList} + */ + add(node) { + super.add(validateInstance(node, Node)); + return this; + } + + /** + * @param {Node} node + * @returns {NodeList} + */ + remove(node) { + super.delete(validateInstance(node, Node)); + return this; + } + + /** + * @param {Node} node + * @returns {boolean} + */ + has(node) { + return super.has(validateInstance(node, Node)); + return false; + } + + /** + * @returns {NodeList} + */ + clear() { + super.clear(); + return this; + } + + /** + * @returns {NodeList} + */ + toArray() { + return Array.from(this); + } + + /** + * @returns {NodeList} + */ + toJSON() { + return this.toArray(); + } + + /** + * @returns {NodeList} + */ + toString() { + let parts = []; + + for(const node of this.toArray()) { + parts.push(node.toString()) + } + + return parts.join("\n"); + } + + get length() { + return super.size; + } +} + + +assignToNamespace('Monster.Types', NodeList); +export {Monster, NodeList} diff --git a/application/source/types/noderecursiveiterator.js b/application/source/types/noderecursiveiterator.js new file mode 100644 index 0000000000000000000000000000000000000000..4fe8f6d2b32cf14ece033a388bb34e650d8f111c --- /dev/null +++ b/application/source/types/noderecursiveiterator.js @@ -0,0 +1,148 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + + +import {internalSymbol} from "../constants.js"; +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from './base.js'; +import {isInstance} from "./is.js"; +import {Node} from "./node.js"; +import {NodeList} from "./nodelist.js"; +import {validateInstance} from "./validate.js"; + + +/** + * @private + * @type {symbol} + */ +const isNodeListSymbol = Symbol('isNodeList'); + +/** + * You can create the instance via the monster namespace `new Monster.Types.NodeRecursiveIterator()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Types.NodeRecursiveIterator() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {NodeRecursiveIterator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/noderecursiveiterator.js'; + * new NodeRecursiveIterator() + * </script> + * ``` + * + * @example + * import {Node} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/node.js'; + * import {NodeRecursiveIterator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/noderecursiveiterator.js'; + * + * const node =new Node('1') + * + * // 1 + * // 2 + * // ├ 2.1 + * // ├ 2.2 + * // └ 2.3 + * // 3 + * // 4 + * // ├ 4.1 + * // └ 4.2 + * node.appendChild( + * (new Node('2')) + * .appendChild(new Node('2.1')) + * .appendChild(new Node('2.2')) + * .appendChild(new Node('2.3'))) + * .appendChild(new Node('3')) + * .appendChild(new Node('4') + * .appendChild(new Node('4.1')) + * .appendChild(new Node('4.2'))); + * + * const iterator = new NodeRecursiveIterator(node); + * + * const result = []; + * for (const n of iterator) { + * result.push(n.value); + * } + * + * // ↦ ['1', '2', '2.1', '2.2', '2.3', '3', '4', '4.1', '4.2'] + * + * @since 1.26.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @summary An iterator to run recursively through a tree of nodes + */ +class NodeRecursiveIterator extends Base { + + /** + * @param {Node} [data] + */ + constructor(node) { + super(); + + this[isNodeListSymbol] = false; + + // iterator is a nodelist + if (isInstance(node, NodeList)) { + let children = node; + node = new Node(); + node.childNodes = children; + this[isNodeListSymbol] = true; + } + + this[internalSymbol] = validateInstance(node, Node); + } + + /** + * @private + * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/yield + */ + [Symbol.iterator] = function* () { + + /** + * The end of the generator function is reached. In this case, execution of the generator + * ends and an IteratorResult is returned to the caller in which the value is undefined and done is true. + * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/yield + */ + if (this[internalSymbol] === undefined) { + return; + } + + // iterator is a nodelist and the main node is only a placeholder + if (this[isNodeListSymbol] !== true) { + yield this[internalSymbol]; + } + + if (this[internalSymbol].hasChildNodes()) { + let childNodes = this[internalSymbol].childNodes; + + for (let node of childNodes) { + yield* new NodeRecursiveIterator(node); + } + } + + return; + } + + /** + * @param {function} callback + * @return {Monster.Types.NodeRecursiveIterator} + */ + forEach(callback) { + for (const node of this) { + callback(node); + } + return this; + } + +} + + +assignToNamespace('Monster.Types', NodeRecursiveIterator); +export {Monster, NodeRecursiveIterator} diff --git a/application/source/types/observer.js b/application/source/types/observer.js new file mode 100644 index 0000000000000000000000000000000000000000..4c65e9f2a458bef4eddbb82fb784631f7a0f4066 --- /dev/null +++ b/application/source/types/observer.js @@ -0,0 +1,176 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from './base.js'; +import {isObject} from './is.js'; +import {TokenList} from './tokenlist.js'; +import {UniqueQueue} from './uniquequeue.js'; + +/** + * An observer manages a callback function + * + * You can call the method via the monster namespace `new Monster.Types.Observer()`. + * + * ``` + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Types.Observer() + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/observer.js'; + * new Observer() + * ``` + * + * The update method is called with the subject object as this pointer. For this reason the callback should not + * be an arrow function, because it gets the this pointer of its own context. + * + * ``` + * new Observer(()=>{ + * // this is not subject + * }) + * + * new Observer(function() { + * // this is subject + * }) + * ``` + * + * Additional arguments can be passed to the callback. To do this, simply specify them. + * + * ``` + * Observer(function(a, b, c) { + * console.log(a, b, c); // ↦ "a", 2, true + * }, "a", 2, true) + * ``` + * + * The callback function must have as many parameters as arguments are given. + * + * @example + * + * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/observer.js'; + * + * const observer = new Observer(function(a, b, c) { + * console.log(this, a, b, c); // ↦ "a", 2, true + * }, "a", 2, true); + * + * observer.update({value:true}).then(()=>{}); + * // ↦ {value: true} "a" 2 true + * + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +class Observer extends Base { + + /** + * + * @param {function} callback + * @param {*} args + */ + constructor(callback, ...args) { + super(); + + if (typeof callback !== 'function') { + throw new Error("observer callback must be a function") + } + + this.callback = callback; + this.arguments = args; + this.tags = new TokenList; + this.queue = new UniqueQueue(); + } + + /** + * + * @param {string} tag + * @returns {Observer} + */ + addTag(tag) { + this.tags.add(tag); + return this; + } + + /** + * + * @param {string} tag + * @returns {Observer} + */ + removeTag(tag) { + this.tags.remove(tag); + return this; + } + + /** + * + * @returns {Array} + */ + getTags() { + return this.tags.entries() + } + + /** + * + * @param {string} tag + * @returns {boolean} + */ + hasTag(tag) { + return this.tags.contains(tag) + } + + /** + * + * @param {object} subject + * @returns {Promise} + */ + update(subject) { + let self = this; + + return new Promise(function (resolve, reject) { + if (!isObject(subject)) { + reject("subject must be an object"); + return; + } + + self.queue.add(subject); + + setTimeout(() => { + + try { + // the queue and the settimeout ensure that an object is not + // informed of the same change more than once. + if (self.queue.isEmpty()) { + resolve(); + return; + } + + let s = self.queue.poll(); + let result = self.callback.apply(s, self.arguments); + + if (isObject(result) && result instanceof Promise) { + result.then(resolve).catch(reject); + return; + } + + resolve(result); + + } catch (e) { + reject(e); + } + }, 0) + + }); + + }; + +} + +assignToNamespace('Monster.Types', Observer); +export {Monster, Observer} + + + diff --git a/application/source/types/observerlist.js b/application/source/types/observerlist.js new file mode 100644 index 0000000000000000000000000000000000000000..8b667bda2bf7f2e69a0718539d6b3057da2e147e --- /dev/null +++ b/application/source/types/observerlist.js @@ -0,0 +1,118 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from './base.js'; +import {Observer} from "./observer.js"; +import {validateInstance} from "./validate.js"; + +/** + * With the help of the ObserverList class, observer can be managed. + * + * You can call the method via the monster namespace `new Monster.Types.ObserverList()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(new Monster.Types.ObserverList()) + * console.log(new Monster.Types.ObserverList()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/observerlist.js'; + * console.log(ObserverList()) + * console.log(ObserverList()) + * </script> + * ``` + * + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +class ObserverList extends Base { + + /** + * + */ + constructor() { + super(); + this.observers = []; + } + + /** + * + * @param {Observer} observer + * @return {ObserverList} + * @throws {TypeError} value is not an instance of Observer + */ + attach(observer) { + validateInstance(observer, Observer) + + this.observers.push(observer); + return this; + }; + + /** + * + * @param {Observer} observer + * @return {ObserverList} + * @throws {TypeError} value is not an instance of Observer + */ + detach(observer) { + validateInstance(observer, Observer) + + var i = 0, l = this.observers.length; + for (; i < l; i++) { + if (this.observers[i] === observer) { + this.observers.splice(i, 1); + } + } + + return this; + }; + + /** + * + * @param {Observer} observer + * @return {boolean} + * @throws {TypeError} value is not an instance of Observer + */ + contains(observer) { + validateInstance(observer, Observer) + var i = 0, l = this.observers.length; + for (; i < l; i++) { + if (this.observers[i] === observer) { + return true; + } + } + return false; + }; + + /** + * + * @param subject + * @return {Promise} + */ + notify(subject) { + + let pomises = [] + + let i = 0, l = this.observers.length; + for (; i < l; i++) { + pomises.push(this.observers[i].update(subject)); + } + + return Promise.all(pomises); + }; + +} + +assignToNamespace('Monster.Types', ObserverList); +export {Monster, ObserverList} diff --git a/application/source/types/package.d.ts b/application/source/types/package.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2202f177583ba752d92030c12cf2e66e014de840 --- /dev/null +++ b/application/source/types/package.d.ts @@ -0,0 +1 @@ +export declare let Monster: Object; \ No newline at end of file diff --git a/application/source/types/proxyobserver.js b/application/source/types/proxyobserver.js new file mode 100644 index 0000000000000000000000000000000000000000..d2d388bca1af70847d7f07334c128d107a0a9c3e --- /dev/null +++ b/application/source/types/proxyobserver.js @@ -0,0 +1,299 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from './base.js'; +import {isArray, isObject, isPrimitive} from "./is.js"; +import {Observer} from "./observer.js"; +import {ObserverList} from "./observerlist.js"; +import {validateObject} from "./validate.js"; +import {extend} from "../data/extend.js"; + +/** + * An observer manages a callback function + * + * You can call create the class via the monster namespace `new Monster.Types.ProxyObserver()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Types.ProxyObserver() + * </script> + * ``` + * + * Alternatively, you can also integrate this class individually. + * + * ``` + * <script type="module"> + * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/proxyobserver.js'; + * new ProxyObserver() + * </script> + * ``` + * + * with the ProxyObserver you can attach observer for observation. with each change at the object to be observed an update takes place. + * + * this also applies to nested objects. + * + * @example + * + * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/proxyobserver.js'; + * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/observer.js'; + * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/is.js'; + * + * const o = new Observer(function () { + * if (isObject(this) && this instanceof ProxyObserver) { + * // do something (this ist ProxyObserver) + * const subject = this.getSubject(); + * console.log(subject); + * } + * }); + * + * let realSubject = { + * a: { + * b: { + * c: true + * }, + * d: 9 + * } + * } + * + * const p = new ProxyObserver(realSubject); + * p.attachObserver(o); + * const s = p.getSubject(); + * s.a.b.c = false; + * + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +class ProxyObserver extends Base { + + /** + * + * @param {object} object + * @throws {TypeError} value is not a object + */ + constructor(object) { + super(); + + this.realSubject = validateObject(object); + this.subject = new Proxy(object, getHandler.call(this)); + + this.objectMap = new WeakMap(); + this.objectMap.set(this.realSubject, this.subject); + + this.proxyMap = new WeakMap(); + this.proxyMap.set(this.subject, this.realSubject); + + this.observers = new ObserverList; + } + + /** + * get the real object + * + * changes to this object are not noticed by the observers, so you can make a large number of changes and inform the observers later. + * + * @returns {object} + */ + getSubject() { + return this.subject + } + + /** + * @since 1.24.0 + * @param {Object} obj + * @return {Monster.Types.ProxyObserver} + */ + setSubject(obj) { + + let i, k = Object.keys(this.subject); + for (i = 0; i < k.length; i++) { + delete this.subject[k[i]]; + } + + this.subject = extend(this.subject, obj); + return this; + } + + /** + * get the proxied object + * + * @returns {object} + */ + getRealSubject() { + return this.realSubject + } + + /** + * attach a new observer + * + * @param {Observer} observer + * @returns {ProxyObserver} + */ + attachObserver(observer) { + this.observers.attach(observer) + return this; + } + + /** + * detach a observer + * + * @param {Observer} observer + * @returns {ProxyObserver} + */ + detachObserver(observer) { + this.observers.detach(observer) + return this; + } + + /** + * notify all observer + * + * @returns {Promise} + */ + notifyObservers() { + return this.observers.notify(this); + } + + /** + * @param {Observer} observer + * @returns {boolean} + */ + containsObserver(observer) { + return this.observers.contains(observer) + } + +} + +assignToNamespace('Monster.Types', ProxyObserver); +export {Monster, ProxyObserver} + +/** + * + * @returns {{defineProperty: (function(*=, *=, *=): *), setPrototypeOf: (function(*, *=): boolean), set: (function(*, *, *, *): boolean), get: ((function(*=, *=, *=): (undefined))|*), deleteProperty: ((function(*, *): (boolean))|*)}} + * @private + * @see {@link https://gitlab.schukai.com/-/snippets/49} + */ +function getHandler() { + + const proxy = this; + + // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots + const handler = { + + // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-get-p-receiver + get: function (target, key, receiver) { + + const value = Reflect.get(target, key, receiver); + + if (typeof key === "symbol") { + return value; + } + + if (isPrimitive(value)) { + return value; + } + + // set value as proxy if object or array + if ((isArray(value) || isObject(value))) { + if (proxy.objectMap.has(value)) { + return proxy.objectMap.get(value); + } else if (proxy.proxyMap.has(value)) { + return value; + } else { + let p = new Proxy(value, handler); + proxy.objectMap.set(value, p); + proxy.proxyMap.set(p, value); + return p; + } + + } + + return value; + + }, + + // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-set-p-v-receiver + set: function (target, key, value, receiver) { + + if (proxy.proxyMap.has(value)) { + value = proxy.proxyMap.get(value); + } + + if (proxy.proxyMap.has(target)) { + target = proxy.proxyMap.get(target); + } + + let current = Reflect.get(target, key, receiver); + if (proxy.proxyMap.has(current)) { + current = proxy.proxyMap.get(current); + } + + if (current === value) { + return true; + } + + let result; + let descriptor = Reflect.getOwnPropertyDescriptor(target, key); + + if (descriptor === undefined) { + descriptor = { + writable: true, + enumerable: true, + configurable: true + } + } + + descriptor['value'] = value; + result = Reflect.defineProperty(target, key, descriptor); + + if (typeof key !== "symbol") { + proxy.observers.notify(proxy); + } + + return result; + }, + + + // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-delete-p + deleteProperty: function (target, key) { + if (key in target) { + delete target[key]; + + if (typeof key !== "symbol") { + proxy.observers.notify(proxy); + } + + return true; + } + return false; + }, + + // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-desc + defineProperty: function (target, key, descriptor) { + + let result = Reflect.defineProperty(target, key, descriptor); + if (typeof key !== "symbol") { + proxy.observers.notify(proxy); + } + return result; + }, + + // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v + setPrototypeOf: function (target, key) { + let result = Reflect.setPrototypeOf(object1, key); + + if (typeof key !== "symbol") { + proxy.observers.notify(proxy); + } + + return result; + } + + }; + + + return handler; +} diff --git a/application/source/types/queue.js b/application/source/types/queue.js new file mode 100644 index 0000000000000000000000000000000000000000..898304a91b0ef709afd8b382ebc517f4c743b7f0 --- /dev/null +++ b/application/source/types/queue.js @@ -0,0 +1,125 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from './base.js'; + +/** + * You can create the instance via the monster namespace `new Monster.Types.Queue()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Types.Queue() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/queue.js'; + * new Queue() + * </script> + * ``` + * + * @example + * + * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/queue.js'; + * + * const queue = new Queue; + * + * queue.add(2); + * queue.add(true); + * queue.add("Hello"); + * queue.add(4.5); + * + * console.log(queue.poll()); + * // ↦ 2 + * console.log(queue.poll()); + * // ↦ true + * console.log(queue.poll()); + * // ↦ "Hello" + * console.log(queue.poll()); + * // ↦ 4.5 + * console.log(queue.poll()); + * // ↦ undefined + * + * + * @since 1.4.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @summary A Queue (Fifo) + */ +class Queue extends Base { + + /** + * + */ + constructor() { + super(); + this.data = []; + } + + + /** + * @return {boolean} + */ + isEmpty() { + return this.data.length === 0; + } + + /** + * Read the element at the front of the queue without removing it. + * + * @return {*} + */ + peek() { + if (this.isEmpty()) { + return undefined; + } + + return this.data[0]; + } + + /** + * Add a new element to the end of the queue. + * + * @param {*} value + * @returns {Queue} + */ + add(value) { + this.data.push(value) + return this; + } + + /** + * remove all entries + * + * @returns {Queue} + */ + clear() { + this.data = []; + return this; + } + + /** + * Remove the element at the front of the queue + * If the queue is empty, return undefined. + * + * @return {*} + */ + poll() { + if (this.isEmpty()) { + return undefined; + } + return this.data.shift(); + } + + +} + +assignToNamespace('Monster.Types', Queue); +export {Monster, Queue} diff --git a/application/source/types/randomid.js b/application/source/types/randomid.js new file mode 100644 index 0000000000000000000000000000000000000000..f7333f8822abab3ee7da85a533a68161bd4d0f27 --- /dev/null +++ b/application/source/types/randomid.js @@ -0,0 +1,60 @@ +'use strict'; + +import {random} from "../math/random.js"; +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {getGlobal} from "./global.js"; +import {ID} from "./id.js"; + +/** + * @private + * @type {number} + */ +let internalCounter = 0; + +/** + * You can call the method via the monster namespace `new Monster.Types.RandomID()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(new Monster.Types.RandomID()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/randomid.js'; + * console.log(new RandomID()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @summary class to generate random numbers + */ +class RandomID extends ID { + + /** + * create new object + */ + constructor() { + super(); + + internalCounter += 1; + + this.id = getGlobal().btoa(random(1, 10000)) + .replace(/=/g, '') + /** No numbers at the beginning of the ID, because of possible problems with DOM */ + .replace(/^[0-9]+/, 'X') + internalCounter; + } + +} + +assignToNamespace('Monster.Types', RandomID); +export {Monster, RandomID} diff --git a/application/source/types/regex.js b/application/source/types/regex.js new file mode 100644 index 0000000000000000000000000000000000000000..14aefb3278d5ac608fb49c612f84592615f4fcb4 --- /dev/null +++ b/application/source/types/regex.js @@ -0,0 +1,49 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + + +import {assignToNamespace, Monster} from "../namespace.js"; +import {validateString} from "./validate.js"; + +/** + * This function prefixes all special characters that may appear in a regex with a slash. + * + * You can call the method via the monster namespace `Monster.Types.escapeString()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Types.escapeString() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {escapeString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/validate.js'; + * escapeString() + * </script> + * ``` + * + * @param {string} value + * @return {string} + * @since 1.26.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @throws {TypeError} value is not a string + */ +function escapeString(value) { + return validateString(value) + .replace(/[|\\{}()[\]^$+*?.]/g, '\\$&') + .replace(/-/g, '\\x2d'); +} + +assignToNamespace('Monster.Types', escapeString); +export { + Monster, + escapeString +} diff --git a/application/source/types/stack.js b/application/source/types/stack.js new file mode 100644 index 0000000000000000000000000000000000000000..73807939c1dc0c56055d8ac0e1b17faad56e3741 --- /dev/null +++ b/application/source/types/stack.js @@ -0,0 +1,103 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from './base.js'; + +/** + * You can call the method via the monster namespace `new Monster.Types.Queue()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(new Monster.Types.Stack()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/stack.js'; + * console.log(new Stack()) + * </script> + * ``` + * + * @since 1.4.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +class Stack extends Base { + + /** + * + */ + constructor() { + super(); + this.data = []; + } + + + /** + * @return {boolean} + */ + isEmpty() { + return this.data.length === 0; + } + + /** + * looks at the object at the top of this stack without removing it from the stack. + * + * @return {*} + */ + peek() { + if (this.isEmpty()) { + return undefined; + } + + return this.data?.[this.data.length - 1]; + } + + /** + * pushes an item onto the top of this stack. + * + * @param {*} value + * @returns {Queue} + */ + push(value) { + this.data.push(value) + return this; + } + + /** + * remove all entries + * + * @returns {Queue} + */ + clear() { + this.data = []; + return this; + } + + /** + * removes the object at the top of this stack and returns + * that object as the value of this function. is the stack empty + * the return value is undefined. + * + * @return {*} + */ + pop() { + if (this.isEmpty()) { + return undefined; + } + return this.data.pop(); + } + + +} + +assignToNamespace('Monster.Types', Stack); +export {Monster, Stack} diff --git a/application/source/types/tokenlist.js b/application/source/types/tokenlist.js new file mode 100644 index 0000000000000000000000000000000000000000..d82f92b33354f43c4b71239ae2ff262caeb326ae --- /dev/null +++ b/application/source/types/tokenlist.js @@ -0,0 +1,314 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {isIterable, isString} from '../types/is.js'; +import {validateFunction, validateString} from '../types/validate.js'; +import {Base} from './base.js'; + +/** + * A tokenlist allows you to manage tokens (individual character strings such as css classes in an attribute string). + * + * The tokenlist offers various functions to manipulate values. For example, you can add, remove or replace a class in a CSS list. + * + * You can call the method via the monster namespace `new Monster.Types.TokenList()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Types.TokenList("myclass row") + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/tokenlist.js'; + * new TokenList("myclass row") + * </script> + * ``` + * + * This class implements the [iteration protocol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). + * + * ``` + * typeof new TokenList("myclass row")[Symbol.iterator]; + * // ↦ "function" + * ``` + * + * @since 1.2.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + */ +class TokenList extends Base { + + /** + * + * @param {array|string|iteratable} init + */ + constructor(init) { + super(); + this.tokens = new Set(); + + if (typeof init !== "undefined") { + this.add(init); + } + + } + + /** + * Iterator protocol + * + * @returns {Symbol.iterator} + */ + getIterator() { + return this[Symbol.iterator](); + } + + /** + * Iterator + * + * @returns {{next: ((function(): ({value: *, done: boolean}))|*)}} + */ + [Symbol.iterator]() { + // Use a new index for each iterator. This makes multiple + // iterations over the iterable safe for non-trivial cases, + // such as use of break or nested looping over the same iterable. + let index = 0; + let entries = this.entries() + + return { + next: () => { + if (index < entries.length) { + return {value: entries?.[index++], done: false} + } else { + return {done: true} + } + } + } + } + + /** + * Returns true if it contains token, otherwise false + * + * ``` + * new TokenList("start middle end").contains('start')); // ↦ true + * new TokenList("start middle end").contains('end')); // ↦ true + * new TokenList("start middle end").contains('xyz')); // ↦ false + * new TokenList("start middle end").contains(['end','start','middle'])); // ↦ true + * new TokenList("start middle end").contains(['end','start','xyz'])); // ↦ false + * ``` + * + * @param {array|string|iteratable} value + * @returns {boolean} + */ + contains(value) { + if (isString(value)) { + value = value.trim() + let counter = 0; + value.split(" ").forEach(token => { + if (this.tokens.has(token.trim()) === false) return false; + counter++ + }) + return counter > 0 ? true : false; + } + + if (isIterable(value)) { + let counter = 0; + for (let token of value) { + validateString(token); + if (this.tokens.has(token.trim()) === false) return false; + counter++ + } + return counter > 0 ? true : false; + } + + return false; + } + + /** + * add tokens + * + * ``` + * new TokenList().add("abc xyz").toString(); // ↦ "abc xyz" + * new TokenList().add(["abc","xyz"]).toString(); // ↦ "abc xyz" + * new TokenList().add(undefined); // ↦ add nothing + * ``` + * + * @param {array|string|iteratable} value + * @returns {TokenList} + * @throws {TypeError} unsupported value + */ + add(value) { + if (isString(value)) { + value.split(" ").forEach(token => { + this.tokens.add(token.trim()); + }) + } else if (isIterable(value)) { + for (let token of value) { + validateString(token); + this.tokens.add(token.trim()); + } + } else if (typeof value !== "undefined") { + throw new TypeError("unsupported value"); + } + + return this; + } + + /** + * remove all tokens + * + * @returns {TokenList} + */ + clear() { + this.tokens.clear(); + return this; + } + + /** + * Removes token + * + * ``` + * new TokenList("abc xyz").remove("xyz").toString(); // ↦ "abc" + * new TokenList("abc xyz").remove(["xyz"]).toString(); // ↦ "abc" + * new TokenList("abc xyz").remove(undefined); // ↦ remove nothing + * ``` + * + * @param {array|string|iteratable} value + * @returns {TokenList} + * @throws {TypeError} unsupported value + */ + remove(value) { + if (isString(value)) { + value.split(" ").forEach(token => { + this.tokens.delete(token.trim()); + }) + } else if (isIterable(value)) { + for (let token of value) { + validateString(token); + this.tokens.delete(token.trim()); + } + } else if (typeof value !== "undefined") { + throw new TypeError("unsupported value", "types/tokenlist.js"); + } + + return this; + } + + /** + * this method replaces a token with a new token. + * + * if the passed token exists, it is replaced with newToken and TokenList is returned. + * if the token does not exist, newToken is not set and TokenList is returned. + * + * @param {string} token + * @param {string} newToken + * @returns {TokenList} + */ + replace(token, newToken) { + validateString(token); + validateString(newToken); + if (!this.contains(token)) { + return this; + } + + let a = Array.from(this.tokens) + let i = a.indexOf(token); + if (i === -1) return this; + + a.splice(i, 1, newToken); + this.tokens = new Set(); + this.add(a); + + return this; + + + } + + /** + * Removes token from string. If token doesn't exist it's added. + * + * ``` + * new TokenList("abc def ghi").toggle("def xyz").toString(); // ↦ "abc ghi xyz" + * new TokenList("abc def ghi").toggle(["abc","xyz"]).toString(); // ↦ "def ghi xyz" + * new TokenList().toggle(undefined); // ↦ nothing + * ``` + * + * @param {array|string|iteratable} value + * @returns {boolean} + * @throws {TypeError} unsupported value + */ + toggle(value) { + + if (isString(value)) { + value.split(" ").forEach(token => { + toggleValue.call(this, token); + }) + } else if (isIterable(value)) { + for (let token of value) { + toggleValue.call(this, token); + } + } else if (typeof value !== "undefined") { + throw new TypeError("unsupported value", "types/tokenlist.js"); + } + + return this; + + } + + /** + * returns an array with all tokens + * + * @returns {array} + */ + entries() { + return Array.from(this.tokens) + } + + /** + * executes the provided function with each value of the set + * + * @param {function} callback + * @returns {TokenList} + */ + forEach(callback) { + validateFunction(callback); + this.tokens.forEach(callback); + return this; + } + + /** + * returns the individual tokens separated by a blank character + * + * @returns {string} + */ + toString() { + return this.entries().join(' '); + } + +} + +/** + * @private + * @param token + * @returns {toggleValue} + * @throws {Error} must be called with TokenList.call + */ +function toggleValue(token) { + if (!(this instanceof TokenList)) throw Error("must be called with TokenList.call") + validateString(token); + token = token.trim(); + if (this.contains(token)) { + this.remove(token); + return this; + } + this.add(token); + return this; +} + +assignToNamespace('Monster.Types', TokenList); +export {Monster, TokenList} diff --git a/application/source/types/typeof.js b/application/source/types/typeof.js new file mode 100644 index 0000000000000000000000000000000000000000..f3d8fda32b004ba90efccb7fbfcbae9c95fe4102 --- /dev/null +++ b/application/source/types/typeof.js @@ -0,0 +1,63 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + + +import {assignToNamespace, Monster} from '../namespace.js'; + +/** + * The built-in typeof method is known to have some historical weaknesses. This function tries to provide a better and more accurate result. + * + * You can call the method via the monster namespace `Monster.Types.typeOf()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.Types.typeOf()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/typeof.js'; + * console.log(typeOf()) + * </script> + * ``` + * + * @example + * + * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/typeof.js'; + * + * console.log(typeOf(undefined)); // ↦ undefined + * console.log(typeOf("")); // ↦ string + * console.log(typeOf(5)); // ↦ number + * console.log(typeOf({})); // ↦ object + * console.log(typeOf([])); // ↦ array + * console.log(typeOf(new Map)); // ↦ map + * console.log(typeOf(true)); // ↦ boolean + * + * @param {*} value + * @return {string} + * @since 1.7.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @throws {TypeError} value is not a primitive + */ +function typeOf(value) { + let type = ({}).toString.call(value).match(/\s([a-zA-Z]+)/)[1]; + if ('Object' === type) { + const results = (/^(class|function)\s+(\w+)/).exec(value.constructor.toString()); + type = (results && results.length > 2) ? results[2] : ''; + } + return type.toLowerCase(); +} + +assignToNamespace('Monster.Types', typeOf); +export { + Monster, + typeOf +} diff --git a/application/source/types/uniquequeue.js b/application/source/types/uniquequeue.js new file mode 100644 index 0000000000000000000000000000000000000000..6dbfd1d93447dd93bc318bfc471348b643f819b8 --- /dev/null +++ b/application/source/types/uniquequeue.js @@ -0,0 +1,95 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {Queue} from "./queue.js"; +import {validateObject} from "./validate.js"; + +/** + * You can call the method via the monster namespace `new Monster.Types.Queue()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Types.UniqueQueue() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/uniquequeue.js'; + * new UniqueQueue() + * </script> + * ``` + * + * @since 1.4.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @summary A queue for unique values + */ +class UniqueQueue extends Queue { + + /** + * + */ + constructor() { + super(); + this.unique = new WeakSet(); + } + + /** + * Add a new element to the end of the queue. + * + * @param {object} value + * @returns {Queue} + * @throws {TypeError} value is not a object + */ + add(value) { + + validateObject(value); + + if (!this.unique.has(value)) { + this.unique.add(value); + super.add(value); + } + + return this; + } + + /** + * remove all entries + * + * @returns {Queue} + */ + clear() { + super.clear(); + this.unique = new WeakSet; + return this; + } + + /** + * Remove the element at the front of the queue + * If the queue is empty, return undefined. + * + * @return {object} + */ + poll() { + + if (this.isEmpty()) { + return undefined; + } + let value = this.data.shift(); + this.unique.delete(value); + return value; + } + + +} + +assignToNamespace('Monster.Types', UniqueQueue); +export {Monster, UniqueQueue} diff --git a/application/source/types/uuid.js b/application/source/types/uuid.js new file mode 100644 index 0000000000000000000000000000000000000000..e11b07f3a48e513a9383747d981fb15376833efa --- /dev/null +++ b/application/source/types/uuid.js @@ -0,0 +1,102 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {internalSymbol} from "../constants.js"; +import {random} from "../math/random.js"; +import {assignToNamespace, Monster} from "../namespace.js"; +import {isObject} from '../types/is.js'; +import {Base} from "./base.js"; +import {getGlobalObject} from "./global.js"; + +/** + * This is the base class from which all monster classes are derived. + * + * You can create an object using the namespace: + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Types.UUID() + * </script> + * ``` + * + * Or directly via the class: + * + * ``` + * <script type="module"> + * import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/uuid.js'; + * new UUID() + * </script> + * ``` + * + * @since 1.25.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @throws {Error} unsupported + */ +class UUID extends Base { + + /** + * + */ + constructor() { + super(); + + let uuid = createWithCrypto(); + + if (uuid === undefined) { + uuid = createWithRandom(); + } + + + if (uuid === undefined) { + throw new Error('unsupported') + } + + this[internalSymbol] = { + value: uuid + } + + } + + /** + * + * @return {string} + */ + toString() { + return this[internalSymbol]['value']; + } + + +} + +/** + * @private + * @return {string|undefined} + */ +function createWithRandom() { + return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { + var r = random(0, 65000) * 16 | 0, + v = ((c === 'x') ? r : (r & 0x3 | 0x8)); + return v.toString(16)[0]; + }) +} + + +/** + * @private + * @return {string|undefined} + */ +function createWithCrypto() { + const crypt = getGlobalObject('crypto'); + if (!isObject(crypt)) return; + if (typeof crypt?.['randomUUID']) return; + return crypt.randomUUID(); +} + + +assignToNamespace('Monster.Types', UUID); +export {Monster, UUID} diff --git a/application/source/types/validate.js b/application/source/types/validate.js new file mode 100644 index 0000000000000000000000000000000000000000..fecd561d424e6c2eca9e62de54e703bafe9c0c20 --- /dev/null +++ b/application/source/types/validate.js @@ -0,0 +1,431 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import { + isArray, + isBoolean, + isFunction, + isInstance, + isInteger, + isIterable, + isObject, + isPrimitive, + isString, + isSymbol +} from './is.js'; + +/** + * This method checks if the type matches the primitive type. this function is identical to isPrimitive() except that a TypeError is thrown. + * + * You can call the method via the monster namespace `Monster.Types.validatePrimitive()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.Types.validateIterable('2')) // ↦ TypeError + * console.log(Monster.Types.validateIterable([])) // ↦ value + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/validate.js'; + * console.log(validateIterable('2')) // ↦ TypeError + * console.log(validateIterable([])) // ↦ value + * </script> + * ``` + * + * @param {*} value + * @return {*} + * @since 1.2.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @throws {TypeError} value is not a primitive + * @see {@link isPrimitive} + * @see {@link Monster.Types.isPrimitive} + * @see {@link Monster.Types#isPrimitive} + */ +function validateIterable(value) { + if (!isIterable(value)) { + throw new TypeError('value is not iterable') + } + return value +} + +/** + * This method checks if the type matches the primitive type. this function is identical to isPrimitive() except that a TypeError is thrown. + * + * You can call the method via the monster namespace `Monster.Types.validatePrimitive()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.Types.validatePrimitive('2')) // ↦ value + * console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/validate.js'; + * console.log(validatePrimitive('2')) // ↦ value + * console.log(validatePrimitive([])) // ↦ TypeError + * </script> + * ``` + * + * @param {*} value + * @return {*} + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @throws {TypeError} value is not a primitive + * @see {@link isPrimitive} + * @see {@link Monster.Types.isPrimitive} + * @see {@link Monster.Types#isPrimitive} + */ +function validatePrimitive(value) { + if (!isPrimitive(value)) { + throw new TypeError('value is not a primitive') + } + return value +} + +/** + * This method checks if the type matches the boolean type. this function is identical to isBoolean() except that a TypeError is thrown. + * + * You can call the method via the monster namespace `Monster.Types.validateBoolean()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.Types.validateBoolean(true)) // ↦ value + * console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError + * console.log(Monster.Types.validateBoolean([])) // ↦ TypeError + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/validate.js'; + * console.log(validateBoolean(false)) // ↦ value + * console.log(validateBoolean('2')) // ↦ TypeError + * console.log(validateBoolean([])) // ↦ TypeError + * </script> + * ``` + * + * @param {*} value + * @return {*} + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + + * @throws {TypeError} value is not primitive + */ +function validateBoolean(value) { + if (!isBoolean(value)) { + throw new TypeError('value is not a boolean') + } + return value +} + +/** + * This method checks if the type matches the string type. this function is identical to isString() except that a TypeError is thrown. + * + * You can call the method via the monster namespace `Monster.Types.validateString()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.Types.validateString('2')) // ↦ value + * console.log(Monster.Types.validateString([])) // ↦ TypeError + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/validate.js'; + * console.log(validateString('2')) // ↦ value + * console.log(validateString([])) // ↦ TypeError + * </script> + * ``` + * + * @param {*} value + * @return {*} + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @throws {TypeError} value is not a string + */ +function validateString(value) { + if (!isString(value)) { + throw new TypeError('value is not a string') + } + return value +} + + +/** + * This method checks if the type matches the object type. this function is identical to isObject() except that a TypeError is thrown. + * + * You can call the method via the monster namespace `Monster.Types.validateObject()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.Types.validateObject({})) // ↦ value + * console.log(Monster.Types.validateObject('2')) // ↦ TypeError + * console.log(Monster.Types.validateObject([])) // ↦ TypeError + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/validate.js'; + * console.log(validateObject({})) // ↦ value + * console.log(validateObject('2')) // ↦ TypeError + * console.log(validateObject([])) // ↦ TypeError + * </script> + * ``` + * + * @param {*} value + * @return {*} + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @throws {TypeError} value is not a object + */ +function validateObject(value) { + if (!isObject(value)) { + throw new TypeError('value is not a object') + } + return value +} + +/** + * This method checks if the type matches the object instance. + * + * You can call the method via the monster namespace `Monster.Types.validateInstance()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.Types.validateInstance({}, Object)) // ↦ value + * console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError + * console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/validate.js'; + * console.log(validateInstance({}, Object)) // ↦ value + * console.log(validateInstance('2', Object)) // ↦ TypeError + * console.log(validateInstance([], Object)) // ↦ TypeError + * </script> + * ``` + * + * @param {*} value + * @return {*} + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @throws {TypeError} value is not an instance of + */ +function validateInstance(value, instance) { + if (!isInstance(value, instance)) { + let n = ""; + if (isObject(instance) || isFunction(instance)) { + n = instance?.['name'] + } + + if (n) { + n = " " + n; + } + + throw new TypeError('value is not an instance of' + n) + } + return value +} + +/** + * This method checks if the type matches the array type. this function is identical to isArray() except that a TypeError is thrown. + * + * You can call the method via the monster namespace `Monster.Types.validateArray()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.Types.validateArray('2')) // ↦ TypeError + * console.log(Monster.Types.validateArray([])) // ↦ value + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/validate.js'; + * console.log(validateArray('2')) // ↦ TypeError + * console.log(validateArray([])) // ↦ value + * </script> + * ``` + * + * @param {*} value + * @return {*} + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @throws {TypeError} value is not an array + */ +function validateArray(value) { + if (!isArray(value)) { + throw new TypeError('value is not an array') + } + return value +} + +/** + * This method checks if the type matches the symbol type. this function is identical to isSymbol() except that a TypeError is thrown. + * + * You can call the method via the monster namespace `Monster.Types.validateSymbol()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.Types.validateSymbol('2')) // ↦ TypeError + * console.log(Monster.Types.validateSymbol([])) // ↦ value + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/validate.js'; + * console.log(validateSymbol('2')) // ↦ TypeError + * console.log(validateSymbol()) // ↦ value + * </script> + * ``` + * + * @param {*} value + * @return {*} + * @since 1.9.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @throws {TypeError} value is not an symbol + */ +function validateSymbol(value) { + if (!isSymbol(value)) { + throw new TypeError('value is not an symbol') + } + return value +} + +/** + * This method checks if the type matches the function type. this function is identical to isFunction() except that a TypeError is thrown. + * + * You can call the method via the monster namespace `Monster.Types.validateFunction()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.Types.validateFunction(()=>{})) // ↦ value + * console.log(Monster.Types.validateFunction('2')) // ↦ TypeError + * console.log(Monster.Types.validateFunction([])) // ↦ TypeError + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/validate.js'; + * console.log(validateFunction(()=>{})) // ↦ value + * console.log(validateFunction('2')) // ↦ TypeError + * console.log(validateFunction([])) // ↦ TypeError + * </script> + * ``` + * + * @param {*} value + * @return {*} + * @since 1.0.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @throws {TypeError} value is not a function + */ +function validateFunction(value) { + if (!isFunction(value)) { + throw new TypeError('value is not a function') + } + return value +} + +/** + * This method checks if the type is an integer. this function is identical to isInteger() except that a TypeError is thrown. + * + * You can call the method via the monster namespace `Monster.Types.validateInteger()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.Types.validateInteger(true)) // ↦ TypeError + * console.log(Monster.Types.validateInteger('2')) // ↦ TypeError + * console.log(Monster.Types.validateInteger(2)) // ↦ value + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/validate.js'; + * console.log(validateInteger(true)) // ↦ TypeError + * console.log(validateInteger('2')) // ↦ TypeError + * console.log(validateInteger(2)) // ↦ value + * </script> + * ``` + * + * @param {*} value + * @return {*} + * @since 1.4.0 + * @copyright schukai GmbH + * @memberOf Monster.Types + * @throws {TypeError} value is not an integer + */ +function validateInteger(value) { + if (!isInteger(value)) { + throw new TypeError('value is not an integer') + } + return value +} + +assignToNamespace('Monster.Types', validatePrimitive, validateBoolean, validateString, validateObject, validateArray, validateFunction, validateIterable, validateInteger); +export { + Monster, + validatePrimitive, + validateBoolean, + validateString, + validateObject, + validateInstance, + validateArray, + validateFunction, + validateIterable, + validateInteger, + validateSymbol +} diff --git a/application/source/types/version.js b/application/source/types/version.js new file mode 100644 index 0000000000000000000000000000000000000000..db52ec50635b2e21a407c4d846f92c053ee75c57 --- /dev/null +++ b/application/source/types/version.js @@ -0,0 +1,187 @@ +'use strict'; + +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from './base.js'; + +/** + * The version object contains a sematic version number + * + * You can create the object via the monster namespace `new Monster.Types.Version()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3 + * console.log(new Monster.Types.Version('1')) // ↦ 1.0.0 + * </script> + * ``` + * + * Alternatively, you can also integrate this class individually. + * + * ``` + * <script type="module"> + * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/version.js'; + * console.log(new Version('1.2.3')) // ↦ 1.2.3 + * console.log(new Version('1')) // ↦ 1.0.0 + * </script> + * ``` + * + * @example + * + * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/version.js'; + * + * new Version('1.0.0') // ↦ 1.0.0 + * new Version(1) // ↦ 1.0.0 + * new Version(1, 0, 0) // ↦ 1.0.0 + * new Version('1.2.3', 4, 5) // ↦ 1.4.5 + * + * @since 1.0.0 + * @author schukai GmbH + * @copyright schukai GmbH + * @memberOf Monster.Types + * @summary The version object contains a sematic version number + */ +class Version extends Base { + + /** + * + * @param major + * @param minor + * @param patch + * @throws {Error} major is not a number + * @throws {Error} minor is not a number + * @throws {Error} patch is not a number + */ + constructor(major, minor, patch) { + super(); + + if (typeof major === 'string' && minor === undefined && patch === undefined) { + + let parts = major.toString().split('.'); + major = parseInt(parts[0] || 0); + minor = parseInt(parts[1] || 0); + patch = parseInt(parts[2] || 0); + } + + if (major === undefined) { + throw new Error("major version is undefined"); + } + + if (minor === undefined) { + minor = 0; + } + + if (patch === undefined) { + patch = 0; + } + + this.major = parseInt(major); + this.minor = parseInt(minor); + this.patch = parseInt(patch); + + if (isNaN(this.major)) { + throw new Error("major is not a number"); + } + + if (isNaN(this.minor)) { + throw new Error("minor is not a number"); + } + + if (isNaN(this.patch)) { + throw new Error("patch is not a number"); + } + + } + + /** + * + * @returns {string} + */ + toString() { + return this.major + '.' + this.minor + '.' + this.patch; + } + + /** + * returns 0 if equal, -1 if the object version is less and 1 if greater + * then the compared version + * + * @param {string|Version} version Version to compare + * @returns {number} + */ + compareTo(version) { + + if (version instanceof Version) { + version = version.toString(); + } + + if (typeof version !== 'string') { + throw new Error("type exception"); + } + + if (version === this.toString()) { + return 0; + } + + let a = [this.major, this.minor, this.patch]; + let b = version.split('.'); + let len = Math.max(a.length, b.length); + + for (let i = 0; i < len; i += 1) { + if ((a[i] && !b[i] && parseInt(a[i]) > 0) || (parseInt(a[i]) > parseInt(b[i]))) { + return 1; + } else if ((b[i] && !a[i] && parseInt(b[i]) > 0) || (parseInt(a[i]) < parseInt(b[i]))) { + return -1; + } + } + + return 0; + }; + +} + +assignToNamespace('Monster.Types', Version); + + +let monsterVersion; + +/** + * Version of monster + * + * You can call the method via the monster namespace `Monster.getVersion()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * console.log(Monster.getVersion()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/types/version.js'; + * console.log(getVersion()) + * </script> + * ``` + * + * @returns {Monster.Types.Version} + * @since 1.0.0 + * @copyright schukai GmbH + * @author schukai GmbH + * @memberOf Monster + */ +function getVersion() { + if (monsterVersion instanceof Version) { + return monsterVersion; + } + /**#@+ dont touch, replaced by make with package.json version */ + monsterVersion = new Version('1.31.0') + /**#@-*/ + + return monsterVersion; + +} + +assignToNamespace('Monster', getVersion); +export {Monster, Version, getVersion} diff --git a/application/source/util/clone.js b/application/source/util/clone.js new file mode 100644 index 0000000000000000000000000000000000000000..d8b1a769f1a9d5820fc8b1660f54450112282a6b --- /dev/null +++ b/application/source/util/clone.js @@ -0,0 +1,160 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {getGlobal} from '../types/global.js'; +import {isArray, isFunction, isObject, isPrimitive} from '../types/is.js'; +import {typeOf} from "../types/typeof.js"; +import {validateObject} from "../types/validate.js"; + + +/** + * With this function, objects can be cloned. + * The entire object tree is run through. + * + * Proxy, Element, HTMLDocument and DocumentFragment instances are not cloned. + * Global objects such as windows are also not cloned, + * + * If an object has a method `getClone()`, this method is used to create the clone. + * + * You can call the method via the monster namespace `Monster.Util.clone()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Util.clone({}) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/util/clone.js'; + * clone({}) + * </script> + * ``` + * + * @param {*} obj object to be cloned + * @returns {*} + * @since 1.0.0 + * @memberOf Monster.Util + * @copyright schukai GmbH + * @throws {Error} unable to clone obj! its type isn't supported. + */ +function clone(obj) { + + // typeof null results in 'object'. https://2ality.com/2013/10/typeof-null.html + if (null === obj) { + return obj; + } + + // Handle the two simple types, null and undefined + if (isPrimitive(obj)) { + return obj; + } + + // Handle the two simple types, null and undefined + if (isFunction(obj)) { + return obj; + } + + // Handle Array + if (isArray(obj)) { + let copy = []; + for (var i = 0, len = obj.length; i < len; i++) { + copy[i] = clone(obj[i]); + } + + return copy; + } + + if (isObject(obj)) { + + + // Handle Date + if (obj instanceof Date) { + let copy = new Date(); + copy.setTime(obj.getTime()); + return copy; + } + + /** Do not clone DOM nodes */ + if (typeof Element !== 'undefined' && obj instanceof Element) return obj; + if (typeof HTMLDocument !== 'undefined' && obj instanceof HTMLDocument) return obj; + if (typeof DocumentFragment !== 'undefined' && obj instanceof DocumentFragment) return obj; + + /** Do not clone global objects */ + if (obj === getGlobal()) return obj; + if (typeof globalContext !== 'undefined' && obj === globalContext) return obj; + if (typeof window !== 'undefined' && obj === window) return obj; + if (typeof document !== 'undefined' && obj === document) return obj; + if (typeof navigator !== 'undefined' && obj === navigator) return obj; + if (typeof JSON !== 'undefined' && obj === JSON) return obj; + + // Handle Proxy-Object + try { + // try/catch because possible: TypeError: Function has non-object prototype 'undefined' in instanceof check + if (obj instanceof Proxy) { + return obj; + } + } catch (e) { + } + + return cloneObject(obj) + + } + + throw new Error("unable to clone obj! its type isn't supported."); +} + +/** + * + * @param {object} obj + * @returns {object} + * @private + */ +function cloneObject(obj) { + + validateObject(obj); + + const constructor = obj?.['constructor']; + + /** Object has clone method */ + if(typeOf(constructor)==='function') { + const prototype = constructor?.prototype; + if(typeof prototype==='object') { + if(prototype.hasOwnProperty('getClone')&& typeOf(obj.getClone) === 'function') { + return obj.getClone(); + } + } + } + + let copy = {}; + if (typeof obj.constructor === 'function' && + typeof obj.constructor.call === 'function') { + copy = new obj.constructor(); + } + + for (let key in obj) { + + if (!obj.hasOwnProperty(key)) { + continue; + } + + if (isPrimitive(obj[key])) { + copy[key] = obj[key]; + continue; + } + + copy[key] = clone(obj[key]); + } + + return copy; +} + +assignToNamespace('Monster.Util', clone); +export {Monster, clone} diff --git a/application/source/util/comparator.js b/application/source/util/comparator.js new file mode 100644 index 0000000000000000000000000000000000000000..81606729a7492b510943f5ff3cc2e0e5e9033fd9 --- /dev/null +++ b/application/source/util/comparator.js @@ -0,0 +1,202 @@ +'use strict'; + +/** + * @author schukai GmbH + */ +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from '../types/base.js'; +import {isFunction} from '../types/is.js'; + +/** + * The comparator allows a comparison function to be abstracted. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Util.Comparator() + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/util/comparator.js'; + * console.log(new Comparator()) + * </script> + * ``` + * + * The following are some examples of the application of the class. + * + * ``` + * new Comparator().lessThanOrEqual(2, 5) // ↦ true + * new Comparator().greaterThan(4, 2) // ↦ true + * new Comparator().equal(4, 4) // ↦ true + * new Comparator().equal(4, 5) // ↦ false + * ``` + * + * You can also pass your own comparison function, and thus define the comparison function. + * + * ``` + * new Comparator(function (a, b) { + * if (a.v === b.v) return 0; + * return a.v < b.v ? -1 : 1; + * }).equal({v: 2}, {v: 2}); // ↦ true + * ``` + * + * @example + * + * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/util/comparator.js'; + * + * console.log(new Comparator().lessThanOrEqual(2, 5)) + * // ↦ true + * console.log(new Comparator().greaterThan(4, 2)) + * // ↦ true + * console.log(new Comparator().equal(4, 4)) + * // ↦ true + * console.log(new Comparator().equal(4, 5)) + * // ↦ false + * + * @since 1.3.0 + * @memberOf Monster.Util + */ +class Comparator extends Base { + + /** + * create new comparator + * + * @param {Monster.Util~exampleCallback} [callback] Comparator callback + * @throw {TypeError} unsupported type + * @throw {TypeError} impractical comparison + */ + constructor(callback) { + super(); + + if (isFunction(callback)) { + this.compare = callback + } else if (callback !== undefined) { + throw new TypeError("unsupported type") + } else { + // default compare function + + /** + * + * @param {*} a + * @param {*} b + * @return {integer} -1, 0 or 1 + */ + this.compare = function (a, b) { + + if (typeof a !== typeof b) { + throw new TypeError("impractical comparison", "types/comparator.js") + } + + if (a === b) { + return 0; + } + return a < b ? -1 : 1; + }; + } + + } + + /** + * changes the order of the operators + * + * @return {Comparator} + */ + reverse() { + const original = this.compare; + this.compare = (a, b) => original(b, a); + return this; + } + + /** + * Checks if two variables are equal. + * + * @param {*} a + * @param {*} b + * + * @return {boolean} + */ + equal(a, b) { + return this.compare(a, b) === 0; + } + + + /** + * Checks if variable `a` is greater than `b` + * + * @param {*} a + * @param {*} b + * + * @return {boolean} + */ + greaterThan(a, b) { + return this.compare(a, b) > 0; + } + + /** + * Checks if variable `a` is greater than or equal to `b` + * + * @param {*} a + * @param {*} b + * + * @return {boolean} + */ + greaterThanOrEqual(a, b) { + return this.greaterThan(a, b) || this.equal(a, b); + } + + /** + * Checks if variable `a` is less than or equal to `b` + * + * @param {*} a + * @param {*} b + * + * @return {boolean} + */ + lessThanOrEqual(a, b) { + return this.lessThan(a, b) || this.equal(a, b); + } + + /** + * Checks if variable a is less than b + * + * @param {*} a + * @param {*} b + * + * @return {boolean} + */ + lessThan(a, b) { + return this.compare(a, b) < 0; + } + + +} + + +/** + * This is the description for the callback function used by the operator + * + * ``` + * new Comparator(function (a, b) { + * if (a.v === b.v) return 0; + * return a.v < b.v ? -1 : 1; + * }).equal({v: 2}, {v: 2}); // ↦ true + * ``` + * + * @callback Monster.Util~exampleCallback + * @param {*} a + * @param {*} b + * @return {integer} -1, 0 or 1 + * @memberOf Monster.Util + * @see Monster.Util.Comparator + */ + + +/** + * + */ +assignToNamespace('Monster.Util', Comparator); +export {Monster, Comparator} diff --git a/application/source/util/deadmansswitch.js b/application/source/util/deadmansswitch.js new file mode 100644 index 0000000000000000000000000000000000000000..63dbfb0e1a9a223618c8e3000c8bca413cbaf398 --- /dev/null +++ b/application/source/util/deadmansswitch.js @@ -0,0 +1,124 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + + +import {internalSymbol} from "../constants.js"; +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from "../types/base.js"; +import {isInteger} from "../types/is.js"; +import {validateFunction, validateInteger} from "../types/validate.js"; + +/** + * The dead man's switch allows to set a timer which can be reset again and again within a defined period of time. + * + * You can create an instance via the monster namespace `Monster.Util.DeadMansSwitch()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Util.DeadMansSwitch() + * </script> + * ``` + * + * Alternatively, you can also integrate this class individually. + * + * ``` + * <script type="module"> + * import {DeadMansSwitch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/util/deadmansswitch.js'; + * new DeadMansSwitch(); + * </script> + * ``` + * + * @example + * import {DeadMansSwitch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/util/deadmansswitch.js'; + * + * const deadmansswitch = new DeadMansSwitch(100, ()=>{ + * console.log('yeah!') + * // ↦ "yeah!" + * }) + * + * deadmansswitch.touch(); // from here wait again 100 ms + * deadmansswitch.touch(200); // from here wait 200 ms + * + * @copyright schukai GmbH + * @since 1.29.0 + * @memberOf Monster.Util + * @summary Class to be able to execute function chains + */ +class DeadMansSwitch extends Base { + + /** + * Create new dead man's switch + * + * @param {Integer} delay + * @param {function} callback + * @throw {TypeError} the arguments must be either integer or functions + * @throws {TypeError} value is not an integer + */ + constructor(delay, callback) { + super(); + + init.call(this, validateInteger(delay), validateFunction(callback)); + } + + /** + * + * @param {Integer|undefined} [delay] + */ + touch(delay) { + + if (this[internalSymbol]['isAlreadyRun'] === true) { + throw new Error('has already run') + } + + if (isInteger(delay)) { + this[internalSymbol]['delay'] = delay + } else if (delay !== undefined) { + throw new Error('unsupported argument') + } + + clearTimeout(this[internalSymbol]['timer']); + + initCallback.call(this); + + return this; + } +} + +/** + * @private + */ +function initCallback() { + + const self = this; + + self[internalSymbol]['timer'] = setTimeout(() => { + self[internalSymbol]['isAlreadyRun'] = true; + self[internalSymbol]['callback'](); + }, self[internalSymbol]['delay']) +} + +/** + * @private + * @param {integer} delay + * @param {function} callback + */ +function init(delay, callback) { + const self = this; + + self[internalSymbol] = { + callback, + delay, + isAlreadyRun: false, + timer: undefined + }; + + initCallback.call(self); + +} + +assignToNamespace('Monster.Util', DeadMansSwitch); +export {Monster, DeadMansSwitch} diff --git a/application/source/util/freeze.js b/application/source/util/freeze.js new file mode 100644 index 0000000000000000000000000000000000000000..daa49a34ef8de591c20c7041d1b95280ac6e9991 --- /dev/null +++ b/application/source/util/freeze.js @@ -0,0 +1,57 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {assignToNamespace, Monster} from '../namespace.js'; +import {validateObject} from '../types/validate.js'; + +/** + * Deep freeze a object + * + * You can call the method via the monster namespace `Monster.Util.deepFreeze()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * Monster.Util.deepFreeze({}) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/util/freeze.js'; + * deepFreeze({}) + * </script> + * ``` + * + * @param {object} object object to be freeze + * @since 1.0.0 + * @returns {object} + * @memberOf Monster.Util + * @copyright schukai GmbH + * @throws {TypeError} value is not a object + */ +function deepFreeze(object) { + + validateObject(object) + + // Retrieve the defined property names of the object + var propNames = Object.getOwnPropertyNames(object); + + // Freeze properties before freezing yourself + for (let name of propNames) { + let value = object[name]; + + object[name] = (value && typeof value === "object") ? + deepFreeze(value) : value; + } + + return Object.freeze(object); +} + +assignToNamespace('Monster.Util', deepFreeze); +export {Monster, deepFreeze} diff --git a/application/source/util/namespace.js b/application/source/util/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..f304ecc7d377191d60aa3307b8cab11abf451e31 --- /dev/null +++ b/application/source/util/namespace.js @@ -0,0 +1,16 @@ +'use strict'; + +/** + * Namespace for utilities. + * + * @namespace Monster.Util + * @memberOf Monster + * @author schukai GmbH + */ + + +/** + * @private + * @type {string} + */ +export const namespace = "Monster.Util"; \ No newline at end of file diff --git a/application/source/util/processing.js b/application/source/util/processing.js new file mode 100644 index 0000000000000000000000000000000000000000..9e8d77b5df0afcf7d8ca9e2bedb438874932ca25 --- /dev/null +++ b/application/source/util/processing.js @@ -0,0 +1,194 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + + +import {internalSymbol} from "../constants.js"; +import {assignToNamespace, Monster} from '../namespace.js'; +import {Base} from "../types/base.js"; +import {getGlobalFunction} from "../types/global.js"; +import {isFunction, isInteger} from "../types/is.js"; +import {Queue} from "../types/queue.js"; +import {validateFunction, validateInteger} from "../types/validate.js"; + + +/** + * @private + */ +class Callback { + + /** + * + * @param {function} callback + * @param {int|undefined} time + * @throws {TypeError} value is not a function + * @throws {TypeError} value is not an integer + * @private + */ + constructor(callback, time) { + this[internalSymbol] = { + callback: validateFunction(callback), + time: validateInteger(time ?? 0) + }; + } + + /** + * @private + * @param {*} data + * @return {Promise} + */ + run(data) { + const self = this; + return new Promise((resolve, reject) => { + + getGlobalFunction('setTimeout')(() => { + try { + resolve(self[internalSymbol].callback(data)); + } catch (e) { + reject(e); + } + + }, + self[internalSymbol].time); + + + }) + + } +} + +/** + * This class allows to execute several functions in order. + * + * Functions and timeouts can be passed. If a timeout is passed, it applies to all further functions. + * In the example + * + * `timeout1, function1, function2, function3, timeout2, function4` + * + * the timeout1 is valid for the functions 1, 2 and 3 and the timeout2 for the function4. + * + * So the execution time is timeout1+timeout1+timeout1+timeout2 + * + * The result of `run()` is a promise. + * + * You can create an instance via the monster namespace `Monster.Util.Processing()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/monster.js'; + * new Monster.Util.Processing() + * </script> + * ``` + * + * Alternatively, you can also integrate this class individually. + * + * ``` + * <script type="module"> + * import {Processing} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/util/processing.js'; + * new Processing(); + * </script> + * ``` + * + * @example + * import {Processing} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.31.0/dist/modules/util/processing.js'; + * + * let startTime = +new Date(); + * + * new Processing((url)=>{ + * return fetch(url) + * },(response)=>{ + * // do something with the response + * console.log(response.status, +new Date()-startTime) + * },200,()=>{ + * // this function is called 200 seconds after fetch is received. + * console.log('finished', +new Date()-startTime) + * return 'done' + * }).run('https://monsterjs.org/assets/world.json').then(r=>{ + * console.log(r) + * // ↦ "done" + * }) + * + * @copyright schukai GmbH + * @since 1.21.0 + * @memberOf Monster.Util + * @summary Class to be able to execute function chains + */ +class Processing extends Base { + + /** + * Create new Processing + * + * Functions and timeouts can be passed. If a timeout is passed, it applies to all further functions. + * In the example + * + * `timeout1, function1, function2, function3, timeout2, function4` + * + * the timeout1 is valid for the functions 1, 2 and 3 and the timeout2 for the function4. + * + * So the execution time is timeout1+timeout1+timeout1+timeout2 + * + * @param {int} timeout Timeout + * @param {function} callback Callback + * @throw {TypeError} the arguments must be either integer or functions + */ + constructor() { + super(); + + this[internalSymbol] = { + queue: new Queue + }; + + let time = 0 + + for (const [, arg] of Object.entries(arguments)) { + if (isInteger(arg) && arg >= 0) { + time = arg; + } else if (isFunction(arg)) { + this[internalSymbol].queue.add(new Callback(arg, time)) + } else { + throw new TypeError('the arguments must be either integer or functions') + } + } + + + } + + /** + * Adds a function with the desired timeout + * If no timeout is specified, the timeout of the previous function is used. + * + * @param {function} callback + * @param {int|undefined} time + * @throws {TypeError} value is not a function + * @throws {TypeError} value is not an integer + */ + add(callback, time) { + this[internalSymbol].queue.add(new Callback(callback, time)) + return this; + } + + + /** + * Executes the defined functions in order. + * + * @param {*} data + * @return {Promise} + */ + run(data) { + const self = this; + if (this[internalSymbol].queue.isEmpty()) { + return Promise.resolve(data); + } + + return this[internalSymbol].queue.poll().run(data).then((result) => { + return self.run(result); + }); + + } + +} + +assignToNamespace('Monster.Util', Processing); +export {Monster, Processing} diff --git a/application/source/util/trimspaces.js b/application/source/util/trimspaces.js new file mode 100644 index 0000000000000000000000000000000000000000..7ae3771c150ff67a3b760a490f742a5727094c6f --- /dev/null +++ b/application/source/util/trimspaces.js @@ -0,0 +1,71 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {ID} from "../types/id.js"; +import {isObject} from "../types/is.js"; +import {validateString} from "../types/validate.js"; + +/** + * This special trim function allows to trim spaces that have been protected by a special escape character. + * + * ``` + * <script type="module"> + * import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@latest/source/util/trimspaces.js'; + * trimSpaces(' hello \\ ') + * </script> + * ``` + * + * Hint: One stroke is escaped by the javascript interpreter, the second stroke escapes the stroke. + * + * ```text + * a\ b ↦ a b + * a\\ b ↦ a\ b + * ``` + * + * @since 1.24.0 + * @memberOf Monster.Util + * @copyright schukai GmbH + * @param {string} value + * @return {string} + * @throws {TypeError} value is not a string + */ +function trimSpaces(value) { + + validateString(value); + + let placeholder = new Map; + const regex = /((?<pattern>\\(?<char>.)){1})/mig; + + // The separator for args must be escaped + // undefined string which should not occur normally and is also not a regex + let result = value.matchAll(regex) + + for (let m of result) { + let g = m?.['groups']; + if (!isObject(g)) { + continue; + } + + let p = g?.['pattern']; + let c = g?.['char']; + + if (p && c) { + let r = '__' + new ID().toString() + '__'; + placeholder.set(r, c); + value = value.replace(p, r); + } + + } + + value = value.trim(); + placeholder.forEach((v, k) => { + value = value.replace(k, '\\' + v) + }) + + return value; + +} + diff --git a/deployment/makefiles/color.mk b/deployment/makefiles/color.mk new file mode 100644 index 0000000000000000000000000000000000000000..2c3fe3d1ba24854f1c05865705b6d9235fb02589 --- /dev/null +++ b/deployment/makefiles/color.mk @@ -0,0 +1,17 @@ +############################################################################################# +############################################################################################# +## +## COLORS +## +############################################################################################# +############################################################################################# + +BLACK := $(shell tput -Txterm setaf 0) +RED := $(shell tput -Txterm setaf 1) +GREEN := $(shell tput -Txterm setaf 2) +YELLOW := $(shell tput -Txterm setaf 3) +LIGHTPURPLE := $(shell tput -Txterm setaf 4) +PURPLE := $(shell tput -Txterm setaf 5) +BLUE := $(shell tput -Txterm setaf 6) +WHITE := $(shell tput -Txterm setaf 7) +RESET := $(shell tput -Txterm sgr0) \ No newline at end of file diff --git a/deployment/makefiles/directories-standard.mk b/deployment/makefiles/directories-standard.mk new file mode 100644 index 0000000000000000000000000000000000000000..de063d9e0f8371126fda42349ffbf0e567af28d0 --- /dev/null +++ b/deployment/makefiles/directories-standard.mk @@ -0,0 +1,36 @@ +############################################################################################# +############################################################################################# +## +## DIRECTORIES +## +############################################################################################# +############################################################################################# + +APPLICATION_PATH ?= $(PROJECT_ROOT)application/ +DEPLOYMENT_PATH ?= $(PROJECT_ROOT)deployment/ +DEVELOPMENT_PATH ?= $(PROJECT_ROOT)development/ +DOCUMENTATION_PATH ?= $(PROJECT_ROOT)documentation/ +REQUIREMENT_PATH ?= $(PROJECT_ROOT)requirement/ +CREDENTIALS_PATH ?= $(PROJECT_ROOT)credential/ + +RESOURCE_PATH ?= $(APPLICATION_PATH)resource/ +SOURCE_PATH ?= $(APPLICATION_PATH)source/ +WEB_PATH ?= $(APPLICATION_PATH)web/ +SCRIPTS_PATH ?= $(DEVELOPMENT_PATH)script/ +BUILD_PATH = $(DEPLOYMENT_PATH)build/ +VENDOR_PATH ?= $(DEPLOYMENT_PATH)vendor/ + +PROJECT_DIRECTORIES := $(PROJECT_DIRECTORIES) \ + $(APPLICATION_PATH) \ + $(RESOURCE_PATH) \ + $(SOURCE_PATH) \ + $(WEB_PATH) \ + $(DEPLOYMENT_PATH) \ + $(VENDOR_PATH) \ + $(DEVELOPMENT_PATH) \ + $(SCRIPTS_PATH) \ + $(DOCUMENTATION_PATH) \ + $(REQUIREMENT_PATH) \ + $(CREDENTIALS_PATH) \ + $(BUILD_PATH) + \ No newline at end of file diff --git a/deployment/makefiles/gitignore.mk b/deployment/makefiles/gitignore.mk new file mode 100644 index 0000000000000000000000000000000000000000..4131f64a25d954c6a461a624798e67c174d8c701 --- /dev/null +++ b/deployment/makefiles/gitignore.mk @@ -0,0 +1,522 @@ +############################################################################################# +############################################################################################# +## +## INSTALL .gitignore +## +############################################################################################# +############################################################################################# + +define GITIGNOREDS +# Created by https://www.toptal.com/developers/gitignore/api/intellij+iml,phpunit,git,vim,visualstudiocode,phpstorm,go,intellij+all,netbeans,dbeaver,node,yarn +# Edit at https://www.toptal.com/developers/gitignore?templates=intellij+iml,phpunit,git,vim,visualstudiocode,phpstorm,go,intellij+all,netbeans,dbeaver,node,yarn + +### DBeaver ### +# ide config file +.dbeaver-data-sources*.xml + +### Git ### +# Created by git for backups. To disable backups in Git: +# $ git config --global mergetool.keepBackup false +*.orig + +# Created by git when using merge tools for conflicts +*.BACKUP.* +*.BASE.* +*.LOCAL.* +*.REMOTE.* +*_BACKUP_*.txt +*_BASE_*.txt +*_LOCAL_*.txt +*_REMOTE_*.txt + +### Go ### +# If you prefer the allow list template instead of the deny list, see community template: +# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore +# +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib + +# Test binary, built with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE +*.out + +# Dependency directories (remove the comment below to include it) +# vendor/ + +# Go workspace file +go.work + +### Go Patch ### +/vendor/ +/Godeps/ + +### Intellij+all ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +### Intellij+all Patch ### +# Ignore everything but code style settings and run configurations +# that are supposed to be shared within teams. + +.idea/* + +!.idea/codeStyles +!.idea/runConfigurations + +### Intellij+iml ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff + +# AWS User-specific + +# Generated files + +# Sensitive or high-churn files + +# Gradle + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake + +# Mongo Explorer plugin + +# File-based project format + +# IntelliJ + +# mpeltonen/sbt-idea plugin + +# JIRA plugin + +# Cursive Clojure plugin + +# SonarLint plugin + +# Crashlytics plugin (for Android Studio and IntelliJ) + +# Editor-based Rest Client + +# Android studio 3.1+ serialized cache file + +### Intellij+iml Patch ### +# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023 + +*.iml +modules.xml +.idea/misc.xml +*.ipr + +### NetBeans ### +**/nbproject/private/ +**/nbproject/Makefile-*.mk +**/nbproject/Package-*.bash +build/ +nbbuild/ +dist/ +nbdist/ +.nb-gradle/ + +### Node ### +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional stylelint cache +.stylelintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variable files +.env +.env.development.local +.env.test.local +.env.production.local +.env.local + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next +out + +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# vuepress v2.x temp and cache directory +.temp + +# Docusaurus cache and generated files +.docusaurus + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* + +### Node Patch ### +# Serverless Webpack directories +.webpack/ + +# Optional stylelint cache + +# SvelteKit build / generate output +.svelte-kit + +### PhpStorm ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff + +# AWS User-specific + +# Generated files + +# Sensitive or high-churn files + +# Gradle + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake + +# Mongo Explorer plugin + +# File-based project format + +# IntelliJ + +# mpeltonen/sbt-idea plugin + +# JIRA plugin + +# Cursive Clojure plugin + +# SonarLint plugin + +# Crashlytics plugin (for Android Studio and IntelliJ) + +# Editor-based Rest Client + +# Android studio 3.1+ serialized cache file + +### PhpStorm Patch ### +# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 + +# *.iml +# modules.xml +# .idea/misc.xml +# *.ipr + +# Sonarlint plugin +# https://plugins.jetbrains.com/plugin/7973-sonarlint +.idea/**/sonarlint/ + +# SonarQube Plugin +# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin +.idea/**/sonarIssues.xml + +# Markdown Navigator plugin +# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced +.idea/**/markdown-navigator.xml +.idea/**/markdown-navigator-enh.xml +.idea/**/markdown-navigator/ + +# Cache file creation bug +# See https://youtrack.jetbrains.com/issue/JBR-2257 +.idea/$CACHE_FILE$ + +# CodeStream plugin +# https://plugins.jetbrains.com/plugin/12206-codestream +.idea/codestream.xml + +# Azure Toolkit for IntelliJ plugin +# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij +.idea/**/azureSettings.xml + +### PHPUnit ### +# Covers PHPUnit +# Reference: https://phpunit.de/ + +# Generated files +.phpunit.result.cache +.phpunit.cache + +# PHPUnit +/app/phpunit.xml +/phpunit.xml + +# Build data +/build/ + +### Vim ### +# Swap +[._]*.s[a-v][a-z] +!*.svg # comment out if you don't need vector files +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim +Sessionx.vim + +# Temporary +.netrwhist +*~ +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +# Support for Project snippet scope +.vscode/*.code-snippets + +# Ignore code-workspaces +*.code-workspace + +### yarn ### +# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored + +.yarn/* +!.yarn/releases +!.yarn/patches +!.yarn/plugins +!.yarn/sdks +!.yarn/versions + +# if you are NOT using Zero-installs, then: +# comment the following lines +!.yarn/cache + +# and uncomment the following lines +# .pnp.* + +endef + +export GITIGNOREDS +.gitignore: + $(QUITE) $(ECHO) "$$GITIGNOREDS" >> $@ + + + diff --git a/deployment/makefiles/go.mk b/deployment/makefiles/go.mk new file mode 100644 index 0000000000000000000000000000000000000000..29955369f69ad15bb22c2cd1c77bdd127977aaf9 --- /dev/null +++ b/deployment/makefiles/go.mk @@ -0,0 +1,12 @@ +############################################################################################# +############################################################################################# +## +## COMMANDS GO +## +############################################################################################# +############################################################################################# + +# path and binaries +GO := go + +EXECUTABLES = $(EXECUTABLES:-) $(GO); diff --git a/deployment/makefiles/license-agpl3.mk b/deployment/makefiles/license-agpl3.mk new file mode 100644 index 0000000000000000000000000000000000000000..ebb06a7123fe3efbd7f1f8d5bc70608a76c84674 --- /dev/null +++ b/deployment/makefiles/license-agpl3.mk @@ -0,0 +1,13 @@ +############################################################################################# +############################################################################################# +## +## COLORS +## +############################################################################################# +############################################################################################# + +## License used in the project +LICENSE_TEXT ?= AGPL 3.0 + +## Copyright holder of the project +COPYRIGHT_TEXT ?= © schukai GmbH, Released under the $(LICENSE_TEXT) License. \ No newline at end of file diff --git a/deployment/makefiles/nodejs.mk b/deployment/makefiles/nodejs.mk new file mode 100644 index 0000000000000000000000000000000000000000..34e71f8dc1865ad4f9500424ee995822a1e624ce --- /dev/null +++ b/deployment/makefiles/nodejs.mk @@ -0,0 +1,38 @@ +############################################################################################# +############################################################################################# +## +## COMMANDS NODEJS +## +############################################################################################# +############################################################################################# + +# path and binaries +NODEJS ?= node +NPM ?= npm + +EXECUTABLES = $(EXECUTABLES:-) $(npm); + + +NODE_ROOT_DIR ?= $(PROJECT_ROOT) +NODE_MODULES_DIR ?= $(NODE_ROOT_DIR)node_modules/ +NODE_MODULES_BIN_DIR ?= $(NODE_MODULES_DIR).bin/ + +WEBPACK ?= $(NODE_MODULES_BIN_DIR)webpack +BABEL ?= $(NODE_MODULES_BIN_DIR)babel +UGLIFYJS ?= $(NODE_MODULES_BIN_DIR)uglifyjs +C8 ?= $(NODE_MODULES_BIN_DIR)c8 +MOCHA ?= $(NODE_MODULES_BIN_DIR)mocha +JSDOC ?= $(NODE_MODULES_BIN_DIR)jsdoc + + +FIXBROKENPLANTUML := $(NODE_MODULES_DIR)jsdoc-plantuml/fixBrokenNodeJS.js +PACKAGE_MODIFIED := $(NODE_MODULES_DIR).modified + +PACKAGE_JSON ?= $(NODE_ROOT_DIR)package.json + + +$(PACKAGE_MODIFIED): $(PACKAGE_JSON) + $(QUIET) $(NPM) install + $(QUIET) $(TEST) -s $(FIXBROKENPLANTUML) || $(NODE) $(FIXBROKENPLANTUML) + $(QUIET) $(RM) $(PACKAGEMODIFIED) + $(QUIET) $(TOUCH) -m $(PACKAGEMODIFIED) diff --git a/deployment/makefiles/output.mk b/deployment/makefiles/output.mk new file mode 100644 index 0000000000000000000000000000000000000000..9aa5bb737e5b0a3fcb47ff40b40690f2c5cdc4be --- /dev/null +++ b/deployment/makefiles/output.mk @@ -0,0 +1,54 @@ +############################################################################################# +############################################################################################# +## +## COLORS +## +############################################################################################# +############################################################################################# + +INFO := $(GREEN) +COMMENT := $(YELLOW) + +############################################################################################# +############################################################################################# +## +## OUTPUT CONTROL AND STANDARD OUTPUTS +## +############################################################################################# +############################################################################################# + +MARKER := $(BLUE)[+]$(RESET) +ERRORMARKER := $(RED)[-]$(RESET) + +############################################################################################# +############################################################################################# +## +## DEACTIVATE THE QUIET MODE BY OVERWRITING THE VALUE WITH SPACE +## +############################################################################################# +############################################################################################# + +ifndef DEBUG + QUIET = @ +else + QUIET = +endif + +ifndef DONTOPENBROWSER + OPENBROWSER = false +else + OPENBROWSER = true +endif + +############################################################################################# +############################################################################################# +## +## COMMANDS +## +############################################################################################# +############################################################################################# + +ECHO := @echo +ECHOMARKER := @echo "$(MARKER) $0" +ECHOERRORMARKER := @echo "$(ERRORMARKER) $0" + diff --git a/deployment/makefiles/placeholder.mk b/deployment/makefiles/placeholder.mk new file mode 100644 index 0000000000000000000000000000000000000000..c99024c96bfb32c566687f0547c4f01f5d7c9aaa --- /dev/null +++ b/deployment/makefiles/placeholder.mk @@ -0,0 +1,9 @@ +############################################################################################# +############################################################################################# +## +## PLACEHOLDER +## +############################################################################################# +############################################################################################# + +COMPONENT_SLUG := $(shell echo "$(COMPONENT_NAME)" | tr '[:upper:]' '[:lower:]') \ No newline at end of file diff --git a/deployment/makefiles/s3.mk b/deployment/makefiles/s3.mk new file mode 100644 index 0000000000000000000000000000000000000000..9569d7e30471646060973003577880fdbc6fe560 --- /dev/null +++ b/deployment/makefiles/s3.mk @@ -0,0 +1,14 @@ +############################################################################################# +############################################################################################# +## +## AMAZON S3 +## +############################################################################################# +############################################################################################# + +# path and binaries +AWS ?= aws +EXECUTABLES = $(EXECUTABLES:-) $(AWS) + +## Set AWS profile +AWS_PROFILE ?= schukai diff --git a/deployment/makefiles/target-build-go.mk b/deployment/makefiles/target-build-go.mk new file mode 100644 index 0000000000000000000000000000000000000000..c69de2fcb4a0390a6cc9b649c187aa495509e83d --- /dev/null +++ b/deployment/makefiles/target-build-go.mk @@ -0,0 +1,22 @@ +############################################################################################# +############################################################################################# +## +## BUILD GO +## +############################################################################################# +############################################################################################# + +.PHONY: compile +## Compiling for every OS and Platform +compile: next-patch-version + $(QUIET) $(ECHO) "Compiling for every OS and Platform" + $(QUIET) $(ECHO) "Version: $(PROJECT_VERSION)" + $(QUIET) $(ECHO) "Build: $(PROJECT_BUILD_DATE)" + + $(QUIET) cd $(SOURCE_PATH) ; \ + GO111MODULE=on GOOS=linux GOARCH=arm $(GO) build -ldflags "-X main.version=$(PROJECT_VERSION) -X main.build=$(PROJECT_BUILD_DATE)" -o $(BUILD_PATH)$(COMPONENT_SLUG)-linux-arm ; \ + GOOS=linux GOARCH=amd64 $(GO) build -ldflags "-X main.version=$(PROJECT_VERSION) -X main.build=$(PROJECT_BUILD_DATE)" -o $(BUILD_PATH)$(COMPONENT_SLUG)-linux-amd64 ; \ + GOOS=linux GOARCH=arm64 $(GO) build -ldflags "-X main.version=$(PROJECT_VERSION) -X main.build=$(PROJECT_BUILD_DATE)" -o $(BUILD_PATH)$(COMPONENT_SLUG)-linux-arm64 ; \ + GOOS=linux GOARCH=386 $(GO) build -ldflags "-X main.version=$(PROJECT_VERSION) -X main.build=$(PROJECT_BUILD_DATE)" -o $(BUILD_PATH)$(COMPONENT_SLUG)-linux-386 ; \ + GOOS=windows GOARCH=amd64 $(GO) build -ldflags "-X main.version=$(PROJECT_VERSION) -X main.build=$(PROJECT_BUILD_DATE)" -o $(BUILD_PATH)$(COMPONENT_SLUG)-windows ; \ + cd $(PROJECT_ROOT); diff --git a/deployment/makefiles/target-build-nodejs.mk b/deployment/makefiles/target-build-nodejs.mk new file mode 100644 index 0000000000000000000000000000000000000000..5758514d55ae40c3153927ade106a6cba0a1d3e9 --- /dev/null +++ b/deployment/makefiles/target-build-nodejs.mk @@ -0,0 +1,20 @@ +############################################################################################# +############################################################################################# +## +## BUILD NODE +## +############################################################################################# +############################################################################################# + +SPONGE ?= sponge + +EXECUTABLES = $(EXECUTABLES:-) $(SPONGE); + +.PHONY: build-node +## Build Node Components +build-node: next-patch-version $(PACKAGEMODIFIED) + $(QUIET) $(ECHO) "Building Node Components" + $(QUIET) $(ECHO) "Version: $(PROJECT_VERSION)" + $(QUIET) $(ECHO) "Source Path: $(SOURCE_PATH)" + $(QUIET) $(JQ) '.version = "$(PROJECT_VERSION)"' $(PACKAGE_JSON) | $(SPONGE) $(PACKAGE_JSON) + diff --git a/deployment/makefiles/target-caddy.mk b/deployment/makefiles/target-caddy.mk new file mode 100644 index 0000000000000000000000000000000000000000..4387423c6595cd58474e536f0cf4a181a69c2d3d --- /dev/null +++ b/deployment/makefiles/target-caddy.mk @@ -0,0 +1,23 @@ +############################################################################################# +############################################################################################# +## +## SERVER CADDY +## +############################################################################################# +############################################################################################# + +CADDY_VENDOR_PATH ?= $(VENDOR_PATH)caddy/ +CADDY_BIN ?= $(CADDY_VENDOR_PATH)caddy +CADDY_CONFIG ?= $(CADDY_VENDOR_PATH)caddy.conf +CADDY_PIDFILE ?= $(shell mktemp -d)/caddy.pid + +$(CADDY_BIN): + $(QUIET) $(MKDIR) -p $(CADDY_VENDOR_PATH) + $(QUIET) $(WGET) -O $(CADDY_BIN) "https://caddyserver.com/api/download?os=linux&arch=amd64&idempotency=75143981108035" + $(QUIET) $(CHMOD) u+x $(CADDY_BIN) + +.PHONY: run-caddy +## run caddy webserver +run-caddy: $(CADDY_BIN) + $(QUIET) $(CADDY_BIN) run -config $(CADDY_CONFIG) -pidfile $(CADDY_PIDFILE) -watch + diff --git a/deployment/makefiles/target-deploy-tool.mk b/deployment/makefiles/target-deploy-tool.mk new file mode 100644 index 0000000000000000000000000000000000000000..bb18b0682aad2b2ae468a466724018137079abe3 --- /dev/null +++ b/deployment/makefiles/target-deploy-tool.mk @@ -0,0 +1,20 @@ +############################################################################################# +############################################################################################# +## +## DEPLOY TOOLS +## +############################################################################################# +############################################################################################# + + +UPLOAD_TOOL_URL ?= s3://download.schukai.com/tools/$(COMPONENT_SLUG)/ + +.PHONY: deploy +## compile and deploy to S3 +deploy: compile + $(QUIET) AWS_PROFILE=$(AWS_PROFILE) find $(BUILD_PATH) -iname $(COMPONENT_SLUG)-* -exec $(AWS) s3 cp {} $(UPLOAD_TOOL_URL) \; + +.PHONY: overview-to-s3 +## overview-to-s3 +overview-to-s3: + $(QUIET) AWS_PROFILE=$(AWS_PROFILE) $(AWS) s3 cp $(WEB_PATH)/index.html $(UPLOAD_TOOL_URL) \ No newline at end of file diff --git a/deployment/makefiles/target-docman.mk b/deployment/makefiles/target-docman.mk new file mode 100644 index 0000000000000000000000000000000000000000..e5c836ed8f11e2c3d627aa7761503781e772f746 --- /dev/null +++ b/deployment/makefiles/target-docman.mk @@ -0,0 +1,39 @@ + +############################################################################################# +############################################################################################# +## +## DOCMAN-TARGETS +## +############################################################################################# +############################################################################################# + + + +$(PROJECT_ROOT)deployment/build/manual.html: ~/.local/bin/docman + docman document html --config $(PROJECT_ROOT)documentation/config.yaml + +$(PROJECT_ROOT)deployment/build/manual.pdf: ~/.local/bin/docman + docman document pdf --config $(PROJECT_ROOT)documentation/config.yaml + +.PHONY: build-doc-pdf +## creating the documentation in pdf format +build-doc-pdf: $(PROJECT_ROOT)deployment/build/manual.pdf + +.PHONY: build-doc-html +## creating the documentation in html format +build-doc-html: $(PROJECT_ROOT)deployment/build/manual.html + + +.PHONY: build-doc +## creating the documentation in pdf and html format +build-doc: build-doc-pdf build-doc-html + + +~/.local/bin/docman: + wget -O ~/.local/bin/docman https://download.schukai.com/tools/docman/docman-linux-amd64 + chmod u+x ~/.local/bin/docman + + +.PHONY: install-docman +install-docman: ~/.local/bin/docman + diff --git a/deployment/makefiles/target-fetch-go-licenses.mk b/deployment/makefiles/target-fetch-go-licenses.mk new file mode 100644 index 0000000000000000000000000000000000000000..f43406f8cf01a03e9989d8c1f450fed6549bb612 --- /dev/null +++ b/deployment/makefiles/target-fetch-go-licenses.mk @@ -0,0 +1,26 @@ +############################################################################################# +############################################################################################# +## +## GET LICENSES +## +############################################################################################# +############################################################################################# + +GO_MOD_FILE := $(SOURCE_PATH)go.mod + +ifeq ($(shell test -e $(GO_MOD_FILE) && echo -n yes),yes) + GO_CURRENT_MODULE := $(shell cat $(GO_MOD_FILE) | head -n1 | cut -d" " -f2) + # go install github.com/google/go-licenses@latest + EXECUTABLES = $(EXECUTABLES:-) go-licenses; +endif + +.PHONY: go-fetch-licenses +## Fetch licenses for all modules +go-fetch-licenses: +ifeq ($(GO_CURRENT_MODULE),) + $(QUIET) $(ECHO) "no go.mod file found, skipping fetching licenses" +else + $(QUIET) $(ECHO) "Fetch licenses" + $(QUIET) cd $(SOURCE_PATH); go-licenses save $(GO_CURRENT_MODULE) $(GO_LICENSES_IGNORE_PACKAGES) --force --save_path $(DOCUMENTATION_PATH)licenses/ ; cd - +endif + diff --git a/deployment/makefiles/target-git.mk b/deployment/makefiles/target-git.mk new file mode 100644 index 0000000000000000000000000000000000000000..7453d893b2488fd027e1c4a05095f5d613ff0279 --- /dev/null +++ b/deployment/makefiles/target-git.mk @@ -0,0 +1,47 @@ +############################################################################################# +############################################################################################# +## +## GIT-TARGETS +## +############################################################################################# +############################################################################################# + +EXECUTABLES = $(EXECUTABLES:-) uuidgen + +## Current Branch-GIT_TAG +GIT_TAG := - + +## Git Commit GIT_MESSAGE for git-push +GIT_MESSAGE := current status + +.PHONY: git-branch +## create new branch (use GIT_TAG-Variable) +git-branch: + + $(QUIET) export BRANCH="b$(GIT_TAG)/$(shell uuidgen --random)" ; \ + $(QUIET) $(GIT) checkout -b $${BRANCH} && \ + RESULT=$$($(GIT) push origin $$BRANCH 2>&1) && \ + RESULT2=$$($(GIT) branch --set-upstream-to=origin/$$BRANCH $$BRANCH) && \ + GITLABURL=$$(echo "$$RESULT" | tr '\n' '\#' | grep -o 'remote\:\s*https:\/\/gitlab\.schukai\.com[^ ]*' | cut -d " " -f2-9 | sed -e 's/^[ \t]*//') && \ + if $(OPENBROWSER) ; then google-chrome --profile-directory="Default" $$GITLABURL ; fi + +.PHONY: git-to-master +## git checkout master, fetch and merge +git-to-master: + $(QUIET) $(GIT) checkout master && $(GIT) fetch -pP && $(GIT) merge + +.PHONY: git-push-to-server +## git push changes to server +git-push-to-server: + $(QUIET) $(GIT) add -A + $(QUIET) $(GIT) commit -m"$(GIT_MESSAGE)" + $(QUIET) $(GIT) push + +.PHONY: git-push +## git create branch and push changes to server +git-push: git-branch git-push-to-server + +.PHONY: git-tag +## git create version tag +git-tag: + $(QUIET) $(GIT) tag -a "$(COMPONENT_VERSION)" -m "release $(COMPONENT_VERSION)" diff --git a/deployment/makefiles/target-help.mk b/deployment/makefiles/target-help.mk new file mode 100644 index 0000000000000000000000000000000000000000..abe1f924cbd4df3118ec7fd4ff02270d60e68f5d --- /dev/null +++ b/deployment/makefiles/target-help.mk @@ -0,0 +1,46 @@ +############################################################################################# +############################################################################################# +## +## HELP-TARGETS +## +############################################################################################# +############################################################################################# + +# @see .PHONY https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html#Phony-Targets +.DEFAULT_GOAL := help + +.PHONY: print +## Print Path +print: + $(ECHO) "THIS_MAKEFILE: $(THIS_MAKEFILE)" + $(ECHO) "THIS_MAKEFILE_PATH: $(THIS_MAKEFILE_PATH)" + $(ECHO) "PROJECT_ROOT: $(PROJECT_ROOT)" + +# Add a comment to the public targets so that it appears +# in this help Use two # characters for a help comment +.PHONY: help +help: + @printf "${COMMENT}Usage:${RESET}\n" + @printf " make [target] [arg=\"val\"...]\n\n" + @printf "${COMMENT}Available targets:${RESET}\n" + @awk '/^[a-zA-Z\-\\_0-9\.@]+:/ { \ + helpMessage = match(lastLine, /^## (.*)/); \ + if (helpMessage) { \ + helpCommand = substr($$1, 0, index($$1, ":")); \ + helpMessage = substr(lastLine, RSTART + 3, RLENGTH); \ + printf " ${INFO}%-22s${RESET} %s\n", helpCommand, helpMessage; \ + } \ + } \ + { lastLine = $$0 }' $(MAKEFILE_LIST) + @printf "\n${COMMENT}Available arguments:${RESET}\n\n" + @awk '/^(([a-zA-Z\-\\_0-9\.@]+)\s[?:]?=)/ { \ + helpMessage = match(lastLine, /^## (.*)/); \ + if (helpMessage) { \ + helpMessage = substr(lastLine, RSTART + 3, RLENGTH); \ + printf " ${INFO}%-22s${RESET} %s (Default: %s)\n", $$1, helpMessage, $$3; \ + } \ + } \ + { lastLine = $$0 }' $(MAKEFILE_LIST) + + + diff --git a/deployment/makefiles/target-init-standard.mk b/deployment/makefiles/target-init-standard.mk new file mode 100644 index 0000000000000000000000000000000000000000..7490dcf2ec0931ea80b32db1e2eff9aede62661f --- /dev/null +++ b/deployment/makefiles/target-init-standard.mk @@ -0,0 +1,20 @@ +############################################################################################# +############################################################################################# +## +## INIT-TARGETS +## +############################################################################################# +############################################################################################# + +# @see .PHONY https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html#Phony-Targets +.PHONY: init-standard + +## init standard project +init-standard: .gitignore + # The default directories are defined in the + # directories-standard.mk file, but all other + # targets can define directories as well. + $(QUIET) $(ECHO) "Run init-standard" + $(foreach path,$(PROJECT_DIRECTORIES),\ + $(shell $(MKDIR) -p $(path))) + $(ECHO) "Done" diff --git a/deployment/makefiles/target-jekyll.mk b/deployment/makefiles/target-jekyll.mk new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/deployment/makefiles/target-minerva.mk b/deployment/makefiles/target-minerva.mk new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/deployment/makefiles/target-update-makefiles.mk b/deployment/makefiles/target-update-makefiles.mk new file mode 100644 index 0000000000000000000000000000000000000000..a1c73d7129336266c058f40db67b3b0d2a3eef5e --- /dev/null +++ b/deployment/makefiles/target-update-makefiles.mk @@ -0,0 +1,22 @@ +############################################################################################# +############################################################################################# +## +## INIT-TARGETS +## +############################################################################################# +############################################################################################# + +# @see .PHONY https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html#Phony-Targets +.PHONY: update-makefiles + +## update standard makefiles +update-makefiles: + $(QUIET) $(eval TEMPD := $(shell mktemp -d)) + $(QUIET) $(GIT) clone --depth=1 https://gitlab.schukai.com/schukai/utilities/makefile.git/ "$(TEMPD)" > /dev/null + $(QUIET) $(CP) -rv $(TEMPD)/makefiles/* $(MAKEFILE_IMPORT_PATH) + $(QUIET) $(RM) -rf $(TEMPD) + + + + + diff --git a/deployment/makefiles/target-variable.mk b/deployment/makefiles/target-variable.mk new file mode 100644 index 0000000000000000000000000000000000000000..93f99c07fcc8ab3a8e000e865d7ddca2f2843220 --- /dev/null +++ b/deployment/makefiles/target-variable.mk @@ -0,0 +1,12 @@ +############################################################################################# +############################################################################################# +## +## VARIABLES-TARGETS +## +############################################################################################# +############################################################################################# + +.PHONY: variables +## Print all variables +variables: + @$(foreach v, $(.VARIABLES), $(if $(filter file,$(origin $(v))), $(info $(INFO)$(v)$(RESET)=$($(v))$(RESET)))) \ No newline at end of file diff --git a/deployment/makefiles/terminal-check.mk b/deployment/makefiles/terminal-check.mk new file mode 100644 index 0000000000000000000000000000000000000000..5db23c80e0215eaa75e1e10afbf242060fc69327 --- /dev/null +++ b/deployment/makefiles/terminal-check.mk @@ -0,0 +1,13 @@ +############################################################################################# +############################################################################################# +## +## TERMINAL CHECK +## +############################################################################################# +############################################################################################# + + + +# Executable Programs the Installed be have to +K := $(foreach exec,$(EXECUTABLES),\ + $(if $(shell which $(exec)),some string,$(error "Missing $(exec) in PATH; please install"))) \ No newline at end of file diff --git a/deployment/makefiles/terminal.mk b/deployment/makefiles/terminal.mk new file mode 100644 index 0000000000000000000000000000000000000000..fa2fb145e4db8907ef758a6572246b0b9635e6f9 --- /dev/null +++ b/deployment/makefiles/terminal.mk @@ -0,0 +1,42 @@ +############################################################################################# +############################################################################################# +## +## COMMANDS +## +############################################################################################# +############################################################################################# + +# Use bash instead of sh +## Sets the shell used +SHELL = bash + +# path and binaries +AWK ?= awk +CP ?= cp +CD ?= cd +KILL ?= kill +MV ?= mv +RM ?= rm +MKDIR ?= mkdir +SED ?= sed +FIND ?= find +SORT ?= sort +TOUCH ?= touch +WGET ?= wget +CHMOD ?= chmod +RSYNC ?= rsync +XARGS ?= xargs +GREP ?= grep +MAKE ?= make +GIT ?= git +LN ?= ln +TOUCH ?= touch +TEST ?= test +JQ ?= jq + + + +EXECUTABLES = $(EXECUTABLES:-) $(JQ) $(AWK) $(CP) $(KILL) $(MV) $(SED) $(FIND) $(SORT) $(TOUCH) $(WGET) $(CHMOD) $(RSYNC) $(XARGS) $(GREP) $(MAKE) $(GIT) + + + \ No newline at end of file diff --git a/deployment/makefiles/version.mk b/deployment/makefiles/version.mk new file mode 100644 index 0000000000000000000000000000000000000000..ff374ab21a617d2430d4166705fb429506b83382 --- /dev/null +++ b/deployment/makefiles/version.mk @@ -0,0 +1,27 @@ +############################################################################################# +############################################################################################# +## +## VERSIONS +## +############################################################################################# +############################################################################################# + +VERSION_BIN := version +EXECUTABLES = $(EXECUTABLES:-) $(VERSION_BIN) + +RELEASE_FILE ?= $(PROJECT_ROOT)release.json + +ifeq ("$(wildcard $(RELEASE_FILE))","") + $(shell echo '{"version":"0.1.0"}' > $(RELEASE_FILE)) +endif + +PROJECT_VERSION ?= $(shell cat $(RELEASE_FILE) | jq -r .version) +PROJECT_BUILD_DATE ?= $(shell $(VERSION_BIN) date) + + +.PHONY: next-patch-version +## create next-patch-version +next-patch-version: + $(QUIET) $(ECHO) "Creating next version" + $(QUIET) $(VERSION_BIN) patch --path $(RELEASE_FILE) --selector "version" + $(QUIET) $(eval PROJECT_VERSION := $(shell cat $(RELEASE_FILE) | jq -r .version)) diff --git a/deployment/package.json b/deployment/package.json new file mode 100644 index 0000000000000000000000000000000000000000..dcef75dd8b72e402f0efd2569895fdb7b9e25cdf --- /dev/null +++ b/deployment/package.json @@ -0,0 +1,40 @@ +{ + "name": "@schukai/monster", + "version": "0.1.15", + "description": "Monster is a simple library for creating fast, robust and lightweight websites.", + "keywords": [ + "framework", + "web", + "dom", + "css", + "sass", + "mobile-first", + "app", + "front-end", + "templates", + "schukai", + "core", + "shopcloud", + "alvine", + "monster", + "buildmap", + "stack", + "observer", + "observable", + "uuid", + "node", + "nodelist", + "css-in-js", + "logger", + "log", + "theme" + ], + "type": "module", + "homepage": "https://monsterjs.org", + "repository": { + "type": "git", + "url": "https://gitlab.schukai.com/oss/libraries/javascript/monster.git" + }, + "author": "schukai GmbH", + "license": "AGPL 3.0" +} diff --git a/development/tests/cases/constraint/andoperator.js b/development/tests/cases/constraint/andoperator.js new file mode 100644 index 0000000000000000000000000000000000000000..a9508d1da5c82b80aa14969a20c543c0889f4b9d --- /dev/null +++ b/development/tests/cases/constraint/andoperator.js @@ -0,0 +1,35 @@ +import {Valid} from "../../../source/constraints/valid.js"; +import {Invalid} from "../../../source/constraints/invalid.js"; +import {AndOperator} from "../../../source/constraints/andoperator.js"; + +describe('AndOperator', function () { + + describe('.isValid()', function () { + + [ + [new Valid(), new Valid(), true], + [new Valid(), new Invalid(), false], + [new Invalid(), new Valid(), false], + [new Invalid(), new Invalid(), false] + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + it('constraint.isValid() should return ' + c, function (done) { + + let constraint = new AndOperator(a, b); + constraint.isValid().then(() => { + c === true ? done() : done(new Error()); + }).catch(() => { + c === true ? done(new Error()) : done(); + }) + + }); + + }); + + }); +}); + diff --git a/development/tests/cases/constraint/invalid.js b/development/tests/cases/constraint/invalid.js new file mode 100644 index 0000000000000000000000000000000000000000..fbdf5156571b08b3e5ae2c720edc951fed881ea4 --- /dev/null +++ b/development/tests/cases/constraint/invalid.js @@ -0,0 +1,19 @@ +import {Monster, Invalid} from "../../../source/constraints/invalid.js"; +import {expect} from "chai" + +describe('Invalid', function () { + + describe('.isValid()', function () { + let isvalid = new Invalid() + + it('should resolve promise', function (done) { + isvalid.isValid().catch(e => { + expect(e).to.be.undefined + done(); + }) + }); + + }); + +}); + diff --git a/development/tests/cases/constraint/isarray.js b/development/tests/cases/constraint/isarray.js new file mode 100644 index 0000000000000000000000000000000000000000..d972fcaccc1d5533b65131f23e2f1a424fe2efa3 --- /dev/null +++ b/development/tests/cases/constraint/isarray.js @@ -0,0 +1,21 @@ +import {IsArray} from "../../../source/constraints/isarray.js"; +import {expect} from "chai" + +describe('IsArray', function () { + + describe('.isValid()', function () { + let constraint = new IsArray() + + it('should resolve promise', function (done) { + constraint.isValid([1,2,3]).then(r => { + expect(r).is.a('array'); + done(); + }).catch(e => { + done(new Error("should not reached: " + e)); + }) + }); + + }); + +}); + diff --git a/development/tests/cases/constraint/isobject.js b/development/tests/cases/constraint/isobject.js new file mode 100644 index 0000000000000000000000000000000000000000..ab5230b31994fbd8f0f63fe83111fef39d853d88 --- /dev/null +++ b/development/tests/cases/constraint/isobject.js @@ -0,0 +1,21 @@ +import {IsObject} from "../../../source/constraints/isobject.js"; +import {expect} from "chai" + +describe('IsObject', function () { + + describe('.isValid()', function () { + let constraint = new IsObject() + + it('should resolve promise', function (done) { + constraint.isValid({}).then(r => { + expect(r).is.a('object'); + done(); + }).catch(e => { + done(new Error("should not reached: " + e)); + }) + }); + + }); + +}); + diff --git a/development/tests/cases/constraint/oroperator.js b/development/tests/cases/constraint/oroperator.js new file mode 100644 index 0000000000000000000000000000000000000000..a1721ae98f3294ea5a5bbad629d6fcede908bd91 --- /dev/null +++ b/development/tests/cases/constraint/oroperator.js @@ -0,0 +1,35 @@ +import {Valid} from "../../../source/constraints/valid.js"; +import {Invalid} from "../../../source/constraints/invalid.js"; +import {OrOperator} from "../../../source/constraints/oroperator.js"; + +describe('OrOperator', function () { + + describe('.isValid()', function () { + + [ + [new Valid(), new Valid(), true], + [new Valid(), new Invalid(), true], + [new Invalid(), new Valid(), true], + [new Invalid(), new Invalid(), false] + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + it('constraint.isValid() should return ' + c, function (done) { + + let constraint = new OrOperator(a, b); + constraint.isValid().then(() => { + c === true ? done() : done(new Error()); + }).catch(() => { + c === true ? done(new Error()) : done(); + }) + + }); + + }); + + }); +}); + diff --git a/development/tests/cases/constraint/valid.js b/development/tests/cases/constraint/valid.js new file mode 100644 index 0000000000000000000000000000000000000000..a5363be3ab2d7cd80f469675159e5b71bf5fd22d --- /dev/null +++ b/development/tests/cases/constraint/valid.js @@ -0,0 +1,20 @@ +import {Monster, Valid} from "../../../source/constraints/valid.js"; +import {expect} from "chai" + +describe('Valid', function () { + + describe('.isValid()', function () { + let constraint = new Valid() + + it('should resolve promise', function (done) { + constraint.isValid({}).then(r => { + done(); + }).catch(e => { + done(new Error("should not reached: " + e)); + }) + }); + + }); + +}); + diff --git a/development/tests/cases/data/buildmap.js b/development/tests/cases/data/buildmap.js new file mode 100644 index 0000000000000000000000000000000000000000..42e90018cfe727c4d7cf10c2fa098323772b727b --- /dev/null +++ b/development/tests/cases/data/buildmap.js @@ -0,0 +1,340 @@ +"use strict"; + +import {expect} from "chai" +import {buildMap} from "../../../source/data/buildmap.js"; + + +describe('buildMap', function () { + + let convertMapResult = function (r) { + if (r instanceof Map) { + r = Object.fromEntries(r); + if (r instanceof Array) { + r = r.map((e) => { + return convertMapResult(e); + }) + } else if (typeof r === "object") { + for (const [k, o] of Object.entries(r)) { + r[k] = convertMapResult(o); + } + } + } + + return r; + } + + describe('build Map with callback', function () { + it('definition should return map with sub and parent keys', function () { + + let obj = { + "data": [ + { + "id": 10, + "name": "Cassandra", + "enrichment": { + variants: [ + { + sku: 1, label: "XXS", price: [ + {vk: '12.12 €'}, + {vk: '12.12 €'} + ] + }, + { + sku: 2, label: "XS", price: [ + {vk: '22.12 €'}, + {vk: '22.12 €'} + ] + }, + { + sku: 3, label: "S", price: [ + {vk: '32.12 €'}, + {vk: '32.12 €'} + ] + }, + { + sku: 4, label: "L", price: [ + {vk: '42.12 €'}, + {vk: '42.12 €'} + ] + } + ] + + } + }, + { + "id": 20, + "name": "Yessey!", + "enrichment": { + variants: [ + { + sku: 1, label: "XXS", price: [ + {vk: '12.12 €'}, + {vk: '12.12 €'} + ] + }, + { + sku: 2, label: "XS", price: [ + {vk: '22.12 €'}, + {vk: '22.12 €'} + ] + }, + { + sku: 3, label: "S", price: [ + {vk: '32.12 €'}, + {vk: '32.12 €'} + ] + }, + { + sku: 4, label: "L", price: [ + {vk: '42.12 €'}, + {vk: '42.12 €'} + ] + } + ] + + } + } + ] + }; + + let callback = function (subject) { + let m = new Map; + + for (const [i, b] of Object.entries(subject.data)) { + + let key1 = i; + + for (const [j, c] of Object.entries(b.enrichment.variants)) { + let key2 = j; + + for (const [k, d] of Object.entries(c.price)) { + + let key3 = k; + + d.name = b.name; + d.label = c.label; + d.id = [key1, key2, key3].join('.'); + + m.set(d.id, d); + } + + } + } + return m; + } + + let map = buildMap(obj, callback, '${name} ${label}', '${id}') + let i = convertMapResult(map); + + expect(JSON.stringify(i)).to.be.equal('{"0.0.0":"Cassandra XXS","0.0.1":"Cassandra XXS","0.1.0":"Cassandra XS","0.1.1":"Cassandra XS","0.2.0":"Cassandra S","0.2.1":"Cassandra S","0.3.0":"Cassandra L","0.3.1":"Cassandra L","1.0.0":"Yessey! XXS","1.0.1":"Yessey! XXS","1.1.0":"Yessey! XS","1.1.1":"Yessey! XS","1.2.0":"Yessey! S","1.2.1":"Yessey! S","1.3.0":"Yessey! L","1.3.1":"Yessey! L"}'); + + }) + }) + + describe('build submap with *', function () { + it('definition should return {"10":"Cassandra 10","20":"Yessey! 20"}', function () { + + let obj = { + "data": [ + { + "id": 10, + "name": "Cassandra" + }, + { + "id": 20, + "name": "Yessey!", + } + ] + }; + + let map = buildMap(obj, 'data.*', '${name} ${id}', '${id}') + let i = convertMapResult(map); + expect(JSON.stringify(i)).to.be.equal('{"10":"Cassandra 10","20":"Yessey! 20"}'); + + }) + }) + + + describe('build submap with **', function () { + it('definition should return Map', function () { + + let obj = { + "data": [ + { + "id": 10, + "name": "Cassandra", + "enrichment": { + variants: [ + { + sku: 1, label: "XXS", + price: [ + {vk: '12.12 €', id: 1}, + {vk: '12.12 €', id: 2} + ] + }, + { + sku: 2, label: "XS", + price: [ + {vk: '22.12 €', id: 3}, + {vk: '22.12 €', id: 4} + ] + }, + { + sku: 3, label: "S", + price: [ + {vk: '32.12 €', id: 5}, + {vk: '32.12 €', id: 6} + ] + }, + { + sku: 4, label: "L", + price: [ + {vk: '42.12 €', id: 7}, + {vk: '42.12 €', id: 8} + ] + } + ] + + } + }, + { + "id": 20, + "name": "Yessey!", + "enrichment": { + variants: [ + { + sku: 1, label: "XXS", + price: [ + {vk: '12.12 €', id: 9}, + {vk: '12.12 €', id: 10} + ] + }, + { + sku: 2, label: "XS", + price: [ + {vk: '22.12 €', id: 11}, + {vk: '22.12 €', id: 12} + ] + }, + { + sku: 3, label: "S", + price: [ + {vk: '32.12 €', id: 13}, + {vk: '32.12 €', id: 14} + ] + }, + { + sku: 4, + label: "L", + price: [ + {vk: '42.12 €', id: 15}, + {vk: '42.12 €', id: 16}, + {vk: '44.12 €', id: 17} + ] + } + ] + + } + } + ] + }; + + let map = buildMap(obj, 'data.*.enrichment.variants.*.price.*', '${vk} ${^.label} ${^.^.name}', '${^.^.sku}') + let i = convertMapResult(map); + expect(JSON.stringify(i)).to.be.equal('{"data.0.enrichment.variants.0.price.0":"12.12 € XXS Cassandra","data.0.enrichment.variants.0.price.1":"12.12 € XXS Cassandra","data.0.enrichment.variants.1.price.0":"22.12 € XS Cassandra","data.0.enrichment.variants.1.price.1":"22.12 € XS Cassandra","data.0.enrichment.variants.2.price.0":"32.12 € S Cassandra","data.0.enrichment.variants.2.price.1":"32.12 € S Cassandra","data.0.enrichment.variants.3.price.0":"42.12 € L Cassandra","data.0.enrichment.variants.3.price.1":"42.12 € L Cassandra","data.1.enrichment.variants.0.price.0":"12.12 € XXS Yessey!","data.1.enrichment.variants.0.price.1":"12.12 € XXS Yessey!","data.1.enrichment.variants.1.price.0":"22.12 € XS Yessey!","data.1.enrichment.variants.1.price.1":"22.12 € XS Yessey!","data.1.enrichment.variants.2.price.0":"32.12 € S Yessey!","data.1.enrichment.variants.2.price.1":"32.12 € S Yessey!","data.1.enrichment.variants.3.price.0":"42.12 € L Yessey!","data.1.enrichment.variants.3.price.1":"42.12 € L Yessey!","data.1.enrichment.variants.3.price.2":"44.12 € L Yessey!"}'); + + }) + }) + + describe('examplecode', function () { + + it('should execute example code', function () { + + let obj = { + "data": [ + { + "id": 10, + "name": "Cassandra", + "address": { + "street": "493-4105 Vulputate Street", + "city": "Saumur", + "zip": "52628" + } + }, + { + "id": 20, + "name": "Holly", + "address": { + "street": "1762 Eget Rd.", + "city": "Schwalbach", + "zip": "952340" + } + }, + { + "id": 30, + "name": "Guy", + "address": { + "street": "957-388 Sollicitudin Avenue", + "city": "Panchià", + "zip": "420729" + } + } + ] + }; + + let map; + map = buildMap(obj, 'data.*', '${name} (${address.zip} ${address.city})', 'id') + expect(map).to.be.instanceOf(Map); + + map = buildMap(obj, 'data.*', '${name} (${address.zip} ${address.city})') + expect(map).to.be.instanceOf(Map); + + map = buildMap(obj, 'data.*', '${name} (${address.zip} ${address.city})', 'id', function (value, key) { + return (value['id'] >= 20) ? true : false + }) + expect(map).to.be.instanceOf(Map); + }); + + }) + + describe('buildmap()', function () { + + let obj1 = { + dataset: { + "10082": { + name: "Test 1", + address: "Here 1" + }, + "10084": { + name: "Test 2", + address: "Here 2" + } + } + }; + + it('should return Map Instance.', function () { + expect(buildMap({}, '')).to.be.instanceOf(Map); + }); + + + [ + [obj1, 'dataset.*', 'address', '{"dataset.10082":"Here 1","dataset.10084":"Here 2"}'], + [obj1, 'x', undefined, '{}'], + [obj1, 'dataset.*', 'name', '{"dataset.10082":"Test 1","dataset.10084":"Test 2"}'], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + let d = data.shift() + + it('buildMap(' + JSON.stringify(a) + ',' + JSON.stringify(b) + ',' + JSON.stringify(c) + ') should return ' + JSON.stringify(d) + ' ', function () { + let t = buildMap(a, b, c); + let m = JSON.stringify(convertMapResult(t)); + expect(m).to.be.equal(d); + }); + }); + + + }); +}); diff --git a/development/tests/cases/data/buildtree.js b/development/tests/cases/data/buildtree.js new file mode 100644 index 0000000000000000000000000000000000000000..556602a3b6051532351ad0d0e66b65d78941838c --- /dev/null +++ b/development/tests/cases/data/buildtree.js @@ -0,0 +1,212 @@ +"use strict"; + +import {expect} from "chai" +import {buildTree} from "../../../source/data/buildtree.js"; +import {NodeList} from "../../../source/types/nodelist.js"; + + +describe('buildTree', function () { + + describe('example', function () { + + it('should run example', function () { + + const objects = { + dataset: { + "1": { + id: "1", + name: "vehicle", + parent: null + + }, + "2": { + id: "2", + name: "car", + parent: "1" + }, + "3": { + id: "3", + name: "truck", + parent: "1" + }, + "4": { + id: "4", + name: "motorcycle", + parent: "1" + }, + "5": { + id: "5", + name: "SUV", + parent: "2" + }, + "6": { + id: "6", + name: "sports car", + parent: "2" + } + } + } + + const nodes = buildTree(objects, 'dataset.*', 'id', 'parent'); + + expect(nodes).to.be.instanceOf(NodeList); + expect(nodes.length).to.equal(1); + expect(nodes.toString()).to.be.equal('{"id":"1","name":"vehicle","parent":null}\n ├{"id":"2","name":"car","parent":"1"}\n | ├{"id":"5","name":"SUV","parent":"2"}\n | └{"id":"6","name":"sports car","parent":"2"}\n ├{"id":"3","name":"truck","parent":"1"}\n └{"id":"4","name":"motorcycle","parent":"1"}' ); + + + }) + }) + + describe('buildTree()', function () { + + let obj1 = { + dataset: { + "1": { + id: "1", + name: "Test 1", + address: "Here 1", + parent: null + + }, + "2": { + id: "2", + name: "Test 2", + address: "Here 2", + parent: "1" + }, + "3": { + id: "3", + name: "Test 3", + address: "Here 3", + parent: "2" + }, + "4": { + id: "4", + name: "Test 4", + address: "Here 4", + parent: "2" + }, + "5": { + id: "5", + name: "Test 5", + address: "Here 5", + parent: "1" + }, + "6": { + id: "6", + name: "Test 6", + address: "Here 6", + parent: "4" + } + } + }; + + it('should return Node Instance.', function () { + expect(buildTree({}, '')).to.be.instanceOf(NodeList); + }); + + [ + [obj1, 'dataset.*', '{"id":"1","name":"Test 1","address":"Here 1","parent":null}\n ├{"id":"2","name":"Test 2","address":"Here 2","parent":"1"}\n | ├{"id":"3","name":"Test 3","address":"Here 3","parent":"2"}\n | └{"id":"4","name":"Test 4","address":"Here 4","parent":"2"}\n | | └{"id":"6","name":"Test 6","address":"Here 6","parent":"4"}\n └{"id":"5","name":"Test 5","address":"Here 5","parent":"1"}'], + [obj1, 'x', ''], + [obj1, 'dataset.*', '{"id":"1","name":"Test 1","address":"Here 1","parent":null}\n ├{"id":"2","name":"Test 2","address":"Here 2","parent":"1"}\n | ├{"id":"3","name":"Test 3","address":"Here 3","parent":"2"}\n | └{"id":"4","name":"Test 4","address":"Here 4","parent":"2"}\n | | └{"id":"6","name":"Test 6","address":"Here 6","parent":"4"}\n └{"id":"5","name":"Test 5","address":"Here 5","parent":"1"}'], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + it('buildTree(' + JSON.stringify(a) + ',' + JSON.stringify(b) + ') should return ' + JSON.stringify(c) + ' ', function () { + let nodelist = buildTree(a, b, 'id', 'parent'); + expect(nodelist.toString()).to.be.eql(c); + }); + }); + + + }); + + describe('buildTree() test 2', function () { + + /** + * 2 + * 1 + * 3 + * 4 + * 6 + * 5 + * + */ + let obj1 = { + dataset: { + "1": { + id: "1", + name: "Test 1", + address: "Here 1", + parent: "2" + }, + "2": { + id: "2", + name: "Test 2", + address: "Here 2", + parent: "0" + }, + "3": { + id: "3", + name: "Test 3", + address: "Here 3", + parent: "2" + }, + "4": { + id: "4", + name: "Test 4", + address: "Here 4", + parent: "0" + }, + "5": { + id: "5", + name: "Test 5", + address: "Here 5", + parent: "0" + }, + "6": { + id: "6", + name: "Test 6", + address: "Here 6", + parent: "4" + }, + "7": { + id: "7", + name: "Test 7", + address: "Here 7", + parent: "1" + } + } + }; + + it('should return Node Instance.', function () { + expect(buildTree({}, '')).to.be.instanceOf(NodeList); + }); + + [ + [obj1, 'dataset.*', '{"id":"2","name":"Test 2","address":"Here 2","parent":"0"}\n ├{"id":"1","name":"Test 1","address":"Here 1","parent":"2"}\n | └{"id":"7","name":"Test 7","address":"Here 7","parent":"1"}\n └{"id":"3","name":"Test 3","address":"Here 3","parent":"2"}\n{"id":"4","name":"Test 4","address":"Here 4","parent":"0"}\n └{"id":"6","name":"Test 6","address":"Here 6","parent":"4"}\n{"id":"5","name":"Test 5","address":"Here 5","parent":"0"}'], + [obj1, 'x', ''], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + it('buildTree(' + JSON.stringify(a) + ',' + JSON.stringify(b) + ') should return ' + JSON.stringify(c) + ' ', function () { + let nodelist = buildTree(a, b, 'id', 'parent', { + rootReferences: ['0'] + }); + + expect(nodelist.toString()).to.be.equal(c); + + }); + }); + + + }); + + +}); diff --git a/development/tests/cases/data/datasource.js b/development/tests/cases/data/datasource.js new file mode 100644 index 0000000000000000000000000000000000000000..5324f0b55dfeb4d70eb3195065ff43fc0627c32a --- /dev/null +++ b/development/tests/cases/data/datasource.js @@ -0,0 +1,60 @@ +"use strict"; + +import {expect} from "chai" +import {Datasource} from "../../../source/data/datasource.js"; + + +describe('Datasource', function () { + + + it('should instance of Datasource ', function () { + expect(new Datasource()).to.be.instanceof(Datasource) + }); + + describe('Options', function () { + it('setOption should change value', function () { + const datasource = new Datasource(); + expect(datasource.getOption('default')).to.be.undefined + datasource.setOption('default', true) + expect(datasource.getOption('default')).to.be.true + }); + + it('setOptions should set all values', function () { + const datasource = new Datasource(); + expect(datasource.getOption('default')).to.be.undefined + datasource.setOptions({default: true}) + expect(datasource.getOption('default')).to.be.true + }); + + }) + + describe('rw', function () { + const datasource = new Datasource(); + it('read should throw exeption', function () { + expect(() => datasource.read()).to.throw(Error); + }); + + it('write should throw exeption', function () { + expect(() => datasource.read()).to.throw(Error); + }); + + + }) + + describe('get/set', function () { + const datasource = new Datasource(); + it('get should return undefined', function () { + expect( datasource.get()).to.be.eql({}); + }); + + it('write should throw exeption', function () { + expect( datasource.get()).to.be.eql({}); + expect( datasource.set({a:'myvalue'})).to.be.instanceof(Datasource); + expect( datasource.get()).to.be.eql({a:'myvalue'}); + }); + + + }) + + +}) \ No newline at end of file diff --git a/development/tests/cases/data/datasource/restapi.js b/development/tests/cases/data/datasource/restapi.js new file mode 100644 index 0000000000000000000000000000000000000000..1b35cb3ecdbc5c6c50ffc9fb3548f1880ec28f85 --- /dev/null +++ b/development/tests/cases/data/datasource/restapi.js @@ -0,0 +1,89 @@ +"use strict"; + +import {expect} from "chai" +import {RestAPI} from "../../../../source/data/datasource/restapi.js"; +import {validateObject} from "../../../../source/types/validate.js"; + + +describe('RestAPI', function () { + + let fetchReference; + let returnStatus; + + afterEach(() => { + global['fetch'] = fetchReference; + }); + + beforeEach(() => { + + returnStatus = 200; + fetchReference = global['fetch']; + global['fetch'] = function (url, options) { + + if (!url) throw new Error('missing url') + + return new Promise((resolve, reject) => { + resolve({ + text: function () { + return JSON.stringify({ + a: "test" + }) + }, + status: returnStatus + }); + }) + + }; + + }) + + it('should instance of RestAPI ', function () { + expect(new RestAPI('https://monsterjs.org/assets/world.json')).to.be.instanceof(RestAPI) + }); + + describe('rw', function () { + + it('read should return object', function (done) { + const ds = new RestAPI({url: 'https://monsterjs.org/assets/world.json'}) + ds.read().then(data => { + validateObject(data); + done(); + }).catch(e => done(e)); + }); + + it('write should ', function (done) { + const ds = new RestAPI({url: 'https://monsterjs.org/assets/world.json'}, {url: 'https://monsterjs.org/assets/world.json'}) + ds.write().then(data => { + validateObject(data); + done(); + }).catch(e => done(e)); + }); + + + }) + + describe('rw with errors', function () { + + it('read should throw exception', function (done) { + returnStatus = 400; // fetch response with 400 + + const ds = new RestAPI({url: 'https://monsterjs.org/assets/world.json'}) + ds.read().then(data => { + done("should not run."); + }).catch(e => done()); // should throw exception because returnStatus=400 + }); + + it('write should ', function (done) { + returnStatus = 400; // fetch response with 400 + const ds = new RestAPI({url: 'https://monsterjs.org/assets/world.json'}, {url: 'https://monsterjs.org/assets/world.json'}) + ds.write().then(data => { + validateObject(data); + done("error"); + }).catch(e => done()); // should throw exception because returnStatus=400 + }); + + + }) + + +}) \ No newline at end of file diff --git a/development/tests/cases/data/datasource/storage/localstorage.js b/development/tests/cases/data/datasource/storage/localstorage.js new file mode 100644 index 0000000000000000000000000000000000000000..488a120e925e82a875015df26ca3635e64f9069a --- /dev/null +++ b/development/tests/cases/data/datasource/storage/localstorage.js @@ -0,0 +1,47 @@ +"use strict"; + +import {expect} from "chai" +import {LocalStorage} from "../../../../../source/data/datasource/storage/localstorage.js"; +import {createStorage} from "../../../../util/localstorage.js"; + + +let localStorageReference; + +describe('LocalStorage', function () { + + afterEach(() => { + global['localStorage'] = localStorageReference; + }); + + beforeEach(function () { + + localStorageReference = global['localStorage'] + global['localStorage'] = createStorage(); + + }) + + it('should instance of LocalStorage ', function () { + expect(new LocalStorage('mykey')).to.be.instanceof(LocalStorage) + }); + + describe('rw', function () { + + it('read should return object', function (done) { + const ds = new LocalStorage('mykey') + ds.read().then(data => { + done(); + }).catch(e => done(e)); + }); + + it('write should ', function (done) { + const ds = new LocalStorage('mykey') + ds.write().then(data => { + done(); + }).catch(e => done(e)); + }); + + + }) + + +}) \ No newline at end of file diff --git a/development/tests/cases/data/datasource/storage/sessionstorage.js b/development/tests/cases/data/datasource/storage/sessionstorage.js new file mode 100644 index 0000000000000000000000000000000000000000..7703675c60153cc85f5ddf567aa90d6bcb14abed --- /dev/null +++ b/development/tests/cases/data/datasource/storage/sessionstorage.js @@ -0,0 +1,47 @@ +"use strict"; + +import {expect} from "chai" +import {SessionStorage} from "../../../../../source/data/datasource/storage/sessionstorage.js"; +import {createStorage} from "../../../../util/localstorage.js"; + + +let storageReference; + +describe('SessionStorage', function () { + + afterEach(() => { + global['sessionStorage'] = storageReference; + }); + + beforeEach(function () { + + storageReference = global['sessionStorage'] + global['sessionStorage'] = createStorage(); + + }) + + it('should instance of SessionStorage ', function () { + expect(new SessionStorage('mykey')).to.be.instanceof(SessionStorage) + }); + + describe('rw', function () { + + it('read should return object', function (done) { + const ds = new SessionStorage('mykey') + ds.read().then(data => { + done(); + }).catch(e => done(e)); + }); + + it('write should ', function (done) { + const ds = new SessionStorage('mykey') + ds.write().then(data => { + done(); + }).catch(e => done(e)); + }); + + + }) + + +}) \ No newline at end of file diff --git a/development/tests/cases/data/diff.js b/development/tests/cases/data/diff.js new file mode 100644 index 0000000000000000000000000000000000000000..ac74662661d07fb41f209575ca7732af30b5dd03 --- /dev/null +++ b/development/tests/cases/data/diff.js @@ -0,0 +1,204 @@ +"use strict"; + +import {expect} from "chai" +import {diff} from "../../../source/data/diff.js"; +import {Queue} from "../../../source/types/queue.js"; + +describe('Diff', function () { + + describe('Diff special cases', function () { + + var obj1, obj2; + + beforeEach(() => { + obj1 = { + "count": 1, + "reason": null, + "info": "test", + "exchange": [] + }; + obj2 = { + "count": 2, + "reason": null, + "info": undefined, + "exchange": [] + }; + + }); + + it('Diff value with null ', function () { + let d = diff(obj1, obj2); + expect(JSON.stringify(d)).is.equal('[{"operator":"update","path":["count"],"first":{"value":1,"type":"number"},"second":{"value":2,"type":"number"}},{"operator":"delete","path":["info"],"first":{"value":"test","type":"string"}}]'); + }); + + it('Diff identical value with null ', function () { + let d = diff(obj1, obj1); + expect(JSON.stringify(d)).is.equal('[]'); + }); + + + }) + + const date1 = new Date; + + // https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Date/parse + const date2 = Date.parse('01 Jan 1970 00:00:00 GMT'); + const date3 = Date.parse('04 Dec 1995 00:12:00 GMT'); // Number + const date4 = Date.parse('04 Dec 1995 00:12:01 GMT'); // Number + + const date5 = new Date(Date.parse('04 Dec 1995 00:12:01 GMT')); // Date + const date6 = new Date(Date.parse('04 Dec 1995 00:12:02 GMT')); // Date + + [ + + [ + {}, + { + a: new Queue() + }, + '[{"operator":"add","path":["a"],"second":{"value":{"data":[]},"type":"object","instance":"Queue"}}]' + ], + + [ + { + a: { + b: 1 + }, + c: { + d: 2 + } + }, + { + a: { + e: 3 + }, + f: { + d: 2 + } + }, + '[{"operator":"delete","path":["a","b"],"first":{"value":1,"type":"number"}},{"operator":"add","path":["a","e"],"second":{"value":3,"type":"number"}},{"operator":"delete","path":["c"],"first":{"value":{"d":2},"type":"object","instance":"Object"}},{"operator":"add","path":["f"],"second":{"value":{"d":2},"type":"object","instance":"Object"}}]' + ], + + [ + { + a: date1, + c: date4 + }, + { + a: date2, + b: date3 + }, + '[{"operator":"update","path":["a"],"first":{"value":"' + date1.toISOString() + '","type":"object","instance":"Date"},"second":{"value":0,"type":"number"}},{"operator":"delete","path":["c"],"first":{"value":818035921000,"type":"number"}},{"operator":"add","path":["b"],"second":{"value":818035920000,"type":"number"}}]' + ], + + [ + { + a: date5 + }, + { + b: date6 + }, + '[{"operator":"delete","path":["a"],"first":{"value":"1995-12-04T00:12:01.000Z","type":"object","instance":"Date"}},{"operator":"add","path":["b"],"second":{"value":"1995-12-04T00:12:02.000Z","type":"object","instance":"Date"}}]' + ], + [ + { + a: date1 + }, + { + a: date1 + }, + '[]' + ], + [ + {}, + { + a: date3 + }, + '[{"operator":"add","path":["a"],"second":{"value":818035920000,"type":"number"}}]' + ], + + [ + { + a: date2 + }, + { + a: date3 + }, + '[{"operator":"update","path":["a"],"first":{"value":0,"type":"number"},"second":{"value":818035920000,"type":"number"}}]' + ], + + [ + { + a: 1 + }, + { + a: 2 + }, + '[{"operator":"update","path":["a"],"first":{"value":1,"type":"number"},"second":{"value":2,"type":"number"}}]' + ], + + [ + { + a: 1 + }, + { + x: 1 + }, + '[{"operator":"delete","path":["a"],"first":{"value":1,"type":"number"}},{"operator":"add","path":["x"],"second":{"value":1,"type":"number"}}]' + ], + + [ + { + a: 1 + }, + { + a: 2, + x: 1 + }, + '[{"operator":"update","path":["a"],"first":{"value":1,"type":"number"},"second":{"value":2,"type":"number"}},{"operator":"add","path":["x"],"second":{"value":1,"type":"number"}}]' + ], + [ + { + a: null + }, + {}, + '[{"operator":"delete","path":["a"],"first":{"value":null,"type":"object"}}]' + ], + [ + { + a: null + }, + { + a: null + }, + '[]' + ], + [ + {}, + { + a: null + }, + '[{"operator":"add","path":["a"],"second":{"value":null,"type":"object"}}]' + ], [ + {}, + {a: undefined}, + '[{"operator":"add","path":["a"],"second":{"type":"undefined"}}]' + ] + + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + + it('Diff should result ' + c, function () { + let d = diff(a, b); + expect(JSON.stringify(d)).is.equal(c); + }); + + + }); + +}) \ No newline at end of file diff --git a/development/tests/cases/data/extend.js b/development/tests/cases/data/extend.js new file mode 100644 index 0000000000000000000000000000000000000000..9eede81df0a2fbd4b01f74b9beae1fee7c75adb6 --- /dev/null +++ b/development/tests/cases/data/extend.js @@ -0,0 +1,121 @@ +"use strict"; + +import {extend} from "../../../source/data/extend.js"; +import {expect} from "chai" + +class MockForExtends { + constructor() { + } +} + + +describe('extend', function () { + + [ + [ + '{"thekey":{}}',{},{thekey:new MockForExtends} + ], + [ + '{"a":{"b":["1","2","3"]}}', + { + a: { + b: [ + "1", + "2", + "3" + ] + } + }, + { + a: { + b: [] + } + }, + ], [ + '{"a":{"b":1,"d":1}}', + { + a: { + b: 1 + } + }, + { + a: { + d: 1 + } + }, + ], + + [ + '{"a":{"b":1,"d":{"x":["car"],"f":true,"g":[]}}}', + {}, + { + a: { + b: 1, + d: {x: ["car"]} + } + }, + { + a: { + d: { + f: true, + g: [] + } + } + }, + ] + + ].forEach(function (data) { + + let d = data.shift() + let a = data + + it('.extend(' + JSON.stringify(a) + ') should result in ' + d, function () { + let x = extend.apply(this, a); + expect(JSON.stringify(x)).is.equal(d); + }); + + + }); + + + [ + + + [ + {}, + { + a: { + b: 1, + d: ["car"] + } + }, + { + a: { + d: { + f: true, + g: [] + } + } + }, + ], + [ + { + a: {} + }, + { + a: [] + } + ] + + ].forEach(function (data) { + + let a = data + + it('.extend(' + JSON.stringify(a) + ') should throw Error ', function () { + expect(() => extend.apply(this, a)).to.throw(Error); + }); + + + }); + +}) \ No newline at end of file diff --git a/development/tests/cases/data/pathfinder.js b/development/tests/cases/data/pathfinder.js new file mode 100644 index 0000000000000000000000000000000000000000..da8609e3596de0817ab4ea45c11c55a93271c931 --- /dev/null +++ b/development/tests/cases/data/pathfinder.js @@ -0,0 +1,403 @@ +"use strict"; + +import {expect} from "chai" +import {Pathfinder} from "../../../source/data/pathfinder.js"; + +describe('Pathfinder', function () { + + let convertMapResult = function (r) { + if (r instanceof Map) { + r = Object.fromEntries(r); + if (r instanceof Array) { + r = r.map((e) => { + return convertMapResult(e); + }) + } else if (typeof r === "object") { + for (const [k, o] of Object.entries(r)) { + r[k] = convertMapResult(o); + } + } + } + + return r; + } + + + describe('with Wildcard and Iterations', function () { + let pf, obj; + + beforeEach(function () { + obj = { + a: [ + { + b: [ + { + c: "1-1" + }, + { + c: "1-2" + } + ], + d: '!' + + }, + { + b: [ + { + c: "2-1" + }, + { + c: "2-2" + } + ], + d: '?' + } + ] + } + pf = new Pathfinder(obj); + }); + + [ + ['a.*.b.*', '{"0":{"0":{"c":"1-1"},"1":{"c":"1-2"}},"1":{"0":{"c":"2-1"},"1":{"c":"2-2"}}}'], + ['a.*.b', '{"0":[{"c":"1-1"},{"c":"1-2"}],"1":[{"c":"2-1"},{"c":"2-2"}]}'], + ['a.1.b', '[{"c":"2-1"},{"c":"2-2"}]'], + ['a.0.b', '[{"c":"1-1"},{"c":"1-2"}]'], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + + it('.setVia(' + a + ') should result in ' + b, function () { + let r = pf.getVia(a); + let i = convertMapResult(r); + expect(JSON.stringify(i)).is.equal(b); + }); + + + }); + + + }); + + + describe('api tests', function () { + + let pathfinder, object; + + + class A { + get a() { + return 1 + } + } + + beforeEach(() => { + + object = { + a: { + b: { + c: [ + 4, "test1", false, undefined, parseInt("a") + ], + d: undefined, + e: false, + f: [ + { + g: false, + h: 3, + i: ["test2"] + } + ], + j: {}, + k: (new Map).set('m', {n: 3}), + l: (new Set).add({n: 4}) + } + }, + b: new A + }; + + pathfinder = new Pathfinder(object); + + + }); + + describe('create new object', function () { + + [ + [12], + [undefined], + [null], + ["test"] + ].forEach(function (data) { + + let a = data.shift() + let label = typeof a; + if (a === null) label = 'null'; + + + it(label + ' should throw error', function () { + + expect(() => { + new Pathfinder(a) + }).to.throw(Error) + }); + }); + }) + + describe('.setVia(x)', function () { + + let pf, obj; + + beforeEach(function () { + obj = {} + pf = new Pathfinder(obj); + }); + + [ + ['a.b.0.0.c', true, '{"a":{"b":[[{"c":true}]]}}'], + ['a.b.0.c', true, '{"a":{"b":[{"c":true}]}}'], + ['a.b.3.c', true, '{"a":{"b":[null,null,null,{"c":true}]}}'], + ['a.b.c', true, '{"a":{"b":{"c":true}}}'] + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + + it('.setVia(' + a + ', ' + b + ') should result in ' + c, function () { + pf.setVia(a, b) + expect(JSON.stringify(obj)).is.equal(c); + }); + + + }); + + }) + + describe('.setVia()', function () { + + let a; + let b; + let c; + + beforeEach(function () { + a = "a.x"; + b = "true"; + c = "a.y.d"; + }) + + it('.setVia(' + a + ', ' + b + ') should return Pathfinder', function () { + expect(pathfinder.setVia(a, b)).is.instanceOf(Pathfinder); + }); + + it('.setVia(' + a + ', ' + b + ') should change object', function () { + pathfinder.setVia(a, b); + expect(JSON.stringify(object)).is.equal('{"a":{"b":{"c":[4,"test1",false,null,null],"e":false,"f":[{"g":false,"h":3,"i":["test2"]}],"j":{},"k":{},"l":{}},"x":"true"},"b":{}}'); + }); + + it('.setVia(' + c + ', ' + b + ') should change object', function () { + pathfinder.setVia(c, b); + expect(JSON.stringify(object)).is.equal('{"a":{"b":{"c":[4,"test1",false,null,null],"e":false,"f":[{"g":false,"h":3,"i":["test2"]}],"j":{},"k":{},"l":{}},"y":{"d":"true"}},"b":{}}'); + }); + + }); + + + describe('.exists()', function () { + [ + ['a.b.c.1', true], + ['b.a', true], + ['a.b.x', false], + ['a.x', false], + ['a.b.q', false], + ['a.b.c.0', true], + ['a.b.d', true], + ['a.b.f.0.g', true], + ['a.b.f.0.i.0', true], + ['a.b.f.0.i.2', false], + ['a.b.e', true], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + + it('.exists(' + a + ') should return ' + b + ' ', function () { + expect(pathfinder.exists(a)).is.equal(b); + }); + + + }); + + + }); + + describe('.deleteVia()', function () { + [ + ['a.b.e', '{"a":{"b":{"c":[4,"test1",false,null,null],"f":[{"g":false,"h":3,"i":["test2"]}],"j":{},"k":{},"l":{}}},"b":{}}'], + ['a.b.f', '{"a":{"b":{"c":[4,"test1",false,null,null],"e":false,"j":{},"k":{},"l":{}}},"b":{}}'], + ['a.b.j', '{"a":{"b":{"c":[4,"test1",false,null,null],"e":false,"f":[{"g":false,"h":3,"i":["test2"]}],"k":{},"l":{}}},"b":{}}'], + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('.deleteVia(' + a + ') should return ' + b + ' ', function () { + pathfinder.deleteVia(a) + expect(JSON.stringify(object)).is.equal(b); + }); + }); + }); + + describe('.getVia()', function () { + describe('.getVia()', function () { + + + beforeEach(function () { + + object = { + a: { + b: { + c: [ + 4, "test1", false, undefined, parseInt("a") + ], + d: undefined, + e: false, + f: [ + { + g: false, + h: 3, + i: ["test2"] + } + ], + j: {}, + k: (new Map).set('m', {n: 3}), + l: (new Set).add({n: 4}), + o: [ + {p: {q: 1, r: true}}, + {p: {q: 2, r: true}}, + {p: {q: 3, r: true}}, + {p: {q: 4, r: true}}, + {p: {q: 5, r: true}} + ], + s: { + t: {a: 1}, + u: {a: 2}, + v: {a: 3}, + x: {a: 4} + } + } + } + }; + + pathfinder = new Pathfinder(object); + + + }); + + [ + ['a.*', '[["b",{"c":[4,"test1",false,null,null],"e":false,"f":[{"g":false,"h":3,"i":["test2"]}],"j":{},"k":{},"l":{},"o":[{"p":{"q":1,"r":true}},{"p":{"q":2,"r":true}},{"p":{"q":3,"r":true}},{"p":{"q":4,"r":true}},{"p":{"q":5,"r":true}}],"s":{"t":{"a":1},"u":{"a":2},"v":{"a":3},"x":{"a":4}}}]]'], + ['a.b.s.*.a', '[["t",1],["u",2],["v",3],["x",4]]'], + ['a.b.s.*', '[["t",{"a":1}],["u",{"a":2}],["v",{"a":3}],["x",{"a":4}]]'], + ['a.b.o.*.p.q', '[["0",1],["1",2],["2",3],["3",4],["4",5]]'], + ['a.b.o.*.p.r', '[["0",true],["1",true],["2",true],["3",true],["4",true]]'], + ['a.b.o.*.p', '[["0",{"q":1,"r":true}],["1",{"q":2,"r":true}],["2",{"q":3,"r":true}],["3",{"q":4,"r":true}],["4",{"q":5,"r":true}]]'] + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('.getVia(' + a + ') should result ' + b, function () { + let r = pathfinder.getVia(a) + expect(JSON.stringify(Array.from(r))).is.equal(b); + }); + + }); + + }) + + it('.getVia() should result ', function () { + + let p = new Pathfinder({ + a: { + x: [ + {c: 1}, {c: 2} + ], + y: true + }, + b: { + x: [ + {c: 1, d: false}, {c: 2} + ], + y: true + }, + }); + + let r = p.getVia("*.x.*.c") + + function mapToObj(map) { + var obj = {} + map.forEach(function (v, k) { + if (v instanceof Map) { + obj[k] = mapToObj(v) + } else { + obj[k] = v + } + + }) + return obj + } + + expect(JSON.stringify(mapToObj(r))).is.equal('{"a":{"0":1,"1":2},"b":{"0":1,"1":2}}'); + }); + + it('.getVia(a.b.l.0.n) with map should return 4 ', function () { + expect(pathfinder.getVia('a.b.l.0.n')).is.equal(4); + }); + + [ + ['a.b.k.m.n', 3], + ['a.b.l.0.n', 4], + ['a.x', undefined], + ['a.b.q', undefined], + ['a.b.c.1', "test1"], + ['a.b.c.0', 4], + ['a.b.d', undefined], + ['a.b.f.0.g', false], + ['a.b.f.0.i.0', "test2"], + ['a.b.e', false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + + it('.getVia(' + a + ') should return ' + b + ' ', function () { + expect(pathfinder.getVia(a)).is.equal(b); + }); + + + }); + + [ + ['a.b.d.e'], + ['a.b.d.x'], + ['a.b.l.e.n'], + ].forEach(function (data) { + + let a = data.shift() + + it('.getVia(' + a + ') should throw Error ', function () { + expect(() => pathfinder.getVia(a)).to.throw(Error) + }); + + }); + + }); + + }); +}); + diff --git a/development/tests/cases/data/pipe.js b/development/tests/cases/data/pipe.js new file mode 100644 index 0000000000000000000000000000000000000000..ccb4b9b0f173cb5ffef8cda26de78d58f82bd1cf --- /dev/null +++ b/development/tests/cases/data/pipe.js @@ -0,0 +1,72 @@ +"use strict"; + +import * as Crypto from "@peculiar/webcrypto"; +import {expect} from "chai" +import {Pipe} from "../../../source/data/pipe.js"; + +if (!global['crypto']) { + global['crypto'] = new Crypto.Crypto(); +} + +describe('Pipe', function () { + describe('run different pipes', function () { + [ + ['path:b | if:x:\\ ', {a:true}, ' '], // '\\ '.length ↦ 2 + ['path:a | if:x:\\ ', {a:true}, 'x'], + ['nop', 'abcdefghijklmnop', 'abcdefghijklmnop'], + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + it('Pipe.run(' + JSON.stringify(a) + ').run(' + JSON.stringify(b) + ') should return ' + JSON.stringify(c), function () { + let t = new Pipe(a); + + const r = t.run(b); + expect(r).to.be.eql(c); + }); + }); + + + }); + + + describe('new Pipe should create new Instance', function () { + + it('should return Instance', function () { + expect(new Pipe('')).to.be.instanceOf(Pipe); + }); + + it('should return Instance', function () { + expect(new Pipe('index:a|toupper |prefix:a').run({a: "test"})).to.be.equal('aTEST'); + }); + + [ + ['index:a|toupper |prefix:a', {a: "test"}, 'aTEST'], + ['path:a.b.c.d | toupper | prefix:Hello\\ ', { + a: { + b: { + c: { + d: "world" + } + } + } + }, 'Hello WORLD'], + ['path:a.b.c|index:d|toupper |suffix:x', {a: {b: {c: {d: "test"}}}}, 'TESTx'], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + it('new Pipe(' + JSON.stringify(a) + ').run(' + JSON.stringify(b) + ') should return ' + JSON.stringify(c) + ' ', function () { + let t = new Pipe(a); + expect(t.run(b)).to.be.equal(c); + }); + }); + + + }); +}); diff --git a/development/tests/cases/data/transformer.js b/development/tests/cases/data/transformer.js new file mode 100644 index 0000000000000000000000000000000000000000..bd6e7808a0e815493ff5cc42017443dff82f79bd --- /dev/null +++ b/development/tests/cases/data/transformer.js @@ -0,0 +1,196 @@ +"use strict"; + +import * as Crypto from "@peculiar/webcrypto"; +import {expect} from "chai" +import {Transformer} from "../../../source/data/transformer.js"; +import {initJSDOM} from "../../util/jsdom.js"; + + +if (!global['crypto']) { + global['crypto'] = new Crypto.Crypto(); +} + +describe('Transformer', function () { + + before(function (done) { + initJSDOM().then(() => { + done() + }); + }); + + + describe('Transformer.run()', function () { + + [ + ['??:a', null, 'a'], + ['??:a', undefined, 'a'], + ['??:a', 'true', 'true'], + ['??:a', false, false], + [' if:a: ', false, undefined], // without \\ + [' if:a:\\ ', false, " "], + [' if:a:\\ ', true, "a"], + ['default:yes', null, 'yes'], + ['default:yes', undefined, 'yes'], + ['default:1:bool', undefined, true], + ['default:on:bool', undefined, true], + ['default:true:bool', undefined, true], + ['default:yes:bool', undefined, true], + ['default:undefined:bool', undefined, false], + ['default:false:bool', undefined, false], + ['default:1:int', undefined, 1], + ['default:1:string', undefined, '1'], + ['first-key', {a: 1, c: 3, b: 2}, 1], + ['last-key', {a: 1, c: 3, b: 2}, 3], + ['nth-last-key:0', {a: 1, c: 3, b: 2}, 3], + ['nth-last-key:1', {a: 1, c: 3, b: 2}, 2], + ['nth-last-key:2', {a: 1, c: 3, b: 2}, 1], + ['nth-key:2', {a: 1, b: 2, c: 3}, 3], + ['nth-key:0', {c: 3, a: 1, b: 2}, 1], + ['nth-key:2', {a: 1, c: 3, b: 2}, 3], + ['prefix:Hello\\ ', 'test', "Hello test"], + ['tojson', {a: 4}, "{\"a\":4}"], + ['prefix:a\\\\: ', 'test', "a\\test"], + ['prefix:a\\ ', 'test', "a test"], + ['static:abc:a:b:x', "test", "abc:a:b:x"], + ['tolowercase', "A:b:Cse4", "a:b:cse4"], + ['toupper', "A:b:Cse4", "A:B:CSE4"], + ['tostring', 5, "5"], + ['tostring', [1, 2, 3, {}], "1,2,3,[object Object]"], + ['tointeger', "5", 5], + ['trim', " 5 ", "5"], + ['trim', " a", "a"], + ['trim', " ", ""], + ['rawurlencode', "üöä", "%C3%BC%C3%B6%C3%A4"], + ['call:testcallback:4:5:6', "test", "test456"], + ['plain', 't<br>est', "test"], + ['if:a:b', true, "a"], + ['if:a:b', 'on', "a"], + ['if:a:b', 'true', "a"], + ['if:a:b', 'false', "b"], + ['if:a:b', 9, "a"], + ['if:a:b', '', "b"], + ['if:a:b', undefined, "b"], + ['if:a:b', false, "b"], + ['ucfirst', 'car', "Car"], + ['ucfirst', 'cAr', "CAr"], + ['default:test', 'a', "a"], + ['default:test', undefined, "test"], + ['fromjson', '{}', {}], + ['fromjson', '{"a":1}', {a: 1}], + ['ucwords', 'cAr runs', "CAr Runs"], + ['tointeger', '6', 6], + ['length', 'test', 4], + ['to-base64', 'Hello World!', "SGVsbG8gV29ybGQh"], + ['from-base64', 'SGVsbG8gV29ybGQh', "Hello World!"], + ['to-base64', 'test', "dGVzdA=="], + ['from-base64', "dGVzdA==", 'test'], + ['prefix:a', 'test', "atest"], + ['suffix:a', 'test', "testa"], + ['index:a', {a: 4}, 4], + ['index:2', [2, 4, 7], 7], + ['index:x:test', [2, 4, 7], 'test'], + ['path:a.b.c', {a: {b: {c: 4}}}, 4], + ['path:a.b.d', {a: {b: {c: 4}}}, undefined], + ['index:a', new Map().set('a', 5), 5], + ['substring:2:4', 'abcdefghijklmnop', 'cdef'], + ['nop', 'abcdefghijklmnop', 'abcdefghijklmnop'], + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + it('Transformer.run(' + JSON.stringify(a) + ').run(' + JSON.stringify(b) + ') should return ' + JSON.stringify(c), function () { + let t = new Transformer(a); + + t.setCallback('testcallback', function (a, b, c, d) { + return a + b + c + d; + }); + + const r = t.run(b); + expect(r).to.be.eql(c); + }); + }); + + }); + + describe('Transformer.run() throws Error', function () { + + [ + ['tolowercase', []], + ['tolowercase', {}], + ['tolowercase', 4.5], + ['toupper', true], + ['toupper', 5], + ['tointeger', "a"], + ['trim', 5], + ['trim', true], + ['trim', {}], + ['trim', []], + ['rawurlencode', []], + ['if:a:b', {}], + ['ucwords', {}], + ['ucwords', false], + ['ucwords', 4], + ['path:a.b.c', "", 4], + ['tointeger', {}], + ['base64', {}], + ['fromjson', ''], + ['prefix', {}], + ['suffix', {}], + ['index', "test"], + ['xxxxxx', "test"], // unsupported command + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('Transformer.run(' + JSON.stringify(a) + ').run(' + JSON.stringify(b) + ') should throw Error ', function () { + let t = new Transformer(a); + expect(() => t.run(b)).to.throw(Error) + }); + }); + + }); + + + describe('new Transformer().run("uniqid")', function () { + it('should return String', function () { + let t = new Transformer('uniqid'); + expect(t.run("")).to.be.a('string'); + }); + + }); + + describe('new Transformer().run("default:eyJiIjoxfQ==:object")', function () { + it('should return Object', function () { + let t = new Transformer('default:eyJiIjoxfQ==:object'); + expect(t.run(undefined)).to.eql({b: 1}); + }); + + }); + + + describe('new Transformer()', function () { + it('should return instanceof Transformer', function () { + expect(new Transformer("")).to.instanceOf(Transformer); + }); + + it('should return instanceof Transformer', function () { + expect(new Transformer("suffix:abc")).to.instanceOf(Transformer); + }); + + it('false as argument should throw TypeError', function () { + expect(() => { + new Transformer(false) + }).to.throw(TypeError); + }); + + it('object as argument should throw TypeError', function () { + expect(() => { + new Transformer({}) + }).to.throw(TypeError); + }); + }); +}); \ No newline at end of file diff --git a/development/tests/cases/dom/assembler.js b/development/tests/cases/dom/assembler.js new file mode 100644 index 0000000000000000000000000000000000000000..5e208fef22a44760bd75eaa4dfd0835fded65d40 --- /dev/null +++ b/development/tests/cases/dom/assembler.js @@ -0,0 +1,56 @@ +'use strict'; + +import {expect} from "chai" + +import {ATTRIBUTEPREFIX, Assembler} from "../../../source/dom/assembler.js"; +import {initJSDOM} from "../../util/jsdom.js"; + +describe('Assembler', function () { + before(async function () { + initJSDOM(); + }) + describe('createDocumentFragment()', function () { + it('should return <div>One</div><div>Two</div>', function () { + + let fragment = document.createRange().createContextualFragment('<div>One</div><div>Two</div>'); + + let f = new Assembler(fragment); + + // convert to string + let container = document.createElement('div'); + container.appendChild(f.createDocumentFragment().cloneNode(true)); + + expect(container.innerHTML).to.be.equal('<div>One</div><div>Two</div>'); + }); + }); + + describe('createDocumentFragment()', function () { + it('should return DocumentFragment object', function () { + let d = new Assembler(document.createDocumentFragment()); + expect(d.createDocumentFragment()).to.be.instanceOf(DocumentFragment); + }); + }); + + describe('new', function () { + it('new Renderer() should return Assembler object', function () { + let d = new Assembler(document.createDocumentFragment()); + expect(d).to.be.instanceOf(Assembler); + }); + }); + + describe('getAttributePrefix()', function () { + it('should return ' + ATTRIBUTEPREFIX, function () { + let d = new Assembler(document.createDocumentFragment()); + expect(d.getAttributePrefix()).to.be.equal(ATTRIBUTEPREFIX); + }); + }); + + describe('setAttributePrefix().getAttributePrefix()', function () { + it('should return same value', function () { + let d = new Assembler(document.createDocumentFragment()); + expect(d.setAttributePrefix('test01').getAttributePrefix()).to.be.equal('test01'); + }); + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/dom/attributes.js b/development/tests/cases/dom/attributes.js new file mode 100644 index 0000000000000000000000000000000000000000..4a1a172793ff6e03570b84d3a25f5afda10d15a0 --- /dev/null +++ b/development/tests/cases/dom/attributes.js @@ -0,0 +1,256 @@ +'use strict'; + +import {expect} from "chai" + +import { + addAttributeToken, + addToObjectLink, + clearAttributeTokens, + containsAttributeToken, + findClosestByAttribute, + findClosestObjectLink, + getLinkedObjects, + hasObjectLink, + removeAttributeToken, + removeObjectLink, + replaceAttributeToken, + toggleAttributeToken, + findClosestByClass +} from "../../../source/dom/attributes.js"; + +import {initJSDOM} from "../../util/jsdom.js"; + +let html1, html2, html3; + +describe('Attributes', function () { + before(function (done) { + + html1 = `<div id="test1"></div>`; + html2 = `<div id="test1"> + <div id="sub1"> + <div id="sub2"> + <div id="sub3"> + <div id="sub4"> + <div id="sub5"></div> + </div> + </div> + </div> + </div> +</div> +`; + + html3 = `<div data-monster-role="test1"> + <div data-monster-role="sub1" id="a1" class="sub1"> + <div data-monster-role="sub2" id="a2" class="sub2"> + <div data-monster-role="sub3" id="a3" class="sub3"> + <div data-monster-role="sub4" id="a4" class="sub4"> + <div data-monster-role="sub5" id="a5" class="sub5"></div> + </div> + </div> + </div> + </div> +</div> +`; + + + initJSDOM().then(() => { + done() + }).catch(e => done(e)); + }); + + describe('ObjectLink', function () { + + const symbol = Symbol('mytest'); + + beforeEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = html1; + }) + + afterEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = ""; + }) + + it('should handle object-links', function () { + let obj = {a: 1}; + let element = document.getElementById('test1'); + expect(hasObjectLink(element, symbol)).to.be.false; + addToObjectLink(element, symbol, obj); + expect(hasObjectLink(element, symbol)).to.be.true; + + let o = getLinkedObjects(element, symbol).next(); + expect(o.value).to.equal(obj); + + removeObjectLink(element, symbol); + expect(hasObjectLink(element, symbol)).to.be.false; + expect(() => getLinkedObjects(element, symbol)).to.throw(Error); + }) + + + }); + + describe('findClosestObjectLink()', function () { + + const symbol = Symbol('mytest'); + + beforeEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = html2; + }) + + afterEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = ""; + }) + + it('should return objectlink', function () { + + let sub4 = document.getElementById('sub4') + let sub2 = document.getElementById('sub2') + + let obj = {}; + + expect(hasObjectLink(sub2, symbol)).to.be.false; + addToObjectLink(sub2, symbol, obj); + expect(hasObjectLink(sub2, symbol)).to.be.true; + + let element = findClosestObjectLink(sub4); + expect(element).is.instanceOf(HTMLDivElement); + expect(element.getAttribute('id')).to.be.equal('sub2'); + + }); + + }); + + describe('Attributes', function () { + beforeEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = html3; + }) + + afterEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = ""; + }) + + describe('find closest Attributes', function () { + + [ + ['a5', 'data-monster-role', undefined, 'sub5'], + ['a5', 'data-monster-role', 'sub3', 'sub3'], + ['a5', 'data-monster-role', 'sub1', 'sub1'], + ['a4', 'data-monster-role', 'sub1', 'sub1'], + ['a3', 'data-monster-role', 'sub1', 'sub1'], + ['a2', 'data-monster-role', undefined, 'sub2'], + ['a5', 'data-monster-role', 'sub5', 'sub5'] + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + let d = data.shift() + + it('findClosestByAttribute(' + a + ', ' + b + ',' + c + ') should return ' + d, function () { + expect(findClosestByAttribute(document.getElementById(a), b, c).getAttribute('data-monster-role')).to.be.equal(d); + }) + + + }); + }); + + describe('find closest Element with class', function () { + + [ + ['a5', 'sub3', 'sub3'], + ['a5', 'sub1', 'sub1'], + ['a4', 'sub1', 'sub1'], + ['a3', 'sub1', 'sub1'], + ['a5', 'sub5', 'sub5'] + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + it('findClosestByClass(' + a + ', ' + b + ') should return ' + c, function () { + expect(findClosestByClass(document.getElementById(a), b).getAttribute('class')).to.be.equal(c); + }) + + + }); + }); + }); + + describe('Attributes', function () { + + beforeEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = html1; + }) + + afterEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = ""; + }) + + const atributeKey = 'data-test'; + + it('toggleAttributeToken(element, key, value)', function () { + let element = document.getElementById('test1'); + expect(element.hasAttribute(atributeKey)).to.be.false; + element.setAttribute(atributeKey, 'apple bananna') + toggleAttributeToken(element, atributeKey, 'pinapple'); + expect(element.getAttribute(atributeKey)).to.be.equal('apple bananna pinapple'); + toggleAttributeToken(element, atributeKey, 'pinapple'); + expect(element.getAttribute(atributeKey)).to.be.equal('apple bananna'); + }) + + it('addAttributeToken(element, key, value)', function () { + let element = document.getElementById('test1'); + expect(element.hasAttribute(atributeKey)).to.be.false; + addAttributeToken(element, atributeKey, 'pinapple'); + expect(element.getAttribute(atributeKey)).to.be.equal('pinapple'); + addAttributeToken(element, atributeKey, 'bananna'); + expect(element.getAttribute(atributeKey)).to.be.equal('pinapple bananna'); + }) + + it('removeAttributeToken(element, key, value)', function () { + let element = document.getElementById('test1'); + element.setAttribute(atributeKey, 'apple bananna lemmon') + removeAttributeToken(element, atributeKey, 'pinapple'); + expect(element.getAttribute(atributeKey)).to.be.equal('apple bananna lemmon'); + removeAttributeToken(element, atributeKey, 'bananna'); + expect(element.getAttribute(atributeKey)).to.be.equal('apple lemmon'); + + }) + + it('containsAttributeToken(element, key, value)', function () { + let element = document.getElementById('test1'); + expect(containsAttributeToken(element, atributeKey, 'pinapple')).to.be.false; + element.setAttribute(atributeKey, 'apple bananna') + expect(containsAttributeToken(element, atributeKey, 'pinapple')).to.be.false; + expect(containsAttributeToken(element, atributeKey, 'bananna')).to.be.true; + expect(containsAttributeToken(element, atributeKey, 'apple')).to.be.true; + + }) + + it(' replaceAttributeToken(element, key, value)', function () { + let element = document.getElementById('test1'); + element.setAttribute(atributeKey, 'apple bananna tomato') + replaceAttributeToken(element, atributeKey, 'tomato', 'lemmon'); + expect(element.getAttribute(atributeKey)).to.be.equal('apple bananna lemmon'); + replaceAttributeToken(element, atributeKey, 'bananna', 'pear'); + expect(element.getAttribute(atributeKey)).to.be.equal('apple pear lemmon'); + }) + + it('clearAttributeTokens(element, key)', function () { + let element = document.getElementById('test1'); + element.setAttribute(atributeKey, 'apple bananna') + clearAttributeTokens(element, atributeKey); + expect(element.getAttribute(atributeKey)).to.be.equal(''); + + }) + + + }) +}) \ No newline at end of file diff --git a/development/tests/cases/dom/customcontrol.js b/development/tests/cases/dom/customcontrol.js new file mode 100644 index 0000000000000000000000000000000000000000..7094bfd0c445932e9d4c8fc54afafdb75163519e --- /dev/null +++ b/development/tests/cases/dom/customcontrol.js @@ -0,0 +1,265 @@ +'use strict'; + +import chai from "chai" +import {ATTRIBUTE_OPTIONS} from "../../../source/dom/constants.js"; +import {getDocument} from "../../../source/dom/util.js"; +import {chaiDom} from "../../util/chai-dom.js"; +import {initJSDOM} from "../../util/jsdom.js"; + + +let expect = chai.expect; +chai.use(chaiDom); + +let html1 = ` + <div id="test1"> + </div> +`; + +describe('DOM', function () { + + let CustomControl, registerCustomElement, TestComponent, document, jsdomFlag; + + describe('CustomControl()', function () { + + before(function (done) { + initJSDOM().then(() => { + + // jsdom does not support ElementInternals + jsdomFlag = navigator.userAgent.includes("jsdom"); + + import("../../../source/dom/customelement.js").then((m) => { + registerCustomElement = m['registerCustomElement']; + + + import("../../../source/dom/customcontrol.js").then((m) => { + + document = getDocument(); + + try { + CustomControl = m['CustomControl']; + + TestComponent = class extends CustomControl { + static getTag() { + return "monster-customcontrol" + } + } + registerCustomElement(TestComponent) + + + done() + } catch (e) { + done(e); + } + + + }); + }); + }); + }) + + beforeEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = html1; + }) + + afterEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = ""; + }) + + describe('create', function () { + it('should return custom-element object', function () { + let d = new TestComponent(); + expect(typeof d).is.equal('object'); + }); + }); + + describe('connect empty element', function () { + it('document should contain monster-customcontrol', function () { + + let d = document.createElement('monster-customcontrol'); + document.getElementById('test1').appendChild(d); + expect(document.getElementsByTagName('monster-customcontrol').length).is.equal(1); + // no data-monster-objectlink="Symbol(monsterUpdater)" because it has nothing to update + expect(document.getElementById('test1')).contain.html('<monster-customcontrol></monster-customcontrol>'); + }); + }); + + describe('Options change', function () { + + it('delegatesFocus should change from true to false', function () { + let element = document.createElement('monster-customcontrol') + + expect(element.getOption('delegatesFocus')).to.be.true; + element.setAttribute(ATTRIBUTE_OPTIONS, JSON.stringify({delegatesFocus: false})); + expect(element.getOption('delegatesFocus')).to.be.false; + + }) + + + }) + + describe('Test ElementInternals', function () { + + let form; + + beforeEach(() => { + form = document.createElement('form'); + }) + + it('formAssociated', function () { + + let d = document.createElement('monster-customcontrol'); + form.appendChild(d); + + expect(d.constructor.formAssociated).to.be.true; + + }); + it('form', function () { + + let d = document.createElement('monster-customcontrol'); + form.appendChild(d); + + if (jsdomFlag) { + expect(() => d.form).to.throw(Error); + } else { + expect(d.form).to.be.instanceof(HTMLFormElement) + } + + + }); + + it('value getter', function () { + + let d = document.createElement('monster-customcontrol'); + form.appendChild(d); + + expect(() => d.value).to.throw(Error); + + }); + + it('value setter', function () { + + let d = document.createElement('monster-customcontrol'); + form.appendChild(d); + + expect(() => d.value = 4).to.throw(Error); + + }); + + + it('setFormValue', function () { + + let d = document.createElement('monster-customcontrol'); + form.appendChild(d); + + if (jsdomFlag) { + expect(() => d.setFormValue()).to.throw(Error); + } else { + + } + + }); + + + it('name getter', function () { + + let d = document.createElement('monster-customcontrol'); + form.appendChild(d); + + expect(d.name).to.be.null; + + }); + + it('type getter', function () { + + let d = document.createElement('monster-customcontrol'); + form.appendChild(d); + + expect(d.type).to.be.equal('monster-customcontrol'); + + }); + + it('validity getter', function () { + + let d = document.createElement('monster-customcontrol'); + form.appendChild(d); + if (jsdomFlag) { + expect(() => d.validity).to.throw(Error); + } else { + + } + + }); + + it('validationMessage getter', function () { + + let d = document.createElement('monster-customcontrol'); + form.appendChild(d); + + if (jsdomFlag) { + expect(() => d.validity).to.throw(Error); + } else { + + } + + }); + + it('willValidate getter', function () { + + let d = document.createElement('monster-customcontrol'); + form.appendChild(d); + + if (jsdomFlag) { + expect(() => d.willValidate).to.throw(Error); + } else { + + } + + }); + it('checkValidity()', function () { + + let d = document.createElement('monster-customcontrol'); + form.appendChild(d); + + if (jsdomFlag) { + expect(() => d.checkValidity()).to.throw(Error); + } else { + + } + + }); + + it('reportValidity()', function () { + + let d = document.createElement('monster-customcontrol'); + form.appendChild(d); + + if (jsdomFlag) { + expect(() => d.reportValidity()).to.throw(Error); + } else { + + } + + }); + + + it('setValidity()', function () { + + let d = document.createElement('monster-customcontrol'); + form.appendChild(d); + if (jsdomFlag) { + expect(() => d.setValidity()).to.throw(Error); + } else { + expect(d.setValidity({'valueMissing': true}, "my message")).to.be.undefined; + } + + }); + + + }); + }); + +}); + + diff --git a/development/tests/cases/dom/customelement.js b/development/tests/cases/dom/customelement.js new file mode 100644 index 0000000000000000000000000000000000000000..fddabaa386ae4b66b4bbc9de121f107eee7ce3e5 --- /dev/null +++ b/development/tests/cases/dom/customelement.js @@ -0,0 +1,519 @@ +'use strict'; + +import chai from "chai" +import {internalSymbol} from "../../../source/constants.js"; +import {ATTRIBUTE_OPTIONS} from "../../../source/dom/constants.js"; +import {getDocument} from "../../../source/dom/util.js"; +import {chaiDom} from "../../util/chai-dom.js"; +import {initJSDOM} from "../../util/jsdom.js"; + + +let expect = chai.expect; +chai.use(chaiDom); + +let html1 = ` + <div id="test1"> + </div> +`; + + +describe('DOM', function () { + + let CustomElement, registerCustomElement, TestComponent, document, TestComponent2; + + describe('CustomElement()', function () { + + before(function (done) { + initJSDOM().then(() => { + + import("../../../source/dom/customelement.js").then((m) => { + + try { + CustomElement = m['CustomElement']; + registerCustomElement = m['registerCustomElement']; + TestComponent = class extends CustomElement { + static getTag() { + return "monster-testclass" + } + } + + registerCustomElement(TestComponent) + + TestComponent2 = class extends CustomElement { + static getTag() { + return "monster-testclass2" + } + + /** + * + * @return {Object} + */ + get defaults() { + + return Object.assign({}, super.defaults, { + demotest: undefined, + templates: { + main: '<h1></h1><article><p>test</p><div id="container"></div></article>' + }, + }) + } + + } + + registerCustomElement(TestComponent2) + + document = getDocument(); + done() + } catch (e) { + done(e); + } + + + }); + + }); + }) + + beforeEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = html1; + }) + + afterEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = ""; + }) + + describe('CustomElement() with Config', function () { + it('should read config from tag', function () { + + let mocks = document.getElementById('mocks'); + mocks.innerHTML = ` + + <script id="config1" type="application/json"> + { + "demotest":1425 + } + </script> + + <monster-testclass2 id="thisisatest" data-monster-options-selector="#config1"> + </monster-testclass2> + `; + + let monster = document.getElementById('thisisatest'); + expect(monster.getOption('demotest')).is.eql(1425); + + }); + }); + + describe('create', function () { + it('should return custom-element object', function () { + let d = new TestComponent(); + expect(typeof d).is.equal('object'); + }); + }); + + describe('connect empty element', function () { + it('document should contain monster-testclass', function () { + let d = document.createElement('monster-testclass'); + document.getElementById('test1').appendChild(d); + expect(document.getElementsByTagName('monster-testclass').length).is.equal(1); + // no data-monster-objectlink="Symbol(monsterUpdater)" because it has nothing to update + expect(document.getElementById('test1')).contain.html('<monster-testclass></monster-testclass>'); + }); + }); + + describe('connect element with html', function () { + it('document should contain monster-testclass2', function (done) { + let d = document.createElement('monster-testclass2'); + document.getElementById('test1').appendChild(d); + + // insert DOM run in extra process via setTimeout! + setTimeout(function () { + try { + expect(document.getElementsByTagName('monster-testclass2').length).is.equal(1); + expect(document.getElementsByTagName('monster-testclass2').item(0).shadowRoot.innerHTML).is.equal('<h1></h1><article><p>test</p><div id="container"></div></article>'); + expect(document.getElementById('test1')).contain.html('<monster-testclass2 data-monster-objectlink="Symbol(monsterUpdater)"></monster-testclass2>'); + return done(); + } catch (e) { + done(e); + } + + }, 10); + + }); + }); + + describe('Options change', function () { + + it('delegatesFocus should change from true to false', function () { + let element = document.createElement('monster-testclass') + + const o = element[internalSymbol].realSubject; + expect(Object.is(element[internalSymbol].realSubject, o)).to.be.true; + + expect(element[internalSymbol].realSubject.options.delegatesFocus).to.be.true; + expect(element[internalSymbol].subject.options.delegatesFocus).to.be.true; + expect(element.getOption('delegatesFocus')).to.be.true; + expect(Object.is(element[internalSymbol].realSubject, o)).to.be.true; + + element.setAttribute(ATTRIBUTE_OPTIONS, JSON.stringify({delegatesFocus: false})); + expect(Object.is(element[internalSymbol].realSubject, o)).to.be.true; + + expect(element.getOption('delegatesFocus')).to.be.false; + expect(element[internalSymbol].realSubject.options.delegatesFocus).to.be.false; + expect(Object.is(element[internalSymbol].realSubject, o)).to.be.true; + + }) + + + }) + + describe('setOptions()', function () { + [ + ['shadowMode', 'x1'], + ['templates.main', 'x2'], // is explicitly set to undefined + ['delegatesFocus', 'x4'], + ].forEach(function (data) { + + + let key = data.shift() + let newValue = data.shift() + + let text = key + ' should return ' + newValue; + if (newValue !== undefined) { + text = key + ' was not set, therefore default ' + newValue; + } + + + it(text, function () { + + let d = document.createElement('monster-testclass'); + expect(d.getOption(key)).to.be.not.equal(newValue); + let x = d.setOption(key, newValue); + expect(d.getOption(key)).to.be.equal(newValue); + }) + + + }) + }); + + describe('getOptions()', function () { + + [ + ['shadowMode', 'open'], + ['templates.main', undefined], // is explicitly set to undefined + ['delegatesFocus', true], + ['x.y.z', true, true], // x.y.z isnt set, defaultValue is used + ['x', true, true] // x isnt set, defaultValue is used + ].forEach(function (data) { + + + let key = data.shift() + let value = data.shift() + let defaultValue = data.shift() + + let text = key + ' should return ' + value; + if (defaultValue !== undefined) { + text = key + ' was not set, therefore default ' + defaultValue; + } + + + it(text, function () { + + let d = document.createElement('monster-testclass'); + let x = d.getOption(key, defaultValue); + expect(x).to.be.equal(value); + }) + + + }) + }) + + /** + * @link https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/113 + */ + describe('Assign CSSStyle as Array with wrong type', function () { + + const htmlTAG = 'monster-testclass-x1'; + + let mocks, TestComponentX1; + beforeEach(() => { + + mocks = document.getElementById('mocks'); + mocks.innerHTML = html1; + + + TestComponentX1 = class extends CustomElement { + static getTag() { + return htmlTAG + } + + static getCSSStyleSheet() { + return [true]; + } + + /** + * @return {Object} + */ + get defaults() { + + return Object.assign({}, super.defaults, { + templates: { + main: '<h1>test</h1>' + }, + }) + } + + } + + registerCustomElement(TestComponentX1) + + + }) + + it(htmlTAG + " should throw Exception", function (done) { + let d = document.createElement(htmlTAG); + + let div = document.getElementById('test1'); + div.append(d); + + + expect(div).contain.html('data-monster-error="TypeError: value is not an instance of CSSStyleSheet"'); + done(); + + }) + + + }) + + + /** + * @link https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/113 + */ + describe('Assign CSSStyle as Array and CSSStylesheet', function () { + + const htmlTAG = 'monster-testclass-x113-2'; + + let mocks, TestComponentX113X2; + beforeEach(() => { + + mocks = document.getElementById('mocks'); + mocks.innerHTML = html1; + + TestComponentX113X2 = class extends CustomElement { + static getTag() { + return htmlTAG + } + + /** + * @return {Object} + */ + get defaults() { + return Object.assign({}, super.defaults, { + templates: {main: '<h1>test</h1>'}, + }) + } + + + static getCSSStyleSheet() { + + const s = (new CSSStyleSheet()) + s.insertRule('a { color : red}'); + + return [s]; + } + } + + registerCustomElement(TestComponentX113X2) + + + }) + + it(htmlTAG + " should throw Exception 2", function (done) { + let d = document.createElement(htmlTAG); + + let div = document.getElementById('test1'); + div.append(d); + + expect(d.shadowRoot.innerHTML).is.eq('<h1>test</h1>'); + done(); + + }) + }) + + /** + * @link https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/113 + */ + describe('Assign CSSStyle as Array and CSS as string', function () { + + const htmlTAG = 'monster-testclass-x113-21'; + + let mocks, TestComponentX113X22; + beforeEach(() => { + + mocks = document.getElementById('mocks'); + mocks.innerHTML = html1; + + TestComponentX113X22 = class extends CustomElement { + static getTag() { + return htmlTAG + } + + /** + * @return {Object} + */ + get defaults() { + return Object.assign({}, super.defaults, { + templates: {main: '<h1>test</h1>'}, + }) + } + + + static getCSSStyleSheet() { + return 'a { color:red }'; + } + } + + registerCustomElement(TestComponentX113X22) + + + }) + + it(htmlTAG + " should eq <style>a { color:red }</style><h1>test</h1>", function (done) { + let d = document.createElement(htmlTAG); + + let div = document.getElementById('test1'); + div.append(d); + + + expect(d.shadowRoot.innerHTML).is.eq('<style>a { color:red }</style><h1>test</h1>'); + done(); + + }) + }) + /** + * @link https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/113 + */ + describe('Assign CSSStyle as Array and CSS as string', function () { + + const htmlTAG = 'monster-testclass-x113-22'; + + let mocks, TestComponentX113X223; + beforeEach(() => { + + mocks = document.getElementById('mocks'); + mocks.innerHTML = html1; + + TestComponentX113X223 = class extends CustomElement { + static getTag() { + return htmlTAG + } + + /** + * @return {Object} + */ + get defaults() { + return Object.assign({}, super.defaults, { + templates: {main: '<h1>test</h1>'}, + }) + } + + + static getCSSStyleSheet() { + return ['a { color:red }']; + } + } + + registerCustomElement(TestComponentX113X223) + + + }) + + it(htmlTAG + " should eq <style>a { color:red }</style><h1>test</h1>", function (done) { + let d = document.createElement(htmlTAG); + + let div = document.getElementById('test1'); + div.append(d); + + + expect(d.shadowRoot.innerHTML).is.eq('<style>a { color:red }</style><h1>test</h1>'); + done(); + + }) + }) + + describe('hasNode()', function () { + + let mocks; + beforeEach(() => { + + mocks = document.getElementById('mocks'); + mocks.innerHTML = html1; + + }) + + it("hasNode monster-testclass should return ...", function () { + let d = document.createElement('monster-testclass'); + + let p1 = document.createElement('p'); + let t1 = document.createTextNode('test1'); + p1.appendChild(t1); + + let p = document.createElement('div'); + let t = document.createTextNode('test'); + p.appendChild(p1); + p.appendChild(t); + d.appendChild(p); + + let div = document.getElementById('test1'); + div.append(d); + + + let n1 = document.createElement('p'); + + expect(d.hasNode(n1)).to.be.false; + expect(d.hasNode(t)).to.be.true; + expect(d.hasNode(p)).to.be.true; + expect(d.hasNode(p1)).to.be.true; + expect(d.hasNode(t1)).to.be.true; + + }) + + it("hasNode monster-testclass2 should return ...", function () { + let d = document.createElement('monster-testclass2'); + + let p1 = document.createElement('p'); + let t1 = document.createTextNode('test1'); + p1.appendChild(t1); + + let p = document.createElement('div'); + let t = document.createTextNode('test'); + p.appendChild(p1); + p.appendChild(t); + + + let div = document.getElementById('test1'); + div.append(d); + + let a = d.shadowRoot.getElementById('container'); + + d.shadowRoot.getElementById('container').appendChild(p); + + let n1 = document.createElement('p'); + + expect(d.hasNode(n1)).to.be.false; + expect(d.hasNode(t)).to.be.true; + expect(d.hasNode(p)).to.be.true; + expect(d.hasNode(p1)).to.be.true; + expect(d.hasNode(t1)).to.be.true; + + }) + + + }) + + }); +}); + + diff --git a/development/tests/cases/dom/events.js b/development/tests/cases/dom/events.js new file mode 100644 index 0000000000000000000000000000000000000000..4d524fba59a08d26393f87a8fe8dd2b39e4896f0 --- /dev/null +++ b/development/tests/cases/dom/events.js @@ -0,0 +1,149 @@ +'use strict'; + +import {expect} from "chai" + +import {fireEvent, findTargetElementFromEvent, fireCustomEvent} from "../../../source/dom/events.js"; +import {initJSDOM} from "../../util/jsdom.js"; + +describe('Events', function () { + + before(async function () { + initJSDOM(); + }) + + describe('findTargetElementFromEvent()', function () { + + it('find object', function (done) { + let container = document.createElement('div'); + container.setAttribute('data-monster', 'hello'); + let div = document.createElement('div'); + container.appendChild(div); + div.addEventListener('click', (event) => { + let e = findTargetElementFromEvent(event, 'data-monster'); + expect(e.getAttribute('data-monster')).to.be.equal('hello') + done(); + }) + setTimeout(()=>{ + fireEvent(div, 'click'); + },0) + + }); + + }); + + describe('fireEvent()', function () { + it('should fire a click event', function (done) { + let div = document.createElement('div'); + div.addEventListener('click', () => { + done(); + }) + fireEvent(div, 'click'); + }); + + it('should fire a touch event', function (done) { + let div = document.createElement('div'); + div.addEventListener('touch', () => { + done(); + }) + fireEvent(div, 'touch'); + }); + + it('should fire a touch event on collection', function (done) { + let div = document.createElement('div'); + div.addEventListener('touch', () => { + done(); + }) + + div.appendChild(document.createElement('div')); + let collection = div.querySelectorAll('div'); + + + fireEvent(collection, 'touch'); + }); + + it('should fire a touch event', function (done) { + let div = document.createElement('div'); + div.addEventListener('touch', () => { + done(); + }) + + div.appendChild(document.createElement('div')); + let collection = div.querySelectorAll('div'); + + + fireEvent(collection, 'touch'); + }); + + it('should throw error', function () { + expect(() => fireEvent({}, 'touch')).to.throw(Error); + + }); + }); + + describe('fireCustomEvent()', function () { + it('should fire a click event', function (done) { + let div = document.createElement('div'); + div.addEventListener('click', () => { + done(); + }) + fireCustomEvent(div, 'click'); + }); + + it('should fire a touch event', function (done) { + let div = document.createElement('div'); + div.addEventListener('touch', () => { + done(); + }) + fireCustomEvent(div, 'touch'); + }); + + it('should fire a touch event on collection1', function (done) { + let div = document.createElement('div'); + div.addEventListener('touch', (e) => { + if(e.detail.detail!=='hello world') { + done('error'); + } + done(); + }) + + div.appendChild(document.createElement('div')); + let collection = div.querySelectorAll('div'); + + fireCustomEvent(collection, 'touch', "hello world"); + }); + + it('should fire a touch event on collection2', function (done) { + let div = document.createElement('div'); + div.addEventListener('touch', (e) => { + if(e.detail.a!=='hello world') { + done('error'); + } + done(); + }) + + div.appendChild(document.createElement('div')); + let collection = div.querySelectorAll('div'); + + fireCustomEvent(collection, 'touch', {a:"hello world"}); + }); + + it('should fire a touch event', function (done) { + let div = document.createElement('div'); + div.addEventListener('touch', () => { + done(); + }) + + div.appendChild(document.createElement('div')); + let collection = div.querySelectorAll('div'); + + + fireCustomEvent(collection, 'touch'); + }); + + it('should throw error', function () { + expect(() => fireCustomEvent({}, 'touch')).to.throw(Error); + }); + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/dom/focusmanager.js b/development/tests/cases/dom/focusmanager.js new file mode 100644 index 0000000000000000000000000000000000000000..4e4d8fc8e4ac8a4d9504c8a1e3d527e08f2ad408 --- /dev/null +++ b/development/tests/cases/dom/focusmanager.js @@ -0,0 +1,111 @@ +'use strict'; + +import {expect} from "chai"; +import {FocusManager} from "../../../source/dom/focusmanager.js"; +import {cleanupDOMFromTesting, initMutationObserverForTesting} from "../../util/cleanupdom.js"; +import {initJSDOM} from "../../util/jsdom.js"; + +describe('FocusManager', function () { + before(function (done) { + initJSDOM().then(() => { + done() + }); + }); + + beforeEach(() => { + initMutationObserverForTesting() + }) + + afterEach(() => { + cleanupDOMFromTesting(); + document.getElementById('mocks').innerHTML = '' + }) + + describe('new', function () { + + it('should instance of FocusManager', function () { + expect(new FocusManager()).is.instanceof(FocusManager); + }) + + }) + + describe('store and restore', function () { + let manager; + + beforeEach(() => { + manager = new FocusManager(); + document.getElementById('mocks').innerHTML = ` + <input class="testit" id="tx1"> + <input class="testit" id="tx2"> + <input class="testit" id="tx3" disabled> + <input class="testit" id="tx4"> + <p class="testit" tabindex="2" id="tx5">hello</p> + <input class="testit" id="tx6" aria-hidden="true"> + <button class="testit" id="tx7"></button> + `; + + for (const [, element] of Object.entries(document.querySelectorAll('.testit'))) { + element.getBoundingClientRect = () => ({ + width: 200, + height: 200, + top: 0, + left: 0, + right: 200, + bottom: 200, + }); + } + + + }) + + it('run ist', function () { + + manager.focus(document.getElementById('tx1')); + manager.storeFocus(); + + const e1 = manager.getActive(); + expect(e1.getAttribute('id'), 'error1').to.be.equal('tx1'); + + manager.focus(document.getElementById('tx2')); + + manager.storeFocus(); + expect(manager.getActive().getAttribute('id'), 'error2').to.be.equal('tx2'); + manager.focusNext(); + expect(manager.getActive().getAttribute('id'), 'error3').to.be.equal('tx4'); + manager.focusNext(); + expect(manager.getActive().getAttribute('id'), 'error4').to.be.equal('tx5'); + manager.restoreFocus(); + expect(manager.getActive().getAttribute('id'), 'error5').to.be.equal('tx2'); + manager.restoreFocus(); + expect(manager.getActive().getAttribute('id'), 'error6').to.be.equal('tx1'); + manager.restoreFocus(); + expect(manager.getActive().getAttribute('id'), 'error7').to.be.equal('tx1'); + }) + + + }) + + describe('returntype', function () { + + let focusmanager; + + beforeEach(() => { + focusmanager = new FocusManager(); + }) + + it('check returns', function () { + + expect(focusmanager.getFocusable()).is.instanceof(Array); + expect(focusmanager.getActive()).is.instanceof(HTMLElement); + expect(focusmanager.focusNext()).is.instanceof(FocusManager); + expect(focusmanager.focusPrev()).is.instanceof(FocusManager); + expect(focusmanager.storeFocus()).is.instanceof(FocusManager); + expect(focusmanager.focus(document.body)).is.instanceof(FocusManager); + expect(focusmanager.restoreFocus()).is.instanceof(FocusManager); + + }) + + }) + + +}); \ No newline at end of file diff --git a/development/tests/cases/dom/locale.js b/development/tests/cases/dom/locale.js new file mode 100644 index 0000000000000000000000000000000000000000..f61b4762154923cd15c2c4ac2fb458037b23972e --- /dev/null +++ b/development/tests/cases/dom/locale.js @@ -0,0 +1,41 @@ +'use strict'; + +import {expect} from "chai" + +import {getLocaleOfDocument} from "../../../source/dom/locale.js"; +import {initJSDOM} from "../../util/jsdom.js"; + +describe('Attributes', function () { + before(function (done) { + initJSDOM().then(() => { + done() + }); + }); + + describe('getLocaleOfDocument', function () { + + + [ + ["de"], + ["sl-IT-nedis"], + ["en-GB"], + + ].forEach(function (data) { + + let a = data.shift() + + + it('return language ' + a, function () { + let html = document.getElementsByTagName('html'); + let node = html.item(0); + + node.setAttribute('lang', a); + expect(getLocaleOfDocument().toString()).to.be.equal(a); + }) + + }); + + + }); + +}) \ No newline at end of file diff --git a/development/tests/cases/dom/ready.js b/development/tests/cases/dom/ready.js new file mode 100644 index 0000000000000000000000000000000000000000..90cbc57d23f76c7d1b9e913edd935b8a99b78f68 --- /dev/null +++ b/development/tests/cases/dom/ready.js @@ -0,0 +1,42 @@ +'use strict'; + + +import {initJSDOM} from "../../util/jsdom.js"; + +let windowReady; +let domReady; + +describe('Ready', function () { + + before(function (done) { + initJSDOM().then(() => { + + import("../../../source/dom/ready.js").then((m) => { + domReady = m['domReady']; + windowReady = m['windowReady']; + done() + }); + + }); + + + }) + + describe('domReady', function () { + + it('resolve promise', function (done) { + domReady.then(done).catch(e => done(e)); + }); + + }); + + describe('windowReady', function () { + + it('resolve promise', function (done) { + windowReady.then(done).catch(e => done(e)); + }); + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/dom/resource/data.js b/development/tests/cases/dom/resource/data.js new file mode 100644 index 0000000000000000000000000000000000000000..d512fcbc416479440a82bebc0f5b899ec8262515 --- /dev/null +++ b/development/tests/cases/dom/resource/data.js @@ -0,0 +1,129 @@ +'use strict'; + +import chai from "chai" +import {Data} from "../../../../source/dom/resource/data.js"; +import {DataUrl} from "../../../../source/types/dataurl.js"; +import {ID} from "../../../../source/types/id.js"; +import {chaiDom} from "../../../util/chai-dom.js"; +import {cleanupDOMFromTesting, initMutationObserverForTesting} from "../../../util/cleanupdom.js"; +import {initJSDOM} from "../../../util/jsdom.js"; + +let expect = chai.expect; + +chai.use(chaiDom); + +let html1 = ` + +`; + + +describe('Data', function () { + + let fetchReference, returnStatus, mutationobserver, addedNodes = []; + + + before(function (done) { + initJSDOM().then(() => { + done() + }); + }); + + beforeEach(() => { + + initMutationObserverForTesting() + + returnStatus = 200; + fetchReference = global['fetch']; + global['fetch'] = function (url, options) { + + if (!url) throw new Error('missing url') + + return new Promise((resolve, reject) => { + resolve({ + text: function () { + return JSON.stringify({ + a: "test" + }) + }, + status: returnStatus + }); + }) + + }; + + + }) + + afterEach(() => { + global['fetch'] = fetchReference; + cleanupDOMFromTesting(); + }) + + describe('Data()', function () { + it('setEventTypes()', function (done) { + + const data = new Data({ + src: new DataUrl('', 'text/javascript').toString() + }); + + data.connect().available().then(() => { + done() + }).catch(e => done(e)); + + }) + }); + + describe('External Data', () => { + + let id = new ID('data').toString(); + let server, data, url = 'https://monsterjs.org/assets/empty.js?' + id; + + beforeEach(() => { + + data = new Data({ + src: url, + id: id + }); + + }); + + it('data is not connected', () => { + expect(data.isConnected()).to.be.false; + }) + + it('connect and check availability', (done) => { + + data.connect().available().then(() => { + expect(data.isConnected(), 'isConnected 1').to.be.true; + expect(document.querySelector('[type="application/json"]'), 'exists 1').to.exist; + + const e = document.getElementById(id).parentElement; + + + document.getElementById(id).remove(); + + expect(data.isConnected(), 'isConnected 2').to.be.false; + expect(document.querySelector('[type="application/json"]'), 'exists 2').not.to.exist; + + data.connect().available().then(() => { + expect(data.isConnected(), 'isConnected 3').to.be.true; + expect(document.querySelector('[type="application/json"]'), 'exists 3').to.exist; + + document.getElementById(id).remove(); + expect(document.querySelector('[type="application/json"]'), 'exists 4').not.to.exist; + expect(data.isConnected(), 'isConnected 4').to.be.false; + + done() + }).catch(e => done(e)); + + + }).catch(e => done(e)); + + + }); + + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/dom/resource/link.js b/development/tests/cases/dom/resource/link.js new file mode 100644 index 0000000000000000000000000000000000000000..4112612828257489f85ee989c34f52c3d0c6f1c0 --- /dev/null +++ b/development/tests/cases/dom/resource/link.js @@ -0,0 +1,99 @@ +'use strict'; + +import chai from "chai" +import {Link} from "../../../../source/dom/resource/link.js"; +import {DataUrl} from "../../../../source/types/dataurl.js"; +import {ID} from "../../../../source/types/id.js"; +import {chaiDom} from "../../../util/chai-dom.js"; +import {cleanupDOMFromTesting, initMutationObserverForTesting} from "../../../util/cleanupdom.js"; +import {initJSDOM} from "../../../util/jsdom.js"; + +let expect = chai.expect; + +chai.use(chaiDom); + + + +describe('Link', function () { + + before(function (done) { + initJSDOM().then(() => { + done() + }); + }); + + beforeEach(() => { + initMutationObserverForTesting() + }) + + afterEach(() => { + cleanupDOMFromTesting(); + }) + + describe('Link()', function () { + this.timeout(5000); + + it('connect().available()', function (done) { + + const link = new Link({ + href: new DataUrl('', 'text/css').toString(), + rel: 'stylesheet' + }); + + link.connect().available().then(() => { + done() + }).catch(e => done(e)); + + }) + }); + + describe('External Link', () => { + this.timeout(5000); + + let id = new ID('link').toString(); + let link, url = 'https://monsterjs.org/assets/empty.css?' + id; + + beforeEach(() => { + + link = new Link({ + href: url, + id: id, + rel: 'stylesheet' + }); + + }); + + it('append and remove Link ', (done) => { + + expect(link.isConnected()).to.be.false; + + link.connect().available().then(() => { + expect(link.isConnected()).to.be.true; + expect(document.querySelector('[href="' + url + '"]')).to.exist; + + document.getElementById(id).remove(); + expect(link.isConnected()).to.be.false; + expect(document.querySelector('[href="' + url + '"]')).not.to.exist; + + link.connect().available().then(() => { + expect(link.isConnected()).to.be.true; + expect(document.querySelector('[href="' + url + '"]')).to.exist; + + document.getElementById(id).remove(); + expect(document.querySelector('[href="' + url + '"]')).not.to.exist; + expect(link.isConnected()).to.be.false; + + done() + }).catch(e => done(e)); + + + }).catch(e => done(e)); + + + }); + + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/dom/resource/link/stylesheet.js b/development/tests/cases/dom/resource/link/stylesheet.js new file mode 100644 index 0000000000000000000000000000000000000000..83ec977bbe10564c153006d34ab37295dbc155cf --- /dev/null +++ b/development/tests/cases/dom/resource/link/stylesheet.js @@ -0,0 +1,101 @@ +'use strict'; + +import chai from "chai" +import {Stylesheet} from "../../../../../source/dom/resource/link/stylesheet.js"; +import {DataUrl} from "../../../../../source/types/dataurl.js"; +import {ID} from "../../../../../source/types/id.js"; +import {chaiDom} from "../../../../util/chai-dom.js"; +import {cleanupDOMFromTesting, initMutationObserverForTesting} from "../../../../util/cleanupdom.js"; +import {initJSDOM} from "../../../../util/jsdom.js"; + +let expect = chai.expect; + +chai.use(chaiDom); + +let html1 = ` + +`; + + +describe('Stylesheet', function () { + + before(function (done) { + initJSDOM({ + runScripts: "dangerously", + resources: "usable" + }).then(() => { + done() + }).catch(e => done(e)); + }); + + beforeEach(() => { + initMutationObserverForTesting() + }) + + afterEach(() => { + cleanupDOMFromTesting(); + }) + + describe('Stylesheet()', function () { + it('connect().available()', function (done) { + + const stylesheet = new Stylesheet({ + href: new DataUrl('', 'text/css').toString(), + }); + + stylesheet.connect().available().then(() => { + const id = stylesheet.getOption('id') + done() + }).catch(e => done(e)); + + }) + }); + + describe('External Stylesheet', () => { + + let id = new ID('Stylesheet').toString(); + let stylesheet, url = 'https://monsterjs.org/assets/empty.css?' + id; + + beforeEach(() => { + + stylesheet = new Stylesheet({ + href: url, + id: id, + }); + + }); + + it('append and remove Stylesheet ', (done) => { + + expect(stylesheet.isConnected()).to.be.false; + + stylesheet.connect().available().then(() => { + expect(stylesheet.isConnected()).to.be.true; + expect(document.querySelector('[href="' + url + '"]')).to.exist; + + document.getElementById(id).remove(); + expect(stylesheet.isConnected()).to.be.false; + expect(document.querySelector('[href="' + url + '"]')).not.to.exist; + + stylesheet.connect().available().then(() => { + expect(stylesheet.isConnected()).to.be.true; + expect(document.querySelector('[href="' + url + '"]')).to.exist; + + document.getElementById(id).remove(); + expect(document.querySelector('[href="' + url + '"]')).not.to.exist; + expect(stylesheet.isConnected()).to.be.false; + + done() + }).catch(e => done(e)); + + + }).catch(e => done(e)); + + + }); + + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/dom/resource/script.js b/development/tests/cases/dom/resource/script.js new file mode 100644 index 0000000000000000000000000000000000000000..48b31ba5d3bc4c7d38af7e3279fd042186e78234 --- /dev/null +++ b/development/tests/cases/dom/resource/script.js @@ -0,0 +1,115 @@ +'use strict'; + +import chai from "chai" +import {Script} from "../../../../source/dom/resource/script.js"; +import {DataUrl} from "../../../../source/types/dataurl.js"; +import {ID} from "../../../../source/types/id.js"; +import {chaiDom} from "../../../util/chai-dom.js"; +import {cleanupDOMFromTesting, initMutationObserverForTesting} from "../../../util/cleanupdom.js"; +import {initJSDOM} from "../../../util/jsdom.js"; + +let expect = chai.expect; + +chai.use(chaiDom); + +let html1 = ` + +`; + + +describe('Script', function () { + + before(function (done) { + initJSDOM().then(() => { + done() + }); + }); + + beforeEach(() => { + initMutationObserverForTesting() + }) + + afterEach(() => { + cleanupDOMFromTesting(); + }) + + describe('Script()', function () { + it('setEventTypes()', function (done) { + + const script = new Script({ + src: new DataUrl('', 'text/javascript').toString(), + async: true, + crossOrigin: 'anonymous', + defer: false, + integrity: undefined, + nomodule: false, + nonce: undefined, + referrerpolicy: undefined, + type: 'text/javascript' + }); + + script.connect().available().then(() => { + + const id = script.getOption('id') + done() + }).catch(e => done(e)); + + }) + }); + + describe('External JS', () => { + + let id = new ID('script').toString(); + let server, script, url = 'https://monsterjs.org/assets/empty.js?' + id; + + beforeEach(() => { + + script = new Script({ + src: url, + async: true, + crossOrigin: 'anonymous', + defer: false, + integrity: undefined, + nomodule: false, + nonce: undefined, + referrerpolicy: undefined, + type: 'text/javascript', + id: id + }); + + }); + + it('append and remove script ', (done) => { + + expect(script.isConnected()).to.be.false; + + script.connect().available().then(() => { + expect(script.isConnected()).to.be.true; + expect(document.querySelector('[src="' + url + '"]')).to.exist; + + document.getElementById(id).remove(); + expect(script.isConnected()).to.be.false; + expect(document.querySelector('[src="' + url + '"]')).not.to.exist; + + script.connect().available().then(() => { + expect(script.isConnected()).to.be.true; + expect(document.querySelector('[src="' + url + '"]')).to.exist; + + document.getElementById(id).remove(); + expect(document.querySelector('[src="' + url + '"]')).not.to.exist; + expect(script.isConnected()).to.be.false; + + done() + }).catch(e => done(e)); + + + }).catch(e => done(e)); + + + }); + + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/dom/resourcemanager.js b/development/tests/cases/dom/resourcemanager.js new file mode 100644 index 0000000000000000000000000000000000000000..ba842957c4b8617802d8cce9f8fd33e41ea0ec2c --- /dev/null +++ b/development/tests/cases/dom/resourcemanager.js @@ -0,0 +1,118 @@ +'use strict'; + +import {expect} from "chai" + +import {ResourceManager} from "../../../source/dom/resourcemanager.js"; +import {cleanupDOMFromTesting, initMutationObserverForTesting} from "../../util/cleanupdom.js"; +import {initJSDOM} from "../../util/jsdom.js"; + +describe('ResourceManager', function () { + + let fetchReference, returnStatus; + + before(function (done) { + initJSDOM().then(() => { + done() + }).catch(e => done(e)); + }); + + afterEach(() => { + global['fetch'] = fetchReference; + cleanupDOMFromTesting(); + }) + + beforeEach(() => { + + initMutationObserverForTesting() + + returnStatus = 200; + fetchReference = global['fetch']; + global['fetch'] = function (url, options) { + + if (!url) throw new Error('missing url') + + return new Promise((resolve, reject) => { + resolve({ + text: function () { + return JSON.stringify({ + a: "test" + }) + }, + status: returnStatus + }); + }) + + }; + + }) + + describe('new', function () { + it('new ResourceManager() should return ResourceManager object', function () { + let d = new ResourceManager(); + expect(d).to.be.instanceOf(ResourceManager); + }); + }); + + describe('load resources', function () { + + let manager; + + beforeEach(() => { + manager = new ResourceManager(); + }) + + it('add script should instance of ResourceManager', function () { + expect(manager.addScript('/example.js')).to.be.instanceOf(ResourceManager); + }); + + it('add style should instance of ResourceManager', function () { + expect(manager.addStylesheet('/style.js')).to.be.instanceOf(ResourceManager); + }); + + it('add data should instance of ResourceManager', function () { + expect(manager.addData('/data.json')).to.be.instanceOf(ResourceManager); + }); + + describe('connect resources', function () { + it('add script and connect should instance of ResourceManager', function () { + expect(manager.addScript('/example.js').connect()).to.be.instanceOf(ResourceManager); + }); + + it('add style and connect should instance of ResourceManager', function () { + expect(manager.addStylesheet('/style.js').connect()).to.be.instanceOf(ResourceManager); + }); + + it('add data and connect should instance of ResourceManager', function () { + expect(manager.addData('/data.json').connect()).to.be.instanceOf(ResourceManager); + }); + }) + + + describe('check availability resources', function () { + it('add script and check availability should return Promise', function () { + expect(manager.addScript('/example.js').available()).to.be.instanceOf(Promise); + }); + + it('add style and check availability should should return Promise', function () { + expect(manager.addStylesheet('/style.js').available()).to.be.instanceOf(Promise); + }); + + it('add data and check availability should should return Promise', function () { + expect(manager.addData('/data.json').available()).to.be.instanceOf(Promise); + }); + }) + + describe('check availability example.json', function () { + it('add data and check content', function (done) { + manager.addData('https://example.com/example.json').connect().available().then(r => { + expect(document.querySelector('html').outerHTML).contains('>{"a":"test"}</script></head>'); + done(); + }).catch(e => done(e)); + }); + + }) + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/dom/template.js b/development/tests/cases/dom/template.js new file mode 100644 index 0000000000000000000000000000000000000000..7e3d310cfeacd310fd3cd290eba48a848447f8e1 --- /dev/null +++ b/development/tests/cases/dom/template.js @@ -0,0 +1,146 @@ +'use strict'; + +import {expect} from "chai" +import {ATTRIBUTE_THEME_NAME} from "../../../source/dom/constants.js"; + +import {findDocumentTemplate, Template} from "../../../source/dom/template.js"; +import {initJSDOM} from "../../util/jsdom.js"; + + +describe('Template', function () { + + before(async function () { + initJSDOM(); + }) + + beforeEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = ` + <template id="mytemplate"></template>`; + }) + + afterEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = ""; + }) + + describe('create HTMLFragment', function () { + [ + ["<div>first</div><div>second</div>"], + ["<div>first</div>"], + ["<div>first</div><p>second</p>"] + + ].forEach(function (data) { + + let a = data.shift() + + it('new Template().getNewDocumentFragmentAsString() should return string', function () { + let template = document.createElement('template'); + template.innerHTML = a; + let t = new Template(template); + + + var container = document.createElement('div'); + container.appendChild(t.createDocumentFragment()); + expect(container.innerHTML).to.be.equal(a); + }); + }); + }); + + describe('create instance', function () { + it('new Template() should return document object', function () { + let d = new Template(document.createElement('template')); + expect(d).to.be.instanceOf(Template); + }); + }); + + describe('.getTemplateElement()', function () { + it('new Template().getTemplateElement() should return HTMLTemplateElement object', function () { + let d = new Template(document.createElement('template')); + expect(d.getTemplateElement()).to.be.instanceOf(HTMLTemplateElement); + }); + }); + + describe('.findDocumentTemplate()', function () { + it('should throw Template not found', function () { + const div = document.createElement('div'); + expect(() => { + findDocumentTemplate("noway", div) + }).to.throws(Error); + }) + }); + + describe('.findDocumentTemplate()', function () { + describe('Template', function () { + it('should find template over ownerDocument', function () { + const div = document.createElement('div'); + div.remove(); + let t = findDocumentTemplate("mytemplate", div); + expect(t).is.instanceof(Template); + + }) + }); + + describe('Thmened Template', function () { + let memAttributeValue; + + beforeEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = ` + <template id="mytemplate"><p>1</p></template> + <template id="mytemplate-monster"><p>2</p></template> + <template id="mytemplate-testtheme"><p>4</p></template> + <template id="myprefix-mytemplate-monster"><p>3</p></template> + `; + + let html = document.querySelector('html'); + if (html.hasAttribute(ATTRIBUTE_THEME_NAME)) { + memAttributeValue = html.getAttribute(ATTRIBUTE_THEME_NAME) + } + + }) + + afterEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = ""; + + let html = document.querySelector('html'); + + if (html.hasAttribute(ATTRIBUTE_THEME_NAME)) { + html.removeAttribute(ATTRIBUTE_THEME_NAME); + } + + if (memAttributeValue) { + html.setAttribute(ATTRIBUTE_THEME_NAME, memAttributeValue) + } + + }) + + + it('should find template over ownerDocument', function () { + let html = document.querySelector('html'); + const div = document.createElement('div'); + div.setAttribute('data-monster-template-prefix', 'myprefix') + div.remove(); + let t1 = findDocumentTemplate("mytemplate", div); + expect(t1).is.instanceof(Template); + expect(t1.createDocumentFragment().textContent).is.equal("3"); + + div.removeAttribute('data-monster-template-prefix') + let t2 = findDocumentTemplate("mytemplate", div); + expect(t2).is.instanceof(Template); + expect(t2.createDocumentFragment().textContent).is.equal("2"); + + html.setAttribute(ATTRIBUTE_THEME_NAME,'testtheme'); + let a= html.outerHTML; + let t3 = findDocumentTemplate("mytemplate", div); + expect(t3).is.instanceof(Template); + expect(t3.createDocumentFragment().textContent).is.equal("4"); + + + }) + }); + + + }); +}); \ No newline at end of file diff --git a/development/tests/cases/dom/theme.js b/development/tests/cases/dom/theme.js new file mode 100644 index 0000000000000000000000000000000000000000..b392f25d514f6105d24ea1fa432134b07b5f0b6f --- /dev/null +++ b/development/tests/cases/dom/theme.js @@ -0,0 +1,58 @@ +'use strict'; + +import {getDocumentFragmentFromString} from "../../../source/dom/util.js"; +import {initJSDOM} from "../../util/jsdom.js"; +import {expect} from "chai" +import {Theme, getDocumentTheme} from "../../../source/dom/theme.js"; + +describe('Theme', function () { + before(function (done) { + initJSDOM().then(() => { + done() + }); + }); + + describe('new Theme()', function () { + it('should return Theme object', function () { + expect(new Theme('my-theme')).is.a.instanceOf(Theme); + }); + it('should return Theme-Name', function () { + expect(new Theme('my-theme').getName()).is.equal('my-theme'); + }); + it('should throw Error because empty argument', function () { + expect(() => new Theme()).to.throw(TypeError) + }); + it('should throw Error because no string argument', function () { + expect(() => new Theme(2)).to.throw(TypeError) + }); + }); + + describe('getDocumentTheme()', function () { + it('should return Theme object', function () { + expect(getDocumentTheme()).is.a.instanceOf(Theme); + }); + + it('should return Default Theme name', function () { + expect(getDocumentTheme().getName()).is.equal('monster'); + }); + + }); + + describe('getDocumentTheme()', function () { + + beforeEach(() => { + document.querySelector('html').setAttribute('data-monster-theme-name', 'testtheme'); + }) + + afterEach(() => { + document.querySelector('html').removeAttribute('data-monster-theme-name'); + }) + + it('should return testtheme Theme name', function () { + expect(getDocumentTheme().getName()).is.equal('testtheme'); + }); + + }); +}); + + diff --git a/development/tests/cases/dom/updater.js b/development/tests/cases/dom/updater.js new file mode 100644 index 0000000000000000000000000000000000000000..8975011279bb0338b60e965452851cc58443ff32 --- /dev/null +++ b/development/tests/cases/dom/updater.js @@ -0,0 +1,764 @@ +'use strict'; + +import chai from "chai" +import {Updater} from "../../../source/dom/updater.js"; +import {ID} from "../../../source/types/id.js"; +import {Observer} from "../../../source/types/observer.js"; +import {ProxyObserver} from "../../../source/types/proxyobserver.js"; +import {chaiDom} from "../../util/chai-dom.js"; +import {initJSDOM} from "../../util/jsdom.js"; + +let expect = chai.expect; + +chai.use(chaiDom); + +let html1 = ` + <template id="current"> + <li data-monster-replace="path:current | tojson"></li> + </template> + <div id="test1"> + <ul data-monster-insert="current path:a.b"> + </ul> + </div> + <div id="test2"> + <ul data-monster-insert="current path:a.b | doit"> + </ul> + </div> + <div id="test3"> + <div data-monster-attributes="class path:a.b"> + <input data-monster-attributes="value path:a.c" id="input1"> + <input data-monster-attributes="checked path:a.checkbox" type="checkbox" name="checkbox" id="checkbox"> + <input data-monster-attributes="value path:a.text" type="text" name="text" id="text"> + <input data-monster-attributes="checked path:a.radio" type="radio" name="radio" value="r1" id="radio"> + <input type="radio" name="radio" value="r2" id="r2"> + <input type="radio" name="radio" value="rx" id="rx"> + + <select data-monster-attributes="value path:a.select" name="select" id="select"> + <option value="other-value">value1</option> + <option>value2</option> + </select> + + <select data-monster-attributes="value path:a.multiselect" name="multiselect" multiple id="multiselect"> + <option>value1</option> + <option>value2</option> + <option>value3</option> + <option>value4</option> + <option value="other-value5">value5</option> + </select> + + <textarea name="textarea" id="textarea" data-monster-attributes="value path:a.textarea"></textarea> + + </div> + </div> + +`; + +let html2 = ` + <div id="test1"> + <div data-monster-replace="path:text | tolower"></div> + <div data-monster-replace="path:text | call:myformatter"></div> + <div data-monster-replace="static:hello\\ "></div> + </div> +`; + +let html3 = ` + + <template id="myinnerid"> + <span data-monster-replace="path:myinnerid | tojson"></span> + </template> + + <template id="myid"> + <p data-monster-insert="myinnerid path:a.b"></p> + </template> + + <div id="test1"> + <div data-monster-insert="myid path:a.b"></div> + </div> + +`; + +let html4 = ` + <div> + <form id="form1"> + <input type="checkbox" value="checked" name="checkbox" data-monster-bind="path:state"> + <input type="text" name="text"> + <input type="radio" name="radio" value="r1" id="r1" data-monster-bind="path:radio"> + <input type="radio" name="radio" value="r2" id="r2" data-monster-bind="path:radio"> + <input type="radio" name="radio" value="rx" id="rx" data-comment="not called because no bind attribute"> + <input type="button" name="button"> + + <select name="select1" id="select1" data-monster-bind="path:select"> + <option>value1</option> + <option>value2</option> + </select> + + <select name="select2" multiple id="select2" data-monster-bind="path:multiselect"> + <option>value1</option> + <option>value2</option> + <option>value3</option> + <option>value4</option> + <option>value5</option> + </select> + + <textarea name="textarea" id="textarea" data-monster-bind="path:textarea"> + + </textarea> + + </form> + </div> + +`; + + +describe('DOM', function () { + + before(function (done) { + initJSDOM().then(() => { + done() + }); + }); + + beforeEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = html1; + }) + + afterEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = ""; + }) + + describe('Updater()', function () { + describe('test Getter && Setter', function () { + it('setEventTypes()', function () { + let element = document.getElementById('test1') + expect(new Updater(element).setEventTypes(['touch'])).to.be.instanceof(Updater); + }) + it('getSubject()', function () { + let element = document.getElementById('test1') + let subject = {a: 1}; + expect(new Updater(element, subject).getSubject().a).to.be.equal(1); + }) + }); + + describe('test control methods', function () { + it('enableEventProcessing()', function () { + let element = document.getElementById('test1') + expect(new Updater(element).enableEventProcessing()).to.be.instanceof(Updater); + }) + + it('disableEventProcessing()', function () { + let element = document.getElementById('test1') + expect(new Updater(element).disableEventProcessing()).to.be.instanceof(Updater); + }) + }); + + describe('test Errors', function () { + + it('should throw value is not an instance of HTMLElement Error', function () { + expect(() => new Updater()).to.throw(TypeError) + }) + + it('should throw value is wrong', function () { + + let element = document.getElementById('test1') + expect(() => new Updater(element, null)).to.throw(TypeError) + }) + + it('should throw Error: the value is not iterable', function (done) { + let element = document.getElementById('test1') + + let u = new Updater( + element, + { + a: { + x: [] + } + } + ); + + + u.run().then(() => { + done(new Error("should never called!")); + }).catch((e) => { + expect(e).is.instanceOf(Error); + expect(e + "").to.be.equal('Error: the value is not iterable'); + done(); + }) + + + }); + + + }); + }); + + describe('Updater()', function () { + describe('new Updater', function () { + + it('should return document object', function () { + let element = document.getElementById('test1') + + let d = new Updater( + element, + {} + ); + + expect(typeof d).is.equal('object'); + }); + }); + }); + + describe('Updater()', function () { + describe('Repeat', function () { + + it('should build 6 li elements', function (done) { + let element = document.getElementById('test1') + + let d = new Updater( + element, + { + a: { + b: [ + {i: '0'}, + {i: '1'}, + {i: '2'}, + {i: '3'}, + {i: '4'}, + {i: '5'}, + ] + } + } + ); + + d.run().then(() => { + + expect(typeof d).is.equal('object'); + for (let i = 0; i < 6; i++) { + expect(element).contain.html('<li data-monster-replace="path:a.b.' + i + ' | tojson" data-monster-insert-reference="current-' + i + '">{"i":"' + i + '"}</li>'); + } + + done(); + }).catch( + e => { + done(new Error(e)) + }) + + + }); + + }); + }); + + describe('Updater()', function () { + + beforeEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = html4; + }) + + describe('Eventhandling', function () { + + let updater, form1, proxyobserver; + beforeEach(() => { + proxyobserver = new ProxyObserver({}) + updater = new Updater(document.getElementById('form1'), proxyobserver); + form1 = document.getElementById('form1'); + + }) + + // here click events are thrown on the checkbox and the setting of the value is observed via the proxyobserver. + it('should handle checkbox click events', function (done) { + + updater.enableEventProcessing(); + + let subject = updater.getSubject(); + expect(subject).is.equal(proxyobserver.getSubject()); + + let expected = ['checked', undefined, 'checked']; + // here the notation with function is important, because the pointer is set. + proxyobserver.attachObserver(new Observer(function () { + + let e = expected.shift(); + if (e === undefined && expected.length === 0) done(new Error('to many calls')); + + if (this.getSubject()['state'] !== e) done(new Error(this.getSubject()['state'] + ' should ' + e)); + if (expected.length === 0) { + done(); + } else { + + setTimeout(() => { + form1.querySelector('[name=checkbox]').click(); + }, 10) + + } + })); + + setTimeout(() => { + form1.querySelector('[name=checkbox]').click(); + }, 10) + + + }) + + it('should handle radio click events 1', function (done) { + + updater.enableEventProcessing(); + + let subject = updater.getSubject(); + expect(subject).is.equal(proxyobserver.getSubject()); + + let expected = ['r1', 'r2', 'r1']; + let clickTargets = ['r2', 'r1'] + // here the notation with function is important, because the this pointer is set. + proxyobserver.attachObserver(new Observer(function () { + + let e = expected.shift(); + if (e === undefined && expected.length === 0) done(new Error('to many calls')); + + let v = this.getSubject()['radio']; + if (v !== e) done(new Error(v + ' should ' + e)); + if (expected.length === 0) { + done(); + } else { + setTimeout(() => { + document.getElementById(clickTargets.shift()).click(); + }, 10) + + } + })); + + setTimeout(() => { + document.getElementById('r1').click(); + }, 10) + + // no handler // bind + setTimeout(() => { + document.getElementById('rx').click(); + }, 20) + + }) + + it('should handle select click events 2', function (done) { + + let selectElement = document.getElementById('select1'); + + updater.enableEventProcessing(); + + let subject = updater.getSubject(); + expect(subject).is.equal(proxyobserver.getSubject()); + + let expected = ['value2', 'value1', 'value2']; + // here the notation with function is important, because the this pointer is set. + proxyobserver.attachObserver(new Observer(function () { + + let e = expected.shift(); + if (e === undefined && expected.length === 0) done(new Error('to many calls')); + + let v = this.getSubject()['select']; + if (v !== e) done(new Error(v + ' should ' + e)); + if (expected.length === 0) { + done(); + } else { + setTimeout(() => { + selectElement.selectedIndex = selectElement.selectedIndex === 1 ? 0 : 1; + selectElement.click(); + }, 10) + + } + })); + + setTimeout(() => { + // set value and simulate click event for bubble + selectElement.selectedIndex = 1; + selectElement.click(); + + }, 20) + + }); + + it('should handle textarea events', function (done) { + + let textareaElement = document.getElementById('textarea'); + + updater.enableEventProcessing(); + + let subject = updater.getSubject(); + expect(subject).is.equal(proxyobserver.getSubject()); + + let expected = ['testX', 'lorem ipsum', '']; + let testValues = ["lorem ipsum", ""]; + // here the notation with function is important, because the this pointer is set. + proxyobserver.attachObserver(new Observer(function () { + + let e = expected.shift(); + if (e === undefined && expected.length === 0) done(new Error('to many calls')); + + let v = this.getSubject()['textarea']; + if (JSON.stringify(v) !== JSON.stringify(e)) done(new Error(JSON.stringify(v) + ' should ' + JSON.stringify(e))); + if (expected.length === 0) { + done(); + } else { + setTimeout(() => { + textareaElement.value = testValues.shift(); + textareaElement.click(); + }, 10) + + } + })); + + setTimeout(() => { + + // set value and simulate click event for bubble + textareaElement.value = "testX"; + textareaElement.click(); + + }, 20) + + }); + + it('should handle multiple select events', function (done) { + + let selectElement = document.getElementById('select2'); + + updater.enableEventProcessing(); + + let subject = updater.getSubject(); + expect(subject).is.equal(proxyobserver.getSubject()); + + let expected = [ + ['value1'], + ['value2', 'value3', 'value4'], + ['value1', 'value4'], + ]; + + let testSelections = [ + [false, true, true, true], + [true, false, false, true], + ] + + // here the notation with function is important, because the this pointer is set. + proxyobserver.attachObserver(new Observer(function () { + + let e = expected.shift(); + if (e === undefined && expected.length === 0) done(new Error('to many calls')); + + let v = this.getSubject()['multiselect']; + + if (JSON.stringify(v) !== JSON.stringify(e)) done(new Error(JSON.stringify(v) + ' should ' + JSON.stringify(e))); + if (expected.length === 0) { + done(); + } else { + setTimeout(() => { + let v = testSelections.shift(); + selectElement.options[0].selected = v[0]; + selectElement.options[1].selected = v[1]; + selectElement.options[2].selected = v[2]; + selectElement.options[3].selected = v[3]; + selectElement.click(); + }, 10) + + } + })); + + setTimeout(() => { + + selectElement.options[0].selected = true; + selectElement.options[1].selected = false; + selectElement.options[2].selected = false; + selectElement.options[3].selected = false; + selectElement.click(); + + }, 20) + + + }); + }); + + }) + + + describe('Updater()', function () { + + beforeEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = html2; + }) + + describe('Replace', function () { + + it('should add lower hello and HELLOyes!', function (done) { + let element = document.getElementById('test1') + + let d = new Updater( + element, + { + text: "HALLO" + } + ); + + d.setCallback('myformatter', function (a) { + return a + 'yes!' + }) + + setTimeout(() => { + d.run().then(() => { + + expect(typeof d).is.equal('object'); + expect(element).contain.html('<div data-monster-replace="path:text | tolower">hallo</div>'); + expect(element).contain.html('<div data-monster-replace="path:text | call:myformatter">HALLOyes!</div>'); + expect(element).contain.html('<div data-monster-replace="static:hello\\ ">hello </div>'); + + return done(); + }).catch( + e => { + done(new Error(e)) + }) + }, 100) + + }); + }); + }); + + + describe('Updater()', function () { + + beforeEach(() => { + let mocks = document.getElementById('mocks'); + mocks.innerHTML = html3; + }) + + describe('Replace', function () { + + it('should ', function (done) { + let element = document.getElementById('test1') + + let d = new Updater( + element, + { + a: { + b: [ + {i: '0'}, + ] + } + } + ); + + + d.run().then(() => { + + expect(typeof d).is.equal('object'); + expect(element).contain.html('<div data-monster-insert="myid path:a.b">'); + expect(element).contain.html('<p data-monster-insert="myinnerid path:a.b" data-monster-insert-reference="myid-0">'); + expect(element).contain.html('<span data-monster-replace="path:a.b.0 | tojson" data-monster-insert-reference="myinnerid-0">{"i":"0"}</span>'); + + done(); + }).catch( + e => { + done(new Error(e)) + }) + + + }); + }); + + }); + + describe('Updater()', function () { + describe('Attributes', function () { + + it('should change attributes', function (done) { + let element = document.getElementById('test3') + + let text = document.getElementById('text') + expect(text.value).to.be.equal(""); + + let radio = document.getElementById('radio') + expect(radio.checked).to.be.false; + + let checkbox = document.getElementById('checkbox') + expect(checkbox.checked).to.be.false; + + let select = document.getElementById('select') + expect(select.selectedIndex).to.be.equal(0); + + let multiselect = document.getElementById('multiselect') + expect(multiselect.selectedIndex).to.be.equal(-1); + + let textarea = document.getElementById('textarea') + expect(textarea.value).to.be.equal(""); + + + let d = new Updater( + element, + { + a: { + b: "div-class", + c: "hello", + text: "hello", + radio: "true", + textarea: "test", + multiselect: ['value3', 'value4', 'other-value5'], + select: "value2", + checkbox: "true" + } + } + ); + + + d.run().then(() => { + + + expect(element).contain.html('<div data-monster-attributes="class path:a.b" class="div-class">'); + expect(element).contain.html('<input data-monster-attributes="value path:a.c" id="input1" value="hello">'); + expect(element).contain.html('<textarea name="textarea" id="textarea" data-monster-attributes="value path:a.textarea" value="test">'); + expect(element).contain.html('<input data-monster-attributes="checked path:a.radio" type="radio" name="radio" value="r1" id="radio" checked="true">'); + + expect(text.value, 'text control').to.be.equal(d.getSubject()['a']['c']); + expect(radio.checked, 'radio control').to.be.equal(true); + expect(textarea.value, 'textarea control').to.be.equal(d.getSubject()['a']['textarea']); + expect(select.selectedIndex, 'select control').to.be.equal(1); // [0=>other-value, 1=>value2] + + let multiselectSelectedOptions = []; + for (const [index, obj] of Object.entries(multiselect.selectedOptions)) { + multiselectSelectedOptions.push(obj.value); + } + + + expect(JSON.stringify(multiselectSelectedOptions), 'multiselect control').to.be.equal(JSON.stringify(d.getSubject()['a']['multiselect'])); + expect(checkbox.checked, 'checkbox control').to.be.true; + + done(); + }).catch( + e => { + done(new Error(e)) + }) + + + }); + }); + }); + + describe('Get Attribute Pipe', function () { + let id, mocks; + beforeEach(() => { + mocks = document.getElementById('mocks'); + id = new ID('monster'); + mocks.innerHTML = ` <div id="` + id + `" + data-monster-replace="path:a | if:value:\\ "></div>` + }) + + afterEach(() => { + mocks.innerHTML = ""; + }) + + it('should include space', function () { + const div = document.getElementById(id.toString()) + + const pipe = div.getAttribute('data-monster-replace'); + expect(pipe.length).to.be.equal(20); + + }); + }); + + + describe('manuel update', function () { + let id, mocks; + + beforeEach(() => { + mocks = document.getElementById('mocks'); + id = new ID('monster').toString(); + mocks.innerHTML = `<input id="` + id + `"data-monster-bind="path:myvalue">` + }) + + afterEach(() => { + mocks.innerHTML = ""; + }) + + it('should get value', function () { + + document.getElementById(id).value = "hello"; + const updater = new Updater(mocks); + const subject = updater.getSubject(); + + expect(subject).to.not.have.property('myvalue'); + updater.retrieve(); + expect(subject).to.have.property('myvalue'); + }); + + + }); + + + /** + * https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/112 + */ + describe('Updater() 20220107', function () { + + beforeEach(() => { + let mocks = document.getElementById('mocks'); + // language=HTML + mocks.innerHTML = ` + + <div id="container"> + <div data-monster-replace="path:content"></div> + </div> + + + `; + }) + + describe('Bugfix #112', function () { + + it('should add ', function (done) { + let containerElement = document.getElementById('container'); + let newElement = document.createElement('div'); + newElement.innerHTML = 'yeah! <b>Test</b>!'; + + const containerHTML = containerElement.innerHTML; + const newHTML = newElement.innerHTML; + + let d = new Updater( + containerElement, + { + content: newElement + } + ); + setTimeout(() => { + d.run().then(() => { + try { + expect(containerElement).contain.html('<div>yeah! <b>Test</b>!</div>'); + } catch (e) { + return done(e); + } + + + done() + }) + }, 100) + + // d.setCallback('myformatter', function (a) { + // return a + 'yes!' + // }) + // + // setTimeout(() => { + // d.run().then(() => { + // + // expect(typeof d).is.equal('object'); + // expect(element).contain.html('<div data-monster-replace="path:text | tolower">hallo</div>'); + // expect(element).contain.html('<div data-monster-replace="path:text | call:myformatter">HALLOyes!</div>'); + // expect(element).contain.html('<div data-monster-replace="static:hello\\ ">hello </div>'); + // + // return done(); + // }).catch( + // e => { + // done(new Error(e)) + // }) + // }, 100) + + }); + }); + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/dom/util.js b/development/tests/cases/dom/util.js new file mode 100644 index 0000000000000000000000000000000000000000..290d2e4e79ef2152e35226aea44e2bdce0c89480 --- /dev/null +++ b/development/tests/cases/dom/util.js @@ -0,0 +1,57 @@ +'use strict'; + +import { + getDocument, getWindow, getDocumentFragmentFromString +} from "../../../source/dom/util.js"; + + +import {initJSDOM} from "../../util/jsdom.js"; + +import {expect} from "chai" + + +describe('DOM', function () { + before(async function () { + initJSDOM(); + }) + describe('getDocument()', function () { + it('should return document object', function () { + let d = getDocument(); + expect(typeof d).is.equal('object'); + }); + }); + + describe('getWindow()', function () { + it('should return document object', function () { + let d = getWindow(); + expect(typeof d).is.equal('object'); + }); + }); + + describe('getDocumentFragmentFromString()', function () { + + + [ + ['<div></div>'], + ['<div><div>2</div></div>'], + ['<div><div>2</div>', '<div><div>2</div></div>'], // test invalid html + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + if (!b) b = a; + + it('should return documentFragment object ' + a, function () { + let fragment = getDocumentFragmentFromString(a); + expect(fragment).to.be.instanceOf(DocumentFragment); + + var div = document.createElement('div'); + div.appendChild(fragment.cloneNode(true)); + expect(div.innerHTML).to.be.equal(b); + }); + + }); + + }); +}); \ No newline at end of file diff --git a/development/tests/cases/dom/worker/factory.js b/development/tests/cases/dom/worker/factory.js new file mode 100644 index 0000000000000000000000000000000000000000..414af2aef01a334809907708025d79a684513032 --- /dev/null +++ b/development/tests/cases/dom/worker/factory.js @@ -0,0 +1,63 @@ +import {expect} from "chai" + +import {Factory} from "../../../../source/dom/worker/factory.js"; +import {getGlobal} from "../../../../source/types/global.js"; +import {initJSDOM, isNode} from "../../../util/jsdom.js"; + +const global = getGlobal(); + +describe('Worker', function () { + + before(function (done) { + + if (isNode()) { + Object.defineProperty(global['URL'], 'createObjectURL', { + writable: true, + value: () => { + return "/example.js" + } + }) + + global['Worker'] = class { + terminate() { + + } + + onerror() { + + } + + onmessage() { + + } + } + + let a = typeof global['Worker']; + let a1 = typeof Worker; + + } + + const jsdom = initJSDOM().then(() => { + done(); + }); + + + }) + + describe('Factory', function () { + + it('create worker', function () { + + const factory = new Factory(); + const worker = factory.createFromScript('console.log("hello world");') + expect(worker).is.instanceof(Worker); + + expect(factory.terminate(worker)).is.instanceof(Factory) + + + }); + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/i18n/formatter.js b/development/tests/cases/i18n/formatter.js new file mode 100644 index 0000000000000000000000000000000000000000..f5336edbba0b5c8d91f0b313bea1c715a2054438 --- /dev/null +++ b/development/tests/cases/i18n/formatter.js @@ -0,0 +1,66 @@ +import {expect} from "chai" +import {Formatter} from "../../../source/i18n/formatter.js"; +import {Translations} from "../../../source/i18n/translations.js"; + + +describe('Formatter', function () { + + describe('example', function () { + + it('should run with marker', function () { + + const translations = new Translations('en') + .assignTranslations({ + thekey: "${animal} has eaten the ${food}!" + }); + + const f = new Formatter({}, translations); + + expect(f.format("i18n{thekey::animal=dog::food=cake}")).to.be.equal('dog has eaten the cake!'); + // ↦ dog has eaten the cake! + + }); + + it('should run without marker', function () { + + const translations = new Translations('en') + .assignTranslations({ + thekey: "${animal} has eaten the ${food}!" + }); + + // missing marker + expect(new Formatter({}, translations).format("thekey::animal=dog::food=cake")).to.be.equal('dog has eaten the cake!'); + // ↦ dog has eaten the cake! + + }); + }); + + + describe('format', function () { + + [ + ['i18n{translationkey::a=3::b=5}', 'test is 3 and 5'], + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('format ' + a + ' should ' + b, function () { + + const translations = new Translations('de').assignTranslations({ + translationkey: "test is ${a} and ${b}" + }) + + expect( + new Formatter({}, translations).format(a) + ).to.equal(b) + }); + }); + + + }) + + +}) +; \ No newline at end of file diff --git a/development/tests/cases/i18n/locale.js b/development/tests/cases/i18n/locale.js new file mode 100644 index 0000000000000000000000000000000000000000..02f4c01b347a7fe4db5425062a8be6693906b2fc --- /dev/null +++ b/development/tests/cases/i18n/locale.js @@ -0,0 +1,80 @@ + + +import {expect} from "chai" +import {parseLocale, Locale} from "../../../source/i18n/locale.js"; + + +describe('Locale', function () { + + describe('new instance', function () { + + [ + // language, region, script, variants, extlang, privateUse + // https://www.rfc-editor.org/rfc/rfc5646.html + ['zh', undefined, 'Hant', undefined, undefined, undefined, 'zh-Hant'], // zh-Hant (Chinese written using the Traditional Chinese script) + ['de', 'CH', undefined, '1901', undefined, undefined, 'de-CH-1901'], // de-CH-1901 (German as used in Switzerland using the 1901 variant [orthography]) + ['sl', 'IT', undefined, 'nedis', undefined, undefined, 'sl-IT-nedis'], // sl-IT-nedis (Slovenian as used in Italy, Nadiza dialect) + ['hy', 'IT', 'Latn', 'arevela', undefined, undefined, 'hy-Latn-IT-arevela'], // hy-Latn-IT-arevela (Eastern Armenian written in Latin script, as used in Italy) + ['zh', 'CN', 'Hans', undefined, undefined, undefined, 'zh-Hans-CN'], // zh-Hans-CN (Chinese written using the Simplified script as used in mainland China) + ['sr', 'RS', 'Latn', undefined, undefined, undefined, 'sr-Latn-RS'], // sr-Latn-RS (Serbian written using the Latin script as used in Serbia) + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + let d = data.shift() + let e = data.shift() + let f = data.shift() + let g = data.shift() + + it('new Locale(' + a + ',' + b + ',' + c + ',' + d + ',' + e + ',' + f + ') should return ' + g, function () { + + expect(new Locale(a, b, c, d, e, f).toString()).is.equal(g) + }); + }); + + }); + + describe('parseLocale()', function () { + + [ + + // language, region, script, variants, extlang, privateUse + // https://www.rfc-editor.org/rfc/rfc5646.html + ['zh', undefined, 'Hant', undefined, undefined, undefined, 'zh-Hant'], // zh-Hant (Chinese written using the Traditional Chinese script) + ['de', 'CH', undefined, '1901', undefined, undefined, 'de-CH-1901'], // de-CH-1901 (German as used in Switzerland using the 1901 variant [orthography]) + ['sl', 'IT', undefined, 'nedis', undefined, undefined, 'sl-IT-nedis'], // sl-IT-nedis (Slovenian as used in Italy, Nadiza dialect) + ['hy', 'IT', 'Latn', 'arevela', undefined, undefined, 'hy-Latn-IT-arevela'], // hy-Latn-IT-arevela (Eastern Armenian written in Latin script, as used in Italy) + ['zh', 'CN', 'Hans', undefined, undefined, undefined, 'zh-Hans-CN'], // zh-Hans-CN (Chinese written using the Simplified script as used in mainland China) + ['sr', 'RS', 'Latn', undefined, undefined, undefined, 'sr-Latn-RS'], // sr-Latn-RS (Serbian written using the Latin script as used in Serbia) + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + let d = data.shift() + let e = data.shift() + let f = data.shift() + let g = data.shift() + + it('new Locale(' + a + ',' + b + ',' + c + ',' + d + ',' + e + ',' + f + ') should return ' + g, function () { + + const locale = parseLocale(g) + expect(locale.localeString).to.be.equal(g); + expect(locale.language).to.be.equal(a); + expect(locale.region).to.be.equal(b); + expect(locale.script).to.be.equal(c); + expect(locale.variants).to.be.equal(d); + expect(locale.extlang).to.be.equal(e); + expect(locale.privateUse).to.be.equal(f); + + expect(new Locale(a, b, c, d, e, f).toString()).is.equal(g) + }); + }); + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/i18n/provider.js b/development/tests/cases/i18n/provider.js new file mode 100644 index 0000000000000000000000000000000000000000..8cbaf59cc79627771bb0bdd4cb46fc314fa74877 --- /dev/null +++ b/development/tests/cases/i18n/provider.js @@ -0,0 +1,15 @@ +import {expect} from "chai" +import {Provider} from "../../../source/i18n/provider.js"; + +describe('Provider', function () { + + describe('Instance and Init', function () { + + it('create instance', function () { + expect((new Provider()).getTranslations('en')).is.instanceof(Promise); + }); + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/i18n/providers/fetch.js b/development/tests/cases/i18n/providers/fetch.js new file mode 100644 index 0000000000000000000000000000000000000000..f993c2c8631f0282de993110624c96e7de9125a3 --- /dev/null +++ b/development/tests/cases/i18n/providers/fetch.js @@ -0,0 +1,65 @@ +import {expect} from "chai" + + +import {Fetch} from "../../../../source/i18n/providers/fetch.js"; +import {Translations} from "../../../../source/i18n/translations.js"; +import {getGlobal} from "../../../../source/types/global.js"; + + +const global = getGlobal(); +let fetchReference; + + +describe('Translation Provider Fetch', function () { + + + afterEach(() => { + global['fetch'] = fetchReference; + }); + + beforeEach(() => { + + fetchReference = global['fetch']; + global['fetch'] = function (url, options) { + return new Promise((resolve, reject) => { + resolve({ + json: function () { + return { + a: "test" + } + } + }); + }) + + }; + + }) + + describe('fetch mock data and create translation', function () { + + it('fetch', function (done) { + + let p = (new Fetch(new URL('http://example.com'))).getTranslations('en'); + + expect(p).is.instanceof(Promise); + + p.then(r => { + + try { + expect(r).is.instanceof(Translations); + done(); + } catch (e) { + done(e); + } + + + }).catch(e => { + done(e); + }) + + }); + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/i18n/translations.js b/development/tests/cases/i18n/translations.js new file mode 100644 index 0000000000000000000000000000000000000000..01075b078843695f3807cb2c9fe488a37865315c --- /dev/null +++ b/development/tests/cases/i18n/translations.js @@ -0,0 +1,57 @@ +import {expect} from "chai" +import {parseLocale} from "../../../source/i18n/locale.js"; +import {Translations} from "../../../source/i18n/translations.js"; + +describe('Translations', function () { + + describe('Instance and Init', function () { + + let translation; + + beforeEach(() => { + translation = new Translations(parseLocale('en-GB')); + + translation.assignTranslations({ + test1: "abc", + test2: {'other': 'xyz'} + }); + }) + + it('create instance', function () { + expect(new Translations(parseLocale('en-GB'))).is.instanceof(Translations); + }); + + it('init translations', function () { + expect(translation.assignTranslations({ + test1: "abc", + test2: {'other': 'xyz'} + })).is.instanceof(Translations); + }); + + }); + + describe('getText', function () { + + let translation; + + beforeEach(() => { + translation = new Translations(parseLocale('en-GB')); + + translation.assignTranslations({ + test1: "abc", + test2: {'other': 'xyz'} + }); + }) + + it('create, set and get en-GB', function () { + expect(translation.getText('test1')).is.equal('abc'); + }); + + it('create, set and get en-GB with pluralrules', function () { + expect(translation.getText('test2')).is.equal('xyz') + }); + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/logging/handler.js b/development/tests/cases/logging/handler.js new file mode 100644 index 0000000000000000000000000000000000000000..6f95acc4ce3d44bc79fb163d8b0b196f10570611 --- /dev/null +++ b/development/tests/cases/logging/handler.js @@ -0,0 +1,152 @@ +import {expect} from "chai"; +import {ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF} from "../../../source/logging/logger.js"; +import {Monster, Handler} from "../../../source/logging/handler.js"; +import {LogEntry} from "../../../source/logging/logentry.js"; + +describe('Logging', function () { + + describe('Handler.setLogLevel().getLogLevel()', function () { + + [ + [ALL], [TRACE], [DEBUG], [INFO], [WARN], [ERROR], [FATAL], [OFF], + ].forEach(function (data) { + + let a = data.shift() + + it('the function should return the set value ' + a, function () { + expect(new Handler().setLogLevel(a).getLogLevel()).to.be.equal(a); + }); + }); + }); + + + describe('Handler.log()', function () { + it('should return instanceof Handler', function () { + expect(new Handler().log(new LogEntry(0, "test"))).to.be.true; + }); + }); + + describe('Handler.log()', function () { + + let handler; + + class TestHandler extends Handler { + log(entry) { + super.log(entry); + + } + } + + beforeEach(function () { + let handler = new TestHandler(); + }) + + it('should return instanceof Handler', function () { + expect(new Handler().log(new LogEntry(0, "test"))).to.be.true; + }); + + + }); + + describe('.log() with loglevel', function () { + + let TestHandler; + + before(() => { + TestHandler = class extends Handler { + constructor() { + super(); + this.calls = 0; + } + + log(loglevel) { + if (super.log(loglevel) === true) { + this.calls++ + return true; + } + return false; + } + } + }); + + [ // ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + [ALL, 6], + [TRACE, 6], + [DEBUG, 5], + [INFO, 4], + [WARN, 3], + [ERROR, 2], + [FATAL, 1], + [OFF, 0] + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('is.log(' + a + ') should log ' + b, function () { + let handler = new TestHandler().setLogLevel(a); + handler.log(new LogEntry(TRACE)); + handler.log(new LogEntry(DEBUG)); + handler.log(new LogEntry(INFO)); + handler.log(new LogEntry(WARN)); + handler.log(new LogEntry(ERROR)); + handler.log(new LogEntry(FATAL)); + + expect(handler.calls).is.equal(b) + }); + }); + }); + + describe('Handler.setLogLevel()', function () { + it('should return instanceof Handler', function () { + expect(new Handler().setLogLevel(ALL)).to.instanceOf(Handler); + }); + }); + + describe('Handler.getLogLevel()', function () { + it('new logger should be 0', function () { + expect(new Handler().getLogLevel()).to.be.equal(OFF); + }); + }); + + describe('Handler.setAll()', function () { + it(' should instanceof Handler', function () { + expect(new Handler().setAll()).to.instanceOf(Handler); + }); + }); + describe('Handler.setTrace()', function () { + it('new logger should instanceof Handler', function () { + expect(new Handler().setTrace()).to.instanceOf(Handler); + }); + }); + describe('Handler.setDebug()', function () { + it(' should instanceof Handler', function () { + expect(new Handler().setDebug()).to.instanceOf(Handler); + }); + }); + describe('Handler.setInfo()', function () { + it('should return instanceof Handler', function () { + expect(new Handler().setInfo()).to.instanceOf(Handler); + }); + }); + describe('Handler.setWarn()', function () { + it(' should instanceof Handler', function () { + expect(new Handler().setWarn()).to.instanceOf(Handler); + }); + }); + describe('Handler.setError()', function () { + it('should return instanceof Handler', function () { + expect(new Handler().setError()).to.instanceOf(Handler); + }); + }); + describe('Handler.setFatal()', function () { + it('should return instanceof Handler', function () { + expect(new Handler().setFatal()).to.instanceOf(Handler); + }); + }); + describe('Handler.setOff()', function () { + it('should return instanceof Handler', function () { + expect(new Handler().setOff()).to.instanceOf(Handler); + }); + }); +}); \ No newline at end of file diff --git a/development/tests/cases/logging/handler/console.js b/development/tests/cases/logging/handler/console.js new file mode 100644 index 0000000000000000000000000000000000000000..1e8bf05d855d4e12212e46fed93efb60011f016b --- /dev/null +++ b/development/tests/cases/logging/handler/console.js @@ -0,0 +1,20 @@ +import {expect} from "chai"; +import {ConsoleHandler} from "../../../../source/logging/handler/console.js"; +import {LogEntry} from "../../../../source/logging/logentry.js"; +import {FATAL} from "../../../../source/logging/logger.js"; + +describe('Logging', function () { + + describe('ConsoleHandler', function () { + + it('should create ConsoleHandler', function () { + expect(new ConsoleHandler()).to.be.instanceof(ConsoleHandler) + }); + + it('should log to console', function () { + expect(new ConsoleHandler().setAll().log(new LogEntry(FATAL, [1, true, 'message']))).to.be.true; + }); + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/logging/logentry.js b/development/tests/cases/logging/logentry.js new file mode 100644 index 0000000000000000000000000000000000000000..92375270b3b58e7233642176ff4f45e97a962bf8 --- /dev/null +++ b/development/tests/cases/logging/logentry.js @@ -0,0 +1,30 @@ +import {expect} from "chai" +import {Monster, LogEntry} from "../../../source/logging/logentry.js"; + + +describe('Log', function () { + + describe('new Log', function () { + it('should return instanceof Log', function () { + expect(new LogEntry(1, 'a', 'b', 'c')).to.instanceOf(LogEntry); + }); + }); + + describe('Log.loglevel', function () { + + let log; + + beforeEach(function () { + log = new LogEntry(1, false, 'test', 99, {a: true}); + }) + + it('should return loglevel 1', function () { + expect(log.getLogLevel()).to.be.equal(1) + }); + + it('should return arguments', function () { + expect(log.getArguments()).to.have.deep.members([false, 'test', 99, {a: true}]) + }); + }); + +}); \ No newline at end of file diff --git a/development/tests/cases/logging/logger.js b/development/tests/cases/logging/logger.js new file mode 100644 index 0000000000000000000000000000000000000000..ddf77bbffe7ca892c28710086b6e196c0bf776a2 --- /dev/null +++ b/development/tests/cases/logging/logger.js @@ -0,0 +1,89 @@ +import {expect} from "chai" +import {Monster, Logger, OFF, ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL} from "../../../source/logging/logger.js"; + + +describe('Logging', function () { + + describe('new Logger', function () { + it('should return instanceof Logger', function () { + expect(new Logger()).to.instanceOf(Logger); + }); + }); + + describe('Logger.logTrace()', function () { + it('should return instanceof Logger', function () { + expect(new Logger().logTrace("test")).to.instanceOf(Logger); + }); + }); + + describe('Logger.logDebug()', function () { + it('should return instanceof Logger', function () { + expect(new Logger().logDebug("test")).to.instanceOf(Logger); + }); + }); + + describe('Logger.logInfo()', function () { + it('should return instanceof Logger', function () { + expect(new Logger().logInfo("test")).to.instanceOf(Logger); + }); + }); + + describe('Logger.logWarn()', function () { + it('should return instanceof Logger', function () { + expect(new Logger().logWarn("test")).to.instanceOf(Logger); + }); + }); + + describe('Logger.logError()', function () { + it('should return instanceof Logger', function () { + expect(new Logger().logError("test")).to.instanceOf(Logger); + }); + }); + + describe('Logger.logFatal()', function () { + it('should return instanceof Logger', function () { + expect(new Logger().logFatal("test")).to.instanceOf(Logger); + }); + }); + + describe('Logger.getLevel()', function () { + [ + ['ALL', ALL], + ['TRACE', TRACE], + ['DEBUG', DEBUG], + ['INFO', INFO], + ['WARN', WARN], + ['ERROR', ERROR], + ['FATAL', FATAL], + ['OFF', OFF], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it(a + ' should return ' + b, function () { + expect(new Logger().getLevel(a)).to.be.equals(b); + }); + }); + }); + describe('Logger.getLabel()', function () { + [ + ['ALL', ALL], + ['TRACE', TRACE], + ['DEBUG', DEBUG], + ['INFO', INFO], + ['WARN', WARN], + ['ERROR', ERROR], + ['FATAL', FATAL], + ['OFF', OFF], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it(a + ' should return ' + b, function () { + expect(new Logger().getLabel(b)).to.be.equals(a); + }); + }); + }); +}); \ No newline at end of file diff --git a/development/tests/cases/math/random.js b/development/tests/cases/math/random.js new file mode 100644 index 0000000000000000000000000000000000000000..8a360f01c5a8a98dc6e197e47043417e1beb0e6c --- /dev/null +++ b/development/tests/cases/math/random.js @@ -0,0 +1,82 @@ +/** nodejs doesnt support window.crypt */ +import {expect} from "chai" +import {getGlobal} from "../../../source/types/global.js"; +import * as Crypto from "@peculiar/webcrypto"; +import {Monster, random} from "../../../source/math/random.js"; + +const global = getGlobal(); + +if (!global['crypto']) { + global['crypto'] = new Crypto.Crypto(); +} + +describe('Math', function () { + + describe('.random()', function () { + + + it('a greater b should throw error ', function () { + expect(() => random(10, 2)).to.throw(Error); + }); + + it(' should return a number ', function () { + let r = random(); + expect(r).that.is.a('number'); + }); + + it(' should return a number ', function () { + expect(() => random(5, 6)).to.throw(Error); + }); + + it(' should throw Error we cannot generate numbers larger than 53 bits.', function () { + expect(() => random(-999999999, 99999999999999999999)).to.throw(Error); + }); + + [ + [1, 100], + [500, 600], + [100, 1000] + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + let r = random(a, b); + + it(r + ' should return value between ' + a + ' ' + b, function () { + expect(r >= a).to.be.true; + expect(r <= b).to.be.true; + }); + }); + + [ + [1, 100], + [500, 600], + [100, 1000] + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + let sum = 0; + const rounds = 500 + + for (let i = 0, max = rounds; i < max; i++) { + sum += random(a, b); + } + + let avg = sum / rounds; + + it(avg + ' should between ' + a + ' ' + b, function () { + expect(avg > a).to.be.true + expect(avg < b).to.be.true + }) + + + }) + + + }) + + +}) \ No newline at end of file diff --git a/development/tests/cases/monster.js b/development/tests/cases/monster.js new file mode 100644 index 0000000000000000000000000000000000000000..8d6f6a544b880b98ed71545598fa53a0f3da3755 --- /dev/null +++ b/development/tests/cases/monster.js @@ -0,0 +1,23 @@ + + +import {expect} from "chai" +import {Monster,Version} from "../../source/types/version.js"; + +describe('Monster', function () { + + describe('.getVersion()', function () { + let monsterVersion + + /**#@+ dont touch, replaced by make with package.json version */ + monsterVersion = new Version('1.31.0') + /**#@-*/ + + let m = Monster.getVersion(); + + it('should ' + monsterVersion + ' is ' + m, function () { + expect(m.compareTo(monsterVersion)).is.equal(0); + }); + + }); + +}); diff --git a/development/tests/cases/namespace.js b/development/tests/cases/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..0438975c00656232bf9c27209566c7ec7c4887df --- /dev/null +++ b/development/tests/cases/namespace.js @@ -0,0 +1,93 @@ +import {expect} from "chai" +import {Monster, assignToNamespace} from "../../source/namespace.js"; + +describe('Namespace', function () { + + describe('assignToNamespace', function () { + + + it('assignToNamespace() without arguments throw exception', function () { + expect(() => assignToNamespace()).to.throw(Error) + }); + + it('assignToNamespace() with wrong arguments throw exception', function () { + expect(() => assignToNamespace({})).to.throw(Error) + }); + + it('assignToNamespace() without function arguments throw exception', function () { + expect(() => assignToNamespace('test')).to.throw(Error) + }); + it('assignToNamespace() with wrong arguments throw exception', function () { + expect(() => assignToNamespace('test', {})).to.throw(Error) + }); + + it('assignToNamespace() with wrong arguments throw exception', function () { + function testMock() { + + } + + expect(assignToNamespace('test', testMock)).to.be.an.instanceof(Object) + }); + + it('assignToNamespace() with corrupted function as arguments throw exception', function () { + function testMock() { + + } + + // delete name property for toString detection + delete testMock.name; + + testMock.toString = () => { + return {} + } + + expect(() => assignToNamespace('test', testMock)).to.throw(Error) + }); + + it('assignToNamespace() with corrupted function as arguments throw exception', function () { + function testMock() { + + } + + // delete name property for toString detection + delete testMock.name; + + testMock.toString = () => { + return "unsupported" + } + + expect(() => assignToNamespace('test', testMock)).to.throw(Error) + }); + + it('assignToNamespace() with corrupted function as arguments throw exception', function () { + function testMock() { + + } + + // delete name property for toString detection + delete testMock.name; + + expect(assignToNamespace('test', testMock)).to.be.an.instanceof(Object) + }); + + it('assignToNamespace() without name', function () { + class testMockClass { + + } + + delete testMockClass.name; + + expect(assignToNamespace('test', testMockClass)).to.be.an.instanceof(Object) + }); + + it('Namespace().toString() should return string', function () { + class testMockClass { + + } + + expect(assignToNamespace('Test', testMockClass).toString()).to.be.equal('Monster.Test'); + }); + + }); + +}); diff --git a/development/tests/cases/text/formatter.js b/development/tests/cases/text/formatter.js new file mode 100644 index 0000000000000000000000000000000000000000..93ee3b946908133150531cd5cf64a1805645614e --- /dev/null +++ b/development/tests/cases/text/formatter.js @@ -0,0 +1,207 @@ +import {expect} from "chai" +import {Formatter} from "../../../source/text/formatter.js"; + + +describe('Formatter', function () { + + // https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/47 + describe('examples', function () { + + it('rfc example should run', function () { + expect(new Formatter({ + + a: { + b: { + c: "Hello" + }, + d: "World", + e: 1 + } + + }).format("${a.b.c} ${a.d | toupper}!")).to.be.equal('Hello WORLD!'); + }) + + it('doc example should run', function () { + expect(new Formatter({ + + a: { + b: { + c: "Hello" + }, + d: "world", + } + + }).format("${a.b.c} ${a.d | ucfirst}!")).to.be.equal('Hello World!'); + }) + + + }) + + describe('set marker()', function () { + + + [ + ['#a#', '#', undefined, 'test'], + ['{a}', '{', '}', 'test'], + ['i18n{a}', 'i18n{', '}', 'test'], + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + let d = data.shift() + + it('format ' + a + ' with marker ' + b + ' and ' + c + ' should return ' + b, function () { + + expect( + new Formatter({ + a: "test" + }).setMarker(b, c).format(a) + ).to.equal(d) + }); + }); + + + }) + + describe('examples()', function () { + + [ + ['${a | tojson}', "{\"b\":{\"c\":\"Hello\"},\"d\":\"World\",\"e\":1}"], + ['click ${a.d} times', "click World times"], + [' ${a.b.c} ', ' Hello '], + [' ${a.b.c}', ' Hello'], + ['${a.b.c} ', 'Hello '], + ['${a.b.c}', 'Hello'], + ['${a.b.c}${a.b.c}', 'HelloHello'], + ['${a.b.c} ${a.b.c}', 'Hello Hello'], + ['${a.b.c} ${a.b.c} ', 'Hello Hello '], + [' ${a.b.c} ${a.b.c} ', ' Hello Hello '], + [' ${a.b.c} ${a.d} ', ' Hello World '], + [' ${a.b.c} ${a.b.c | toupper | length | tostring} ', ' Hello 5 '], + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('format ' + a + ' should return ' + b, function () { + + let obj = { + a: { + b: { + c: "Hello" + }, + d: "World", + e: 1 + } + } + + + expect(new Formatter(obj).format(a)).is.equal(b) + }); + }); + + }); + + describe('Marker in marker', function () { + + let text = '${mykey${subkey}}'; + let expected = '1'; + + it('format ' + text + ' should ' + expected, function () { + + let obj = { + mykey2: "1", + subkey: "2" + }; + + expect(new Formatter(obj).format(text)).is.equal(expected) + + }); + + + }); + + describe('setParameterChars()', function () { + + it('setParameterChars() should return Instance', function () { + expect(new Formatter({}).setParameterChars('a', 'b')).is.instanceof(Formatter); + + }); + + + }); + + + describe('with callbacks', function () { + + it('add callback', function () { + const formatter = new Formatter({ + x: '1' + }, { + callbacks: { + my: (value) => { + return "!" + value + "!" + } + } + }); + + expect(formatter.format('${x | call:my}')).is.equal('!1!'); + + }); + + + }); + + describe('Marker in marker with parameter', function () { + + let text = '${mykey::mykey=${subkey}}'; + let expected = '2'; + + it('format ' + text + ' should ' + expected, function () { + + let obj = { + subkey: "2" + }; + + expect(new Formatter(obj).format(text)).is.equal(expected) + + }); + }); + + describe('exceptions', function () { + + [ + ['${a.b.x}', TypeError], + ['${a.b.d | toupper | length}', TypeError], + ['${a.b.d}', TypeError], // a.b.d return undefined by pathfinder + ['${a.b.d | tolower}', TypeError], // a.b.d return undefined by pathfinder + ['${a | }', Error], + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('format ' + a + ' should throw ' + typeof b, function () { + + expect(() => { + new Formatter({ + a: { + b: { + c: "test", + d: 4 + } + } + }).format(a) + } + ).to.throw(b); + }); + }); + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/types/base.js b/development/tests/cases/types/base.js new file mode 100644 index 0000000000000000000000000000000000000000..4d45b96bb05fd4ec6d70fd21e4d69689dd1f8c0c --- /dev/null +++ b/development/tests/cases/types/base.js @@ -0,0 +1,21 @@ +"use strict"; + +import {expect} from "chai" +import {Base} from "../../../source/types/base.js"; + + +describe('Base', function () { + + describe('new Base', function () { + + it('is instance of Base', function () { + expect(new Base).to.be.instanceOf(Base); + }); + + it('is instance of Object', function () { + expect(new Base).to.be.instanceOf(Object); + }); + + }) + +}) \ No newline at end of file diff --git a/development/tests/cases/types/basewithoptions.js b/development/tests/cases/types/basewithoptions.js new file mode 100644 index 0000000000000000000000000000000000000000..23e6c379cefd919fe89647b28a62dd50f523db1f --- /dev/null +++ b/development/tests/cases/types/basewithoptions.js @@ -0,0 +1,25 @@ +"use strict"; + +import {expect} from "chai" +import {BaseWithOptions} from "../../../source/types/basewithoptions.js"; + + +describe('BaseWithOptions', function () { + + describe('new BaseWithOptions', function () { + + it('is instance of BaseWithOptions', function () { + expect(new BaseWithOptions).to.be.instanceOf(BaseWithOptions); + }); + + it('is instance of Object', function () { + expect(new BaseWithOptions).to.be.instanceOf(Object); + }); + + it('get option is true', function () { + expect(new BaseWithOptions({a: true}).getOption('a')).to.be.true; + }); + + }) + +}) \ No newline at end of file diff --git a/development/tests/cases/types/binary.js b/development/tests/cases/types/binary.js new file mode 100644 index 0000000000000000000000000000000000000000..74858821189ec4329ef297c84f4d89837dd83dc0 --- /dev/null +++ b/development/tests/cases/types/binary.js @@ -0,0 +1,27 @@ +'use strict'; + +import {expect} from "chai" +import {fromBinary, toBinary} from "../../../source/types/binary.js"; + +describe('Binary', function () { + + [ + ['a', 'a\u0000'], + ['☹', '9&'], + ['Iñtërnâtiônàlizætiøn', 'I\u0000ñ\u0000t\u0000ë\u0000r\u0000n\u0000â\u0000t\u0000i\u0000ô\u0000n\u0000à\u0000l\u0000i\u0000z\u0000æ\u0000t\u0000i\u0000ø\u0000n\u0000'] + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('fromBinary(toBinary(' + a + ')) should work', function () { + let r = toBinary(a); + expect(r).to.be.equal(b); + expect(fromBinary(r)).to.be.equal(a); + }) + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/types/dataurl.js b/development/tests/cases/types/dataurl.js new file mode 100644 index 0000000000000000000000000000000000000000..5e7cda8fb55ac81da7aa8813056bbd742dd0595c --- /dev/null +++ b/development/tests/cases/types/dataurl.js @@ -0,0 +1,58 @@ +'use strict'; + +import {expect} from "chai" +import {parseDataURL} from "../../../source/types/dataurl.js"; + +describe('Dataurl', function () { + + [ + [" data:text/html,%3Ch1%3EHello%2C%20World!%3C%2Fh1%3E"], + ["data:text/html;charset=US-ASCII,%3Ch1%3EHello!%3C%2Fh1%3E"], + ["data:,A%20brief%20note", 'data:text/plain;charset=US-ASCII,A%20brief%20note'], + ["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC"], + [" data:,Hello%2C%20World!", 'data:text/plain;charset=US-ASCII,Hello%2C%20World!'], + [" data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIBAMAAAA2IaO4AAAAFVBMVEXk5OTn5+ft7e319fX29vb5+fn///++GUmVAAAALUlEQVQIHWNICnYLZnALTgpmMGYIFWYIZTA2ZFAzTTFlSDFVMwVyQhmAwsYMAKDaBy0axX/iAAAAAElFTkSuQmCC "], + [" data:,Hello World!", 'data:text/plain;charset=US-ASCII,Hello%20World!'], + ["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIBAMAAAA2IaO4AAAAFVBMVEXk5OTn5+ft7e319fX29vb5+fn///++GUmVAAAALUlEQVQIHWNICnYLZnALTgpmMGYIFWYIZTA2ZFAzTTFlSDFVMwVyQhmAwsYMAKDaBy0axX/iAAAAAElFTkSuQmCC"], + [" data:text/plain;base64,SGVsbG8sIFdvcmxkIQ%3D%3D"] + + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + if (b === undefined) b = a.trim(); + + + it('parseDataURL(' + a + ')', function () { + + expect(parseDataURL(a).toString()).to.be.equal(b); + }) + + }); + + [ + ["dataxbase64"], + ["data:HelloWorld"], + ["data:text/html;charset=,%3Ch1%3EHello!%3C%2Fh1%3E"], + ["data:text/html;charset,%3Ch1%3EHello!%3C%2Fh1%3E", "data:base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC"], + [""], + ["http://wikipedia.org"], + ["base64"], + ["iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC"] + + ].forEach(function (data) { + + let a = data.shift() + + + it('should throw exception parseDataURL(' + a + ')', function () { + + expect(() => parseDataURL(a)).throw(TypeError) + }) + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/types/global.js b/development/tests/cases/types/global.js new file mode 100644 index 0000000000000000000000000000000000000000..666aac9f1b12b1ee0d3b67d8b0c61b82dbb4512f --- /dev/null +++ b/development/tests/cases/types/global.js @@ -0,0 +1,30 @@ +import {getGlobal, getGlobalObject, getGlobalFunction} from "../../../source/types/global.js"; +import {expect} from "chai" + +describe('Global', function () { + describe('getGlobal', function () { + + it('should return global object', function () { + let t = typeof getGlobal(); + expect(t).to.be.equal('object') + }); + + }); + describe('getGlobalFunction', function () { + + it('should return global function', function () { + let t = typeof getGlobalFunction('parseInt'); + expect(t).to.be.equal('function') + }); + + }); + describe('getGlobalObject', function () { + + it('should return global object', function () { + let t = typeof getGlobalObject('JSON'); + expect(t).to.be.equal('object') + }); + + }); +}); + diff --git a/development/tests/cases/types/id.js b/development/tests/cases/types/id.js new file mode 100644 index 0000000000000000000000000000000000000000..2cef5db1dc8e4b546e221c00ead62605a3cbc9bf --- /dev/null +++ b/development/tests/cases/types/id.js @@ -0,0 +1,30 @@ +import {Monster, ID} from "../../../source/types/id.js"; +import {expect} from "chai" + +import * as Crypto from "@peculiar/webcrypto"; + +if (!global['crypto']) { + global['crypto'] = new Crypto.Crypto(); +} + + +describe('ID', function () { + + describe('.toString()', function () { + let id = new ID() + let result = id.toString(); + + it('should return a string', function () { + expect(result).is.a('string') + }); + + it('should return a string', function () { + expect(new ID('text1425id').toString()).is.equal('text1425id1') + expect(new ID('text1425id').toString()).is.equal('text1425id2') + expect(new ID('text1425id').toString()).is.equal('text1425id3') + }); + + }); + +}); + diff --git a/development/tests/cases/types/is.js b/development/tests/cases/types/is.js new file mode 100644 index 0000000000000000000000000000000000000000..a973e23a382672bbaaa05666012b2bc24a1dcdca --- /dev/null +++ b/development/tests/cases/types/is.js @@ -0,0 +1,316 @@ +import { + Monster, + isPrimitive, + isBoolean, + isString, + isObject, + isArray, + isInstance, + isFunction, + isIterable, + isInteger, + isSymbol +} from "../../../source/types/is.js"; + + +import * as Crypto from "@peculiar/webcrypto"; +if(!global['crypto']) { + global['crypto'] = new Crypto.Crypto(); +} + +import {ID} from "../../../source/types/id.js" + +import {expect} from "chai" + +describe('Is', function () { + + describe('.isPrimitive()', function () { + + [ + ['test1', true], + [undefined, true], + [null, true], + [() => { + }, false], + [2, true], + [parseInt("a"), true], + [false, true], + [true, true], + [4.5, true], + [{}, false], + [[1, 2, 3], false], + [Symbol("foo"), true], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('is.isPrimitive(' + typeof a + ') should return ' + b, function () { + expect(isPrimitive(a)).is.equal(b) + }); + }); + + + }); + describe('.isSymbol()', function () { + + [ + ['test1', false], + [undefined, false], + [null, false], + [() => { + }, false], + [2, false], + [parseInt("a"), false], + [false, false], + [true, false], + [4.5, false], + [{}, false], + [[1, 2, 3], false], + [Symbol("foo"), true], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('is.isSymbol(' + typeof a + ') should return ' + b, function () { + expect(isSymbol(a)).is.equal(b) + }); + }); + + + }); + + describe('.isInteger()', function () { + + [ + ['test1', false], + [undefined, false], + [null, false], + [() => { + }, false], + [2, true], + [parseInt("a"), false], + [false, false], + [true, false], + [4.5, false], + [{}, false], + [[1, 2, 3], false], + [Symbol("foo"), false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('is.isInteger(' + typeof a + ') should return ' + b, function () { + expect(isInteger(a)).is.equal(b) + }); + }); + + + }); + + describe('.isIterable()', function () { + + [ + ['test1', true], + [undefined, false], + [null, false], + [() => { + }, false], + [parseInt("a"), false], + [2, false], + [false, false], + [true, false], + [4.5, false], + [{}, false], + [[1, 2, 3], true], + [Symbol("foo"), false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('is.isIterable(' + typeof a + ') should return ' + b, function () { + expect(isIterable(a)).is.equal(b) + }); + }); + + + }); + + describe('.isBoolean()', function () { + + [ + ['test1', false], + [undefined, false], + [null, false], + [() => { + }, false], + [2, false], + [false, true], + [parseInt("a"), false], + [true, true], + [4.5, false], + [{}, false], + [[1, 2, 3], false], + [Symbol("foo"), false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('is.isBoolean(' + typeof a + ') should return ' + b, function () { + expect(isBoolean(a)).is.equal(b) + }); + }); + + + }); + + describe('.isString()', function () { + + [ + ['test1', true], + [undefined, false], + [null, false], + [() => { + }, false], + [2, false], + [false, false], + [parseInt("a"), false], + [true, false], + [4.5, false], + [{}, false], + [[1, 2, 3], false], + [Symbol("foo"), false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('is.isString(' + typeof a + ') should return ' + b, function () { + expect(isString(a)).is.equal(b) + }); + }); + + + }); + + describe('.isInstance()', function () { + + [ + [new ID(), ID, true], + [new ID(), ()=>{}, false], + ['test1', undefined, false], + [undefined, undefined, false], + [null, undefined, false], + [() => { + }, undefined, false], + [2, undefined, false], + [false, undefined, false], + [parseInt("a"), undefined, false], + [true, undefined, false], + [4.5, undefined, false], + [{}, undefined, false], + [[1, 2, 3], undefined, false], + [Symbol("foo"), undefined, false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + it('is.isInstance(' + JSON.stringify(a) + ') should return ' + typeof b, function () { + expect(isInstance(a, b)).is.equal(c) + }); + }); + }); + + + describe('.isObject()', function () { + + [ + ['test1', false], + [undefined, false], + [null, false], + [() => { + }, false], + [2, false], + [false, false], + [parseInt("a"), false], + [true, false], + [4.5, false], + [{}, true], + [[1, 2, 3], false], + [Symbol("foo"), false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('is.isObject(' + JSON.stringify(a) + ') should return ' + b, function () { + expect(isObject(a)).is.equal(b) + }); + }); + + + }); + + + describe('.isArray()', function () { + + [ + ['test1', false], + [undefined, false], + [null, false], + [() => { + }, false], + [2, false], + [false, false], + [parseInt("a"), false], + [true, false], + [4.5, false], + [{}, false], + [[1, 2, 3], true], + [Symbol("foo"), false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('is.isArray(' + typeof a + ') should return ' + b, function () { + expect(isArray(a)).is.equal(b) + }); + }); + }); + + describe('.isFunction()', function () { + + [ + ['test1', false], + [undefined, false], + [null, false], + [() => { + }, true], + [2, false], + [false, false], + [parseInt("a"), false], + [true, false], + [4.5, false], + [{}, false], + [[1, 2, 3], false], + [Symbol("foo"), false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('is.isFunction(' + typeof a + ') should return ' + b, function () { + expect(isFunction(a)).is.equal(b) + }); + }); + }); + +}); + diff --git a/development/tests/cases/types/mediatype.js b/development/tests/cases/types/mediatype.js new file mode 100644 index 0000000000000000000000000000000000000000..085c1d40e6d38b85c21b5ec4991c64e957d68683 --- /dev/null +++ b/development/tests/cases/types/mediatype.js @@ -0,0 +1,60 @@ +'use strict'; + +import {expect} from "chai" +import {MediaType, parseMediaType} from "../../../source/types/mediatype.js"; + +describe('Dataurl', function () { + + [ + ["*/*","*",'*'], + ["text/*","text",'*'], + ["*/test","*",'test'], + ["image/png", "image", "png"], + ["audio/mp3", "audio", "mp3"], + ["video/mpeg", "video", "mpeg"], + ["text/plain", "text", "plain"], + ["text/html", "text", "html"], + ["text/html;charset=US-ASCII", "text", "html"], + ["text/html;charset=\"US-ASCII\"", "text", "html"], + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + + it('parseMediaType(' + a + ')', function () { + + const d = parseMediaType(a); + + expect(d).is.instanceof(MediaType); + expect(d.toString()).to.be.equal(a); + expect(d.type).to.be.equal(b); + expect(d.subtype).to.be.equal(c); + expect(d.parameter).is.instanceof(Map) + }) + + }); + + [ + ["video/"], + ["text"], + ["/mp3"], + ["text/html;charsetUS-ASCII"], + ["text/html;charset\"US-ASCII\""], + + ].forEach(function (data) { + + let a = data.shift() + + it('' + a + ' should throw exception', function () { + + expect(()=>{parseMediaType(a)}).throw(TypeError); + + }) + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/types/node.js b/development/tests/cases/types/node.js new file mode 100644 index 0000000000000000000000000000000000000000..ed7a849146cec0f5b1988460bbd21bffa66daa49 --- /dev/null +++ b/development/tests/cases/types/node.js @@ -0,0 +1,252 @@ +'use strict'; + +import {expect} from "chai" +import {Node} from "../../../source/types/node.js"; +import {NodeList} from "../../../source/types/nodelist.js"; +import {NodeRecursiveIterator} from "../../../source/types/noderecursiveiterator.js"; + +describe('NodeList', function () { + describe('#constructor', function () { + it('should create an empty NodeList', function () { + let nodeList = new NodeList(); + + expect(nodeList.size).to.equal(0); + }); + + it('should create a NodeList from an array', function () { + let nodeList = new NodeList([ + new Node('div'), + new Node('div'), + new Node('div') + ]); + + expect(nodeList.size).to.equal(3); + }); + + it('should create a NodeList from a NodeList', function () { + let nodeList = new NodeList([ + new Node('div'), + new Node('div'), + new Node('div') + ]); + + let nodeList2 = new NodeList(nodeList); + + expect(nodeList2.size).to.equal(3); + }); + }); + + it('create NodeList', function () { + expect(new NodeList()).is.instanceof(NodeList); + }) + + it('add Node', function () { + expect(new NodeList().add(new Node())).to.be.instanceof(NodeList); + }) + + it('remove Node', function () { + expect(new NodeList().remove(new Node())).to.be.instanceof(NodeList); + }) + + it('has unknown Node', function () { + expect(new NodeList().has(new Node)).to.be.false; + }) + + it('has added Node', function () { + const n = new Node; + expect(new NodeList().add(n).has(n)).to.be.true; + }) + + it('throw exception', function () { + expect(() => new NodeList().add(1)).to.throw(Error); + }) + + it('check level', function () { + + const root = new Node('root'); + + const n1 = new Node('n1'); + const n2 = new Node('n2'); + const n3 = new Node('n3'); + const n4 = new Node('n4'); + + const n11 = new Node('n11'); + const n12 = new Node('n12'); + const n13 = new Node('n13'); + + const n21 = new Node('n21'); + const n22 = new Node('n22'); + const n23 = new Node('n23'); + + const n41 = new Node('n41'); + const n42 = new Node('n42'); + + const n411 = new Node('n411'); + const n412 = new Node('n412'); + const n413 = new Node('n413'); + + const n4121 = new Node('n4121'); + + root.appendChild(n1).appendChild(n2).appendChild(n3).appendChild(n4); + n1.appendChild(n11).appendChild(n12).appendChild(n13); + n2.appendChild(n21).appendChild(n22).appendChild(n23); + n4.appendChild(n41).appendChild(n42); + n41.appendChild(n411).appendChild(n412).appendChild(n413); + n412.appendChild(n4121); + + let iterator = new NodeRecursiveIterator(root); + + let result = []; + for (const n of iterator) { + expect(n).to.be.an.instanceof(Node); + result.push(n.value + ":" + n.level); + } + + + expect(result).to.deep.equal([ + 'root:0', + 'n1:1', + 'n11:2', + 'n12:2', + 'n13:2', + 'n2:1', + 'n21:2', + 'n22:2', + 'n23:2', + 'n3:1', + 'n4:1', + 'n41:2', + 'n411:3', + 'n412:3', + 'n4121:4', + 'n413:3', + 'n42:2' + + ]); + + n4121.appendChild(new Node('n41211')); + + iterator = new NodeRecursiveIterator(root); + result = []; + for (const n of iterator) { + expect(n).to.be.an.instanceof(Node); + result.push(n.value + ":" + n.level); + } + + expect(result).to.deep.equal([ + 'root:0', + 'n1:1', + 'n11:2', + 'n12:2', + 'n13:2', + 'n2:1', + 'n21:2', + 'n22:2', + 'n23:2', + 'n3:1', + 'n4:1', + 'n41:2', + 'n411:3', + 'n412:3', + 'n4121:4', + 'n41211:5', + 'n413:3', + 'n42:2' + + ]); + + + const bb = new Node('bb') // big bang + + bb.appendChild(root); + iterator = new NodeRecursiveIterator(bb); + + result = []; + for (const n of iterator) { + expect(n).to.be.an.instanceof(Node); + result.push(n.value + ":" + n.level); + } + + expect(result).to.deep.equal([ + 'bb:0', + 'root:1', + 'n1:2', + 'n11:3', + 'n12:3', + 'n13:3', + 'n2:2', + 'n21:3', + 'n22:3', + 'n23:3', + 'n3:2', + 'n4:2', + 'n41:3', + 'n411:4', + 'n412:4', + 'n4121:5', + 'n41211:6', + 'n413:4', + 'n42:3' + + ]); + + }) + + describe('Levels', function () { + + it('n2 should level 2', function () { + + const n0 = new Node('abc'); + + const n1 = new Node('def'); + n0.appendChild(n1) + + const n2 = new Node('ghi'); + n1.appendChild(n2); + + const n3 = new Node('jkl'); + n2.appendChild(n3); + + expect(n0.level).to.be.equal(0); + expect(n1.level).to.be.equal(1); + expect(n2.level).to.be.equal(2); + expect(n3.level).to.be.equal(3); + + }); + }); + + + describe('toString()', function () { + + it('should output empty string', function () { + const node = new Node(); + expect(node.toString()).is.equal(''); + }); + + it('should output string', function () { + const n0 = new Node('abc'); + + const n1 = new Node('def'); + n0.appendChild(n1) + + const n11 = new Node('ghi'); + n0.appendChild(n11) + + const n2 = new Node('jkl'); + n1.appendChild(n2); + + const n3 = new Node('mno'); + n1.appendChild(n3); + + const n4 = new Node('pqr'); + n2.appendChild(n4); + + expect(n2.level).to.be.equal(2) + + console.log(n0.toString()); + // expect(n0.toString()).is.equal(''); + }); + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/types/nodelist.js b/development/tests/cases/types/nodelist.js new file mode 100644 index 0000000000000000000000000000000000000000..49addffc38d23559e8428b93f99f3db44f6c6a34 --- /dev/null +++ b/development/tests/cases/types/nodelist.js @@ -0,0 +1,71 @@ +'use strict'; + +import {expect} from "chai" +import {Node} from "../../../source/types/node.js"; +import {NodeList} from "../../../source/types/nodelist.js"; + +describe('NodeList', function () { + describe('#constructor', function () { + it('should create an empty NodeList', function () { + let nodeList = new NodeList(); + + expect(nodeList.size).to.equal(0); + }); + + it('should create a NodeList from an array', function () { + let nodeList = new NodeList([ + new Node('div'), + new Node('div'), + new Node('div') + ]); + + expect(nodeList.size).to.equal(3); + }); + + it('should create a NodeList from a NodeList', function () { + let nodeList = new NodeList([ + new Node('div'), + new Node('div'), + new Node('div') + ]); + + let nodeList2 = new NodeList(nodeList); + + expect(nodeList2.size).to.equal(3); + }); + + }); + + + it('create NodeList', function () { + expect(new NodeList()).is.instanceof(NodeList); + }) + + it('add Node', function () { + expect(new NodeList().add(new Node())).to.be.instanceof(NodeList); + }) + + it('remove Node', function () { + expect(new NodeList().remove(new Node())).to.be.instanceof(NodeList); + }) + + it('has unknown Node', function () { + expect(new NodeList().has(new Node)).to.be.false; + }) + + it('has added Node', function () { + const n = new Node; + expect(new NodeList().add(n).has(n)).to.be.true; + }) + + it('toString', function () { + const n = new Node; + expect(new NodeList().add(new Node('a').appendChild(new Node('b'))).toString()).to.be.equal('a\n └b'); + }) + + it('throw exception', function () { + expect(() => new NodeList().add(1)).to.throw(Error); + }) + + +}); \ No newline at end of file diff --git a/development/tests/cases/types/noderecursiveiterator.js b/development/tests/cases/types/noderecursiveiterator.js new file mode 100644 index 0000000000000000000000000000000000000000..9c2687b27ee8899abd1a0e3f73c6cbdaf4029c7c --- /dev/null +++ b/development/tests/cases/types/noderecursiveiterator.js @@ -0,0 +1,75 @@ +'use strict'; + +import {expect} from "chai" +import {Node} from "../../../source/types/node.js"; +import {NodeList} from "../../../source/types/nodelist.js"; +import {NodeRecursiveIterator} from "../../../source/types/noderecursiveiterator.js"; + +describe('NodeRecursiveIterator', function () { + + it('should throw exeption', function () { + expect(() => new NodeRecursiveIterator()).to.throw(Error) + }); + it('should be a function', function () { + expect(NodeRecursiveIterator).to.be.a('function'); + }); + + it('should be a constructor', function () { + expect(new NodeRecursiveIterator(new Node)).to.be.an.instanceof(NodeRecursiveIterator); + }); + + /** + * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/yield + */ + it('undefined should not result in undefined node', function () { + const iterator = new NodeRecursiveIterator(new Node); + + const result = []; + for (const n of iterator) { + expect(n).to.be.an.instanceof(Node); + result.push(n.value); + } + + expect(result).to.deep.equal([undefined]); + + }); + + it('should iterate', function () { + const node = + new Node('1') + node.appendChild( + (new Node('2')).appendChild(new Node('2.1')).appendChild(new Node('2.2')).appendChild(new Node('2.3'))).appendChild(new Node('3')).appendChild(new Node('4').appendChild(new Node('4.1')).appendChild(new Node('4.2'))); + + const iterator = new NodeRecursiveIterator(node); + + const result = []; + for (const n of iterator) { + expect(n).to.be.an.instanceof(Node); + result.push(n.value); + } + + expect(result).to.deep.equal(['1', '2', '2.1', '2.2', '2.3', '3', '4', '4.1', '4.2']); + + }); + + it('should iterate nodelist', function () { + const nodeList = new NodeList(); + + nodeList.add( + (new Node('2')).appendChild(new Node('2.1')).appendChild(new Node('2.2')).appendChild(new Node('2.3')).appendChild(new Node('3')).appendChild(new Node('4').appendChild(new Node('4.1')).appendChild(new Node('4.2')))); + + nodeList.add(new Node('x')); + + const iterator = new NodeRecursiveIterator(nodeList); + + const result = []; + for (const n of iterator) { + expect(n).to.be.an.instanceof(Node); + result.push(n.value); + } + + expect(result).to.deep.equal(['2', '2.1', '2.2', '2.3', '3', '4', '4.1', '4.2', 'x']); + + }); + +}); \ No newline at end of file diff --git a/development/tests/cases/types/observer.js b/development/tests/cases/types/observer.js new file mode 100644 index 0000000000000000000000000000000000000000..b7d297692b19c9d17131ab51fc809313cc507766 --- /dev/null +++ b/development/tests/cases/types/observer.js @@ -0,0 +1,141 @@ +import {expect} from "chai" + +import {Monster, Observer} from "../../../source/types/observer.js"; + + +describe('Observer', function () { + + let callback = function () { + }; + + let observer = new Observer(callback) + + describe('.addTag()', function () { + + [ + ['test1'], + ['test2'], + ].forEach(function (data) { + + let a = data.shift() + + it('addTag(' + a + ') should return instanceof Observer', function () { + expect(observer.addTag(a)).is.instanceOf(Observer) + }); + }); + + }); + + describe('.removeTag()', function () { + + [ + ['test1'], + ['test2'], + ].forEach(function (data) { + + let a = data.shift() + + it('removeTag(' + a + ') should return instanceof Observer', function () { + expect(observer.removeTag(a)).is.instanceOf(Observer) + }); + }); + + }); + + describe('.hasTag()', function () { + + [ + ['test1', true], + ['test2', true], + ['test3', false], + ['test4', false], + ].forEach(function (data) { + + let tempObserver = new Observer(callback) + + let a = data.shift() + let b = data.shift() + + it('observer.hastTag(' + a + ') should return ' + b, function () { + + if (b === true) { + tempObserver.addTag(a) + expect(tempObserver.hasTag(a)).is.be.true + } else { + expect(tempObserver.hasTag(a)).is.be.false + } + }); + }); + + }); + + describe('.update()', function () { + + let obj = {} + it('observer.update(' + obj + ') is ' + 1 + 3 + 6, function (done) { + + let tempObserver = new Observer(function (a, b, c) { + return a + b + c + }, 1, 3, 6) + + + tempObserver.update(obj).then(a => { + expect(a).is.equal(1 + 3 + 6) + done(); + }); + }); + + }); + + describe('run function .update() several times', function () { + + let obj = {} + it('observer.update(' + obj + ') is ' + 1 + 3 + 6, function (done) { + + let counter = 0; + let tempObserver = new Observer(function (a, b, c) { + counter++; + }) + + tempObserver.update(obj); + tempObserver.update(obj); + tempObserver.update(obj); + tempObserver.update(obj); + tempObserver.update(obj).then(_ => { + done() + }); + + }); + + }); + + describe('.getTags()', function () { + + [ + [['test1', 'test2', 'test3', 'test4'], 4], + [['test1', 'test1', 'test3', 'test4'], 3], // double test1 (set is uniqueue) + [['test1', 'test1', 'test1', 'test4'], 2], // multiple test1 (set is uniqueue) + ].forEach(function (data) { + + let tempObserver = new Observer(callback) + + let a = data.shift() + let b = data.shift() + + for (let i = 0, max = a.length; i < max; i++) { + tempObserver.addTag(a[i]); + } + + it('observer.getTags(' + a + ') is array', function () { + expect(tempObserver.getTags()).to.be.an('array') + }); + + it('observer.getTags(' + a + ') should return ' + b + " tags", function () { + expect(tempObserver.getTags().length).is.equal(b); + }); + }); + + }); + +}); + diff --git a/development/tests/cases/types/observerlist.js b/development/tests/cases/types/observerlist.js new file mode 100644 index 0000000000000000000000000000000000000000..7e81875d5bfcc12e2db6530671c626b72d58ea73 --- /dev/null +++ b/development/tests/cases/types/observerlist.js @@ -0,0 +1,107 @@ +import {Monster, ObserverList} from "../../../source/types/observerlist.js"; +import {Observer} from "../../../source/types/observer.js"; +import {expect} from "chai" + +describe('ObserverList', function () { + + describe('.attach()', function () { + + it('should return instanceof ObserverList', function () { + let observerList = new ObserverList() + let result = observerList.attach(new Observer(() => { + })) + expect(result).to.be.instanceOf(ObserverList) + }); + + + }); + + describe('.detach()', function () { + + it('should return instanceof ObserverList', function () { + let observerList = new ObserverList() + let result = observerList.detach(new Observer(() => { + })) + expect(result).to.be.instanceOf(ObserverList) + }); + + + }); + + describe('.notify()', function () { + + const resultValue = "Yes!"; + let o; + let observerList; + + beforeEach(() => { + o = new Observer(() => { + return resultValue + }); + + observerList = new ObserverList() + observerList.attach(o) + + }); + + it('should instanceof Promise', function () { + expect(observerList.notify({})).to.be.instanceOf(Promise) + }); + + it('should return ' + resultValue, function (done) { + + let obj = {} + + observerList.notify(obj).then(r => { + expect(r).to.be.an('array').that.includes(resultValue); + done(); + }).catch(e => { + done(new Error(e)); + }); + }); + + + }); + + describe('.contains()', function () { + + let o1 = new Observer(() => { + }); + let o2 = new Observer(() => { + }); + + it('should not contain o1 and o2', function () { + let observerList = new ObserverList() + + expect(observerList.contains(o1)).to.be.false; + expect(observerList.contains(o2)).to.be.false; + }); + + it('should contain o2 and not o1', function () { + let observerList = new ObserverList() + observerList.attach(o2) + expect(observerList.contains(o1)).to.be.false; + expect(observerList.contains(o2)).to.be.true; + }); + + it('should contain o1 and not o2', function () { + let observerList = new ObserverList() + observerList.attach(o1) + expect(observerList.contains(o1)).to.be.true; + expect(observerList.contains(o2)).to.be.false; + }); + + + it('should contain o2 and o1', function () { + let observerList = new ObserverList() + observerList.attach(o2).attach(o1) + expect(observerList.contains(o1)).to.be.true; + expect(observerList.contains(o2)).to.be.true; + }); + + + }); + + +}); + diff --git a/development/tests/cases/types/proxyobserver.js b/development/tests/cases/types/proxyobserver.js new file mode 100644 index 0000000000000000000000000000000000000000..c041e1333d934da1d223f6e6e750599a9a42c4d8 --- /dev/null +++ b/development/tests/cases/types/proxyobserver.js @@ -0,0 +1,220 @@ +import {expect} from "chai" +import {extend} from "../../../source/data/extend.js"; +import {isObject} from "../../../source/types/is.js"; +import {Observer} from "../../../source/types/observer.js"; + +import {ProxyObserver} from "../../../source/types/proxyobserver.js"; + +describe('ProxyObserver', function () { + + describe('create', function () { + it('should return instanceof ProxyObserver', function () { + let o = new ProxyObserver({}); + extend(o.getSubject(), {a: 4}); + expect(o.getRealSubject()).is.eql({a: 4}); + }); + }); + + describe('setSubject', function () { + it('should run observer', function (done) { + let o = new ProxyObserver({a: 1}); + expect(o.getRealSubject()).is.eql({a: 1}); + let counter = 0; + o.attachObserver(new Observer(function () { + if (isObject(this) && this instanceof ProxyObserver) { + counter++; + // only one change as notify runs later + if (counter === 1) { + done(); + return; + } + done("called for error"); + return; + } + + done(new Error("this is not ProxyObserver")) + })) + + o.getSubject().c = 4; + expect(o.getRealSubject()).is.eql({a: 1, c: 4}); + + o.setSubject({b: 2}); + expect(o.getRealSubject()).is.eql({b: 2}); + + o.getSubject().d = 5; + expect(o.getRealSubject()).is.eql({b: 2, d: 5}); + + + }); + }); + + describe('create', function () { + it('should return instanceof ProxyObserver', function () { + let o = new ProxyObserver({}); + expect(o).is.instanceOf(ProxyObserver); + }); + }); + + describe('proxy objects', function () { + it('Proxy objects should not be recommitted', function () { + let o = new ProxyObserver({a: {b: true}}); + o.getSubject().a.b = o.getSubject(); + o.getSubject().a.b.a.b = false; + //expect(o.getSubject()===p.getSubject()).to.be.true; + }); + }); + + describe('notify observer', function () { + it('should inform observer', function (done) { + let counter = 0; + // the method is called twice, once for defineProperty and for set trap + let o = new Observer(function (a) { + if (isObject(this) && this instanceof ProxyObserver) { + counter++; + if (counter === 1) { + done(); + } + return; + } + + done(new Error("this is not ProxyObserver")) + }, true) + + let realSubject = { + a: { + b: { + c: true + }, + d: 5 + } + } + + let p = new ProxyObserver(realSubject); + expect(p).is.instanceOf(ProxyObserver); + expect(p.attachObserver(o)).is.instanceOf(ProxyObserver); + + let s = p.getSubject(); + let r = p.getRealSubject(); + + s.a.d = false; + s.a.b.d = 2; + + }); + }); + + /** + * @see https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/43 + */ + describe('Reflect', function () { + + it('check Reflect.set() with Subject', function () { + let r; + + const obj = (new ProxyObserver({})).getSubject(); + + [ + "yes!", + undefined, + "no" + ].forEach(function (value) { + expect(() => { + obj['data'] = value + }).to.not.throw(); + //r = Reflect.set(obj, 'data', value) + //expect(r).to.be.true; + }) + + + }); + + + [ + ['that', {that: 'checked1'}], + ['that', new Proxy({that: 'checked2'}, {})], + ['that', (new ProxyObserver({that: 'checked3'})).getRealSubject()], + ['that', (new ProxyObserver({that: 'checked4'})).getSubject()] + ].forEach(function (data) { + + let key = data.shift() + let target = data.shift() + + it('check Reflect.set(' + key + ',' + JSON.stringify(target) + ') should writable', function () { + let value; + + [ + "1", + undefined, + true, + undefined, + false, + undefined, + undefined + ].forEach(function (values) { + expect(Reflect.getOwnPropertyDescriptor( + target, key)['writable'], 'writable for ' + value + ' should return true').to.be.true; + + expect(Reflect.set(target, key, value), 'set for ' + value + ' should return true').to.be.true; + + expect(Reflect.getOwnPropertyDescriptor( + target, key)['writable'], 'writable for ' + value + ' should return true').to.be.true; + + }); + }) + }) + + + }); + + describe('notify observer with changes', function () { + + let original, observer, proxy; + + before(function () { + original = {}; + proxy = new ProxyObserver(original); + + }); + + [ + ['a', 4, JSON.stringify({a: 4})], + ['b', 9, JSON.stringify({a: 4, b: 9})] + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + it('set key ' + a + ' value ' + b + ' expect ' + c, function (done) { + + let counter = 0; + observer = new Observer(function () { + counter++; + expect(JSON.stringify(this.getRealSubject())).is.equal(c); + if (counter === 1) { + this.detachObserver(observer); + done(); + } + }) + + proxy.attachObserver(observer) + let subject = proxy.getSubject() + + subject[a] = b; + + }); + }); + }) + + describe('notify observer ', function () { + + it('should return promise', function () { + let proxy = new ProxyObserver({}); + let observer = new Observer(function () { + }) + proxy.attachObserver(observer) + expect(proxy.notifyObservers()).is.instanceOf(Promise); + }); + }); + +}) + diff --git a/development/tests/cases/types/queue.js b/development/tests/cases/types/queue.js new file mode 100644 index 0000000000000000000000000000000000000000..1825e6c0511b7d06dd713d5aa2b5c644a33b9b7b --- /dev/null +++ b/development/tests/cases/types/queue.js @@ -0,0 +1,45 @@ +import {expect} from "chai" +import {Queue} from "../../../source/types/queue.js"; + +describe('Queue', function () { + let queue; + beforeEach(() => { + queue = new Queue; + }) + + describe('isEmpty()', function () { + + it('first it should empty', function () { + expect(queue.isEmpty()).to.be.true; + }); + + }) + + describe('add sequence peek and poll', function () { + + it('result a,a,a,b', function () { + expect(queue.add('a')).to.be.instanceOf(Queue); + expect(queue.isEmpty()).to.be.false; + expect(queue.add('b')).to.be.instanceOf(Queue); + expect(queue.add('c')).to.be.instanceOf(Queue); + expect(queue.peek()).to.be.equal('a'); + expect(queue.peek()).to.be.equal('a'); + expect(queue.poll()).to.be.equal('a'); + expect(queue.peek()).to.be.equal('b'); + expect(queue.isEmpty()).to.be.false; + }); + + }) + + describe('add and clear', function () { + + it('should empty', function () { + expect(queue.isEmpty()).to.be.true; + expect(queue.add('a')).to.be.instanceOf(Queue); + expect(queue.isEmpty()).to.be.false; + expect(queue.clear()).to.be.instanceOf(Queue); + expect(queue.isEmpty()).to.be.true; + }); + + }) +}) \ No newline at end of file diff --git a/development/tests/cases/types/randomid.js b/development/tests/cases/types/randomid.js new file mode 100644 index 0000000000000000000000000000000000000000..e0c29d7e251786de27bb1a7c3b90cd0b478877df --- /dev/null +++ b/development/tests/cases/types/randomid.js @@ -0,0 +1,24 @@ +import {Monster, RandomID} from "../../../source/types/randomid.js"; +import {expect} from "chai" + +import * as Crypto from "@peculiar/webcrypto"; + +if (!global['crypto']) { + global['crypto'] = new Crypto.Crypto(); +} + + +describe('RandomID', function () { + + describe('.toString()', function () { + let id = new RandomID() + let result = id.toString(); + + it('should return a string', function () { + expect(result).is.a('string') + }); + + }); + +}); + diff --git a/development/tests/cases/types/regex.js b/development/tests/cases/types/regex.js new file mode 100644 index 0000000000000000000000000000000000000000..24782e2d0dbcd679274a54f7b87c1dc0b9a86a7b --- /dev/null +++ b/development/tests/cases/types/regex.js @@ -0,0 +1,32 @@ +import * as Crypto from "@peculiar/webcrypto"; + +import {expect} from "chai" +import {escapeString} from "../../../source/types/regex.js" + +if (!global['crypto']) { + global['crypto'] = new Crypto.Crypto(); +} + +describe('escapeString', function () { + + + [ + ['test1', 'test1'], + ['${', '\\$\\{'], + ['i18n{', 'i18n\\{'], + ['//', '//'], + ['\\', '\\\\'], + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('escapeString(' + a + ') should return ' + b, function () { + expect(escapeString(a)).is.equal(b) + }); + }); + + +}); + diff --git a/development/tests/cases/types/stack.js b/development/tests/cases/types/stack.js new file mode 100644 index 0000000000000000000000000000000000000000..85eddf7eeec10f769481ab0e41b7f28a7f81113f --- /dev/null +++ b/development/tests/cases/types/stack.js @@ -0,0 +1,46 @@ +import {expect} from "chai" +import {Stack} from "../../../source/types/stack.js"; + + +describe('Stack', function () { + let stack; + beforeEach(() => { + stack = new Stack; + }) + + describe('isEmpty()', function () { + + it('first it should empty', function () { + expect(stack.isEmpty()).to.be.true; + }); + + }) + + describe('add sequence peek and pull', function () { + + it('result a,a,a,b', function () { + expect(stack.push('a')).to.be.instanceOf(Stack); + expect(stack.isEmpty()).to.be.false; + expect(stack.push('b')).to.be.instanceOf(Stack); + expect(stack.push('c')).to.be.instanceOf(Stack); + expect(stack.peek()).to.be.equal('c'); + expect(stack.peek()).to.be.equal('c'); + expect(stack.pop()).to.be.equal('c'); + expect(stack.peek()).to.be.equal('b'); + expect(stack.isEmpty()).to.be.false; + }); + + }) + + describe('add and clear', function () { + + it('should empty', function () { + expect(stack.isEmpty()).to.be.true; + expect(stack.push('a')).to.be.instanceOf(Stack); + expect(stack.isEmpty()).to.be.false; + expect(stack.clear()).to.be.instanceOf(Stack); + expect(stack.isEmpty()).to.be.true; + }); + + }) +}) \ No newline at end of file diff --git a/development/tests/cases/types/tokenlist.js b/development/tests/cases/types/tokenlist.js new file mode 100644 index 0000000000000000000000000000000000000000..640f50399be659eac0281d4bb0ce5daac5084c0f --- /dev/null +++ b/development/tests/cases/types/tokenlist.js @@ -0,0 +1,261 @@ +import {expect} from "chai" +import {Monster, TokenList} from "../../../source/types/tokenlist.js"; + + +describe('TokenList', function () { + + describe('.toString()', function () { + let tokenList = new TokenList() + let result = tokenList.toString(); + + it('should return a string', function () { + expect(result).to.be.a('string'); + }); + + it('set and remove return a string', function () { + expect(result).to.be.a('string'); + }); + + + }); + + + describe('init with string iterable', function () { + + it('new TokenList(' + typeof a + ') throw TypeError ', function () { + + let tokens = ["abc", "def", "ghi"] + let list = new TokenList(tokens); + expect(list.toString()).is.equal("abc def ghi"); + }); + + }); + + describe('init with iterable without string values', function () { + + it('new TokenList(' + typeof a + ') throw TypeError ', function () { + let tokens = ["abc", 4, "ghi"] + expect(() => new TokenList(tokens)).to.throw(TypeError); + }); + + }); + + describe('init values', function () { + + [ + // current, expected, typerror + ['test1', "test1", false], + ['test1 test2', "test1 test2", false], + [undefined, "", false], + [null, undefined, true], + [parseInt("a"), undefined, true], // NaN + [() => { + }, undefined, true], + [2, undefined, true], + [false, undefined, true], + [true, undefined, true], + [4.5, undefined, true], + [{}, undefined, true], + [["1", "2", "3"], '1 2 3', false], // iterable strings + [[1, 2, 3], undefined, true], + [Symbol("foo"), false, true], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + if (c === true) { + it('new TokenList(' + typeof a + ') throw TypeError ', function () { + expect(() => new TokenList(a)).to.throw(TypeError); + }); + } else { + it('new TokenList(' + typeof a + ') should return ' + b, function () { + expect(new TokenList(a).toString()).is.equal(b) + }); + + } + + }); + + }); + + describe('iterator protocol', function () { + + let list; + it('.add(' + "second" + ') should return TokenList', function () { + list = new TokenList("start"); + expect(list.getIterator()).to.be.an('object'); + }); + + it('.add(' + "second" + ') should return TokenList', function () { + list = new TokenList("start end"); + expect([...list]).to.be.an('array'); + expect([...list]).to.be.an('array').to.include('start').to.include('end'); + }); + + + }); + + describe('.entries()', function () { + + let list; + it('.entries() should return Array', function () { + list = new TokenList("start"); + expect(list.entries()).to.be.an('array'); + }); + + it('.entries() should return Array', function () { + list = new TokenList("start end").entries(); + expect(list).to.be.an('array').to.include('start').to.include('end'); + }); + + + }); + + describe('.forEach()', function () { + + let list; + it('.forEach() should iterate over tokenlist', function () { + list = new TokenList("aaa bbb ccc ddd eee fff"); + + let result = "" + list.forEach((a) => { + result += "!" + a + "!"; + expect(a).to.be.an('string'); + }); + expect(result).is.equal("!aaa!!bbb!!ccc!!ddd!!eee!!fff!") + }); + + it('.entries() should return Array', function () { + list = new TokenList("start end").entries(); + expect(list).to.be.an('array').to.include('start').to.include('end'); + }); + + + }); + + describe('contains values', function () { + let list + it('new TokenList(start, middle end) should contain middle', function () { + list = new TokenList("start middle end"); + expect(list.contains('start')).to.be.true; + expect(list.contains('middle')).to.be.true; + expect(list.contains('end')).to.be.true; + expect(list.contains(['end', 'start', 'middle'])).to.be.true; + }); + + it('new TokenList(start, middle end) should not contain xyz', function () { + list = new TokenList("start middle end"); + expect(list.contains('xyz')).to.be.false; + expect(list.contains(['end', 'start', 'middle', 'xyz'])).to.be.false; + }); + + it('new TokenList(start, middle end) should not contain undefined null NaN', function () { + list = new TokenList("start middle end"); + expect(list.contains(undefined)).to.be.false; + expect(list.contains(parseInt("a"))).to.be.false; // NaN + expect(list.contains(null)).to.be.false; // NaN + }); + }) + + describe('toggle values', function () { + let list + it('new TokenList(start middle end).toggle(new-value) should contain new-value', function () { + list = new TokenList("start middle end"); + expect(list.toggle('new-value').toString()).is.equal("start middle end new-value"); + }); + + it('new TokenList(start middle end).toggle(middle) should not contain middle', function () { + list = new TokenList("start middle end"); + expect(list.toggle('middle').toString()).is.equal("start end"); + }); + + it('new TokenList().toggle() should ...', function () { + expect(new TokenList("abc def ghi").toggle("def xyz").toString()).to.equal("abc ghi xyz"); + }); + + it('new TokenList().toggle() should ...', function () { + expect(new TokenList("abc def ghi").toggle(["abc", "xyz"]).toString()).to.equal("def ghi xyz"); + }); + + it('new TokenList().toggle() should ...', function () { + expect(new TokenList("abc def ghi").toggle(undefined).toString()).to.equal("abc def ghi"); + }); + + }) + + describe('manipulate values', function () { + + let list + + it('result TokenList("' + "start" + '") should be "' + "start" + '"', function () { + list = new TokenList("start"); + expect(list.toString()).is.equal("start") + }); + + it('.add(' + "second" + ') should return TokenList', function () { + list = new TokenList("start"); + expect(list.add("second")).to.be.an.instanceof(TokenList); + }); + + it('.add(' + "second" + ').toString() should return "start second" ', function () { + list = new TokenList("start"); + expect(list.add("second").toString()).is.equal("start second"); + }); + + it('.add(' + "second third" + ').toString() should return "start second third" ', function () { + list = new TokenList("start"); + expect(list.add("second third").toString()).is.equal("start second third"); + }); + + it('.add(' + "[second,third]" + ').toString() should return "start second third" ', function () { + list = new TokenList("start"); + expect(list.add(["second", "third"]).toString()).is.equal("start second third"); + }); + + + it('.clear().toString() should "" ', function () { + list = new TokenList("start"); + expect(list.add(["second", "third"]).clear().toString()).is.equal(""); + }); + + + it('new TokenList("start second third end").remove(' + "second" + ') should return TokenList', function () { + list = new TokenList("start second third end"); + expect(list.remove("second")).to.be.an.instanceof(TokenList); + }); + + it('new TokenList("start second third end").remove(' + "second" + ').toString() should return "start third end" ', function () { + list = new TokenList("start second third end"); + expect(list.remove("second").toString()).is.equal("start third end"); + }); + + it('new TokenList("start second third end").remove(' + "second third" + ').toString() should return "start end" ', function () { + list = new TokenList("start second third end"); + expect(list.remove("second third").toString()).is.equal("start end"); + }); + + it('new TokenList("start second third end").remove(' + "[second,third]" + ').toString() should return "start end" ', function () { + list = new TokenList("start second third end"); + expect(list.remove(["second", "third"]).toString()).is.equal("start end"); + }); + + it('new TokenList("start second third end").replace(second, xyz).toString() should return "start xyz third end" ', function () { + list = new TokenList("start second third end"); + expect(list.replace("second", "xyz")).to.be.instanceOf(TokenList); + expect(list.toString()).is.equal("start xyz third end"); + }); + + it('new TokenList("start second third end").replace(end, xyz).toString() should return "start second third xyz" ', function () { + list = new TokenList("start second third end"); + expect(list.replace("end", "xyz")).to.be.instanceOf(TokenList); + expect(list.toString()).is.equal("start second third xyz"); + }); + + + }); + + +}); + diff --git a/development/tests/cases/types/typeof.js b/development/tests/cases/types/typeof.js new file mode 100644 index 0000000000000000000000000000000000000000..4beab0af1cc8a8e6940cfe78b8b7a9072bc34077 --- /dev/null +++ b/development/tests/cases/types/typeof.js @@ -0,0 +1,48 @@ +import {Stack} from "../../../source/types/stack.js"; +import { + Monster, + typeOf +} from "../../../source/types/typeof.js" + +import {expect} from "chai" + +describe('typeOf', function () { + + describe('.typeOf()', function () { + + [ + [true, 'boolean'], + [null, 'null'], + [undefined, 'undefined'], + [Promise.resolve(), 'promise'], + [new WeakMap(), 'weakmap'], + [new Map(), 'map'], + [NaN, 'number'], + [function* () { + }, 'generatorfunction'], + [5, 'number'], + [function () { + }, 'function'], + [/a/, 'regexp'], + [new Date(), 'date'], + [{}, 'object'], + [[], 'array'], + ['', 'string'], + [new Error, 'error'], + [new Stack(), 'stack'] + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('should return ' + b + ' when the value ' + typeOf(a), function () { + expect(typeOf(a)).to.be.equal(b); + }); + }); + + }); + + +}); + diff --git a/development/tests/cases/types/uniquequeue.js b/development/tests/cases/types/uniquequeue.js new file mode 100644 index 0000000000000000000000000000000000000000..b1a6b9a32b351bc9d4e9b8e56a3af6184e969bc5 --- /dev/null +++ b/development/tests/cases/types/uniquequeue.js @@ -0,0 +1,61 @@ +import {expect} from "chai" +import {Monster, UniqueQueue} from "../../../source/types/uniquequeue.js"; + + +describe('UniqueQueue', function () { + let queue; + beforeEach(() => { + queue = new UniqueQueue; + }) + + describe('isEmpty()', function () { + + it('first it should empty', function () { + expect(queue.isEmpty()).to.be.true; + }); + + }) + + describe('add sequence peek and poll', function () { + + it('result a,a,a,b', function () { + expect(queue.add({a: 1})).to.be.instanceOf(UniqueQueue); + expect(queue.isEmpty()).to.be.false; + expect(queue.add({a: 2})).to.be.instanceOf(UniqueQueue); + expect(queue.add({a: 3})).to.be.instanceOf(UniqueQueue); + expect(queue.peek()).to.deep.equal({a:1}); + expect(queue.peek()).to.deep.equal({a:1}); + expect(queue.poll()).to.deep.equal({a:1}); + expect(queue.poll()).to.deep.equal({a:2}); + expect(queue.isEmpty()).to.be.false; + expect(queue.peek()).to.deep.equal({a:3}); + expect(queue.poll()).to.deep.equal({a:3}); + expect(queue.isEmpty()).to.be.true; + }); + + }) + + describe('add and clear', function () { + + it('should empty', function () { + expect(queue.isEmpty()).to.be.true; + expect(queue.add({a: 1})).to.be.instanceOf(UniqueQueue); + expect(queue.isEmpty()).to.be.false; + expect(queue.clear()).to.be.instanceOf(UniqueQueue); + expect(queue.isEmpty()).to.be.true; + }); + + }) + + describe('add no object', function () { + it('should throw error', function () { + expect(()=>{queue.add([])}).to.throw(TypeError) + expect(()=>{queue.add(1)}).to.throw(TypeError) + expect(()=>{queue.add(true)}).to.throw(TypeError) + expect(()=>{queue.add()}).to.throw(TypeError) + expect(()=>{queue.add(Symbol("1"))}).to.throw(TypeError) + expect(()=>{queue.add(function(){})}).to.throw(TypeError) + }); + + }) +}) \ No newline at end of file diff --git a/development/tests/cases/types/uuid.js b/development/tests/cases/types/uuid.js new file mode 100644 index 0000000000000000000000000000000000000000..4c795257c55292047a1d2ce960d1522142074194 --- /dev/null +++ b/development/tests/cases/types/uuid.js @@ -0,0 +1,42 @@ +import * as Crypto from "@peculiar/webcrypto"; +import {expect} from "chai" +import {UUID} from "../../../source/types/uuid.js"; + +if (!global['crypto']) { + global['crypto'] = new Crypto.Crypto(); +} + + +describe('UUID', function () { + + describe('.toString()', function () { + let uuid = new UUID() + let result = uuid.toString(); + + it('should return a string', function () { + expect(result).is.a('string') + expect(result.length).is.equal(36) + }); + + it('test format', function (done) { + + const regexExp = /^[A-F\d]{8}-[A-F\d]{4}-4[A-F\d]{3}-[89AB][A-F\d]{3}-[A-F\d]{12}$/i; + + for (let i = 0; i < 2000; i++) { + const u = new UUID().toString(); + const r = regexExp.test(u); + + if (r !== true) { + done('no uuid ' + u + ' => ' + r); + return; + } + } + + done(); + + }); + + }); + +}); + diff --git a/development/tests/cases/types/validate.js b/development/tests/cases/types/validate.js new file mode 100644 index 0000000000000000000000000000000000000000..74c91c1b55eba17dde4bc8ac7f3d84940a8c1dcc --- /dev/null +++ b/development/tests/cases/types/validate.js @@ -0,0 +1,425 @@ +import { + Monster, + validatePrimitive, + validateBoolean, + validateString, + validateObject, + validateArray, + validateFunction, + validateInteger, + validateInstance, + validateIterable, + validateSymbol +} from "../../../source/types/validate.js" + +import {Base} from "../../../source/types/base.js" +import {ID} from "../../../source/types/id.js" + +import {expect} from "chai" + +describe('validate', function () { + + describe('.validatePrimitive()', function () { + + [ + ['test1', true], + [undefined, true], + [null, true], + [() => { + }, false], + [2, true], + [false, true], + [true, true], + [4.5, true], + [{}, false], + [[1, 2, 3], false], + [Symbol("foo"), true], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + if (b === false) { + + it('.validatePrimitive(' + typeof a + ') should throw TypeException ' + b, function () { + expect(() => validatePrimitive(a)).to.throw(TypeError); + }); + + } else { + it('.validatePrimitive(' + typeof a + ') should not throw TypeException ' + b, function () { + expect(validatePrimitive(a)).to.be.equal(a); + }); + } + + }); + + + }); + + describe('.validateInteger()', function () { + + [ + ['test1', false], + [undefined, false], + [null, false], + [() => { + }, false], + [2, true], + [false, false], + [true, false], + [4.5, false], + [{}, false], + [[1, 2, 3], false], + [Symbol("foo"), false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + if (b === false) { + + it('.validateInteger(' + typeof a + ') should throw TypeException ' + b, function () { + expect(() => validateInteger(a)).to.throw(TypeError); + }); + + } else { + it('.validateInteger(' + typeof a + ') should not throw TypeException ' + b, function () { + expect(validateInteger(a)).to.be.equal(a); + }); + } + + }); + + + }); + + describe('.validateSymbol()', function () { + + [ + ['test1', false], + [undefined, false], + [null, false], + [() => { + }, false], + [2, false], + [false, false], + [true, false], + [4.5, false], + [{}, false], + [[1, 2, 3], false], + [Symbol("foo"), true], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + if (b === false) { + + it('.validateSymbol(' + typeof a + ') should throw TypeException ' + b, function () { + expect(() => validateSymbol(a)).to.throw(TypeError); + }); + + } else { + it('.validateSymbol(' + typeof a + ') should not throw TypeException ' + b, function () { + expect(validateSymbol(a)).to.be.equal(a); + }); + } + + }); + + + }); + + describe('.validateIterable()', function () { + + [ + ['test1', true], + [undefined, false], + [null, false], + [() => { + }, false], + [2, false], + [false, false], + [true, false], + [4.5, false], + [{}, false], + [[1, 2, 3], true], + [Symbol("foo"), false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + if (b === false) { + + it('.validateIterable(' + typeof a + ') should throw TypeException ' + b, function () { + expect(() => { + validateIterable(a) + }).to.throw(TypeError); + ; + }); + + } else { + it('.validateIterable(' + typeof a + ') should not throw TypeException ' + b, function () { + expect(validateIterable(a)).to.be.equal(a); + }); + } + + }); + + + }); + + describe('.validateBoolean()', function () { + + [ + ['test1', false], + [undefined, false], + [null, false], + [() => { + }, false], + [2, false], + [false, true], + [true, true], + [4.5, false], + [{}, false], + [[1, 2, 3], false], + [Symbol("foo"), false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + if (b === false) { + + it('.validateBoolean(' + typeof a + ') should throw TypeException ' + b, function () { + expect(() => { + validateBoolean(a) + }).to.throw(TypeError); + }); + + } else { + it('.validateBoolean(' + typeof a + ') should not throw TypeException ' + b, function () { + expect(validateBoolean(a)).to.be.equal(a); + }); + } + + + }); + + + }); + + describe('.validateString()', function () { + + [ + ['test1', true], + [undefined, false], + [null, false], + [() => { + }, false], + [2, false], + [false, false], + [true, false], + [4.5, false], + [{}, false], + [[1, 2, 3], false], + [Symbol("foo"), false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + if (b === false) { + + it('.validateString(' + typeof a + ') should throw TypeException ' + b, function () { + expect(() => { + validateString(a) + }).to.throw(TypeError); + ; + }); + + } else { + it('.validateString(' + typeof a + ') should not throw TypeException ' + b, function () { + expect(validateString(a)).to.be.equal(a); + }); + } + + }); + + + }); + + describe('.validateObject()', function () { + + [ + ['test1', false], + [undefined, false], + [null, false], + [() => { + }, false], + [2, false], + [false, false], + [true, false], + [4.5, false], + [{}, true], + [[1, 2, 3], false], + [Symbol("foo"), false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + if (b === false) { + + it('.validateObject(' + typeof a + ') should throw TypeException ' + b, function () { + expect(() => { + validateObject(a) + }).to.throw(TypeError); + ; + }); + + } else { + it('.validateObject(' + typeof a + ') should not throw TypeException ' + b, function () { + expect(validateObject(a)).to.be.equal(a); + }); + } + + }); + + + }); + + describe('.validateInstance()', function () { + + [ + ['test1', Object], + [undefined, Object], + [null, Object], + [() => { + }, Object], + [2, Object], + [false, Object], + [true, Object], + [4.5, Object], + [{}, Base], + [[1, 2, 3], Object], + [Symbol("foo"), Object], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + + it('.validateInstance(' + typeof a + ') should throw TypeException ' , function () { + expect(() => { + validateInstance(a, b) + }).to.throw(TypeError); + ; + }); + + }); + + + }); + + describe('.validateInstance()', function () { + + [ + [{}, Object, true], + [new Base, Base, true], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('.validateInstance(' + typeof a + ') should not throw TypeException ' , function () { + expect(validateInstance(a, b)).to.be.equal(a); + }); + + }); + + + }); + + + describe('.validateArray()', function () { + + [ + ['test1', false], + [undefined, false], + [null, false], + [() => { + }, false], + [2, false], + [false, false], + [true, false], + [4.5, false], + [{}, false], + [[1, 2, 3], true], + [Symbol("foo"), false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + if (b === false) { + + it('.validateArray(' + typeof a + ') should throw TypeException ' + b, function () { + expect(() => { + validateArray(a) + }).to.throw(TypeError); + ; + }); + + } else { + it('.validateArray(' + typeof a + ') should not throw TypeException ' + b, function () { + expect(validateArray(a)).to.be.equal(a); + }); + } + + + }); + }); + + describe('.validateFunction()', function () { + + [ + ['test1', false], + [undefined, false], + [null, false], + [() => { + }, true], + [2, false], + [false, false], + [true, false], + [4.5, false], + [{}, false], + [[1, 2, 3], false], + [Symbol("foo"), false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + if (b === false) { + + it('.validateFunction(' + typeof a + ') should throw TypeException ' + b, function () { + expect(() => { + validateFunction(a) + }).to.throw(TypeError); + ; + }); + + } else { + it('.validateFunction(' + typeof a + ') should not throw TypeException ' + b, function () { + expect(validateFunction(a)).to.be.equal(a); + }); + } + + + }); + }); + +}); + diff --git a/development/tests/cases/types/version.js b/development/tests/cases/types/version.js new file mode 100644 index 0000000000000000000000000000000000000000..0cec14d7f2139c05060fd3ab655d10b963586935 --- /dev/null +++ b/development/tests/cases/types/version.js @@ -0,0 +1,49 @@ +import { + Monster, + Version +} from "../../../source/types/version.js" + +import {expect} from "chai" + +describe('Version', function () { + + describe('.compareTo()', function () { + + [ + ['1.2.3', '1.2.3', 0], + ['1.2.2', '1.2.3', -1], + ['2', '2.0.0', 0], + ['1.2.4', '1.2.3', 1] + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + it('should return ' + c + ' when the value ' + a + ' is ' + b + '', function () { + expect(new Version(a).compareTo(b)).to.be.equal(c); + }); + }); + + }); + + describe('.toString()', function () { + + [ + ['1.1.1', '2.3', 3, '1.2.3'], + ['1.2.4', '1.2.3', 5, '1.1.5'] + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + let d = data.shift() + + it('should return ' + d, function () { + expect(new Version(a, b, c).toString()).to.be.equal(d); + }); + }); + }) + +}); + diff --git a/development/tests/cases/util/clone.js b/development/tests/cases/util/clone.js new file mode 100644 index 0000000000000000000000000000000000000000..2c5f23bfd6ef998e019f2f5cfdc67cbd098fa148 --- /dev/null +++ b/development/tests/cases/util/clone.js @@ -0,0 +1,155 @@ +import {clone} from "../../../source/util/clone.js"; +import {expect} from "chai" + +describe('Clone', function () { + + class A { + constructor(b) { + this.b = b + } + + a() { + + } + } + + class B { + constructor(b) { + this.b = b + } + + a() { + + } + + getClone() { + return "DONE" + } + + } + + describe('.clone(B) with getClone', function () { + it('.clone(B) should object', function () { + let b = new B({ + x: { + y: 1, d: new A(1), z: () => { + } + } + }); + let r = clone(b); + expect(b).to.be.instanceOf(B) + expect(r).not.equal(b); + expect(JSON.stringify(r)).equal(JSON.stringify('DONE')); + + }); + }) + + describe('.clone(A)', function () { + it('.clone(A) should object', function () { + let a = new A({ + x: { + y: 1, d: new A(1), z: () => { + } + } + }); + let b = clone(a); + expect(a).to.be.instanceOf(A) + expect(b).to.be.instanceOf(A) + expect(b).not.equal(a); + expect(JSON.stringify(a)).equal(JSON.stringify(b)); + + }); + }) + + // nodejs does not have a DOM + if (typeof DocumentFragment === "object") { + describe('.clone(DocumentFragment)', function () { + it('.clone(DocumentFragment) should same DocumentFragment', function () { + let a = document.createDocumentFragment(); + let b = clone(a); + expect(b).equal(a); + }); + }) + } + + describe('.clone(null)', function () { + // typeof null results in 'object'. https://2ality.com/2013/10/typeof-null.html + it('.clone(null) should null', function () { + let a = null + let b = clone(a); + expect(b).equal(a); + expect(b).to.be.null; + expect(a).to.be.null; + }); + }) + + describe('.clone(undefined)', function () { + it('.clone(undefined) should undefined', function () { + let a = undefined + let b = clone(a); + expect(a === b).to.be.true + expect(typeof b === 'undefined').to.be.true + expect(a === undefined).to.be.true + expect(b === undefined).to.be.true + }); + }) + + describe('.clone(object)', function () { + + it('.clone({}) should object', function () { + let a = {} + let b = clone(a); + expect(typeof b === 'object').to.be.true + }); + + it('.clone({x:1}) should object', function () { + let a = {x: 1} + let b = clone(a); + expect(a.x).is.equal(b.x) + }); + }) + describe('.clone(function)', function () { + + it('.clone(function) should function', function () { + let a = () => { + } + let b = clone(a); + expect(typeof b === 'function').to.be.true + }); + + }) + + describe('.clone()', function () { + + [ + ['test1', 'string'], + [undefined, 'undefined'], + [null, 'object'], // typeof null results in 'object'. https://2ality.com/2013/10/typeof-null.html + [() => { + }, 'function'], + [2, 'number'], + [false, 'boolean'], + [true, 'boolean'], + [4.5, 'number'], + [{}, 'object'], + [[1, 2, 3], 'object'], // array ist auch type object + [Symbol("foo"), 'symbol'], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + + it('.clone(' + JSON.stringify(a) + ') should ' + b + ' ', function () { + let c = clone(a); + expect(typeof c).is.equal(b); + }); + + + }); + + + }); + +}); + diff --git a/development/tests/cases/util/comparator.js b/development/tests/cases/util/comparator.js new file mode 100644 index 0000000000000000000000000000000000000000..9c4165417c0046b2e1dd7c6d05f95e0dc7236ccf --- /dev/null +++ b/development/tests/cases/util/comparator.js @@ -0,0 +1,215 @@ +import {expect} from "chai" +import {Comparator} from "../../../source/util/comparator.js"; + + +describe('Comparator', function () { + + describe('create new instance', function () { + + it('should return a comparator object', function () { + expect(new Comparator()).to.be.a('object'); + }); + + it('should return a comparator object', function () { + expect(new Comparator(function () { + })).to.be.a('object'); + }); + + it('should throw TypeError', function () { + expect(() => new Comparator(true)).to.throw(TypeError); + }); + + it('should throw TypeError', function () { + expect(() => new Comparator("test")).to.throw(TypeError); + }); + + + }); + + describe('equal()', function () { + + [ + ['test1', "test", false], + [5.1, 5, false], + [5.1, 5.1, true], + [true, true, true], + [false, true, false], + [false, false, true], + [-4, -4, true], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + it('should compare ' + a + ' and ' + b + ' return ' + c, function () { + expect(new Comparator().equal(a, b)).is.equal(c) + }); + }); + + }); + + describe('equal()', function () { + + [ + ['test1', true], + ['test1', 5], + ['test1', null], + ['test1', parseInt("a")], + [false, 5], + [undefined, null], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('should compare ' + a + ' and ' + b + ' throw TypeError', function () { + expect(() => new Comparator().equal(a, b)).to.throw(TypeError); + }); + }); + + }); + + describe('greaterThan()', function () { + + [ + ['test1', "test", true], + [5.1, 5, true], + [5.1, 5.1, false], + [true, true, false], + [false, true, false], + [false, false, false], + [-4, -4, false], + [-4, 4, false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + it('should compare ' + a + ' and ' + b + ' return ' + c, function () { + expect(new Comparator().greaterThan(a, b)).is.equal(c) + }); + }); + + }); + + describe('reverse().greaterThan()', function () { + + [ + ['test1', "test", true], + [5.1, 5, true], + [5.1, 5.1, false], + [true, true, false], + [false, true, false], + [false, false, false], + [-4, -4, false], + [-4, 4, false], + ].forEach(function (data) { + + let b = data.shift() + let a = data.shift() + let c = data.shift() + + it('should compare ' + a + ' and ' + b + ' return ' + c, function () { + expect(new Comparator().reverse().greaterThan(a, b)).is.equal(c) + }); + }); + + }); + + describe('greaterThanOrEqual()', function () { + + [ + ['test1', "test", true], + [5.1, 5, true], + [5.1, 5.1, true], + [true, true, true], + [false, true, false], + [false, false, true], + [-4, -4, true], + [-4, 4, false], + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + it('should compare ' + a + ' and ' + b + ' return ' + c, function () { + expect(new Comparator().greaterThanOrEqual(a, b)).is.equal(c) + }); + }); + + }); + + describe('lessThan()', function () { + + [ + ['test1', "test", true], + [5.1, 5, true], + [5.1, 5.1, false], + [true, true, false], + [false, true, false], + [false, false, false], + [-4, -4, false], + [-4, 4, false], + ].forEach(function (data) { + + let b = data.shift() + let a = data.shift() + let c = data.shift() + + it('should compare ' + a + ' and ' + b + ' return ' + c, function () { + expect(new Comparator().lessThan(a, b)).is.equal(c) + }); + }); + + }); + + describe('documentations', function () { + + + it('should run ...', function () { + expect(new Comparator().lessThanOrEqual(2, 5)).to.be.true; + expect(new Comparator().greaterThan(4, 2)).to.be.true; + expect(new Comparator().equal(4, 4)).to.be.true; + expect(new Comparator().equal(4, 5)).to.be.false; + }); + + + it('should run with own function ...', function () { + expect(new Comparator(function (a, b) { + if (a.v === b.v) return 0; + return a.v < b.v ? -1 : 1; + }).equal({v: 2}, {v: 2})).to.be.true; + }); + + + }) + + describe('lessThanOrEqual()', function () { + + [ + ['test1', "test", true], + [5.1, 5, true], + [5.1, 5.1, true], + [true, true, true], + [false, true, false], + [false, false, true], + [-4, -4, true], + [-4, 4, false], + ].forEach(function (data) { + + let b = data.shift() + let a = data.shift() + let c = data.shift() + + it('should compare ' + a + ' and ' + b + ' return ' + c, function () { + expect(new Comparator().lessThanOrEqual(a, b)).is.equal(c) + }); + }); + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/util/deadmansswitch.js b/development/tests/cases/util/deadmansswitch.js new file mode 100644 index 0000000000000000000000000000000000000000..fd5c27e9e2336dbd3eae494903aea01b1763c2ad --- /dev/null +++ b/development/tests/cases/util/deadmansswitch.js @@ -0,0 +1,71 @@ +import {DeadMansSwitch} from "../../../source/util/deadmansswitch.js"; + + +describe('DeadMansSwitch', function () { + + describe('run instance', function () { + + it('should run', function (done) { + + const ms1 = Date.now(); + + const deadmansswitch = new DeadMansSwitch(100, () => { + + const ms2 = Date.now(); + + const diff = ms2 - ms1; + if (diff < 100) { + done('to short ' + diff); + return; + } + done(); + }) + + + }); + }); + + describe('run instance and touch', function () { + + it('should run', function (done) { + + const ms1 = Date.now(); + + const deadmansswitch = new DeadMansSwitch(100, () => { + + const ms2 = Date.now(); + + const diff = ms2 - ms1; + + if (ms1 > ms2) { + done('timing error'); + return; + } + + if (diff < 600) { + done('to short ' + diff); + return; + } + done(); + }) + + // 0 ms: init() -> wait 100 ms + // 50 ms: touch() -> wait 100 ms + // -> wait 100 + // 100 ms: touch(500) -> wait 500 ms + // -> wait 500 + // 600 ms: execute callback + setTimeout(() => { + deadmansswitch.touch() + + setTimeout(() => { + deadmansswitch.touch(500) + }, 50) + + }, 50) + + + }); + }); + +}); \ No newline at end of file diff --git a/development/tests/cases/util/freeze.js b/development/tests/cases/util/freeze.js new file mode 100644 index 0000000000000000000000000000000000000000..c623e1da7da7b819aedf41fdc929edef3d4024f4 --- /dev/null +++ b/development/tests/cases/util/freeze.js @@ -0,0 +1,51 @@ +import {expect} from "chai" +import {deepFreeze} from "../../../source/util/freeze.js"; + + +describe('deepFreeze', function () { + + describe('deepFreeze an object', function () { + + it('should freeze object', function () { + + let obj1 = { + a: { + b: { + c:1 + } + } + }; + + let obj2 = { + a: { + b: { + c:2 + } + } + }; + + expect(obj2).to.not.eql(obj1) + obj1.a.b.c = 2; + expect(obj2).to.eql(obj1); + + const obj1Freezed = deepFreeze(obj1); + + expect(obj2).to.eql(obj1Freezed); + + try { + // https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze + // no change to the object, exception depends on mode (strict ES 2015, etc) + obj1Freezed.a.b.c = 3 + } catch (_) { + + } + + expect(obj2).to.eql(obj1Freezed); + + + }); + + }); + + +}); \ No newline at end of file diff --git a/development/tests/cases/util/processing.js b/development/tests/cases/util/processing.js new file mode 100644 index 0000000000000000000000000000000000000000..8bb1710ad45cc3f30bb144421520a3c75183f27f --- /dev/null +++ b/development/tests/cases/util/processing.js @@ -0,0 +1,110 @@ +import {expect} from "chai" +import {Processing} from "../../../source/util/processing.js"; + + +describe('Processing', function () { + + describe('run instance', function () { + + it('should run many function', function (done) { + + let counter = 0; + let t = +new Date(); + + const desiredDelay = 200; + this.timeout(desiredDelay+100); + + // delay 12 + new Processing((v) => { + counter++; + return v; + }, (v) => { + counter++ + return v; + }, function (v) { + counter++ + return v; + }, desiredDelay,function (v) { + counter++ + return v; + }).run('test').then((v) => { + + try { + expect(counter).to.be.equal(4); + expect(v === 'test').to.be.true; + // check delay + expect(+new Date() > t + desiredDelay+1).to.be.true; + } catch (e) { + return done(e); + } + + done(); + }) + + + }); + + it('should run one function', function (done) { + + let counter = 0; + + new Processing((value) => { + counter++ + return value; + }).run('test').then((v) => { + try { + expect(v === 'test').to.be.true; + } catch (e) { + return done(e); + } + + done() + }).catch(e => done(e)); + + + }); + + it('should run no function', function (done) { + + let counter = 0; + + new Processing().run('test').then((v) => { + + try { + expect(v === 'test').to.be.true; + } catch (e) { + return done(e); + } + + done() + }).catch(e => done(e)); + + + }); + + + }); + + describe('create new instance', function () { + + it('should return a Processing object', function () { + expect(new Processing()).to.be.a('object'); + }); + + it('should return a Processing object', function () { + expect(new Processing(function () { + })).to.be.a('object'); + }); + + it('should throw TypeError', function () { + expect(() => new Processing(true)).to.throw(TypeError); + }); + + it('should throw TypeError', function () { + expect(() => new Processing("test")).to.throw(TypeError); + }); + + + }); + +}); \ No newline at end of file diff --git a/development/tests/cases/util/trimspaces.js b/development/tests/cases/util/trimspaces.js new file mode 100644 index 0000000000000000000000000000000000000000..2a6c17dd797ec1a6a2029da149387d17681a4422 --- /dev/null +++ b/development/tests/cases/util/trimspaces.js @@ -0,0 +1,24 @@ +import {expect} from "chai" +import {trimSpaces} from "../../../source/util/trimspaces.js"; + + +describe('trimSpaces', function () { + [ + // one stroke is escped by the javascript interpreter, the second stroke escapes the stroke + [' value ', 'value'], + [' value\\ ', 'value\\ '], + ['\\ value\\ ', '\\ value\\ '], + ['\ value\ ', 'value'], + [" value \ ", 'value'], + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('trimSpaces(' + JSON.stringify(a) + ') should return ' + JSON.stringify(b), function () { + expect(trimSpaces(a)).to.be.equal(b); + }); + }); +}); + \ No newline at end of file diff --git a/development/tests/util/chai-dom.js b/development/tests/util/chai-dom.js new file mode 100644 index 0000000000000000000000000000000000000000..4ac6b859d8cf60586210cc73b4b2cb7e77d06959 --- /dev/null +++ b/development/tests/util/chai-dom.js @@ -0,0 +1,352 @@ +/******** + + Convert chai-dom 1.8.1 to es module, without any other modification. + From https://github.com/nathanboktae/chai-dom/blob/86c3423/chai-dom.js + See https://github.com/nathanboktae/chai-dom/issues/38 + + Usage: + import { chaiDom } from '<path-to>/chai-dom'; + chai.use(chaiDom); + + Copyright (c) 2015 Nathan Black and other contributors + + This work is licensed under the terms of the MIT license. For a copy, see <https://opensource.org/licenses/MIT>. + + **********/ + +export function chaiDom(chai, utils) { + var flag = utils.flag, + + elToString = function(el) { + var desc + if (isNodeList(el)) { + if (el.length === 0) return 'empty NodeList' + desc = Array.prototype.slice.call(el, 0, 5).map(elToString).join(', ') + return el.length > 5 ? desc + '... (+' + (el.length - 5) + ' more)' : desc + } + if (!isHTMLElement(el)) { + return String(el) + } + + desc = el.tagName.toLowerCase() + if (el.id) { + desc += '#' + el.id + } + if (el.className) { + desc += '.' + String(el.className).replace(/\s+/g, '.') + } + Array.prototype.forEach.call(el.attributes, function(attr) { + if (attr.name !== 'class' && attr.name !== 'id') { + desc += '[' + attr.name + (attr.value ? '="' + attr.value + '"]' : ']') + } + }) + return desc + }, + + attrAssert = function(name, val) { + var el = flag(this, 'object'), actual = el.getAttribute(name) + + if (!flag(this, 'negate') || undefined === val) { + this.assert( + !!el.attributes[name] + , 'expected ' + elToString(el) + ' to have an attribute #{exp}' + , 'expected ' + elToString(el) + ' not to have an attribute #{exp}' + , name + ) + } + + if (undefined !== val) { + this.assert( + val === actual + , 'expected ' + elToString(el) + ' to have an attribute ' + utils.inspect(name) + ' with the value #{exp}, but the value was #{act}' + , 'expected ' + elToString(el) + ' not to have an attribute ' + utils.inspect(name) + ' with the value #{act}' + , val + , actual + ) + } + + flag(this, 'object', actual) + }, + + isHTMLElement = function(el) { + return el.nodeType === 1 // window.Node.ELEMENT_NODE + }, + + isNodeList = function(obj) { + return Object.prototype.toString.call(obj) === '[object NodeList]' + } + + utils.elToString = elToString + chai.Assertion.addMethod('attr', attrAssert) + chai.Assertion.addMethod('attribute', attrAssert) + + chai.Assertion.addMethod('class', function(className) { + var el = flag(this, 'object') + this.assert( + el.classList.contains(className) + , 'expected ' + elToString(el) + ' to have class #{exp}' + , 'expected ' + elToString(el) + ' not to have class #{exp}' + , className + ) + }) + + chai.Assertion.addMethod('id', function(id) { + var el = flag(this, 'object') + this.assert( + el.id == id + , 'expected ' + elToString(el) + ' to have id #{exp}' + , 'expected ' + elToString(el) + ' not to have id #{exp}' + , id + ) + }) + + chai.Assertion.addMethod('html', function(html) { + var el = flag(this, 'object'), actual = flag(this, 'object').innerHTML + + if (flag(this, 'contains')) { + this.assert( + actual.indexOf(html) >= 0 + , 'expected #{act} to contain HTML #{exp}' + , 'expected #{act} not to contain HTML #{exp}' + , html + , actual + ) + } else { + this.assert( + actual === html + , 'expected ' + elToString(el) + ' to have HTML #{exp}, but the HTML was #{act}' + , 'expected ' + elToString(el) + ' not to have HTML #{exp}' + , html + , actual + ) + } + }) + + chai.Assertion.addChainableMethod('trimmed', null, function() { + flag(this, 'trim-text', true) + }) + + chai.Assertion.addMethod('text', function(text) { + var obj = flag(this, 'object'), contains = flag(this, 'contains'), + trim = flag(this, 'trim-text'), actual, result + + if (isNodeList(obj)) { + actual = Array.prototype.map.call(obj, function(el) { return trim ? el.textContent.trim() : el.textContent }) + if (Array.isArray(text)) { + result = contains ? + text[flag(this, 'negate') ? 'some' : 'every'](function(t) { + return Array.prototype.some.call(obj, function(el) { + return (trim ? el.textContent.trim() : el.textContent) === t + }) + }) + : + utils.eql(actual, text) + + actual = actual.join() + text = text.join() + } else { + actual = actual.join('') + result = contains ? actual.indexOf(text) >= 0 : actual === text + } + } else { + actual = trim ? obj.textContent.trim() : obj.textContent + result = contains ? actual.indexOf(text) >= 0 : actual === text + } + + var objDesc = elToString(obj), textMsg = trim ? 'trimmed text' : 'text' + if (contains) { + this.assert( + result + , 'expected ' + objDesc + ' to contain #{exp}, but the ' + textMsg + ' was #{act}' + , 'expected ' + objDesc + ' not to contain #{exp}, but the ' + textMsg + ' was #{act}' + , text + , actual + ) + } else { + this.assert( + result + , 'expected ' + objDesc + ' to have ' + textMsg + ' #{exp}, but the ' + textMsg + ' was #{act}' + , 'expected ' + objDesc + ' not to have ' + textMsg + ' #{exp}' + , text + , actual + ) + } + }) + + chai.Assertion.addMethod('value', function(value) { + var el = flag(this, 'object'), actual = flag(this, 'object').value + this.assert( + flag(this, 'object').value === value + , 'expected ' + elToString(el) + ' to have value #{exp}, but the value was #{act}' + , 'expected ' + elToString(el) + ' not to have value #{exp}' + , value + , actual + ) + }) + + chai.Assertion.overwriteProperty('exist', function(_super) { + return function() { + var obj = flag(this, 'object') + if (isNodeList(obj)) { + this.assert( + obj.length > 0 + , 'expected an empty NodeList to have nodes' + , 'expected ' + elToString(obj) + ' to not exist') + } else { + _super.apply(this, arguments) + } + } + }) + + chai.Assertion.overwriteProperty('empty', function(_super) { + return function() { + var obj = flag(this, 'object') + if (isHTMLElement(obj)) { + this.assert( + obj.children.length === 0 + , 'expected ' + elToString(obj) + ' to be empty' + , 'expected ' + elToString(obj) + ' to not be empty') + } else if (isNodeList(obj)) { + this.assert( + obj.length === 0 + , 'expected ' + elToString(obj) + ' to be empty' + , 'expected ' + elToString(obj) + ' to not be empty') + } else { + _super.apply(this, arguments) + } + } + }) + + chai.Assertion.overwriteChainableMethod('length', + function(_super) { + return function(length) { + var obj = flag(this, 'object') + if (isNodeList(obj) || isHTMLElement(obj)) { + var actualLength = obj.children ? obj.children.length : obj.length + this.assert( + actualLength === length + , 'expected ' + elToString(obj) + ' to have #{exp} children but it had #{act} children' + , 'expected ' + elToString(obj) + ' to not have #{exp} children' + , length + , actualLength + ) + } else { + _super.apply(this, arguments) + } + } + }, + function(_super) { + return function() { + _super.call(this) + } + } + ) + + + chai.Assertion.overwriteMethod('match', function(_super) { + return function(selector) { + var obj = flag(this, 'object') + if (isHTMLElement(obj)) { + this.assert( + obj.matches(selector) + , 'expected ' + elToString(obj) + ' to match #{exp}' + , 'expected ' + elToString(obj) + ' to not match #{exp}' + , selector + ) + } else if (isNodeList(obj)) { + this.assert( + (!!obj.length && Array.prototype.every.call(obj, function(el) { return el.matches(selector) })) + , 'expected ' + elToString(obj) + ' to match #{exp}' + , 'expected ' + elToString(obj) + ' to not match #{exp}' + , selector + ) + } else { + _super.apply(this, arguments) + } + } + }) + + chai.Assertion.overwriteChainableMethod('contain', + function(_super) { + return function(subitem) { + var obj = flag(this, 'object') + if (isHTMLElement(obj)) { + if (typeof subitem === 'string') { + this.assert( + !!obj.querySelector(subitem) + , 'expected ' + elToString(obj) + ' to contain #{exp}' + , 'expected ' + elToString(obj) + ' to not contain #{exp}' + , subitem) + } else { + this.assert( + obj.contains(subitem) + , 'expected ' + elToString(obj) + ' to contain ' + elToString(subitem) + , 'expected ' + elToString(obj) + ' to not contain ' + elToString(subitem)) + } + } else { + _super.apply(this, arguments) + } + } + }, + function(_super) { + return function() { + _super.call(this) + } + } + ) + + chai.Assertion.addMethod('descendant', function(subitem) { + var obj = flag(this, 'object'), actual = subitem + + if (typeof subitem === 'string') { + actual = obj.querySelector(subitem) + this.assert( + !!actual + , 'expected ' + elToString(obj) + ' to have descendant #{exp}' + , 'expected ' + elToString(obj) + ' to not have descendant #{exp}' + , subitem) + } else { + this.assert( + obj.contains(subitem) + , 'expected ' + elToString(obj) + ' to contain ' + elToString(subitem) + , 'expected ' + elToString(obj) + ' to not contain ' + elToString(subitem)) + } + + flag(this, 'object', actual) + }) + + chai.Assertion.addMethod('descendants', function(selector) { + var obj = flag(this, 'object'), + actual = obj.querySelectorAll(selector) + this.assert( + !!actual.length + , 'expected ' + elToString(obj) + ' to have descendants #{exp}' + , 'expected ' + elToString(obj) + ' to not have descendants #{exp}' + , selector) + flag(this, 'object', actual) + }) + + chai.Assertion.addProperty('displayed', function() { + var el = flag(this, 'object'), + actual = document.body.contains(el) ? window.getComputedStyle(el).display : el.style.display + + this.assert( + actual !== 'none' + , 'expected ' + elToString(el) + ' to be displayed, but it was not' + , 'expected ' + elToString(el) + ' to not be displayed, but it was as ' + actual + , actual + ) + }) + + chai.Assertion.addProperty('visible', function() { + var el = flag(this, 'object'), + actual = document.body.contains(el) ? window.getComputedStyle(el).visibility : el.style.visibility + + this.assert( + actual !== 'hidden' && actual !== 'collapse' + , 'expected ' + elToString(el) + ' to be visible, but it was ' + (actual === 'hidden' ? 'hidden' : 'collapsed') + , 'expected ' + elToString(el) + ' to not be visible, but it was' + , actual + ) + }) +} \ No newline at end of file diff --git a/development/tests/util/cleanupdom.js b/development/tests/util/cleanupdom.js new file mode 100644 index 0000000000000000000000000000000000000000..ec466996ce670ad9afdd0e75d7c928890726f196 --- /dev/null +++ b/development/tests/util/cleanupdom.js @@ -0,0 +1,48 @@ +'use strict'; + + +let addedNodes, mutationobserver; + +function init() { + + addedNodes = []; + mutationobserver = new MutationObserver(function (mutations) { + mutations.forEach(function (mutation) { + if (mutation.type === 'childList' && mutation.removedNodes) { + + mutation.addedNodes.forEach((n) => { + if (n instanceof HTMLElement) { + addedNodes.push(n); + } + }) + } + + }); + }); + + +} + + +/** + * + */ +export function initMutationObserverForTesting() { + + if (mutationobserver === undefined) { + init() + } + + mutationobserver.observe(document.querySelector('head'), {childList: true}); +} + +/** + * + */ +export function cleanupDOMFromTesting() { + mutationobserver.disconnect(); + + for (const n of addedNodes) { + n.remove(); + } +} \ No newline at end of file diff --git a/development/tests/util/jsdom.js b/development/tests/util/jsdom.js new file mode 100644 index 0000000000000000000000000000000000000000..adf16e16259733fe353308a45918a091ab3266a1 --- /dev/null +++ b/development/tests/util/jsdom.js @@ -0,0 +1,88 @@ +'use strict'; + +import {extend} from "../../source/data/extend.js"; +import {getGlobal} from "../../source/types/global.js"; + +export const isBrowser = new Function("try {return this===window;}catch(e){ return false;}"); + +export const isNode = new Function("try {return this===global;}catch(e){return false;}"); + + +/** + * this helper function creates the dom stack in the node environment + * + * @return {Promise<unknown>|Promise<void>} + */ +function initJSDOM(options) { + if (typeof window === "object" && window['DOMParser']) return Promise.resolve(); + + const g = getGlobal(); + + options = extend({}, { + pretendToBeVisual: true, + contentType: "text/html", + includeNodeLocations: true, + storageQuota: 10000000, + runScripts: "dangerously", + resources: "usable" + }, options||{}) + + return import("jsdom").then(({JSDOM}) => { + const {window} = new JSDOM(`<html> +<head> +</head> +<body> +<div id="mocks"></div> +</body>`, options); + + g['window'] = window; + + return new Promise(resolve => + window.addEventListener("load", () => { + + [ + 'self', + 'HTMLCollection', + 'NodeList', + 'ElementInternals', + 'HTMLDocument', + 'HTMLFormElement', + 'HTMLInputElement', + 'HTMLSelectElement', + 'HTMLTextAreaElement', + 'document', + 'Document', + 'Node', + 'ShadowRoot', + 'Event', + 'CustomEvent', + 'Element', + 'HTMLElement', + 'HTMLDivElement', + 'customElements', + 'DocumentFragment', + 'DOMParser', + 'CSSStyleSheet', + 'HTMLScriptElement', + 'MutationObserver', + 'HTMLTemplateElement', + 'XMLSerializer', + 'NodeFilter', + 'navigator', + 'InputEvent', + 'Blob', + 'CustomEvent' + ].forEach(key => { + g[key] = window[key] + }); + + resolve(); + }) + ); + + + }); +} + +export {initJSDOM} + diff --git a/development/tests/util/localstorage.js b/development/tests/util/localstorage.js new file mode 100644 index 0000000000000000000000000000000000000000..f4ba97aad8fda44d69f593a76dddccc18e2b2c38 --- /dev/null +++ b/development/tests/util/localstorage.js @@ -0,0 +1,81 @@ +function createStorage() { + let UNSET = Symbol(); + let s = {}, + noopCallback = () => { + }, + _itemInsertionCallback = noopCallback; + + Object.defineProperty(s, 'setItem', { + get: () => { + return (k, v = UNSET) => { + if (v === UNSET) { + throw new TypeError(`Failed to execute 'setItem' on 'Storage': 2 arguments required, but only 1 present.`); + } + k = k + ''; + if (!s.hasOwnProperty(k)) { + _itemInsertionCallback(s.length); + } + s[k] = v + ''; + }; + } + }); + Object.defineProperty(s, 'getItem', { + get: () => { + return k => { + k = k + ''; + if (s.hasOwnProperty(k)) { + return s[k]; + } else { + return null; + } + }; + } + }); + Object.defineProperty(s, 'removeItem', { + get: () => { + return k => { + k = k + ''; + if (s.hasOwnProperty(k)) { + delete s[k]; + } + }; + } + }); + Object.defineProperty(s, 'clear', { + get: () => { + return () => { + for (let k in s) { + if (s.hasOwnProperty(k)) { + delete s[k]; + } + } + }; + } + }); + Object.defineProperty(s, 'length', { + get: () => { + return Object.keys(s).length; + } + }); + Object.defineProperty(s, "key", { + value: k => { + let key = Object.keys(s)[k]; + return (!key) ? null : key; + }, + }); + Object.defineProperty(s, 'itemInsertionCallback', { + get: () => { + return _itemInsertionCallback; + }, + set: v => { + if (!v || typeof v != 'function') { + v = noopCallback; + } + _itemInsertionCallback = v; + } + }); + return s; +} + + +export {createStorage}; \ No newline at end of file diff --git a/development/tests/web/import.js b/development/tests/web/import.js new file mode 100644 index 0000000000000000000000000000000000000000..905a63b83d8314976a9ed6974e542d7c59d81659 --- /dev/null +++ b/development/tests/web/import.js @@ -0,0 +1,80 @@ +/** this file was created automatically by the make target test-browser-monster */ +import "./prepare.js"; +import "../cases/logging/logger.js"; +import "../cases/logging/handler.js"; +import "../cases/logging/logentry.js"; +import "../cases/logging/handler/console.js"; +import "../cases/text/formatter.js"; +import "../cases/dom/resource/script.js"; +import "../cases/dom/resource/data.js"; +import "../cases/dom/resource/link/stylesheet.js"; +import "../cases/dom/resource/link.js"; +import "../cases/dom/updater.js"; +import "../cases/dom/attributes.js"; +import "../cases/dom/template.js"; +import "../cases/dom/util.js"; +import "../cases/dom/ready.js"; +import "../cases/dom/resourcemanager.js"; +import "../cases/dom/locale.js"; +import "../cases/dom/customcontrol.js"; +import "../cases/dom/assembler.js"; +import "../cases/dom/theme.js"; +import "../cases/dom/worker/factory.js"; +import "../cases/dom/focusmanager.js"; +import "../cases/dom/events.js"; +import "../cases/dom/customelement.js"; +import "../cases/i18n/formatter.js"; +import "../cases/i18n/providers/fetch.js"; +import "../cases/i18n/translations.js"; +import "../cases/i18n/locale.js"; +import "../cases/i18n/provider.js"; +import "../cases/types/queue.js"; +import "../cases/types/binary.js"; +import "../cases/types/regex.js"; +import "../cases/types/observer.js"; +import "../cases/types/global.js"; +import "../cases/types/observerlist.js"; +import "../cases/types/basewithoptions.js"; +import "../cases/types/is.js"; +import "../cases/types/proxyobserver.js"; +import "../cases/types/uniquequeue.js"; +import "../cases/types/node.js"; +import "../cases/types/tokenlist.js"; +import "../cases/types/typeof.js"; +import "../cases/types/uuid.js"; +import "../cases/types/mediatype.js"; +import "../cases/types/dataurl.js"; +import "../cases/types/base.js"; +import "../cases/types/version.js"; +import "../cases/types/nodelist.js"; +import "../cases/types/id.js"; +import "../cases/types/randomid.js"; +import "../cases/types/noderecursiveiterator.js"; +import "../cases/types/validate.js"; +import "../cases/types/stack.js"; +import "../cases/constraint/isobject.js"; +import "../cases/constraint/valid.js"; +import "../cases/constraint/invalid.js"; +import "../cases/constraint/oroperator.js"; +import "../cases/constraint/andoperator.js"; +import "../cases/constraint/isarray.js"; +import "../cases/util/deadmansswitch.js"; +import "../cases/util/comparator.js"; +import "../cases/util/trimspaces.js"; +import "../cases/util/clone.js"; +import "../cases/util/freeze.js"; +import "../cases/util/processing.js"; +import "../cases/data/pathfinder.js"; +import "../cases/data/pipe.js"; +import "../cases/data/extend.js"; +import "../cases/data/diff.js"; +import "../cases/data/buildmap.js"; +import "../cases/data/datasource.js"; +import "../cases/data/buildtree.js"; +import "../cases/data/transformer.js"; +import "../cases/data/datasource/restapi.js"; +import "../cases/data/datasource/storage/sessionstorage.js"; +import "../cases/data/datasource/storage/localstorage.js"; +import "../cases/math/random.js"; +import "../cases/monster.js"; +import "../cases/namespace.js"; diff --git a/development/tests/web/mocha.css b/development/tests/web/mocha.css new file mode 100644 index 0000000000000000000000000000000000000000..abff96240a08674498778aaa24f66229202f4646 --- /dev/null +++ b/development/tests/web/mocha.css @@ -0,0 +1,328 @@ +@charset "utf-8"; + +body { + margin:0; +} + +#mocha { + font: 20px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; + margin: 60px 50px; +} + +#mocha ul, +#mocha ul, +#mocha li { + margin: 0; + padding: 0; +} + +#mocha ul { + list-style: none; +} + +#mocha h1, +#mocha h2 { + margin: 0; +} + +#mocha h1 { + margin-top: 15px; + font-size: 1em; + font-weight: 200; +} + +#mocha h1 a { + text-decoration: none; + color: inherit; +} + +#mocha h1 a:hover { + text-decoration: underline; +} + +#mocha .suite .suite h1 { + margin-top: 0; + font-size: .8em; +} + +#mocha .hidden { + display: none; +} + +#mocha h2 { + font-size: 12px; + font-weight: normal; + cursor: pointer; +} + +#mocha .suite { + margin-left: 15px; +} + +#mocha .test { + margin-left: 15px; + overflow: hidden; +} + +#mocha .test.pending:hover h2::after { + content: '(pending)'; + font-family: arial, sans-serif; +} + +#mocha .test.pass.medium .duration { + background: #c09853; +} + +#mocha .test.pass.slow .duration { + background: #b94a48; +} + +#mocha .test.pass::before { + content: '✓'; + font-size: 12px; + display: block; + float: left; + margin-right: 5px; + color: #00d6b2; +} + +#mocha .test.pass .duration { + font-size: 9px; + margin-left: 5px; + padding: 2px 5px; + color: #fff; + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.2); + -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.2); + box-shadow: inset 0 1px 1px rgba(0,0,0,.2); + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + -ms-border-radius: 5px; + -o-border-radius: 5px; + border-radius: 5px; +} + +#mocha .test.pass.fast .duration { + display: none; +} + +#mocha .test.pending { + color: #0b97c4; +} + +#mocha .test.pending::before { + content: '◦'; + color: #0b97c4; +} + +#mocha .test.fail { + color: #c00; +} + +#mocha .test.fail pre { + color: black; +} + +#mocha .test.fail::before { + content: '✖'; + font-size: 12px; + display: block; + float: left; + margin-right: 5px; + color: #c00; +} + +#mocha .test pre.error { + color: #c00; + max-height: 300px; + overflow: auto; +} + +#mocha .test .html-error { + overflow: auto; + color: black; + display: block; + float: left; + clear: left; + font: 12px/1.5 monaco, monospace; + margin: 5px; + padding: 15px; + border: 1px solid #eee; + max-width: 85%; /*(1)*/ + max-width: -webkit-calc(100% - 42px); + max-width: -moz-calc(100% - 42px); + max-width: calc(100% - 42px); /*(2)*/ + max-height: 300px; + word-wrap: break-word; + border-bottom-color: #ddd; + -webkit-box-shadow: 0 1px 3px #eee; + -moz-box-shadow: 0 1px 3px #eee; + box-shadow: 0 1px 3px #eee; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +#mocha .test .html-error pre.error { + border: none; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; + -webkit-box-shadow: 0; + -moz-box-shadow: 0; + box-shadow: 0; + padding: 0; + margin: 0; + margin-top: 18px; + max-height: none; +} + +/** + * (1): approximate for browsers not supporting calc + * (2): 42 = 2*15 + 2*10 + 2*1 (padding + margin + border) + * ^^ seriously + */ +#mocha .test pre { + display: block; + float: left; + clear: left; + font: 12px/1.5 monaco, monospace; + margin: 5px; + padding: 15px; + border: 1px solid #eee; + max-width: 85%; /*(1)*/ + max-width: -webkit-calc(100% - 42px); + max-width: -moz-calc(100% - 42px); + max-width: calc(100% - 42px); /*(2)*/ + word-wrap: break-word; + border-bottom-color: #ddd; + -webkit-box-shadow: 0 1px 3px #eee; + -moz-box-shadow: 0 1px 3px #eee; + box-shadow: 0 1px 3px #eee; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +#mocha .test h2 { + position: relative; +} + +#mocha .test a.replay { + position: absolute; + top: 3px; + right: 0; + text-decoration: none; + vertical-align: middle; + display: block; + width: 15px; + height: 15px; + line-height: 15px; + text-align: center; + background: #eee; + font-size: 15px; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; + -webkit-transition:opacity 200ms; + -moz-transition:opacity 200ms; + -o-transition:opacity 200ms; + transition: opacity 200ms; + opacity: 0.3; + color: #888; +} + +#mocha .test:hover a.replay { + opacity: 1; +} + +#mocha-report.pass .test.fail { + display: none; +} + +#mocha-report.fail .test.pass { + display: none; +} + +#mocha-report.pending .test.pass, +#mocha-report.pending .test.fail { + display: none; +} +#mocha-report.pending .test.pass.pending { + display: block; +} + +#mocha-error { + color: #c00; + font-size: 1.5em; + font-weight: 100; + letter-spacing: 1px; +} + +#mocha-stats { + position: fixed; + top: 85px; + right: 10px; + font-size: 12px; + margin: 0; + color: #000000; + z-index: 1; + border-radius: 13px; + padding: 2px 5px; +} + +#mocha-stats .progress { + float: right; + padding-top: 0; + + /** + * Set safe initial values, so mochas .progress does not inherit these + * properties from Bootstrap .progress (which causes .progress height to + * equal line height set in Bootstrap). + */ + height: auto; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + background-color: initial; +} + +#mocha-stats em { + color: black; +} + +#mocha-stats a { + text-decoration: none; + color: inherit; +} + +#mocha-stats a:hover { + border-bottom: 1px solid #eee; +} + +#mocha-stats li { + display: inline-block; + margin: 0 5px; + list-style: none; + padding-top: 11px; +} + +#mocha-stats canvas { + width: 40px; + height: 40px; +} + +#mocha code .comment { color: #ddd; } +#mocha code .init { color: #2f6fad; } +#mocha code .string { color: #5890ad; } +#mocha code .keyword { color: #8a6343; } +#mocha code .number { color: #2f6fad; } + +@media screen and (max-device-width: 480px) { + #mocha { + margin: 60px 0px; + } + + #mocha #stats { + position: absolute; + } +} diff --git a/development/tests/web/mocha.js b/development/tests/web/mocha.js new file mode 100644 index 0000000000000000000000000000000000000000..df4618d8101658b4881c31f18eb78432a70f971f --- /dev/null +++ b/development/tests/web/mocha.js @@ -0,0 +1,30465 @@ +// mocha@9.0.2 transpiled to javascript ES5 +SharedArrayBuffer = ArrayBuffer; +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.mocha = factory()); +}(this, (function () { 'use strict'; + + var regeneratorRuntime; + + var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; + + function createCommonjsModule(fn, basedir, module) { + return module = { + path: basedir, + exports: {}, + require: function (path, base) { + return commonjsRequire(path, (base === undefined || base === null) ? module.path : base); + } + }, fn(module, module.exports), module.exports; + } + + function getCjsExportFromNamespace (n) { + return n && n['default'] || n; + } + + function commonjsRequire () { + throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs'); + } + + var check = function (it) { + return it && it.Math == Math && it; + }; + + // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 + var global_1 = + // eslint-disable-next-line es/no-global-this -- safe + check(typeof globalThis == 'object' && globalThis) || + check(typeof window == 'object' && window) || + // eslint-disable-next-line no-restricted-globals -- safe + check(typeof self == 'object' && self) || + check(typeof commonjsGlobal == 'object' && commonjsGlobal) || + // eslint-disable-next-line no-new-func -- fallback + (function () { return this; })() || Function('return this')(); + + var fails = function (exec) { + try { + return !!exec(); + } catch (error) { + return true; + } + }; + + // Detect IE8's incomplete defineProperty implementation + var descriptors = !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; + }); + + var $propertyIsEnumerable$1 = {}.propertyIsEnumerable; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor; + + // Nashorn ~ JDK8 bug + var NASHORN_BUG = getOwnPropertyDescriptor$3 && !$propertyIsEnumerable$1.call({ 1: 2 }, 1); + + // `Object.prototype.propertyIsEnumerable` method implementation + // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable + var f$7 = NASHORN_BUG ? function propertyIsEnumerable(V) { + var descriptor = getOwnPropertyDescriptor$3(this, V); + return !!descriptor && descriptor.enumerable; + } : $propertyIsEnumerable$1; + + var objectPropertyIsEnumerable = { + f: f$7 + }; + + var createPropertyDescriptor = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; + }; + + var toString$4 = {}.toString; + + var classofRaw = function (it) { + return toString$4.call(it).slice(8, -1); + }; + + var split = ''.split; + + // fallback for non-array-like ES3 and non-enumerable old V8 strings + var indexedObject = fails(function () { + // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 + // eslint-disable-next-line no-prototype-builtins -- safe + return !Object('z').propertyIsEnumerable(0); + }) ? function (it) { + return classofRaw(it) == 'String' ? split.call(it, '') : Object(it); + } : Object; + + // `RequireObjectCoercible` abstract operation + // https://tc39.es/ecma262/#sec-requireobjectcoercible + var requireObjectCoercible = function (it) { + if (it == undefined) throw TypeError("Can't call method on " + it); + return it; + }; + + // toObject with fallback for non-array-like ES3 strings + + + + var toIndexedObject = function (it) { + return indexedObject(requireObjectCoercible(it)); + }; + + var isObject$1 = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; + }; + + // `ToPrimitive` abstract operation + // https://tc39.es/ecma262/#sec-toprimitive + // instead of the ES6 spec version, we didn't implement @@toPrimitive case + // and the second argument - flag - preferred type is a string + var toPrimitive = function (input, PREFERRED_STRING) { + if (!isObject$1(input)) return input; + var fn, val; + if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject$1(val = fn.call(input))) return val; + if (typeof (fn = input.valueOf) == 'function' && !isObject$1(val = fn.call(input))) return val; + if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject$1(val = fn.call(input))) return val; + throw TypeError("Can't convert object to primitive value"); + }; + + // `ToObject` abstract operation + // https://tc39.es/ecma262/#sec-toobject + var toObject = function (argument) { + return Object(requireObjectCoercible(argument)); + }; + + var hasOwnProperty$1 = {}.hasOwnProperty; + + var has$1 = Object.hasOwn || function hasOwn(it, key) { + return hasOwnProperty$1.call(toObject(it), key); + }; + + var document$3 = global_1.document; + // typeof document.createElement is 'object' in old IE + var EXISTS = isObject$1(document$3) && isObject$1(document$3.createElement); + + var documentCreateElement = function (it) { + return EXISTS ? document$3.createElement(it) : {}; + }; + + // Thank's IE8 for his funny defineProperty + var ie8DomDefine = !descriptors && !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- requied for testing + return Object.defineProperty(documentCreateElement('div'), 'a', { + get: function () { return 7; } + }).a != 7; + }); + + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor; + + // `Object.getOwnPropertyDescriptor` method + // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor + var f$6 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { + O = toIndexedObject(O); + P = toPrimitive(P, true); + if (ie8DomDefine) try { + return $getOwnPropertyDescriptor$1(O, P); + } catch (error) { /* empty */ } + if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]); + }; + + var objectGetOwnPropertyDescriptor = { + f: f$6 + }; + + var anObject = function (it) { + if (!isObject$1(it)) { + throw TypeError(String(it) + ' is not an object'); + } return it; + }; + + // eslint-disable-next-line es/no-object-defineproperty -- safe + var $defineProperty$1 = Object.defineProperty; + + // `Object.defineProperty` method + // https://tc39.es/ecma262/#sec-object.defineproperty + var f$5 = descriptors ? $defineProperty$1 : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPrimitive(P, true); + anObject(Attributes); + if (ie8DomDefine) try { + return $defineProperty$1(O, P, Attributes); + } catch (error) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; + }; + + var objectDefineProperty = { + f: f$5 + }; + + var createNonEnumerableProperty = descriptors ? function (object, key, value) { + return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value)); + } : function (object, key, value) { + object[key] = value; + return object; + }; + + var setGlobal = function (key, value) { + try { + createNonEnumerableProperty(global_1, key, value); + } catch (error) { + global_1[key] = value; + } return value; + }; + + var SHARED = '__core-js_shared__'; + var store$1 = global_1[SHARED] || setGlobal(SHARED, {}); + + var sharedStore = store$1; + + var functionToString = Function.toString; + + // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper + if (typeof sharedStore.inspectSource != 'function') { + sharedStore.inspectSource = function (it) { + return functionToString.call(it); + }; + } + + var inspectSource = sharedStore.inspectSource; + + var WeakMap$1 = global_1.WeakMap; + + var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1)); + + var shared = createCommonjsModule(function (module) { + (module.exports = function (key, value) { + return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {}); + })('versions', []).push({ + version: '3.15.2', + mode: 'global', + copyright: '© 2021 Denis Pushkarev (zloirock.ru)' + }); + }); + + var id = 0; + var postfix = Math.random(); + + var uid = function (key) { + return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36); + }; + + var keys$4 = shared('keys'); + + var sharedKey = function (key) { + return keys$4[key] || (keys$4[key] = uid(key)); + }; + + var hiddenKeys$1 = {}; + + var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; + var WeakMap = global_1.WeakMap; + var set$2, get$1, has; + + var enforce = function (it) { + return has(it) ? get$1(it) : set$2(it, {}); + }; + + var getterFor = function (TYPE) { + return function (it) { + var state; + if (!isObject$1(it) || (state = get$1(it)).type !== TYPE) { + throw TypeError('Incompatible receiver, ' + TYPE + ' required'); + } return state; + }; + }; + + if (nativeWeakMap || sharedStore.state) { + var store = sharedStore.state || (sharedStore.state = new WeakMap()); + var wmget = store.get; + var wmhas = store.has; + var wmset = store.set; + set$2 = function (it, metadata) { + if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + wmset.call(store, it, metadata); + return metadata; + }; + get$1 = function (it) { + return wmget.call(store, it) || {}; + }; + has = function (it) { + return wmhas.call(store, it); + }; + } else { + var STATE = sharedKey('state'); + hiddenKeys$1[STATE] = true; + set$2 = function (it, metadata) { + if (has$1(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + createNonEnumerableProperty(it, STATE, metadata); + return metadata; + }; + get$1 = function (it) { + return has$1(it, STATE) ? it[STATE] : {}; + }; + has = function (it) { + return has$1(it, STATE); + }; + } + + var internalState = { + set: set$2, + get: get$1, + has: has, + enforce: enforce, + getterFor: getterFor + }; + + var redefine = createCommonjsModule(function (module) { + var getInternalState = internalState.get; + var enforceInternalState = internalState.enforce; + var TEMPLATE = String(String).split('String'); + + (module.exports = function (O, key, value, options) { + var unsafe = options ? !!options.unsafe : false; + var simple = options ? !!options.enumerable : false; + var noTargetGet = options ? !!options.noTargetGet : false; + var state; + if (typeof value == 'function') { + if (typeof key == 'string' && !has$1(value, 'name')) { + createNonEnumerableProperty(value, 'name', key); + } + state = enforceInternalState(value); + if (!state.source) { + state.source = TEMPLATE.join(typeof key == 'string' ? key : ''); + } + } + if (O === global_1) { + if (simple) O[key] = value; + else setGlobal(key, value); + return; + } else if (!unsafe) { + delete O[key]; + } else if (!noTargetGet && O[key]) { + simple = true; + } + if (simple) O[key] = value; + else createNonEnumerableProperty(O, key, value); + // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative + })(Function.prototype, 'toString', function toString() { + return typeof this == 'function' && getInternalState(this).source || inspectSource(this); + }); + }); + + var path$1 = global_1; + + var aFunction$1 = function (variable) { + return typeof variable == 'function' ? variable : undefined; + }; + + var getBuiltIn = function (namespace, method) { + return arguments.length < 2 ? aFunction$1(path$1[namespace]) || aFunction$1(global_1[namespace]) + : path$1[namespace] && path$1[namespace][method] || global_1[namespace] && global_1[namespace][method]; + }; + + var ceil = Math.ceil; + var floor$5 = Math.floor; + + // `ToInteger` abstract operation + // https://tc39.es/ecma262/#sec-tointeger + var toInteger = function (argument) { + return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor$5 : ceil)(argument); + }; + + var min$7 = Math.min; + + // `ToLength` abstract operation + // https://tc39.es/ecma262/#sec-tolength + var toLength = function (argument) { + return argument > 0 ? min$7(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + }; + + var max$3 = Math.max; + var min$6 = Math.min; + + // Helper for a popular repeating case of the spec: + // Let integer be ? ToInteger(index). + // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). + var toAbsoluteIndex = function (index, length) { + var integer = toInteger(index); + return integer < 0 ? max$3(integer + length, 0) : min$6(integer, length); + }; + + // `Array.prototype.{ indexOf, includes }` methods implementation + var createMethod$5 = function (IS_INCLUDES) { + return function ($this, el, fromIndex) { + var O = toIndexedObject($this); + var length = toLength(O.length); + var index = toAbsoluteIndex(fromIndex, length); + var value; + // Array#includes uses SameValueZero equality algorithm + // eslint-disable-next-line no-self-compare -- NaN check + if (IS_INCLUDES && el != el) while (length > index) { + value = O[index++]; + // eslint-disable-next-line no-self-compare -- NaN check + if (value != value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) { + if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; + }; + + var arrayIncludes = { + // `Array.prototype.includes` method + // https://tc39.es/ecma262/#sec-array.prototype.includes + includes: createMethod$5(true), + // `Array.prototype.indexOf` method + // https://tc39.es/ecma262/#sec-array.prototype.indexof + indexOf: createMethod$5(false) + }; + + var indexOf$1 = arrayIncludes.indexOf; + + + var objectKeysInternal = function (object, names) { + var O = toIndexedObject(object); + var i = 0; + var result = []; + var key; + for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key); + // Don't enum bug & hidden keys + while (names.length > i) if (has$1(O, key = names[i++])) { + ~indexOf$1(result, key) || result.push(key); + } + return result; + }; + + // IE8- don't enum bug keys + var enumBugKeys = [ + 'constructor', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'toLocaleString', + 'toString', + 'valueOf' + ]; + + var hiddenKeys = enumBugKeys.concat('length', 'prototype'); + + // `Object.getOwnPropertyNames` method + // https://tc39.es/ecma262/#sec-object.getownpropertynames + // eslint-disable-next-line es/no-object-getownpropertynames -- safe + var f$4 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return objectKeysInternal(O, hiddenKeys); + }; + + var objectGetOwnPropertyNames = { + f: f$4 + }; + + // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe + var f$3 = Object.getOwnPropertySymbols; + + var objectGetOwnPropertySymbols = { + f: f$3 + }; + + // all object keys, includes non-enumerable and symbols + var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { + var keys = objectGetOwnPropertyNames.f(anObject(it)); + var getOwnPropertySymbols = objectGetOwnPropertySymbols.f; + return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; + }; + + var copyConstructorProperties = function (target, source) { + var keys = ownKeys$1(source); + var defineProperty = objectDefineProperty.f; + var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } + }; + + var replacement = /#|\.prototype\./; + + var isForced = function (feature, detection) { + var value = data[normalize$1(feature)]; + return value == POLYFILL ? true + : value == NATIVE ? false + : typeof detection == 'function' ? fails(detection) + : !!detection; + }; + + var normalize$1 = isForced.normalize = function (string) { + return String(string).replace(replacement, '.').toLowerCase(); + }; + + var data = isForced.data = {}; + var NATIVE = isForced.NATIVE = 'N'; + var POLYFILL = isForced.POLYFILL = 'P'; + + var isForced_1 = isForced; + + var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f; + + + + + + + /* + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.noTargetGet - prevent calling a getter on target + */ + var _export = function (options, source) { + var TARGET = options.target; + var GLOBAL = options.global; + var STATIC = options.stat; + var FORCED, target, key, targetProperty, sourceProperty, descriptor; + if (GLOBAL) { + target = global_1; + } else if (STATIC) { + target = global_1[TARGET] || setGlobal(TARGET, {}); + } else { + target = (global_1[TARGET] || {}).prototype; + } + if (target) for (key in source) { + sourceProperty = source[key]; + if (options.noTargetGet) { + descriptor = getOwnPropertyDescriptor$2(target, key); + targetProperty = descriptor && descriptor.value; + } else targetProperty = target[key]; + FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); + // contained in target + if (!FORCED && targetProperty !== undefined) { + if (typeof sourceProperty === typeof targetProperty) continue; + copyConstructorProperties(sourceProperty, targetProperty); + } + // add a flag to not completely full polyfills + if (options.sham || (targetProperty && targetProperty.sham)) { + createNonEnumerableProperty(sourceProperty, 'sham', true); + } + // extend global + redefine(target, key, sourceProperty, options); + } + }; + + var aFunction = function (it) { + if (typeof it != 'function') { + throw TypeError(String(it) + ' is not a function'); + } return it; + }; + + // optional / simple context binding + var functionBindContext = function (fn, that, length) { + aFunction(fn); + if (that === undefined) return fn; + switch (length) { + case 0: return function () { + return fn.call(that); + }; + case 1: return function (a) { + return fn.call(that, a); + }; + case 2: return function (a, b) { + return fn.call(that, a, b); + }; + case 3: return function (a, b, c) { + return fn.call(that, a, b, c); + }; + } + return function (/* ...args */) { + return fn.apply(that, arguments); + }; + }; + + // `IsArray` abstract operation + // https://tc39.es/ecma262/#sec-isarray + // eslint-disable-next-line es/no-array-isarray -- safe + var isArray$3 = Array.isArray || function isArray(arg) { + return classofRaw(arg) == 'Array'; + }; + + var engineUserAgent = getBuiltIn('navigator', 'userAgent') || ''; + + var process$4 = global_1.process; + var versions$1 = process$4 && process$4.versions; + var v8 = versions$1 && versions$1.v8; + var match, version$2; + + if (v8) { + match = v8.split('.'); + version$2 = match[0] < 4 ? 1 : match[0] + match[1]; + } else if (engineUserAgent) { + match = engineUserAgent.match(/Edge\/(\d+)/); + if (!match || match[1] >= 74) { + match = engineUserAgent.match(/Chrome\/(\d+)/); + if (match) version$2 = match[1]; + } + } + + var engineV8Version = version$2 && +version$2; + + /* eslint-disable es/no-symbol -- required for testing */ + + + + // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing + var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () { + var symbol = Symbol(); + // Chrome 38 Symbol has incorrect toString conversion + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances + return !String(symbol) || !(Object(symbol) instanceof Symbol) || + // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances + !Symbol.sham && engineV8Version && engineV8Version < 41; + }); + + /* eslint-disable es/no-symbol -- required for testing */ + + + var useSymbolAsUid = nativeSymbol + && !Symbol.sham + && typeof Symbol.iterator == 'symbol'; + + var WellKnownSymbolsStore$1 = shared('wks'); + var Symbol$1 = global_1.Symbol; + var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid; + + var wellKnownSymbol = function (name) { + if (!has$1(WellKnownSymbolsStore$1, name) || !(nativeSymbol || typeof WellKnownSymbolsStore$1[name] == 'string')) { + if (nativeSymbol && has$1(Symbol$1, name)) { + WellKnownSymbolsStore$1[name] = Symbol$1[name]; + } else { + WellKnownSymbolsStore$1[name] = createWellKnownSymbol('Symbol.' + name); + } + } return WellKnownSymbolsStore$1[name]; + }; + + var SPECIES$6 = wellKnownSymbol('species'); + + // `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + var arraySpeciesCreate = function (originalArray, length) { + var C; + if (isArray$3(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (typeof C == 'function' && (C === Array || isArray$3(C.prototype))) C = undefined; + else if (isObject$1(C)) { + C = C[SPECIES$6]; + if (C === null) C = undefined; + } + } return new (C === undefined ? Array : C)(length === 0 ? 0 : length); + }; + + var push = [].push; + + // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation + var createMethod$4 = function (TYPE) { + var IS_MAP = TYPE == 1; + var IS_FILTER = TYPE == 2; + var IS_SOME = TYPE == 3; + var IS_EVERY = TYPE == 4; + var IS_FIND_INDEX = TYPE == 6; + var IS_FILTER_OUT = TYPE == 7; + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + return function ($this, callbackfn, that, specificCreate) { + var O = toObject($this); + var self = indexedObject(O); + var boundFunction = functionBindContext(callbackfn, that, 3); + var length = toLength(self.length); + var index = 0; + var create = specificCreate || arraySpeciesCreate; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined; + var value, result; + for (;length > index; index++) if (NO_HOLES || index in self) { + value = self[index]; + result = boundFunction(value, index, O); + if (TYPE) { + if (IS_MAP) target[index] = result; // map + else if (result) switch (TYPE) { + case 3: return true; // some + case 5: return value; // find + case 6: return index; // findIndex + case 2: push.call(target, value); // filter + } else switch (TYPE) { + case 4: return false; // every + case 7: push.call(target, value); // filterOut + } + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; + }; + }; + + var arrayIteration = { + // `Array.prototype.forEach` method + // https://tc39.es/ecma262/#sec-array.prototype.foreach + forEach: createMethod$4(0), + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + map: createMethod$4(1), + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + filter: createMethod$4(2), + // `Array.prototype.some` method + // https://tc39.es/ecma262/#sec-array.prototype.some + some: createMethod$4(3), + // `Array.prototype.every` method + // https://tc39.es/ecma262/#sec-array.prototype.every + every: createMethod$4(4), + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + find: createMethod$4(5), + // `Array.prototype.findIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findIndex + findIndex: createMethod$4(6), + // `Array.prototype.filterOut` method + // https://github.com/tc39/proposal-array-filtering + filterOut: createMethod$4(7) + }; + + var SPECIES$5 = wellKnownSymbol('species'); + + var arrayMethodHasSpeciesSupport = function (METHOD_NAME) { + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/677 + return engineV8Version >= 51 || !fails(function () { + var array = []; + var constructor = array.constructor = {}; + constructor[SPECIES$5] = function () { + return { foo: 1 }; + }; + return array[METHOD_NAME](Boolean).foo !== 1; + }); + }; + + var $filter$1 = arrayIteration.filter; + + + var HAS_SPECIES_SUPPORT$3 = arrayMethodHasSpeciesSupport('filter'); + + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + // with adding support of @@species + _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, { + filter: function filter(callbackfn /* , thisArg */) { + return $filter$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + var createProperty = function (object, key, value) { + var propertyKey = toPrimitive(key); + if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value)); + else object[propertyKey] = value; + }; + + var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport('splice'); + + var max$2 = Math.max; + var min$5 = Math.min; + var MAX_SAFE_INTEGER$1 = 0x1FFFFFFFFFFFFF; + var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; + + // `Array.prototype.splice` method + // https://tc39.es/ecma262/#sec-array.prototype.splice + // with adding support of @@species + _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, { + splice: function splice(start, deleteCount /* , ...items */) { + var O = toObject(this); + var len = toLength(O.length); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var insertCount, actualDeleteCount, A, k, from, to; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + insertCount = argumentsLength - 2; + actualDeleteCount = min$5(max$2(toInteger(deleteCount), 0), len - actualStart); + } + if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER$1) { + throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED); + } + A = arraySpeciesCreate(O, actualDeleteCount); + for (k = 0; k < actualDeleteCount; k++) { + from = actualStart + k; + if (from in O) createProperty(A, k, O[from]); + } + A.length = actualDeleteCount; + if (insertCount < actualDeleteCount) { + for (k = actualStart; k < len - actualDeleteCount; k++) { + from = k + actualDeleteCount; + to = k + insertCount; + if (from in O) O[to] = O[from]; + else delete O[to]; + } + for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1]; + } else if (insertCount > actualDeleteCount) { + for (k = len - actualDeleteCount; k > actualStart; k--) { + from = k + actualDeleteCount - 1; + to = k + insertCount - 1; + if (from in O) O[to] = O[from]; + else delete O[to]; + } + } + for (k = 0; k < insertCount; k++) { + O[k + actualStart] = arguments[k + 2]; + } + O.length = len - actualDeleteCount + insertCount; + return A; + } + }); + + // `Object.keys` method + // https://tc39.es/ecma262/#sec-object.keys + // eslint-disable-next-line es/no-object-keys -- safe + var objectKeys = Object.keys || function keys(O) { + return objectKeysInternal(O, enumBugKeys); + }; + + // eslint-disable-next-line es/no-object-assign -- safe + var $assign = Object.assign; + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + var defineProperty$9 = Object.defineProperty; + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + var objectAssign = !$assign || fails(function () { + // should have correct order of operations (Edge bug) + if (descriptors && $assign({ b: 1 }, $assign(defineProperty$9({}, 'a', { + enumerable: true, + get: function () { + defineProperty$9(this, 'b', { + value: 3, + enumerable: false + }); + } + }), { b: 2 })).b !== 1) return true; + // should work with symbols and should have deterministic property order (V8 bug) + var A = {}; + var B = {}; + // eslint-disable-next-line es/no-symbol -- safe + var symbol = Symbol(); + var alphabet = 'abcdefghijklmnopqrst'; + A[symbol] = 7; + alphabet.split('').forEach(function (chr) { B[chr] = chr; }); + return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet; + }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` + var T = toObject(target); + var argumentsLength = arguments.length; + var index = 1; + var getOwnPropertySymbols = objectGetOwnPropertySymbols.f; + var propertyIsEnumerable = objectPropertyIsEnumerable.f; + while (argumentsLength > index) { + var S = indexedObject(arguments[index++]); + var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) { + key = keys[j++]; + if (!descriptors || propertyIsEnumerable.call(S, key)) T[key] = S[key]; + } + } return T; + } : $assign; + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + // eslint-disable-next-line es/no-object-assign -- required for testing + _export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }, { + assign: objectAssign + }); + + var FAILS_ON_PRIMITIVES$4 = fails(function () { objectKeys(1); }); + + // `Object.keys` method + // https://tc39.es/ecma262/#sec-object.keys + _export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$4 }, { + keys: function keys(it) { + return objectKeys(toObject(it)); + } + }); + + // `RegExp.prototype.flags` getter implementation + // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags + var regexpFlags = function () { + var that = anObject(this); + var result = ''; + if (that.global) result += 'g'; + if (that.ignoreCase) result += 'i'; + if (that.multiline) result += 'm'; + if (that.dotAll) result += 's'; + if (that.unicode) result += 'u'; + if (that.sticky) result += 'y'; + return result; + }; + + // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError, + var RE = function (s, f) { + return RegExp(s, f); + }; + + var UNSUPPORTED_Y$3 = fails(function () { + var re = RE('a', 'y'); + re.lastIndex = 2; + return re.exec('abcd') != null; + }); + + var BROKEN_CARET = fails(function () { + // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 + var re = RE('^r', 'gy'); + re.lastIndex = 2; + return re.exec('str') != null; + }); + + var regexpStickyHelpers = { + UNSUPPORTED_Y: UNSUPPORTED_Y$3, + BROKEN_CARET: BROKEN_CARET + }; + + // `Object.defineProperties` method + // https://tc39.es/ecma262/#sec-object.defineproperties + // eslint-disable-next-line es/no-object-defineproperties -- safe + var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var keys = objectKeys(Properties); + var length = keys.length; + var index = 0; + var key; + while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]); + return O; + }; + + var html$1 = getBuiltIn('document', 'documentElement'); + + var GT = '>'; + var LT = '<'; + var PROTOTYPE$2 = 'prototype'; + var SCRIPT = 'script'; + var IE_PROTO$1 = sharedKey('IE_PROTO'); + + var EmptyConstructor = function () { /* empty */ }; + + var scriptTag = function (content) { + return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; + }; + + // Create object with fake `null` prototype: use ActiveX Object with cleared prototype + var NullProtoObjectViaActiveX = function (activeXDocument) { + activeXDocument.write(scriptTag('')); + activeXDocument.close(); + var temp = activeXDocument.parentWindow.Object; + activeXDocument = null; // avoid memory leak + return temp; + }; + + // Create object with fake `null` prototype: use iframe Object with cleared prototype + var NullProtoObjectViaIFrame = function () { + // Thrash, waste and sodomy: IE GC bug + var iframe = documentCreateElement('iframe'); + var JS = 'java' + SCRIPT + ':'; + var iframeDocument; + iframe.style.display = 'none'; + html$1.appendChild(iframe); + // https://github.com/zloirock/core-js/issues/475 + iframe.src = String(JS); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(scriptTag('document.F=Object')); + iframeDocument.close(); + return iframeDocument.F; + }; + + // Check for document.domain and active x support + // No need to use active x approach when document.domain is not set + // see https://github.com/es-shims/es5-shim/issues/150 + // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 + // avoid IE GC bug + var activeXDocument; + var NullProtoObject = function () { + try { + /* global ActiveXObject -- old IE */ + activeXDocument = document.domain && new ActiveXObject('htmlfile'); + } catch (error) { /* ignore */ } + NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame(); + var length = enumBugKeys.length; + while (length--) delete NullProtoObject[PROTOTYPE$2][enumBugKeys[length]]; + return NullProtoObject(); + }; + + hiddenKeys$1[IE_PROTO$1] = true; + + // `Object.create` method + // https://tc39.es/ecma262/#sec-object.create + var objectCreate = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + EmptyConstructor[PROTOTYPE$2] = anObject(O); + result = new EmptyConstructor(); + EmptyConstructor[PROTOTYPE$2] = null; + // add "__proto__" for Object.getPrototypeOf polyfill + result[IE_PROTO$1] = O; + } else result = NullProtoObject(); + return Properties === undefined ? result : objectDefineProperties(result, Properties); + }; + + var regexpUnsupportedDotAll = fails(function () { + // babel-minify transpiles RegExp('.', 's') -> /./s and it causes SyntaxError + var re = RegExp('.', (typeof '').charAt(0)); + return !(re.dotAll && re.exec('\n') && re.flags === 's'); + }); + + var regexpUnsupportedNcg = fails(function () { + // babel-minify transpiles RegExp('.', 'g') -> /./g and it causes SyntaxError + var re = RegExp('(?<a>b)', (typeof '').charAt(5)); + return re.exec('b').groups.a !== 'b' || + 'b'.replace(re, '$<a>c') !== 'bc'; + }); + + /* eslint-disable regexp/no-assertion-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ + /* eslint-disable regexp/no-useless-quantifier -- testing */ + + + + + var getInternalState$5 = internalState.get; + + + + var nativeExec = RegExp.prototype.exec; + var nativeReplace = shared('native-string-replace', String.prototype.replace); + + var patchedExec = nativeExec; + + var UPDATES_LAST_INDEX_WRONG = (function () { + var re1 = /a/; + var re2 = /b*/g; + nativeExec.call(re1, 'a'); + nativeExec.call(re2, 'a'); + return re1.lastIndex !== 0 || re2.lastIndex !== 0; + })(); + + var UNSUPPORTED_Y$2 = regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET; + + // nonparticipating capturing group, copied from es5-shim's String#split patch. + var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; + + var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$2 || regexpUnsupportedDotAll || regexpUnsupportedNcg; + + if (PATCH) { + // eslint-disable-next-line max-statements -- TODO + patchedExec = function exec(str) { + var re = this; + var state = getInternalState$5(re); + var raw = state.raw; + var result, reCopy, lastIndex, match, i, object, group; + + if (raw) { + raw.lastIndex = re.lastIndex; + result = patchedExec.call(raw, str); + re.lastIndex = raw.lastIndex; + return result; + } + + var groups = state.groups; + var sticky = UNSUPPORTED_Y$2 && re.sticky; + var flags = regexpFlags.call(re); + var source = re.source; + var charsAdded = 0; + var strCopy = str; + + if (sticky) { + flags = flags.replace('y', ''); + if (flags.indexOf('g') === -1) { + flags += 'g'; + } + + strCopy = String(str).slice(re.lastIndex); + // Support anchored sticky behavior. + if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) { + source = '(?: ' + source + ')'; + strCopy = ' ' + strCopy; + charsAdded++; + } + // ^(? + rx + ) is needed, in combination with some str slicing, to + // simulate the 'y' flag. + reCopy = new RegExp('^(?:' + source + ')', flags); + } + + if (NPCG_INCLUDED) { + reCopy = new RegExp('^' + source + '$(?!\\s)', flags); + } + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; + + match = nativeExec.call(sticky ? reCopy : re, strCopy); + + if (sticky) { + if (match) { + match.input = match.input.slice(charsAdded); + match[0] = match[0].slice(charsAdded); + match.index = re.lastIndex; + re.lastIndex += match[0].length; + } else re.lastIndex = 0; + } else if (UPDATES_LAST_INDEX_WRONG && match) { + re.lastIndex = re.global ? match.index + match[0].length : lastIndex; + } + if (NPCG_INCLUDED && match && match.length > 1) { + // Fix browsers whose `exec` methods don't consistently return `undefined` + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ + nativeReplace.call(match[0], reCopy, function () { + for (i = 1; i < arguments.length - 2; i++) { + if (arguments[i] === undefined) match[i] = undefined; + } + }); + } + + if (match && groups) { + match.groups = object = objectCreate(null); + for (i = 0; i < groups.length; i++) { + group = groups[i]; + object[group[0]] = match[group[1]]; + } + } + + return match; + }; + } + + var regexpExec = patchedExec; + + // `RegExp.prototype.exec` method + // https://tc39.es/ecma262/#sec-regexp.prototype.exec + _export({ target: 'RegExp', proto: true, forced: /./.exec !== regexpExec }, { + exec: regexpExec + }); + + // TODO: Remove from `core-js@4` since it's moved to entry points + + + + + + + + var SPECIES$4 = wellKnownSymbol('species'); + var RegExpPrototype$2 = RegExp.prototype; + + var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) { + var SYMBOL = wellKnownSymbol(KEY); + + var DELEGATES_TO_SYMBOL = !fails(function () { + // String methods call symbol-named RegEp methods + var O = {}; + O[SYMBOL] = function () { return 7; }; + return ''[KEY](O) != 7; + }); + + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () { + // Symbol-named RegExp methods call .exec + var execCalled = false; + var re = /a/; + + if (KEY === 'split') { + // We can't use real regex here since it causes deoptimization + // and serious performance degradation in V8 + // https://github.com/zloirock/core-js/issues/306 + re = {}; + // RegExp[@@split] doesn't call the regex's exec method, but first creates + // a new one. We need to return the patched regex when creating the new one. + re.constructor = {}; + re.constructor[SPECIES$4] = function () { return re; }; + re.flags = ''; + re[SYMBOL] = /./[SYMBOL]; + } + + re.exec = function () { execCalled = true; return null; }; + + re[SYMBOL](''); + return !execCalled; + }); + + if ( + !DELEGATES_TO_SYMBOL || + !DELEGATES_TO_EXEC || + FORCED + ) { + var nativeRegExpMethod = /./[SYMBOL]; + var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { + var $exec = regexp.exec; + if ($exec === regexpExec || $exec === RegExpPrototype$2.exec) { + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { + // The native String method already delegates to @@method (this + // polyfilled function), leasing to infinite recursion. + // We avoid it by directly calling the native @@method method. + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; + } + return { done: true, value: nativeMethod.call(str, regexp, arg2) }; + } + return { done: false }; + }); + + redefine(String.prototype, KEY, methods[0]); + redefine(RegExpPrototype$2, SYMBOL, methods[1]); + } + + if (SHAM) createNonEnumerableProperty(RegExpPrototype$2[SYMBOL], 'sham', true); + }; + + // `SameValue` abstract operation + // https://tc39.es/ecma262/#sec-samevalue + // eslint-disable-next-line es/no-object-is -- safe + var sameValue = Object.is || function is(x, y) { + // eslint-disable-next-line no-self-compare -- NaN check + return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; + }; + + // `RegExpExec` abstract operation + // https://tc39.es/ecma262/#sec-regexpexec + var regexpExecAbstract = function (R, S) { + var exec = R.exec; + if (typeof exec === 'function') { + var result = exec.call(R, S); + if (typeof result !== 'object') { + throw TypeError('RegExp exec method returned something other than an Object or null'); + } + return result; + } + + if (classofRaw(R) !== 'RegExp') { + throw TypeError('RegExp#exec called on incompatible receiver'); + } + + return regexpExec.call(R, S); + }; + + // @@search logic + fixRegexpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) { + return [ + // `String.prototype.search` method + // https://tc39.es/ecma262/#sec-string.prototype.search + function search(regexp) { + var O = requireObjectCoercible(this); + var searcher = regexp == undefined ? undefined : regexp[SEARCH]; + return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); + }, + // `RegExp.prototype[@@search]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@search + function (string) { + var res = maybeCallNative(nativeSearch, this, string); + if (res.done) return res.value; + + var rx = anObject(this); + var S = String(string); + + var previousLastIndex = rx.lastIndex; + if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; + var result = regexpExecAbstract(rx, S); + if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; + return result === null ? -1 : result.index; + } + ]; + }); + + // iterable DOM collections + // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods + var domIterables = { + CSSRuleList: 0, + CSSStyleDeclaration: 0, + CSSValueList: 0, + ClientRectList: 0, + DOMRectList: 0, + DOMStringList: 0, + DOMTokenList: 1, + DataTransferItemList: 0, + FileList: 0, + HTMLAllCollection: 0, + HTMLCollection: 0, + HTMLFormElement: 0, + HTMLSelectElement: 0, + MediaList: 0, + MimeTypeArray: 0, + NamedNodeMap: 0, + NodeList: 1, + PaintRequestList: 0, + Plugin: 0, + PluginArray: 0, + SVGLengthList: 0, + SVGNumberList: 0, + SVGPathSegList: 0, + SVGPointList: 0, + SVGStringList: 0, + SVGTransformList: 0, + SourceBufferList: 0, + StyleSheetList: 0, + TextTrackCueList: 0, + TextTrackList: 0, + TouchList: 0 + }; + + var arrayMethodIsStrict = function (METHOD_NAME, argument) { + var method = [][METHOD_NAME]; + return !!method && fails(function () { + // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing + method.call(null, argument || function () { throw 1; }, 1); + }); + }; + + var $forEach$2 = arrayIteration.forEach; + + + var STRICT_METHOD$3 = arrayMethodIsStrict('forEach'); + + // `Array.prototype.forEach` method implementation + // https://tc39.es/ecma262/#sec-array.prototype.foreach + var arrayForEach = !STRICT_METHOD$3 ? function forEach(callbackfn /* , thisArg */) { + return $forEach$2(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + // eslint-disable-next-line es/no-array-prototype-foreach -- safe + } : [].forEach; + + for (var COLLECTION_NAME$1 in domIterables) { + var Collection$1 = global_1[COLLECTION_NAME$1]; + var CollectionPrototype$1 = Collection$1 && Collection$1.prototype; + // some Chrome versions have non-configurable methods on DOMTokenList + if (CollectionPrototype$1 && CollectionPrototype$1.forEach !== arrayForEach) try { + createNonEnumerableProperty(CollectionPrototype$1, 'forEach', arrayForEach); + } catch (error) { + CollectionPrototype$1.forEach = arrayForEach; + } + } + + var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); + var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; + var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; + + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/679 + var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () { + var array = []; + array[IS_CONCAT_SPREADABLE] = false; + return array.concat()[0] !== array; + }); + + var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat'); + + var isConcatSpreadable = function (O) { + if (!isObject$1(O)) return false; + var spreadable = O[IS_CONCAT_SPREADABLE]; + return spreadable !== undefined ? !!spreadable : isArray$3(O); + }; + + var FORCED$8 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; + + // `Array.prototype.concat` method + // https://tc39.es/ecma262/#sec-array.prototype.concat + // with adding support of @@isConcatSpreadable and @@species + _export({ target: 'Array', proto: true, forced: FORCED$8 }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + concat: function concat(arg) { + var O = toObject(this); + var A = arraySpeciesCreate(O, 0); + var n = 0; + var i, k, length, len, E; + for (i = -1, length = arguments.length; i < length; i++) { + E = i === -1 ? O : arguments[i]; + if (isConcatSpreadable(E)) { + len = toLength(E.length); + if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); + } else { + if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + createProperty(A, n++, E); + } + } + A.length = n; + return A; + } + }); + + var global$2 = typeof global$1 !== "undefined" ? global$1 : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}; + + var global$1 = typeof global$2 !== "undefined" ? global$2 : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}; + + // based off https://github.com/defunctzombie/node-process/blob/master/browser.js + + function defaultSetTimout$1() { + throw new Error('setTimeout has not been defined'); + } + + function defaultClearTimeout$1() { + throw new Error('clearTimeout has not been defined'); + } + + var cachedSetTimeout$1 = defaultSetTimout$1; + var cachedClearTimeout$1 = defaultClearTimeout$1; + + if (typeof global$1.setTimeout === 'function') { + cachedSetTimeout$1 = setTimeout; + } + + if (typeof global$1.clearTimeout === 'function') { + cachedClearTimeout$1 = clearTimeout; + } + + function runTimeout$1(fun) { + if (cachedSetTimeout$1 === setTimeout) { + //normal enviroments in sane situations + return setTimeout(fun, 0); + } // if setTimeout wasn't available but was latter defined + + + if ((cachedSetTimeout$1 === defaultSetTimout$1 || !cachedSetTimeout$1) && setTimeout) { + cachedSetTimeout$1 = setTimeout; + return setTimeout(fun, 0); + } + + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedSetTimeout$1(fun, 0); + } catch (e) { + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedSetTimeout$1.call(null, fun, 0); + } catch (e) { + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error + return cachedSetTimeout$1.call(this, fun, 0); + } + } + } + + function runClearTimeout$1(marker) { + if (cachedClearTimeout$1 === clearTimeout) { + //normal enviroments in sane situations + return clearTimeout(marker); + } // if clearTimeout wasn't available but was latter defined + + + if ((cachedClearTimeout$1 === defaultClearTimeout$1 || !cachedClearTimeout$1) && clearTimeout) { + cachedClearTimeout$1 = clearTimeout; + return clearTimeout(marker); + } + + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedClearTimeout$1(marker); + } catch (e) { + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedClearTimeout$1.call(null, marker); + } catch (e) { + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. + // Some versions of I.E. have different rules for clearTimeout vs setTimeout + return cachedClearTimeout$1.call(this, marker); + } + } + } + + var queue$2 = []; + var draining$1 = false; + var currentQueue$1; + var queueIndex$1 = -1; + + function cleanUpNextTick$1() { + if (!draining$1 || !currentQueue$1) { + return; + } + + draining$1 = false; + + if (currentQueue$1.length) { + queue$2 = currentQueue$1.concat(queue$2); + } else { + queueIndex$1 = -1; + } + + if (queue$2.length) { + drainQueue$1(); + } + } + + function drainQueue$1() { + if (draining$1) { + return; + } + + var timeout = runTimeout$1(cleanUpNextTick$1); + draining$1 = true; + var len = queue$2.length; + + while (len) { + currentQueue$1 = queue$2; + queue$2 = []; + + while (++queueIndex$1 < len) { + if (currentQueue$1) { + currentQueue$1[queueIndex$1].run(); + } + } + + queueIndex$1 = -1; + len = queue$2.length; + } + + currentQueue$1 = null; + draining$1 = false; + runClearTimeout$1(timeout); + } + + function nextTick$1(fun) { + var args = new Array(arguments.length - 1); + + if (arguments.length > 1) { + for (var i = 1; i < arguments.length; i++) { + args[i - 1] = arguments[i]; + } + } + + queue$2.push(new Item$1(fun, args)); + + if (queue$2.length === 1 && !draining$1) { + runTimeout$1(drainQueue$1); + } + } // v8 likes predictible objects + + function Item$1(fun, array) { + this.fun = fun; + this.array = array; + } + + Item$1.prototype.run = function () { + this.fun.apply(null, this.array); + }; + + var title = 'browser'; + var platform = 'browser'; + var browser$3 = true; + var env = {}; + var argv = []; + var version$1 = ''; // empty string to avoid regexp issues + + var versions = {}; + var release = {}; + var config = {}; + + function noop() {} + + var on = noop; + var addListener = noop; + var once = noop; + var off = noop; + var removeListener = noop; + var removeAllListeners = noop; + var emit = noop; + function binding(name) { + throw new Error('process.binding is not supported'); + } + function cwd() { + return '/'; + } + function chdir(dir) { + throw new Error('process.chdir is not supported'); + } + function umask() { + return 0; + } // from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js + + var performance$1 = global$1.performance || {}; + + var performanceNow = performance$1.now || performance$1.mozNow || performance$1.msNow || performance$1.oNow || performance$1.webkitNow || function () { + return new Date().getTime(); + }; // generate timestamp or delta + // see http://nodejs.org/api/process.html#process_process_hrtime + + + function hrtime(previousTimestamp) { + var clocktime = performanceNow.call(performance$1) * 1e-3; + var seconds = Math.floor(clocktime); + var nanoseconds = Math.floor(clocktime % 1 * 1e9); + + if (previousTimestamp) { + seconds = seconds - previousTimestamp[0]; + nanoseconds = nanoseconds - previousTimestamp[1]; + + if (nanoseconds < 0) { + seconds--; + nanoseconds += 1e9; + } + } + + return [seconds, nanoseconds]; + } + var startTime = new Date(); + function uptime() { + var currentTime = new Date(); + var dif = currentTime - startTime; + return dif / 1000; + } + var process$3 = { + nextTick: nextTick$1, + title: title, + browser: browser$3, + env: env, + argv: argv, + version: version$1, + versions: versions, + on: on, + addListener: addListener, + once: once, + off: off, + removeListener: removeListener, + removeAllListeners: removeAllListeners, + emit: emit, + binding: binding, + cwd: cwd, + chdir: chdir, + umask: umask, + hrtime: hrtime, + platform: platform, + release: release, + config: config, + uptime: uptime + }; + + var TO_STRING_TAG$4 = wellKnownSymbol('toStringTag'); + var test$2 = {}; + + test$2[TO_STRING_TAG$4] = 'z'; + + var toStringTagSupport = String(test$2) === '[object z]'; + + var TO_STRING_TAG$3 = wellKnownSymbol('toStringTag'); + // ES3 wrong here + var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; + + // fallback for IE11 Script Access Denied error + var tryGet = function (it, key) { + try { + return it[key]; + } catch (error) { /* empty */ } + }; + + // getting tag from ES6+ `Object.prototype.toString` + var classof = toStringTagSupport ? classofRaw : function (it) { + var O, tag, result; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG$3)) == 'string' ? tag + // builtinTag case + : CORRECT_ARGUMENTS ? classofRaw(O) + // ES3 arguments fallback + : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result; + }; + + // `Object.prototype.toString` method implementation + // https://tc39.es/ecma262/#sec-object.prototype.tostring + var objectToString$1 = toStringTagSupport ? {}.toString : function toString() { + return '[object ' + classof(this) + ']'; + }; + + // `Object.prototype.toString` method + // https://tc39.es/ecma262/#sec-object.prototype.tostring + if (!toStringTagSupport) { + redefine(Object.prototype, 'toString', objectToString$1, { unsafe: true }); + } + + var TO_STRING = 'toString'; + var RegExpPrototype$1 = RegExp.prototype; + var nativeToString = RegExpPrototype$1[TO_STRING]; + + var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; }); + // FF44- RegExp#toString has a wrong name + var INCORRECT_NAME = nativeToString.name != TO_STRING; + + // `RegExp.prototype.toString` method + // https://tc39.es/ecma262/#sec-regexp.prototype.tostring + if (NOT_GENERIC || INCORRECT_NAME) { + redefine(RegExp.prototype, TO_STRING, function toString() { + var R = anObject(this); + var p = String(R.source); + var rf = R.flags; + var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype$1) ? regexpFlags.call(R) : rf); + return '/' + p + '/' + f; + }, { unsafe: true }); + } + + var defineProperty$8 = objectDefineProperty.f; + + var FunctionPrototype = Function.prototype; + var FunctionPrototypeToString = FunctionPrototype.toString; + var nameRE = /^\s*function ([^ (]*)/; + var NAME$1 = 'name'; + + // Function instances `.name` property + // https://tc39.es/ecma262/#sec-function-instances-name + if (descriptors && !(NAME$1 in FunctionPrototype)) { + defineProperty$8(FunctionPrototype, NAME$1, { + configurable: true, + get: function () { + try { + return FunctionPrototypeToString.call(this).match(nameRE)[1]; + } catch (error) { + return ''; + } + } + }); + } + + var correctPrototypeGetter = !fails(function () { + function F() { /* empty */ } + F.prototype.constructor = null; + // eslint-disable-next-line es/no-object-getprototypeof -- required for testing + return Object.getPrototypeOf(new F()) !== F.prototype; + }); + + var IE_PROTO = sharedKey('IE_PROTO'); + var ObjectPrototype$3 = Object.prototype; + + // `Object.getPrototypeOf` method + // https://tc39.es/ecma262/#sec-object.getprototypeof + // eslint-disable-next-line es/no-object-getprototypeof -- safe + var objectGetPrototypeOf = correctPrototypeGetter ? Object.getPrototypeOf : function (O) { + O = toObject(O); + if (has$1(O, IE_PROTO)) return O[IE_PROTO]; + if (typeof O.constructor == 'function' && O instanceof O.constructor) { + return O.constructor.prototype; + } return O instanceof Object ? ObjectPrototype$3 : null; + }; + + var FAILS_ON_PRIMITIVES$3 = fails(function () { objectGetPrototypeOf(1); }); + + // `Object.getPrototypeOf` method + // https://tc39.es/ecma262/#sec-object.getprototypeof + _export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$3, sham: !correctPrototypeGetter }, { + getPrototypeOf: function getPrototypeOf(it) { + return objectGetPrototypeOf(toObject(it)); + } + }); + + // `Reflect.ownKeys` method + // https://tc39.es/ecma262/#sec-reflect.ownkeys + _export({ target: 'Reflect', stat: true }, { + ownKeys: ownKeys$1 + }); + + var domain; // This constructor is used to store event handlers. Instantiating this is + // faster than explicitly calling `Object.create(null)` to get a "clean" empty + // object (tested with v8 v4.9). + + function EventHandlers() {} + + EventHandlers.prototype = Object.create(null); + + function EventEmitter$2() { + EventEmitter$2.init.call(this); + } + // require('events') === require('events').EventEmitter + + EventEmitter$2.EventEmitter = EventEmitter$2; + EventEmitter$2.usingDomains = false; + EventEmitter$2.prototype.domain = undefined; + EventEmitter$2.prototype._events = undefined; + EventEmitter$2.prototype._maxListeners = undefined; // By default EventEmitters will print a warning if more than 10 listeners are + // added to it. This is a useful default which helps finding memory leaks. + + EventEmitter$2.defaultMaxListeners = 10; + + EventEmitter$2.init = function () { + this.domain = null; + + if (EventEmitter$2.usingDomains) { + // if there is an active domain, then attach to it. + if (domain.active ) ; + } + + if (!this._events || this._events === Object.getPrototypeOf(this)._events) { + this._events = new EventHandlers(); + this._eventsCount = 0; + } + + this._maxListeners = this._maxListeners || undefined; + }; // Obviously not all Emitters should be limited to 10. This function allows + // that to be increased. Set to zero for unlimited. + + + EventEmitter$2.prototype.setMaxListeners = function setMaxListeners(n) { + if (typeof n !== 'number' || n < 0 || isNaN(n)) throw new TypeError('"n" argument must be a positive number'); + this._maxListeners = n; + return this; + }; + + function $getMaxListeners(that) { + if (that._maxListeners === undefined) return EventEmitter$2.defaultMaxListeners; + return that._maxListeners; + } + + EventEmitter$2.prototype.getMaxListeners = function getMaxListeners() { + return $getMaxListeners(this); + }; // These standalone emit* functions are used to optimize calling of event + // handlers for fast cases because emit() itself often has a variable number of + // arguments and can be deoptimized because of that. These functions always have + // the same number of arguments and thus do not get deoptimized, so the code + // inside them can execute faster. + + + function emitNone(handler, isFn, self) { + if (isFn) handler.call(self);else { + var len = handler.length; + var listeners = arrayClone(handler, len); + + for (var i = 0; i < len; ++i) { + listeners[i].call(self); + } + } + } + + function emitOne(handler, isFn, self, arg1) { + if (isFn) handler.call(self, arg1);else { + var len = handler.length; + var listeners = arrayClone(handler, len); + + for (var i = 0; i < len; ++i) { + listeners[i].call(self, arg1); + } + } + } + + function emitTwo(handler, isFn, self, arg1, arg2) { + if (isFn) handler.call(self, arg1, arg2);else { + var len = handler.length; + var listeners = arrayClone(handler, len); + + for (var i = 0; i < len; ++i) { + listeners[i].call(self, arg1, arg2); + } + } + } + + function emitThree(handler, isFn, self, arg1, arg2, arg3) { + if (isFn) handler.call(self, arg1, arg2, arg3);else { + var len = handler.length; + var listeners = arrayClone(handler, len); + + for (var i = 0; i < len; ++i) { + listeners[i].call(self, arg1, arg2, arg3); + } + } + } + + function emitMany(handler, isFn, self, args) { + if (isFn) handler.apply(self, args);else { + var len = handler.length; + var listeners = arrayClone(handler, len); + + for (var i = 0; i < len; ++i) { + listeners[i].apply(self, args); + } + } + } + + EventEmitter$2.prototype.emit = function emit(type) { + var er, handler, len, args, i, events, domain; + var doError = type === 'error'; + events = this._events; + if (events) doError = doError && events.error == null;else if (!doError) return false; + domain = this.domain; // If there is no 'error' event listener then throw. + + if (doError) { + er = arguments[1]; + + if (domain) { + if (!er) er = new Error('Uncaught, unspecified "error" event'); + er.domainEmitter = this; + er.domain = domain; + er.domainThrown = false; + domain.emit('error', er); + } else if (er instanceof Error) { + throw er; // Unhandled 'error' event + } else { + // At least give some kind of context to the user + var err = new Error('Uncaught, unspecified "error" event. (' + er + ')'); + err.context = er; + throw err; + } + + return false; + } + + handler = events[type]; + if (!handler) return false; + var isFn = typeof handler === 'function'; + len = arguments.length; + + switch (len) { + // fast cases + case 1: + emitNone(handler, isFn, this); + break; + + case 2: + emitOne(handler, isFn, this, arguments[1]); + break; + + case 3: + emitTwo(handler, isFn, this, arguments[1], arguments[2]); + break; + + case 4: + emitThree(handler, isFn, this, arguments[1], arguments[2], arguments[3]); + break; + // slower + + default: + args = new Array(len - 1); + + for (i = 1; i < len; i++) { + args[i - 1] = arguments[i]; + } + + emitMany(handler, isFn, this, args); + } + return true; + }; + + function _addListener(target, type, listener, prepend) { + var m; + var events; + var existing; + if (typeof listener !== 'function') throw new TypeError('"listener" argument must be a function'); + events = target._events; + + if (!events) { + events = target._events = new EventHandlers(); + target._eventsCount = 0; + } else { + // To avoid recursion in the case that type === "newListener"! Before + // adding it to the listeners, first emit "newListener". + if (events.newListener) { + target.emit('newListener', type, listener.listener ? listener.listener : listener); // Re-assign `events` because a newListener handler could have caused the + // this._events to be assigned to a new object + + events = target._events; + } + + existing = events[type]; + } + + if (!existing) { + // Optimize the case of one listener. Don't need the extra array object. + existing = events[type] = listener; + ++target._eventsCount; + } else { + if (typeof existing === 'function') { + // Adding the second element, need to change to array. + existing = events[type] = prepend ? [listener, existing] : [existing, listener]; + } else { + // If we've already got an array, just append. + if (prepend) { + existing.unshift(listener); + } else { + existing.push(listener); + } + } // Check for listener leak + + + if (!existing.warned) { + m = $getMaxListeners(target); + + if (m && m > 0 && existing.length > m) { + existing.warned = true; + var w = new Error('Possible EventEmitter memory leak detected. ' + existing.length + ' ' + type + ' listeners added. ' + 'Use emitter.setMaxListeners() to increase limit'); + w.name = 'MaxListenersExceededWarning'; + w.emitter = target; + w.type = type; + w.count = existing.length; + emitWarning$1(w); + } + } + } + + return target; + } + + function emitWarning$1(e) { + typeof console.warn === 'function' ? console.warn(e) : console.log(e); + } + + EventEmitter$2.prototype.addListener = function addListener(type, listener) { + return _addListener(this, type, listener, false); + }; + + EventEmitter$2.prototype.on = EventEmitter$2.prototype.addListener; + + EventEmitter$2.prototype.prependListener = function prependListener(type, listener) { + return _addListener(this, type, listener, true); + }; + + function _onceWrap(target, type, listener) { + var fired = false; + + function g() { + target.removeListener(type, g); + + if (!fired) { + fired = true; + listener.apply(target, arguments); + } + } + + g.listener = listener; + return g; + } + + EventEmitter$2.prototype.once = function once(type, listener) { + if (typeof listener !== 'function') throw new TypeError('"listener" argument must be a function'); + this.on(type, _onceWrap(this, type, listener)); + return this; + }; + + EventEmitter$2.prototype.prependOnceListener = function prependOnceListener(type, listener) { + if (typeof listener !== 'function') throw new TypeError('"listener" argument must be a function'); + this.prependListener(type, _onceWrap(this, type, listener)); + return this; + }; // emits a 'removeListener' event iff the listener was removed + + + EventEmitter$2.prototype.removeListener = function removeListener(type, listener) { + var list, events, position, i, originalListener; + if (typeof listener !== 'function') throw new TypeError('"listener" argument must be a function'); + events = this._events; + if (!events) return this; + list = events[type]; + if (!list) return this; + + if (list === listener || list.listener && list.listener === listener) { + if (--this._eventsCount === 0) this._events = new EventHandlers();else { + delete events[type]; + if (events.removeListener) this.emit('removeListener', type, list.listener || listener); + } + } else if (typeof list !== 'function') { + position = -1; + + for (i = list.length; i-- > 0;) { + if (list[i] === listener || list[i].listener && list[i].listener === listener) { + originalListener = list[i].listener; + position = i; + break; + } + } + + if (position < 0) return this; + + if (list.length === 1) { + list[0] = undefined; + + if (--this._eventsCount === 0) { + this._events = new EventHandlers(); + return this; + } else { + delete events[type]; + } + } else { + spliceOne(list, position); + } + + if (events.removeListener) this.emit('removeListener', type, originalListener || listener); + } + + return this; + }; + + EventEmitter$2.prototype.removeAllListeners = function removeAllListeners(type) { + var listeners, events; + events = this._events; + if (!events) return this; // not listening for removeListener, no need to emit + + if (!events.removeListener) { + if (arguments.length === 0) { + this._events = new EventHandlers(); + this._eventsCount = 0; + } else if (events[type]) { + if (--this._eventsCount === 0) this._events = new EventHandlers();else delete events[type]; + } + + return this; + } // emit removeListener for all listeners on all events + + + if (arguments.length === 0) { + var keys = Object.keys(events); + + for (var i = 0, key; i < keys.length; ++i) { + key = keys[i]; + if (key === 'removeListener') continue; + this.removeAllListeners(key); + } + + this.removeAllListeners('removeListener'); + this._events = new EventHandlers(); + this._eventsCount = 0; + return this; + } + + listeners = events[type]; + + if (typeof listeners === 'function') { + this.removeListener(type, listeners); + } else if (listeners) { + // LIFO order + do { + this.removeListener(type, listeners[listeners.length - 1]); + } while (listeners[0]); + } + + return this; + }; + + EventEmitter$2.prototype.listeners = function listeners(type) { + var evlistener; + var ret; + var events = this._events; + if (!events) ret = [];else { + evlistener = events[type]; + if (!evlistener) ret = [];else if (typeof evlistener === 'function') ret = [evlistener.listener || evlistener];else ret = unwrapListeners(evlistener); + } + return ret; + }; + + EventEmitter$2.listenerCount = function (emitter, type) { + if (typeof emitter.listenerCount === 'function') { + return emitter.listenerCount(type); + } else { + return listenerCount$1.call(emitter, type); + } + }; + + EventEmitter$2.prototype.listenerCount = listenerCount$1; + + function listenerCount$1(type) { + var events = this._events; + + if (events) { + var evlistener = events[type]; + + if (typeof evlistener === 'function') { + return 1; + } else if (evlistener) { + return evlistener.length; + } + } + + return 0; + } + + EventEmitter$2.prototype.eventNames = function eventNames() { + return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : []; + }; // About 1.5x faster than the two-arg version of Array#splice(). + + + function spliceOne(list, index) { + for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) { + list[i] = list[k]; + } + + list.pop(); + } + + function arrayClone(arr, i) { + var copy = new Array(i); + + while (i--) { + copy[i] = arr[i]; + } + + return copy; + } + + function unwrapListeners(arr) { + var ret = new Array(arr.length); + + for (var i = 0; i < ret.length; ++i) { + ret[i] = arr[i].listener || arr[i]; + } + + return ret; + } + + var nativeJoin = [].join; + + var ES3_STRINGS = indexedObject != Object; + var STRICT_METHOD$2 = arrayMethodIsStrict('join', ','); + + // `Array.prototype.join` method + // https://tc39.es/ecma262/#sec-array.prototype.join + _export({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$2 }, { + join: function join(separator) { + return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator); + } + }); + + var $map$1 = arrayIteration.map; + + + var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport('map'); + + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + // with adding support of @@species + _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, { + map: function map(callbackfn /* , thisArg */) { + return $map$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + var aPossiblePrototype = function (it) { + if (!isObject$1(it) && it !== null) { + throw TypeError("Can't set " + String(it) + ' as a prototype'); + } return it; + }; + + /* eslint-disable no-proto -- safe */ + + + + // `Object.setPrototypeOf` method + // https://tc39.es/ecma262/#sec-object.setprototypeof + // Works with __proto__ only. Old v8 can't work with null proto objects. + // eslint-disable-next-line es/no-object-setprototypeof -- safe + var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () { + var CORRECT_SETTER = false; + var test = {}; + var setter; + try { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; + setter.call(test, []); + CORRECT_SETTER = test instanceof Array; + } catch (error) { /* empty */ } + return function setPrototypeOf(O, proto) { + anObject(O); + aPossiblePrototype(proto); + if (CORRECT_SETTER) setter.call(O, proto); + else O.__proto__ = proto; + return O; + }; + }() : undefined); + + // makes subclassing work correct for wrapped built-ins + var inheritIfRequired = function ($this, dummy, Wrapper) { + var NewTarget, NewTargetPrototype; + if ( + // it can work only with native `setPrototypeOf` + objectSetPrototypeOf && + // we haven't completely correct pre-ES6 way for getting `new.target`, so use this + typeof (NewTarget = dummy.constructor) == 'function' && + NewTarget !== Wrapper && + isObject$1(NewTargetPrototype = NewTarget.prototype) && + NewTargetPrototype !== Wrapper.prototype + ) objectSetPrototypeOf($this, NewTargetPrototype); + return $this; + }; + + // a string of all valid unicode whitespaces + var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; + + var whitespace = '[' + whitespaces + ']'; + var ltrim = RegExp('^' + whitespace + whitespace + '*'); + var rtrim = RegExp(whitespace + whitespace + '*$'); + + // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation + var createMethod$3 = function (TYPE) { + return function ($this) { + var string = String(requireObjectCoercible($this)); + if (TYPE & 1) string = string.replace(ltrim, ''); + if (TYPE & 2) string = string.replace(rtrim, ''); + return string; + }; + }; + + var stringTrim = { + // `String.prototype.{ trimLeft, trimStart }` methods + // https://tc39.es/ecma262/#sec-string.prototype.trimstart + start: createMethod$3(1), + // `String.prototype.{ trimRight, trimEnd }` methods + // https://tc39.es/ecma262/#sec-string.prototype.trimend + end: createMethod$3(2), + // `String.prototype.trim` method + // https://tc39.es/ecma262/#sec-string.prototype.trim + trim: createMethod$3(3) + }; + + var getOwnPropertyNames$3 = objectGetOwnPropertyNames.f; + var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f; + var defineProperty$7 = objectDefineProperty.f; + var trim = stringTrim.trim; + + var NUMBER = 'Number'; + var NativeNumber = global_1[NUMBER]; + var NumberPrototype = NativeNumber.prototype; + + // Opera ~12 has broken Object#toString + var BROKEN_CLASSOF = classofRaw(objectCreate(NumberPrototype)) == NUMBER; + + // `ToNumber` abstract operation + // https://tc39.es/ecma262/#sec-tonumber + var toNumber = function (argument) { + var it = toPrimitive(argument, false); + var first, third, radix, maxCode, digits, length, index, code; + if (typeof it == 'string' && it.length > 2) { + it = trim(it); + first = it.charCodeAt(0); + if (first === 43 || first === 45) { + third = it.charCodeAt(2); + if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix + } else if (first === 48) { + switch (it.charCodeAt(1)) { + case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i + case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i + default: return +it; + } + digits = it.slice(2); + length = digits.length; + for (index = 0; index < length; index++) { + code = digits.charCodeAt(index); + // parseInt parses a string to a first unavailable symbol + // but ToNumber should return NaN if a string contains unavailable symbols + if (code < 48 || code > maxCode) return NaN; + } return parseInt(digits, radix); + } + } return +it; + }; + + // `Number` constructor + // https://tc39.es/ecma262/#sec-number-constructor + if (isForced_1(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) { + var NumberWrapper = function Number(value) { + var it = arguments.length < 1 ? 0 : value; + var dummy = this; + return dummy instanceof NumberWrapper + // check on 1..constructor(foo) case + && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classofRaw(dummy) != NUMBER) + ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it); + }; + for (var keys$3 = descriptors ? getOwnPropertyNames$3(NativeNumber) : ( + // ES3: + 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + + // ES2015 (in case, if modules with ES2015 Number statics required before): + 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + + 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' + + // ESNext + 'fromString,range' + ).split(','), j$1 = 0, key$1; keys$3.length > j$1; j$1++) { + if (has$1(NativeNumber, key$1 = keys$3[j$1]) && !has$1(NumberWrapper, key$1)) { + defineProperty$7(NumberWrapper, key$1, getOwnPropertyDescriptor$1(NativeNumber, key$1)); + } + } + NumberWrapper.prototype = NumberPrototype; + NumberPrototype.constructor = NumberWrapper; + redefine(global_1, NUMBER, NumberWrapper); + } + + var nativeGetOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f; + + + var FAILS_ON_PRIMITIVES$2 = fails(function () { nativeGetOwnPropertyDescriptor$1(1); }); + var FORCED$7 = !descriptors || FAILS_ON_PRIMITIVES$2; + + // `Object.getOwnPropertyDescriptor` method + // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor + _export({ target: 'Object', stat: true, forced: FORCED$7, sham: !descriptors }, { + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) { + return nativeGetOwnPropertyDescriptor$1(toIndexedObject(it), key); + } + }); + + /* eslint-disable es/no-object-getownpropertynames -- safe */ + + var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f; + + var toString$3 = {}.toString; + + var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames + ? Object.getOwnPropertyNames(window) : []; + + var getWindowNames = function (it) { + try { + return $getOwnPropertyNames$1(it); + } catch (error) { + return windowNames.slice(); + } + }; + + // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window + var f$2 = function getOwnPropertyNames(it) { + return windowNames && toString$3.call(it) == '[object Window]' + ? getWindowNames(it) + : $getOwnPropertyNames$1(toIndexedObject(it)); + }; + + var objectGetOwnPropertyNamesExternal = { + f: f$2 + }; + + var getOwnPropertyNames$2 = objectGetOwnPropertyNamesExternal.f; + + // eslint-disable-next-line es/no-object-getownpropertynames -- required for testing + var FAILS_ON_PRIMITIVES$1 = fails(function () { return !Object.getOwnPropertyNames(1); }); + + // `Object.getOwnPropertyNames` method + // https://tc39.es/ecma262/#sec-object.getownpropertynames + _export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1 }, { + getOwnPropertyNames: getOwnPropertyNames$2 + }); + + var MATCH$2 = wellKnownSymbol('match'); + + // `IsRegExp` abstract operation + // https://tc39.es/ecma262/#sec-isregexp + var isRegexp = function (it) { + var isRegExp; + return isObject$1(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classofRaw(it) == 'RegExp'); + }; + + var SPECIES$3 = wellKnownSymbol('species'); + + var setSpecies = function (CONSTRUCTOR_NAME) { + var Constructor = getBuiltIn(CONSTRUCTOR_NAME); + var defineProperty = objectDefineProperty.f; + + if (descriptors && Constructor && !Constructor[SPECIES$3]) { + defineProperty(Constructor, SPECIES$3, { + configurable: true, + get: function () { return this; } + }); + } + }; + + var defineProperty$6 = objectDefineProperty.f; + var getOwnPropertyNames$1 = objectGetOwnPropertyNames.f; + + + + + + + var enforceInternalState = internalState.enforce; + + + + + + var MATCH$1 = wellKnownSymbol('match'); + var NativeRegExp = global_1.RegExp; + var RegExpPrototype = NativeRegExp.prototype; + // TODO: Use only propper RegExpIdentifierName + var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/; + var re1 = /a/g; + var re2 = /a/g; + + // "new" should create a new object, old webkit bug + var CORRECT_NEW = new NativeRegExp(re1) !== re1; + + var UNSUPPORTED_Y$1 = regexpStickyHelpers.UNSUPPORTED_Y; + + var BASE_FORCED = descriptors && + (!CORRECT_NEW || UNSUPPORTED_Y$1 || regexpUnsupportedDotAll || regexpUnsupportedNcg || fails(function () { + re2[MATCH$1] = false; + // RegExp constructor can alter flags and IsRegExp works correct with @@match + return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i'; + })); + + var handleDotAll = function (string) { + var length = string.length; + var index = 0; + var result = ''; + var brackets = false; + var chr; + for (; index <= length; index++) { + chr = string.charAt(index); + if (chr === '\\') { + result += chr + string.charAt(++index); + continue; + } + if (!brackets && chr === '.') { + result += '[\\s\\S]'; + } else { + if (chr === '[') { + brackets = true; + } else if (chr === ']') { + brackets = false; + } result += chr; + } + } return result; + }; + + var handleNCG = function (string) { + var length = string.length; + var index = 0; + var result = ''; + var named = []; + var names = {}; + var brackets = false; + var ncg = false; + var groupid = 0; + var groupname = ''; + var chr; + for (; index <= length; index++) { + chr = string.charAt(index); + if (chr === '\\') { + chr = chr + string.charAt(++index); + } else if (chr === ']') { + brackets = false; + } else if (!brackets) switch (true) { + case chr === '[': + brackets = true; + break; + case chr === '(': + if (IS_NCG.test(string.slice(index + 1))) { + index += 2; + ncg = true; + } + result += chr; + groupid++; + continue; + case chr === '>' && ncg: + if (groupname === '' || has$1(names, groupname)) { + throw new SyntaxError('Invalid capture group name'); + } + names[groupname] = true; + named.push([groupname, groupid]); + ncg = false; + groupname = ''; + continue; + } + if (ncg) groupname += chr; + else result += chr; + } return [result, named]; + }; + + // `RegExp` constructor + // https://tc39.es/ecma262/#sec-regexp-constructor + if (isForced_1('RegExp', BASE_FORCED)) { + var RegExpWrapper = function RegExp(pattern, flags) { + var thisIsRegExp = this instanceof RegExpWrapper; + var patternIsRegExp = isRegexp(pattern); + var flagsAreUndefined = flags === undefined; + var groups = []; + var rawPattern = pattern; + var rawFlags, dotAll, sticky, handled, result, state; + + if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) { + return pattern; + } + + if (patternIsRegExp || pattern instanceof RegExpWrapper) { + pattern = pattern.source; + if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : regexpFlags.call(rawPattern); + } + + pattern = pattern === undefined ? '' : String(pattern); + flags = flags === undefined ? '' : String(flags); + rawPattern = pattern; + + if (regexpUnsupportedDotAll && 'dotAll' in re1) { + dotAll = !!flags && flags.indexOf('s') > -1; + if (dotAll) flags = flags.replace(/s/g, ''); + } + + rawFlags = flags; + + if (UNSUPPORTED_Y$1 && 'sticky' in re1) { + sticky = !!flags && flags.indexOf('y') > -1; + if (sticky) flags = flags.replace(/y/g, ''); + } + + if (regexpUnsupportedNcg) { + handled = handleNCG(pattern); + pattern = handled[0]; + groups = handled[1]; + } + + result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper); + + if (dotAll || sticky || groups.length) { + state = enforceInternalState(result); + if (dotAll) { + state.dotAll = true; + state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags); + } + if (sticky) state.sticky = true; + if (groups.length) state.groups = groups; + } + + if (pattern !== rawPattern) try { + // fails in old engines, but we have no alternatives for unsupported regex syntax + createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern); + } catch (error) { /* empty */ } + + return result; + }; + + var proxy = function (key) { + key in RegExpWrapper || defineProperty$6(RegExpWrapper, key, { + configurable: true, + get: function () { return NativeRegExp[key]; }, + set: function (it) { NativeRegExp[key] = it; } + }); + }; + + for (var keys$2 = getOwnPropertyNames$1(NativeRegExp), index = 0; keys$2.length > index;) { + proxy(keys$2[index++]); + } + + RegExpPrototype.constructor = RegExpWrapper; + RegExpWrapper.prototype = RegExpPrototype; + redefine(global_1, 'RegExp', RegExpWrapper); + } + + // https://tc39.es/ecma262/#sec-get-regexp-@@species + setSpecies('RegExp'); + + // `String.prototype.{ codePointAt, at }` methods implementation + var createMethod$2 = function (CONVERT_TO_STRING) { + return function ($this, pos) { + var S = String(requireObjectCoercible($this)); + var position = toInteger(pos); + var size = S.length; + var first, second; + if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; + first = S.charCodeAt(position); + return first < 0xD800 || first > 0xDBFF || position + 1 === size + || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF + ? CONVERT_TO_STRING ? S.charAt(position) : first + : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; + }; + }; + + var stringMultibyte = { + // `String.prototype.codePointAt` method + // https://tc39.es/ecma262/#sec-string.prototype.codepointat + codeAt: createMethod$2(false), + // `String.prototype.at` method + // https://github.com/mathiasbynens/String.prototype.at + charAt: createMethod$2(true) + }; + + var charAt$1 = stringMultibyte.charAt; + + // `AdvanceStringIndex` abstract operation + // https://tc39.es/ecma262/#sec-advancestringindex + var advanceStringIndex = function (S, index, unicode) { + return index + (unicode ? charAt$1(S, index).length : 1); + }; + + // @@match logic + fixRegexpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) { + return [ + // `String.prototype.match` method + // https://tc39.es/ecma262/#sec-string.prototype.match + function match(regexp) { + var O = requireObjectCoercible(this); + var matcher = regexp == undefined ? undefined : regexp[MATCH]; + return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); + }, + // `RegExp.prototype[@@match]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@match + function (string) { + var res = maybeCallNative(nativeMatch, this, string); + if (res.done) return res.value; + + var rx = anObject(this); + var S = String(string); + + if (!rx.global) return regexpExecAbstract(rx, S); + + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + var A = []; + var n = 0; + var result; + while ((result = regexpExecAbstract(rx, S)) !== null) { + var matchStr = String(result[0]); + A[n] = matchStr; + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + n++; + } + return n === 0 ? null : A; + } + ]; + }); + + var floor$4 = Math.floor; + var replace = ''.replace; + var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; + var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; + + // `GetSubstitution` abstract operation + // https://tc39.es/ecma262/#sec-getsubstitution + var getSubstitution = function (matched, str, position, captures, namedCaptures, replacement) { + var tailPos = position + matched.length; + var m = captures.length; + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; + if (namedCaptures !== undefined) { + namedCaptures = toObject(namedCaptures); + symbols = SUBSTITUTION_SYMBOLS; + } + return replace.call(replacement, symbols, function (match, ch) { + var capture; + switch (ch.charAt(0)) { + case '$': return '$'; + case '&': return matched; + case '`': return str.slice(0, position); + case "'": return str.slice(tailPos); + case '<': + capture = namedCaptures[ch.slice(1, -1)]; + break; + default: // \d\d? + var n = +ch; + if (n === 0) return match; + if (n > m) { + var f = floor$4(n / 10); + if (f === 0) return match; + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); + return match; + } + capture = captures[n - 1]; + } + return capture === undefined ? '' : capture; + }); + }; + + var REPLACE = wellKnownSymbol('replace'); + var max$1 = Math.max; + var min$4 = Math.min; + + var maybeToString = function (it) { + return it === undefined ? it : String(it); + }; + + // IE <= 11 replaces $0 with the whole match, as if it was $& + // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 + var REPLACE_KEEPS_$0 = (function () { + // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing + return 'a'.replace(/./, '$0') === '$0'; + })(); + + // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string + var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { + if (/./[REPLACE]) { + return /./[REPLACE]('a', '$0') === ''; + } + return false; + })(); + + var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { + var re = /./; + re.exec = function () { + var result = []; + result.groups = { a: '7' }; + return result; + }; + return ''.replace(re, '$<a>') !== '7'; + }); + + // @@replace logic + fixRegexpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) { + var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; + + return [ + // `String.prototype.replace` method + // https://tc39.es/ecma262/#sec-string.prototype.replace + function replace(searchValue, replaceValue) { + var O = requireObjectCoercible(this); + var replacer = searchValue == undefined ? undefined : searchValue[REPLACE]; + return replacer !== undefined + ? replacer.call(searchValue, O, replaceValue) + : nativeReplace.call(String(O), searchValue, replaceValue); + }, + // `RegExp.prototype[@@replace]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace + function (string, replaceValue) { + if ( + typeof replaceValue === 'string' && + replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1 && + replaceValue.indexOf('$<') === -1 + ) { + var res = maybeCallNative(nativeReplace, this, string, replaceValue); + if (res.done) return res.value; + } + + var rx = anObject(this); + var S = String(string); + + var functionalReplace = typeof replaceValue === 'function'; + if (!functionalReplace) replaceValue = String(replaceValue); + + var global = rx.global; + if (global) { + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + } + var results = []; + while (true) { + var result = regexpExecAbstract(rx, S); + if (result === null) break; + + results.push(result); + if (!global) break; + + var matchStr = String(result[0]); + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + } + + var accumulatedResult = ''; + var nextSourcePosition = 0; + for (var i = 0; i < results.length; i++) { + result = results[i]; + + var matched = String(result[0]); + var position = max$1(min$4(toInteger(result.index), S.length), 0); + var captures = []; + // NOTE: This is equivalent to + // captures = result.slice(1).map(maybeToString) + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); + var namedCaptures = result.groups; + if (functionalReplace) { + var replacerArgs = [matched].concat(captures, position, S); + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); + var replacement = String(replaceValue.apply(undefined, replacerArgs)); + } else { + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); + } + if (position >= nextSourcePosition) { + accumulatedResult += S.slice(nextSourcePosition, position) + replacement; + nextSourcePosition = position + matched.length; + } + } + return accumulatedResult + S.slice(nextSourcePosition); + } + ]; + }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); + + var SPECIES$2 = wellKnownSymbol('species'); + + // `SpeciesConstructor` abstract operation + // https://tc39.es/ecma262/#sec-speciesconstructor + var speciesConstructor = function (O, defaultConstructor) { + var C = anObject(O).constructor; + var S; + return C === undefined || (S = anObject(C)[SPECIES$2]) == undefined ? defaultConstructor : aFunction(S); + }; + + var UNSUPPORTED_Y = regexpStickyHelpers.UNSUPPORTED_Y; + var arrayPush = [].push; + var min$3 = Math.min; + var MAX_UINT32 = 0xFFFFFFFF; + + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec + // Weex JS has frozen built-in prototypes, so use try / catch wrapper + var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () { + // eslint-disable-next-line regexp/no-empty-group -- required for testing + var re = /(?:)/; + var originalExec = re.exec; + re.exec = function () { return originalExec.apply(this, arguments); }; + var result = 'ab'.split(re); + return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; + }); + + // @@split logic + fixRegexpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) { + var internalSplit; + if ( + 'abbc'.split(/(b)*/)[1] == 'c' || + // eslint-disable-next-line regexp/no-empty-group -- required for testing + 'test'.split(/(?:)/, -1).length != 4 || + 'ab'.split(/(?:ab)*/).length != 2 || + '.'.split(/(.?)(.?)/).length != 4 || + // eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing + '.'.split(/()()/).length > 1 || + ''.split(/.?/).length + ) { + // based on es5-shim implementation, need to rework it + internalSplit = function (separator, limit) { + var string = String(requireObjectCoercible(this)); + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; + if (lim === 0) return []; + if (separator === undefined) return [string]; + // If `separator` is not a regex, use native split + if (!isRegexp(separator)) { + return nativeSplit.call(string, separator, lim); + } + var output = []; + var flags = (separator.ignoreCase ? 'i' : '') + + (separator.multiline ? 'm' : '') + + (separator.unicode ? 'u' : '') + + (separator.sticky ? 'y' : ''); + var lastLastIndex = 0; + // Make `global` and avoid `lastIndex` issues by working with a copy + var separatorCopy = new RegExp(separator.source, flags + 'g'); + var match, lastIndex, lastLength; + while (match = regexpExec.call(separatorCopy, string)) { + lastIndex = separatorCopy.lastIndex; + if (lastIndex > lastLastIndex) { + output.push(string.slice(lastLastIndex, match.index)); + if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1)); + lastLength = match[0].length; + lastLastIndex = lastIndex; + if (output.length >= lim) break; + } + if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop + } + if (lastLastIndex === string.length) { + if (lastLength || !separatorCopy.test('')) output.push(''); + } else output.push(string.slice(lastLastIndex)); + return output.length > lim ? output.slice(0, lim) : output; + }; + // Chakra, V8 + } else if ('0'.split(undefined, 0).length) { + internalSplit = function (separator, limit) { + return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit); + }; + } else internalSplit = nativeSplit; + + return [ + // `String.prototype.split` method + // https://tc39.es/ecma262/#sec-string.prototype.split + function split(separator, limit) { + var O = requireObjectCoercible(this); + var splitter = separator == undefined ? undefined : separator[SPLIT]; + return splitter !== undefined + ? splitter.call(separator, O, limit) + : internalSplit.call(String(O), separator, limit); + }, + // `RegExp.prototype[@@split]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@split + // + // NOTE: This cannot be properly polyfilled in engines that don't support + // the 'y' flag. + function (string, limit) { + var res = maybeCallNative(internalSplit, this, string, limit, internalSplit !== nativeSplit); + if (res.done) return res.value; + + var rx = anObject(this); + var S = String(string); + var C = speciesConstructor(rx, RegExp); + + var unicodeMatching = rx.unicode; + var flags = (rx.ignoreCase ? 'i' : '') + + (rx.multiline ? 'm' : '') + + (rx.unicode ? 'u' : '') + + (UNSUPPORTED_Y ? 'g' : 'y'); + + // ^(? + rx + ) is needed, in combination with some S slicing, to + // simulate the 'y' flag. + var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags); + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; + if (lim === 0) return []; + if (S.length === 0) return regexpExecAbstract(splitter, S) === null ? [S] : []; + var p = 0; + var q = 0; + var A = []; + while (q < S.length) { + splitter.lastIndex = UNSUPPORTED_Y ? 0 : q; + var z = regexpExecAbstract(splitter, UNSUPPORTED_Y ? S.slice(q) : S); + var e; + if ( + z === null || + (e = min$3(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p + ) { + q = advanceStringIndex(S, q, unicodeMatching); + } else { + A.push(S.slice(p, q)); + if (A.length === lim) return A; + for (var i = 1; i <= z.length - 1; i++) { + A.push(z[i]); + if (A.length === lim) return A; + } + q = p = e; + } + } + A.push(S.slice(p)); + return A; + } + ]; + }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y); + + function ownKeys(object, enumerableOnly) { + var keys = Object.keys(object); + + if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(object); + + if (enumerableOnly) { + symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + }); + } + + keys.push.apply(keys, symbols); + } + + return keys; + } + + function _objectSpread2(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? arguments[i] : {}; + + if (i % 2) { + ownKeys(Object(source), true).forEach(function (key) { + _defineProperty(target, key, source[key]); + }); + } else if (Object.getOwnPropertyDescriptors) { + Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); + } else { + ownKeys(Object(source)).forEach(function (key) { + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); + }); + } + } + + return target; + } + + function _typeof(obj) { + "@babel/helpers - typeof"; + + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function (obj) { + return typeof obj; + }; + } else { + _typeof = function (obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); + } + + function _asyncIterator(iterable) { + var method; + + if (typeof Symbol !== "undefined") { + if (Symbol.asyncIterator) method = iterable[Symbol.asyncIterator]; + if (method == null && Symbol.iterator) method = iterable[Symbol.iterator]; + } + + if (method == null) method = iterable["@@asyncIterator"]; + if (method == null) method = iterable["@@iterator"]; + if (method == null) throw new TypeError("Object is not async iterable"); + return method.call(iterable); + } + + function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { + try { + var info = gen[key](arg); + var value = info.value; + } catch (error) { + reject(error); + return; + } + + if (info.done) { + resolve(value); + } else { + Promise.resolve(value).then(_next, _throw); + } + } + + function _asyncToGenerator(fn) { + return function () { + var self = this, + args = arguments; + return new Promise(function (resolve, reject) { + var gen = fn.apply(self, args); + + function _next(value) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); + } + + function _throw(err) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); + } + + _next(undefined); + }); + }; + } + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } + + return _assertThisInitialized(self); + } + + function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; + } + + function _toConsumableArray(arr) { + return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); + } + + function _arrayWithoutHoles(arr) { + if (Array.isArray(arr)) return _arrayLikeToArray(arr); + } + + function _iterableToArray(iter) { + if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); + } + + function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); + } + + function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; + + return arr2; + } + + function _nonIterableSpread() { + throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + var f$1 = wellKnownSymbol; + + var wellKnownSymbolWrapped = { + f: f$1 + }; + + var defineProperty$5 = objectDefineProperty.f; + + var defineWellKnownSymbol = function (NAME) { + var Symbol = path$1.Symbol || (path$1.Symbol = {}); + if (!has$1(Symbol, NAME)) defineProperty$5(Symbol, NAME, { + value: wellKnownSymbolWrapped.f(NAME) + }); + }; + + var defineProperty$4 = objectDefineProperty.f; + + + + var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag'); + + var setToStringTag = function (it, TAG, STATIC) { + if (it && !has$1(it = STATIC ? it : it.prototype, TO_STRING_TAG$2)) { + defineProperty$4(it, TO_STRING_TAG$2, { configurable: true, value: TAG }); + } + }; + + var $forEach$1 = arrayIteration.forEach; + + var HIDDEN = sharedKey('hidden'); + var SYMBOL = 'Symbol'; + var PROTOTYPE$1 = 'prototype'; + var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); + var setInternalState$5 = internalState.set; + var getInternalState$4 = internalState.getterFor(SYMBOL); + var ObjectPrototype$2 = Object[PROTOTYPE$1]; + var $Symbol = global_1.Symbol; + var $stringify = getBuiltIn('JSON', 'stringify'); + var nativeGetOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; + var nativeDefineProperty = objectDefineProperty.f; + var nativeGetOwnPropertyNames = objectGetOwnPropertyNamesExternal.f; + var nativePropertyIsEnumerable = objectPropertyIsEnumerable.f; + var AllSymbols = shared('symbols'); + var ObjectPrototypeSymbols = shared('op-symbols'); + var StringToSymbolRegistry = shared('string-to-symbol-registry'); + var SymbolToStringRegistry = shared('symbol-to-string-registry'); + var WellKnownSymbolsStore = shared('wks'); + var QObject = global_1.QObject; + // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 + var USE_SETTER = !QObject || !QObject[PROTOTYPE$1] || !QObject[PROTOTYPE$1].findChild; + + // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 + var setSymbolDescriptor = descriptors && fails(function () { + return objectCreate(nativeDefineProperty({}, 'a', { + get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; } + })).a != 7; + }) ? function (O, P, Attributes) { + var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype$2, P); + if (ObjectPrototypeDescriptor) delete ObjectPrototype$2[P]; + nativeDefineProperty(O, P, Attributes); + if (ObjectPrototypeDescriptor && O !== ObjectPrototype$2) { + nativeDefineProperty(ObjectPrototype$2, P, ObjectPrototypeDescriptor); + } + } : nativeDefineProperty; + + var wrap = function (tag, description) { + var symbol = AllSymbols[tag] = objectCreate($Symbol[PROTOTYPE$1]); + setInternalState$5(symbol, { + type: SYMBOL, + tag: tag, + description: description + }); + if (!descriptors) symbol.description = description; + return symbol; + }; + + var isSymbol$1 = useSymbolAsUid ? function (it) { + return typeof it == 'symbol'; + } : function (it) { + return Object(it) instanceof $Symbol; + }; + + var $defineProperty = function defineProperty(O, P, Attributes) { + if (O === ObjectPrototype$2) $defineProperty(ObjectPrototypeSymbols, P, Attributes); + anObject(O); + var key = toPrimitive(P, true); + anObject(Attributes); + if (has$1(AllSymbols, key)) { + if (!Attributes.enumerable) { + if (!has$1(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {})); + O[HIDDEN][key] = true; + } else { + if (has$1(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false; + Attributes = objectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) }); + } return setSymbolDescriptor(O, key, Attributes); + } return nativeDefineProperty(O, key, Attributes); + }; + + var $defineProperties = function defineProperties(O, Properties) { + anObject(O); + var properties = toIndexedObject(Properties); + var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties)); + $forEach$1(keys, function (key) { + if (!descriptors || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]); + }); + return O; + }; + + var $create = function create(O, Properties) { + return Properties === undefined ? objectCreate(O) : $defineProperties(objectCreate(O), Properties); + }; + + var $propertyIsEnumerable = function propertyIsEnumerable(V) { + var P = toPrimitive(V, true); + var enumerable = nativePropertyIsEnumerable.call(this, P); + if (this === ObjectPrototype$2 && has$1(AllSymbols, P) && !has$1(ObjectPrototypeSymbols, P)) return false; + return enumerable || !has$1(this, P) || !has$1(AllSymbols, P) || has$1(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true; + }; + + var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) { + var it = toIndexedObject(O); + var key = toPrimitive(P, true); + if (it === ObjectPrototype$2 && has$1(AllSymbols, key) && !has$1(ObjectPrototypeSymbols, key)) return; + var descriptor = nativeGetOwnPropertyDescriptor(it, key); + if (descriptor && has$1(AllSymbols, key) && !(has$1(it, HIDDEN) && it[HIDDEN][key])) { + descriptor.enumerable = true; + } + return descriptor; + }; + + var $getOwnPropertyNames = function getOwnPropertyNames(O) { + var names = nativeGetOwnPropertyNames(toIndexedObject(O)); + var result = []; + $forEach$1(names, function (key) { + if (!has$1(AllSymbols, key) && !has$1(hiddenKeys$1, key)) result.push(key); + }); + return result; + }; + + var $getOwnPropertySymbols = function getOwnPropertySymbols(O) { + var IS_OBJECT_PROTOTYPE = O === ObjectPrototype$2; + var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O)); + var result = []; + $forEach$1(names, function (key) { + if (has$1(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has$1(ObjectPrototype$2, key))) { + result.push(AllSymbols[key]); + } + }); + return result; + }; + + // `Symbol` constructor + // https://tc39.es/ecma262/#sec-symbol-constructor + if (!nativeSymbol) { + $Symbol = function Symbol() { + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor'); + var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]); + var tag = uid(description); + var setter = function (value) { + if (this === ObjectPrototype$2) setter.call(ObjectPrototypeSymbols, value); + if (has$1(this, HIDDEN) && has$1(this[HIDDEN], tag)) this[HIDDEN][tag] = false; + setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value)); + }; + if (descriptors && USE_SETTER) setSymbolDescriptor(ObjectPrototype$2, tag, { configurable: true, set: setter }); + return wrap(tag, description); + }; + + redefine($Symbol[PROTOTYPE$1], 'toString', function toString() { + return getInternalState$4(this).tag; + }); + + redefine($Symbol, 'withoutSetter', function (description) { + return wrap(uid(description), description); + }); + + objectPropertyIsEnumerable.f = $propertyIsEnumerable; + objectDefineProperty.f = $defineProperty; + objectGetOwnPropertyDescriptor.f = $getOwnPropertyDescriptor; + objectGetOwnPropertyNames.f = objectGetOwnPropertyNamesExternal.f = $getOwnPropertyNames; + objectGetOwnPropertySymbols.f = $getOwnPropertySymbols; + + wellKnownSymbolWrapped.f = function (name) { + return wrap(wellKnownSymbol(name), name); + }; + + if (descriptors) { + // https://github.com/tc39/proposal-Symbol-description + nativeDefineProperty($Symbol[PROTOTYPE$1], 'description', { + configurable: true, + get: function description() { + return getInternalState$4(this).description; + } + }); + { + redefine(ObjectPrototype$2, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true }); + } + } + } + + _export({ global: true, wrap: true, forced: !nativeSymbol, sham: !nativeSymbol }, { + Symbol: $Symbol + }); + + $forEach$1(objectKeys(WellKnownSymbolsStore), function (name) { + defineWellKnownSymbol(name); + }); + + _export({ target: SYMBOL, stat: true, forced: !nativeSymbol }, { + // `Symbol.for` method + // https://tc39.es/ecma262/#sec-symbol.for + 'for': function (key) { + var string = String(key); + if (has$1(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; + var symbol = $Symbol(string); + StringToSymbolRegistry[string] = symbol; + SymbolToStringRegistry[symbol] = string; + return symbol; + }, + // `Symbol.keyFor` method + // https://tc39.es/ecma262/#sec-symbol.keyfor + keyFor: function keyFor(sym) { + if (!isSymbol$1(sym)) throw TypeError(sym + ' is not a symbol'); + if (has$1(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; + }, + useSetter: function () { USE_SETTER = true; }, + useSimple: function () { USE_SETTER = false; } + }); + + _export({ target: 'Object', stat: true, forced: !nativeSymbol, sham: !descriptors }, { + // `Object.create` method + // https://tc39.es/ecma262/#sec-object.create + create: $create, + // `Object.defineProperty` method + // https://tc39.es/ecma262/#sec-object.defineproperty + defineProperty: $defineProperty, + // `Object.defineProperties` method + // https://tc39.es/ecma262/#sec-object.defineproperties + defineProperties: $defineProperties, + // `Object.getOwnPropertyDescriptor` method + // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors + getOwnPropertyDescriptor: $getOwnPropertyDescriptor + }); + + _export({ target: 'Object', stat: true, forced: !nativeSymbol }, { + // `Object.getOwnPropertyNames` method + // https://tc39.es/ecma262/#sec-object.getownpropertynames + getOwnPropertyNames: $getOwnPropertyNames, + // `Object.getOwnPropertySymbols` method + // https://tc39.es/ecma262/#sec-object.getownpropertysymbols + getOwnPropertySymbols: $getOwnPropertySymbols + }); + + // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives + // https://bugs.chromium.org/p/v8/issues/detail?id=3443 + _export({ target: 'Object', stat: true, forced: fails(function () { objectGetOwnPropertySymbols.f(1); }) }, { + getOwnPropertySymbols: function getOwnPropertySymbols(it) { + return objectGetOwnPropertySymbols.f(toObject(it)); + } + }); + + // `JSON.stringify` method behavior with symbols + // https://tc39.es/ecma262/#sec-json.stringify + if ($stringify) { + var FORCED_JSON_STRINGIFY = !nativeSymbol || fails(function () { + var symbol = $Symbol(); + // MS Edge converts symbol values to JSON as {} + return $stringify([symbol]) != '[null]' + // WebKit converts symbol values to JSON as null + || $stringify({ a: symbol }) != '{}' + // V8 throws on boxed symbols + || $stringify(Object(symbol)) != '{}'; + }); + + _export({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + stringify: function stringify(it, replacer, space) { + var args = [it]; + var index = 1; + var $replacer; + while (arguments.length > index) args.push(arguments[index++]); + $replacer = replacer; + if (!isObject$1(replacer) && it === undefined || isSymbol$1(it)) return; // IE8 returns string on undefined + if (!isArray$3(replacer)) replacer = function (key, value) { + if (typeof $replacer == 'function') value = $replacer.call(this, key, value); + if (!isSymbol$1(value)) return value; + }; + args[1] = replacer; + return $stringify.apply(null, args); + } + }); + } + + // `Symbol.prototype[@@toPrimitive]` method + // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive + if (!$Symbol[PROTOTYPE$1][TO_PRIMITIVE]) { + createNonEnumerableProperty($Symbol[PROTOTYPE$1], TO_PRIMITIVE, $Symbol[PROTOTYPE$1].valueOf); + } + // `Symbol.prototype[@@toStringTag]` property + // https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag + setToStringTag($Symbol, SYMBOL); + + hiddenKeys$1[HIDDEN] = true; + + var defineProperty$3 = objectDefineProperty.f; + + + var NativeSymbol = global_1.Symbol; + + if (descriptors && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) || + // Safari 12 bug + NativeSymbol().description !== undefined + )) { + var EmptyStringDescriptionStore = {}; + // wrap Symbol constructor for correct work with undefined description + var SymbolWrapper = function Symbol() { + var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]); + var result = this instanceof SymbolWrapper + ? new NativeSymbol(description) + // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)' + : description === undefined ? NativeSymbol() : NativeSymbol(description); + if (description === '') EmptyStringDescriptionStore[result] = true; + return result; + }; + copyConstructorProperties(SymbolWrapper, NativeSymbol); + var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype; + symbolPrototype.constructor = SymbolWrapper; + + var symbolToString = symbolPrototype.toString; + var native = String(NativeSymbol('test')) == 'Symbol(test)'; + var regexp = /^Symbol\((.*)\)[^)]+$/; + defineProperty$3(symbolPrototype, 'description', { + configurable: true, + get: function description() { + var symbol = isObject$1(this) ? this.valueOf() : this; + var string = symbolToString.call(symbol); + if (has$1(EmptyStringDescriptionStore, symbol)) return ''; + var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1'); + return desc === '' ? undefined : desc; + } + }); + + _export({ global: true, forced: true }, { + Symbol: SymbolWrapper + }); + } + + // `Symbol.species` well-known symbol + // https://tc39.es/ecma262/#sec-symbol.species + defineWellKnownSymbol('species'); + + // `Array.prototype.fill` method implementation + // https://tc39.es/ecma262/#sec-array.prototype.fill + var arrayFill = function fill(value /* , start = 0, end = @length */) { + var O = toObject(this); + var length = toLength(O.length); + var argumentsLength = arguments.length; + var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length); + var end = argumentsLength > 2 ? arguments[2] : undefined; + var endPos = end === undefined ? length : toAbsoluteIndex(end, length); + while (endPos > index) O[index++] = value; + return O; + }; + + var UNSCOPABLES = wellKnownSymbol('unscopables'); + var ArrayPrototype$1 = Array.prototype; + + // Array.prototype[@@unscopables] + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + if (ArrayPrototype$1[UNSCOPABLES] == undefined) { + objectDefineProperty.f(ArrayPrototype$1, UNSCOPABLES, { + configurable: true, + value: objectCreate(null) + }); + } + + // add a key to Array.prototype[@@unscopables] + var addToUnscopables = function (key) { + ArrayPrototype$1[UNSCOPABLES][key] = true; + }; + + // `Array.prototype.fill` method + // https://tc39.es/ecma262/#sec-array.prototype.fill + _export({ target: 'Array', proto: true }, { + fill: arrayFill + }); + + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + addToUnscopables('fill'); + + var $includes$1 = arrayIncludes.includes; + + + // `Array.prototype.includes` method + // https://tc39.es/ecma262/#sec-array.prototype.includes + _export({ target: 'Array', proto: true }, { + includes: function includes(el /* , fromIndex = 0 */) { + return $includes$1(this, el, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + addToUnscopables('includes'); + + var iterators = {}; + + var ITERATOR$6 = wellKnownSymbol('iterator'); + var BUGGY_SAFARI_ITERATORS$1 = false; + + var returnThis$2 = function () { return this; }; + + // `%IteratorPrototype%` object + // https://tc39.es/ecma262/#sec-%iteratorprototype%-object + var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator; + + /* eslint-disable es/no-array-prototype-keys -- safe */ + if ([].keys) { + arrayIterator = [].keys(); + // Safari 8 has buggy iterators w/o `next` + if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true; + else { + PrototypeOfArrayIteratorPrototype = objectGetPrototypeOf(objectGetPrototypeOf(arrayIterator)); + if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype; + } + } + + var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails(function () { + var test = {}; + // FF44- legacy iterators case + return IteratorPrototype$2[ITERATOR$6].call(test) !== test; + }); + + if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {}; + + // `%IteratorPrototype%[@@iterator]()` method + // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator + if (!has$1(IteratorPrototype$2, ITERATOR$6)) { + createNonEnumerableProperty(IteratorPrototype$2, ITERATOR$6, returnThis$2); + } + + var iteratorsCore = { + IteratorPrototype: IteratorPrototype$2, + BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1 + }; + + var IteratorPrototype$1 = iteratorsCore.IteratorPrototype; + + + + + + var returnThis$1 = function () { return this; }; + + var createIteratorConstructor = function (IteratorConstructor, NAME, next) { + var TO_STRING_TAG = NAME + ' Iterator'; + IteratorConstructor.prototype = objectCreate(IteratorPrototype$1, { next: createPropertyDescriptor(1, next) }); + setToStringTag(IteratorConstructor, TO_STRING_TAG, false); + iterators[TO_STRING_TAG] = returnThis$1; + return IteratorConstructor; + }; + + var IteratorPrototype = iteratorsCore.IteratorPrototype; + var BUGGY_SAFARI_ITERATORS = iteratorsCore.BUGGY_SAFARI_ITERATORS; + var ITERATOR$5 = wellKnownSymbol('iterator'); + var KEYS = 'keys'; + var VALUES = 'values'; + var ENTRIES = 'entries'; + + var returnThis = function () { return this; }; + + var defineIterator = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { + createIteratorConstructor(IteratorConstructor, NAME, next); + + var getIterationMethod = function (KIND) { + if (KIND === DEFAULT && defaultIterator) return defaultIterator; + if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; + switch (KIND) { + case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; + case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; + case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; + } return function () { return new IteratorConstructor(this); }; + }; + + var TO_STRING_TAG = NAME + ' Iterator'; + var INCORRECT_VALUES_NAME = false; + var IterablePrototype = Iterable.prototype; + var nativeIterator = IterablePrototype[ITERATOR$5] + || IterablePrototype['@@iterator'] + || DEFAULT && IterablePrototype[DEFAULT]; + var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); + var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; + var CurrentIteratorPrototype, methods, KEY; + + // fix native + if (anyNativeIterator) { + CurrentIteratorPrototype = objectGetPrototypeOf(anyNativeIterator.call(new Iterable())); + if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { + if (objectGetPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { + if (objectSetPrototypeOf) { + objectSetPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); + } else if (typeof CurrentIteratorPrototype[ITERATOR$5] != 'function') { + createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR$5, returnThis); + } + } + // Set @@toStringTag to native iterators + setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true); + } + } + + // fix Array.prototype.{ values, @@iterator }.name in V8 / FF + if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { + INCORRECT_VALUES_NAME = true; + defaultIterator = function values() { return nativeIterator.call(this); }; + } + + // define iterator + if (IterablePrototype[ITERATOR$5] !== defaultIterator) { + createNonEnumerableProperty(IterablePrototype, ITERATOR$5, defaultIterator); + } + iterators[NAME] = defaultIterator; + + // export additional methods + if (DEFAULT) { + methods = { + values: getIterationMethod(VALUES), + keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), + entries: getIterationMethod(ENTRIES) + }; + if (FORCED) for (KEY in methods) { + if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { + redefine(IterablePrototype, KEY, methods[KEY]); + } + } else _export({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); + } + + return methods; + }; + + var ARRAY_ITERATOR = 'Array Iterator'; + var setInternalState$4 = internalState.set; + var getInternalState$3 = internalState.getterFor(ARRAY_ITERATOR); + + // `Array.prototype.entries` method + // https://tc39.es/ecma262/#sec-array.prototype.entries + // `Array.prototype.keys` method + // https://tc39.es/ecma262/#sec-array.prototype.keys + // `Array.prototype.values` method + // https://tc39.es/ecma262/#sec-array.prototype.values + // `Array.prototype[@@iterator]` method + // https://tc39.es/ecma262/#sec-array.prototype-@@iterator + // `CreateArrayIterator` internal method + // https://tc39.es/ecma262/#sec-createarrayiterator + var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) { + setInternalState$4(this, { + type: ARRAY_ITERATOR, + target: toIndexedObject(iterated), // target + index: 0, // next index + kind: kind // kind + }); + // `%ArrayIteratorPrototype%.next` method + // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next + }, function () { + var state = getInternalState$3(this); + var target = state.target; + var kind = state.kind; + var index = state.index++; + if (!target || index >= target.length) { + state.target = undefined; + return { value: undefined, done: true }; + } + if (kind == 'keys') return { value: index, done: false }; + if (kind == 'values') return { value: target[index], done: false }; + return { value: [index, target[index]], done: false }; + }, 'values'); + + // argumentsList[@@iterator] is %ArrayProto_values% + // https://tc39.es/ecma262/#sec-createunmappedargumentsobject + // https://tc39.es/ecma262/#sec-createmappedargumentsobject + iterators.Arguments = iterators.Array; + + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + addToUnscopables('keys'); + addToUnscopables('values'); + addToUnscopables('entries'); + + var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice'); + + var SPECIES$1 = wellKnownSymbol('species'); + var nativeSlice = [].slice; + var max = Math.max; + + // `Array.prototype.slice` method + // https://tc39.es/ecma262/#sec-array.prototype.slice + // fallback for not array-like ES3 strings and DOM objects + _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { + slice: function slice(start, end) { + var O = toIndexedObject(this); + var length = toLength(O.length); + var k = toAbsoluteIndex(start, length); + var fin = toAbsoluteIndex(end === undefined ? length : end, length); + // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible + var Constructor, result, n; + if (isArray$3(O)) { + Constructor = O.constructor; + // cross-realm fallback + if (typeof Constructor == 'function' && (Constructor === Array || isArray$3(Constructor.prototype))) { + Constructor = undefined; + } else if (isObject$1(Constructor)) { + Constructor = Constructor[SPECIES$1]; + if (Constructor === null) Constructor = undefined; + } + if (Constructor === Array || Constructor === undefined) { + return nativeSlice.call(O, k, fin); + } + } + result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0)); + for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); + result.length = n; + return result; + } + }); + + // `Array[@@species]` getter + // https://tc39.es/ecma262/#sec-get-array-@@species + setSpecies('Array'); + + // eslint-disable-next-line es/no-typed-arrays -- safe + var arrayBufferNative = typeof ArrayBuffer !== 'undefined' && typeof DataView !== 'undefined'; + + var redefineAll = function (target, src, options) { + for (var key in src) redefine(target, key, src[key], options); + return target; + }; + + var anInstance = function (it, Constructor, name) { + if (!(it instanceof Constructor)) { + throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation'); + } return it; + }; + + // `ToIndex` abstract operation + // https://tc39.es/ecma262/#sec-toindex + var toIndex = function (it) { + if (it === undefined) return 0; + var number = toInteger(it); + var length = toLength(number); + if (number !== length) throw RangeError('Wrong length or index'); + return length; + }; + + // IEEE754 conversions based on https://github.com/feross/ieee754 + var abs = Math.abs; + var pow$1 = Math.pow; + var floor$3 = Math.floor; + var log$2 = Math.log; + var LN2 = Math.LN2; + + var pack = function (number, mantissaLength, bytes) { + var buffer = new Array(bytes); + var exponentLength = bytes * 8 - mantissaLength - 1; + var eMax = (1 << exponentLength) - 1; + var eBias = eMax >> 1; + var rt = mantissaLength === 23 ? pow$1(2, -24) - pow$1(2, -77) : 0; + var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0; + var index = 0; + var exponent, mantissa, c; + number = abs(number); + // eslint-disable-next-line no-self-compare -- NaN check + if (number != number || number === Infinity) { + // eslint-disable-next-line no-self-compare -- NaN check + mantissa = number != number ? 1 : 0; + exponent = eMax; + } else { + exponent = floor$3(log$2(number) / LN2); + if (number * (c = pow$1(2, -exponent)) < 1) { + exponent--; + c *= 2; + } + if (exponent + eBias >= 1) { + number += rt / c; + } else { + number += rt * pow$1(2, 1 - eBias); + } + if (number * c >= 2) { + exponent++; + c /= 2; + } + if (exponent + eBias >= eMax) { + mantissa = 0; + exponent = eMax; + } else if (exponent + eBias >= 1) { + mantissa = (number * c - 1) * pow$1(2, mantissaLength); + exponent = exponent + eBias; + } else { + mantissa = number * pow$1(2, eBias - 1) * pow$1(2, mantissaLength); + exponent = 0; + } + } + for (; mantissaLength >= 8; buffer[index++] = mantissa & 255, mantissa /= 256, mantissaLength -= 8); + exponent = exponent << mantissaLength | mantissa; + exponentLength += mantissaLength; + for (; exponentLength > 0; buffer[index++] = exponent & 255, exponent /= 256, exponentLength -= 8); + buffer[--index] |= sign * 128; + return buffer; + }; + + var unpack = function (buffer, mantissaLength) { + var bytes = buffer.length; + var exponentLength = bytes * 8 - mantissaLength - 1; + var eMax = (1 << exponentLength) - 1; + var eBias = eMax >> 1; + var nBits = exponentLength - 7; + var index = bytes - 1; + var sign = buffer[index--]; + var exponent = sign & 127; + var mantissa; + sign >>= 7; + for (; nBits > 0; exponent = exponent * 256 + buffer[index], index--, nBits -= 8); + mantissa = exponent & (1 << -nBits) - 1; + exponent >>= -nBits; + nBits += mantissaLength; + for (; nBits > 0; mantissa = mantissa * 256 + buffer[index], index--, nBits -= 8); + if (exponent === 0) { + exponent = 1 - eBias; + } else if (exponent === eMax) { + return mantissa ? NaN : sign ? -Infinity : Infinity; + } else { + mantissa = mantissa + pow$1(2, mantissaLength); + exponent = exponent - eBias; + } return (sign ? -1 : 1) * mantissa * pow$1(2, exponent - mantissaLength); + }; + + var ieee754 = { + pack: pack, + unpack: unpack + }; + + var getOwnPropertyNames = objectGetOwnPropertyNames.f; + var defineProperty$2 = objectDefineProperty.f; + + + + + var getInternalState$2 = internalState.get; + var setInternalState$3 = internalState.set; + var ARRAY_BUFFER$1 = 'ArrayBuffer'; + var DATA_VIEW = 'DataView'; + var PROTOTYPE = 'prototype'; + var WRONG_LENGTH = 'Wrong length'; + var WRONG_INDEX = 'Wrong index'; + var NativeArrayBuffer$1 = global_1[ARRAY_BUFFER$1]; + var $ArrayBuffer = NativeArrayBuffer$1; + var $DataView = global_1[DATA_VIEW]; + var $DataViewPrototype = $DataView && $DataView[PROTOTYPE]; + var ObjectPrototype$1 = Object.prototype; + var RangeError$1 = global_1.RangeError; + + var packIEEE754 = ieee754.pack; + var unpackIEEE754 = ieee754.unpack; + + var packInt8 = function (number) { + return [number & 0xFF]; + }; + + var packInt16 = function (number) { + return [number & 0xFF, number >> 8 & 0xFF]; + }; + + var packInt32 = function (number) { + return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF]; + }; + + var unpackInt32 = function (buffer) { + return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0]; + }; + + var packFloat32 = function (number) { + return packIEEE754(number, 23, 4); + }; + + var packFloat64 = function (number) { + return packIEEE754(number, 52, 8); + }; + + var addGetter = function (Constructor, key) { + defineProperty$2(Constructor[PROTOTYPE], key, { get: function () { return getInternalState$2(this)[key]; } }); + }; + + var get = function (view, count, index, isLittleEndian) { + var intIndex = toIndex(index); + var store = getInternalState$2(view); + if (intIndex + count > store.byteLength) throw RangeError$1(WRONG_INDEX); + var bytes = getInternalState$2(store.buffer).bytes; + var start = intIndex + store.byteOffset; + var pack = bytes.slice(start, start + count); + return isLittleEndian ? pack : pack.reverse(); + }; + + var set$1 = function (view, count, index, conversion, value, isLittleEndian) { + var intIndex = toIndex(index); + var store = getInternalState$2(view); + if (intIndex + count > store.byteLength) throw RangeError$1(WRONG_INDEX); + var bytes = getInternalState$2(store.buffer).bytes; + var start = intIndex + store.byteOffset; + var pack = conversion(+value); + for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1]; + }; + + if (!arrayBufferNative) { + $ArrayBuffer = function ArrayBuffer(length) { + anInstance(this, $ArrayBuffer, ARRAY_BUFFER$1); + var byteLength = toIndex(length); + setInternalState$3(this, { + bytes: arrayFill.call(new Array(byteLength), 0), + byteLength: byteLength + }); + if (!descriptors) this.byteLength = byteLength; + }; + + $DataView = function DataView(buffer, byteOffset, byteLength) { + anInstance(this, $DataView, DATA_VIEW); + anInstance(buffer, $ArrayBuffer, DATA_VIEW); + var bufferLength = getInternalState$2(buffer).byteLength; + var offset = toInteger(byteOffset); + if (offset < 0 || offset > bufferLength) throw RangeError$1('Wrong offset'); + byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); + if (offset + byteLength > bufferLength) throw RangeError$1(WRONG_LENGTH); + setInternalState$3(this, { + buffer: buffer, + byteLength: byteLength, + byteOffset: offset + }); + if (!descriptors) { + this.buffer = buffer; + this.byteLength = byteLength; + this.byteOffset = offset; + } + }; + + if (descriptors) { + addGetter($ArrayBuffer, 'byteLength'); + addGetter($DataView, 'buffer'); + addGetter($DataView, 'byteLength'); + addGetter($DataView, 'byteOffset'); + } + + redefineAll($DataView[PROTOTYPE], { + getInt8: function getInt8(byteOffset) { + return get(this, 1, byteOffset)[0] << 24 >> 24; + }, + getUint8: function getUint8(byteOffset) { + return get(this, 1, byteOffset)[0]; + }, + getInt16: function getInt16(byteOffset /* , littleEndian */) { + var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined); + return (bytes[1] << 8 | bytes[0]) << 16 >> 16; + }, + getUint16: function getUint16(byteOffset /* , littleEndian */) { + var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined); + return bytes[1] << 8 | bytes[0]; + }, + getInt32: function getInt32(byteOffset /* , littleEndian */) { + return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)); + }, + getUint32: function getUint32(byteOffset /* , littleEndian */) { + return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)) >>> 0; + }, + getFloat32: function getFloat32(byteOffset /* , littleEndian */) { + return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 23); + }, + getFloat64: function getFloat64(byteOffset /* , littleEndian */) { + return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 52); + }, + setInt8: function setInt8(byteOffset, value) { + set$1(this, 1, byteOffset, packInt8, value); + }, + setUint8: function setUint8(byteOffset, value) { + set$1(this, 1, byteOffset, packInt8, value); + }, + setInt16: function setInt16(byteOffset, value /* , littleEndian */) { + set$1(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined); + }, + setUint16: function setUint16(byteOffset, value /* , littleEndian */) { + set$1(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined); + }, + setInt32: function setInt32(byteOffset, value /* , littleEndian */) { + set$1(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined); + }, + setUint32: function setUint32(byteOffset, value /* , littleEndian */) { + set$1(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined); + }, + setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { + set$1(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : undefined); + }, + setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { + set$1(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : undefined); + } + }); + } else { + /* eslint-disable no-new -- required for testing */ + if (!fails(function () { + NativeArrayBuffer$1(1); + }) || !fails(function () { + new NativeArrayBuffer$1(-1); + }) || fails(function () { + new NativeArrayBuffer$1(); + new NativeArrayBuffer$1(1.5); + new NativeArrayBuffer$1(NaN); + return NativeArrayBuffer$1.name != ARRAY_BUFFER$1; + })) { + /* eslint-enable no-new -- required for testing */ + $ArrayBuffer = function ArrayBuffer(length) { + anInstance(this, $ArrayBuffer); + return new NativeArrayBuffer$1(toIndex(length)); + }; + var ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE] = NativeArrayBuffer$1[PROTOTYPE]; + for (var keys$1 = getOwnPropertyNames(NativeArrayBuffer$1), j = 0, key; keys$1.length > j;) { + if (!((key = keys$1[j++]) in $ArrayBuffer)) { + createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer$1[key]); + } + } + ArrayBufferPrototype.constructor = $ArrayBuffer; + } + + // WebKit bug - the same parent prototype for typed arrays and data view + if (objectSetPrototypeOf && objectGetPrototypeOf($DataViewPrototype) !== ObjectPrototype$1) { + objectSetPrototypeOf($DataViewPrototype, ObjectPrototype$1); + } + + // iOS Safari 7.x bug + var testView = new $DataView(new $ArrayBuffer(2)); + var $setInt8 = $DataViewPrototype.setInt8; + testView.setInt8(0, 2147483648); + testView.setInt8(1, 2147483649); + if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll($DataViewPrototype, { + setInt8: function setInt8(byteOffset, value) { + $setInt8.call(this, byteOffset, value << 24 >> 24); + }, + setUint8: function setUint8(byteOffset, value) { + $setInt8.call(this, byteOffset, value << 24 >> 24); + } + }, { unsafe: true }); + } + + setToStringTag($ArrayBuffer, ARRAY_BUFFER$1); + setToStringTag($DataView, DATA_VIEW); + + var arrayBuffer = { + ArrayBuffer: $ArrayBuffer, + DataView: $DataView + }; + + var ARRAY_BUFFER = 'ArrayBuffer'; + var ArrayBuffer$2 = arrayBuffer[ARRAY_BUFFER]; + var NativeArrayBuffer = global_1[ARRAY_BUFFER]; + + // `ArrayBuffer` constructor + // https://tc39.es/ecma262/#sec-arraybuffer-constructor + _export({ global: true, forced: NativeArrayBuffer !== ArrayBuffer$2 }, { + ArrayBuffer: ArrayBuffer$2 + }); + + setSpecies(ARRAY_BUFFER); + + var notARegexp = function (it) { + if (isRegexp(it)) { + throw TypeError("The method doesn't accept regular expressions"); + } return it; + }; + + var MATCH = wellKnownSymbol('match'); + + var correctIsRegexpLogic = function (METHOD_NAME) { + var regexp = /./; + try { + '/./'[METHOD_NAME](regexp); + } catch (error1) { + try { + regexp[MATCH] = false; + return '/./'[METHOD_NAME](regexp); + } catch (error2) { /* empty */ } + } return false; + }; + + // `String.prototype.includes` method + // https://tc39.es/ecma262/#sec-string.prototype.includes + _export({ target: 'String', proto: true, forced: !correctIsRegexpLogic('includes') }, { + includes: function includes(searchString /* , position = 0 */) { + return !!~String(requireObjectCoercible(this)) + .indexOf(notARegexp(searchString), arguments.length > 1 ? arguments[1] : undefined); + } + }); + + var non = '\u200B\u0085\u180E'; + + // check that a method works with the correct list + // of whitespaces and has a correct name + var stringTrimForced = function (METHOD_NAME) { + return fails(function () { + return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME; + }); + }; + + var $trim = stringTrim.trim; + + + // `String.prototype.trim` method + // https://tc39.es/ecma262/#sec-string.prototype.trim + _export({ target: 'String', proto: true, forced: stringTrimForced('trim') }, { + trim: function trim() { + return $trim(this); + } + }); + + var ITERATOR$4 = wellKnownSymbol('iterator'); + var SAFE_CLOSING = false; + + try { + var called = 0; + var iteratorWithReturn = { + next: function () { + return { done: !!called++ }; + }, + 'return': function () { + SAFE_CLOSING = true; + } + }; + iteratorWithReturn[ITERATOR$4] = function () { + return this; + }; + // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing + Array.from(iteratorWithReturn, function () { throw 2; }); + } catch (error) { /* empty */ } + + var checkCorrectnessOfIteration = function (exec, SKIP_CLOSING) { + if (!SKIP_CLOSING && !SAFE_CLOSING) return false; + var ITERATION_SUPPORT = false; + try { + var object = {}; + object[ITERATOR$4] = function () { + return { + next: function () { + return { done: ITERATION_SUPPORT = true }; + } + }; + }; + exec(object); + } catch (error) { /* empty */ } + return ITERATION_SUPPORT; + }; + + var defineProperty$1 = objectDefineProperty.f; + + + + + + var Int8Array$3 = global_1.Int8Array; + var Int8ArrayPrototype = Int8Array$3 && Int8Array$3.prototype; + var Uint8ClampedArray = global_1.Uint8ClampedArray; + var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; + var TypedArray = Int8Array$3 && objectGetPrototypeOf(Int8Array$3); + var TypedArrayPrototype = Int8ArrayPrototype && objectGetPrototypeOf(Int8ArrayPrototype); + var ObjectPrototype = Object.prototype; + var isPrototypeOf = ObjectPrototype.isPrototypeOf; + + var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag'); + var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG'); + // Fixing native typed arrays in Opera Presto crashes the browser, see #595 + var NATIVE_ARRAY_BUFFER_VIEWS$1 = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera'; + var TYPED_ARRAY_TAG_REQIRED = false; + var NAME; + + var TypedArrayConstructorsList = { + Int8Array: 1, + Uint8Array: 1, + Uint8ClampedArray: 1, + Int16Array: 2, + Uint16Array: 2, + Int32Array: 4, + Uint32Array: 4, + Float32Array: 4, + Float64Array: 8 + }; + + var BigIntArrayConstructorsList = { + BigInt64Array: 8, + BigUint64Array: 8 + }; + + var isView = function isView(it) { + if (!isObject$1(it)) return false; + var klass = classof(it); + return klass === 'DataView' + || has$1(TypedArrayConstructorsList, klass) + || has$1(BigIntArrayConstructorsList, klass); + }; + + var isTypedArray = function (it) { + if (!isObject$1(it)) return false; + var klass = classof(it); + return has$1(TypedArrayConstructorsList, klass) + || has$1(BigIntArrayConstructorsList, klass); + }; + + var aTypedArray$m = function (it) { + if (isTypedArray(it)) return it; + throw TypeError('Target is not a typed array'); + }; + + var aTypedArrayConstructor$4 = function (C) { + if (objectSetPrototypeOf) { + if (isPrototypeOf.call(TypedArray, C)) return C; + } else for (var ARRAY in TypedArrayConstructorsList) if (has$1(TypedArrayConstructorsList, NAME)) { + var TypedArrayConstructor = global_1[ARRAY]; + if (TypedArrayConstructor && (C === TypedArrayConstructor || isPrototypeOf.call(TypedArrayConstructor, C))) { + return C; + } + } throw TypeError('Target is not a typed array constructor'); + }; + + var exportTypedArrayMethod$n = function (KEY, property, forced) { + if (!descriptors) return; + if (forced) for (var ARRAY in TypedArrayConstructorsList) { + var TypedArrayConstructor = global_1[ARRAY]; + if (TypedArrayConstructor && has$1(TypedArrayConstructor.prototype, KEY)) try { + delete TypedArrayConstructor.prototype[KEY]; + } catch (error) { /* empty */ } + } + if (!TypedArrayPrototype[KEY] || forced) { + redefine(TypedArrayPrototype, KEY, forced ? property + : NATIVE_ARRAY_BUFFER_VIEWS$1 && Int8ArrayPrototype[KEY] || property); + } + }; + + var exportTypedArrayStaticMethod = function (KEY, property, forced) { + var ARRAY, TypedArrayConstructor; + if (!descriptors) return; + if (objectSetPrototypeOf) { + if (forced) for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global_1[ARRAY]; + if (TypedArrayConstructor && has$1(TypedArrayConstructor, KEY)) try { + delete TypedArrayConstructor[KEY]; + } catch (error) { /* empty */ } + } + if (!TypedArray[KEY] || forced) { + // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable + try { + return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS$1 && TypedArray[KEY] || property); + } catch (error) { /* empty */ } + } else return; + } + for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global_1[ARRAY]; + if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { + redefine(TypedArrayConstructor, KEY, property); + } + } + }; + + for (NAME in TypedArrayConstructorsList) { + if (!global_1[NAME]) NATIVE_ARRAY_BUFFER_VIEWS$1 = false; + } + + // WebKit bug - typed arrays constructors prototype is Object.prototype + if (!NATIVE_ARRAY_BUFFER_VIEWS$1 || typeof TypedArray != 'function' || TypedArray === Function.prototype) { + // eslint-disable-next-line no-shadow -- safe + TypedArray = function TypedArray() { + throw TypeError('Incorrect invocation'); + }; + if (NATIVE_ARRAY_BUFFER_VIEWS$1) for (NAME in TypedArrayConstructorsList) { + if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray); + } + } + + if (!NATIVE_ARRAY_BUFFER_VIEWS$1 || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { + TypedArrayPrototype = TypedArray.prototype; + if (NATIVE_ARRAY_BUFFER_VIEWS$1) for (NAME in TypedArrayConstructorsList) { + if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME].prototype, TypedArrayPrototype); + } + } + + // WebKit bug - one more object in Uint8ClampedArray prototype chain + if (NATIVE_ARRAY_BUFFER_VIEWS$1 && objectGetPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { + objectSetPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); + } + + if (descriptors && !has$1(TypedArrayPrototype, TO_STRING_TAG$1)) { + TYPED_ARRAY_TAG_REQIRED = true; + defineProperty$1(TypedArrayPrototype, TO_STRING_TAG$1, { get: function () { + return isObject$1(this) ? this[TYPED_ARRAY_TAG] : undefined; + } }); + for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) { + createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME); + } + } + + var arrayBufferViewCore = { + NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS$1, + TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG, + aTypedArray: aTypedArray$m, + aTypedArrayConstructor: aTypedArrayConstructor$4, + exportTypedArrayMethod: exportTypedArrayMethod$n, + exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, + isView: isView, + isTypedArray: isTypedArray, + TypedArray: TypedArray, + TypedArrayPrototype: TypedArrayPrototype + }; + + /* eslint-disable no-new -- required for testing */ + + + + var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; + + var ArrayBuffer$1 = global_1.ArrayBuffer; + var Int8Array$2 = global_1.Int8Array; + + var typedArrayConstructorsRequireWrappers = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () { + Int8Array$2(1); + }) || !fails(function () { + new Int8Array$2(-1); + }) || !checkCorrectnessOfIteration(function (iterable) { + new Int8Array$2(); + new Int8Array$2(null); + new Int8Array$2(1.5); + new Int8Array$2(iterable); + }, true) || fails(function () { + // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill + return new Int8Array$2(new ArrayBuffer$1(2), 1, undefined).length !== 1; + }); + + var toPositiveInteger = function (it) { + var result = toInteger(it); + if (result < 0) throw RangeError("The argument can't be less than 0"); + return result; + }; + + var toOffset = function (it, BYTES) { + var offset = toPositiveInteger(it); + if (offset % BYTES) throw RangeError('Wrong offset'); + return offset; + }; + + var ITERATOR$3 = wellKnownSymbol('iterator'); + + var getIteratorMethod = function (it) { + if (it != undefined) return it[ITERATOR$3] + || it['@@iterator'] + || iterators[classof(it)]; + }; + + var ITERATOR$2 = wellKnownSymbol('iterator'); + var ArrayPrototype = Array.prototype; + + // check on default Array iterator + var isArrayIteratorMethod = function (it) { + return it !== undefined && (iterators.Array === it || ArrayPrototype[ITERATOR$2] === it); + }; + + var aTypedArrayConstructor$3 = arrayBufferViewCore.aTypedArrayConstructor; + + var typedArrayFrom = function from(source /* , mapfn, thisArg */) { + var O = toObject(source); + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + var mapping = mapfn !== undefined; + var iteratorMethod = getIteratorMethod(O); + var i, length, result, step, iterator, next; + if (iteratorMethod != undefined && !isArrayIteratorMethod(iteratorMethod)) { + iterator = iteratorMethod.call(O); + next = iterator.next; + O = []; + while (!(step = next.call(iterator)).done) { + O.push(step.value); + } + } + if (mapping && argumentsLength > 2) { + mapfn = functionBindContext(mapfn, arguments[2], 2); + } + length = toLength(O.length); + result = new (aTypedArrayConstructor$3(this))(length); + for (i = 0; length > i; i++) { + result[i] = mapping ? mapfn(O[i], i) : O[i]; + } + return result; + }; + + var typedArrayConstructor = createCommonjsModule(function (module) { + + + + + + + + + + + + + + + + + + + var getOwnPropertyNames = objectGetOwnPropertyNames.f; + + var forEach = arrayIteration.forEach; + + + + + + + var getInternalState = internalState.get; + var setInternalState = internalState.set; + var nativeDefineProperty = objectDefineProperty.f; + var nativeGetOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; + var round = Math.round; + var RangeError = global_1.RangeError; + var ArrayBuffer = arrayBuffer.ArrayBuffer; + var DataView = arrayBuffer.DataView; + var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; + var TYPED_ARRAY_TAG = arrayBufferViewCore.TYPED_ARRAY_TAG; + var TypedArray = arrayBufferViewCore.TypedArray; + var TypedArrayPrototype = arrayBufferViewCore.TypedArrayPrototype; + var aTypedArrayConstructor = arrayBufferViewCore.aTypedArrayConstructor; + var isTypedArray = arrayBufferViewCore.isTypedArray; + var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; + var WRONG_LENGTH = 'Wrong length'; + + var fromList = function (C, list) { + var index = 0; + var length = list.length; + var result = new (aTypedArrayConstructor(C))(length); + while (length > index) result[index] = list[index++]; + return result; + }; + + var addGetter = function (it, key) { + nativeDefineProperty(it, key, { get: function () { + return getInternalState(this)[key]; + } }); + }; + + var isArrayBuffer = function (it) { + var klass; + return it instanceof ArrayBuffer || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer'; + }; + + var isTypedArrayIndex = function (target, key) { + return isTypedArray(target) + && typeof key != 'symbol' + && key in target + && String(+key) == String(key); + }; + + var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) { + return isTypedArrayIndex(target, key = toPrimitive(key, true)) + ? createPropertyDescriptor(2, target[key]) + : nativeGetOwnPropertyDescriptor(target, key); + }; + + var wrappedDefineProperty = function defineProperty(target, key, descriptor) { + if (isTypedArrayIndex(target, key = toPrimitive(key, true)) + && isObject$1(descriptor) + && has$1(descriptor, 'value') + && !has$1(descriptor, 'get') + && !has$1(descriptor, 'set') + // TODO: add validation descriptor w/o calling accessors + && !descriptor.configurable + && (!has$1(descriptor, 'writable') || descriptor.writable) + && (!has$1(descriptor, 'enumerable') || descriptor.enumerable) + ) { + target[key] = descriptor.value; + return target; + } return nativeDefineProperty(target, key, descriptor); + }; + + if (descriptors) { + if (!NATIVE_ARRAY_BUFFER_VIEWS) { + objectGetOwnPropertyDescriptor.f = wrappedGetOwnPropertyDescriptor; + objectDefineProperty.f = wrappedDefineProperty; + addGetter(TypedArrayPrototype, 'buffer'); + addGetter(TypedArrayPrototype, 'byteOffset'); + addGetter(TypedArrayPrototype, 'byteLength'); + addGetter(TypedArrayPrototype, 'length'); + } + + _export({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { + getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor, + defineProperty: wrappedDefineProperty + }); + + module.exports = function (TYPE, wrapper, CLAMPED) { + var BYTES = TYPE.match(/\d+$/)[0] / 8; + var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array'; + var GETTER = 'get' + TYPE; + var SETTER = 'set' + TYPE; + var NativeTypedArrayConstructor = global_1[CONSTRUCTOR_NAME]; + var TypedArrayConstructor = NativeTypedArrayConstructor; + var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype; + var exported = {}; + + var getter = function (that, index) { + var data = getInternalState(that); + return data.view[GETTER](index * BYTES + data.byteOffset, true); + }; + + var setter = function (that, index, value) { + var data = getInternalState(that); + if (CLAMPED) value = (value = round(value)) < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF; + data.view[SETTER](index * BYTES + data.byteOffset, value, true); + }; + + var addElement = function (that, index) { + nativeDefineProperty(that, index, { + get: function () { + return getter(this, index); + }, + set: function (value) { + return setter(this, index, value); + }, + enumerable: true + }); + }; + + if (!NATIVE_ARRAY_BUFFER_VIEWS) { + TypedArrayConstructor = wrapper(function (that, data, offset, $length) { + anInstance(that, TypedArrayConstructor, CONSTRUCTOR_NAME); + var index = 0; + var byteOffset = 0; + var buffer, byteLength, length; + if (!isObject$1(data)) { + length = toIndex(data); + byteLength = length * BYTES; + buffer = new ArrayBuffer(byteLength); + } else if (isArrayBuffer(data)) { + buffer = data; + byteOffset = toOffset(offset, BYTES); + var $len = data.byteLength; + if ($length === undefined) { + if ($len % BYTES) throw RangeError(WRONG_LENGTH); + byteLength = $len - byteOffset; + if (byteLength < 0) throw RangeError(WRONG_LENGTH); + } else { + byteLength = toLength($length) * BYTES; + if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH); + } + length = byteLength / BYTES; + } else if (isTypedArray(data)) { + return fromList(TypedArrayConstructor, data); + } else { + return typedArrayFrom.call(TypedArrayConstructor, data); + } + setInternalState(that, { + buffer: buffer, + byteOffset: byteOffset, + byteLength: byteLength, + length: length, + view: new DataView(buffer) + }); + while (index < length) addElement(that, index++); + }); + + if (objectSetPrototypeOf) objectSetPrototypeOf(TypedArrayConstructor, TypedArray); + TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = objectCreate(TypedArrayPrototype); + } else if (typedArrayConstructorsRequireWrappers) { + TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) { + anInstance(dummy, TypedArrayConstructor, CONSTRUCTOR_NAME); + return inheritIfRequired(function () { + if (!isObject$1(data)) return new NativeTypedArrayConstructor(toIndex(data)); + if (isArrayBuffer(data)) return $length !== undefined + ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length) + : typedArrayOffset !== undefined + ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES)) + : new NativeTypedArrayConstructor(data); + if (isTypedArray(data)) return fromList(TypedArrayConstructor, data); + return typedArrayFrom.call(TypedArrayConstructor, data); + }(), dummy, TypedArrayConstructor); + }); + + if (objectSetPrototypeOf) objectSetPrototypeOf(TypedArrayConstructor, TypedArray); + forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) { + if (!(key in TypedArrayConstructor)) { + createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]); + } + }); + TypedArrayConstructor.prototype = TypedArrayConstructorPrototype; + } + + if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor); + } + + if (TYPED_ARRAY_TAG) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME); + } + + exported[CONSTRUCTOR_NAME] = TypedArrayConstructor; + + _export({ + global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS + }, exported); + + if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) { + createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES); + } + + if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES); + } + + setSpecies(CONSTRUCTOR_NAME); + }; + } else module.exports = function () { /* empty */ }; + }); + + // `Uint8Array` constructor + // https://tc39.es/ecma262/#sec-typedarray-objects + typedArrayConstructor('Uint8', function (init) { + return function Uint8Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; + }); + + var min$2 = Math.min; + + // `Array.prototype.copyWithin` method implementation + // https://tc39.es/ecma262/#sec-array.prototype.copywithin + // eslint-disable-next-line es/no-array-prototype-copywithin -- safe + var arrayCopyWithin = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { + var O = toObject(this); + var len = toLength(O.length); + var to = toAbsoluteIndex(target, len); + var from = toAbsoluteIndex(start, len); + var end = arguments.length > 2 ? arguments[2] : undefined; + var count = min$2((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); + var inc = 1; + if (from < to && to < from + count) { + inc = -1; + from += count - 1; + to += count - 1; + } + while (count-- > 0) { + if (from in O) O[to] = O[from]; + else delete O[to]; + to += inc; + from += inc; + } return O; + }; + + var aTypedArray$l = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$m = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.copyWithin` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin + exportTypedArrayMethod$m('copyWithin', function copyWithin(target, start /* , end */) { + return arrayCopyWithin.call(aTypedArray$l(this), target, start, arguments.length > 2 ? arguments[2] : undefined); + }); + + var $every = arrayIteration.every; + + var aTypedArray$k = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$l = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.every` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.every + exportTypedArrayMethod$l('every', function every(callbackfn /* , thisArg */) { + return $every(aTypedArray$k(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + }); + + var aTypedArray$j = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$k = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.fill` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill + // eslint-disable-next-line no-unused-vars -- required for `.length` + exportTypedArrayMethod$k('fill', function fill(value /* , start, end */) { + return arrayFill.apply(aTypedArray$j(this), arguments); + }); + + var aTypedArrayConstructor$2 = arrayBufferViewCore.aTypedArrayConstructor; + + + var typedArrayFromSpeciesAndList = function (instance, list) { + var C = speciesConstructor(instance, instance.constructor); + var index = 0; + var length = list.length; + var result = new (aTypedArrayConstructor$2(C))(length); + while (length > index) result[index] = list[index++]; + return result; + }; + + var $filter = arrayIteration.filter; + + + var aTypedArray$i = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$j = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.filter` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter + exportTypedArrayMethod$j('filter', function filter(callbackfn /* , thisArg */) { + var list = $filter(aTypedArray$i(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return typedArrayFromSpeciesAndList(this, list); + }); + + var $find = arrayIteration.find; + + var aTypedArray$h = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$i = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.find` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.find + exportTypedArrayMethod$i('find', function find(predicate /* , thisArg */) { + return $find(aTypedArray$h(this), predicate, arguments.length > 1 ? arguments[1] : undefined); + }); + + var $findIndex = arrayIteration.findIndex; + + var aTypedArray$g = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$h = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.findIndex` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex + exportTypedArrayMethod$h('findIndex', function findIndex(predicate /* , thisArg */) { + return $findIndex(aTypedArray$g(this), predicate, arguments.length > 1 ? arguments[1] : undefined); + }); + + var $forEach = arrayIteration.forEach; + + var aTypedArray$f = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$g = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.forEach` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach + exportTypedArrayMethod$g('forEach', function forEach(callbackfn /* , thisArg */) { + $forEach(aTypedArray$f(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + }); + + var $includes = arrayIncludes.includes; + + var aTypedArray$e = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$f = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.includes` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes + exportTypedArrayMethod$f('includes', function includes(searchElement /* , fromIndex */) { + return $includes(aTypedArray$e(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); + }); + + var $indexOf = arrayIncludes.indexOf; + + var aTypedArray$d = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$e = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.indexOf` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof + exportTypedArrayMethod$e('indexOf', function indexOf(searchElement /* , fromIndex */) { + return $indexOf(aTypedArray$d(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); + }); + + var ITERATOR$1 = wellKnownSymbol('iterator'); + var Uint8Array$2 = global_1.Uint8Array; + var arrayValues = es_array_iterator.values; + var arrayKeys = es_array_iterator.keys; + var arrayEntries = es_array_iterator.entries; + var aTypedArray$c = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$d = arrayBufferViewCore.exportTypedArrayMethod; + var nativeTypedArrayIterator = Uint8Array$2 && Uint8Array$2.prototype[ITERATOR$1]; + + var CORRECT_ITER_NAME = !!nativeTypedArrayIterator + && (nativeTypedArrayIterator.name == 'values' || nativeTypedArrayIterator.name == undefined); + + var typedArrayValues = function values() { + return arrayValues.call(aTypedArray$c(this)); + }; + + // `%TypedArray%.prototype.entries` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries + exportTypedArrayMethod$d('entries', function entries() { + return arrayEntries.call(aTypedArray$c(this)); + }); + // `%TypedArray%.prototype.keys` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys + exportTypedArrayMethod$d('keys', function keys() { + return arrayKeys.call(aTypedArray$c(this)); + }); + // `%TypedArray%.prototype.values` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.values + exportTypedArrayMethod$d('values', typedArrayValues, !CORRECT_ITER_NAME); + // `%TypedArray%.prototype[@@iterator]` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator + exportTypedArrayMethod$d(ITERATOR$1, typedArrayValues, !CORRECT_ITER_NAME); + + var aTypedArray$b = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$c = arrayBufferViewCore.exportTypedArrayMethod; + var $join = [].join; + + // `%TypedArray%.prototype.join` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.join + // eslint-disable-next-line no-unused-vars -- required for `.length` + exportTypedArrayMethod$c('join', function join(separator) { + return $join.apply(aTypedArray$b(this), arguments); + }); + + /* eslint-disable es/no-array-prototype-lastindexof -- safe */ + + + + + + var min$1 = Math.min; + var $lastIndexOf = [].lastIndexOf; + var NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0; + var STRICT_METHOD$1 = arrayMethodIsStrict('lastIndexOf'); + var FORCED$6 = NEGATIVE_ZERO || !STRICT_METHOD$1; + + // `Array.prototype.lastIndexOf` method implementation + // https://tc39.es/ecma262/#sec-array.prototype.lastindexof + var arrayLastIndexOf = FORCED$6 ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { + // convert -0 to +0 + if (NEGATIVE_ZERO) return $lastIndexOf.apply(this, arguments) || 0; + var O = toIndexedObject(this); + var length = toLength(O.length); + var index = length - 1; + if (arguments.length > 1) index = min$1(index, toInteger(arguments[1])); + if (index < 0) index = length + index; + for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0; + return -1; + } : $lastIndexOf; + + var aTypedArray$a = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$b = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.lastIndexOf` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof + // eslint-disable-next-line no-unused-vars -- required for `.length` + exportTypedArrayMethod$b('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) { + return arrayLastIndexOf.apply(aTypedArray$a(this), arguments); + }); + + var $map = arrayIteration.map; + + + var aTypedArray$9 = arrayBufferViewCore.aTypedArray; + var aTypedArrayConstructor$1 = arrayBufferViewCore.aTypedArrayConstructor; + var exportTypedArrayMethod$a = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.map` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.map + exportTypedArrayMethod$a('map', function map(mapfn /* , thisArg */) { + return $map(aTypedArray$9(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) { + return new (aTypedArrayConstructor$1(speciesConstructor(O, O.constructor)))(length); + }); + }); + + // `Array.prototype.{ reduce, reduceRight }` methods implementation + var createMethod$1 = function (IS_RIGHT) { + return function (that, callbackfn, argumentsLength, memo) { + aFunction(callbackfn); + var O = toObject(that); + var self = indexedObject(O); + var length = toLength(O.length); + var index = IS_RIGHT ? length - 1 : 0; + var i = IS_RIGHT ? -1 : 1; + if (argumentsLength < 2) while (true) { + if (index in self) { + memo = self[index]; + index += i; + break; + } + index += i; + if (IS_RIGHT ? index < 0 : length <= index) { + throw TypeError('Reduce of empty array with no initial value'); + } + } + for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) { + memo = callbackfn(memo, self[index], index, O); + } + return memo; + }; + }; + + var arrayReduce = { + // `Array.prototype.reduce` method + // https://tc39.es/ecma262/#sec-array.prototype.reduce + left: createMethod$1(false), + // `Array.prototype.reduceRight` method + // https://tc39.es/ecma262/#sec-array.prototype.reduceright + right: createMethod$1(true) + }; + + var $reduce = arrayReduce.left; + + var aTypedArray$8 = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$9 = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.reduce` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce + exportTypedArrayMethod$9('reduce', function reduce(callbackfn /* , initialValue */) { + return $reduce(aTypedArray$8(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); + }); + + var $reduceRight = arrayReduce.right; + + var aTypedArray$7 = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$8 = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.reduceRicht` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright + exportTypedArrayMethod$8('reduceRight', function reduceRight(callbackfn /* , initialValue */) { + return $reduceRight(aTypedArray$7(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); + }); + + var aTypedArray$6 = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$7 = arrayBufferViewCore.exportTypedArrayMethod; + var floor$2 = Math.floor; + + // `%TypedArray%.prototype.reverse` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse + exportTypedArrayMethod$7('reverse', function reverse() { + var that = this; + var length = aTypedArray$6(that).length; + var middle = floor$2(length / 2); + var index = 0; + var value; + while (index < middle) { + value = that[index]; + that[index++] = that[--length]; + that[length] = value; + } return that; + }); + + var aTypedArray$5 = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$6 = arrayBufferViewCore.exportTypedArrayMethod; + + var FORCED$5 = fails(function () { + // eslint-disable-next-line es/no-typed-arrays -- required for testing + new Int8Array(1).set({}); + }); + + // `%TypedArray%.prototype.set` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.set + exportTypedArrayMethod$6('set', function set(arrayLike /* , offset */) { + aTypedArray$5(this); + var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1); + var length = this.length; + var src = toObject(arrayLike); + var len = toLength(src.length); + var index = 0; + if (len + offset > length) throw RangeError('Wrong length'); + while (index < len) this[offset + index] = src[index++]; + }, FORCED$5); + + var aTypedArray$4 = arrayBufferViewCore.aTypedArray; + var aTypedArrayConstructor = arrayBufferViewCore.aTypedArrayConstructor; + var exportTypedArrayMethod$5 = arrayBufferViewCore.exportTypedArrayMethod; + var $slice$1 = [].slice; + + var FORCED$4 = fails(function () { + // eslint-disable-next-line es/no-typed-arrays -- required for testing + new Int8Array(1).slice(); + }); + + // `%TypedArray%.prototype.slice` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice + exportTypedArrayMethod$5('slice', function slice(start, end) { + var list = $slice$1.call(aTypedArray$4(this), start, end); + var C = speciesConstructor(this, this.constructor); + var index = 0; + var length = list.length; + var result = new (aTypedArrayConstructor(C))(length); + while (length > index) result[index] = list[index++]; + return result; + }, FORCED$4); + + var $some = arrayIteration.some; + + var aTypedArray$3 = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$4 = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.some` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.some + exportTypedArrayMethod$4('some', function some(callbackfn /* , thisArg */) { + return $some(aTypedArray$3(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + }); + + // TODO: use something more complex like timsort? + var floor$1 = Math.floor; + + var mergeSort = function (array, comparefn) { + var length = array.length; + var middle = floor$1(length / 2); + return length < 8 ? insertionSort(array, comparefn) : merge( + mergeSort(array.slice(0, middle), comparefn), + mergeSort(array.slice(middle), comparefn), + comparefn + ); + }; + + var insertionSort = function (array, comparefn) { + var length = array.length; + var i = 1; + var element, j; + + while (i < length) { + j = i; + element = array[i]; + while (j && comparefn(array[j - 1], element) > 0) { + array[j] = array[--j]; + } + if (j !== i++) array[j] = element; + } return array; + }; + + var merge = function (left, right, comparefn) { + var llength = left.length; + var rlength = right.length; + var lindex = 0; + var rindex = 0; + var result = []; + + while (lindex < llength || rindex < rlength) { + if (lindex < llength && rindex < rlength) { + result.push(comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]); + } else { + result.push(lindex < llength ? left[lindex++] : right[rindex++]); + } + } return result; + }; + + var arraySort = mergeSort; + + var firefox = engineUserAgent.match(/firefox\/(\d+)/i); + + var engineFfVersion = !!firefox && +firefox[1]; + + var engineIsIeOrEdge = /MSIE|Trident/.test(engineUserAgent); + + var webkit = engineUserAgent.match(/AppleWebKit\/(\d+)\./); + + var engineWebkitVersion = !!webkit && +webkit[1]; + + var aTypedArray$2 = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$3 = arrayBufferViewCore.exportTypedArrayMethod; + var Uint16Array = global_1.Uint16Array; + var nativeSort$1 = Uint16Array && Uint16Array.prototype.sort; + + // WebKit + var ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort$1 && !fails(function () { + var array = new Uint16Array(2); + array.sort(null); + array.sort({}); + }); + + var STABLE_SORT$1 = !!nativeSort$1 && !fails(function () { + // feature detection can be too slow, so check engines versions + if (engineV8Version) return engineV8Version < 74; + if (engineFfVersion) return engineFfVersion < 67; + if (engineIsIeOrEdge) return true; + if (engineWebkitVersion) return engineWebkitVersion < 602; + + var array = new Uint16Array(516); + var expected = Array(516); + var index, mod; + + for (index = 0; index < 516; index++) { + mod = index % 4; + array[index] = 515 - index; + expected[index] = index - 2 * mod + 3; + } + + array.sort(function (a, b) { + return (a / 4 | 0) - (b / 4 | 0); + }); + + for (index = 0; index < 516; index++) { + if (array[index] !== expected[index]) return true; + } + }); + + var getSortCompare$1 = function (comparefn) { + return function (x, y) { + if (comparefn !== undefined) return +comparefn(x, y) || 0; + // eslint-disable-next-line no-self-compare -- NaN check + if (y !== y) return -1; + // eslint-disable-next-line no-self-compare -- NaN check + if (x !== x) return 1; + if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1; + return x > y; + }; + }; + + // `%TypedArray%.prototype.sort` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort + exportTypedArrayMethod$3('sort', function sort(comparefn) { + var array = this; + if (comparefn !== undefined) aFunction(comparefn); + if (STABLE_SORT$1) return nativeSort$1.call(array, comparefn); + + aTypedArray$2(array); + var arrayLength = toLength(array.length); + var items = Array(arrayLength); + var index; + + for (index = 0; index < arrayLength; index++) { + items[index] = array[index]; + } + + items = arraySort(array, getSortCompare$1(comparefn)); + + for (index = 0; index < arrayLength; index++) { + array[index] = items[index]; + } + + return array; + }, !STABLE_SORT$1 || ACCEPT_INCORRECT_ARGUMENTS); + + var aTypedArray$1 = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$2 = arrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.subarray` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray + exportTypedArrayMethod$2('subarray', function subarray(begin, end) { + var O = aTypedArray$1(this); + var length = O.length; + var beginIndex = toAbsoluteIndex(begin, length); + return new (speciesConstructor(O, O.constructor))( + O.buffer, + O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, + toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex) + ); + }); + + var Int8Array$1 = global_1.Int8Array; + var aTypedArray = arrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod; + var $toLocaleString = [].toLocaleString; + var $slice = [].slice; + + // iOS Safari 6.x fails here + var TO_LOCALE_STRING_BUG = !!Int8Array$1 && fails(function () { + $toLocaleString.call(new Int8Array$1(1)); + }); + + var FORCED$3 = fails(function () { + return [1, 2].toLocaleString() != new Int8Array$1([1, 2]).toLocaleString(); + }) || !fails(function () { + Int8Array$1.prototype.toLocaleString.call([1, 2]); + }); + + // `%TypedArray%.prototype.toLocaleString` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring + exportTypedArrayMethod$1('toLocaleString', function toLocaleString() { + return $toLocaleString.apply(TO_LOCALE_STRING_BUG ? $slice.call(aTypedArray(this)) : aTypedArray(this), arguments); + }, FORCED$3); + + var exportTypedArrayMethod = arrayBufferViewCore.exportTypedArrayMethod; + + + + var Uint8Array$1 = global_1.Uint8Array; + var Uint8ArrayPrototype = Uint8Array$1 && Uint8Array$1.prototype || {}; + var arrayToString = [].toString; + var arrayJoin = [].join; + + if (fails(function () { arrayToString.call({}); })) { + arrayToString = function toString() { + return arrayJoin.call(this); + }; + } + + var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString; + + // `%TypedArray%.prototype.toString` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring + exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD); + + // `URL.prototype.toJSON` method + // https://url.spec.whatwg.org/#dom-url-tojson + _export({ target: 'URL', proto: true, enumerable: true }, { + toJSON: function toJSON() { + return URL.prototype.toString.call(this); + } + }); + + var lookup$1 = []; + var revLookup$1 = []; + var Arr$1 = typeof Uint8Array !== 'undefined' ? Uint8Array : Array; + var inited$1 = false; + + function init$1() { + inited$1 = true; + var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; + + for (var i = 0, len = code.length; i < len; ++i) { + lookup$1[i] = code[i]; + revLookup$1[code.charCodeAt(i)] = i; + } + + revLookup$1['-'.charCodeAt(0)] = 62; + revLookup$1['_'.charCodeAt(0)] = 63; + } + + function toByteArray$1(b64) { + if (!inited$1) { + init$1(); + } + + var i, j, l, tmp, placeHolders, arr; + var len = b64.length; + + if (len % 4 > 0) { + throw new Error('Invalid string. Length must be a multiple of 4'); + } // the number of equal signs (place holders) + // if there are two placeholders, than the two characters before it + // represent one byte + // if there is only one, then the three characters before it represent 2 bytes + // this is just a cheap hack to not do indexOf twice + + + placeHolders = b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0; // base64 is 4/3 + up to two characters of the original data + + arr = new Arr$1(len * 3 / 4 - placeHolders); // if there are placeholders, only get up to the last complete 4 chars + + l = placeHolders > 0 ? len - 4 : len; + var L = 0; + + for (i = 0, j = 0; i < l; i += 4, j += 3) { + tmp = revLookup$1[b64.charCodeAt(i)] << 18 | revLookup$1[b64.charCodeAt(i + 1)] << 12 | revLookup$1[b64.charCodeAt(i + 2)] << 6 | revLookup$1[b64.charCodeAt(i + 3)]; + arr[L++] = tmp >> 16 & 0xFF; + arr[L++] = tmp >> 8 & 0xFF; + arr[L++] = tmp & 0xFF; + } + + if (placeHolders === 2) { + tmp = revLookup$1[b64.charCodeAt(i)] << 2 | revLookup$1[b64.charCodeAt(i + 1)] >> 4; + arr[L++] = tmp & 0xFF; + } else if (placeHolders === 1) { + tmp = revLookup$1[b64.charCodeAt(i)] << 10 | revLookup$1[b64.charCodeAt(i + 1)] << 4 | revLookup$1[b64.charCodeAt(i + 2)] >> 2; + arr[L++] = tmp >> 8 & 0xFF; + arr[L++] = tmp & 0xFF; + } + + return arr; + } + + function tripletToBase64$1(num) { + return lookup$1[num >> 18 & 0x3F] + lookup$1[num >> 12 & 0x3F] + lookup$1[num >> 6 & 0x3F] + lookup$1[num & 0x3F]; + } + + function encodeChunk$1(uint8, start, end) { + var tmp; + var output = []; + + for (var i = start; i < end; i += 3) { + tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + uint8[i + 2]; + output.push(tripletToBase64$1(tmp)); + } + + return output.join(''); + } + + function fromByteArray$1(uint8) { + if (!inited$1) { + init$1(); + } + + var tmp; + var len = uint8.length; + var extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes + + var output = ''; + var parts = []; + var maxChunkLength = 16383; // must be multiple of 3 + // go through the array every three bytes, we'll deal with trailing stuff later + + for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) { + parts.push(encodeChunk$1(uint8, i, i + maxChunkLength > len2 ? len2 : i + maxChunkLength)); + } // pad the end with zeros, but make sure to not forget the extra bytes + + + if (extraBytes === 1) { + tmp = uint8[len - 1]; + output += lookup$1[tmp >> 2]; + output += lookup$1[tmp << 4 & 0x3F]; + output += '=='; + } else if (extraBytes === 2) { + tmp = (uint8[len - 2] << 8) + uint8[len - 1]; + output += lookup$1[tmp >> 10]; + output += lookup$1[tmp >> 4 & 0x3F]; + output += lookup$1[tmp << 2 & 0x3F]; + output += '='; + } + + parts.push(output); + return parts.join(''); + } + + function read$1(buffer, offset, isLE, mLen, nBytes) { + var e, m; + var eLen = nBytes * 8 - mLen - 1; + var eMax = (1 << eLen) - 1; + var eBias = eMax >> 1; + var nBits = -7; + var i = isLE ? nBytes - 1 : 0; + var d = isLE ? -1 : 1; + var s = buffer[offset + i]; + i += d; + e = s & (1 << -nBits) - 1; + s >>= -nBits; + nBits += eLen; + + for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {} + + m = e & (1 << -nBits) - 1; + e >>= -nBits; + nBits += mLen; + + for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {} + + if (e === 0) { + e = 1 - eBias; + } else if (e === eMax) { + return m ? NaN : (s ? -1 : 1) * Infinity; + } else { + m = m + Math.pow(2, mLen); + e = e - eBias; + } + + return (s ? -1 : 1) * m * Math.pow(2, e - mLen); + } + function write$1(buffer, value, offset, isLE, mLen, nBytes) { + var e, m, c; + var eLen = nBytes * 8 - mLen - 1; + var eMax = (1 << eLen) - 1; + var eBias = eMax >> 1; + var rt = mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0; + var i = isLE ? 0 : nBytes - 1; + var d = isLE ? 1 : -1; + var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0; + value = Math.abs(value); + + if (isNaN(value) || value === Infinity) { + m = isNaN(value) ? 1 : 0; + e = eMax; + } else { + e = Math.floor(Math.log(value) / Math.LN2); + + if (value * (c = Math.pow(2, -e)) < 1) { + e--; + c *= 2; + } + + if (e + eBias >= 1) { + value += rt / c; + } else { + value += rt * Math.pow(2, 1 - eBias); + } + + if (value * c >= 2) { + e++; + c /= 2; + } + + if (e + eBias >= eMax) { + m = 0; + e = eMax; + } else if (e + eBias >= 1) { + m = (value * c - 1) * Math.pow(2, mLen); + e = e + eBias; + } else { + m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen); + e = 0; + } + } + + for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {} + + e = e << mLen | m; + eLen += mLen; + + for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {} + + buffer[offset + i - d] |= s * 128; + } + + var toString$2 = {}.toString; + var isArray$2 = Array.isArray || function (arr) { + return toString$2.call(arr) == '[object Array]'; + }; + + var INSPECT_MAX_BYTES$1 = 50; + /** + * If `Buffer.TYPED_ARRAY_SUPPORT`: + * === true Use Uint8Array implementation (fastest) + * === false Use Object implementation (most compatible, even IE6) + * + * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+, + * Opera 11.6+, iOS 4.2+. + * + * Due to various browser bugs, sometimes the Object implementation will be used even + * when the browser supports typed arrays. + * + * Note: + * + * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances, + * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438. + * + * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function. + * + * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of + * incorrect length in some situations. + + * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they + * get the Object implementation, which is slower but behaves correctly. + */ + + Buffer$1.TYPED_ARRAY_SUPPORT = global$1.TYPED_ARRAY_SUPPORT !== undefined ? global$1.TYPED_ARRAY_SUPPORT : true; + + function kMaxLength$1() { + return Buffer$1.TYPED_ARRAY_SUPPORT ? 0x7fffffff : 0x3fffffff; + } + + function createBuffer$1(that, length) { + if (kMaxLength$1() < length) { + throw new RangeError('Invalid typed array length'); + } + + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + // Return an augmented `Uint8Array` instance, for best performance + that = new Uint8Array(length); + that.__proto__ = Buffer$1.prototype; + } else { + // Fallback: Return an object instance of the Buffer class + if (that === null) { + that = new Buffer$1(length); + } + + that.length = length; + } + + return that; + } + /** + * The Buffer constructor returns instances of `Uint8Array` that have their + * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of + * `Uint8Array`, so the returned instances will have all the node `Buffer` methods + * and the `Uint8Array` methods. Square bracket notation works as expected -- it + * returns a single octet. + * + * The `Uint8Array` prototype remains unmodified. + */ + + + function Buffer$1(arg, encodingOrOffset, length) { + if (!Buffer$1.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer$1)) { + return new Buffer$1(arg, encodingOrOffset, length); + } // Common case. + + + if (typeof arg === 'number') { + if (typeof encodingOrOffset === 'string') { + throw new Error('If encoding is specified then the first argument must be a string'); + } + + return allocUnsafe$1(this, arg); + } + + return from$1(this, arg, encodingOrOffset, length); + } + Buffer$1.poolSize = 8192; // not used by this implementation + // TODO: Legacy, not needed anymore. Remove in next major version. + + Buffer$1._augment = function (arr) { + arr.__proto__ = Buffer$1.prototype; + return arr; + }; + + function from$1(that, value, encodingOrOffset, length) { + if (typeof value === 'number') { + throw new TypeError('"value" argument must not be a number'); + } + + if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) { + return fromArrayBuffer$1(that, value, encodingOrOffset, length); + } + + if (typeof value === 'string') { + return fromString$1(that, value, encodingOrOffset); + } + + return fromObject$1(that, value); + } + /** + * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError + * if value is a number. + * Buffer.from(str[, encoding]) + * Buffer.from(array) + * Buffer.from(buffer) + * Buffer.from(arrayBuffer[, byteOffset[, length]]) + **/ + + + Buffer$1.from = function (value, encodingOrOffset, length) { + return from$1(null, value, encodingOrOffset, length); + }; + + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + Buffer$1.prototype.__proto__ = Uint8Array.prototype; + Buffer$1.__proto__ = Uint8Array; + } + + function assertSize$1(size) { + if (typeof size !== 'number') { + throw new TypeError('"size" argument must be a number'); + } else if (size < 0) { + throw new RangeError('"size" argument must not be negative'); + } + } + + function alloc$1(that, size, fill, encoding) { + assertSize$1(size); + + if (size <= 0) { + return createBuffer$1(that, size); + } + + if (fill !== undefined) { + // Only pay attention to encoding if it's a string. This + // prevents accidentally sending in a number that would + // be interpretted as a start offset. + return typeof encoding === 'string' ? createBuffer$1(that, size).fill(fill, encoding) : createBuffer$1(that, size).fill(fill); + } + + return createBuffer$1(that, size); + } + /** + * Creates a new filled Buffer instance. + * alloc(size[, fill[, encoding]]) + **/ + + + Buffer$1.alloc = function (size, fill, encoding) { + return alloc$1(null, size, fill, encoding); + }; + + function allocUnsafe$1(that, size) { + assertSize$1(size); + that = createBuffer$1(that, size < 0 ? 0 : checked$1(size) | 0); + + if (!Buffer$1.TYPED_ARRAY_SUPPORT) { + for (var i = 0; i < size; ++i) { + that[i] = 0; + } + } + + return that; + } + /** + * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance. + * */ + + + Buffer$1.allocUnsafe = function (size) { + return allocUnsafe$1(null, size); + }; + /** + * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance. + */ + + + Buffer$1.allocUnsafeSlow = function (size) { + return allocUnsafe$1(null, size); + }; + + function fromString$1(that, string, encoding) { + if (typeof encoding !== 'string' || encoding === '') { + encoding = 'utf8'; + } + + if (!Buffer$1.isEncoding(encoding)) { + throw new TypeError('"encoding" must be a valid string encoding'); + } + + var length = byteLength$1(string, encoding) | 0; + that = createBuffer$1(that, length); + var actual = that.write(string, encoding); + + if (actual !== length) { + // Writing a hex string, for example, that contains invalid characters will + // cause everything after the first invalid character to be ignored. (e.g. + // 'abxxcd' will be treated as 'ab') + that = that.slice(0, actual); + } + + return that; + } + + function fromArrayLike$1(that, array) { + var length = array.length < 0 ? 0 : checked$1(array.length) | 0; + that = createBuffer$1(that, length); + + for (var i = 0; i < length; i += 1) { + that[i] = array[i] & 255; + } + + return that; + } + + function fromArrayBuffer$1(that, array, byteOffset, length) { + array.byteLength; // this throws if `array` is not a valid ArrayBuffer + + if (byteOffset < 0 || array.byteLength < byteOffset) { + throw new RangeError('\'offset\' is out of bounds'); + } + + if (array.byteLength < byteOffset + (length || 0)) { + throw new RangeError('\'length\' is out of bounds'); + } + + if (byteOffset === undefined && length === undefined) { + array = new Uint8Array(array); + } else if (length === undefined) { + array = new Uint8Array(array, byteOffset); + } else { + array = new Uint8Array(array, byteOffset, length); + } + + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + // Return an augmented `Uint8Array` instance, for best performance + that = array; + that.__proto__ = Buffer$1.prototype; + } else { + // Fallback: Return an object instance of the Buffer class + that = fromArrayLike$1(that, array); + } + + return that; + } + + function fromObject$1(that, obj) { + if (internalIsBuffer$1(obj)) { + var len = checked$1(obj.length) | 0; + that = createBuffer$1(that, len); + + if (that.length === 0) { + return that; + } + + obj.copy(that, 0, 0, len); + return that; + } + + if (obj) { + if (typeof ArrayBuffer !== 'undefined' && obj.buffer instanceof ArrayBuffer || 'length' in obj) { + if (typeof obj.length !== 'number' || isnan$1(obj.length)) { + return createBuffer$1(that, 0); + } + + return fromArrayLike$1(that, obj); + } + + if (obj.type === 'Buffer' && isArray$2(obj.data)) { + return fromArrayLike$1(that, obj.data); + } + } + + throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.'); + } + + function checked$1(length) { + // Note: cannot use `length < kMaxLength()` here because that fails when + // length is NaN (which is otherwise coerced to zero.) + if (length >= kMaxLength$1()) { + throw new RangeError('Attempt to allocate Buffer larger than maximum ' + 'size: 0x' + kMaxLength$1().toString(16) + ' bytes'); + } + + return length | 0; + } + Buffer$1.isBuffer = isBuffer$2; + + function internalIsBuffer$1(b) { + return !!(b != null && b._isBuffer); + } + + Buffer$1.compare = function compare(a, b) { + if (!internalIsBuffer$1(a) || !internalIsBuffer$1(b)) { + throw new TypeError('Arguments must be Buffers'); + } + + if (a === b) return 0; + var x = a.length; + var y = b.length; + + for (var i = 0, len = Math.min(x, y); i < len; ++i) { + if (a[i] !== b[i]) { + x = a[i]; + y = b[i]; + break; + } + } + + if (x < y) return -1; + if (y < x) return 1; + return 0; + }; + + Buffer$1.isEncoding = function isEncoding(encoding) { + switch (String(encoding).toLowerCase()) { + case 'hex': + case 'utf8': + case 'utf-8': + case 'ascii': + case 'latin1': + case 'binary': + case 'base64': + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return true; + + default: + return false; + } + }; + + Buffer$1.concat = function concat(list, length) { + if (!isArray$2(list)) { + throw new TypeError('"list" argument must be an Array of Buffers'); + } + + if (list.length === 0) { + return Buffer$1.alloc(0); + } + + var i; + + if (length === undefined) { + length = 0; + + for (i = 0; i < list.length; ++i) { + length += list[i].length; + } + } + + var buffer = Buffer$1.allocUnsafe(length); + var pos = 0; + + for (i = 0; i < list.length; ++i) { + var buf = list[i]; + + if (!internalIsBuffer$1(buf)) { + throw new TypeError('"list" argument must be an Array of Buffers'); + } + + buf.copy(buffer, pos); + pos += buf.length; + } + + return buffer; + }; + + function byteLength$1(string, encoding) { + if (internalIsBuffer$1(string)) { + return string.length; + } + + if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' && (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) { + return string.byteLength; + } + + if (typeof string !== 'string') { + string = '' + string; + } + + var len = string.length; + if (len === 0) return 0; // Use a for loop to avoid recursion + + var loweredCase = false; + + for (;;) { + switch (encoding) { + case 'ascii': + case 'latin1': + case 'binary': + return len; + + case 'utf8': + case 'utf-8': + case undefined: + return utf8ToBytes$1(string).length; + + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return len * 2; + + case 'hex': + return len >>> 1; + + case 'base64': + return base64ToBytes$1(string).length; + + default: + if (loweredCase) return utf8ToBytes$1(string).length; // assume utf8 + + encoding = ('' + encoding).toLowerCase(); + loweredCase = true; + } + } + } + + Buffer$1.byteLength = byteLength$1; + + function slowToString$1(encoding, start, end) { + var loweredCase = false; // No need to verify that "this.length <= MAX_UINT32" since it's a read-only + // property of a typed array. + // This behaves neither like String nor Uint8Array in that we set start/end + // to their upper/lower bounds if the value passed is out of range. + // undefined is handled specially as per ECMA-262 6th Edition, + // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization. + + if (start === undefined || start < 0) { + start = 0; + } // Return early if start > this.length. Done here to prevent potential uint32 + // coercion fail below. + + + if (start > this.length) { + return ''; + } + + if (end === undefined || end > this.length) { + end = this.length; + } + + if (end <= 0) { + return ''; + } // Force coersion to uint32. This will also coerce falsey/NaN values to 0. + + + end >>>= 0; + start >>>= 0; + + if (end <= start) { + return ''; + } + + if (!encoding) encoding = 'utf8'; + + while (true) { + switch (encoding) { + case 'hex': + return hexSlice$1(this, start, end); + + case 'utf8': + case 'utf-8': + return utf8Slice$1(this, start, end); + + case 'ascii': + return asciiSlice$1(this, start, end); + + case 'latin1': + case 'binary': + return latin1Slice$1(this, start, end); + + case 'base64': + return base64Slice$1(this, start, end); + + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return utf16leSlice$1(this, start, end); + + default: + if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding); + encoding = (encoding + '').toLowerCase(); + loweredCase = true; + } + } + } // The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect + // Buffer instances. + + + Buffer$1.prototype._isBuffer = true; + + function swap$1(b, n, m) { + var i = b[n]; + b[n] = b[m]; + b[m] = i; + } + + Buffer$1.prototype.swap16 = function swap16() { + var len = this.length; + + if (len % 2 !== 0) { + throw new RangeError('Buffer size must be a multiple of 16-bits'); + } + + for (var i = 0; i < len; i += 2) { + swap$1(this, i, i + 1); + } + + return this; + }; + + Buffer$1.prototype.swap32 = function swap32() { + var len = this.length; + + if (len % 4 !== 0) { + throw new RangeError('Buffer size must be a multiple of 32-bits'); + } + + for (var i = 0; i < len; i += 4) { + swap$1(this, i, i + 3); + swap$1(this, i + 1, i + 2); + } + + return this; + }; + + Buffer$1.prototype.swap64 = function swap64() { + var len = this.length; + + if (len % 8 !== 0) { + throw new RangeError('Buffer size must be a multiple of 64-bits'); + } + + for (var i = 0; i < len; i += 8) { + swap$1(this, i, i + 7); + swap$1(this, i + 1, i + 6); + swap$1(this, i + 2, i + 5); + swap$1(this, i + 3, i + 4); + } + + return this; + }; + + Buffer$1.prototype.toString = function toString() { + var length = this.length | 0; + if (length === 0) return ''; + if (arguments.length === 0) return utf8Slice$1(this, 0, length); + return slowToString$1.apply(this, arguments); + }; + + Buffer$1.prototype.equals = function equals(b) { + if (!internalIsBuffer$1(b)) throw new TypeError('Argument must be a Buffer'); + if (this === b) return true; + return Buffer$1.compare(this, b) === 0; + }; + + Buffer$1.prototype.inspect = function inspect() { + var str = ''; + var max = INSPECT_MAX_BYTES$1; + + if (this.length > 0) { + str = this.toString('hex', 0, max).match(/.{2}/g).join(' '); + if (this.length > max) str += ' ... '; + } + + return '<Buffer ' + str + '>'; + }; + + Buffer$1.prototype.compare = function compare(target, start, end, thisStart, thisEnd) { + if (!internalIsBuffer$1(target)) { + throw new TypeError('Argument must be a Buffer'); + } + + if (start === undefined) { + start = 0; + } + + if (end === undefined) { + end = target ? target.length : 0; + } + + if (thisStart === undefined) { + thisStart = 0; + } + + if (thisEnd === undefined) { + thisEnd = this.length; + } + + if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) { + throw new RangeError('out of range index'); + } + + if (thisStart >= thisEnd && start >= end) { + return 0; + } + + if (thisStart >= thisEnd) { + return -1; + } + + if (start >= end) { + return 1; + } + + start >>>= 0; + end >>>= 0; + thisStart >>>= 0; + thisEnd >>>= 0; + if (this === target) return 0; + var x = thisEnd - thisStart; + var y = end - start; + var len = Math.min(x, y); + var thisCopy = this.slice(thisStart, thisEnd); + var targetCopy = target.slice(start, end); + + for (var i = 0; i < len; ++i) { + if (thisCopy[i] !== targetCopy[i]) { + x = thisCopy[i]; + y = targetCopy[i]; + break; + } + } + + if (x < y) return -1; + if (y < x) return 1; + return 0; + }; // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`, + // OR the last index of `val` in `buffer` at offset <= `byteOffset`. + // + // Arguments: + // - buffer - a Buffer to search + // - val - a string, Buffer, or number + // - byteOffset - an index into `buffer`; will be clamped to an int32 + // - encoding - an optional encoding, relevant is val is a string + // - dir - true for indexOf, false for lastIndexOf + + + function bidirectionalIndexOf$1(buffer, val, byteOffset, encoding, dir) { + // Empty buffer means no match + if (buffer.length === 0) return -1; // Normalize byteOffset + + if (typeof byteOffset === 'string') { + encoding = byteOffset; + byteOffset = 0; + } else if (byteOffset > 0x7fffffff) { + byteOffset = 0x7fffffff; + } else if (byteOffset < -0x80000000) { + byteOffset = -0x80000000; + } + + byteOffset = +byteOffset; // Coerce to Number. + + if (isNaN(byteOffset)) { + // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer + byteOffset = dir ? 0 : buffer.length - 1; + } // Normalize byteOffset: negative offsets start from the end of the buffer + + + if (byteOffset < 0) byteOffset = buffer.length + byteOffset; + + if (byteOffset >= buffer.length) { + if (dir) return -1;else byteOffset = buffer.length - 1; + } else if (byteOffset < 0) { + if (dir) byteOffset = 0;else return -1; + } // Normalize val + + + if (typeof val === 'string') { + val = Buffer$1.from(val, encoding); + } // Finally, search either indexOf (if dir is true) or lastIndexOf + + + if (internalIsBuffer$1(val)) { + // Special case: looking for empty string/buffer always fails + if (val.length === 0) { + return -1; + } + + return arrayIndexOf$1(buffer, val, byteOffset, encoding, dir); + } else if (typeof val === 'number') { + val = val & 0xFF; // Search for a byte value [0-255] + + if (Buffer$1.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf === 'function') { + if (dir) { + return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset); + } else { + return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset); + } + } + + return arrayIndexOf$1(buffer, [val], byteOffset, encoding, dir); + } + + throw new TypeError('val must be string, number or Buffer'); + } + + function arrayIndexOf$1(arr, val, byteOffset, encoding, dir) { + var indexSize = 1; + var arrLength = arr.length; + var valLength = val.length; + + if (encoding !== undefined) { + encoding = String(encoding).toLowerCase(); + + if (encoding === 'ucs2' || encoding === 'ucs-2' || encoding === 'utf16le' || encoding === 'utf-16le') { + if (arr.length < 2 || val.length < 2) { + return -1; + } + + indexSize = 2; + arrLength /= 2; + valLength /= 2; + byteOffset /= 2; + } + } + + function read(buf, i) { + if (indexSize === 1) { + return buf[i]; + } else { + return buf.readUInt16BE(i * indexSize); + } + } + + var i; + + if (dir) { + var foundIndex = -1; + + for (i = byteOffset; i < arrLength; i++) { + if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) { + if (foundIndex === -1) foundIndex = i; + if (i - foundIndex + 1 === valLength) return foundIndex * indexSize; + } else { + if (foundIndex !== -1) i -= i - foundIndex; + foundIndex = -1; + } + } + } else { + if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength; + + for (i = byteOffset; i >= 0; i--) { + var found = true; + + for (var j = 0; j < valLength; j++) { + if (read(arr, i + j) !== read(val, j)) { + found = false; + break; + } + } + + if (found) return i; + } + } + + return -1; + } + + Buffer$1.prototype.includes = function includes(val, byteOffset, encoding) { + return this.indexOf(val, byteOffset, encoding) !== -1; + }; + + Buffer$1.prototype.indexOf = function indexOf(val, byteOffset, encoding) { + return bidirectionalIndexOf$1(this, val, byteOffset, encoding, true); + }; + + Buffer$1.prototype.lastIndexOf = function lastIndexOf(val, byteOffset, encoding) { + return bidirectionalIndexOf$1(this, val, byteOffset, encoding, false); + }; + + function hexWrite$1(buf, string, offset, length) { + offset = Number(offset) || 0; + var remaining = buf.length - offset; + + if (!length) { + length = remaining; + } else { + length = Number(length); + + if (length > remaining) { + length = remaining; + } + } // must be an even number of digits + + + var strLen = string.length; + if (strLen % 2 !== 0) throw new TypeError('Invalid hex string'); + + if (length > strLen / 2) { + length = strLen / 2; + } + + for (var i = 0; i < length; ++i) { + var parsed = parseInt(string.substr(i * 2, 2), 16); + if (isNaN(parsed)) return i; + buf[offset + i] = parsed; + } + + return i; + } + + function utf8Write$1(buf, string, offset, length) { + return blitBuffer$1(utf8ToBytes$1(string, buf.length - offset), buf, offset, length); + } + + function asciiWrite$1(buf, string, offset, length) { + return blitBuffer$1(asciiToBytes$1(string), buf, offset, length); + } + + function latin1Write$1(buf, string, offset, length) { + return asciiWrite$1(buf, string, offset, length); + } + + function base64Write$1(buf, string, offset, length) { + return blitBuffer$1(base64ToBytes$1(string), buf, offset, length); + } + + function ucs2Write$1(buf, string, offset, length) { + return blitBuffer$1(utf16leToBytes$1(string, buf.length - offset), buf, offset, length); + } + + Buffer$1.prototype.write = function write(string, offset, length, encoding) { + // Buffer#write(string) + if (offset === undefined) { + encoding = 'utf8'; + length = this.length; + offset = 0; // Buffer#write(string, encoding) + } else if (length === undefined && typeof offset === 'string') { + encoding = offset; + length = this.length; + offset = 0; // Buffer#write(string, offset[, length][, encoding]) + } else if (isFinite(offset)) { + offset = offset | 0; + + if (isFinite(length)) { + length = length | 0; + if (encoding === undefined) encoding = 'utf8'; + } else { + encoding = length; + length = undefined; + } // legacy write(string, encoding, offset, length) - remove in v0.13 + + } else { + throw new Error('Buffer.write(string, encoding, offset[, length]) is no longer supported'); + } + + var remaining = this.length - offset; + if (length === undefined || length > remaining) length = remaining; + + if (string.length > 0 && (length < 0 || offset < 0) || offset > this.length) { + throw new RangeError('Attempt to write outside buffer bounds'); + } + + if (!encoding) encoding = 'utf8'; + var loweredCase = false; + + for (;;) { + switch (encoding) { + case 'hex': + return hexWrite$1(this, string, offset, length); + + case 'utf8': + case 'utf-8': + return utf8Write$1(this, string, offset, length); + + case 'ascii': + return asciiWrite$1(this, string, offset, length); + + case 'latin1': + case 'binary': + return latin1Write$1(this, string, offset, length); + + case 'base64': + // Warning: maxLength not taken into account in base64Write + return base64Write$1(this, string, offset, length); + + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return ucs2Write$1(this, string, offset, length); + + default: + if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding); + encoding = ('' + encoding).toLowerCase(); + loweredCase = true; + } + } + }; + + Buffer$1.prototype.toJSON = function toJSON() { + return { + type: 'Buffer', + data: Array.prototype.slice.call(this._arr || this, 0) + }; + }; + + function base64Slice$1(buf, start, end) { + if (start === 0 && end === buf.length) { + return fromByteArray$1(buf); + } else { + return fromByteArray$1(buf.slice(start, end)); + } + } + + function utf8Slice$1(buf, start, end) { + end = Math.min(buf.length, end); + var res = []; + var i = start; + + while (i < end) { + var firstByte = buf[i]; + var codePoint = null; + var bytesPerSequence = firstByte > 0xEF ? 4 : firstByte > 0xDF ? 3 : firstByte > 0xBF ? 2 : 1; + + if (i + bytesPerSequence <= end) { + var secondByte, thirdByte, fourthByte, tempCodePoint; + + switch (bytesPerSequence) { + case 1: + if (firstByte < 0x80) { + codePoint = firstByte; + } + + break; + + case 2: + secondByte = buf[i + 1]; + + if ((secondByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0x1F) << 0x6 | secondByte & 0x3F; + + if (tempCodePoint > 0x7F) { + codePoint = tempCodePoint; + } + } + + break; + + case 3: + secondByte = buf[i + 1]; + thirdByte = buf[i + 2]; + + if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | thirdByte & 0x3F; + + if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) { + codePoint = tempCodePoint; + } + } + + break; + + case 4: + secondByte = buf[i + 1]; + thirdByte = buf[i + 2]; + fourthByte = buf[i + 3]; + + if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | fourthByte & 0x3F; + + if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) { + codePoint = tempCodePoint; + } + } + + } + } + + if (codePoint === null) { + // we did not generate a valid codePoint so insert a + // replacement char (U+FFFD) and advance only 1 byte + codePoint = 0xFFFD; + bytesPerSequence = 1; + } else if (codePoint > 0xFFFF) { + // encode to utf16 (surrogate pair dance) + codePoint -= 0x10000; + res.push(codePoint >>> 10 & 0x3FF | 0xD800); + codePoint = 0xDC00 | codePoint & 0x3FF; + } + + res.push(codePoint); + i += bytesPerSequence; + } + + return decodeCodePointsArray$1(res); + } // Based on http://stackoverflow.com/a/22747272/680742, the browser with + // the lowest limit is Chrome, with 0x10000 args. + // We go 1 magnitude less, for safety + + + var MAX_ARGUMENTS_LENGTH$1 = 0x1000; + + function decodeCodePointsArray$1(codePoints) { + var len = codePoints.length; + + if (len <= MAX_ARGUMENTS_LENGTH$1) { + return String.fromCharCode.apply(String, codePoints); // avoid extra slice() + } // Decode in chunks to avoid "call stack size exceeded". + + + var res = ''; + var i = 0; + + while (i < len) { + res += String.fromCharCode.apply(String, codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH$1)); + } + + return res; + } + + function asciiSlice$1(buf, start, end) { + var ret = ''; + end = Math.min(buf.length, end); + + for (var i = start; i < end; ++i) { + ret += String.fromCharCode(buf[i] & 0x7F); + } + + return ret; + } + + function latin1Slice$1(buf, start, end) { + var ret = ''; + end = Math.min(buf.length, end); + + for (var i = start; i < end; ++i) { + ret += String.fromCharCode(buf[i]); + } + + return ret; + } + + function hexSlice$1(buf, start, end) { + var len = buf.length; + if (!start || start < 0) start = 0; + if (!end || end < 0 || end > len) end = len; + var out = ''; + + for (var i = start; i < end; ++i) { + out += toHex$1(buf[i]); + } + + return out; + } + + function utf16leSlice$1(buf, start, end) { + var bytes = buf.slice(start, end); + var res = ''; + + for (var i = 0; i < bytes.length; i += 2) { + res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256); + } + + return res; + } + + Buffer$1.prototype.slice = function slice(start, end) { + var len = this.length; + start = ~~start; + end = end === undefined ? len : ~~end; + + if (start < 0) { + start += len; + if (start < 0) start = 0; + } else if (start > len) { + start = len; + } + + if (end < 0) { + end += len; + if (end < 0) end = 0; + } else if (end > len) { + end = len; + } + + if (end < start) end = start; + var newBuf; + + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + newBuf = this.subarray(start, end); + newBuf.__proto__ = Buffer$1.prototype; + } else { + var sliceLen = end - start; + newBuf = new Buffer$1(sliceLen, undefined); + + for (var i = 0; i < sliceLen; ++i) { + newBuf[i] = this[i + start]; + } + } + + return newBuf; + }; + /* + * Need to make sure that buffer isn't trying to write out of bounds. + */ + + + function checkOffset$1(offset, ext, length) { + if (offset % 1 !== 0 || offset < 0) throw new RangeError('offset is not uint'); + if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length'); + } + + Buffer$1.prototype.readUIntLE = function readUIntLE(offset, byteLength, noAssert) { + offset = offset | 0; + byteLength = byteLength | 0; + if (!noAssert) checkOffset$1(offset, byteLength, this.length); + var val = this[offset]; + var mul = 1; + var i = 0; + + while (++i < byteLength && (mul *= 0x100)) { + val += this[offset + i] * mul; + } + + return val; + }; + + Buffer$1.prototype.readUIntBE = function readUIntBE(offset, byteLength, noAssert) { + offset = offset | 0; + byteLength = byteLength | 0; + + if (!noAssert) { + checkOffset$1(offset, byteLength, this.length); + } + + var val = this[offset + --byteLength]; + var mul = 1; + + while (byteLength > 0 && (mul *= 0x100)) { + val += this[offset + --byteLength] * mul; + } + + return val; + }; + + Buffer$1.prototype.readUInt8 = function readUInt8(offset, noAssert) { + if (!noAssert) checkOffset$1(offset, 1, this.length); + return this[offset]; + }; + + Buffer$1.prototype.readUInt16LE = function readUInt16LE(offset, noAssert) { + if (!noAssert) checkOffset$1(offset, 2, this.length); + return this[offset] | this[offset + 1] << 8; + }; + + Buffer$1.prototype.readUInt16BE = function readUInt16BE(offset, noAssert) { + if (!noAssert) checkOffset$1(offset, 2, this.length); + return this[offset] << 8 | this[offset + 1]; + }; + + Buffer$1.prototype.readUInt32LE = function readUInt32LE(offset, noAssert) { + if (!noAssert) checkOffset$1(offset, 4, this.length); + return (this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16) + this[offset + 3] * 0x1000000; + }; + + Buffer$1.prototype.readUInt32BE = function readUInt32BE(offset, noAssert) { + if (!noAssert) checkOffset$1(offset, 4, this.length); + return this[offset] * 0x1000000 + (this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]); + }; + + Buffer$1.prototype.readIntLE = function readIntLE(offset, byteLength, noAssert) { + offset = offset | 0; + byteLength = byteLength | 0; + if (!noAssert) checkOffset$1(offset, byteLength, this.length); + var val = this[offset]; + var mul = 1; + var i = 0; + + while (++i < byteLength && (mul *= 0x100)) { + val += this[offset + i] * mul; + } + + mul *= 0x80; + if (val >= mul) val -= Math.pow(2, 8 * byteLength); + return val; + }; + + Buffer$1.prototype.readIntBE = function readIntBE(offset, byteLength, noAssert) { + offset = offset | 0; + byteLength = byteLength | 0; + if (!noAssert) checkOffset$1(offset, byteLength, this.length); + var i = byteLength; + var mul = 1; + var val = this[offset + --i]; + + while (i > 0 && (mul *= 0x100)) { + val += this[offset + --i] * mul; + } + + mul *= 0x80; + if (val >= mul) val -= Math.pow(2, 8 * byteLength); + return val; + }; + + Buffer$1.prototype.readInt8 = function readInt8(offset, noAssert) { + if (!noAssert) checkOffset$1(offset, 1, this.length); + if (!(this[offset] & 0x80)) return this[offset]; + return (0xff - this[offset] + 1) * -1; + }; + + Buffer$1.prototype.readInt16LE = function readInt16LE(offset, noAssert) { + if (!noAssert) checkOffset$1(offset, 2, this.length); + var val = this[offset] | this[offset + 1] << 8; + return val & 0x8000 ? val | 0xFFFF0000 : val; + }; + + Buffer$1.prototype.readInt16BE = function readInt16BE(offset, noAssert) { + if (!noAssert) checkOffset$1(offset, 2, this.length); + var val = this[offset + 1] | this[offset] << 8; + return val & 0x8000 ? val | 0xFFFF0000 : val; + }; + + Buffer$1.prototype.readInt32LE = function readInt32LE(offset, noAssert) { + if (!noAssert) checkOffset$1(offset, 4, this.length); + return this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16 | this[offset + 3] << 24; + }; + + Buffer$1.prototype.readInt32BE = function readInt32BE(offset, noAssert) { + if (!noAssert) checkOffset$1(offset, 4, this.length); + return this[offset] << 24 | this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]; + }; + + Buffer$1.prototype.readFloatLE = function readFloatLE(offset, noAssert) { + if (!noAssert) checkOffset$1(offset, 4, this.length); + return read$1(this, offset, true, 23, 4); + }; + + Buffer$1.prototype.readFloatBE = function readFloatBE(offset, noAssert) { + if (!noAssert) checkOffset$1(offset, 4, this.length); + return read$1(this, offset, false, 23, 4); + }; + + Buffer$1.prototype.readDoubleLE = function readDoubleLE(offset, noAssert) { + if (!noAssert) checkOffset$1(offset, 8, this.length); + return read$1(this, offset, true, 52, 8); + }; + + Buffer$1.prototype.readDoubleBE = function readDoubleBE(offset, noAssert) { + if (!noAssert) checkOffset$1(offset, 8, this.length); + return read$1(this, offset, false, 52, 8); + }; + + function checkInt$1(buf, value, offset, ext, max, min) { + if (!internalIsBuffer$1(buf)) throw new TypeError('"buffer" argument must be a Buffer instance'); + if (value > max || value < min) throw new RangeError('"value" argument is out of bounds'); + if (offset + ext > buf.length) throw new RangeError('Index out of range'); + } + + Buffer$1.prototype.writeUIntLE = function writeUIntLE(value, offset, byteLength, noAssert) { + value = +value; + offset = offset | 0; + byteLength = byteLength | 0; + + if (!noAssert) { + var maxBytes = Math.pow(2, 8 * byteLength) - 1; + checkInt$1(this, value, offset, byteLength, maxBytes, 0); + } + + var mul = 1; + var i = 0; + this[offset] = value & 0xFF; + + while (++i < byteLength && (mul *= 0x100)) { + this[offset + i] = value / mul & 0xFF; + } + + return offset + byteLength; + }; + + Buffer$1.prototype.writeUIntBE = function writeUIntBE(value, offset, byteLength, noAssert) { + value = +value; + offset = offset | 0; + byteLength = byteLength | 0; + + if (!noAssert) { + var maxBytes = Math.pow(2, 8 * byteLength) - 1; + checkInt$1(this, value, offset, byteLength, maxBytes, 0); + } + + var i = byteLength - 1; + var mul = 1; + this[offset + i] = value & 0xFF; + + while (--i >= 0 && (mul *= 0x100)) { + this[offset + i] = value / mul & 0xFF; + } + + return offset + byteLength; + }; + + Buffer$1.prototype.writeUInt8 = function writeUInt8(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 1, 0xff, 0); + if (!Buffer$1.TYPED_ARRAY_SUPPORT) value = Math.floor(value); + this[offset] = value & 0xff; + return offset + 1; + }; + + function objectWriteUInt16$1(buf, value, offset, littleEndian) { + if (value < 0) value = 0xffff + value + 1; + + for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) { + buf[offset + i] = (value & 0xff << 8 * (littleEndian ? i : 1 - i)) >>> (littleEndian ? i : 1 - i) * 8; + } + } + + Buffer$1.prototype.writeUInt16LE = function writeUInt16LE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 2, 0xffff, 0); + + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset] = value & 0xff; + this[offset + 1] = value >>> 8; + } else { + objectWriteUInt16$1(this, value, offset, true); + } + + return offset + 2; + }; + + Buffer$1.prototype.writeUInt16BE = function writeUInt16BE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 2, 0xffff, 0); + + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 8; + this[offset + 1] = value & 0xff; + } else { + objectWriteUInt16$1(this, value, offset, false); + } + + return offset + 2; + }; + + function objectWriteUInt32$1(buf, value, offset, littleEndian) { + if (value < 0) value = 0xffffffff + value + 1; + + for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) { + buf[offset + i] = value >>> (littleEndian ? i : 3 - i) * 8 & 0xff; + } + } + + Buffer$1.prototype.writeUInt32LE = function writeUInt32LE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 4, 0xffffffff, 0); + + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset + 3] = value >>> 24; + this[offset + 2] = value >>> 16; + this[offset + 1] = value >>> 8; + this[offset] = value & 0xff; + } else { + objectWriteUInt32$1(this, value, offset, true); + } + + return offset + 4; + }; + + Buffer$1.prototype.writeUInt32BE = function writeUInt32BE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 4, 0xffffffff, 0); + + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 24; + this[offset + 1] = value >>> 16; + this[offset + 2] = value >>> 8; + this[offset + 3] = value & 0xff; + } else { + objectWriteUInt32$1(this, value, offset, false); + } + + return offset + 4; + }; + + Buffer$1.prototype.writeIntLE = function writeIntLE(value, offset, byteLength, noAssert) { + value = +value; + offset = offset | 0; + + if (!noAssert) { + var limit = Math.pow(2, 8 * byteLength - 1); + checkInt$1(this, value, offset, byteLength, limit - 1, -limit); + } + + var i = 0; + var mul = 1; + var sub = 0; + this[offset] = value & 0xFF; + + while (++i < byteLength && (mul *= 0x100)) { + if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) { + sub = 1; + } + + this[offset + i] = (value / mul >> 0) - sub & 0xFF; + } + + return offset + byteLength; + }; + + Buffer$1.prototype.writeIntBE = function writeIntBE(value, offset, byteLength, noAssert) { + value = +value; + offset = offset | 0; + + if (!noAssert) { + var limit = Math.pow(2, 8 * byteLength - 1); + checkInt$1(this, value, offset, byteLength, limit - 1, -limit); + } + + var i = byteLength - 1; + var mul = 1; + var sub = 0; + this[offset + i] = value & 0xFF; + + while (--i >= 0 && (mul *= 0x100)) { + if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) { + sub = 1; + } + + this[offset + i] = (value / mul >> 0) - sub & 0xFF; + } + + return offset + byteLength; + }; + + Buffer$1.prototype.writeInt8 = function writeInt8(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 1, 0x7f, -0x80); + if (!Buffer$1.TYPED_ARRAY_SUPPORT) value = Math.floor(value); + if (value < 0) value = 0xff + value + 1; + this[offset] = value & 0xff; + return offset + 1; + }; + + Buffer$1.prototype.writeInt16LE = function writeInt16LE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 2, 0x7fff, -0x8000); + + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset] = value & 0xff; + this[offset + 1] = value >>> 8; + } else { + objectWriteUInt16$1(this, value, offset, true); + } + + return offset + 2; + }; + + Buffer$1.prototype.writeInt16BE = function writeInt16BE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 2, 0x7fff, -0x8000); + + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 8; + this[offset + 1] = value & 0xff; + } else { + objectWriteUInt16$1(this, value, offset, false); + } + + return offset + 2; + }; + + Buffer$1.prototype.writeInt32LE = function writeInt32LE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 4, 0x7fffffff, -0x80000000); + + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset] = value & 0xff; + this[offset + 1] = value >>> 8; + this[offset + 2] = value >>> 16; + this[offset + 3] = value >>> 24; + } else { + objectWriteUInt32$1(this, value, offset, true); + } + + return offset + 4; + }; + + Buffer$1.prototype.writeInt32BE = function writeInt32BE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 4, 0x7fffffff, -0x80000000); + if (value < 0) value = 0xffffffff + value + 1; + + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 24; + this[offset + 1] = value >>> 16; + this[offset + 2] = value >>> 8; + this[offset + 3] = value & 0xff; + } else { + objectWriteUInt32$1(this, value, offset, false); + } + + return offset + 4; + }; + + function checkIEEE754$1(buf, value, offset, ext, max, min) { + if (offset + ext > buf.length) throw new RangeError('Index out of range'); + if (offset < 0) throw new RangeError('Index out of range'); + } + + function writeFloat$1(buf, value, offset, littleEndian, noAssert) { + if (!noAssert) { + checkIEEE754$1(buf, value, offset, 4); + } + + write$1(buf, value, offset, littleEndian, 23, 4); + return offset + 4; + } + + Buffer$1.prototype.writeFloatLE = function writeFloatLE(value, offset, noAssert) { + return writeFloat$1(this, value, offset, true, noAssert); + }; + + Buffer$1.prototype.writeFloatBE = function writeFloatBE(value, offset, noAssert) { + return writeFloat$1(this, value, offset, false, noAssert); + }; + + function writeDouble$1(buf, value, offset, littleEndian, noAssert) { + if (!noAssert) { + checkIEEE754$1(buf, value, offset, 8); + } + + write$1(buf, value, offset, littleEndian, 52, 8); + return offset + 8; + } + + Buffer$1.prototype.writeDoubleLE = function writeDoubleLE(value, offset, noAssert) { + return writeDouble$1(this, value, offset, true, noAssert); + }; + + Buffer$1.prototype.writeDoubleBE = function writeDoubleBE(value, offset, noAssert) { + return writeDouble$1(this, value, offset, false, noAssert); + }; // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) + + + Buffer$1.prototype.copy = function copy(target, targetStart, start, end) { + if (!start) start = 0; + if (!end && end !== 0) end = this.length; + if (targetStart >= target.length) targetStart = target.length; + if (!targetStart) targetStart = 0; + if (end > 0 && end < start) end = start; // Copy 0 bytes; we're done + + if (end === start) return 0; + if (target.length === 0 || this.length === 0) return 0; // Fatal error conditions + + if (targetStart < 0) { + throw new RangeError('targetStart out of bounds'); + } + + if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds'); + if (end < 0) throw new RangeError('sourceEnd out of bounds'); // Are we oob? + + if (end > this.length) end = this.length; + + if (target.length - targetStart < end - start) { + end = target.length - targetStart + start; + } + + var len = end - start; + var i; + + if (this === target && start < targetStart && targetStart < end) { + // descending copy from end + for (i = len - 1; i >= 0; --i) { + target[i + targetStart] = this[i + start]; + } + } else if (len < 1000 || !Buffer$1.TYPED_ARRAY_SUPPORT) { + // ascending copy from start + for (i = 0; i < len; ++i) { + target[i + targetStart] = this[i + start]; + } + } else { + Uint8Array.prototype.set.call(target, this.subarray(start, start + len), targetStart); + } + + return len; + }; // Usage: + // buffer.fill(number[, offset[, end]]) + // buffer.fill(buffer[, offset[, end]]) + // buffer.fill(string[, offset[, end]][, encoding]) + + + Buffer$1.prototype.fill = function fill(val, start, end, encoding) { + // Handle string cases: + if (typeof val === 'string') { + if (typeof start === 'string') { + encoding = start; + start = 0; + end = this.length; + } else if (typeof end === 'string') { + encoding = end; + end = this.length; + } + + if (val.length === 1) { + var code = val.charCodeAt(0); + + if (code < 256) { + val = code; + } + } + + if (encoding !== undefined && typeof encoding !== 'string') { + throw new TypeError('encoding must be a string'); + } + + if (typeof encoding === 'string' && !Buffer$1.isEncoding(encoding)) { + throw new TypeError('Unknown encoding: ' + encoding); + } + } else if (typeof val === 'number') { + val = val & 255; + } // Invalid ranges are not set to a default, so can range check early. + + + if (start < 0 || this.length < start || this.length < end) { + throw new RangeError('Out of range index'); + } + + if (end <= start) { + return this; + } + + start = start >>> 0; + end = end === undefined ? this.length : end >>> 0; + if (!val) val = 0; + var i; + + if (typeof val === 'number') { + for (i = start; i < end; ++i) { + this[i] = val; + } + } else { + var bytes = internalIsBuffer$1(val) ? val : utf8ToBytes$1(new Buffer$1(val, encoding).toString()); + var len = bytes.length; + + for (i = 0; i < end - start; ++i) { + this[i + start] = bytes[i % len]; + } + } + + return this; + }; // HELPER FUNCTIONS + // ================ + + + var INVALID_BASE64_RE$1 = /[^+\/0-9A-Za-z-_]/g; + + function base64clean$1(str) { + // Node strips out invalid characters like \n and \t from the string, base64-js does not + str = stringtrim$1(str).replace(INVALID_BASE64_RE$1, ''); // Node converts strings with length < 2 to '' + + if (str.length < 2) return ''; // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not + + while (str.length % 4 !== 0) { + str = str + '='; + } + + return str; + } + + function stringtrim$1(str) { + if (str.trim) return str.trim(); + return str.replace(/^\s+|\s+$/g, ''); + } + + function toHex$1(n) { + if (n < 16) return '0' + n.toString(16); + return n.toString(16); + } + + function utf8ToBytes$1(string, units) { + units = units || Infinity; + var codePoint; + var length = string.length; + var leadSurrogate = null; + var bytes = []; + + for (var i = 0; i < length; ++i) { + codePoint = string.charCodeAt(i); // is surrogate component + + if (codePoint > 0xD7FF && codePoint < 0xE000) { + // last char was a lead + if (!leadSurrogate) { + // no lead yet + if (codePoint > 0xDBFF) { + // unexpected trail + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + continue; + } else if (i + 1 === length) { + // unpaired lead + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + continue; + } // valid lead + + + leadSurrogate = codePoint; + continue; + } // 2 leads in a row + + + if (codePoint < 0xDC00) { + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + leadSurrogate = codePoint; + continue; + } // valid surrogate pair + + + codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000; + } else if (leadSurrogate) { + // valid bmp char, but last char was a lead + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + } + + leadSurrogate = null; // encode utf8 + + if (codePoint < 0x80) { + if ((units -= 1) < 0) break; + bytes.push(codePoint); + } else if (codePoint < 0x800) { + if ((units -= 2) < 0) break; + bytes.push(codePoint >> 0x6 | 0xC0, codePoint & 0x3F | 0x80); + } else if (codePoint < 0x10000) { + if ((units -= 3) < 0) break; + bytes.push(codePoint >> 0xC | 0xE0, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80); + } else if (codePoint < 0x110000) { + if ((units -= 4) < 0) break; + bytes.push(codePoint >> 0x12 | 0xF0, codePoint >> 0xC & 0x3F | 0x80, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80); + } else { + throw new Error('Invalid code point'); + } + } + + return bytes; + } + + function asciiToBytes$1(str) { + var byteArray = []; + + for (var i = 0; i < str.length; ++i) { + // Node's code seems to be doing this and not & 0x7F.. + byteArray.push(str.charCodeAt(i) & 0xFF); + } + + return byteArray; + } + + function utf16leToBytes$1(str, units) { + var c, hi, lo; + var byteArray = []; + + for (var i = 0; i < str.length; ++i) { + if ((units -= 2) < 0) break; + c = str.charCodeAt(i); + hi = c >> 8; + lo = c % 256; + byteArray.push(lo); + byteArray.push(hi); + } + + return byteArray; + } + + function base64ToBytes$1(str) { + return toByteArray$1(base64clean$1(str)); + } + + function blitBuffer$1(src, dst, offset, length) { + for (var i = 0; i < length; ++i) { + if (i + offset >= dst.length || i >= src.length) break; + dst[i + offset] = src[i]; + } + + return i; + } + + function isnan$1(val) { + return val !== val; // eslint-disable-line no-self-compare + } // the following is from is-buffer, also by Feross Aboukhadijeh and with same lisence + // The _isBuffer check is for Safari 5-7 support, because it's missing + // Object.prototype.constructor. Remove this eventually + + + function isBuffer$2(obj) { + return obj != null && (!!obj._isBuffer || isFastBuffer$1(obj) || isSlowBuffer$1(obj)); + } + + function isFastBuffer$1(obj) { + return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj); + } // For Node v0.10 support. Remove this eventually. + + + function isSlowBuffer$1(obj) { + return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isFastBuffer$1(obj.slice(0, 0)); + } + + // based off https://github.com/defunctzombie/node-process/blob/master/browser.js + + function defaultSetTimout() { + throw new Error('setTimeout has not been defined'); + } + + function defaultClearTimeout() { + throw new Error('clearTimeout has not been defined'); + } + + var cachedSetTimeout = defaultSetTimout; + var cachedClearTimeout = defaultClearTimeout; + + if (typeof global$1.setTimeout === 'function') { + cachedSetTimeout = setTimeout; + } + + if (typeof global$1.clearTimeout === 'function') { + cachedClearTimeout = clearTimeout; + } + + function runTimeout(fun) { + if (cachedSetTimeout === setTimeout) { + //normal enviroments in sane situations + return setTimeout(fun, 0); + } // if setTimeout wasn't available but was latter defined + + + if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { + cachedSetTimeout = setTimeout; + return setTimeout(fun, 0); + } + + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedSetTimeout(fun, 0); + } catch (e) { + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedSetTimeout.call(null, fun, 0); + } catch (e) { + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error + return cachedSetTimeout.call(this, fun, 0); + } + } + } + + function runClearTimeout(marker) { + if (cachedClearTimeout === clearTimeout) { + //normal enviroments in sane situations + return clearTimeout(marker); + } // if clearTimeout wasn't available but was latter defined + + + if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { + cachedClearTimeout = clearTimeout; + return clearTimeout(marker); + } + + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedClearTimeout(marker); + } catch (e) { + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedClearTimeout.call(null, marker); + } catch (e) { + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. + // Some versions of I.E. have different rules for clearTimeout vs setTimeout + return cachedClearTimeout.call(this, marker); + } + } + } + + var queue$1 = []; + var draining = false; + var currentQueue; + var queueIndex = -1; + + function cleanUpNextTick() { + if (!draining || !currentQueue) { + return; + } + + draining = false; + + if (currentQueue.length) { + queue$1 = currentQueue.concat(queue$1); + } else { + queueIndex = -1; + } + + if (queue$1.length) { + drainQueue(); + } + } + + function drainQueue() { + if (draining) { + return; + } + + var timeout = runTimeout(cleanUpNextTick); + draining = true; + var len = queue$1.length; + + while (len) { + currentQueue = queue$1; + queue$1 = []; + + while (++queueIndex < len) { + if (currentQueue) { + currentQueue[queueIndex].run(); + } + } + + queueIndex = -1; + len = queue$1.length; + } + + currentQueue = null; + draining = false; + runClearTimeout(timeout); + } + + function nextTick(fun) { + var args = new Array(arguments.length - 1); + + if (arguments.length > 1) { + for (var i = 1; i < arguments.length; i++) { + args[i - 1] = arguments[i]; + } + } + + queue$1.push(new Item(fun, args)); + + if (queue$1.length === 1 && !draining) { + runTimeout(drainQueue); + } + } // v8 likes predictible objects + + + function Item(fun, array) { + this.fun = fun; + this.array = array; + } + + Item.prototype.run = function () { + this.fun.apply(null, this.array); + }; + + + var performance = global$1.performance || {}; + + performance.now || performance.mozNow || performance.msNow || performance.oNow || performance.webkitNow || function () { + return new Date().getTime(); + }; // generate timestamp or delta + + var inherits$2; + + if (typeof Object.create === 'function') { + inherits$2 = function inherits(ctor, superCtor) { + // implementation from standard node.js 'util' module + ctor.super_ = superCtor; + ctor.prototype = Object.create(superCtor.prototype, { + constructor: { + value: ctor, + enumerable: false, + writable: true, + configurable: true + } + }); + }; + } else { + inherits$2 = function inherits(ctor, superCtor) { + ctor.super_ = superCtor; + + var TempCtor = function TempCtor() {}; + + TempCtor.prototype = superCtor.prototype; + ctor.prototype = new TempCtor(); + ctor.prototype.constructor = ctor; + }; + } + + var inherits$3 = inherits$2; + + var formatRegExp = /%[sdj%]/g; + function format$1(f) { + if (!isString$1(f)) { + var objects = []; + + for (var i = 0; i < arguments.length; i++) { + objects.push(inspect(arguments[i])); + } + + return objects.join(' '); + } + + var i = 1; + var args = arguments; + var len = args.length; + var str = String(f).replace(formatRegExp, function (x) { + if (x === '%%') return '%'; + if (i >= len) return x; + + switch (x) { + case '%s': + return String(args[i++]); + + case '%d': + return Number(args[i++]); + + case '%j': + try { + return JSON.stringify(args[i++]); + } catch (_) { + return '[Circular]'; + } + + default: + return x; + } + }); + + for (var x = args[i]; i < len; x = args[++i]) { + if (isNull(x) || !isObject(x)) { + str += ' ' + x; + } else { + str += ' ' + inspect(x); + } + } + + return str; + } + // Returns a modified function which warns once by default. + // If --no-deprecation is set, then it is a no-op. + + function deprecate$1(fn, msg) { + // Allow for deprecating things in the process of starting up. + if (isUndefined(global$1.process)) { + return function () { + return deprecate$1(fn, msg).apply(this, arguments); + }; + } + + var warned = false; + + function deprecated() { + if (!warned) { + { + console.error(msg); + } + + warned = true; + } + + return fn.apply(this, arguments); + } + + return deprecated; + } + var debugs = {}; + var debugEnviron; + function debuglog(set) { + if (isUndefined(debugEnviron)) debugEnviron = ''; + set = set.toUpperCase(); + + if (!debugs[set]) { + if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { + var pid = 0; + + debugs[set] = function () { + var msg = format$1.apply(null, arguments); + console.error('%s %d: %s', set, pid, msg); + }; + } else { + debugs[set] = function () {}; + } + } + + return debugs[set]; + } + /** + * Echos the value of a value. Trys to print the value out + * in the best way possible given the different types. + * + * @param {Object} obj The object to print out. + * @param {Object} opts Optional options object that alters the output. + */ + + /* legacy: obj, showHidden, depth, colors*/ + + function inspect(obj, opts) { + // default options + var ctx = { + seen: [], + stylize: stylizeNoColor + }; // legacy... + + if (arguments.length >= 3) ctx.depth = arguments[2]; + if (arguments.length >= 4) ctx.colors = arguments[3]; + + if (isBoolean(opts)) { + // legacy... + ctx.showHidden = opts; + } else if (opts) { + // got an "options" object + _extend(ctx, opts); + } // set default options + + + if (isUndefined(ctx.showHidden)) ctx.showHidden = false; + if (isUndefined(ctx.depth)) ctx.depth = 2; + if (isUndefined(ctx.colors)) ctx.colors = false; + if (isUndefined(ctx.customInspect)) ctx.customInspect = true; + if (ctx.colors) ctx.stylize = stylizeWithColor; + return formatValue(ctx, obj, ctx.depth); + } // http://en.wikipedia.org/wiki/ANSI_escape_code#graphics + + inspect.colors = { + 'bold': [1, 22], + 'italic': [3, 23], + 'underline': [4, 24], + 'inverse': [7, 27], + 'white': [37, 39], + 'grey': [90, 39], + 'black': [30, 39], + 'blue': [34, 39], + 'cyan': [36, 39], + 'green': [32, 39], + 'magenta': [35, 39], + 'red': [31, 39], + 'yellow': [33, 39] + }; // Don't use 'blue' not visible on cmd.exe + + inspect.styles = { + 'special': 'cyan', + 'number': 'yellow', + 'boolean': 'yellow', + 'undefined': 'grey', + 'null': 'bold', + 'string': 'green', + 'date': 'magenta', + // "name": intentionally not styling + 'regexp': 'red' + }; + + function stylizeWithColor(str, styleType) { + var style = inspect.styles[styleType]; + + if (style) { + return "\x1B[" + inspect.colors[style][0] + 'm' + str + "\x1B[" + inspect.colors[style][1] + 'm'; + } else { + return str; + } + } + + function stylizeNoColor(str, styleType) { + return str; + } + + function arrayToHash(array) { + var hash = {}; + array.forEach(function (val, idx) { + hash[val] = true; + }); + return hash; + } + + function formatValue(ctx, value, recurseTimes) { + // Provide a hook for user-specified inspect functions. + // Check that value is an object with an inspect function on it + if (ctx.customInspect && value && isFunction(value.inspect) && // Filter out the util module, it's inspect function is special + value.inspect !== inspect && // Also filter out any prototype objects using the circular check. + !(value.constructor && value.constructor.prototype === value)) { + var ret = value.inspect(recurseTimes, ctx); + + if (!isString$1(ret)) { + ret = formatValue(ctx, ret, recurseTimes); + } + + return ret; + } // Primitive types cannot have properties + + + var primitive = formatPrimitive(ctx, value); + + if (primitive) { + return primitive; + } // Look up the keys of the object. + + + var keys = Object.keys(value); + var visibleKeys = arrayToHash(keys); + + if (ctx.showHidden) { + keys = Object.getOwnPropertyNames(value); + } // IE doesn't make error fields non-enumerable + // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx + + + if (isError$1(value) && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) { + return formatError(value); + } // Some type of object without properties can be shortcutted. + + + if (keys.length === 0) { + if (isFunction(value)) { + var name = value.name ? ': ' + value.name : ''; + return ctx.stylize('[Function' + name + ']', 'special'); + } + + if (isRegExp(value)) { + return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); + } + + if (isDate(value)) { + return ctx.stylize(Date.prototype.toString.call(value), 'date'); + } + + if (isError$1(value)) { + return formatError(value); + } + } + + var base = '', + array = false, + braces = ['{', '}']; // Make Array say that they are Array + + if (isArray$1(value)) { + array = true; + braces = ['[', ']']; + } // Make functions say that they are functions + + + if (isFunction(value)) { + var n = value.name ? ': ' + value.name : ''; + base = ' [Function' + n + ']'; + } // Make RegExps say that they are RegExps + + + if (isRegExp(value)) { + base = ' ' + RegExp.prototype.toString.call(value); + } // Make dates with properties first say the date + + + if (isDate(value)) { + base = ' ' + Date.prototype.toUTCString.call(value); + } // Make error with message first say the error + + + if (isError$1(value)) { + base = ' ' + formatError(value); + } + + if (keys.length === 0 && (!array || value.length == 0)) { + return braces[0] + base + braces[1]; + } + + if (recurseTimes < 0) { + if (isRegExp(value)) { + return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); + } else { + return ctx.stylize('[Object]', 'special'); + } + } + + ctx.seen.push(value); + var output; + + if (array) { + output = formatArray(ctx, value, recurseTimes, visibleKeys, keys); + } else { + output = keys.map(function (key) { + return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array); + }); + } + + ctx.seen.pop(); + return reduceToSingleString(output, base, braces); + } + + function formatPrimitive(ctx, value) { + if (isUndefined(value)) return ctx.stylize('undefined', 'undefined'); + + if (isString$1(value)) { + var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '').replace(/'/g, "\\'").replace(/\\"/g, '"') + '\''; + return ctx.stylize(simple, 'string'); + } + + if (isNumber(value)) return ctx.stylize('' + value, 'number'); + if (isBoolean(value)) return ctx.stylize('' + value, 'boolean'); // For some reason typeof null is "object", so special case here. + + if (isNull(value)) return ctx.stylize('null', 'null'); + } + + function formatError(value) { + return '[' + Error.prototype.toString.call(value) + ']'; + } + + function formatArray(ctx, value, recurseTimes, visibleKeys, keys) { + var output = []; + + for (var i = 0, l = value.length; i < l; ++i) { + if (hasOwnProperty(value, String(i))) { + output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, String(i), true)); + } else { + output.push(''); + } + } + + keys.forEach(function (key) { + if (!key.match(/^\d+$/)) { + output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, key, true)); + } + }); + return output; + } + + function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { + var name, str, desc; + desc = Object.getOwnPropertyDescriptor(value, key) || { + value: value[key] + }; + + if (desc.get) { + if (desc.set) { + str = ctx.stylize('[Getter/Setter]', 'special'); + } else { + str = ctx.stylize('[Getter]', 'special'); + } + } else { + if (desc.set) { + str = ctx.stylize('[Setter]', 'special'); + } + } + + if (!hasOwnProperty(visibleKeys, key)) { + name = '[' + key + ']'; + } + + if (!str) { + if (ctx.seen.indexOf(desc.value) < 0) { + if (isNull(recurseTimes)) { + str = formatValue(ctx, desc.value, null); + } else { + str = formatValue(ctx, desc.value, recurseTimes - 1); + } + + if (str.indexOf('\n') > -1) { + if (array) { + str = str.split('\n').map(function (line) { + return ' ' + line; + }).join('\n').substr(2); + } else { + str = '\n' + str.split('\n').map(function (line) { + return ' ' + line; + }).join('\n'); + } + } + } else { + str = ctx.stylize('[Circular]', 'special'); + } + } + + if (isUndefined(name)) { + if (array && key.match(/^\d+$/)) { + return str; + } + + name = JSON.stringify('' + key); + + if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { + name = name.substr(1, name.length - 2); + name = ctx.stylize(name, 'name'); + } else { + name = name.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"); + name = ctx.stylize(name, 'string'); + } + } + + return name + ': ' + str; + } + + function reduceToSingleString(output, base, braces) { + var length = output.reduce(function (prev, cur) { + if (cur.indexOf('\n') >= 0) ; + return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1; + }, 0); + + if (length > 60) { + return braces[0] + (base === '' ? '' : base + '\n ') + ' ' + output.join(',\n ') + ' ' + braces[1]; + } + + return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; + } // NOTE: These type checking functions intentionally don't use `instanceof` + // because it is fragile and can be easily faked with `Object.create()`. + + + function isArray$1(ar) { + return Array.isArray(ar); + } + function isBoolean(arg) { + return typeof arg === 'boolean'; + } + function isNull(arg) { + return arg === null; + } + function isNullOrUndefined(arg) { + return arg == null; + } + function isNumber(arg) { + return typeof arg === 'number'; + } + function isString$1(arg) { + return typeof arg === 'string'; + } + function isSymbol(arg) { + return _typeof(arg) === 'symbol'; + } + function isUndefined(arg) { + return arg === void 0; + } + function isRegExp(re) { + return isObject(re) && objectToString(re) === '[object RegExp]'; + } + function isObject(arg) { + return _typeof(arg) === 'object' && arg !== null; + } + function isDate(d) { + return isObject(d) && objectToString(d) === '[object Date]'; + } + function isError$1(e) { + return isObject(e) && (objectToString(e) === '[object Error]' || e instanceof Error); + } + function isFunction(arg) { + return typeof arg === 'function'; + } + function isPrimitive(arg) { + return arg === null || typeof arg === 'boolean' || typeof arg === 'number' || typeof arg === 'string' || _typeof(arg) === 'symbol' || // ES6 symbol + typeof arg === 'undefined'; + } + function isBuffer$1(maybeBuf) { + return isBuffer$2(maybeBuf); + } + + function objectToString(o) { + return Object.prototype.toString.call(o); + } + + function pad(n) { + return n < 10 ? '0' + n.toString(10) : n.toString(10); + } + + var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; // 26 Feb 16:19:34 + + function timestamp() { + var d = new Date(); + var time = [pad(d.getHours()), pad(d.getMinutes()), pad(d.getSeconds())].join(':'); + return [d.getDate(), months[d.getMonth()], time].join(' '); + } // log is just a thin wrapper to console.log that prepends a timestamp + + + function log$1() { + console.log('%s - %s', timestamp(), format$1.apply(null, arguments)); + } + function _extend(origin, add) { + // Don't do anything if add isn't an object + if (!add || !isObject(add)) return origin; + var keys = Object.keys(add); + var i = keys.length; + + while (i--) { + origin[keys[i]] = add[keys[i]]; + } + + return origin; + } + + function hasOwnProperty(obj, prop) { + return Object.prototype.hasOwnProperty.call(obj, prop); + } + + var util = { + inherits: inherits$3, + _extend: _extend, + log: log$1, + isBuffer: isBuffer$1, + isPrimitive: isPrimitive, + isFunction: isFunction, + isError: isError$1, + isDate: isDate, + isObject: isObject, + isRegExp: isRegExp, + isUndefined: isUndefined, + isSymbol: isSymbol, + isString: isString$1, + isNumber: isNumber, + isNullOrUndefined: isNullOrUndefined, + isNull: isNull, + isBoolean: isBoolean, + isArray: isArray$1, + inspect: inspect, + deprecate: deprecate$1, + format: format$1, + debuglog: debuglog + }; + + var lookup = []; + var revLookup = []; + var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array; + var inited = false; + + function init() { + inited = true; + var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; + + for (var i = 0, len = code.length; i < len; ++i) { + lookup[i] = code[i]; + revLookup[code.charCodeAt(i)] = i; + } + + revLookup['-'.charCodeAt(0)] = 62; + revLookup['_'.charCodeAt(0)] = 63; + } + + function toByteArray(b64) { + if (!inited) { + init(); + } + + var i, j, l, tmp, placeHolders, arr; + var len = b64.length; + + if (len % 4 > 0) { + throw new Error('Invalid string. Length must be a multiple of 4'); + } // the number of equal signs (place holders) + // if there are two placeholders, than the two characters before it + // represent one byte + // if there is only one, then the three characters before it represent 2 bytes + // this is just a cheap hack to not do indexOf twice + + + placeHolders = b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0; // base64 is 4/3 + up to two characters of the original data + + arr = new Arr(len * 3 / 4 - placeHolders); // if there are placeholders, only get up to the last complete 4 chars + + l = placeHolders > 0 ? len - 4 : len; + var L = 0; + + for (i = 0, j = 0; i < l; i += 4, j += 3) { + tmp = revLookup[b64.charCodeAt(i)] << 18 | revLookup[b64.charCodeAt(i + 1)] << 12 | revLookup[b64.charCodeAt(i + 2)] << 6 | revLookup[b64.charCodeAt(i + 3)]; + arr[L++] = tmp >> 16 & 0xFF; + arr[L++] = tmp >> 8 & 0xFF; + arr[L++] = tmp & 0xFF; + } + + if (placeHolders === 2) { + tmp = revLookup[b64.charCodeAt(i)] << 2 | revLookup[b64.charCodeAt(i + 1)] >> 4; + arr[L++] = tmp & 0xFF; + } else if (placeHolders === 1) { + tmp = revLookup[b64.charCodeAt(i)] << 10 | revLookup[b64.charCodeAt(i + 1)] << 4 | revLookup[b64.charCodeAt(i + 2)] >> 2; + arr[L++] = tmp >> 8 & 0xFF; + arr[L++] = tmp & 0xFF; + } + + return arr; + } + + function tripletToBase64(num) { + return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F]; + } + + function encodeChunk(uint8, start, end) { + var tmp; + var output = []; + + for (var i = start; i < end; i += 3) { + tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + uint8[i + 2]; + output.push(tripletToBase64(tmp)); + } + + return output.join(''); + } + + function fromByteArray(uint8) { + if (!inited) { + init(); + } + + var tmp; + var len = uint8.length; + var extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes + + var output = ''; + var parts = []; + var maxChunkLength = 16383; // must be multiple of 3 + // go through the array every three bytes, we'll deal with trailing stuff later + + for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) { + parts.push(encodeChunk(uint8, i, i + maxChunkLength > len2 ? len2 : i + maxChunkLength)); + } // pad the end with zeros, but make sure to not forget the extra bytes + + + if (extraBytes === 1) { + tmp = uint8[len - 1]; + output += lookup[tmp >> 2]; + output += lookup[tmp << 4 & 0x3F]; + output += '=='; + } else if (extraBytes === 2) { + tmp = (uint8[len - 2] << 8) + uint8[len - 1]; + output += lookup[tmp >> 10]; + output += lookup[tmp >> 4 & 0x3F]; + output += lookup[tmp << 2 & 0x3F]; + output += '='; + } + + parts.push(output); + return parts.join(''); + } + + function read(buffer, offset, isLE, mLen, nBytes) { + var e, m; + var eLen = nBytes * 8 - mLen - 1; + var eMax = (1 << eLen) - 1; + var eBias = eMax >> 1; + var nBits = -7; + var i = isLE ? nBytes - 1 : 0; + var d = isLE ? -1 : 1; + var s = buffer[offset + i]; + i += d; + e = s & (1 << -nBits) - 1; + s >>= -nBits; + nBits += eLen; + + for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {} + + m = e & (1 << -nBits) - 1; + e >>= -nBits; + nBits += mLen; + + for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {} + + if (e === 0) { + e = 1 - eBias; + } else if (e === eMax) { + return m ? NaN : (s ? -1 : 1) * Infinity; + } else { + m = m + Math.pow(2, mLen); + e = e - eBias; + } + + return (s ? -1 : 1) * m * Math.pow(2, e - mLen); + } + + function write(buffer, value, offset, isLE, mLen, nBytes) { + var e, m, c; + var eLen = nBytes * 8 - mLen - 1; + var eMax = (1 << eLen) - 1; + var eBias = eMax >> 1; + var rt = mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0; + var i = isLE ? 0 : nBytes - 1; + var d = isLE ? 1 : -1; + var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0; + value = Math.abs(value); + + if (isNaN(value) || value === Infinity) { + m = isNaN(value) ? 1 : 0; + e = eMax; + } else { + e = Math.floor(Math.log(value) / Math.LN2); + + if (value * (c = Math.pow(2, -e)) < 1) { + e--; + c *= 2; + } + + if (e + eBias >= 1) { + value += rt / c; + } else { + value += rt * Math.pow(2, 1 - eBias); + } + + if (value * c >= 2) { + e++; + c /= 2; + } + + if (e + eBias >= eMax) { + m = 0; + e = eMax; + } else if (e + eBias >= 1) { + m = (value * c - 1) * Math.pow(2, mLen); + e = e + eBias; + } else { + m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen); + e = 0; + } + } + + for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {} + + e = e << mLen | m; + eLen += mLen; + + for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {} + + buffer[offset + i - d] |= s * 128; + } + + var toString$1 = {}.toString; + + var isArray = Array.isArray || function (arr) { + return toString$1.call(arr) == '[object Array]'; + }; + /*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org> + * @license MIT + */ + + + var INSPECT_MAX_BYTES = 50; + /** + * If `Buffer.TYPED_ARRAY_SUPPORT`: + * === true Use Uint8Array implementation (fastest) + * === false Use Object implementation (most compatible, even IE6) + * + * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+, + * Opera 11.6+, iOS 4.2+. + * + * Due to various browser bugs, sometimes the Object implementation will be used even + * when the browser supports typed arrays. + * + * Note: + * + * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances, + * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438. + * + * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function. + * + * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of + * incorrect length in some situations. + + * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they + * get the Object implementation, which is slower but behaves correctly. + */ + + Buffer.TYPED_ARRAY_SUPPORT = global$1.TYPED_ARRAY_SUPPORT !== undefined ? global$1.TYPED_ARRAY_SUPPORT : true; + + function kMaxLength() { + return Buffer.TYPED_ARRAY_SUPPORT ? 0x7fffffff : 0x3fffffff; + } + + function createBuffer(that, length) { + if (kMaxLength() < length) { + throw new RangeError('Invalid typed array length'); + } + + if (Buffer.TYPED_ARRAY_SUPPORT) { + // Return an augmented `Uint8Array` instance, for best performance + that = new Uint8Array(length); + that.__proto__ = Buffer.prototype; + } else { + // Fallback: Return an object instance of the Buffer class + if (that === null) { + that = new Buffer(length); + } + + that.length = length; + } + + return that; + } + /** + * The Buffer constructor returns instances of `Uint8Array` that have their + * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of + * `Uint8Array`, so the returned instances will have all the node `Buffer` methods + * and the `Uint8Array` methods. Square bracket notation works as expected -- it + * returns a single octet. + * + * The `Uint8Array` prototype remains unmodified. + */ + + + function Buffer(arg, encodingOrOffset, length) { + if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) { + return new Buffer(arg, encodingOrOffset, length); + } // Common case. + + + if (typeof arg === 'number') { + if (typeof encodingOrOffset === 'string') { + throw new Error('If encoding is specified then the first argument must be a string'); + } + + return allocUnsafe(this, arg); + } + + return from(this, arg, encodingOrOffset, length); + } + + Buffer.poolSize = 8192; // not used by this implementation + // TODO: Legacy, not needed anymore. Remove in next major version. + + Buffer._augment = function (arr) { + arr.__proto__ = Buffer.prototype; + return arr; + }; + + function from(that, value, encodingOrOffset, length) { + if (typeof value === 'number') { + throw new TypeError('"value" argument must not be a number'); + } + + if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) { + return fromArrayBuffer(that, value, encodingOrOffset, length); + } + + if (typeof value === 'string') { + return fromString(that, value, encodingOrOffset); + } + + return fromObject(that, value); + } + /** + * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError + * if value is a number. + * Buffer.from(str[, encoding]) + * Buffer.from(array) + * Buffer.from(buffer) + * Buffer.from(arrayBuffer[, byteOffset[, length]]) + **/ + + + Buffer.from = function (value, encodingOrOffset, length) { + return from(null, value, encodingOrOffset, length); + }; + + if (Buffer.TYPED_ARRAY_SUPPORT) { + Buffer.prototype.__proto__ = Uint8Array.prototype; + Buffer.__proto__ = Uint8Array; + } + + function assertSize(size) { + if (typeof size !== 'number') { + throw new TypeError('"size" argument must be a number'); + } else if (size < 0) { + throw new RangeError('"size" argument must not be negative'); + } + } + + function alloc(that, size, fill, encoding) { + assertSize(size); + + if (size <= 0) { + return createBuffer(that, size); + } + + if (fill !== undefined) { + // Only pay attention to encoding if it's a string. This + // prevents accidentally sending in a number that would + // be interpretted as a start offset. + return typeof encoding === 'string' ? createBuffer(that, size).fill(fill, encoding) : createBuffer(that, size).fill(fill); + } + + return createBuffer(that, size); + } + /** + * Creates a new filled Buffer instance. + * alloc(size[, fill[, encoding]]) + **/ + + + Buffer.alloc = function (size, fill, encoding) { + return alloc(null, size, fill, encoding); + }; + + function allocUnsafe(that, size) { + assertSize(size); + that = createBuffer(that, size < 0 ? 0 : checked(size) | 0); + + if (!Buffer.TYPED_ARRAY_SUPPORT) { + for (var i = 0; i < size; ++i) { + that[i] = 0; + } + } + + return that; + } + /** + * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance. + * */ + + + Buffer.allocUnsafe = function (size) { + return allocUnsafe(null, size); + }; + /** + * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance. + */ + + + Buffer.allocUnsafeSlow = function (size) { + return allocUnsafe(null, size); + }; + + function fromString(that, string, encoding) { + if (typeof encoding !== 'string' || encoding === '') { + encoding = 'utf8'; + } + + if (!Buffer.isEncoding(encoding)) { + throw new TypeError('"encoding" must be a valid string encoding'); + } + + var length = byteLength(string, encoding) | 0; + that = createBuffer(that, length); + var actual = that.write(string, encoding); + + if (actual !== length) { + // Writing a hex string, for example, that contains invalid characters will + // cause everything after the first invalid character to be ignored. (e.g. + // 'abxxcd' will be treated as 'ab') + that = that.slice(0, actual); + } + + return that; + } + + function fromArrayLike(that, array) { + var length = array.length < 0 ? 0 : checked(array.length) | 0; + that = createBuffer(that, length); + + for (var i = 0; i < length; i += 1) { + that[i] = array[i] & 255; + } + + return that; + } + + function fromArrayBuffer(that, array, byteOffset, length) { + array.byteLength; // this throws if `array` is not a valid ArrayBuffer + + if (byteOffset < 0 || array.byteLength < byteOffset) { + throw new RangeError('\'offset\' is out of bounds'); + } + + if (array.byteLength < byteOffset + (length || 0)) { + throw new RangeError('\'length\' is out of bounds'); + } + + if (byteOffset === undefined && length === undefined) { + array = new Uint8Array(array); + } else if (length === undefined) { + array = new Uint8Array(array, byteOffset); + } else { + array = new Uint8Array(array, byteOffset, length); + } + + if (Buffer.TYPED_ARRAY_SUPPORT) { + // Return an augmented `Uint8Array` instance, for best performance + that = array; + that.__proto__ = Buffer.prototype; + } else { + // Fallback: Return an object instance of the Buffer class + that = fromArrayLike(that, array); + } + + return that; + } + + function fromObject(that, obj) { + if (internalIsBuffer(obj)) { + var len = checked(obj.length) | 0; + that = createBuffer(that, len); + + if (that.length === 0) { + return that; + } + + obj.copy(that, 0, 0, len); + return that; + } + + if (obj) { + if (typeof ArrayBuffer !== 'undefined' && obj.buffer instanceof ArrayBuffer || 'length' in obj) { + if (typeof obj.length !== 'number' || isnan(obj.length)) { + return createBuffer(that, 0); + } + + return fromArrayLike(that, obj); + } + + if (obj.type === 'Buffer' && isArray(obj.data)) { + return fromArrayLike(that, obj.data); + } + } + + throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.'); + } + + function checked(length) { + // Note: cannot use `length < kMaxLength()` here because that fails when + // length is NaN (which is otherwise coerced to zero.) + if (length >= kMaxLength()) { + throw new RangeError('Attempt to allocate Buffer larger than maximum ' + 'size: 0x' + kMaxLength().toString(16) + ' bytes'); + } + + return length | 0; + } + + Buffer.isBuffer = isBuffer; + + function internalIsBuffer(b) { + return !!(b != null && b._isBuffer); + } + + Buffer.compare = function compare(a, b) { + if (!internalIsBuffer(a) || !internalIsBuffer(b)) { + throw new TypeError('Arguments must be Buffers'); + } + + if (a === b) return 0; + var x = a.length; + var y = b.length; + + for (var i = 0, len = Math.min(x, y); i < len; ++i) { + if (a[i] !== b[i]) { + x = a[i]; + y = b[i]; + break; + } + } + + if (x < y) return -1; + if (y < x) return 1; + return 0; + }; + + Buffer.isEncoding = function isEncoding(encoding) { + switch (String(encoding).toLowerCase()) { + case 'hex': + case 'utf8': + case 'utf-8': + case 'ascii': + case 'latin1': + case 'binary': + case 'base64': + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return true; + + default: + return false; + } + }; + + Buffer.concat = function concat(list, length) { + if (!isArray(list)) { + throw new TypeError('"list" argument must be an Array of Buffers'); + } + + if (list.length === 0) { + return Buffer.alloc(0); + } + + var i; + + if (length === undefined) { + length = 0; + + for (i = 0; i < list.length; ++i) { + length += list[i].length; + } + } + + var buffer = Buffer.allocUnsafe(length); + var pos = 0; + + for (i = 0; i < list.length; ++i) { + var buf = list[i]; + + if (!internalIsBuffer(buf)) { + throw new TypeError('"list" argument must be an Array of Buffers'); + } + + buf.copy(buffer, pos); + pos += buf.length; + } + + return buffer; + }; + + function byteLength(string, encoding) { + if (internalIsBuffer(string)) { + return string.length; + } + + if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' && (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) { + return string.byteLength; + } + + if (typeof string !== 'string') { + string = '' + string; + } + + var len = string.length; + if (len === 0) return 0; // Use a for loop to avoid recursion + + var loweredCase = false; + + for (;;) { + switch (encoding) { + case 'ascii': + case 'latin1': + case 'binary': + return len; + + case 'utf8': + case 'utf-8': + case undefined: + return utf8ToBytes(string).length; + + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return len * 2; + + case 'hex': + return len >>> 1; + + case 'base64': + return base64ToBytes(string).length; + + default: + if (loweredCase) return utf8ToBytes(string).length; // assume utf8 + + encoding = ('' + encoding).toLowerCase(); + loweredCase = true; + } + } + } + + Buffer.byteLength = byteLength; + + function slowToString(encoding, start, end) { + var loweredCase = false; // No need to verify that "this.length <= MAX_UINT32" since it's a read-only + // property of a typed array. + // This behaves neither like String nor Uint8Array in that we set start/end + // to their upper/lower bounds if the value passed is out of range. + // undefined is handled specially as per ECMA-262 6th Edition, + // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization. + + if (start === undefined || start < 0) { + start = 0; + } // Return early if start > this.length. Done here to prevent potential uint32 + // coercion fail below. + + + if (start > this.length) { + return ''; + } + + if (end === undefined || end > this.length) { + end = this.length; + } + + if (end <= 0) { + return ''; + } // Force coersion to uint32. This will also coerce falsey/NaN values to 0. + + + end >>>= 0; + start >>>= 0; + + if (end <= start) { + return ''; + } + + if (!encoding) encoding = 'utf8'; + + while (true) { + switch (encoding) { + case 'hex': + return hexSlice(this, start, end); + + case 'utf8': + case 'utf-8': + return utf8Slice(this, start, end); + + case 'ascii': + return asciiSlice(this, start, end); + + case 'latin1': + case 'binary': + return latin1Slice(this, start, end); + + case 'base64': + return base64Slice(this, start, end); + + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return utf16leSlice(this, start, end); + + default: + if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding); + encoding = (encoding + '').toLowerCase(); + loweredCase = true; + } + } + } // The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect + // Buffer instances. + + + Buffer.prototype._isBuffer = true; + + function swap(b, n, m) { + var i = b[n]; + b[n] = b[m]; + b[m] = i; + } + + Buffer.prototype.swap16 = function swap16() { + var len = this.length; + + if (len % 2 !== 0) { + throw new RangeError('Buffer size must be a multiple of 16-bits'); + } + + for (var i = 0; i < len; i += 2) { + swap(this, i, i + 1); + } + + return this; + }; + + Buffer.prototype.swap32 = function swap32() { + var len = this.length; + + if (len % 4 !== 0) { + throw new RangeError('Buffer size must be a multiple of 32-bits'); + } + + for (var i = 0; i < len; i += 4) { + swap(this, i, i + 3); + swap(this, i + 1, i + 2); + } + + return this; + }; + + Buffer.prototype.swap64 = function swap64() { + var len = this.length; + + if (len % 8 !== 0) { + throw new RangeError('Buffer size must be a multiple of 64-bits'); + } + + for (var i = 0; i < len; i += 8) { + swap(this, i, i + 7); + swap(this, i + 1, i + 6); + swap(this, i + 2, i + 5); + swap(this, i + 3, i + 4); + } + + return this; + }; + + Buffer.prototype.toString = function toString() { + var length = this.length | 0; + if (length === 0) return ''; + if (arguments.length === 0) return utf8Slice(this, 0, length); + return slowToString.apply(this, arguments); + }; + + Buffer.prototype.equals = function equals(b) { + if (!internalIsBuffer(b)) throw new TypeError('Argument must be a Buffer'); + if (this === b) return true; + return Buffer.compare(this, b) === 0; + }; + + Buffer.prototype.inspect = function inspect() { + var str = ''; + var max = INSPECT_MAX_BYTES; + + if (this.length > 0) { + str = this.toString('hex', 0, max).match(/.{2}/g).join(' '); + if (this.length > max) str += ' ... '; + } + + return '<Buffer ' + str + '>'; + }; + + Buffer.prototype.compare = function compare(target, start, end, thisStart, thisEnd) { + if (!internalIsBuffer(target)) { + throw new TypeError('Argument must be a Buffer'); + } + + if (start === undefined) { + start = 0; + } + + if (end === undefined) { + end = target ? target.length : 0; + } + + if (thisStart === undefined) { + thisStart = 0; + } + + if (thisEnd === undefined) { + thisEnd = this.length; + } + + if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) { + throw new RangeError('out of range index'); + } + + if (thisStart >= thisEnd && start >= end) { + return 0; + } + + if (thisStart >= thisEnd) { + return -1; + } + + if (start >= end) { + return 1; + } + + start >>>= 0; + end >>>= 0; + thisStart >>>= 0; + thisEnd >>>= 0; + if (this === target) return 0; + var x = thisEnd - thisStart; + var y = end - start; + var len = Math.min(x, y); + var thisCopy = this.slice(thisStart, thisEnd); + var targetCopy = target.slice(start, end); + + for (var i = 0; i < len; ++i) { + if (thisCopy[i] !== targetCopy[i]) { + x = thisCopy[i]; + y = targetCopy[i]; + break; + } + } + + if (x < y) return -1; + if (y < x) return 1; + return 0; + }; // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`, + // OR the last index of `val` in `buffer` at offset <= `byteOffset`. + // + // Arguments: + // - buffer - a Buffer to search + // - val - a string, Buffer, or number + // - byteOffset - an index into `buffer`; will be clamped to an int32 + // - encoding - an optional encoding, relevant is val is a string + // - dir - true for indexOf, false for lastIndexOf + + + function bidirectionalIndexOf(buffer, val, byteOffset, encoding, dir) { + // Empty buffer means no match + if (buffer.length === 0) return -1; // Normalize byteOffset + + if (typeof byteOffset === 'string') { + encoding = byteOffset; + byteOffset = 0; + } else if (byteOffset > 0x7fffffff) { + byteOffset = 0x7fffffff; + } else if (byteOffset < -0x80000000) { + byteOffset = -0x80000000; + } + + byteOffset = +byteOffset; // Coerce to Number. + + if (isNaN(byteOffset)) { + // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer + byteOffset = dir ? 0 : buffer.length - 1; + } // Normalize byteOffset: negative offsets start from the end of the buffer + + + if (byteOffset < 0) byteOffset = buffer.length + byteOffset; + + if (byteOffset >= buffer.length) { + if (dir) return -1;else byteOffset = buffer.length - 1; + } else if (byteOffset < 0) { + if (dir) byteOffset = 0;else return -1; + } // Normalize val + + + if (typeof val === 'string') { + val = Buffer.from(val, encoding); + } // Finally, search either indexOf (if dir is true) or lastIndexOf + + + if (internalIsBuffer(val)) { + // Special case: looking for empty string/buffer always fails + if (val.length === 0) { + return -1; + } + + return arrayIndexOf(buffer, val, byteOffset, encoding, dir); + } else if (typeof val === 'number') { + val = val & 0xFF; // Search for a byte value [0-255] + + if (Buffer.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf === 'function') { + if (dir) { + return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset); + } else { + return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset); + } + } + + return arrayIndexOf(buffer, [val], byteOffset, encoding, dir); + } + + throw new TypeError('val must be string, number or Buffer'); + } + + function arrayIndexOf(arr, val, byteOffset, encoding, dir) { + var indexSize = 1; + var arrLength = arr.length; + var valLength = val.length; + + if (encoding !== undefined) { + encoding = String(encoding).toLowerCase(); + + if (encoding === 'ucs2' || encoding === 'ucs-2' || encoding === 'utf16le' || encoding === 'utf-16le') { + if (arr.length < 2 || val.length < 2) { + return -1; + } + + indexSize = 2; + arrLength /= 2; + valLength /= 2; + byteOffset /= 2; + } + } + + function read(buf, i) { + if (indexSize === 1) { + return buf[i]; + } else { + return buf.readUInt16BE(i * indexSize); + } + } + + var i; + + if (dir) { + var foundIndex = -1; + + for (i = byteOffset; i < arrLength; i++) { + if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) { + if (foundIndex === -1) foundIndex = i; + if (i - foundIndex + 1 === valLength) return foundIndex * indexSize; + } else { + if (foundIndex !== -1) i -= i - foundIndex; + foundIndex = -1; + } + } + } else { + if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength; + + for (i = byteOffset; i >= 0; i--) { + var found = true; + + for (var j = 0; j < valLength; j++) { + if (read(arr, i + j) !== read(val, j)) { + found = false; + break; + } + } + + if (found) return i; + } + } + + return -1; + } + + Buffer.prototype.includes = function includes(val, byteOffset, encoding) { + return this.indexOf(val, byteOffset, encoding) !== -1; + }; + + Buffer.prototype.indexOf = function indexOf(val, byteOffset, encoding) { + return bidirectionalIndexOf(this, val, byteOffset, encoding, true); + }; + + Buffer.prototype.lastIndexOf = function lastIndexOf(val, byteOffset, encoding) { + return bidirectionalIndexOf(this, val, byteOffset, encoding, false); + }; + + function hexWrite(buf, string, offset, length) { + offset = Number(offset) || 0; + var remaining = buf.length - offset; + + if (!length) { + length = remaining; + } else { + length = Number(length); + + if (length > remaining) { + length = remaining; + } + } // must be an even number of digits + + + var strLen = string.length; + if (strLen % 2 !== 0) throw new TypeError('Invalid hex string'); + + if (length > strLen / 2) { + length = strLen / 2; + } + + for (var i = 0; i < length; ++i) { + var parsed = parseInt(string.substr(i * 2, 2), 16); + if (isNaN(parsed)) return i; + buf[offset + i] = parsed; + } + + return i; + } + + function utf8Write(buf, string, offset, length) { + return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length); + } + + function asciiWrite(buf, string, offset, length) { + return blitBuffer(asciiToBytes(string), buf, offset, length); + } + + function latin1Write(buf, string, offset, length) { + return asciiWrite(buf, string, offset, length); + } + + function base64Write(buf, string, offset, length) { + return blitBuffer(base64ToBytes(string), buf, offset, length); + } + + function ucs2Write(buf, string, offset, length) { + return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length); + } + + Buffer.prototype.write = function write(string, offset, length, encoding) { + // Buffer#write(string) + if (offset === undefined) { + encoding = 'utf8'; + length = this.length; + offset = 0; // Buffer#write(string, encoding) + } else if (length === undefined && typeof offset === 'string') { + encoding = offset; + length = this.length; + offset = 0; // Buffer#write(string, offset[, length][, encoding]) + } else if (isFinite(offset)) { + offset = offset | 0; + + if (isFinite(length)) { + length = length | 0; + if (encoding === undefined) encoding = 'utf8'; + } else { + encoding = length; + length = undefined; + } // legacy write(string, encoding, offset, length) - remove in v0.13 + + } else { + throw new Error('Buffer.write(string, encoding, offset[, length]) is no longer supported'); + } + + var remaining = this.length - offset; + if (length === undefined || length > remaining) length = remaining; + + if (string.length > 0 && (length < 0 || offset < 0) || offset > this.length) { + throw new RangeError('Attempt to write outside buffer bounds'); + } + + if (!encoding) encoding = 'utf8'; + var loweredCase = false; + + for (;;) { + switch (encoding) { + case 'hex': + return hexWrite(this, string, offset, length); + + case 'utf8': + case 'utf-8': + return utf8Write(this, string, offset, length); + + case 'ascii': + return asciiWrite(this, string, offset, length); + + case 'latin1': + case 'binary': + return latin1Write(this, string, offset, length); + + case 'base64': + // Warning: maxLength not taken into account in base64Write + return base64Write(this, string, offset, length); + + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return ucs2Write(this, string, offset, length); + + default: + if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding); + encoding = ('' + encoding).toLowerCase(); + loweredCase = true; + } + } + }; + + Buffer.prototype.toJSON = function toJSON() { + return { + type: 'Buffer', + data: Array.prototype.slice.call(this._arr || this, 0) + }; + }; + + function base64Slice(buf, start, end) { + if (start === 0 && end === buf.length) { + return fromByteArray(buf); + } else { + return fromByteArray(buf.slice(start, end)); + } + } + + function utf8Slice(buf, start, end) { + end = Math.min(buf.length, end); + var res = []; + var i = start; + + while (i < end) { + var firstByte = buf[i]; + var codePoint = null; + var bytesPerSequence = firstByte > 0xEF ? 4 : firstByte > 0xDF ? 3 : firstByte > 0xBF ? 2 : 1; + + if (i + bytesPerSequence <= end) { + var secondByte, thirdByte, fourthByte, tempCodePoint; + + switch (bytesPerSequence) { + case 1: + if (firstByte < 0x80) { + codePoint = firstByte; + } + + break; + + case 2: + secondByte = buf[i + 1]; + + if ((secondByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0x1F) << 0x6 | secondByte & 0x3F; + + if (tempCodePoint > 0x7F) { + codePoint = tempCodePoint; + } + } + + break; + + case 3: + secondByte = buf[i + 1]; + thirdByte = buf[i + 2]; + + if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | thirdByte & 0x3F; + + if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) { + codePoint = tempCodePoint; + } + } + + break; + + case 4: + secondByte = buf[i + 1]; + thirdByte = buf[i + 2]; + fourthByte = buf[i + 3]; + + if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | fourthByte & 0x3F; + + if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) { + codePoint = tempCodePoint; + } + } + + } + } + + if (codePoint === null) { + // we did not generate a valid codePoint so insert a + // replacement char (U+FFFD) and advance only 1 byte + codePoint = 0xFFFD; + bytesPerSequence = 1; + } else if (codePoint > 0xFFFF) { + // encode to utf16 (surrogate pair dance) + codePoint -= 0x10000; + res.push(codePoint >>> 10 & 0x3FF | 0xD800); + codePoint = 0xDC00 | codePoint & 0x3FF; + } + + res.push(codePoint); + i += bytesPerSequence; + } + + return decodeCodePointsArray(res); + } // Based on http://stackoverflow.com/a/22747272/680742, the browser with + // the lowest limit is Chrome, with 0x10000 args. + // We go 1 magnitude less, for safety + + + var MAX_ARGUMENTS_LENGTH = 0x1000; + + function decodeCodePointsArray(codePoints) { + var len = codePoints.length; + + if (len <= MAX_ARGUMENTS_LENGTH) { + return String.fromCharCode.apply(String, codePoints); // avoid extra slice() + } // Decode in chunks to avoid "call stack size exceeded". + + + var res = ''; + var i = 0; + + while (i < len) { + res += String.fromCharCode.apply(String, codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)); + } + + return res; + } + + function asciiSlice(buf, start, end) { + var ret = ''; + end = Math.min(buf.length, end); + + for (var i = start; i < end; ++i) { + ret += String.fromCharCode(buf[i] & 0x7F); + } + + return ret; + } + + function latin1Slice(buf, start, end) { + var ret = ''; + end = Math.min(buf.length, end); + + for (var i = start; i < end; ++i) { + ret += String.fromCharCode(buf[i]); + } + + return ret; + } + + function hexSlice(buf, start, end) { + var len = buf.length; + if (!start || start < 0) start = 0; + if (!end || end < 0 || end > len) end = len; + var out = ''; + + for (var i = start; i < end; ++i) { + out += toHex(buf[i]); + } + + return out; + } + + function utf16leSlice(buf, start, end) { + var bytes = buf.slice(start, end); + var res = ''; + + for (var i = 0; i < bytes.length; i += 2) { + res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256); + } + + return res; + } + + Buffer.prototype.slice = function slice(start, end) { + var len = this.length; + start = ~~start; + end = end === undefined ? len : ~~end; + + if (start < 0) { + start += len; + if (start < 0) start = 0; + } else if (start > len) { + start = len; + } + + if (end < 0) { + end += len; + if (end < 0) end = 0; + } else if (end > len) { + end = len; + } + + if (end < start) end = start; + var newBuf; + + if (Buffer.TYPED_ARRAY_SUPPORT) { + newBuf = this.subarray(start, end); + newBuf.__proto__ = Buffer.prototype; + } else { + var sliceLen = end - start; + newBuf = new Buffer(sliceLen, undefined); + + for (var i = 0; i < sliceLen; ++i) { + newBuf[i] = this[i + start]; + } + } + + return newBuf; + }; + /* + * Need to make sure that buffer isn't trying to write out of bounds. + */ + + + function checkOffset(offset, ext, length) { + if (offset % 1 !== 0 || offset < 0) throw new RangeError('offset is not uint'); + if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length'); + } + + Buffer.prototype.readUIntLE = function readUIntLE(offset, byteLength, noAssert) { + offset = offset | 0; + byteLength = byteLength | 0; + if (!noAssert) checkOffset(offset, byteLength, this.length); + var val = this[offset]; + var mul = 1; + var i = 0; + + while (++i < byteLength && (mul *= 0x100)) { + val += this[offset + i] * mul; + } + + return val; + }; + + Buffer.prototype.readUIntBE = function readUIntBE(offset, byteLength, noAssert) { + offset = offset | 0; + byteLength = byteLength | 0; + + if (!noAssert) { + checkOffset(offset, byteLength, this.length); + } + + var val = this[offset + --byteLength]; + var mul = 1; + + while (byteLength > 0 && (mul *= 0x100)) { + val += this[offset + --byteLength] * mul; + } + + return val; + }; + + Buffer.prototype.readUInt8 = function readUInt8(offset, noAssert) { + if (!noAssert) checkOffset(offset, 1, this.length); + return this[offset]; + }; + + Buffer.prototype.readUInt16LE = function readUInt16LE(offset, noAssert) { + if (!noAssert) checkOffset(offset, 2, this.length); + return this[offset] | this[offset + 1] << 8; + }; + + Buffer.prototype.readUInt16BE = function readUInt16BE(offset, noAssert) { + if (!noAssert) checkOffset(offset, 2, this.length); + return this[offset] << 8 | this[offset + 1]; + }; + + Buffer.prototype.readUInt32LE = function readUInt32LE(offset, noAssert) { + if (!noAssert) checkOffset(offset, 4, this.length); + return (this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16) + this[offset + 3] * 0x1000000; + }; + + Buffer.prototype.readUInt32BE = function readUInt32BE(offset, noAssert) { + if (!noAssert) checkOffset(offset, 4, this.length); + return this[offset] * 0x1000000 + (this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]); + }; + + Buffer.prototype.readIntLE = function readIntLE(offset, byteLength, noAssert) { + offset = offset | 0; + byteLength = byteLength | 0; + if (!noAssert) checkOffset(offset, byteLength, this.length); + var val = this[offset]; + var mul = 1; + var i = 0; + + while (++i < byteLength && (mul *= 0x100)) { + val += this[offset + i] * mul; + } + + mul *= 0x80; + if (val >= mul) val -= Math.pow(2, 8 * byteLength); + return val; + }; + + Buffer.prototype.readIntBE = function readIntBE(offset, byteLength, noAssert) { + offset = offset | 0; + byteLength = byteLength | 0; + if (!noAssert) checkOffset(offset, byteLength, this.length); + var i = byteLength; + var mul = 1; + var val = this[offset + --i]; + + while (i > 0 && (mul *= 0x100)) { + val += this[offset + --i] * mul; + } + + mul *= 0x80; + if (val >= mul) val -= Math.pow(2, 8 * byteLength); + return val; + }; + + Buffer.prototype.readInt8 = function readInt8(offset, noAssert) { + if (!noAssert) checkOffset(offset, 1, this.length); + if (!(this[offset] & 0x80)) return this[offset]; + return (0xff - this[offset] + 1) * -1; + }; + + Buffer.prototype.readInt16LE = function readInt16LE(offset, noAssert) { + if (!noAssert) checkOffset(offset, 2, this.length); + var val = this[offset] | this[offset + 1] << 8; + return val & 0x8000 ? val | 0xFFFF0000 : val; + }; + + Buffer.prototype.readInt16BE = function readInt16BE(offset, noAssert) { + if (!noAssert) checkOffset(offset, 2, this.length); + var val = this[offset + 1] | this[offset] << 8; + return val & 0x8000 ? val | 0xFFFF0000 : val; + }; + + Buffer.prototype.readInt32LE = function readInt32LE(offset, noAssert) { + if (!noAssert) checkOffset(offset, 4, this.length); + return this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16 | this[offset + 3] << 24; + }; + + Buffer.prototype.readInt32BE = function readInt32BE(offset, noAssert) { + if (!noAssert) checkOffset(offset, 4, this.length); + return this[offset] << 24 | this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]; + }; + + Buffer.prototype.readFloatLE = function readFloatLE(offset, noAssert) { + if (!noAssert) checkOffset(offset, 4, this.length); + return read(this, offset, true, 23, 4); + }; + + Buffer.prototype.readFloatBE = function readFloatBE(offset, noAssert) { + if (!noAssert) checkOffset(offset, 4, this.length); + return read(this, offset, false, 23, 4); + }; + + Buffer.prototype.readDoubleLE = function readDoubleLE(offset, noAssert) { + if (!noAssert) checkOffset(offset, 8, this.length); + return read(this, offset, true, 52, 8); + }; + + Buffer.prototype.readDoubleBE = function readDoubleBE(offset, noAssert) { + if (!noAssert) checkOffset(offset, 8, this.length); + return read(this, offset, false, 52, 8); + }; + + function checkInt(buf, value, offset, ext, max, min) { + if (!internalIsBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance'); + if (value > max || value < min) throw new RangeError('"value" argument is out of bounds'); + if (offset + ext > buf.length) throw new RangeError('Index out of range'); + } + + Buffer.prototype.writeUIntLE = function writeUIntLE(value, offset, byteLength, noAssert) { + value = +value; + offset = offset | 0; + byteLength = byteLength | 0; + + if (!noAssert) { + var maxBytes = Math.pow(2, 8 * byteLength) - 1; + checkInt(this, value, offset, byteLength, maxBytes, 0); + } + + var mul = 1; + var i = 0; + this[offset] = value & 0xFF; + + while (++i < byteLength && (mul *= 0x100)) { + this[offset + i] = value / mul & 0xFF; + } + + return offset + byteLength; + }; + + Buffer.prototype.writeUIntBE = function writeUIntBE(value, offset, byteLength, noAssert) { + value = +value; + offset = offset | 0; + byteLength = byteLength | 0; + + if (!noAssert) { + var maxBytes = Math.pow(2, 8 * byteLength) - 1; + checkInt(this, value, offset, byteLength, maxBytes, 0); + } + + var i = byteLength - 1; + var mul = 1; + this[offset + i] = value & 0xFF; + + while (--i >= 0 && (mul *= 0x100)) { + this[offset + i] = value / mul & 0xFF; + } + + return offset + byteLength; + }; + + Buffer.prototype.writeUInt8 = function writeUInt8(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0); + if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value); + this[offset] = value & 0xff; + return offset + 1; + }; + + function objectWriteUInt16(buf, value, offset, littleEndian) { + if (value < 0) value = 0xffff + value + 1; + + for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) { + buf[offset + i] = (value & 0xff << 8 * (littleEndian ? i : 1 - i)) >>> (littleEndian ? i : 1 - i) * 8; + } + } + + Buffer.prototype.writeUInt16LE = function writeUInt16LE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0); + + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = value & 0xff; + this[offset + 1] = value >>> 8; + } else { + objectWriteUInt16(this, value, offset, true); + } + + return offset + 2; + }; + + Buffer.prototype.writeUInt16BE = function writeUInt16BE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0); + + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 8; + this[offset + 1] = value & 0xff; + } else { + objectWriteUInt16(this, value, offset, false); + } + + return offset + 2; + }; + + function objectWriteUInt32(buf, value, offset, littleEndian) { + if (value < 0) value = 0xffffffff + value + 1; + + for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) { + buf[offset + i] = value >>> (littleEndian ? i : 3 - i) * 8 & 0xff; + } + } + + Buffer.prototype.writeUInt32LE = function writeUInt32LE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0); + + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset + 3] = value >>> 24; + this[offset + 2] = value >>> 16; + this[offset + 1] = value >>> 8; + this[offset] = value & 0xff; + } else { + objectWriteUInt32(this, value, offset, true); + } + + return offset + 4; + }; + + Buffer.prototype.writeUInt32BE = function writeUInt32BE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0); + + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 24; + this[offset + 1] = value >>> 16; + this[offset + 2] = value >>> 8; + this[offset + 3] = value & 0xff; + } else { + objectWriteUInt32(this, value, offset, false); + } + + return offset + 4; + }; + + Buffer.prototype.writeIntLE = function writeIntLE(value, offset, byteLength, noAssert) { + value = +value; + offset = offset | 0; + + if (!noAssert) { + var limit = Math.pow(2, 8 * byteLength - 1); + checkInt(this, value, offset, byteLength, limit - 1, -limit); + } + + var i = 0; + var mul = 1; + var sub = 0; + this[offset] = value & 0xFF; + + while (++i < byteLength && (mul *= 0x100)) { + if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) { + sub = 1; + } + + this[offset + i] = (value / mul >> 0) - sub & 0xFF; + } + + return offset + byteLength; + }; + + Buffer.prototype.writeIntBE = function writeIntBE(value, offset, byteLength, noAssert) { + value = +value; + offset = offset | 0; + + if (!noAssert) { + var limit = Math.pow(2, 8 * byteLength - 1); + checkInt(this, value, offset, byteLength, limit - 1, -limit); + } + + var i = byteLength - 1; + var mul = 1; + var sub = 0; + this[offset + i] = value & 0xFF; + + while (--i >= 0 && (mul *= 0x100)) { + if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) { + sub = 1; + } + + this[offset + i] = (value / mul >> 0) - sub & 0xFF; + } + + return offset + byteLength; + }; + + Buffer.prototype.writeInt8 = function writeInt8(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80); + if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value); + if (value < 0) value = 0xff + value + 1; + this[offset] = value & 0xff; + return offset + 1; + }; + + Buffer.prototype.writeInt16LE = function writeInt16LE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000); + + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = value & 0xff; + this[offset + 1] = value >>> 8; + } else { + objectWriteUInt16(this, value, offset, true); + } + + return offset + 2; + }; + + Buffer.prototype.writeInt16BE = function writeInt16BE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000); + + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 8; + this[offset + 1] = value & 0xff; + } else { + objectWriteUInt16(this, value, offset, false); + } + + return offset + 2; + }; + + Buffer.prototype.writeInt32LE = function writeInt32LE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000); + + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = value & 0xff; + this[offset + 1] = value >>> 8; + this[offset + 2] = value >>> 16; + this[offset + 3] = value >>> 24; + } else { + objectWriteUInt32(this, value, offset, true); + } + + return offset + 4; + }; + + Buffer.prototype.writeInt32BE = function writeInt32BE(value, offset, noAssert) { + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000); + if (value < 0) value = 0xffffffff + value + 1; + + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 24; + this[offset + 1] = value >>> 16; + this[offset + 2] = value >>> 8; + this[offset + 3] = value & 0xff; + } else { + objectWriteUInt32(this, value, offset, false); + } + + return offset + 4; + }; + + function checkIEEE754(buf, value, offset, ext, max, min) { + if (offset + ext > buf.length) throw new RangeError('Index out of range'); + if (offset < 0) throw new RangeError('Index out of range'); + } + + function writeFloat(buf, value, offset, littleEndian, noAssert) { + if (!noAssert) { + checkIEEE754(buf, value, offset, 4); + } + + write(buf, value, offset, littleEndian, 23, 4); + return offset + 4; + } + + Buffer.prototype.writeFloatLE = function writeFloatLE(value, offset, noAssert) { + return writeFloat(this, value, offset, true, noAssert); + }; + + Buffer.prototype.writeFloatBE = function writeFloatBE(value, offset, noAssert) { + return writeFloat(this, value, offset, false, noAssert); + }; + + function writeDouble(buf, value, offset, littleEndian, noAssert) { + if (!noAssert) { + checkIEEE754(buf, value, offset, 8); + } + + write(buf, value, offset, littleEndian, 52, 8); + return offset + 8; + } + + Buffer.prototype.writeDoubleLE = function writeDoubleLE(value, offset, noAssert) { + return writeDouble(this, value, offset, true, noAssert); + }; + + Buffer.prototype.writeDoubleBE = function writeDoubleBE(value, offset, noAssert) { + return writeDouble(this, value, offset, false, noAssert); + }; // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) + + + Buffer.prototype.copy = function copy(target, targetStart, start, end) { + if (!start) start = 0; + if (!end && end !== 0) end = this.length; + if (targetStart >= target.length) targetStart = target.length; + if (!targetStart) targetStart = 0; + if (end > 0 && end < start) end = start; // Copy 0 bytes; we're done + + if (end === start) return 0; + if (target.length === 0 || this.length === 0) return 0; // Fatal error conditions + + if (targetStart < 0) { + throw new RangeError('targetStart out of bounds'); + } + + if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds'); + if (end < 0) throw new RangeError('sourceEnd out of bounds'); // Are we oob? + + if (end > this.length) end = this.length; + + if (target.length - targetStart < end - start) { + end = target.length - targetStart + start; + } + + var len = end - start; + var i; + + if (this === target && start < targetStart && targetStart < end) { + // descending copy from end + for (i = len - 1; i >= 0; --i) { + target[i + targetStart] = this[i + start]; + } + } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) { + // ascending copy from start + for (i = 0; i < len; ++i) { + target[i + targetStart] = this[i + start]; + } + } else { + Uint8Array.prototype.set.call(target, this.subarray(start, start + len), targetStart); + } + + return len; + }; // Usage: + // buffer.fill(number[, offset[, end]]) + // buffer.fill(buffer[, offset[, end]]) + // buffer.fill(string[, offset[, end]][, encoding]) + + + Buffer.prototype.fill = function fill(val, start, end, encoding) { + // Handle string cases: + if (typeof val === 'string') { + if (typeof start === 'string') { + encoding = start; + start = 0; + end = this.length; + } else if (typeof end === 'string') { + encoding = end; + end = this.length; + } + + if (val.length === 1) { + var code = val.charCodeAt(0); + + if (code < 256) { + val = code; + } + } + + if (encoding !== undefined && typeof encoding !== 'string') { + throw new TypeError('encoding must be a string'); + } + + if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) { + throw new TypeError('Unknown encoding: ' + encoding); + } + } else if (typeof val === 'number') { + val = val & 255; + } // Invalid ranges are not set to a default, so can range check early. + + + if (start < 0 || this.length < start || this.length < end) { + throw new RangeError('Out of range index'); + } + + if (end <= start) { + return this; + } + + start = start >>> 0; + end = end === undefined ? this.length : end >>> 0; + if (!val) val = 0; + var i; + + if (typeof val === 'number') { + for (i = start; i < end; ++i) { + this[i] = val; + } + } else { + var bytes = internalIsBuffer(val) ? val : utf8ToBytes(new Buffer(val, encoding).toString()); + var len = bytes.length; + + for (i = 0; i < end - start; ++i) { + this[i + start] = bytes[i % len]; + } + } + + return this; + }; // HELPER FUNCTIONS + // ================ + + + var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g; + + function base64clean(str) { + // Node strips out invalid characters like \n and \t from the string, base64-js does not + str = stringtrim(str).replace(INVALID_BASE64_RE, ''); // Node converts strings with length < 2 to '' + + if (str.length < 2) return ''; // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not + + while (str.length % 4 !== 0) { + str = str + '='; + } + + return str; + } + + function stringtrim(str) { + if (str.trim) return str.trim(); + return str.replace(/^\s+|\s+$/g, ''); + } + + function toHex(n) { + if (n < 16) return '0' + n.toString(16); + return n.toString(16); + } + + function utf8ToBytes(string, units) { + units = units || Infinity; + var codePoint; + var length = string.length; + var leadSurrogate = null; + var bytes = []; + + for (var i = 0; i < length; ++i) { + codePoint = string.charCodeAt(i); // is surrogate component + + if (codePoint > 0xD7FF && codePoint < 0xE000) { + // last char was a lead + if (!leadSurrogate) { + // no lead yet + if (codePoint > 0xDBFF) { + // unexpected trail + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + continue; + } else if (i + 1 === length) { + // unpaired lead + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + continue; + } // valid lead + + + leadSurrogate = codePoint; + continue; + } // 2 leads in a row + + + if (codePoint < 0xDC00) { + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + leadSurrogate = codePoint; + continue; + } // valid surrogate pair + + + codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000; + } else if (leadSurrogate) { + // valid bmp char, but last char was a lead + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + } + + leadSurrogate = null; // encode utf8 + + if (codePoint < 0x80) { + if ((units -= 1) < 0) break; + bytes.push(codePoint); + } else if (codePoint < 0x800) { + if ((units -= 2) < 0) break; + bytes.push(codePoint >> 0x6 | 0xC0, codePoint & 0x3F | 0x80); + } else if (codePoint < 0x10000) { + if ((units -= 3) < 0) break; + bytes.push(codePoint >> 0xC | 0xE0, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80); + } else if (codePoint < 0x110000) { + if ((units -= 4) < 0) break; + bytes.push(codePoint >> 0x12 | 0xF0, codePoint >> 0xC & 0x3F | 0x80, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80); + } else { + throw new Error('Invalid code point'); + } + } + + return bytes; + } + + function asciiToBytes(str) { + var byteArray = []; + + for (var i = 0; i < str.length; ++i) { + // Node's code seems to be doing this and not & 0x7F.. + byteArray.push(str.charCodeAt(i) & 0xFF); + } + + return byteArray; + } + + function utf16leToBytes(str, units) { + var c, hi, lo; + var byteArray = []; + + for (var i = 0; i < str.length; ++i) { + if ((units -= 2) < 0) break; + c = str.charCodeAt(i); + hi = c >> 8; + lo = c % 256; + byteArray.push(lo); + byteArray.push(hi); + } + + return byteArray; + } + + function base64ToBytes(str) { + return toByteArray(base64clean(str)); + } + + function blitBuffer(src, dst, offset, length) { + for (var i = 0; i < length; ++i) { + if (i + offset >= dst.length || i >= src.length) break; + dst[i + offset] = src[i]; + } + + return i; + } + + function isnan(val) { + return val !== val; // eslint-disable-line no-self-compare + } // the following is from is-buffer, also by Feross Aboukhadijeh and with same lisence + // The _isBuffer check is for Safari 5-7 support, because it's missing + // Object.prototype.constructor. Remove this eventually + + + function isBuffer(obj) { + return obj != null && (!!obj._isBuffer || isFastBuffer(obj) || isSlowBuffer(obj)); + } + + function isFastBuffer(obj) { + return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj); + } // For Node v0.10 support. Remove this eventually. + + + function isSlowBuffer(obj) { + return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isFastBuffer(obj.slice(0, 0)); + } + + function BufferList() { + this.head = null; + this.tail = null; + this.length = 0; + } + + BufferList.prototype.push = function (v) { + var entry = { + data: v, + next: null + }; + if (this.length > 0) this.tail.next = entry;else this.head = entry; + this.tail = entry; + ++this.length; + }; + + BufferList.prototype.unshift = function (v) { + var entry = { + data: v, + next: this.head + }; + if (this.length === 0) this.tail = entry; + this.head = entry; + ++this.length; + }; + + BufferList.prototype.shift = function () { + if (this.length === 0) return; + var ret = this.head.data; + if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next; + --this.length; + return ret; + }; + + BufferList.prototype.clear = function () { + this.head = this.tail = null; + this.length = 0; + }; + + BufferList.prototype.join = function (s) { + if (this.length === 0) return ''; + var p = this.head; + var ret = '' + p.data; + + while (p = p.next) { + ret += s + p.data; + } + + return ret; + }; + + BufferList.prototype.concat = function (n) { + if (this.length === 0) return Buffer.alloc(0); + if (this.length === 1) return this.head.data; + var ret = Buffer.allocUnsafe(n >>> 0); + var p = this.head; + var i = 0; + + while (p) { + p.data.copy(ret, i); + i += p.data.length; + p = p.next; + } + + return ret; + }; + + var isBufferEncoding = Buffer.isEncoding || function (encoding) { + switch (encoding && encoding.toLowerCase()) { + case 'hex': + case 'utf8': + case 'utf-8': + case 'ascii': + case 'binary': + case 'base64': + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + case 'raw': + return true; + + default: + return false; + } + }; + + function assertEncoding(encoding) { + if (encoding && !isBufferEncoding(encoding)) { + throw new Error('Unknown encoding: ' + encoding); + } + } // StringDecoder provides an interface for efficiently splitting a series of + // buffers into a series of JS strings without breaking apart multi-byte + // characters. CESU-8 is handled as part of the UTF-8 encoding. + // + // @TODO Handling all encodings inside a single object makes it very difficult + // to reason about this code, so it should be split up in the future. + // @TODO There should be a utf8-strict encoding that rejects invalid UTF-8 code + // points as used by CESU-8. + + + function StringDecoder(encoding) { + this.encoding = (encoding || 'utf8').toLowerCase().replace(/[-_]/, ''); + assertEncoding(encoding); + + switch (this.encoding) { + case 'utf8': + // CESU-8 represents each of Surrogate Pair by 3-bytes + this.surrogateSize = 3; + break; + + case 'ucs2': + case 'utf16le': + // UTF-16 represents each of Surrogate Pair by 2-bytes + this.surrogateSize = 2; + this.detectIncompleteChar = utf16DetectIncompleteChar; + break; + + case 'base64': + // Base-64 stores 3 bytes in 4 chars, and pads the remainder. + this.surrogateSize = 3; + this.detectIncompleteChar = base64DetectIncompleteChar; + break; + + default: + this.write = passThroughWrite; + return; + } // Enough space to store all bytes of a single character. UTF-8 needs 4 + // bytes, but CESU-8 may require up to 6 (3 bytes per surrogate). + + + this.charBuffer = new Buffer(6); // Number of bytes received for the current incomplete multi-byte character. + + this.charReceived = 0; // Number of bytes expected for the current incomplete multi-byte character. + + this.charLength = 0; + } + // guaranteed to not contain any partial multi-byte characters. Any partial + // character found at the end of the buffer is buffered up, and will be + // returned when calling write again with the remaining bytes. + // + // Note: Converting a Buffer containing an orphan surrogate to a String + // currently works, but converting a String to a Buffer (via `new Buffer`, or + // Buffer#write) will replace incomplete surrogates with the unicode + // replacement character. See https://codereview.chromium.org/121173009/ . + + StringDecoder.prototype.write = function (buffer) { + var charStr = ''; // if our last write ended with an incomplete multibyte character + + while (this.charLength) { + // determine how many remaining bytes this buffer has to offer for this char + var available = buffer.length >= this.charLength - this.charReceived ? this.charLength - this.charReceived : buffer.length; // add the new bytes to the char buffer + + buffer.copy(this.charBuffer, this.charReceived, 0, available); + this.charReceived += available; + + if (this.charReceived < this.charLength) { + // still not enough chars in this buffer? wait for more ... + return ''; + } // remove bytes belonging to the current character from the buffer + + + buffer = buffer.slice(available, buffer.length); // get the character that was split + + charStr = this.charBuffer.slice(0, this.charLength).toString(this.encoding); // CESU-8: lead surrogate (D800-DBFF) is also the incomplete character + + var charCode = charStr.charCodeAt(charStr.length - 1); + + if (charCode >= 0xD800 && charCode <= 0xDBFF) { + this.charLength += this.surrogateSize; + charStr = ''; + continue; + } + + this.charReceived = this.charLength = 0; // if there are no more bytes in this buffer, just emit our char + + if (buffer.length === 0) { + return charStr; + } + + break; + } // determine and set charLength / charReceived + + + this.detectIncompleteChar(buffer); + var end = buffer.length; + + if (this.charLength) { + // buffer the incomplete character bytes we got + buffer.copy(this.charBuffer, 0, buffer.length - this.charReceived, end); + end -= this.charReceived; + } + + charStr += buffer.toString(this.encoding, 0, end); + var end = charStr.length - 1; + var charCode = charStr.charCodeAt(end); // CESU-8: lead surrogate (D800-DBFF) is also the incomplete character + + if (charCode >= 0xD800 && charCode <= 0xDBFF) { + var size = this.surrogateSize; + this.charLength += size; + this.charReceived += size; + this.charBuffer.copy(this.charBuffer, size, 0, size); + buffer.copy(this.charBuffer, 0, 0, size); + return charStr.substring(0, end); + } // or just emit the charStr + + + return charStr; + }; // detectIncompleteChar determines if there is an incomplete UTF-8 character at + // the end of the given buffer. If so, it sets this.charLength to the byte + // length that character, and sets this.charReceived to the number of bytes + // that are available for this character. + + + StringDecoder.prototype.detectIncompleteChar = function (buffer) { + // determine how many bytes we have to check at the end of this buffer + var i = buffer.length >= 3 ? 3 : buffer.length; // Figure out if one of the last i bytes of our buffer announces an + // incomplete char. + + for (; i > 0; i--) { + var c = buffer[buffer.length - i]; // See http://en.wikipedia.org/wiki/UTF-8#Description + // 110XXXXX + + if (i == 1 && c >> 5 == 0x06) { + this.charLength = 2; + break; + } // 1110XXXX + + + if (i <= 2 && c >> 4 == 0x0E) { + this.charLength = 3; + break; + } // 11110XXX + + + if (i <= 3 && c >> 3 == 0x1E) { + this.charLength = 4; + break; + } + } + + this.charReceived = i; + }; + + StringDecoder.prototype.end = function (buffer) { + var res = ''; + if (buffer && buffer.length) res = this.write(buffer); + + if (this.charReceived) { + var cr = this.charReceived; + var buf = this.charBuffer; + var enc = this.encoding; + res += buf.slice(0, cr).toString(enc); + } + + return res; + }; + + function passThroughWrite(buffer) { + return buffer.toString(this.encoding); + } + + function utf16DetectIncompleteChar(buffer) { + this.charReceived = buffer.length % 2; + this.charLength = this.charReceived ? 2 : 0; + } + + function base64DetectIncompleteChar(buffer) { + this.charReceived = buffer.length % 3; + this.charLength = this.charReceived ? 3 : 0; + } + + Readable.ReadableState = ReadableState; + var debug$2 = debuglog('stream'); + inherits$3(Readable, EventEmitter$2); + + function prependListener(emitter, event, fn) { + // Sadly this is not cacheable as some libraries bundle their own + // event emitter implementation with them. + if (typeof emitter.prependListener === 'function') { + return emitter.prependListener(event, fn); + } else { + // This is a hack to make sure that our error handler is attached before any + // userland ones. NEVER DO THIS. This is here only because this code needs + // to continue to work with older versions of Node.js that do not include + // the prependListener() method. The goal is to eventually remove this hack. + if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (Array.isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]]; + } + } + + function listenerCount(emitter, type) { + return emitter.listeners(type).length; + } + + function ReadableState(options, stream) { + options = options || {}; // object stream flag. Used to make read(n) ignore n and to + // make all the buffer merging and length checks go away + + this.objectMode = !!options.objectMode; + if (stream instanceof Duplex) this.objectMode = this.objectMode || !!options.readableObjectMode; // the point at which it stops calling _read() to fill the buffer + // Note: 0 is a valid value, means "don't call _read preemptively ever" + + var hwm = options.highWaterMark; + var defaultHwm = this.objectMode ? 16 : 16 * 1024; + this.highWaterMark = hwm || hwm === 0 ? hwm : defaultHwm; // cast to ints. + + this.highWaterMark = ~~this.highWaterMark; // A linked list is used to store data chunks instead of an array because the + // linked list can remove elements from the beginning faster than + // array.shift() + + this.buffer = new BufferList(); + this.length = 0; + this.pipes = null; + this.pipesCount = 0; + this.flowing = null; + this.ended = false; + this.endEmitted = false; + this.reading = false; // a flag to be able to tell if the onwrite cb is called immediately, + // or on a later tick. We set this to true at first, because any + // actions that shouldn't happen until "later" should generally also + // not happen before the first write call. + + this.sync = true; // whenever we return null, then we set a flag to say + // that we're awaiting a 'readable' event emission. + + this.needReadable = false; + this.emittedReadable = false; + this.readableListening = false; + this.resumeScheduled = false; // Crypto is kind of old and crusty. Historically, its default string + // encoding is 'binary' so we have to make this configurable. + // Everything else in the universe uses 'utf8', though. + + this.defaultEncoding = options.defaultEncoding || 'utf8'; // when piping, we only care about 'readable' events that happen + // after read()ing all the bytes and not getting any pushback. + + this.ranOut = false; // the number of writers that are awaiting a drain event in .pipe()s + + this.awaitDrain = 0; // if true, a maybeReadMore has been scheduled + + this.readingMore = false; + this.decoder = null; + this.encoding = null; + + if (options.encoding) { + this.decoder = new StringDecoder(options.encoding); + this.encoding = options.encoding; + } + } + function Readable(options) { + if (!(this instanceof Readable)) return new Readable(options); + this._readableState = new ReadableState(options, this); // legacy + + this.readable = true; + if (options && typeof options.read === 'function') this._read = options.read; + EventEmitter$2.call(this); + } // Manually shove something into the read() buffer. + // This returns true if the highWaterMark has not been hit yet, + // similar to how Writable.write() returns true if you should + // write() some more. + + Readable.prototype.push = function (chunk, encoding) { + var state = this._readableState; + + if (!state.objectMode && typeof chunk === 'string') { + encoding = encoding || state.defaultEncoding; + + if (encoding !== state.encoding) { + chunk = Buffer$1.from(chunk, encoding); + encoding = ''; + } + } + + return readableAddChunk(this, state, chunk, encoding, false); + }; // Unshift should *always* be something directly out of read() + + + Readable.prototype.unshift = function (chunk) { + var state = this._readableState; + return readableAddChunk(this, state, chunk, '', true); + }; + + Readable.prototype.isPaused = function () { + return this._readableState.flowing === false; + }; + + function readableAddChunk(stream, state, chunk, encoding, addToFront) { + var er = chunkInvalid(state, chunk); + + if (er) { + stream.emit('error', er); + } else if (chunk === null) { + state.reading = false; + onEofChunk(stream, state); + } else if (state.objectMode || chunk && chunk.length > 0) { + if (state.ended && !addToFront) { + var e = new Error('stream.push() after EOF'); + stream.emit('error', e); + } else if (state.endEmitted && addToFront) { + var _e = new Error('stream.unshift() after end event'); + + stream.emit('error', _e); + } else { + var skipAdd; + + if (state.decoder && !addToFront && !encoding) { + chunk = state.decoder.write(chunk); + skipAdd = !state.objectMode && chunk.length === 0; + } + + if (!addToFront) state.reading = false; // Don't add to the buffer if we've decoded to an empty string chunk and + // we're not in object mode + + if (!skipAdd) { + // if we want the data now, just emit it. + if (state.flowing && state.length === 0 && !state.sync) { + stream.emit('data', chunk); + stream.read(0); + } else { + // update the buffer info. + state.length += state.objectMode ? 1 : chunk.length; + if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk); + if (state.needReadable) emitReadable(stream); + } + } + + maybeReadMore(stream, state); + } + } else if (!addToFront) { + state.reading = false; + } + + return needMoreData(state); + } // if it's past the high water mark, we can push in some more. + // Also, if we have no data yet, we can stand some + // more bytes. This is to work around cases where hwm=0, + // such as the repl. Also, if the push() triggered a + // readable event, and the user called read(largeNumber) such that + // needReadable was set, then we ought to push more, so that another + // 'readable' event will be triggered. + + + function needMoreData(state) { + return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0); + } // backwards compatibility. + + + Readable.prototype.setEncoding = function (enc) { + this._readableState.decoder = new StringDecoder(enc); + this._readableState.encoding = enc; + return this; + }; // Don't raise the hwm > 8MB + + + var MAX_HWM = 0x800000; + + function computeNewHighWaterMark(n) { + if (n >= MAX_HWM) { + n = MAX_HWM; + } else { + // Get the next highest power of 2 to prevent increasing hwm excessively in + // tiny amounts + n--; + n |= n >>> 1; + n |= n >>> 2; + n |= n >>> 4; + n |= n >>> 8; + n |= n >>> 16; + n++; + } + + return n; + } // This function is designed to be inlinable, so please take care when making + // changes to the function body. + + + function howMuchToRead(n, state) { + if (n <= 0 || state.length === 0 && state.ended) return 0; + if (state.objectMode) return 1; + + if (n !== n) { + // Only flow one buffer at a time + if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length; + } // If we're asking for more than the current hwm, then raise the hwm. + + + if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n); + if (n <= state.length) return n; // Don't have enough + + if (!state.ended) { + state.needReadable = true; + return 0; + } + + return state.length; + } // you can override either this method, or the async _read(n) below. + + + Readable.prototype.read = function (n) { + debug$2('read', n); + n = parseInt(n, 10); + var state = this._readableState; + var nOrig = n; + if (n !== 0) state.emittedReadable = false; // if we're doing read(0) to trigger a readable event, but we + // already have a bunch of data in the buffer, then just trigger + // the 'readable' event and move on. + + if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) { + debug$2('read: emitReadable', state.length, state.ended); + if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this); + return null; + } + + n = howMuchToRead(n, state); // if we've ended, and we're now clear, then finish it up. + + if (n === 0 && state.ended) { + if (state.length === 0) endReadable(this); + return null; + } // All the actual chunk generation logic needs to be + // *below* the call to _read. The reason is that in certain + // synthetic stream cases, such as passthrough streams, _read + // may be a completely synchronous operation which may change + // the state of the read buffer, providing enough data when + // before there was *not* enough. + // + // So, the steps are: + // 1. Figure out what the state of things will be after we do + // a read from the buffer. + // + // 2. If that resulting state will trigger a _read, then call _read. + // Note that this may be asynchronous, or synchronous. Yes, it is + // deeply ugly to write APIs this way, but that still doesn't mean + // that the Readable class should behave improperly, as streams are + // designed to be sync/async agnostic. + // Take note if the _read call is sync or async (ie, if the read call + // has returned yet), so that we know whether or not it's safe to emit + // 'readable' etc. + // + // 3. Actually pull the requested chunks out of the buffer and return. + // if we need a readable event, then we need to do some reading. + + + var doRead = state.needReadable; + debug$2('need readable', doRead); // if we currently have less than the highWaterMark, then also read some + + if (state.length === 0 || state.length - n < state.highWaterMark) { + doRead = true; + debug$2('length less than watermark', doRead); + } // however, if we've ended, then there's no point, and if we're already + // reading, then it's unnecessary. + + + if (state.ended || state.reading) { + doRead = false; + debug$2('reading or ended', doRead); + } else if (doRead) { + debug$2('do read'); + state.reading = true; + state.sync = true; // if the length is currently zero, then we *need* a readable event. + + if (state.length === 0) state.needReadable = true; // call internal read method + + this._read(state.highWaterMark); + + state.sync = false; // If _read pushed data synchronously, then `reading` will be false, + // and we need to re-evaluate how much data we can return to the user. + + if (!state.reading) n = howMuchToRead(nOrig, state); + } + + var ret; + if (n > 0) ret = fromList(n, state);else ret = null; + + if (ret === null) { + state.needReadable = true; + n = 0; + } else { + state.length -= n; + } + + if (state.length === 0) { + // If we have nothing in the buffer, then we want to know + // as soon as we *do* get something into the buffer. + if (!state.ended) state.needReadable = true; // If we tried to read() past the EOF, then emit end on the next tick. + + if (nOrig !== n && state.ended) endReadable(this); + } + + if (ret !== null) this.emit('data', ret); + return ret; + }; + + function chunkInvalid(state, chunk) { + var er = null; + + if (!isBuffer$2(chunk) && typeof chunk !== 'string' && chunk !== null && chunk !== undefined && !state.objectMode) { + er = new TypeError('Invalid non-string/buffer chunk'); + } + + return er; + } + + function onEofChunk(stream, state) { + if (state.ended) return; + + if (state.decoder) { + var chunk = state.decoder.end(); + + if (chunk && chunk.length) { + state.buffer.push(chunk); + state.length += state.objectMode ? 1 : chunk.length; + } + } + + state.ended = true; // emit 'readable' now to make sure it gets picked up. + + emitReadable(stream); + } // Don't emit readable right away in sync mode, because this can trigger + // another read() call => stack overflow. This way, it might trigger + // a nextTick recursion warning, but that's not so bad. + + + function emitReadable(stream) { + var state = stream._readableState; + state.needReadable = false; + + if (!state.emittedReadable) { + debug$2('emitReadable', state.flowing); + state.emittedReadable = true; + if (state.sync) nextTick(emitReadable_, stream);else emitReadable_(stream); + } + } + + function emitReadable_(stream) { + debug$2('emit readable'); + stream.emit('readable'); + flow(stream); + } // at this point, the user has presumably seen the 'readable' event, + // and called read() to consume some data. that may have triggered + // in turn another _read(n) call, in which case reading = true if + // it's in progress. + // However, if we're not ended, or reading, and the length < hwm, + // then go ahead and try to read some more preemptively. + + + function maybeReadMore(stream, state) { + if (!state.readingMore) { + state.readingMore = true; + nextTick(maybeReadMore_, stream, state); + } + } + + function maybeReadMore_(stream, state) { + var len = state.length; + + while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) { + debug$2('maybeReadMore read 0'); + stream.read(0); + if (len === state.length) // didn't get any data, stop spinning. + break;else len = state.length; + } + + state.readingMore = false; + } // abstract method. to be overridden in specific implementation classes. + // call cb(er, data) where data is <= n in length. + // for virtual (non-string, non-buffer) streams, "length" is somewhat + // arbitrary, and perhaps not very meaningful. + + + Readable.prototype._read = function (n) { + this.emit('error', new Error('not implemented')); + }; + + Readable.prototype.pipe = function (dest, pipeOpts) { + var src = this; + var state = this._readableState; + + switch (state.pipesCount) { + case 0: + state.pipes = dest; + break; + + case 1: + state.pipes = [state.pipes, dest]; + break; + + default: + state.pipes.push(dest); + break; + } + + state.pipesCount += 1; + debug$2('pipe count=%d opts=%j', state.pipesCount, pipeOpts); + var doEnd = !pipeOpts || pipeOpts.end !== false; + var endFn = doEnd ? onend : cleanup; + if (state.endEmitted) nextTick(endFn);else src.once('end', endFn); + dest.on('unpipe', onunpipe); + + function onunpipe(readable) { + debug$2('onunpipe'); + + if (readable === src) { + cleanup(); + } + } + + function onend() { + debug$2('onend'); + dest.end(); + } // when the dest drains, it reduces the awaitDrain counter + // on the source. This would be more elegant with a .once() + // handler in flow(), but adding and removing repeatedly is + // too slow. + + + var ondrain = pipeOnDrain(src); + dest.on('drain', ondrain); + var cleanedUp = false; + + function cleanup() { + debug$2('cleanup'); // cleanup event handlers once the pipe is broken + + dest.removeListener('close', onclose); + dest.removeListener('finish', onfinish); + dest.removeListener('drain', ondrain); + dest.removeListener('error', onerror); + dest.removeListener('unpipe', onunpipe); + src.removeListener('end', onend); + src.removeListener('end', cleanup); + src.removeListener('data', ondata); + cleanedUp = true; // if the reader is waiting for a drain event from this + // specific writer, then it would cause it to never start + // flowing again. + // So, if this is awaiting a drain, then we just call it now. + // If we don't know, then assume that we are waiting for one. + + if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain(); + } // If the user pushes more data while we're writing to dest then we'll end up + // in ondata again. However, we only want to increase awaitDrain once because + // dest will only emit one 'drain' event for the multiple writes. + // => Introduce a guard on increasing awaitDrain. + + + var increasedAwaitDrain = false; + src.on('data', ondata); + + function ondata(chunk) { + debug$2('ondata'); + increasedAwaitDrain = false; + var ret = dest.write(chunk); + + if (false === ret && !increasedAwaitDrain) { + // If the user unpiped during `dest.write()`, it is possible + // to get stuck in a permanently paused state if that write + // also returned false. + // => Check whether `dest` is still a piping destination. + if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) { + debug$2('false write response, pause', src._readableState.awaitDrain); + src._readableState.awaitDrain++; + increasedAwaitDrain = true; + } + + src.pause(); + } + } // if the dest has an error, then stop piping into it. + // however, don't suppress the throwing behavior for this. + + + function onerror(er) { + debug$2('onerror', er); + unpipe(); + dest.removeListener('error', onerror); + if (listenerCount(dest, 'error') === 0) dest.emit('error', er); + } // Make sure our error handler is attached before userland ones. + + + prependListener(dest, 'error', onerror); // Both close and finish should trigger unpipe, but only once. + + function onclose() { + dest.removeListener('finish', onfinish); + unpipe(); + } + + dest.once('close', onclose); + + function onfinish() { + debug$2('onfinish'); + dest.removeListener('close', onclose); + unpipe(); + } + + dest.once('finish', onfinish); + + function unpipe() { + debug$2('unpipe'); + src.unpipe(dest); + } // tell the dest that it's being piped to + + + dest.emit('pipe', src); // start the flow if it hasn't been started already. + + if (!state.flowing) { + debug$2('pipe resume'); + src.resume(); + } + + return dest; + }; + + function pipeOnDrain(src) { + return function () { + var state = src._readableState; + debug$2('pipeOnDrain', state.awaitDrain); + if (state.awaitDrain) state.awaitDrain--; + + if (state.awaitDrain === 0 && src.listeners('data').length) { + state.flowing = true; + flow(src); + } + }; + } + + Readable.prototype.unpipe = function (dest) { + var state = this._readableState; // if we're not piping anywhere, then do nothing. + + if (state.pipesCount === 0) return this; // just one destination. most common case. + + if (state.pipesCount === 1) { + // passed in one, but it's not the right one. + if (dest && dest !== state.pipes) return this; + if (!dest) dest = state.pipes; // got a match. + + state.pipes = null; + state.pipesCount = 0; + state.flowing = false; + if (dest) dest.emit('unpipe', this); + return this; + } // slow case. multiple pipe destinations. + + + if (!dest) { + // remove all. + var dests = state.pipes; + var len = state.pipesCount; + state.pipes = null; + state.pipesCount = 0; + state.flowing = false; + + for (var _i = 0; _i < len; _i++) { + dests[_i].emit('unpipe', this); + } + + return this; + } // try to find the right one. + + + var i = indexOf(state.pipes, dest); + if (i === -1) return this; + state.pipes.splice(i, 1); + state.pipesCount -= 1; + if (state.pipesCount === 1) state.pipes = state.pipes[0]; + dest.emit('unpipe', this); + return this; + }; // set up data events if they are asked for + // Ensure readable listeners eventually get something + + + Readable.prototype.on = function (ev, fn) { + var res = EventEmitter$2.prototype.on.call(this, ev, fn); + + if (ev === 'data') { + // Start flowing on next tick if stream isn't explicitly paused + if (this._readableState.flowing !== false) this.resume(); + } else if (ev === 'readable') { + var state = this._readableState; + + if (!state.endEmitted && !state.readableListening) { + state.readableListening = state.needReadable = true; + state.emittedReadable = false; + + if (!state.reading) { + nextTick(nReadingNextTick, this); + } else if (state.length) { + emitReadable(this); + } + } + } + + return res; + }; + + Readable.prototype.addListener = Readable.prototype.on; + + function nReadingNextTick(self) { + debug$2('readable nexttick read 0'); + self.read(0); + } // pause() and resume() are remnants of the legacy readable stream API + // If the user uses them, then switch into old mode. + + + Readable.prototype.resume = function () { + var state = this._readableState; + + if (!state.flowing) { + debug$2('resume'); + state.flowing = true; + resume(this, state); + } + + return this; + }; + + function resume(stream, state) { + if (!state.resumeScheduled) { + state.resumeScheduled = true; + nextTick(resume_, stream, state); + } + } + + function resume_(stream, state) { + if (!state.reading) { + debug$2('resume read 0'); + stream.read(0); + } + + state.resumeScheduled = false; + state.awaitDrain = 0; + stream.emit('resume'); + flow(stream); + if (state.flowing && !state.reading) stream.read(0); + } + + Readable.prototype.pause = function () { + debug$2('call pause flowing=%j', this._readableState.flowing); + + if (false !== this._readableState.flowing) { + debug$2('pause'); + this._readableState.flowing = false; + this.emit('pause'); + } + + return this; + }; + + function flow(stream) { + var state = stream._readableState; + debug$2('flow', state.flowing); + + while (state.flowing && stream.read() !== null) {} + } // wrap an old-style stream as the async data source. + // This is *not* part of the readable stream interface. + // It is an ugly unfortunate mess of history. + + + Readable.prototype.wrap = function (stream) { + var state = this._readableState; + var paused = false; + var self = this; + stream.on('end', function () { + debug$2('wrapped end'); + + if (state.decoder && !state.ended) { + var chunk = state.decoder.end(); + if (chunk && chunk.length) self.push(chunk); + } + + self.push(null); + }); + stream.on('data', function (chunk) { + debug$2('wrapped data'); + if (state.decoder) chunk = state.decoder.write(chunk); // don't skip over falsy values in objectMode + + if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return; + var ret = self.push(chunk); + + if (!ret) { + paused = true; + stream.pause(); + } + }); // proxy all the other methods. + // important when wrapping filters and duplexes. + + for (var i in stream) { + if (this[i] === undefined && typeof stream[i] === 'function') { + this[i] = function (method) { + return function () { + return stream[method].apply(stream, arguments); + }; + }(i); + } + } // proxy certain important events. + + + var events = ['error', 'close', 'destroy', 'pause', 'resume']; + forEach(events, function (ev) { + stream.on(ev, self.emit.bind(self, ev)); + }); // when we try to consume some more bytes, simply unpause the + // underlying stream. + + self._read = function (n) { + debug$2('wrapped _read', n); + + if (paused) { + paused = false; + stream.resume(); + } + }; + + return self; + }; // exposed for testing purposes only. + + + Readable._fromList = fromList; // Pluck off n bytes from an array of buffers. + // Length is the combined lengths of all the buffers in the list. + // This function is designed to be inlinable, so please take care when making + // changes to the function body. + + function fromList(n, state) { + // nothing buffered + if (state.length === 0) return null; + var ret; + if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) { + // read it all, truncate the list + if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.head.data;else ret = state.buffer.concat(state.length); + state.buffer.clear(); + } else { + // read part of list + ret = fromListPartial(n, state.buffer, state.decoder); + } + return ret; + } // Extracts only enough buffered data to satisfy the amount requested. + // This function is designed to be inlinable, so please take care when making + // changes to the function body. + + + function fromListPartial(n, list, hasStrings) { + var ret; + + if (n < list.head.data.length) { + // slice is the same for buffers and strings + ret = list.head.data.slice(0, n); + list.head.data = list.head.data.slice(n); + } else if (n === list.head.data.length) { + // first chunk is a perfect match + ret = list.shift(); + } else { + // result spans more than one buffer + ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list); + } + + return ret; + } // Copies a specified amount of characters from the list of buffered data + // chunks. + // This function is designed to be inlinable, so please take care when making + // changes to the function body. + + + function copyFromBufferString(n, list) { + var p = list.head; + var c = 1; + var ret = p.data; + n -= ret.length; + + while (p = p.next) { + var str = p.data; + var nb = n > str.length ? str.length : n; + if (nb === str.length) ret += str;else ret += str.slice(0, n); + n -= nb; + + if (n === 0) { + if (nb === str.length) { + ++c; + if (p.next) list.head = p.next;else list.head = list.tail = null; + } else { + list.head = p; + p.data = str.slice(nb); + } + + break; + } + + ++c; + } + + list.length -= c; + return ret; + } // Copies a specified amount of bytes from the list of buffered data chunks. + // This function is designed to be inlinable, so please take care when making + // changes to the function body. + + + function copyFromBuffer(n, list) { + var ret = Buffer$1.allocUnsafe(n); + var p = list.head; + var c = 1; + p.data.copy(ret); + n -= p.data.length; + + while (p = p.next) { + var buf = p.data; + var nb = n > buf.length ? buf.length : n; + buf.copy(ret, ret.length - n, 0, nb); + n -= nb; + + if (n === 0) { + if (nb === buf.length) { + ++c; + if (p.next) list.head = p.next;else list.head = list.tail = null; + } else { + list.head = p; + p.data = buf.slice(nb); + } + + break; + } + + ++c; + } + + list.length -= c; + return ret; + } + + function endReadable(stream) { + var state = stream._readableState; // If we get here before consuming all the bytes, then that is a + // bug in node. Should never happen. + + if (state.length > 0) throw new Error('"endReadable()" called on non-empty stream'); + + if (!state.endEmitted) { + state.ended = true; + nextTick(endReadableNT, state, stream); + } + } + + function endReadableNT(state, stream) { + // Check that we didn't get one last unshift. + if (!state.endEmitted && state.length === 0) { + state.endEmitted = true; + stream.readable = false; + stream.emit('end'); + } + } + + function forEach(xs, f) { + for (var i = 0, l = xs.length; i < l; i++) { + f(xs[i], i); + } + } + + function indexOf(xs, x) { + for (var i = 0, l = xs.length; i < l; i++) { + if (xs[i] === x) return i; + } + + return -1; + } + + // A bit simpler than readable streams. + Writable.WritableState = WritableState; + inherits$3(Writable, EventEmitter$2); + + function nop() {} + + function WriteReq(chunk, encoding, cb) { + this.chunk = chunk; + this.encoding = encoding; + this.callback = cb; + this.next = null; + } + + function WritableState(options, stream) { + Object.defineProperty(this, 'buffer', { + get: deprecate$1(function () { + return this.getBuffer(); + }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.') + }); + options = options || {}; // object stream flag to indicate whether or not this stream + // contains buffers or objects. + + this.objectMode = !!options.objectMode; + if (stream instanceof Duplex) this.objectMode = this.objectMode || !!options.writableObjectMode; // the point at which write() starts returning false + // Note: 0 is a valid value, means that we always return false if + // the entire buffer is not flushed immediately on write() + + var hwm = options.highWaterMark; + var defaultHwm = this.objectMode ? 16 : 16 * 1024; + this.highWaterMark = hwm || hwm === 0 ? hwm : defaultHwm; // cast to ints. + + this.highWaterMark = ~~this.highWaterMark; + this.needDrain = false; // at the start of calling end() + + this.ending = false; // when end() has been called, and returned + + this.ended = false; // when 'finish' is emitted + + this.finished = false; // should we decode strings into buffers before passing to _write? + // this is here so that some node-core streams can optimize string + // handling at a lower level. + + var noDecode = options.decodeStrings === false; + this.decodeStrings = !noDecode; // Crypto is kind of old and crusty. Historically, its default string + // encoding is 'binary' so we have to make this configurable. + // Everything else in the universe uses 'utf8', though. + + this.defaultEncoding = options.defaultEncoding || 'utf8'; // not an actual buffer we keep track of, but a measurement + // of how much we're waiting to get pushed to some underlying + // socket or file. + + this.length = 0; // a flag to see when we're in the middle of a write. + + this.writing = false; // when true all writes will be buffered until .uncork() call + + this.corked = 0; // a flag to be able to tell if the onwrite cb is called immediately, + // or on a later tick. We set this to true at first, because any + // actions that shouldn't happen until "later" should generally also + // not happen before the first write call. + + this.sync = true; // a flag to know if we're processing previously buffered items, which + // may call the _write() callback in the same tick, so that we don't + // end up in an overlapped onwrite situation. + + this.bufferProcessing = false; // the callback that's passed to _write(chunk,cb) + + this.onwrite = function (er) { + onwrite(stream, er); + }; // the callback that the user supplies to write(chunk,encoding,cb) + + + this.writecb = null; // the amount that is being written when _write is called. + + this.writelen = 0; + this.bufferedRequest = null; + this.lastBufferedRequest = null; // number of pending user-supplied write callbacks + // this must be 0 before 'finish' can be emitted + + this.pendingcb = 0; // emit prefinish if the only thing we're waiting for is _write cbs + // This is relevant for synchronous Transform streams + + this.prefinished = false; // True if the error was already emitted and should not be thrown again + + this.errorEmitted = false; // count buffered requests + + this.bufferedRequestCount = 0; // allocate the first CorkedRequest, there is always + // one allocated and free to use, and we maintain at most two + + this.corkedRequestsFree = new CorkedRequest(this); + } + + WritableState.prototype.getBuffer = function writableStateGetBuffer() { + var current = this.bufferedRequest; + var out = []; + + while (current) { + out.push(current); + current = current.next; + } + + return out; + }; + function Writable(options) { + // Writable ctor is applied to Duplexes, though they're not + // instanceof Writable, they're instanceof Readable. + if (!(this instanceof Writable) && !(this instanceof Duplex)) return new Writable(options); + this._writableState = new WritableState(options, this); // legacy. + + this.writable = true; + + if (options) { + if (typeof options.write === 'function') this._write = options.write; + if (typeof options.writev === 'function') this._writev = options.writev; + } + + EventEmitter$2.call(this); + } // Otherwise people can pipe Writable streams, which is just wrong. + + Writable.prototype.pipe = function () { + this.emit('error', new Error('Cannot pipe, not readable')); + }; + + function writeAfterEnd(stream, cb) { + var er = new Error('write after end'); // TODO: defer error events consistently everywhere, not just the cb + + stream.emit('error', er); + nextTick(cb, er); + } // If we get something that is not a buffer, string, null, or undefined, + // and we're not in objectMode, then that's an error. + // Otherwise stream chunks are all considered to be of length=1, and the + // watermarks determine how many objects to keep in the buffer, rather than + // how many bytes or characters. + + + function validChunk(stream, state, chunk, cb) { + var valid = true; + var er = false; // Always throw error if a null is written + // if we are not in object mode then throw + // if it is not a buffer, string, or undefined. + + if (chunk === null) { + er = new TypeError('May not write null values to stream'); + } else if (!Buffer.isBuffer(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) { + er = new TypeError('Invalid non-string/buffer chunk'); + } + + if (er) { + stream.emit('error', er); + nextTick(cb, er); + valid = false; + } + + return valid; + } + + Writable.prototype.write = function (chunk, encoding, cb) { + var state = this._writableState; + var ret = false; + + if (typeof encoding === 'function') { + cb = encoding; + encoding = null; + } + + if (Buffer.isBuffer(chunk)) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding; + if (typeof cb !== 'function') cb = nop; + if (state.ended) writeAfterEnd(this, cb);else if (validChunk(this, state, chunk, cb)) { + state.pendingcb++; + ret = writeOrBuffer(this, state, chunk, encoding, cb); + } + return ret; + }; + + Writable.prototype.cork = function () { + var state = this._writableState; + state.corked++; + }; + + Writable.prototype.uncork = function () { + var state = this._writableState; + + if (state.corked) { + state.corked--; + if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state); + } + }; + + Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) { + // node::ParseEncoding() requires lower case. + if (typeof encoding === 'string') encoding = encoding.toLowerCase(); + if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new TypeError('Unknown encoding: ' + encoding); + this._writableState.defaultEncoding = encoding; + return this; + }; + + function decodeChunk(state, chunk, encoding) { + if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') { + chunk = Buffer.from(chunk, encoding); + } + + return chunk; + } // if we're already writing something, then just put this + // in the queue, and wait our turn. Otherwise, call _write + // If we return false, then we need a drain event, so set that flag. + + + function writeOrBuffer(stream, state, chunk, encoding, cb) { + chunk = decodeChunk(state, chunk, encoding); + if (Buffer.isBuffer(chunk)) encoding = 'buffer'; + var len = state.objectMode ? 1 : chunk.length; + state.length += len; + var ret = state.length < state.highWaterMark; // we must ensure that previous needDrain will not be reset to false. + + if (!ret) state.needDrain = true; + + if (state.writing || state.corked) { + var last = state.lastBufferedRequest; + state.lastBufferedRequest = new WriteReq(chunk, encoding, cb); + + if (last) { + last.next = state.lastBufferedRequest; + } else { + state.bufferedRequest = state.lastBufferedRequest; + } + + state.bufferedRequestCount += 1; + } else { + doWrite(stream, state, false, len, chunk, encoding, cb); + } + + return ret; + } + + function doWrite(stream, state, writev, len, chunk, encoding, cb) { + state.writelen = len; + state.writecb = cb; + state.writing = true; + state.sync = true; + if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite); + state.sync = false; + } + + function onwriteError(stream, state, sync, er, cb) { + --state.pendingcb; + if (sync) nextTick(cb, er);else cb(er); + stream._writableState.errorEmitted = true; + stream.emit('error', er); + } + + function onwriteStateUpdate(state) { + state.writing = false; + state.writecb = null; + state.length -= state.writelen; + state.writelen = 0; + } + + function onwrite(stream, er) { + var state = stream._writableState; + var sync = state.sync; + var cb = state.writecb; + onwriteStateUpdate(state); + if (er) onwriteError(stream, state, sync, er, cb);else { + // Check if we're actually ready to finish, but don't emit yet + var finished = needFinish(state); + + if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) { + clearBuffer(stream, state); + } + + if (sync) { + /*<replacement>*/ + nextTick(afterWrite, stream, state, finished, cb); + /*</replacement>*/ + } else { + afterWrite(stream, state, finished, cb); + } + } + } + + function afterWrite(stream, state, finished, cb) { + if (!finished) onwriteDrain(stream, state); + state.pendingcb--; + cb(); + finishMaybe(stream, state); + } // Must force callback to be called on nextTick, so that we don't + // emit 'drain' before the write() consumer gets the 'false' return + // value, and has a chance to attach a 'drain' listener. + + + function onwriteDrain(stream, state) { + if (state.length === 0 && state.needDrain) { + state.needDrain = false; + stream.emit('drain'); + } + } // if there's something in the buffer waiting, then process it + + + function clearBuffer(stream, state) { + state.bufferProcessing = true; + var entry = state.bufferedRequest; + + if (stream._writev && entry && entry.next) { + // Fast case, write everything using _writev() + var l = state.bufferedRequestCount; + var buffer = new Array(l); + var holder = state.corkedRequestsFree; + holder.entry = entry; + var count = 0; + + while (entry) { + buffer[count] = entry; + entry = entry.next; + count += 1; + } + + doWrite(stream, state, true, state.length, buffer, '', holder.finish); // doWrite is almost always async, defer these to save a bit of time + // as the hot path ends with doWrite + + state.pendingcb++; + state.lastBufferedRequest = null; + + if (holder.next) { + state.corkedRequestsFree = holder.next; + holder.next = null; + } else { + state.corkedRequestsFree = new CorkedRequest(state); + } + } else { + // Slow case, write chunks one-by-one + while (entry) { + var chunk = entry.chunk; + var encoding = entry.encoding; + var cb = entry.callback; + var len = state.objectMode ? 1 : chunk.length; + doWrite(stream, state, false, len, chunk, encoding, cb); + entry = entry.next; // if we didn't call the onwrite immediately, then + // it means that we need to wait until it does. + // also, that means that the chunk and cb are currently + // being processed, so move the buffer counter past them. + + if (state.writing) { + break; + } + } + + if (entry === null) state.lastBufferedRequest = null; + } + + state.bufferedRequestCount = 0; + state.bufferedRequest = entry; + state.bufferProcessing = false; + } + + Writable.prototype._write = function (chunk, encoding, cb) { + cb(new Error('not implemented')); + }; + + Writable.prototype._writev = null; + + Writable.prototype.end = function (chunk, encoding, cb) { + var state = this._writableState; + + if (typeof chunk === 'function') { + cb = chunk; + chunk = null; + encoding = null; + } else if (typeof encoding === 'function') { + cb = encoding; + encoding = null; + } + + if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); // .end() fully uncorks + + if (state.corked) { + state.corked = 1; + this.uncork(); + } // ignore unnecessary end() calls. + + + if (!state.ending && !state.finished) endWritable(this, state, cb); + }; + + function needFinish(state) { + return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing; + } + + function prefinish(stream, state) { + if (!state.prefinished) { + state.prefinished = true; + stream.emit('prefinish'); + } + } + + function finishMaybe(stream, state) { + var need = needFinish(state); + + if (need) { + if (state.pendingcb === 0) { + prefinish(stream, state); + state.finished = true; + stream.emit('finish'); + } else { + prefinish(stream, state); + } + } + + return need; + } + + function endWritable(stream, state, cb) { + state.ending = true; + finishMaybe(stream, state); + + if (cb) { + if (state.finished) nextTick(cb);else stream.once('finish', cb); + } + + state.ended = true; + stream.writable = false; + } // It seems a linked list but it is not + // there will be only 2 of these for each stream + + + function CorkedRequest(state) { + var _this = this; + + this.next = null; + this.entry = null; + + this.finish = function (err) { + var entry = _this.entry; + _this.entry = null; + + while (entry) { + var cb = entry.callback; + state.pendingcb--; + cb(err); + entry = entry.next; + } + + if (state.corkedRequestsFree) { + state.corkedRequestsFree.next = _this; + } else { + state.corkedRequestsFree = _this; + } + }; + } + + inherits$3(Duplex, Readable); + var keys = Object.keys(Writable.prototype); + + for (var v = 0; v < keys.length; v++) { + var method = keys[v]; + if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method]; + } + function Duplex(options) { + if (!(this instanceof Duplex)) return new Duplex(options); + Readable.call(this, options); + Writable.call(this, options); + if (options && options.readable === false) this.readable = false; + if (options && options.writable === false) this.writable = false; + this.allowHalfOpen = true; + if (options && options.allowHalfOpen === false) this.allowHalfOpen = false; + this.once('end', onend); + } // the no-half-open enforcer + + function onend() { + // if we allow half-open state, or if the writable side ended, + // then we're ok. + if (this.allowHalfOpen || this._writableState.ended) return; // no more data can be written. + // But allow more writes to happen in this tick. + + nextTick(onEndNT, this); + } + + function onEndNT(self) { + self.end(); + } + + // a transform stream is a readable/writable stream where you do + inherits$3(Transform, Duplex); + + function TransformState(stream) { + this.afterTransform = function (er, data) { + return afterTransform(stream, er, data); + }; + + this.needTransform = false; + this.transforming = false; + this.writecb = null; + this.writechunk = null; + this.writeencoding = null; + } + + function afterTransform(stream, er, data) { + var ts = stream._transformState; + ts.transforming = false; + var cb = ts.writecb; + if (!cb) return stream.emit('error', new Error('no writecb in Transform class')); + ts.writechunk = null; + ts.writecb = null; + if (data !== null && data !== undefined) stream.push(data); + cb(er); + var rs = stream._readableState; + rs.reading = false; + + if (rs.needReadable || rs.length < rs.highWaterMark) { + stream._read(rs.highWaterMark); + } + } + function Transform(options) { + if (!(this instanceof Transform)) return new Transform(options); + Duplex.call(this, options); + this._transformState = new TransformState(this); // when the writable side finishes, then flush out anything remaining. + + var stream = this; // start out asking for a readable event once data is transformed. + + this._readableState.needReadable = true; // we have implemented the _read method, and done the other things + // that Readable wants before the first _read call, so unset the + // sync guard flag. + + this._readableState.sync = false; + + if (options) { + if (typeof options.transform === 'function') this._transform = options.transform; + if (typeof options.flush === 'function') this._flush = options.flush; + } + + this.once('prefinish', function () { + if (typeof this._flush === 'function') this._flush(function (er) { + done(stream, er); + });else done(stream); + }); + } + + Transform.prototype.push = function (chunk, encoding) { + this._transformState.needTransform = false; + return Duplex.prototype.push.call(this, chunk, encoding); + }; // This is the part where you do stuff! + // override this function in implementation classes. + // 'chunk' is an input chunk. + // + // Call `push(newChunk)` to pass along transformed output + // to the readable side. You may call 'push' zero or more times. + // + // Call `cb(err)` when you are done with this chunk. If you pass + // an error, then that'll put the hurt on the whole operation. If you + // never call cb(), then you'll never get another chunk. + + + Transform.prototype._transform = function (chunk, encoding, cb) { + throw new Error('Not implemented'); + }; + + Transform.prototype._write = function (chunk, encoding, cb) { + var ts = this._transformState; + ts.writecb = cb; + ts.writechunk = chunk; + ts.writeencoding = encoding; + + if (!ts.transforming) { + var rs = this._readableState; + if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark); + } + }; // Doesn't matter what the args are here. + // _transform does all the work. + // That we got here means that the readable side wants more data. + + + Transform.prototype._read = function (n) { + var ts = this._transformState; + + if (ts.writechunk !== null && ts.writecb && !ts.transforming) { + ts.transforming = true; + + this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform); + } else { + // mark that we need a transform, so that any data that comes in + // will get processed, now that we've asked for it. + ts.needTransform = true; + } + }; + + function done(stream, er) { + if (er) return stream.emit('error', er); // if there's nothing in the write buffer, then that means + // that nothing more will ever be provided + + var ws = stream._writableState; + var ts = stream._transformState; + if (ws.length) throw new Error('Calling transform done when ws.length != 0'); + if (ts.transforming) throw new Error('Calling transform done when still transforming'); + return stream.push(null); + } + + inherits$3(PassThrough, Transform); + function PassThrough(options) { + if (!(this instanceof PassThrough)) return new PassThrough(options); + Transform.call(this, options); + } + + PassThrough.prototype._transform = function (chunk, encoding, cb) { + cb(null, chunk); + }; + + inherits$3(Stream, EventEmitter$2); + Stream.Readable = Readable; + Stream.Writable = Writable; + Stream.Duplex = Duplex; + Stream.Transform = Transform; + Stream.PassThrough = PassThrough; // Backwards-compat with node 0.4.x + + Stream.Stream = Stream; + // part of this class) is overridden in the Readable class. + + function Stream() { + EventEmitter$2.call(this); + } + + Stream.prototype.pipe = function (dest, options) { + var source = this; + + function ondata(chunk) { + if (dest.writable) { + if (false === dest.write(chunk) && source.pause) { + source.pause(); + } + } + } + + source.on('data', ondata); + + function ondrain() { + if (source.readable && source.resume) { + source.resume(); + } + } + + dest.on('drain', ondrain); // If the 'end' option is not supplied, dest.end() will be called when + // source gets the 'end' or 'close' events. Only dest.end() once. + + if (!dest._isStdio && (!options || options.end !== false)) { + source.on('end', onend); + source.on('close', onclose); + } + + var didOnEnd = false; + + function onend() { + if (didOnEnd) return; + didOnEnd = true; + dest.end(); + } + + function onclose() { + if (didOnEnd) return; + didOnEnd = true; + if (typeof dest.destroy === 'function') dest.destroy(); + } // don't leave dangling pipes when there are errors. + + + function onerror(er) { + cleanup(); + + if (EventEmitter$2.listenerCount(this, 'error') === 0) { + throw er; // Unhandled stream error in pipe. + } + } + + source.on('error', onerror); + dest.on('error', onerror); // remove all the event listeners that were added. + + function cleanup() { + source.removeListener('data', ondata); + dest.removeListener('drain', ondrain); + source.removeListener('end', onend); + source.removeListener('close', onclose); + source.removeListener('error', onerror); + dest.removeListener('error', onerror); + source.removeListener('end', cleanup); + source.removeListener('close', cleanup); + dest.removeListener('close', cleanup); + } + + source.on('end', cleanup); + source.on('close', cleanup); + dest.on('close', cleanup); + dest.emit('pipe', source); // Allow for unix-like usage: A.pipe(B).pipe(C) + + return dest; + }; + + var WritableStream = Stream.Writable; + var inherits$1 = util.inherits; + var browserStdout = BrowserStdout; + inherits$1(BrowserStdout, WritableStream); + + function BrowserStdout(opts) { + if (!(this instanceof BrowserStdout)) return new BrowserStdout(opts); + opts = opts || {}; + WritableStream.call(this, opts); + this.label = opts.label !== undefined ? opts.label : 'stdout'; + } + + BrowserStdout.prototype._write = function (chunks, encoding, cb) { + var output = chunks.toString ? chunks.toString() : chunks; + + if (this.label === false) { + console.log(output); + } else { + console.log(this.label + ':', output); + } + + nextTick$1(cb); + }; + + var parseQuery = function parseQuery(qs) { + return qs.replace('?', '').split('&').reduce(function (obj, pair) { + var i = pair.indexOf('='); + var key = pair.slice(0, i); + var val = pair.slice(++i); // Due to how the URLSearchParams API treats spaces + + obj[key] = decodeURIComponent(val.replace(/\+/g, '%20')); + return obj; + }, {}); + }; + + function highlight(js) { + return js.replace(/</g, '<').replace(/>/g, '>').replace(/\/\/(.*)/gm, '<span class="comment">//$1</span>').replace(/('.*?')/gm, '<span class="string">$1</span>').replace(/(\d+\.\d+)/gm, '<span class="number">$1</span>').replace(/(\d+)/gm, '<span class="number">$1</span>').replace(/\bnew[ \t]+(\w+)/gm, '<span class="keyword">new</span> <span class="init">$1</span>').replace(/\b(function|new|throw|return|var|if|else)\b/gm, '<span class="keyword">$1</span>'); + } + /** + * Highlight the contents of tag `name`. + * + * @private + * @param {string} name + */ + + + var highlightTags = function highlightTags(name) { + var code = document.getElementById('mocha').getElementsByTagName(name); + + for (var i = 0, len = code.length; i < len; ++i) { + code[i].innerHTML = highlight(code[i].innerHTML); + } + }; + + var nativePromiseConstructor = global_1.Promise; + + var iteratorClose = function (iterator) { + var returnMethod = iterator['return']; + if (returnMethod !== undefined) { + return anObject(returnMethod.call(iterator)).value; + } + }; + + var Result = function (stopped, result) { + this.stopped = stopped; + this.result = result; + }; + + var iterate = function (iterable, unboundFunction, options) { + var that = options && options.that; + var AS_ENTRIES = !!(options && options.AS_ENTRIES); + var IS_ITERATOR = !!(options && options.IS_ITERATOR); + var INTERRUPTED = !!(options && options.INTERRUPTED); + var fn = functionBindContext(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED); + var iterator, iterFn, index, length, result, next, step; + + var stop = function (condition) { + if (iterator) iteratorClose(iterator); + return new Result(true, condition); + }; + + var callFn = function (value) { + if (AS_ENTRIES) { + anObject(value); + return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); + } return INTERRUPTED ? fn(value, stop) : fn(value); + }; + + if (IS_ITERATOR) { + iterator = iterable; + } else { + iterFn = getIteratorMethod(iterable); + if (typeof iterFn != 'function') throw TypeError('Target is not iterable'); + // optimisation for array iterators + if (isArrayIteratorMethod(iterFn)) { + for (index = 0, length = toLength(iterable.length); length > index; index++) { + result = callFn(iterable[index]); + if (result && result instanceof Result) return result; + } return new Result(false); + } + iterator = iterFn.call(iterable); + } + + next = iterator.next; + while (!(step = next.call(iterator)).done) { + try { + result = callFn(step.value); + } catch (error) { + iteratorClose(iterator); + throw error; + } + if (typeof result == 'object' && result && result instanceof Result) return result; + } return new Result(false); + }; + + var engineIsIos = /(?:iphone|ipod|ipad).*applewebkit/i.test(engineUserAgent); + + var engineIsNode = classofRaw(global_1.process) == 'process'; + + var location$1 = global_1.location; + var set = global_1.setImmediate; + var clear = global_1.clearImmediate; + var process$2 = global_1.process; + var MessageChannel = global_1.MessageChannel; + var Dispatch = global_1.Dispatch; + var counter = 0; + var queue = {}; + var ONREADYSTATECHANGE = 'onreadystatechange'; + var defer, channel, port; + + var run = function (id) { + // eslint-disable-next-line no-prototype-builtins -- safe + if (queue.hasOwnProperty(id)) { + var fn = queue[id]; + delete queue[id]; + fn(); + } + }; + + var runner$1 = function (id) { + return function () { + run(id); + }; + }; + + var listener = function (event) { + run(event.data); + }; + + var post = function (id) { + // old engines have not location.origin + global_1.postMessage(id + '', location$1.protocol + '//' + location$1.host); + }; + + // Node.js 0.9+ & IE10+ has setImmediate, otherwise: + if (!set || !clear) { + set = function setImmediate(fn) { + var args = []; + var i = 1; + while (arguments.length > i) args.push(arguments[i++]); + queue[++counter] = function () { + // eslint-disable-next-line no-new-func -- spec requirement + (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args); + }; + defer(counter); + return counter; + }; + clear = function clearImmediate(id) { + delete queue[id]; + }; + // Node.js 0.8- + if (engineIsNode) { + defer = function (id) { + process$2.nextTick(runner$1(id)); + }; + // Sphere (JS game engine) Dispatch API + } else if (Dispatch && Dispatch.now) { + defer = function (id) { + Dispatch.now(runner$1(id)); + }; + // Browsers with MessageChannel, includes WebWorkers + // except iOS - https://github.com/zloirock/core-js/issues/624 + } else if (MessageChannel && !engineIsIos) { + channel = new MessageChannel(); + port = channel.port2; + channel.port1.onmessage = listener; + defer = functionBindContext(port.postMessage, port, 1); + // Browsers with postMessage, skip WebWorkers + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' + } else if ( + global_1.addEventListener && + typeof postMessage == 'function' && + !global_1.importScripts && + location$1 && location$1.protocol !== 'file:' && + !fails(post) + ) { + defer = post; + global_1.addEventListener('message', listener, false); + // IE8- + } else if (ONREADYSTATECHANGE in documentCreateElement('script')) { + defer = function (id) { + html$1.appendChild(documentCreateElement('script'))[ONREADYSTATECHANGE] = function () { + html$1.removeChild(this); + run(id); + }; + }; + // Rest old browsers + } else { + defer = function (id) { + setTimeout(runner$1(id), 0); + }; + } + } + + var task$1 = { + set: set, + clear: clear + }; + + var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(engineUserAgent); + + var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; + var macrotask = task$1.set; + + + + + var MutationObserver = global_1.MutationObserver || global_1.WebKitMutationObserver; + var document$2 = global_1.document; + var process$1 = global_1.process; + var Promise$1 = global_1.Promise; + // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask` + var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global_1, 'queueMicrotask'); + var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value; + + var flush, head, last, notify$2, toggle, node, promise, then; + + // modern engines have queueMicrotask method + if (!queueMicrotask) { + flush = function () { + var parent, fn; + if (engineIsNode && (parent = process$1.domain)) parent.exit(); + while (head) { + fn = head.fn; + head = head.next; + try { + fn(); + } catch (error) { + if (head) notify$2(); + else last = undefined; + throw error; + } + } last = undefined; + if (parent) parent.enter(); + }; + + // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 + // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898 + if (!engineIsIos && !engineIsNode && !engineIsWebosWebkit && MutationObserver && document$2) { + toggle = true; + node = document$2.createTextNode(''); + new MutationObserver(flush).observe(node, { characterData: true }); + notify$2 = function () { + node.data = toggle = !toggle; + }; + // environments with maybe non-completely correct, but existent Promise + } else if (Promise$1 && Promise$1.resolve) { + // Promise.resolve without an argument throws an error in LG WebOS 2 + promise = Promise$1.resolve(undefined); + // workaround of WebKit ~ iOS Safari 10.1 bug + promise.constructor = Promise$1; + then = promise.then; + notify$2 = function () { + then.call(promise, flush); + }; + // Node.js without promises + } else if (engineIsNode) { + notify$2 = function () { + process$1.nextTick(flush); + }; + // for other environments - macrotask based on: + // - setImmediate + // - MessageChannel + // - window.postMessag + // - onreadystatechange + // - setTimeout + } else { + notify$2 = function () { + // strange IE + webpack dev server bug - use .call(global) + macrotask.call(global_1, flush); + }; + } + } + + var microtask = queueMicrotask || function (fn) { + var task = { fn: fn, next: undefined }; + if (last) last.next = task; + if (!head) { + head = task; + notify$2(); + } last = task; + }; + + var PromiseCapability = function (C) { + var resolve, reject; + this.promise = new C(function ($$resolve, $$reject) { + if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); + resolve = $$resolve; + reject = $$reject; + }); + this.resolve = aFunction(resolve); + this.reject = aFunction(reject); + }; + + // `NewPromiseCapability` abstract operation + // https://tc39.es/ecma262/#sec-newpromisecapability + var f = function (C) { + return new PromiseCapability(C); + }; + + var newPromiseCapability$1 = { + f: f + }; + + var promiseResolve = function (C, x) { + anObject(C); + if (isObject$1(x) && x.constructor === C) return x; + var promiseCapability = newPromiseCapability$1.f(C); + var resolve = promiseCapability.resolve; + resolve(x); + return promiseCapability.promise; + }; + + var hostReportErrors = function (a, b) { + var console = global_1.console; + if (console && console.error) { + arguments.length === 1 ? console.error(a) : console.error(a, b); + } + }; + + var perform = function (exec) { + try { + return { error: false, value: exec() }; + } catch (error) { + return { error: true, value: error }; + } + }; + + var engineIsBrowser = typeof window == 'object'; + + var task = task$1.set; + + + + + + + + + + + + + var SPECIES = wellKnownSymbol('species'); + var PROMISE = 'Promise'; + var getInternalState$1 = internalState.get; + var setInternalState$2 = internalState.set; + var getInternalPromiseState = internalState.getterFor(PROMISE); + var NativePromisePrototype = nativePromiseConstructor && nativePromiseConstructor.prototype; + var PromiseConstructor = nativePromiseConstructor; + var PromiseConstructorPrototype = NativePromisePrototype; + var TypeError$1 = global_1.TypeError; + var document$1 = global_1.document; + var process = global_1.process; + var newPromiseCapability = newPromiseCapability$1.f; + var newGenericPromiseCapability = newPromiseCapability; + var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global_1.dispatchEvent); + var NATIVE_REJECTION_EVENT = typeof PromiseRejectionEvent == 'function'; + var UNHANDLED_REJECTION = 'unhandledrejection'; + var REJECTION_HANDLED = 'rejectionhandled'; + var PENDING = 0; + var FULFILLED = 1; + var REJECTED = 2; + var HANDLED = 1; + var UNHANDLED = 2; + var SUBCLASSING = false; + var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen; + + var FORCED$2 = isForced_1(PROMISE, function () { + var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor); + var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor); + // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables + // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 + // We can't detect it synchronously, so just check versions + if (!GLOBAL_CORE_JS_PROMISE && engineV8Version === 66) return true; + // We can't use @@species feature detection in V8 since it causes + // deoptimization and performance degradation + // https://github.com/zloirock/core-js/issues/679 + if (engineV8Version >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false; + // Detect correctness of subclassing with @@species support + var promise = new PromiseConstructor(function (resolve) { resolve(1); }); + var FakePromise = function (exec) { + exec(function () { /* empty */ }, function () { /* empty */ }); + }; + var constructor = promise.constructor = {}; + constructor[SPECIES] = FakePromise; + SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise; + if (!SUBCLASSING) return true; + // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test + return !GLOBAL_CORE_JS_PROMISE && engineIsBrowser && !NATIVE_REJECTION_EVENT; + }); + + var INCORRECT_ITERATION$1 = FORCED$2 || !checkCorrectnessOfIteration(function (iterable) { + PromiseConstructor.all(iterable)['catch'](function () { /* empty */ }); + }); + + // helpers + var isThenable = function (it) { + var then; + return isObject$1(it) && typeof (then = it.then) == 'function' ? then : false; + }; + + var notify$1 = function (state, isReject) { + if (state.notified) return; + state.notified = true; + var chain = state.reactions; + microtask(function () { + var value = state.value; + var ok = state.state == FULFILLED; + var index = 0; + // variable length - can't use forEach + while (chain.length > index) { + var reaction = chain[index++]; + var handler = ok ? reaction.ok : reaction.fail; + var resolve = reaction.resolve; + var reject = reaction.reject; + var domain = reaction.domain; + var result, then, exited; + try { + if (handler) { + if (!ok) { + if (state.rejection === UNHANDLED) onHandleUnhandled(state); + state.rejection = HANDLED; + } + if (handler === true) result = value; + else { + if (domain) domain.enter(); + result = handler(value); // can throw + if (domain) { + domain.exit(); + exited = true; + } + } + if (result === reaction.promise) { + reject(TypeError$1('Promise-chain cycle')); + } else if (then = isThenable(result)) { + then.call(result, resolve, reject); + } else resolve(result); + } else reject(value); + } catch (error) { + if (domain && !exited) domain.exit(); + reject(error); + } + } + state.reactions = []; + state.notified = false; + if (isReject && !state.rejection) onUnhandled(state); + }); + }; + + var dispatchEvent = function (name, promise, reason) { + var event, handler; + if (DISPATCH_EVENT) { + event = document$1.createEvent('Event'); + event.promise = promise; + event.reason = reason; + event.initEvent(name, false, true); + global_1.dispatchEvent(event); + } else event = { promise: promise, reason: reason }; + if (!NATIVE_REJECTION_EVENT && (handler = global_1['on' + name])) handler(event); + else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason); + }; + + var onUnhandled = function (state) { + task.call(global_1, function () { + var promise = state.facade; + var value = state.value; + var IS_UNHANDLED = isUnhandled(state); + var result; + if (IS_UNHANDLED) { + result = perform(function () { + if (engineIsNode) { + process.emit('unhandledRejection', value, promise); + } else dispatchEvent(UNHANDLED_REJECTION, promise, value); + }); + // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should + state.rejection = engineIsNode || isUnhandled(state) ? UNHANDLED : HANDLED; + if (result.error) throw result.value; + } + }); + }; + + var isUnhandled = function (state) { + return state.rejection !== HANDLED && !state.parent; + }; + + var onHandleUnhandled = function (state) { + task.call(global_1, function () { + var promise = state.facade; + if (engineIsNode) { + process.emit('rejectionHandled', promise); + } else dispatchEvent(REJECTION_HANDLED, promise, state.value); + }); + }; + + var bind = function (fn, state, unwrap) { + return function (value) { + fn(state, value, unwrap); + }; + }; + + var internalReject = function (state, value, unwrap) { + if (state.done) return; + state.done = true; + if (unwrap) state = unwrap; + state.value = value; + state.state = REJECTED; + notify$1(state, true); + }; + + var internalResolve = function (state, value, unwrap) { + if (state.done) return; + state.done = true; + if (unwrap) state = unwrap; + try { + if (state.facade === value) throw TypeError$1("Promise can't be resolved itself"); + var then = isThenable(value); + if (then) { + microtask(function () { + var wrapper = { done: false }; + try { + then.call(value, + bind(internalResolve, wrapper, state), + bind(internalReject, wrapper, state) + ); + } catch (error) { + internalReject(wrapper, error, state); + } + }); + } else { + state.value = value; + state.state = FULFILLED; + notify$1(state, false); + } + } catch (error) { + internalReject({ done: false }, error, state); + } + }; + + // constructor polyfill + if (FORCED$2) { + // 25.4.3.1 Promise(executor) + PromiseConstructor = function Promise(executor) { + anInstance(this, PromiseConstructor, PROMISE); + aFunction(executor); + Internal.call(this); + var state = getInternalState$1(this); + try { + executor(bind(internalResolve, state), bind(internalReject, state)); + } catch (error) { + internalReject(state, error); + } + }; + PromiseConstructorPrototype = PromiseConstructor.prototype; + // eslint-disable-next-line no-unused-vars -- required for `.length` + Internal = function Promise(executor) { + setInternalState$2(this, { + type: PROMISE, + done: false, + notified: false, + parent: false, + reactions: [], + rejection: false, + state: PENDING, + value: undefined + }); + }; + Internal.prototype = redefineAll(PromiseConstructorPrototype, { + // `Promise.prototype.then` method + // https://tc39.es/ecma262/#sec-promise.prototype.then + then: function then(onFulfilled, onRejected) { + var state = getInternalPromiseState(this); + var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); + reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; + reaction.fail = typeof onRejected == 'function' && onRejected; + reaction.domain = engineIsNode ? process.domain : undefined; + state.parent = true; + state.reactions.push(reaction); + if (state.state != PENDING) notify$1(state, false); + return reaction.promise; + }, + // `Promise.prototype.catch` method + // https://tc39.es/ecma262/#sec-promise.prototype.catch + 'catch': function (onRejected) { + return this.then(undefined, onRejected); + } + }); + OwnPromiseCapability = function () { + var promise = new Internal(); + var state = getInternalState$1(promise); + this.promise = promise; + this.resolve = bind(internalResolve, state); + this.reject = bind(internalReject, state); + }; + newPromiseCapability$1.f = newPromiseCapability = function (C) { + return C === PromiseConstructor || C === PromiseWrapper + ? new OwnPromiseCapability(C) + : newGenericPromiseCapability(C); + }; + + if (typeof nativePromiseConstructor == 'function' && NativePromisePrototype !== Object.prototype) { + nativeThen = NativePromisePrototype.then; + + if (!SUBCLASSING) { + // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs + redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) { + var that = this; + return new PromiseConstructor(function (resolve, reject) { + nativeThen.call(that, resolve, reject); + }).then(onFulfilled, onRejected); + // https://github.com/zloirock/core-js/issues/640 + }, { unsafe: true }); + + // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then` + redefine(NativePromisePrototype, 'catch', PromiseConstructorPrototype['catch'], { unsafe: true }); + } + + // make `.constructor === Promise` work for native promise-based APIs + try { + delete NativePromisePrototype.constructor; + } catch (error) { /* empty */ } + + // make `instanceof Promise` work for native promise-based APIs + if (objectSetPrototypeOf) { + objectSetPrototypeOf(NativePromisePrototype, PromiseConstructorPrototype); + } + } + } + + _export({ global: true, wrap: true, forced: FORCED$2 }, { + Promise: PromiseConstructor + }); + + setToStringTag(PromiseConstructor, PROMISE, false); + setSpecies(PROMISE); + + PromiseWrapper = getBuiltIn(PROMISE); + + // statics + _export({ target: PROMISE, stat: true, forced: FORCED$2 }, { + // `Promise.reject` method + // https://tc39.es/ecma262/#sec-promise.reject + reject: function reject(r) { + var capability = newPromiseCapability(this); + capability.reject.call(undefined, r); + return capability.promise; + } + }); + + _export({ target: PROMISE, stat: true, forced: FORCED$2 }, { + // `Promise.resolve` method + // https://tc39.es/ecma262/#sec-promise.resolve + resolve: function resolve(x) { + return promiseResolve(this, x); + } + }); + + _export({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION$1 }, { + // `Promise.all` method + // https://tc39.es/ecma262/#sec-promise.all + all: function all(iterable) { + var C = this; + var capability = newPromiseCapability(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var $promiseResolve = aFunction(C.resolve); + var values = []; + var counter = 0; + var remaining = 1; + iterate(iterable, function (promise) { + var index = counter++; + var alreadyCalled = false; + values.push(undefined); + remaining++; + $promiseResolve.call(C, promise).then(function (value) { + if (alreadyCalled) return; + alreadyCalled = true; + values[index] = value; + --remaining || resolve(values); + }, reject); + }); + --remaining || resolve(values); + }); + if (result.error) reject(result.value); + return capability.promise; + }, + // `Promise.race` method + // https://tc39.es/ecma262/#sec-promise.race + race: function race(iterable) { + var C = this; + var capability = newPromiseCapability(C); + var reject = capability.reject; + var result = perform(function () { + var $promiseResolve = aFunction(C.resolve); + iterate(iterable, function (promise) { + $promiseResolve.call(C, promise).then(capability.resolve, reject); + }); + }); + if (result.error) reject(result.value); + return capability.promise; + } + }); + + // `Symbol.asyncIterator` well-known symbol + // https://tc39.es/ecma262/#sec-symbol.asynciterator + defineWellKnownSymbol('asyncIterator'); + + // `Symbol.iterator` well-known symbol + // https://tc39.es/ecma262/#sec-symbol.iterator + defineWellKnownSymbol('iterator'); + + // `Symbol.toStringTag` well-known symbol + // https://tc39.es/ecma262/#sec-symbol.tostringtag + defineWellKnownSymbol('toStringTag'); + + // JSON[@@toStringTag] property + // https://tc39.es/ecma262/#sec-json-@@tostringtag + setToStringTag(global_1.JSON, 'JSON', true); + + // Math[@@toStringTag] property + // https://tc39.es/ecma262/#sec-math-@@tostringtag + setToStringTag(Math, 'Math', true); + + var charAt = stringMultibyte.charAt; + + + + var STRING_ITERATOR = 'String Iterator'; + var setInternalState$1 = internalState.set; + var getInternalState = internalState.getterFor(STRING_ITERATOR); + + // `String.prototype[@@iterator]` method + // https://tc39.es/ecma262/#sec-string.prototype-@@iterator + defineIterator(String, 'String', function (iterated) { + setInternalState$1(this, { + type: STRING_ITERATOR, + string: String(iterated), + index: 0 + }); + // `%StringIteratorPrototype%.next` method + // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next + }, function next() { + var state = getInternalState(this); + var string = state.string; + var index = state.index; + var point; + if (index >= string.length) return { value: undefined, done: true }; + point = charAt(string, index); + state.index += point.length; + return { value: point, done: false }; + }); + + var ITERATOR = wellKnownSymbol('iterator'); + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var ArrayValues = es_array_iterator.values; + + for (var COLLECTION_NAME in domIterables) { + var Collection = global_1[COLLECTION_NAME]; + var CollectionPrototype = Collection && Collection.prototype; + if (CollectionPrototype) { + // some Chrome versions have non-configurable methods on DOMTokenList + if (CollectionPrototype[ITERATOR] !== ArrayValues) try { + createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues); + } catch (error) { + CollectionPrototype[ITERATOR] = ArrayValues; + } + if (!CollectionPrototype[TO_STRING_TAG]) { + createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); + } + if (domIterables[COLLECTION_NAME]) for (var METHOD_NAME in es_array_iterator) { + // some Chrome versions have non-configurable methods on DOMTokenList + if (CollectionPrototype[METHOD_NAME] !== es_array_iterator[METHOD_NAME]) try { + createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, es_array_iterator[METHOD_NAME]); + } catch (error) { + CollectionPrototype[METHOD_NAME] = es_array_iterator[METHOD_NAME]; + } + } + } + } + + createCommonjsModule(function (module) { + /** + * Copyright (c) 2014-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + var runtime = function (exports) { + + var Op = Object.prototype; + var hasOwn = Op.hasOwnProperty; + var undefined$1; // More compressible than void 0. + + var $Symbol = typeof Symbol === "function" ? Symbol : {}; + var iteratorSymbol = $Symbol.iterator || "@@iterator"; + var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; + var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; + + function define(obj, key, value) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + return obj[key]; + } + + try { + // IE 8 has a broken Object.defineProperty that only works on DOM objects. + define({}, ""); + } catch (err) { + define = function define(obj, key, value) { + return obj[key] = value; + }; + } + + function wrap(innerFn, outerFn, self, tryLocsList) { + // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. + var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; + var generator = Object.create(protoGenerator.prototype); + var context = new Context(tryLocsList || []); // The ._invoke method unifies the implementations of the .next, + // .throw, and .return methods. + + generator._invoke = makeInvokeMethod(innerFn, self, context); + return generator; + } + + exports.wrap = wrap; // Try/catch helper to minimize deoptimizations. Returns a completion + // record like context.tryEntries[i].completion. This interface could + // have been (and was previously) designed to take a closure to be + // invoked without arguments, but in all the cases we care about we + // already have an existing method we want to call, so there's no need + // to create a new function object. We can even get away with assuming + // the method takes exactly one argument, since that happens to be true + // in every case, so we don't have to touch the arguments object. The + // only additional allocation required is the completion record, which + // has a stable shape and so hopefully should be cheap to allocate. + + function tryCatch(fn, obj, arg) { + try { + return { + type: "normal", + arg: fn.call(obj, arg) + }; + } catch (err) { + return { + type: "throw", + arg: err + }; + } + } + + var GenStateSuspendedStart = "suspendedStart"; + var GenStateSuspendedYield = "suspendedYield"; + var GenStateExecuting = "executing"; + var GenStateCompleted = "completed"; // Returning this object from the innerFn has the same effect as + // breaking out of the dispatch switch statement. + + var ContinueSentinel = {}; // Dummy constructor functions that we use as the .constructor and + // .constructor.prototype properties for functions that return Generator + // objects. For full spec compliance, you may wish to configure your + // minifier not to mangle the names of these two functions. + + function Generator() {} + + function GeneratorFunction() {} + + function GeneratorFunctionPrototype() {} // This is a polyfill for %IteratorPrototype% for environments that + // don't natively support it. + + + var IteratorPrototype = {}; + + IteratorPrototype[iteratorSymbol] = function () { + return this; + }; + + var getProto = Object.getPrototypeOf; + var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); + + if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { + // This environment has a native %IteratorPrototype%; use it instead + // of the polyfill. + IteratorPrototype = NativeIteratorPrototype; + } + + var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); + GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype; + GeneratorFunctionPrototype.constructor = GeneratorFunction; + GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"); // Helper for defining the .next, .throw, and .return methods of the + // Iterator interface in terms of a single ._invoke method. + + function defineIteratorMethods(prototype) { + ["next", "throw", "return"].forEach(function (method) { + define(prototype, method, function (arg) { + return this._invoke(method, arg); + }); + }); + } + + exports.isGeneratorFunction = function (genFun) { + var ctor = typeof genFun === "function" && genFun.constructor; + return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can + // do is to check its .name property. + (ctor.displayName || ctor.name) === "GeneratorFunction" : false; + }; + + exports.mark = function (genFun) { + if (Object.setPrototypeOf) { + Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); + } else { + genFun.__proto__ = GeneratorFunctionPrototype; + define(genFun, toStringTagSymbol, "GeneratorFunction"); + } + + genFun.prototype = Object.create(Gp); + return genFun; + }; // Within the body of any async function, `await x` is transformed to + // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test + // `hasOwn.call(value, "__await")` to determine if the yielded value is + // meant to be awaited. + + + exports.awrap = function (arg) { + return { + __await: arg + }; + }; + + function AsyncIterator(generator, PromiseImpl) { + function invoke(method, arg, resolve, reject) { + var record = tryCatch(generator[method], generator, arg); + + if (record.type === "throw") { + reject(record.arg); + } else { + var result = record.arg; + var value = result.value; + + if (value && _typeof(value) === "object" && hasOwn.call(value, "__await")) { + return PromiseImpl.resolve(value.__await).then(function (value) { + invoke("next", value, resolve, reject); + }, function (err) { + invoke("throw", err, resolve, reject); + }); + } + + return PromiseImpl.resolve(value).then(function (unwrapped) { + // When a yielded Promise is resolved, its final value becomes + // the .value of the Promise<{value,done}> result for the + // current iteration. + result.value = unwrapped; + resolve(result); + }, function (error) { + // If a rejected Promise was yielded, throw the rejection back + // into the async generator function so it can be handled there. + return invoke("throw", error, resolve, reject); + }); + } + } + + var previousPromise; + + function enqueue(method, arg) { + function callInvokeWithMethodAndArg() { + return new PromiseImpl(function (resolve, reject) { + invoke(method, arg, resolve, reject); + }); + } + + return previousPromise = // If enqueue has been called before, then we want to wait until + // all previous Promises have been resolved before calling invoke, + // so that results are always delivered in the correct order. If + // enqueue has not been called before, then it is important to + // call invoke immediately, without waiting on a callback to fire, + // so that the async generator function has the opportunity to do + // any necessary setup in a predictable way. This predictability + // is why the Promise constructor synchronously invokes its + // executor callback, and why async functions synchronously + // execute code before the first await. Since we implement simple + // async functions in terms of async generators, it is especially + // important to get this right, even though it requires care. + previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, // Avoid propagating failures to Promises returned by later + // invocations of the iterator. + callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); + } // Define the unified helper method that is used to implement .next, + // .throw, and .return (see defineIteratorMethods). + + + this._invoke = enqueue; + } + + defineIteratorMethods(AsyncIterator.prototype); + + AsyncIterator.prototype[asyncIteratorSymbol] = function () { + return this; + }; + + exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of + // AsyncIterator objects; they just return a Promise for the value of + // the final result produced by the iterator. + + exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { + if (PromiseImpl === void 0) PromiseImpl = Promise; + var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); + return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator. + : iter.next().then(function (result) { + return result.done ? result.value : iter.next(); + }); + }; + + function makeInvokeMethod(innerFn, self, context) { + var state = GenStateSuspendedStart; + return function invoke(method, arg) { + if (state === GenStateExecuting) { + throw new Error("Generator is already running"); + } + + if (state === GenStateCompleted) { + if (method === "throw") { + throw arg; + } // Be forgiving, per 25.3.3.3.3 of the spec: + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume + + + return doneResult(); + } + + context.method = method; + context.arg = arg; + + while (true) { + var delegate = context.delegate; + + if (delegate) { + var delegateResult = maybeInvokeDelegate(delegate, context); + + if (delegateResult) { + if (delegateResult === ContinueSentinel) continue; + return delegateResult; + } + } + + if (context.method === "next") { + // Setting context._sent for legacy support of Babel's + // function.sent implementation. + context.sent = context._sent = context.arg; + } else if (context.method === "throw") { + if (state === GenStateSuspendedStart) { + state = GenStateCompleted; + throw context.arg; + } + + context.dispatchException(context.arg); + } else if (context.method === "return") { + context.abrupt("return", context.arg); + } + + state = GenStateExecuting; + var record = tryCatch(innerFn, self, context); + + if (record.type === "normal") { + // If an exception is thrown from innerFn, we leave state === + // GenStateExecuting and loop back for another invocation. + state = context.done ? GenStateCompleted : GenStateSuspendedYield; + + if (record.arg === ContinueSentinel) { + continue; + } + + return { + value: record.arg, + done: context.done + }; + } else if (record.type === "throw") { + state = GenStateCompleted; // Dispatch the exception by looping back around to the + // context.dispatchException(context.arg) call above. + + context.method = "throw"; + context.arg = record.arg; + } + } + }; + } // Call delegate.iterator[context.method](context.arg) and handle the + // result, either by returning a { value, done } result from the + // delegate iterator, or by modifying context.method and context.arg, + // setting context.delegate to null, and returning the ContinueSentinel. + + + function maybeInvokeDelegate(delegate, context) { + var method = delegate.iterator[context.method]; + + if (method === undefined$1) { + // A .throw or .return when the delegate iterator has no .throw + // method always terminates the yield* loop. + context.delegate = null; + + if (context.method === "throw") { + // Note: ["return"] must be used for ES3 parsing compatibility. + if (delegate.iterator["return"]) { + // If the delegate iterator has a return method, give it a + // chance to clean up. + context.method = "return"; + context.arg = undefined$1; + maybeInvokeDelegate(delegate, context); + + if (context.method === "throw") { + // If maybeInvokeDelegate(context) changed context.method from + // "return" to "throw", let that override the TypeError below. + return ContinueSentinel; + } + } + + context.method = "throw"; + context.arg = new TypeError("The iterator does not provide a 'throw' method"); + } + + return ContinueSentinel; + } + + var record = tryCatch(method, delegate.iterator, context.arg); + + if (record.type === "throw") { + context.method = "throw"; + context.arg = record.arg; + context.delegate = null; + return ContinueSentinel; + } + + var info = record.arg; + + if (!info) { + context.method = "throw"; + context.arg = new TypeError("iterator result is not an object"); + context.delegate = null; + return ContinueSentinel; + } + + if (info.done) { + // Assign the result of the finished delegate to the temporary + // variable specified by delegate.resultName (see delegateYield). + context[delegate.resultName] = info.value; // Resume execution at the desired location (see delegateYield). + + context.next = delegate.nextLoc; // If context.method was "throw" but the delegate handled the + // exception, let the outer generator proceed normally. If + // context.method was "next", forget context.arg since it has been + // "consumed" by the delegate iterator. If context.method was + // "return", allow the original .return call to continue in the + // outer generator. + + if (context.method !== "return") { + context.method = "next"; + context.arg = undefined$1; + } + } else { + // Re-yield the result returned by the delegate method. + return info; + } // The delegate iterator is finished, so forget it and continue with + // the outer generator. + + + context.delegate = null; + return ContinueSentinel; + } // Define Generator.prototype.{next,throw,return} in terms of the + // unified ._invoke helper method. + + + defineIteratorMethods(Gp); + define(Gp, toStringTagSymbol, "Generator"); // A Generator should always return itself as the iterator object when the + // @@iterator function is called on it. Some browsers' implementations of the + // iterator prototype chain incorrectly implement this, causing the Generator + // object to not be returned from this call. This ensures that doesn't happen. + // See https://github.com/facebook/regenerator/issues/274 for more details. + + Gp[iteratorSymbol] = function () { + return this; + }; + + Gp.toString = function () { + return "[object Generator]"; + }; + + function pushTryEntry(locs) { + var entry = { + tryLoc: locs[0] + }; + + if (1 in locs) { + entry.catchLoc = locs[1]; + } + + if (2 in locs) { + entry.finallyLoc = locs[2]; + entry.afterLoc = locs[3]; + } + + this.tryEntries.push(entry); + } + + function resetTryEntry(entry) { + var record = entry.completion || {}; + record.type = "normal"; + delete record.arg; + entry.completion = record; + } + + function Context(tryLocsList) { + // The root entry object (effectively a try statement without a catch + // or a finally block) gives us a place to store values thrown from + // locations where there is no enclosing try statement. + this.tryEntries = [{ + tryLoc: "root" + }]; + tryLocsList.forEach(pushTryEntry, this); + this.reset(true); + } + + exports.keys = function (object) { + var keys = []; + + for (var key in object) { + keys.push(key); + } + + keys.reverse(); // Rather than returning an object with a next method, we keep + // things simple and return the next function itself. + + return function next() { + while (keys.length) { + var key = keys.pop(); + + if (key in object) { + next.value = key; + next.done = false; + return next; + } + } // To avoid creating an additional object, we just hang the .value + // and .done properties off the next function object itself. This + // also ensures that the minifier will not anonymize the function. + + + next.done = true; + return next; + }; + }; + + function values(iterable) { + if (iterable) { + var iteratorMethod = iterable[iteratorSymbol]; + + if (iteratorMethod) { + return iteratorMethod.call(iterable); + } + + if (typeof iterable.next === "function") { + return iterable; + } + + if (!isNaN(iterable.length)) { + var i = -1, + next = function next() { + while (++i < iterable.length) { + if (hasOwn.call(iterable, i)) { + next.value = iterable[i]; + next.done = false; + return next; + } + } + + next.value = undefined$1; + next.done = true; + return next; + }; + + return next.next = next; + } + } // Return an iterator with no values. + + + return { + next: doneResult + }; + } + + exports.values = values; + + function doneResult() { + return { + value: undefined$1, + done: true + }; + } + + Context.prototype = { + constructor: Context, + reset: function reset(skipTempReset) { + this.prev = 0; + this.next = 0; // Resetting context._sent for legacy support of Babel's + // function.sent implementation. + + this.sent = this._sent = undefined$1; + this.done = false; + this.delegate = null; + this.method = "next"; + this.arg = undefined$1; + this.tryEntries.forEach(resetTryEntry); + + if (!skipTempReset) { + for (var name in this) { + // Not sure about the optimal order of these conditions: + if (name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) { + this[name] = undefined$1; + } + } + } + }, + stop: function stop() { + this.done = true; + var rootEntry = this.tryEntries[0]; + var rootRecord = rootEntry.completion; + + if (rootRecord.type === "throw") { + throw rootRecord.arg; + } + + return this.rval; + }, + dispatchException: function dispatchException(exception) { + if (this.done) { + throw exception; + } + + var context = this; + + function handle(loc, caught) { + record.type = "throw"; + record.arg = exception; + context.next = loc; + + if (caught) { + // If the dispatched exception was caught by a catch block, + // then let that catch block handle the exception normally. + context.method = "next"; + context.arg = undefined$1; + } + + return !!caught; + } + + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + var record = entry.completion; + + if (entry.tryLoc === "root") { + // Exception thrown outside of any try block that could handle + // it, so set the completion value of the entire function to + // throw the exception. + return handle("end"); + } + + if (entry.tryLoc <= this.prev) { + var hasCatch = hasOwn.call(entry, "catchLoc"); + var hasFinally = hasOwn.call(entry, "finallyLoc"); + + if (hasCatch && hasFinally) { + if (this.prev < entry.catchLoc) { + return handle(entry.catchLoc, true); + } else if (this.prev < entry.finallyLoc) { + return handle(entry.finallyLoc); + } + } else if (hasCatch) { + if (this.prev < entry.catchLoc) { + return handle(entry.catchLoc, true); + } + } else if (hasFinally) { + if (this.prev < entry.finallyLoc) { + return handle(entry.finallyLoc); + } + } else { + throw new Error("try statement without catch or finally"); + } + } + } + }, + abrupt: function abrupt(type, arg) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + + if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { + var finallyEntry = entry; + break; + } + } + + if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) { + // Ignore the finally entry if control is not jumping to a + // location outside the try/catch block. + finallyEntry = null; + } + + var record = finallyEntry ? finallyEntry.completion : {}; + record.type = type; + record.arg = arg; + + if (finallyEntry) { + this.method = "next"; + this.next = finallyEntry.finallyLoc; + return ContinueSentinel; + } + + return this.complete(record); + }, + complete: function complete(record, afterLoc) { + if (record.type === "throw") { + throw record.arg; + } + + if (record.type === "break" || record.type === "continue") { + this.next = record.arg; + } else if (record.type === "return") { + this.rval = this.arg = record.arg; + this.method = "return"; + this.next = "end"; + } else if (record.type === "normal" && afterLoc) { + this.next = afterLoc; + } + + return ContinueSentinel; + }, + finish: function finish(finallyLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + + if (entry.finallyLoc === finallyLoc) { + this.complete(entry.completion, entry.afterLoc); + resetTryEntry(entry); + return ContinueSentinel; + } + } + }, + "catch": function _catch(tryLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + + if (entry.tryLoc === tryLoc) { + var record = entry.completion; + + if (record.type === "throw") { + var thrown = record.arg; + resetTryEntry(entry); + } + + return thrown; + } + } // The context.catch method must only be called with a location + // argument that corresponds to a known catch block. + + + throw new Error("illegal catch attempt"); + }, + delegateYield: function delegateYield(iterable, resultName, nextLoc) { + this.delegate = { + iterator: values(iterable), + resultName: resultName, + nextLoc: nextLoc + }; + + if (this.method === "next") { + // Deliberately forget the last sent value so that we don't + // accidentally pass it on to the delegate. + this.arg = undefined$1; + } + + return ContinueSentinel; + } + }; // Regardless of whether this script is executing as a CommonJS module + // or not, return the runtime object so that we can declare the variable + // regeneratorRuntime in the outer scope, which allows this module to be + // injected easily by `bin/regenerator --include-runtime script.js`. + + return exports; + }( // If this script is executing as a CommonJS module, use module.exports + // as the regeneratorRuntime namespace. Otherwise create a new empty + // object. Either way, the resulting object will be used to initialize + // the regeneratorRuntime variable at the top of this file. + module.exports ); + + try { + regeneratorRuntime = runtime; + } catch (accidentalStrictMode) { + // This module should not be running in strict mode, so the above + // assignment should always work unless something is misconfigured. Just + // in case runtime.js accidentally runs in strict mode, we can escape + // strict mode using a global Function call. This could conceivably fail + // if a Content Security Policy forbids using Function, but in that case + // the proper solution is to fix the accidental strict mode problem. If + // you've misconfigured your bundler to force strict mode and applied a + // CSP to forbid Function, and you're not willing to fix either of those + // problems, please detail your unique predicament in a GitHub issue. + Function("r", "regeneratorRuntime = r")(runtime); + } + }); + + var escapeStringRegexp = function escapeStringRegexp(string) { + if (typeof string !== 'string') { + throw new TypeError('Expected a string'); + } // Escape characters with special meaning either inside or outside character sets. + // Use a simple backslash escape when it’s always valid, and a \unnnn escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar. + + + return string.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&').replace(/-/g, '\\x2d'); + }; + + // Copyright Joyent, Inc. and other Node contributors. + // + // Permission is hereby granted, free of charge, to any person obtaining a + // copy of this software and associated documentation files (the + // "Software"), to deal in the Software without restriction, including + // without limitation the rights to use, copy, modify, merge, publish, + // distribute, sublicense, and/or sell copies of the Software, and to permit + // persons to whom the Software is furnished to do so, subject to the + // following conditions: + // + // The above copyright notice and this permission notice shall be included + // in all copies or substantial portions of the Software. + // + // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN + // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + // USE OR OTHER DEALINGS IN THE SOFTWARE. + // resolves . and .. elements in a path array with directory names there + // must be no slashes, empty elements, or device names (c:\) in the array + // (so also no leading and trailing slashes - it does not distinguish + // relative and absolute paths) + function normalizeArray(parts, allowAboveRoot) { + // if the path tries to go above the root, `up` ends up > 0 + var up = 0; + + for (var i = parts.length - 1; i >= 0; i--) { + var last = parts[i]; + + if (last === '.') { + parts.splice(i, 1); + } else if (last === '..') { + parts.splice(i, 1); + up++; + } else if (up) { + parts.splice(i, 1); + up--; + } + } // if the path is allowed to go above the root, restore leading ..s + + + if (allowAboveRoot) { + for (; up--; up) { + parts.unshift('..'); + } + } + + return parts; + } // Split a filename into [root, dir, basename, ext], unix version + // 'root' is just a slash, or nothing. + + + var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/; + + var splitPath = function splitPath(filename) { + return splitPathRe.exec(filename).slice(1); + }; // path.resolve([from ...], to) + // posix version + + + function resolve() { + var resolvedPath = '', + resolvedAbsolute = false; + + for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) { + var path = i >= 0 ? arguments[i] : '/'; // Skip empty and invalid entries + + if (typeof path !== 'string') { + throw new TypeError('Arguments to path.resolve must be strings'); + } else if (!path) { + continue; + } + + resolvedPath = path + '/' + resolvedPath; + resolvedAbsolute = path.charAt(0) === '/'; + } // At this point the path should be resolved to a full absolute path, but + // handle relative paths to be safe (might happen when process.cwd() fails) + // Normalize the path + + + resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function (p) { + return !!p; + }), !resolvedAbsolute).join('/'); + return (resolvedAbsolute ? '/' : '') + resolvedPath || '.'; + } + // posix version + + function normalize(path) { + var isPathAbsolute = isAbsolute(path), + trailingSlash = substr(path, -1) === '/'; // Normalize the path + + path = normalizeArray(filter(path.split('/'), function (p) { + return !!p; + }), !isPathAbsolute).join('/'); + + if (!path && !isPathAbsolute) { + path = '.'; + } + + if (path && trailingSlash) { + path += '/'; + } + + return (isPathAbsolute ? '/' : '') + path; + } + + function isAbsolute(path) { + return path.charAt(0) === '/'; + } // posix version + + function join() { + var paths = Array.prototype.slice.call(arguments, 0); + return normalize(filter(paths, function (p, index) { + if (typeof p !== 'string') { + throw new TypeError('Arguments to path.join must be strings'); + } + + return p; + }).join('/')); + } // path.relative(from, to) + // posix version + + function relative(from, to) { + from = resolve(from).substr(1); + to = resolve(to).substr(1); + + function trim(arr) { + var start = 0; + + for (; start < arr.length; start++) { + if (arr[start] !== '') break; + } + + var end = arr.length - 1; + + for (; end >= 0; end--) { + if (arr[end] !== '') break; + } + + if (start > end) return []; + return arr.slice(start, end - start + 1); + } + + var fromParts = trim(from.split('/')); + var toParts = trim(to.split('/')); + var length = Math.min(fromParts.length, toParts.length); + var samePartsLength = length; + + for (var i = 0; i < length; i++) { + if (fromParts[i] !== toParts[i]) { + samePartsLength = i; + break; + } + } + + var outputParts = []; + + for (var i = samePartsLength; i < fromParts.length; i++) { + outputParts.push('..'); + } + + outputParts = outputParts.concat(toParts.slice(samePartsLength)); + return outputParts.join('/'); + } + var sep = '/'; + var delimiter = ':'; + function dirname(path) { + var result = splitPath(path), + root = result[0], + dir = result[1]; + + if (!root && !dir) { + // No dirname whatsoever + return '.'; + } + + if (dir) { + // It has a dirname, strip trailing slash + dir = dir.substr(0, dir.length - 1); + } + + return root + dir; + } + function basename(path, ext) { + var f = splitPath(path)[2]; // TODO: make this comparison case-insensitive on windows? + + if (ext && f.substr(-1 * ext.length) === ext) { + f = f.substr(0, f.length - ext.length); + } + + return f; + } + function extname(path) { + return splitPath(path)[3]; + } + var path = { + extname: extname, + basename: basename, + dirname: dirname, + sep: sep, + delimiter: delimiter, + relative: relative, + join: join, + isAbsolute: isAbsolute, + normalize: normalize, + resolve: resolve + }; + + function filter(xs, f) { + if (xs.filter) return xs.filter(f); + var res = []; + + for (var i = 0; i < xs.length; i++) { + if (f(xs[i], i, xs)) res.push(xs[i]); + } + + return res; + } // String.prototype.substr - negative index don't work in IE8 + + + var substr = 'ab'.substr(-1) === 'b' ? function (str, start, len) { + return str.substr(start, len); + } : function (str, start, len) { + if (start < 0) start = str.length + start; + return str.substr(start, len); + }; + + // call something on iterator step with safe closing on error + var callWithSafeIterationClosing = function (iterator, fn, value, ENTRIES) { + try { + return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); + } catch (error) { + iteratorClose(iterator); + throw error; + } + }; + + // `Array.from` method implementation + // https://tc39.es/ecma262/#sec-array.from + var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { + var O = toObject(arrayLike); + var C = typeof this == 'function' ? this : Array; + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + var mapping = mapfn !== undefined; + var iteratorMethod = getIteratorMethod(O); + var index = 0; + var length, result, step, iterator, next, value; + if (mapping) mapfn = functionBindContext(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2); + // if the target is not iterable or it's an array with the default iterator - use a simple case + if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) { + iterator = iteratorMethod.call(O); + next = iterator.next; + result = new C(); + for (;!(step = next.call(iterator)).done; index++) { + value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value; + createProperty(result, index, value); + } + } else { + length = toLength(O.length); + result = new C(length); + for (;length > index; index++) { + value = mapping ? mapfn(O[index], index) : O[index]; + createProperty(result, index, value); + } + } + result.length = index; + return result; + }; + + var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) { + // eslint-disable-next-line es/no-array-from -- required for testing + Array.from(iterable); + }); + + // `Array.from` method + // https://tc39.es/ecma262/#sec-array.from + _export({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, { + from: arrayFrom + }); + + var test$1 = []; + var nativeSort = test$1.sort; + + // IE8- + var FAILS_ON_UNDEFINED = fails(function () { + test$1.sort(undefined); + }); + // V8 bug + var FAILS_ON_NULL = fails(function () { + test$1.sort(null); + }); + // Old WebKit + var STRICT_METHOD = arrayMethodIsStrict('sort'); + + var STABLE_SORT = !fails(function () { + // feature detection can be too slow, so check engines versions + if (engineV8Version) return engineV8Version < 70; + if (engineFfVersion && engineFfVersion > 3) return; + if (engineIsIeOrEdge) return true; + if (engineWebkitVersion) return engineWebkitVersion < 603; + + var result = ''; + var code, chr, value, index; + + // generate an array with more 512 elements (Chakra and old V8 fails only in this case) + for (code = 65; code < 76; code++) { + chr = String.fromCharCode(code); + + switch (code) { + case 66: case 69: case 70: case 72: value = 3; break; + case 68: case 71: value = 4; break; + default: value = 2; + } + + for (index = 0; index < 47; index++) { + test$1.push({ k: chr + index, v: value }); + } + } + + test$1.sort(function (a, b) { return b.v - a.v; }); + + for (index = 0; index < test$1.length; index++) { + chr = test$1[index].k.charAt(0); + if (result.charAt(result.length - 1) !== chr) result += chr; + } + + return result !== 'DGBEFHACIJK'; + }); + + var FORCED$1 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT; + + var getSortCompare = function (comparefn) { + return function (x, y) { + if (y === undefined) return -1; + if (x === undefined) return 1; + if (comparefn !== undefined) return +comparefn(x, y) || 0; + return String(x) > String(y) ? 1 : -1; + }; + }; + + // `Array.prototype.sort` method + // https://tc39.es/ecma262/#sec-array.prototype.sort + _export({ target: 'Array', proto: true, forced: FORCED$1 }, { + sort: function sort(comparefn) { + if (comparefn !== undefined) aFunction(comparefn); + + var array = toObject(this); + + if (STABLE_SORT) return comparefn === undefined ? nativeSort.call(array) : nativeSort.call(array, comparefn); + + var items = []; + var arrayLength = toLength(array.length); + var itemsLength, index; + + for (index = 0; index < arrayLength; index++) { + if (index in array) items.push(array[index]); + } + + items = arraySort(items, getSortCompare(comparefn)); + itemsLength = items.length; + index = 0; + + while (index < itemsLength) array[index] = items[index++]; + while (index < arrayLength) delete array[index++]; + + return array; + } + }); + + var diff$1 = createCommonjsModule(function (module, exports) { + (function (global, factory) { + factory(exports) ; + })(commonjsGlobal, function (exports) { + + function Diff() {} + + Diff.prototype = { + diff: function diff(oldString, newString) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var callback = options.callback; + + if (typeof options === 'function') { + callback = options; + options = {}; + } + + this.options = options; + var self = this; + + function done(value) { + if (callback) { + setTimeout(function () { + callback(undefined, value); + }, 0); + return true; + } else { + return value; + } + } // Allow subclasses to massage the input prior to running + + + oldString = this.castInput(oldString); + newString = this.castInput(newString); + oldString = this.removeEmpty(this.tokenize(oldString)); + newString = this.removeEmpty(this.tokenize(newString)); + var newLen = newString.length, + oldLen = oldString.length; + var editLength = 1; + var maxEditLength = newLen + oldLen; + var bestPath = [{ + newPos: -1, + components: [] + }]; // Seed editLength = 0, i.e. the content starts with the same values + + var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); + + if (bestPath[0].newPos + 1 >= newLen && oldPos + 1 >= oldLen) { + // Identity per the equality and tokenizer + return done([{ + value: this.join(newString), + count: newString.length + }]); + } // Main worker method. checks all permutations of a given edit length for acceptance. + + + function execEditLength() { + for (var diagonalPath = -1 * editLength; diagonalPath <= editLength; diagonalPath += 2) { + var basePath = void 0; + + var addPath = bestPath[diagonalPath - 1], + removePath = bestPath[diagonalPath + 1], + _oldPos = (removePath ? removePath.newPos : 0) - diagonalPath; + + if (addPath) { + // No one else is going to attempt to use this value, clear it + bestPath[diagonalPath - 1] = undefined; + } + + var canAdd = addPath && addPath.newPos + 1 < newLen, + canRemove = removePath && 0 <= _oldPos && _oldPos < oldLen; + + if (!canAdd && !canRemove) { + // If this path is a terminal then prune + bestPath[diagonalPath] = undefined; + continue; + } // Select the diagonal that we want to branch from. We select the prior + // path whose position in the new string is the farthest from the origin + // and does not pass the bounds of the diff graph + + + if (!canAdd || canRemove && addPath.newPos < removePath.newPos) { + basePath = clonePath(removePath); + self.pushComponent(basePath.components, undefined, true); + } else { + basePath = addPath; // No need to clone, we've pulled it from the list + + basePath.newPos++; + self.pushComponent(basePath.components, true, undefined); + } + + _oldPos = self.extractCommon(basePath, newString, oldString, diagonalPath); // If we have hit the end of both strings, then we are done + + if (basePath.newPos + 1 >= newLen && _oldPos + 1 >= oldLen) { + return done(buildValues(self, basePath.components, newString, oldString, self.useLongestToken)); + } else { + // Otherwise track this path as a potential candidate and continue. + bestPath[diagonalPath] = basePath; + } + } + + editLength++; + } // Performs the length of edit iteration. Is a bit fugly as this has to support the + // sync and async mode which is never fun. Loops over execEditLength until a value + // is produced. + + + if (callback) { + (function exec() { + setTimeout(function () { + // This should not happen, but we want to be safe. + + /* istanbul ignore next */ + if (editLength > maxEditLength) { + return callback(); + } + + if (!execEditLength()) { + exec(); + } + }, 0); + })(); + } else { + while (editLength <= maxEditLength) { + var ret = execEditLength(); + + if (ret) { + return ret; + } + } + } + }, + pushComponent: function pushComponent(components, added, removed) { + var last = components[components.length - 1]; + + if (last && last.added === added && last.removed === removed) { + // We need to clone here as the component clone operation is just + // as shallow array clone + components[components.length - 1] = { + count: last.count + 1, + added: added, + removed: removed + }; + } else { + components.push({ + count: 1, + added: added, + removed: removed + }); + } + }, + extractCommon: function extractCommon(basePath, newString, oldString, diagonalPath) { + var newLen = newString.length, + oldLen = oldString.length, + newPos = basePath.newPos, + oldPos = newPos - diagonalPath, + commonCount = 0; + + while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) { + newPos++; + oldPos++; + commonCount++; + } + + if (commonCount) { + basePath.components.push({ + count: commonCount + }); + } + + basePath.newPos = newPos; + return oldPos; + }, + equals: function equals(left, right) { + if (this.options.comparator) { + return this.options.comparator(left, right); + } else { + return left === right || this.options.ignoreCase && left.toLowerCase() === right.toLowerCase(); + } + }, + removeEmpty: function removeEmpty(array) { + var ret = []; + + for (var i = 0; i < array.length; i++) { + if (array[i]) { + ret.push(array[i]); + } + } + + return ret; + }, + castInput: function castInput(value) { + return value; + }, + tokenize: function tokenize(value) { + return value.split(''); + }, + join: function join(chars) { + return chars.join(''); + } + }; + + function buildValues(diff, components, newString, oldString, useLongestToken) { + var componentPos = 0, + componentLen = components.length, + newPos = 0, + oldPos = 0; + + for (; componentPos < componentLen; componentPos++) { + var component = components[componentPos]; + + if (!component.removed) { + if (!component.added && useLongestToken) { + var value = newString.slice(newPos, newPos + component.count); + value = value.map(function (value, i) { + var oldValue = oldString[oldPos + i]; + return oldValue.length > value.length ? oldValue : value; + }); + component.value = diff.join(value); + } else { + component.value = diff.join(newString.slice(newPos, newPos + component.count)); + } + + newPos += component.count; // Common case + + if (!component.added) { + oldPos += component.count; + } + } else { + component.value = diff.join(oldString.slice(oldPos, oldPos + component.count)); + oldPos += component.count; // Reverse add and remove so removes are output first to match common convention + // The diffing algorithm is tied to add then remove output and this is the simplest + // route to get the desired output with minimal overhead. + + if (componentPos && components[componentPos - 1].added) { + var tmp = components[componentPos - 1]; + components[componentPos - 1] = components[componentPos]; + components[componentPos] = tmp; + } + } + } // Special case handle for when one terminal is ignored (i.e. whitespace). + // For this case we merge the terminal into the prior string and drop the change. + // This is only available for string mode. + + + var lastComponent = components[componentLen - 1]; + + if (componentLen > 1 && typeof lastComponent.value === 'string' && (lastComponent.added || lastComponent.removed) && diff.equals('', lastComponent.value)) { + components[componentLen - 2].value += lastComponent.value; + components.pop(); + } + + return components; + } + + function clonePath(path) { + return { + newPos: path.newPos, + components: path.components.slice(0) + }; + } + + var characterDiff = new Diff(); + + function diffChars(oldStr, newStr, options) { + return characterDiff.diff(oldStr, newStr, options); + } + + function generateOptions(options, defaults) { + if (typeof options === 'function') { + defaults.callback = options; + } else if (options) { + for (var name in options) { + /* istanbul ignore else */ + if (options.hasOwnProperty(name)) { + defaults[name] = options[name]; + } + } + } + + return defaults; + } // + // Ranges and exceptions: + // Latin-1 Supplement, 0080–00FF + // - U+00D7 × Multiplication sign + // - U+00F7 ÷ Division sign + // Latin Extended-A, 0100–017F + // Latin Extended-B, 0180–024F + // IPA Extensions, 0250–02AF + // Spacing Modifier Letters, 02B0–02FF + // - U+02C7 ˇ ˇ Caron + // - U+02D8 ˘ ˘ Breve + // - U+02D9 ˙ ˙ Dot Above + // - U+02DA ˚ ˚ Ring Above + // - U+02DB ˛ ˛ Ogonek + // - U+02DC ˜ ˜ Small Tilde + // - U+02DD ˝ ˝ Double Acute Accent + // Latin Extended Additional, 1E00–1EFF + + + var extendedWordChars = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/; + var reWhitespace = /\S/; + var wordDiff = new Diff(); + + wordDiff.equals = function (left, right) { + if (this.options.ignoreCase) { + left = left.toLowerCase(); + right = right.toLowerCase(); + } + + return left === right || this.options.ignoreWhitespace && !reWhitespace.test(left) && !reWhitespace.test(right); + }; + + wordDiff.tokenize = function (value) { + // All whitespace symbols except newline group into one token, each newline - in separate token + var tokens = value.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/); // Join the boundary splits that we do not consider to be boundaries. This is primarily the extended Latin character set. + + for (var i = 0; i < tokens.length - 1; i++) { + // If we have an empty string in the next field and we have only word chars before and after, merge + if (!tokens[i + 1] && tokens[i + 2] && extendedWordChars.test(tokens[i]) && extendedWordChars.test(tokens[i + 2])) { + tokens[i] += tokens[i + 2]; + tokens.splice(i + 1, 2); + i--; + } + } + + return tokens; + }; + + function diffWords(oldStr, newStr, options) { + options = generateOptions(options, { + ignoreWhitespace: true + }); + return wordDiff.diff(oldStr, newStr, options); + } + + function diffWordsWithSpace(oldStr, newStr, options) { + return wordDiff.diff(oldStr, newStr, options); + } + + var lineDiff = new Diff(); + + lineDiff.tokenize = function (value) { + var retLines = [], + linesAndNewlines = value.split(/(\n|\r\n)/); // Ignore the final empty token that occurs if the string ends with a new line + + if (!linesAndNewlines[linesAndNewlines.length - 1]) { + linesAndNewlines.pop(); + } // Merge the content and line separators into single tokens + + + for (var i = 0; i < linesAndNewlines.length; i++) { + var line = linesAndNewlines[i]; + + if (i % 2 && !this.options.newlineIsToken) { + retLines[retLines.length - 1] += line; + } else { + if (this.options.ignoreWhitespace) { + line = line.trim(); + } + + retLines.push(line); + } + } + + return retLines; + }; + + function diffLines(oldStr, newStr, callback) { + return lineDiff.diff(oldStr, newStr, callback); + } + + function diffTrimmedLines(oldStr, newStr, callback) { + var options = generateOptions(callback, { + ignoreWhitespace: true + }); + return lineDiff.diff(oldStr, newStr, options); + } + + var sentenceDiff = new Diff(); + + sentenceDiff.tokenize = function (value) { + return value.split(/(\S.+?[.!?])(?=\s+|$)/); + }; + + function diffSentences(oldStr, newStr, callback) { + return sentenceDiff.diff(oldStr, newStr, callback); + } + + var cssDiff = new Diff(); + + cssDiff.tokenize = function (value) { + return value.split(/([{}:;,]|\s+)/); + }; + + function diffCss(oldStr, newStr, callback) { + return cssDiff.diff(oldStr, newStr, callback); + } + + function _typeof(obj) { + "@babel/helpers - typeof"; + + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function _typeof(obj) { + return typeof obj; + }; + } else { + _typeof = function _typeof(obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); + } + + function _toConsumableArray(arr) { + return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); + } + + function _arrayWithoutHoles(arr) { + if (Array.isArray(arr)) return _arrayLikeToArray(arr); + } + + function _iterableToArray(iter) { + if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); + } + + function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); + } + + function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + + for (var i = 0, arr2 = new Array(len); i < len; i++) { + arr2[i] = arr[i]; + } + + return arr2; + } + + function _nonIterableSpread() { + throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + var objectPrototypeToString = Object.prototype.toString; + var jsonDiff = new Diff(); // Discriminate between two lines of pretty-printed, serialized JSON where one of them has a + // dangling comma and the other doesn't. Turns out including the dangling comma yields the nicest output: + + jsonDiff.useLongestToken = true; + jsonDiff.tokenize = lineDiff.tokenize; + + jsonDiff.castInput = function (value) { + var _this$options = this.options, + undefinedReplacement = _this$options.undefinedReplacement, + _this$options$stringi = _this$options.stringifyReplacer, + stringifyReplacer = _this$options$stringi === void 0 ? function (k, v) { + return typeof v === 'undefined' ? undefinedReplacement : v; + } : _this$options$stringi; + return typeof value === 'string' ? value : JSON.stringify(canonicalize(value, null, null, stringifyReplacer), stringifyReplacer, ' '); + }; + + jsonDiff.equals = function (left, right) { + return Diff.prototype.equals.call(jsonDiff, left.replace(/,([\r\n])/g, '$1'), right.replace(/,([\r\n])/g, '$1')); + }; + + function diffJson(oldObj, newObj, options) { + return jsonDiff.diff(oldObj, newObj, options); + } // This function handles the presence of circular references by bailing out when encountering an + // object that is already on the "stack" of items being processed. Accepts an optional replacer + + + function canonicalize(obj, stack, replacementStack, replacer, key) { + stack = stack || []; + replacementStack = replacementStack || []; + + if (replacer) { + obj = replacer(key, obj); + } + + var i; + + for (i = 0; i < stack.length; i += 1) { + if (stack[i] === obj) { + return replacementStack[i]; + } + } + + var canonicalizedObj; + + if ('[object Array]' === objectPrototypeToString.call(obj)) { + stack.push(obj); + canonicalizedObj = new Array(obj.length); + replacementStack.push(canonicalizedObj); + + for (i = 0; i < obj.length; i += 1) { + canonicalizedObj[i] = canonicalize(obj[i], stack, replacementStack, replacer, key); + } + + stack.pop(); + replacementStack.pop(); + return canonicalizedObj; + } + + if (obj && obj.toJSON) { + obj = obj.toJSON(); + } + + if (_typeof(obj) === 'object' && obj !== null) { + stack.push(obj); + canonicalizedObj = {}; + replacementStack.push(canonicalizedObj); + + var sortedKeys = [], + _key; + + for (_key in obj) { + /* istanbul ignore else */ + if (obj.hasOwnProperty(_key)) { + sortedKeys.push(_key); + } + } + + sortedKeys.sort(); + + for (i = 0; i < sortedKeys.length; i += 1) { + _key = sortedKeys[i]; + canonicalizedObj[_key] = canonicalize(obj[_key], stack, replacementStack, replacer, _key); + } + + stack.pop(); + replacementStack.pop(); + } else { + canonicalizedObj = obj; + } + + return canonicalizedObj; + } + + var arrayDiff = new Diff(); + + arrayDiff.tokenize = function (value) { + return value.slice(); + }; + + arrayDiff.join = arrayDiff.removeEmpty = function (value) { + return value; + }; + + function diffArrays(oldArr, newArr, callback) { + return arrayDiff.diff(oldArr, newArr, callback); + } + + function parsePatch(uniDiff) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var diffstr = uniDiff.split(/\r\n|[\n\v\f\r\x85]/), + delimiters = uniDiff.match(/\r\n|[\n\v\f\r\x85]/g) || [], + list = [], + i = 0; + + function parseIndex() { + var index = {}; + list.push(index); // Parse diff metadata + + while (i < diffstr.length) { + var line = diffstr[i]; // File header found, end parsing diff metadata + + if (/^(\-\-\-|\+\+\+|@@)\s/.test(line)) { + break; + } // Diff index + + + var header = /^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(line); + + if (header) { + index.index = header[1]; + } + + i++; + } // Parse file headers if they are defined. Unified diff requires them, but + // there's no technical issues to have an isolated hunk without file header + + + parseFileHeader(index); + parseFileHeader(index); // Parse hunks + + index.hunks = []; + + while (i < diffstr.length) { + var _line = diffstr[i]; + + if (/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(_line)) { + break; + } else if (/^@@/.test(_line)) { + index.hunks.push(parseHunk()); + } else if (_line && options.strict) { + // Ignore unexpected content unless in strict mode + throw new Error('Unknown line ' + (i + 1) + ' ' + JSON.stringify(_line)); + } else { + i++; + } + } + } // Parses the --- and +++ headers, if none are found, no lines + // are consumed. + + + function parseFileHeader(index) { + var fileHeader = /^(---|\+\+\+)\s+(.*)$/.exec(diffstr[i]); + + if (fileHeader) { + var keyPrefix = fileHeader[1] === '---' ? 'old' : 'new'; + var data = fileHeader[2].split('\t', 2); + var fileName = data[0].replace(/\\\\/g, '\\'); + + if (/^".*"$/.test(fileName)) { + fileName = fileName.substr(1, fileName.length - 2); + } + + index[keyPrefix + 'FileName'] = fileName; + index[keyPrefix + 'Header'] = (data[1] || '').trim(); + i++; + } + } // Parses a hunk + // This assumes that we are at the start of a hunk. + + + function parseHunk() { + var chunkHeaderIndex = i, + chunkHeaderLine = diffstr[i++], + chunkHeader = chunkHeaderLine.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/); + var hunk = { + oldStart: +chunkHeader[1], + oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2], + newStart: +chunkHeader[3], + newLines: typeof chunkHeader[4] === 'undefined' ? 1 : +chunkHeader[4], + lines: [], + linedelimiters: [] + }; // Unified Diff Format quirk: If the chunk size is 0, + // the first number is one lower than one would expect. + // https://www.artima.com/weblogs/viewpost.jsp?thread=164293 + + if (hunk.oldLines === 0) { + hunk.oldStart += 1; + } + + if (hunk.newLines === 0) { + hunk.newStart += 1; + } + + var addCount = 0, + removeCount = 0; + + for (; i < diffstr.length; i++) { + // Lines starting with '---' could be mistaken for the "remove line" operation + // But they could be the header for the next file. Therefore prune such cases out. + if (diffstr[i].indexOf('--- ') === 0 && i + 2 < diffstr.length && diffstr[i + 1].indexOf('+++ ') === 0 && diffstr[i + 2].indexOf('@@') === 0) { + break; + } + + var operation = diffstr[i].length == 0 && i != diffstr.length - 1 ? ' ' : diffstr[i][0]; + + if (operation === '+' || operation === '-' || operation === ' ' || operation === '\\') { + hunk.lines.push(diffstr[i]); + hunk.linedelimiters.push(delimiters[i] || '\n'); + + if (operation === '+') { + addCount++; + } else if (operation === '-') { + removeCount++; + } else if (operation === ' ') { + addCount++; + removeCount++; + } + } else { + break; + } + } // Handle the empty block count case + + + if (!addCount && hunk.newLines === 1) { + hunk.newLines = 0; + } + + if (!removeCount && hunk.oldLines === 1) { + hunk.oldLines = 0; + } // Perform optional sanity checking + + + if (options.strict) { + if (addCount !== hunk.newLines) { + throw new Error('Added line count did not match for hunk at line ' + (chunkHeaderIndex + 1)); + } + + if (removeCount !== hunk.oldLines) { + throw new Error('Removed line count did not match for hunk at line ' + (chunkHeaderIndex + 1)); + } + } + + return hunk; + } + + while (i < diffstr.length) { + parseIndex(); + } + + return list; + } // Iterator that traverses in the range of [min, max], stepping + // by distance from a given start position. I.e. for [0, 4], with + // start of 2, this will iterate 2, 3, 1, 4, 0. + + + function distanceIterator(start, minLine, maxLine) { + var wantForward = true, + backwardExhausted = false, + forwardExhausted = false, + localOffset = 1; + return function iterator() { + if (wantForward && !forwardExhausted) { + if (backwardExhausted) { + localOffset++; + } else { + wantForward = false; + } // Check if trying to fit beyond text length, and if not, check it fits + // after offset location (or desired location on first iteration) + + + if (start + localOffset <= maxLine) { + return localOffset; + } + + forwardExhausted = true; + } + + if (!backwardExhausted) { + if (!forwardExhausted) { + wantForward = true; + } // Check if trying to fit before text beginning, and if not, check it fits + // before offset location + + + if (minLine <= start - localOffset) { + return -localOffset++; + } + + backwardExhausted = true; + return iterator(); + } // We tried to fit hunk before text beginning and beyond text length, then + // hunk can't fit on the text. Return undefined + + }; + } + + function applyPatch(source, uniDiff) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + + if (typeof uniDiff === 'string') { + uniDiff = parsePatch(uniDiff); + } + + if (Array.isArray(uniDiff)) { + if (uniDiff.length > 1) { + throw new Error('applyPatch only works with a single input.'); + } + + uniDiff = uniDiff[0]; + } // Apply the diff to the input + + + var lines = source.split(/\r\n|[\n\v\f\r\x85]/), + delimiters = source.match(/\r\n|[\n\v\f\r\x85]/g) || [], + hunks = uniDiff.hunks, + compareLine = options.compareLine || function (lineNumber, line, operation, patchContent) { + return line === patchContent; + }, + errorCount = 0, + fuzzFactor = options.fuzzFactor || 0, + minLine = 0, + offset = 0, + removeEOFNL, + addEOFNL; + /** + * Checks if the hunk exactly fits on the provided location + */ + + + function hunkFits(hunk, toPos) { + for (var j = 0; j < hunk.lines.length; j++) { + var line = hunk.lines[j], + operation = line.length > 0 ? line[0] : ' ', + content = line.length > 0 ? line.substr(1) : line; + + if (operation === ' ' || operation === '-') { + // Context sanity check + if (!compareLine(toPos + 1, lines[toPos], operation, content)) { + errorCount++; + + if (errorCount > fuzzFactor) { + return false; + } + } + + toPos++; + } + } + + return true; + } // Search best fit offsets for each hunk based on the previous ones + + + for (var i = 0; i < hunks.length; i++) { + var hunk = hunks[i], + maxLine = lines.length - hunk.oldLines, + localOffset = 0, + toPos = offset + hunk.oldStart - 1; + var iterator = distanceIterator(toPos, minLine, maxLine); + + for (; localOffset !== undefined; localOffset = iterator()) { + if (hunkFits(hunk, toPos + localOffset)) { + hunk.offset = offset += localOffset; + break; + } + } + + if (localOffset === undefined) { + return false; + } // Set lower text limit to end of the current hunk, so next ones don't try + // to fit over already patched text + + + minLine = hunk.offset + hunk.oldStart + hunk.oldLines; + } // Apply patch hunks + + + var diffOffset = 0; + + for (var _i = 0; _i < hunks.length; _i++) { + var _hunk = hunks[_i], + _toPos = _hunk.oldStart + _hunk.offset + diffOffset - 1; + + diffOffset += _hunk.newLines - _hunk.oldLines; + + for (var j = 0; j < _hunk.lines.length; j++) { + var line = _hunk.lines[j], + operation = line.length > 0 ? line[0] : ' ', + content = line.length > 0 ? line.substr(1) : line, + delimiter = _hunk.linedelimiters[j]; + + if (operation === ' ') { + _toPos++; + } else if (operation === '-') { + lines.splice(_toPos, 1); + delimiters.splice(_toPos, 1); + /* istanbul ignore else */ + } else if (operation === '+') { + lines.splice(_toPos, 0, content); + delimiters.splice(_toPos, 0, delimiter); + _toPos++; + } else if (operation === '\\') { + var previousOperation = _hunk.lines[j - 1] ? _hunk.lines[j - 1][0] : null; + + if (previousOperation === '+') { + removeEOFNL = true; + } else if (previousOperation === '-') { + addEOFNL = true; + } + } + } + } // Handle EOFNL insertion/removal + + + if (removeEOFNL) { + while (!lines[lines.length - 1]) { + lines.pop(); + delimiters.pop(); + } + } else if (addEOFNL) { + lines.push(''); + delimiters.push('\n'); + } + + for (var _k = 0; _k < lines.length - 1; _k++) { + lines[_k] = lines[_k] + delimiters[_k]; + } + + return lines.join(''); + } // Wrapper that supports multiple file patches via callbacks. + + + function applyPatches(uniDiff, options) { + if (typeof uniDiff === 'string') { + uniDiff = parsePatch(uniDiff); + } + + var currentIndex = 0; + + function processIndex() { + var index = uniDiff[currentIndex++]; + + if (!index) { + return options.complete(); + } + + options.loadFile(index, function (err, data) { + if (err) { + return options.complete(err); + } + + var updatedContent = applyPatch(data, index, options); + options.patched(index, updatedContent, function (err) { + if (err) { + return options.complete(err); + } + + processIndex(); + }); + }); + } + + processIndex(); + } + + function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) { + if (!options) { + options = {}; + } + + if (typeof options.context === 'undefined') { + options.context = 4; + } + + var diff = diffLines(oldStr, newStr, options); + diff.push({ + value: '', + lines: [] + }); // Append an empty value to make cleanup easier + + function contextLines(lines) { + return lines.map(function (entry) { + return ' ' + entry; + }); + } + + var hunks = []; + var oldRangeStart = 0, + newRangeStart = 0, + curRange = [], + oldLine = 1, + newLine = 1; + + var _loop = function _loop(i) { + var current = diff[i], + lines = current.lines || current.value.replace(/\n$/, '').split('\n'); + current.lines = lines; + + if (current.added || current.removed) { + var _curRange; // If we have previous context, start with that + + + if (!oldRangeStart) { + var prev = diff[i - 1]; + oldRangeStart = oldLine; + newRangeStart = newLine; + + if (prev) { + curRange = options.context > 0 ? contextLines(prev.lines.slice(-options.context)) : []; + oldRangeStart -= curRange.length; + newRangeStart -= curRange.length; + } + } // Output our changes + + + (_curRange = curRange).push.apply(_curRange, _toConsumableArray(lines.map(function (entry) { + return (current.added ? '+' : '-') + entry; + }))); // Track the updated file position + + + if (current.added) { + newLine += lines.length; + } else { + oldLine += lines.length; + } + } else { + // Identical context lines. Track line changes + if (oldRangeStart) { + // Close out any changes that have been output (or join overlapping) + if (lines.length <= options.context * 2 && i < diff.length - 2) { + var _curRange2; // Overlapping + + + (_curRange2 = curRange).push.apply(_curRange2, _toConsumableArray(contextLines(lines))); + } else { + var _curRange3; // end the range and output + + + var contextSize = Math.min(lines.length, options.context); + + (_curRange3 = curRange).push.apply(_curRange3, _toConsumableArray(contextLines(lines.slice(0, contextSize)))); + + var hunk = { + oldStart: oldRangeStart, + oldLines: oldLine - oldRangeStart + contextSize, + newStart: newRangeStart, + newLines: newLine - newRangeStart + contextSize, + lines: curRange + }; + + if (i >= diff.length - 2 && lines.length <= options.context) { + // EOF is inside this hunk + var oldEOFNewline = /\n$/.test(oldStr); + var newEOFNewline = /\n$/.test(newStr); + var noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines; + + if (!oldEOFNewline && noNlBeforeAdds && oldStr.length > 0) { + // special case: old has no eol and no trailing context; no-nl can end up before adds + // however, if the old file is empty, do not output the no-nl line + curRange.splice(hunk.oldLines, 0, '\\ No newline at end of file'); + } + + if (!oldEOFNewline && !noNlBeforeAdds || !newEOFNewline) { + curRange.push('\\ No newline at end of file'); + } + } + + hunks.push(hunk); + oldRangeStart = 0; + newRangeStart = 0; + curRange = []; + } + } + + oldLine += lines.length; + newLine += lines.length; + } + }; + + for (var i = 0; i < diff.length; i++) { + _loop(i); + } + + return { + oldFileName: oldFileName, + newFileName: newFileName, + oldHeader: oldHeader, + newHeader: newHeader, + hunks: hunks + }; + } + + function formatPatch(diff) { + var ret = []; + + if (diff.oldFileName == diff.newFileName) { + ret.push('Index: ' + diff.oldFileName); + } + + ret.push('==================================================================='); + ret.push('--- ' + diff.oldFileName + (typeof diff.oldHeader === 'undefined' ? '' : '\t' + diff.oldHeader)); + ret.push('+++ ' + diff.newFileName + (typeof diff.newHeader === 'undefined' ? '' : '\t' + diff.newHeader)); + + for (var i = 0; i < diff.hunks.length; i++) { + var hunk = diff.hunks[i]; // Unified Diff Format quirk: If the chunk size is 0, + // the first number is one lower than one would expect. + // https://www.artima.com/weblogs/viewpost.jsp?thread=164293 + + if (hunk.oldLines === 0) { + hunk.oldStart -= 1; + } + + if (hunk.newLines === 0) { + hunk.newStart -= 1; + } + + ret.push('@@ -' + hunk.oldStart + ',' + hunk.oldLines + ' +' + hunk.newStart + ',' + hunk.newLines + ' @@'); + ret.push.apply(ret, hunk.lines); + } + + return ret.join('\n') + '\n'; + } + + function createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) { + return formatPatch(structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options)); + } + + function createPatch(fileName, oldStr, newStr, oldHeader, newHeader, options) { + return createTwoFilesPatch(fileName, fileName, oldStr, newStr, oldHeader, newHeader, options); + } + + function arrayEqual(a, b) { + if (a.length !== b.length) { + return false; + } + + return arrayStartsWith(a, b); + } + + function arrayStartsWith(array, start) { + if (start.length > array.length) { + return false; + } + + for (var i = 0; i < start.length; i++) { + if (start[i] !== array[i]) { + return false; + } + } + + return true; + } + + function calcLineCount(hunk) { + var _calcOldNewLineCount = calcOldNewLineCount(hunk.lines), + oldLines = _calcOldNewLineCount.oldLines, + newLines = _calcOldNewLineCount.newLines; + + if (oldLines !== undefined) { + hunk.oldLines = oldLines; + } else { + delete hunk.oldLines; + } + + if (newLines !== undefined) { + hunk.newLines = newLines; + } else { + delete hunk.newLines; + } + } + + function merge(mine, theirs, base) { + mine = loadPatch(mine, base); + theirs = loadPatch(theirs, base); + var ret = {}; // For index we just let it pass through as it doesn't have any necessary meaning. + // Leaving sanity checks on this to the API consumer that may know more about the + // meaning in their own context. + + if (mine.index || theirs.index) { + ret.index = mine.index || theirs.index; + } + + if (mine.newFileName || theirs.newFileName) { + if (!fileNameChanged(mine)) { + // No header or no change in ours, use theirs (and ours if theirs does not exist) + ret.oldFileName = theirs.oldFileName || mine.oldFileName; + ret.newFileName = theirs.newFileName || mine.newFileName; + ret.oldHeader = theirs.oldHeader || mine.oldHeader; + ret.newHeader = theirs.newHeader || mine.newHeader; + } else if (!fileNameChanged(theirs)) { + // No header or no change in theirs, use ours + ret.oldFileName = mine.oldFileName; + ret.newFileName = mine.newFileName; + ret.oldHeader = mine.oldHeader; + ret.newHeader = mine.newHeader; + } else { + // Both changed... figure it out + ret.oldFileName = selectField(ret, mine.oldFileName, theirs.oldFileName); + ret.newFileName = selectField(ret, mine.newFileName, theirs.newFileName); + ret.oldHeader = selectField(ret, mine.oldHeader, theirs.oldHeader); + ret.newHeader = selectField(ret, mine.newHeader, theirs.newHeader); + } + } + + ret.hunks = []; + var mineIndex = 0, + theirsIndex = 0, + mineOffset = 0, + theirsOffset = 0; + + while (mineIndex < mine.hunks.length || theirsIndex < theirs.hunks.length) { + var mineCurrent = mine.hunks[mineIndex] || { + oldStart: Infinity + }, + theirsCurrent = theirs.hunks[theirsIndex] || { + oldStart: Infinity + }; + + if (hunkBefore(mineCurrent, theirsCurrent)) { + // This patch does not overlap with any of the others, yay. + ret.hunks.push(cloneHunk(mineCurrent, mineOffset)); + mineIndex++; + theirsOffset += mineCurrent.newLines - mineCurrent.oldLines; + } else if (hunkBefore(theirsCurrent, mineCurrent)) { + // This patch does not overlap with any of the others, yay. + ret.hunks.push(cloneHunk(theirsCurrent, theirsOffset)); + theirsIndex++; + mineOffset += theirsCurrent.newLines - theirsCurrent.oldLines; + } else { + // Overlap, merge as best we can + var mergedHunk = { + oldStart: Math.min(mineCurrent.oldStart, theirsCurrent.oldStart), + oldLines: 0, + newStart: Math.min(mineCurrent.newStart + mineOffset, theirsCurrent.oldStart + theirsOffset), + newLines: 0, + lines: [] + }; + mergeLines(mergedHunk, mineCurrent.oldStart, mineCurrent.lines, theirsCurrent.oldStart, theirsCurrent.lines); + theirsIndex++; + mineIndex++; + ret.hunks.push(mergedHunk); + } + } + + return ret; + } + + function loadPatch(param, base) { + if (typeof param === 'string') { + if (/^@@/m.test(param) || /^Index:/m.test(param)) { + return parsePatch(param)[0]; + } + + if (!base) { + throw new Error('Must provide a base reference or pass in a patch'); + } + + return structuredPatch(undefined, undefined, base, param); + } + + return param; + } + + function fileNameChanged(patch) { + return patch.newFileName && patch.newFileName !== patch.oldFileName; + } + + function selectField(index, mine, theirs) { + if (mine === theirs) { + return mine; + } else { + index.conflict = true; + return { + mine: mine, + theirs: theirs + }; + } + } + + function hunkBefore(test, check) { + return test.oldStart < check.oldStart && test.oldStart + test.oldLines < check.oldStart; + } + + function cloneHunk(hunk, offset) { + return { + oldStart: hunk.oldStart, + oldLines: hunk.oldLines, + newStart: hunk.newStart + offset, + newLines: hunk.newLines, + lines: hunk.lines + }; + } + + function mergeLines(hunk, mineOffset, mineLines, theirOffset, theirLines) { + // This will generally result in a conflicted hunk, but there are cases where the context + // is the only overlap where we can successfully merge the content here. + var mine = { + offset: mineOffset, + lines: mineLines, + index: 0 + }, + their = { + offset: theirOffset, + lines: theirLines, + index: 0 + }; // Handle any leading content + + insertLeading(hunk, mine, their); + insertLeading(hunk, their, mine); // Now in the overlap content. Scan through and select the best changes from each. + + while (mine.index < mine.lines.length && their.index < their.lines.length) { + var mineCurrent = mine.lines[mine.index], + theirCurrent = their.lines[their.index]; + + if ((mineCurrent[0] === '-' || mineCurrent[0] === '+') && (theirCurrent[0] === '-' || theirCurrent[0] === '+')) { + // Both modified ... + mutualChange(hunk, mine, their); + } else if (mineCurrent[0] === '+' && theirCurrent[0] === ' ') { + var _hunk$lines; // Mine inserted + + + (_hunk$lines = hunk.lines).push.apply(_hunk$lines, _toConsumableArray(collectChange(mine))); + } else if (theirCurrent[0] === '+' && mineCurrent[0] === ' ') { + var _hunk$lines2; // Theirs inserted + + + (_hunk$lines2 = hunk.lines).push.apply(_hunk$lines2, _toConsumableArray(collectChange(their))); + } else if (mineCurrent[0] === '-' && theirCurrent[0] === ' ') { + // Mine removed or edited + removal(hunk, mine, their); + } else if (theirCurrent[0] === '-' && mineCurrent[0] === ' ') { + // Their removed or edited + removal(hunk, their, mine, true); + } else if (mineCurrent === theirCurrent) { + // Context identity + hunk.lines.push(mineCurrent); + mine.index++; + their.index++; + } else { + // Context mismatch + conflict(hunk, collectChange(mine), collectChange(their)); + } + } // Now push anything that may be remaining + + + insertTrailing(hunk, mine); + insertTrailing(hunk, their); + calcLineCount(hunk); + } + + function mutualChange(hunk, mine, their) { + var myChanges = collectChange(mine), + theirChanges = collectChange(their); + + if (allRemoves(myChanges) && allRemoves(theirChanges)) { + // Special case for remove changes that are supersets of one another + if (arrayStartsWith(myChanges, theirChanges) && skipRemoveSuperset(their, myChanges, myChanges.length - theirChanges.length)) { + var _hunk$lines3; + + (_hunk$lines3 = hunk.lines).push.apply(_hunk$lines3, _toConsumableArray(myChanges)); + + return; + } else if (arrayStartsWith(theirChanges, myChanges) && skipRemoveSuperset(mine, theirChanges, theirChanges.length - myChanges.length)) { + var _hunk$lines4; + + (_hunk$lines4 = hunk.lines).push.apply(_hunk$lines4, _toConsumableArray(theirChanges)); + + return; + } + } else if (arrayEqual(myChanges, theirChanges)) { + var _hunk$lines5; + + (_hunk$lines5 = hunk.lines).push.apply(_hunk$lines5, _toConsumableArray(myChanges)); + + return; + } + + conflict(hunk, myChanges, theirChanges); + } + + function removal(hunk, mine, their, swap) { + var myChanges = collectChange(mine), + theirChanges = collectContext(their, myChanges); + + if (theirChanges.merged) { + var _hunk$lines6; + + (_hunk$lines6 = hunk.lines).push.apply(_hunk$lines6, _toConsumableArray(theirChanges.merged)); + } else { + conflict(hunk, swap ? theirChanges : myChanges, swap ? myChanges : theirChanges); + } + } + + function conflict(hunk, mine, their) { + hunk.conflict = true; + hunk.lines.push({ + conflict: true, + mine: mine, + theirs: their + }); + } + + function insertLeading(hunk, insert, their) { + while (insert.offset < their.offset && insert.index < insert.lines.length) { + var line = insert.lines[insert.index++]; + hunk.lines.push(line); + insert.offset++; + } + } + + function insertTrailing(hunk, insert) { + while (insert.index < insert.lines.length) { + var line = insert.lines[insert.index++]; + hunk.lines.push(line); + } + } + + function collectChange(state) { + var ret = [], + operation = state.lines[state.index][0]; + + while (state.index < state.lines.length) { + var line = state.lines[state.index]; // Group additions that are immediately after subtractions and treat them as one "atomic" modify change. + + if (operation === '-' && line[0] === '+') { + operation = '+'; + } + + if (operation === line[0]) { + ret.push(line); + state.index++; + } else { + break; + } + } + + return ret; + } + + function collectContext(state, matchChanges) { + var changes = [], + merged = [], + matchIndex = 0, + contextChanges = false, + conflicted = false; + + while (matchIndex < matchChanges.length && state.index < state.lines.length) { + var change = state.lines[state.index], + match = matchChanges[matchIndex]; // Once we've hit our add, then we are done + + if (match[0] === '+') { + break; + } + + contextChanges = contextChanges || change[0] !== ' '; + merged.push(match); + matchIndex++; // Consume any additions in the other block as a conflict to attempt + // to pull in the remaining context after this + + if (change[0] === '+') { + conflicted = true; + + while (change[0] === '+') { + changes.push(change); + change = state.lines[++state.index]; + } + } + + if (match.substr(1) === change.substr(1)) { + changes.push(change); + state.index++; + } else { + conflicted = true; + } + } + + if ((matchChanges[matchIndex] || '')[0] === '+' && contextChanges) { + conflicted = true; + } + + if (conflicted) { + return changes; + } + + while (matchIndex < matchChanges.length) { + merged.push(matchChanges[matchIndex++]); + } + + return { + merged: merged, + changes: changes + }; + } + + function allRemoves(changes) { + return changes.reduce(function (prev, change) { + return prev && change[0] === '-'; + }, true); + } + + function skipRemoveSuperset(state, removeChanges, delta) { + for (var i = 0; i < delta; i++) { + var changeContent = removeChanges[removeChanges.length - delta + i].substr(1); + + if (state.lines[state.index + i] !== ' ' + changeContent) { + return false; + } + } + + state.index += delta; + return true; + } + + function calcOldNewLineCount(lines) { + var oldLines = 0; + var newLines = 0; + lines.forEach(function (line) { + if (typeof line !== 'string') { + var myCount = calcOldNewLineCount(line.mine); + var theirCount = calcOldNewLineCount(line.theirs); + + if (oldLines !== undefined) { + if (myCount.oldLines === theirCount.oldLines) { + oldLines += myCount.oldLines; + } else { + oldLines = undefined; + } + } + + if (newLines !== undefined) { + if (myCount.newLines === theirCount.newLines) { + newLines += myCount.newLines; + } else { + newLines = undefined; + } + } + } else { + if (newLines !== undefined && (line[0] === '+' || line[0] === ' ')) { + newLines++; + } + + if (oldLines !== undefined && (line[0] === '-' || line[0] === ' ')) { + oldLines++; + } + } + }); + return { + oldLines: oldLines, + newLines: newLines + }; + } // See: http://code.google.com/p/google-diff-match-patch/wiki/API + + + function convertChangesToDMP(changes) { + var ret = [], + change, + operation; + + for (var i = 0; i < changes.length; i++) { + change = changes[i]; + + if (change.added) { + operation = 1; + } else if (change.removed) { + operation = -1; + } else { + operation = 0; + } + + ret.push([operation, change.value]); + } + + return ret; + } + + function convertChangesToXML(changes) { + var ret = []; + + for (var i = 0; i < changes.length; i++) { + var change = changes[i]; + + if (change.added) { + ret.push('<ins>'); + } else if (change.removed) { + ret.push('<del>'); + } + + ret.push(escapeHTML(change.value)); + + if (change.added) { + ret.push('</ins>'); + } else if (change.removed) { + ret.push('</del>'); + } + } + + return ret.join(''); + } + + function escapeHTML(s) { + var n = s; + n = n.replace(/&/g, '&'); + n = n.replace(/</g, '<'); + n = n.replace(/>/g, '>'); + n = n.replace(/"/g, '"'); + return n; + } + + exports.Diff = Diff; + exports.applyPatch = applyPatch; + exports.applyPatches = applyPatches; + exports.canonicalize = canonicalize; + exports.convertChangesToDMP = convertChangesToDMP; + exports.convertChangesToXML = convertChangesToXML; + exports.createPatch = createPatch; + exports.createTwoFilesPatch = createTwoFilesPatch; + exports.diffArrays = diffArrays; + exports.diffChars = diffChars; + exports.diffCss = diffCss; + exports.diffJson = diffJson; + exports.diffLines = diffLines; + exports.diffSentences = diffSentences; + exports.diffTrimmedLines = diffTrimmedLines; + exports.diffWords = diffWords; + exports.diffWordsWithSpace = diffWordsWithSpace; + exports.merge = merge; + exports.parsePatch = parsePatch; + exports.structuredPatch = structuredPatch; + Object.defineProperty(exports, '__esModule', { + value: true + }); + }); + }); + + /** + * Helpers. + */ + var s$1 = 1000; + var m$1 = s$1 * 60; + var h$1 = m$1 * 60; + var d$1 = h$1 * 24; + var w$1 = d$1 * 7; + var y$1 = d$1 * 365.25; + /** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + + var ms$1 = function ms(val, options) { + options = options || {}; + + var type = _typeof(val); + + if (type === 'string' && val.length > 0) { + return parse$1(val); + } else if (type === 'number' && isFinite(val)) { + return options["long"] ? fmtLong$1(val) : fmtShort$1(val); + } + + throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val)); + }; + /** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + + + function parse$1(str) { + str = String(str); + + if (str.length > 100) { + return; + } + + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str); + + if (!match) { + return; + } + + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y$1; + + case 'weeks': + case 'week': + case 'w': + return n * w$1; + + case 'days': + case 'day': + case 'd': + return n * d$1; + + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h$1; + + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m$1; + + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s$1; + + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + + default: + return undefined; + } + } + /** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + + + function fmtShort$1(ms) { + var msAbs = Math.abs(ms); + + if (msAbs >= d$1) { + return Math.round(ms / d$1) + 'd'; + } + + if (msAbs >= h$1) { + return Math.round(ms / h$1) + 'h'; + } + + if (msAbs >= m$1) { + return Math.round(ms / m$1) + 'm'; + } + + if (msAbs >= s$1) { + return Math.round(ms / s$1) + 's'; + } + + return ms + 'ms'; + } + /** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + + + function fmtLong$1(ms) { + var msAbs = Math.abs(ms); + + if (msAbs >= d$1) { + return plural$1(ms, msAbs, d$1, 'day'); + } + + if (msAbs >= h$1) { + return plural$1(ms, msAbs, h$1, 'hour'); + } + + if (msAbs >= m$1) { + return plural$1(ms, msAbs, m$1, 'minute'); + } + + if (msAbs >= s$1) { + return plural$1(ms, msAbs, s$1, 'second'); + } + + return ms + ' ms'; + } + /** + * Pluralization helper. + */ + + + function plural$1(ms, msAbs, n, name) { + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); + } + + var freezing = !fails(function () { + // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing + return Object.isExtensible(Object.preventExtensions({})); + }); + + var internalMetadata = createCommonjsModule(function (module) { + var defineProperty = objectDefineProperty.f; + + + + var METADATA = uid('meta'); + var id = 0; + + // eslint-disable-next-line es/no-object-isextensible -- safe + var isExtensible = Object.isExtensible || function () { + return true; + }; + + var setMetadata = function (it) { + defineProperty(it, METADATA, { value: { + objectID: 'O' + id++, // object ID + weakData: {} // weak collections IDs + } }); + }; + + var fastKey = function (it, create) { + // return a primitive with prefix + if (!isObject$1(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if (!has$1(it, METADATA)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return 'F'; + // not necessary to add metadata + if (!create) return 'E'; + // add missing metadata + setMetadata(it); + // return object ID + } return it[METADATA].objectID; + }; + + var getWeakData = function (it, create) { + if (!has$1(it, METADATA)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return true; + // not necessary to add metadata + if (!create) return false; + // add missing metadata + setMetadata(it); + // return the store of weak collections IDs + } return it[METADATA].weakData; + }; + + // add metadata on freeze-family methods calling + var onFreeze = function (it) { + if (freezing && meta.REQUIRED && isExtensible(it) && !has$1(it, METADATA)) setMetadata(it); + return it; + }; + + var meta = module.exports = { + REQUIRED: false, + fastKey: fastKey, + getWeakData: getWeakData, + onFreeze: onFreeze + }; + + hiddenKeys$1[METADATA] = true; + }); + + var onFreeze = internalMetadata.onFreeze; + + // eslint-disable-next-line es/no-object-freeze -- safe + var $freeze = Object.freeze; + var FAILS_ON_PRIMITIVES = fails(function () { $freeze(1); }); + + // `Object.freeze` method + // https://tc39.es/ecma262/#sec-object.freeze + _export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !freezing }, { + freeze: function freeze(it) { + return $freeze && isObject$1(it) ? $freeze(onFreeze(it)) : it; + } + }); + + var collection = function (CONSTRUCTOR_NAME, wrapper, common) { + var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1; + var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1; + var ADDER = IS_MAP ? 'set' : 'add'; + var NativeConstructor = global_1[CONSTRUCTOR_NAME]; + var NativePrototype = NativeConstructor && NativeConstructor.prototype; + var Constructor = NativeConstructor; + var exported = {}; + + var fixMethod = function (KEY) { + var nativeMethod = NativePrototype[KEY]; + redefine(NativePrototype, KEY, + KEY == 'add' ? function add(value) { + nativeMethod.call(this, value === 0 ? 0 : value); + return this; + } : KEY == 'delete' ? function (key) { + return IS_WEAK && !isObject$1(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key); + } : KEY == 'get' ? function get(key) { + return IS_WEAK && !isObject$1(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key); + } : KEY == 'has' ? function has(key) { + return IS_WEAK && !isObject$1(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key); + } : function set(key, value) { + nativeMethod.call(this, key === 0 ? 0 : key, value); + return this; + } + ); + }; + + var REPLACE = isForced_1( + CONSTRUCTOR_NAME, + typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () { + new NativeConstructor().entries().next(); + })) + ); + + if (REPLACE) { + // create collection constructor + Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); + internalMetadata.REQUIRED = true; + } else if (isForced_1(CONSTRUCTOR_NAME, true)) { + var instance = new Constructor(); + // early implementations not supports chaining + var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; + // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false + var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); + // most early implementations doesn't supports iterables, most modern - not close it correctly + // eslint-disable-next-line no-new -- required for testing + var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); }); + // for early implementations -0 and +0 not the same + var BUGGY_ZERO = !IS_WEAK && fails(function () { + // V8 ~ Chromium 42- fails only with 5+ elements + var $instance = new NativeConstructor(); + var index = 5; + while (index--) $instance[ADDER](index, index); + return !$instance.has(-0); + }); + + if (!ACCEPT_ITERABLES) { + Constructor = wrapper(function (dummy, iterable) { + anInstance(dummy, Constructor, CONSTRUCTOR_NAME); + var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor); + if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + return that; + }); + Constructor.prototype = NativePrototype; + NativePrototype.constructor = Constructor; + } + + if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { + fixMethod('delete'); + fixMethod('has'); + IS_MAP && fixMethod('get'); + } + + if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); + + // weak collections should not contains .clear method + if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear; + } + + exported[CONSTRUCTOR_NAME] = Constructor; + _export({ global: true, forced: Constructor != NativeConstructor }, exported); + + setToStringTag(Constructor, CONSTRUCTOR_NAME); + + if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); + + return Constructor; + }; + + var defineProperty = objectDefineProperty.f; + + + + + + + + + var fastKey = internalMetadata.fastKey; + + + var setInternalState = internalState.set; + var internalStateGetterFor = internalState.getterFor; + + var collectionStrong = { + getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { + var C = wrapper(function (that, iterable) { + anInstance(that, C, CONSTRUCTOR_NAME); + setInternalState(that, { + type: CONSTRUCTOR_NAME, + index: objectCreate(null), + first: undefined, + last: undefined, + size: 0 + }); + if (!descriptors) that.size = 0; + if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + }); + + var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); + + var define = function (that, key, value) { + var state = getInternalState(that); + var entry = getEntry(that, key); + var previous, index; + // change existing entry + if (entry) { + entry.value = value; + // create new entry + } else { + state.last = entry = { + index: index = fastKey(key, true), + key: key, + value: value, + previous: previous = state.last, + next: undefined, + removed: false + }; + if (!state.first) state.first = entry; + if (previous) previous.next = entry; + if (descriptors) state.size++; + else that.size++; + // add to index + if (index !== 'F') state.index[index] = entry; + } return that; + }; + + var getEntry = function (that, key) { + var state = getInternalState(that); + // fast case + var index = fastKey(key); + var entry; + if (index !== 'F') return state.index[index]; + // frozen object case + for (entry = state.first; entry; entry = entry.next) { + if (entry.key == key) return entry; + } + }; + + redefineAll(C.prototype, { + // `{ Map, Set }.prototype.clear()` methods + // https://tc39.es/ecma262/#sec-map.prototype.clear + // https://tc39.es/ecma262/#sec-set.prototype.clear + clear: function clear() { + var that = this; + var state = getInternalState(that); + var data = state.index; + var entry = state.first; + while (entry) { + entry.removed = true; + if (entry.previous) entry.previous = entry.previous.next = undefined; + delete data[entry.index]; + entry = entry.next; + } + state.first = state.last = undefined; + if (descriptors) state.size = 0; + else that.size = 0; + }, + // `{ Map, Set }.prototype.delete(key)` methods + // https://tc39.es/ecma262/#sec-map.prototype.delete + // https://tc39.es/ecma262/#sec-set.prototype.delete + 'delete': function (key) { + var that = this; + var state = getInternalState(that); + var entry = getEntry(that, key); + if (entry) { + var next = entry.next; + var prev = entry.previous; + delete state.index[entry.index]; + entry.removed = true; + if (prev) prev.next = next; + if (next) next.previous = prev; + if (state.first == entry) state.first = next; + if (state.last == entry) state.last = prev; + if (descriptors) state.size--; + else that.size--; + } return !!entry; + }, + // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods + // https://tc39.es/ecma262/#sec-map.prototype.foreach + // https://tc39.es/ecma262/#sec-set.prototype.foreach + forEach: function forEach(callbackfn /* , that = undefined */) { + var state = getInternalState(this); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var entry; + while (entry = entry ? entry.next : state.first) { + boundFunction(entry.value, entry.key, this); + // revert to the last existing entry + while (entry && entry.removed) entry = entry.previous; + } + }, + // `{ Map, Set}.prototype.has(key)` methods + // https://tc39.es/ecma262/#sec-map.prototype.has + // https://tc39.es/ecma262/#sec-set.prototype.has + has: function has(key) { + return !!getEntry(this, key); + } + }); + + redefineAll(C.prototype, IS_MAP ? { + // `Map.prototype.get(key)` method + // https://tc39.es/ecma262/#sec-map.prototype.get + get: function get(key) { + var entry = getEntry(this, key); + return entry && entry.value; + }, + // `Map.prototype.set(key, value)` method + // https://tc39.es/ecma262/#sec-map.prototype.set + set: function set(key, value) { + return define(this, key === 0 ? 0 : key, value); + } + } : { + // `Set.prototype.add(value)` method + // https://tc39.es/ecma262/#sec-set.prototype.add + add: function add(value) { + return define(this, value = value === 0 ? 0 : value, value); + } + }); + if (descriptors) defineProperty(C.prototype, 'size', { + get: function () { + return getInternalState(this).size; + } + }); + return C; + }, + setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) { + var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator'; + var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); + var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); + // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods + // https://tc39.es/ecma262/#sec-map.prototype.entries + // https://tc39.es/ecma262/#sec-map.prototype.keys + // https://tc39.es/ecma262/#sec-map.prototype.values + // https://tc39.es/ecma262/#sec-map.prototype-@@iterator + // https://tc39.es/ecma262/#sec-set.prototype.entries + // https://tc39.es/ecma262/#sec-set.prototype.keys + // https://tc39.es/ecma262/#sec-set.prototype.values + // https://tc39.es/ecma262/#sec-set.prototype-@@iterator + defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) { + setInternalState(this, { + type: ITERATOR_NAME, + target: iterated, + state: getInternalCollectionState(iterated), + kind: kind, + last: undefined + }); + }, function () { + var state = getInternalIteratorState(this); + var kind = state.kind; + var entry = state.last; + // revert to the last existing entry + while (entry && entry.removed) entry = entry.previous; + // get next entry + if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { + // or finish the iteration + state.target = undefined; + return { value: undefined, done: true }; + } + // return step by kind + if (kind == 'keys') return { value: entry.key, done: false }; + if (kind == 'values') return { value: entry.value, done: false }; + return { value: [entry.key, entry.value], done: false }; + }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); + + // `{ Map, Set }.prototype[@@species]` accessors + // https://tc39.es/ecma262/#sec-get-map-@@species + // https://tc39.es/ecma262/#sec-get-set-@@species + setSpecies(CONSTRUCTOR_NAME); + } + }; + + // `Set` constructor + // https://tc39.es/ecma262/#sec-set-objects + collection('Set', function (init) { + return function Set() { return init(this, arguments.length ? arguments[0] : undefined); }; + }, collectionStrong); + + var browser$2 = true; + + // This alphabet uses `A-Za-z0-9_-` symbols. The genetic algorithm helped + // optimize the gzip compression for this alphabet. + var urlAlphabet = 'ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW'; + + var customAlphabet = function customAlphabet(alphabet, size) { + return function () { + var id = ''; // A compact alternative for `for (var i = 0; i < step; i++)`. + + var i = size; + + while (i--) { + // `| 0` is more compact and faster than `Math.floor()`. + id += alphabet[Math.random() * alphabet.length | 0]; + } + + return id; + }; + }; + + var nanoid = function nanoid() { + var size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 21; + var id = ''; // A compact alternative for `for (var i = 0; i < step; i++)`. + + var i = size; + + while (i--) { + // `| 0` is more compact and faster than `Math.floor()`. + id += urlAlphabet[Math.random() * 64 | 0]; + } + + return id; + }; + + var nonSecure = /*#__PURE__*/Object.freeze({ + __proto__: null, + nanoid: nanoid, + customAlphabet: customAlphabet + }); + + var he = createCommonjsModule(function (module, exports) { + + (function (root) { + // Detect free variables `exports`. + var freeExports = exports; // Detect free variable `module`. + + var freeModule = module && module.exports == freeExports && module; // Detect free variable `global`, from Node.js or Browserified code, + // and use it as `root`. + + var freeGlobal = _typeof(commonjsGlobal) == 'object' && commonjsGlobal; + + if (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal) { + root = freeGlobal; + } + /*--------------------------------------------------------------------------*/ + // All astral symbols. + + + var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; // All ASCII symbols (not just printable ASCII) except those listed in the + // first column of the overrides table. + // https://html.spec.whatwg.org/multipage/syntax.html#table-charref-overrides + + var regexAsciiWhitelist = /[\x01-\x7F]/g; // All BMP symbols that are not ASCII newlines, printable ASCII symbols, or + // code points listed in the first column of the overrides table on + // https://html.spec.whatwg.org/multipage/syntax.html#table-charref-overrides. + + var regexBmpWhitelist = /[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g; + var regexEncodeNonAscii = /<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g; + var encodeMap = { + '\xAD': 'shy', + "\u200C": 'zwnj', + "\u200D": 'zwj', + "\u200E": 'lrm', + "\u2063": 'ic', + "\u2062": 'it', + "\u2061": 'af', + "\u200F": 'rlm', + "\u200B": 'ZeroWidthSpace', + "\u2060": 'NoBreak', + "\u0311": 'DownBreve', + "\u20DB": 'tdot', + "\u20DC": 'DotDot', + '\t': 'Tab', + '\n': 'NewLine', + "\u2008": 'puncsp', + "\u205F": 'MediumSpace', + "\u2009": 'thinsp', + "\u200A": 'hairsp', + "\u2004": 'emsp13', + "\u2002": 'ensp', + "\u2005": 'emsp14', + "\u2003": 'emsp', + "\u2007": 'numsp', + '\xA0': 'nbsp', + "\u205F\u200A": 'ThickSpace', + "\u203E": 'oline', + '_': 'lowbar', + "\u2010": 'dash', + "\u2013": 'ndash', + "\u2014": 'mdash', + "\u2015": 'horbar', + ',': 'comma', + ';': 'semi', + "\u204F": 'bsemi', + ':': 'colon', + "\u2A74": 'Colone', + '!': 'excl', + '\xA1': 'iexcl', + '?': 'quest', + '\xBF': 'iquest', + '.': 'period', + "\u2025": 'nldr', + "\u2026": 'mldr', + '\xB7': 'middot', + '\'': 'apos', + "\u2018": 'lsquo', + "\u2019": 'rsquo', + "\u201A": 'sbquo', + "\u2039": 'lsaquo', + "\u203A": 'rsaquo', + '"': 'quot', + "\u201C": 'ldquo', + "\u201D": 'rdquo', + "\u201E": 'bdquo', + '\xAB': 'laquo', + '\xBB': 'raquo', + '(': 'lpar', + ')': 'rpar', + '[': 'lsqb', + ']': 'rsqb', + '{': 'lcub', + '}': 'rcub', + "\u2308": 'lceil', + "\u2309": 'rceil', + "\u230A": 'lfloor', + "\u230B": 'rfloor', + "\u2985": 'lopar', + "\u2986": 'ropar', + "\u298B": 'lbrke', + "\u298C": 'rbrke', + "\u298D": 'lbrkslu', + "\u298E": 'rbrksld', + "\u298F": 'lbrksld', + "\u2990": 'rbrkslu', + "\u2991": 'langd', + "\u2992": 'rangd', + "\u2993": 'lparlt', + "\u2994": 'rpargt', + "\u2995": 'gtlPar', + "\u2996": 'ltrPar', + "\u27E6": 'lobrk', + "\u27E7": 'robrk', + "\u27E8": 'lang', + "\u27E9": 'rang', + "\u27EA": 'Lang', + "\u27EB": 'Rang', + "\u27EC": 'loang', + "\u27ED": 'roang', + "\u2772": 'lbbrk', + "\u2773": 'rbbrk', + "\u2016": 'Vert', + '\xA7': 'sect', + '\xB6': 'para', + '@': 'commat', + '*': 'ast', + '/': 'sol', + 'undefined': null, + '&': 'amp', + '#': 'num', + '%': 'percnt', + "\u2030": 'permil', + "\u2031": 'pertenk', + "\u2020": 'dagger', + "\u2021": 'Dagger', + "\u2022": 'bull', + "\u2043": 'hybull', + "\u2032": 'prime', + "\u2033": 'Prime', + "\u2034": 'tprime', + "\u2057": 'qprime', + "\u2035": 'bprime', + "\u2041": 'caret', + '`': 'grave', + '\xB4': 'acute', + "\u02DC": 'tilde', + '^': 'Hat', + '\xAF': 'macr', + "\u02D8": 'breve', + "\u02D9": 'dot', + '\xA8': 'die', + "\u02DA": 'ring', + "\u02DD": 'dblac', + '\xB8': 'cedil', + "\u02DB": 'ogon', + "\u02C6": 'circ', + "\u02C7": 'caron', + '\xB0': 'deg', + '\xA9': 'copy', + '\xAE': 'reg', + "\u2117": 'copysr', + "\u2118": 'wp', + "\u211E": 'rx', + "\u2127": 'mho', + "\u2129": 'iiota', + "\u2190": 'larr', + "\u219A": 'nlarr', + "\u2192": 'rarr', + "\u219B": 'nrarr', + "\u2191": 'uarr', + "\u2193": 'darr', + "\u2194": 'harr', + "\u21AE": 'nharr', + "\u2195": 'varr', + "\u2196": 'nwarr', + "\u2197": 'nearr', + "\u2198": 'searr', + "\u2199": 'swarr', + "\u219D": 'rarrw', + "\u219D\u0338": 'nrarrw', + "\u219E": 'Larr', + "\u219F": 'Uarr', + "\u21A0": 'Rarr', + "\u21A1": 'Darr', + "\u21A2": 'larrtl', + "\u21A3": 'rarrtl', + "\u21A4": 'mapstoleft', + "\u21A5": 'mapstoup', + "\u21A6": 'map', + "\u21A7": 'mapstodown', + "\u21A9": 'larrhk', + "\u21AA": 'rarrhk', + "\u21AB": 'larrlp', + "\u21AC": 'rarrlp', + "\u21AD": 'harrw', + "\u21B0": 'lsh', + "\u21B1": 'rsh', + "\u21B2": 'ldsh', + "\u21B3": 'rdsh', + "\u21B5": 'crarr', + "\u21B6": 'cularr', + "\u21B7": 'curarr', + "\u21BA": 'olarr', + "\u21BB": 'orarr', + "\u21BC": 'lharu', + "\u21BD": 'lhard', + "\u21BE": 'uharr', + "\u21BF": 'uharl', + "\u21C0": 'rharu', + "\u21C1": 'rhard', + "\u21C2": 'dharr', + "\u21C3": 'dharl', + "\u21C4": 'rlarr', + "\u21C5": 'udarr', + "\u21C6": 'lrarr', + "\u21C7": 'llarr', + "\u21C8": 'uuarr', + "\u21C9": 'rrarr', + "\u21CA": 'ddarr', + "\u21CB": 'lrhar', + "\u21CC": 'rlhar', + "\u21D0": 'lArr', + "\u21CD": 'nlArr', + "\u21D1": 'uArr', + "\u21D2": 'rArr', + "\u21CF": 'nrArr', + "\u21D3": 'dArr', + "\u21D4": 'iff', + "\u21CE": 'nhArr', + "\u21D5": 'vArr', + "\u21D6": 'nwArr', + "\u21D7": 'neArr', + "\u21D8": 'seArr', + "\u21D9": 'swArr', + "\u21DA": 'lAarr', + "\u21DB": 'rAarr', + "\u21DD": 'zigrarr', + "\u21E4": 'larrb', + "\u21E5": 'rarrb', + "\u21F5": 'duarr', + "\u21FD": 'loarr', + "\u21FE": 'roarr', + "\u21FF": 'hoarr', + "\u2200": 'forall', + "\u2201": 'comp', + "\u2202": 'part', + "\u2202\u0338": 'npart', + "\u2203": 'exist', + "\u2204": 'nexist', + "\u2205": 'empty', + "\u2207": 'Del', + "\u2208": 'in', + "\u2209": 'notin', + "\u220B": 'ni', + "\u220C": 'notni', + "\u03F6": 'bepsi', + "\u220F": 'prod', + "\u2210": 'coprod', + "\u2211": 'sum', + '+': 'plus', + '\xB1': 'pm', + '\xF7': 'div', + '\xD7': 'times', + '<': 'lt', + "\u226E": 'nlt', + "<\u20D2": 'nvlt', + '=': 'equals', + "\u2260": 'ne', + "=\u20E5": 'bne', + "\u2A75": 'Equal', + '>': 'gt', + "\u226F": 'ngt', + ">\u20D2": 'nvgt', + '\xAC': 'not', + '|': 'vert', + '\xA6': 'brvbar', + "\u2212": 'minus', + "\u2213": 'mp', + "\u2214": 'plusdo', + "\u2044": 'frasl', + "\u2216": 'setmn', + "\u2217": 'lowast', + "\u2218": 'compfn', + "\u221A": 'Sqrt', + "\u221D": 'prop', + "\u221E": 'infin', + "\u221F": 'angrt', + "\u2220": 'ang', + "\u2220\u20D2": 'nang', + "\u2221": 'angmsd', + "\u2222": 'angsph', + "\u2223": 'mid', + "\u2224": 'nmid', + "\u2225": 'par', + "\u2226": 'npar', + "\u2227": 'and', + "\u2228": 'or', + "\u2229": 'cap', + "\u2229\uFE00": 'caps', + "\u222A": 'cup', + "\u222A\uFE00": 'cups', + "\u222B": 'int', + "\u222C": 'Int', + "\u222D": 'tint', + "\u2A0C": 'qint', + "\u222E": 'oint', + "\u222F": 'Conint', + "\u2230": 'Cconint', + "\u2231": 'cwint', + "\u2232": 'cwconint', + "\u2233": 'awconint', + "\u2234": 'there4', + "\u2235": 'becaus', + "\u2236": 'ratio', + "\u2237": 'Colon', + "\u2238": 'minusd', + "\u223A": 'mDDot', + "\u223B": 'homtht', + "\u223C": 'sim', + "\u2241": 'nsim', + "\u223C\u20D2": 'nvsim', + "\u223D": 'bsim', + "\u223D\u0331": 'race', + "\u223E": 'ac', + "\u223E\u0333": 'acE', + "\u223F": 'acd', + "\u2240": 'wr', + "\u2242": 'esim', + "\u2242\u0338": 'nesim', + "\u2243": 'sime', + "\u2244": 'nsime', + "\u2245": 'cong', + "\u2247": 'ncong', + "\u2246": 'simne', + "\u2248": 'ap', + "\u2249": 'nap', + "\u224A": 'ape', + "\u224B": 'apid', + "\u224B\u0338": 'napid', + "\u224C": 'bcong', + "\u224D": 'CupCap', + "\u226D": 'NotCupCap', + "\u224D\u20D2": 'nvap', + "\u224E": 'bump', + "\u224E\u0338": 'nbump', + "\u224F": 'bumpe', + "\u224F\u0338": 'nbumpe', + "\u2250": 'doteq', + "\u2250\u0338": 'nedot', + "\u2251": 'eDot', + "\u2252": 'efDot', + "\u2253": 'erDot', + "\u2254": 'colone', + "\u2255": 'ecolon', + "\u2256": 'ecir', + "\u2257": 'cire', + "\u2259": 'wedgeq', + "\u225A": 'veeeq', + "\u225C": 'trie', + "\u225F": 'equest', + "\u2261": 'equiv', + "\u2262": 'nequiv', + "\u2261\u20E5": 'bnequiv', + "\u2264": 'le', + "\u2270": 'nle', + "\u2264\u20D2": 'nvle', + "\u2265": 'ge', + "\u2271": 'nge', + "\u2265\u20D2": 'nvge', + "\u2266": 'lE', + "\u2266\u0338": 'nlE', + "\u2267": 'gE', + "\u2267\u0338": 'ngE', + "\u2268\uFE00": 'lvnE', + "\u2268": 'lnE', + "\u2269": 'gnE', + "\u2269\uFE00": 'gvnE', + "\u226A": 'll', + "\u226A\u0338": 'nLtv', + "\u226A\u20D2": 'nLt', + "\u226B": 'gg', + "\u226B\u0338": 'nGtv', + "\u226B\u20D2": 'nGt', + "\u226C": 'twixt', + "\u2272": 'lsim', + "\u2274": 'nlsim', + "\u2273": 'gsim', + "\u2275": 'ngsim', + "\u2276": 'lg', + "\u2278": 'ntlg', + "\u2277": 'gl', + "\u2279": 'ntgl', + "\u227A": 'pr', + "\u2280": 'npr', + "\u227B": 'sc', + "\u2281": 'nsc', + "\u227C": 'prcue', + "\u22E0": 'nprcue', + "\u227D": 'sccue', + "\u22E1": 'nsccue', + "\u227E": 'prsim', + "\u227F": 'scsim', + "\u227F\u0338": 'NotSucceedsTilde', + "\u2282": 'sub', + "\u2284": 'nsub', + "\u2282\u20D2": 'vnsub', + "\u2283": 'sup', + "\u2285": 'nsup', + "\u2283\u20D2": 'vnsup', + "\u2286": 'sube', + "\u2288": 'nsube', + "\u2287": 'supe', + "\u2289": 'nsupe', + "\u228A\uFE00": 'vsubne', + "\u228A": 'subne', + "\u228B\uFE00": 'vsupne', + "\u228B": 'supne', + "\u228D": 'cupdot', + "\u228E": 'uplus', + "\u228F": 'sqsub', + "\u228F\u0338": 'NotSquareSubset', + "\u2290": 'sqsup', + "\u2290\u0338": 'NotSquareSuperset', + "\u2291": 'sqsube', + "\u22E2": 'nsqsube', + "\u2292": 'sqsupe', + "\u22E3": 'nsqsupe', + "\u2293": 'sqcap', + "\u2293\uFE00": 'sqcaps', + "\u2294": 'sqcup', + "\u2294\uFE00": 'sqcups', + "\u2295": 'oplus', + "\u2296": 'ominus', + "\u2297": 'otimes', + "\u2298": 'osol', + "\u2299": 'odot', + "\u229A": 'ocir', + "\u229B": 'oast', + "\u229D": 'odash', + "\u229E": 'plusb', + "\u229F": 'minusb', + "\u22A0": 'timesb', + "\u22A1": 'sdotb', + "\u22A2": 'vdash', + "\u22AC": 'nvdash', + "\u22A3": 'dashv', + "\u22A4": 'top', + "\u22A5": 'bot', + "\u22A7": 'models', + "\u22A8": 'vDash', + "\u22AD": 'nvDash', + "\u22A9": 'Vdash', + "\u22AE": 'nVdash', + "\u22AA": 'Vvdash', + "\u22AB": 'VDash', + "\u22AF": 'nVDash', + "\u22B0": 'prurel', + "\u22B2": 'vltri', + "\u22EA": 'nltri', + "\u22B3": 'vrtri', + "\u22EB": 'nrtri', + "\u22B4": 'ltrie', + "\u22EC": 'nltrie', + "\u22B4\u20D2": 'nvltrie', + "\u22B5": 'rtrie', + "\u22ED": 'nrtrie', + "\u22B5\u20D2": 'nvrtrie', + "\u22B6": 'origof', + "\u22B7": 'imof', + "\u22B8": 'mumap', + "\u22B9": 'hercon', + "\u22BA": 'intcal', + "\u22BB": 'veebar', + "\u22BD": 'barvee', + "\u22BE": 'angrtvb', + "\u22BF": 'lrtri', + "\u22C0": 'Wedge', + "\u22C1": 'Vee', + "\u22C2": 'xcap', + "\u22C3": 'xcup', + "\u22C4": 'diam', + "\u22C5": 'sdot', + "\u22C6": 'Star', + "\u22C7": 'divonx', + "\u22C8": 'bowtie', + "\u22C9": 'ltimes', + "\u22CA": 'rtimes', + "\u22CB": 'lthree', + "\u22CC": 'rthree', + "\u22CD": 'bsime', + "\u22CE": 'cuvee', + "\u22CF": 'cuwed', + "\u22D0": 'Sub', + "\u22D1": 'Sup', + "\u22D2": 'Cap', + "\u22D3": 'Cup', + "\u22D4": 'fork', + "\u22D5": 'epar', + "\u22D6": 'ltdot', + "\u22D7": 'gtdot', + "\u22D8": 'Ll', + "\u22D8\u0338": 'nLl', + "\u22D9": 'Gg', + "\u22D9\u0338": 'nGg', + "\u22DA\uFE00": 'lesg', + "\u22DA": 'leg', + "\u22DB": 'gel', + "\u22DB\uFE00": 'gesl', + "\u22DE": 'cuepr', + "\u22DF": 'cuesc', + "\u22E6": 'lnsim', + "\u22E7": 'gnsim', + "\u22E8": 'prnsim', + "\u22E9": 'scnsim', + "\u22EE": 'vellip', + "\u22EF": 'ctdot', + "\u22F0": 'utdot', + "\u22F1": 'dtdot', + "\u22F2": 'disin', + "\u22F3": 'isinsv', + "\u22F4": 'isins', + "\u22F5": 'isindot', + "\u22F5\u0338": 'notindot', + "\u22F6": 'notinvc', + "\u22F7": 'notinvb', + "\u22F9": 'isinE', + "\u22F9\u0338": 'notinE', + "\u22FA": 'nisd', + "\u22FB": 'xnis', + "\u22FC": 'nis', + "\u22FD": 'notnivc', + "\u22FE": 'notnivb', + "\u2305": 'barwed', + "\u2306": 'Barwed', + "\u230C": 'drcrop', + "\u230D": 'dlcrop', + "\u230E": 'urcrop', + "\u230F": 'ulcrop', + "\u2310": 'bnot', + "\u2312": 'profline', + "\u2313": 'profsurf', + "\u2315": 'telrec', + "\u2316": 'target', + "\u231C": 'ulcorn', + "\u231D": 'urcorn', + "\u231E": 'dlcorn', + "\u231F": 'drcorn', + "\u2322": 'frown', + "\u2323": 'smile', + "\u232D": 'cylcty', + "\u232E": 'profalar', + "\u2336": 'topbot', + "\u233D": 'ovbar', + "\u233F": 'solbar', + "\u237C": 'angzarr', + "\u23B0": 'lmoust', + "\u23B1": 'rmoust', + "\u23B4": 'tbrk', + "\u23B5": 'bbrk', + "\u23B6": 'bbrktbrk', + "\u23DC": 'OverParenthesis', + "\u23DD": 'UnderParenthesis', + "\u23DE": 'OverBrace', + "\u23DF": 'UnderBrace', + "\u23E2": 'trpezium', + "\u23E7": 'elinters', + "\u2423": 'blank', + "\u2500": 'boxh', + "\u2502": 'boxv', + "\u250C": 'boxdr', + "\u2510": 'boxdl', + "\u2514": 'boxur', + "\u2518": 'boxul', + "\u251C": 'boxvr', + "\u2524": 'boxvl', + "\u252C": 'boxhd', + "\u2534": 'boxhu', + "\u253C": 'boxvh', + "\u2550": 'boxH', + "\u2551": 'boxV', + "\u2552": 'boxdR', + "\u2553": 'boxDr', + "\u2554": 'boxDR', + "\u2555": 'boxdL', + "\u2556": 'boxDl', + "\u2557": 'boxDL', + "\u2558": 'boxuR', + "\u2559": 'boxUr', + "\u255A": 'boxUR', + "\u255B": 'boxuL', + "\u255C": 'boxUl', + "\u255D": 'boxUL', + "\u255E": 'boxvR', + "\u255F": 'boxVr', + "\u2560": 'boxVR', + "\u2561": 'boxvL', + "\u2562": 'boxVl', + "\u2563": 'boxVL', + "\u2564": 'boxHd', + "\u2565": 'boxhD', + "\u2566": 'boxHD', + "\u2567": 'boxHu', + "\u2568": 'boxhU', + "\u2569": 'boxHU', + "\u256A": 'boxvH', + "\u256B": 'boxVh', + "\u256C": 'boxVH', + "\u2580": 'uhblk', + "\u2584": 'lhblk', + "\u2588": 'block', + "\u2591": 'blk14', + "\u2592": 'blk12', + "\u2593": 'blk34', + "\u25A1": 'squ', + "\u25AA": 'squf', + "\u25AB": 'EmptyVerySmallSquare', + "\u25AD": 'rect', + "\u25AE": 'marker', + "\u25B1": 'fltns', + "\u25B3": 'xutri', + "\u25B4": 'utrif', + "\u25B5": 'utri', + "\u25B8": 'rtrif', + "\u25B9": 'rtri', + "\u25BD": 'xdtri', + "\u25BE": 'dtrif', + "\u25BF": 'dtri', + "\u25C2": 'ltrif', + "\u25C3": 'ltri', + "\u25CA": 'loz', + "\u25CB": 'cir', + "\u25EC": 'tridot', + "\u25EF": 'xcirc', + "\u25F8": 'ultri', + "\u25F9": 'urtri', + "\u25FA": 'lltri', + "\u25FB": 'EmptySmallSquare', + "\u25FC": 'FilledSmallSquare', + "\u2605": 'starf', + "\u2606": 'star', + "\u260E": 'phone', + "\u2640": 'female', + "\u2642": 'male', + "\u2660": 'spades', + "\u2663": 'clubs', + "\u2665": 'hearts', + "\u2666": 'diams', + "\u266A": 'sung', + "\u2713": 'check', + "\u2717": 'cross', + "\u2720": 'malt', + "\u2736": 'sext', + "\u2758": 'VerticalSeparator', + "\u27C8": 'bsolhsub', + "\u27C9": 'suphsol', + "\u27F5": 'xlarr', + "\u27F6": 'xrarr', + "\u27F7": 'xharr', + "\u27F8": 'xlArr', + "\u27F9": 'xrArr', + "\u27FA": 'xhArr', + "\u27FC": 'xmap', + "\u27FF": 'dzigrarr', + "\u2902": 'nvlArr', + "\u2903": 'nvrArr', + "\u2904": 'nvHarr', + "\u2905": 'Map', + "\u290C": 'lbarr', + "\u290D": 'rbarr', + "\u290E": 'lBarr', + "\u290F": 'rBarr', + "\u2910": 'RBarr', + "\u2911": 'DDotrahd', + "\u2912": 'UpArrowBar', + "\u2913": 'DownArrowBar', + "\u2916": 'Rarrtl', + "\u2919": 'latail', + "\u291A": 'ratail', + "\u291B": 'lAtail', + "\u291C": 'rAtail', + "\u291D": 'larrfs', + "\u291E": 'rarrfs', + "\u291F": 'larrbfs', + "\u2920": 'rarrbfs', + "\u2923": 'nwarhk', + "\u2924": 'nearhk', + "\u2925": 'searhk', + "\u2926": 'swarhk', + "\u2927": 'nwnear', + "\u2928": 'toea', + "\u2929": 'tosa', + "\u292A": 'swnwar', + "\u2933": 'rarrc', + "\u2933\u0338": 'nrarrc', + "\u2935": 'cudarrr', + "\u2936": 'ldca', + "\u2937": 'rdca', + "\u2938": 'cudarrl', + "\u2939": 'larrpl', + "\u293C": 'curarrm', + "\u293D": 'cularrp', + "\u2945": 'rarrpl', + "\u2948": 'harrcir', + "\u2949": 'Uarrocir', + "\u294A": 'lurdshar', + "\u294B": 'ldrushar', + "\u294E": 'LeftRightVector', + "\u294F": 'RightUpDownVector', + "\u2950": 'DownLeftRightVector', + "\u2951": 'LeftUpDownVector', + "\u2952": 'LeftVectorBar', + "\u2953": 'RightVectorBar', + "\u2954": 'RightUpVectorBar', + "\u2955": 'RightDownVectorBar', + "\u2956": 'DownLeftVectorBar', + "\u2957": 'DownRightVectorBar', + "\u2958": 'LeftUpVectorBar', + "\u2959": 'LeftDownVectorBar', + "\u295A": 'LeftTeeVector', + "\u295B": 'RightTeeVector', + "\u295C": 'RightUpTeeVector', + "\u295D": 'RightDownTeeVector', + "\u295E": 'DownLeftTeeVector', + "\u295F": 'DownRightTeeVector', + "\u2960": 'LeftUpTeeVector', + "\u2961": 'LeftDownTeeVector', + "\u2962": 'lHar', + "\u2963": 'uHar', + "\u2964": 'rHar', + "\u2965": 'dHar', + "\u2966": 'luruhar', + "\u2967": 'ldrdhar', + "\u2968": 'ruluhar', + "\u2969": 'rdldhar', + "\u296A": 'lharul', + "\u296B": 'llhard', + "\u296C": 'rharul', + "\u296D": 'lrhard', + "\u296E": 'udhar', + "\u296F": 'duhar', + "\u2970": 'RoundImplies', + "\u2971": 'erarr', + "\u2972": 'simrarr', + "\u2973": 'larrsim', + "\u2974": 'rarrsim', + "\u2975": 'rarrap', + "\u2976": 'ltlarr', + "\u2978": 'gtrarr', + "\u2979": 'subrarr', + "\u297B": 'suplarr', + "\u297C": 'lfisht', + "\u297D": 'rfisht', + "\u297E": 'ufisht', + "\u297F": 'dfisht', + "\u299A": 'vzigzag', + "\u299C": 'vangrt', + "\u299D": 'angrtvbd', + "\u29A4": 'ange', + "\u29A5": 'range', + "\u29A6": 'dwangle', + "\u29A7": 'uwangle', + "\u29A8": 'angmsdaa', + "\u29A9": 'angmsdab', + "\u29AA": 'angmsdac', + "\u29AB": 'angmsdad', + "\u29AC": 'angmsdae', + "\u29AD": 'angmsdaf', + "\u29AE": 'angmsdag', + "\u29AF": 'angmsdah', + "\u29B0": 'bemptyv', + "\u29B1": 'demptyv', + "\u29B2": 'cemptyv', + "\u29B3": 'raemptyv', + "\u29B4": 'laemptyv', + "\u29B5": 'ohbar', + "\u29B6": 'omid', + "\u29B7": 'opar', + "\u29B9": 'operp', + "\u29BB": 'olcross', + "\u29BC": 'odsold', + "\u29BE": 'olcir', + "\u29BF": 'ofcir', + "\u29C0": 'olt', + "\u29C1": 'ogt', + "\u29C2": 'cirscir', + "\u29C3": 'cirE', + "\u29C4": 'solb', + "\u29C5": 'bsolb', + "\u29C9": 'boxbox', + "\u29CD": 'trisb', + "\u29CE": 'rtriltri', + "\u29CF": 'LeftTriangleBar', + "\u29CF\u0338": 'NotLeftTriangleBar', + "\u29D0": 'RightTriangleBar', + "\u29D0\u0338": 'NotRightTriangleBar', + "\u29DC": 'iinfin', + "\u29DD": 'infintie', + "\u29DE": 'nvinfin', + "\u29E3": 'eparsl', + "\u29E4": 'smeparsl', + "\u29E5": 'eqvparsl', + "\u29EB": 'lozf', + "\u29F4": 'RuleDelayed', + "\u29F6": 'dsol', + "\u2A00": 'xodot', + "\u2A01": 'xoplus', + "\u2A02": 'xotime', + "\u2A04": 'xuplus', + "\u2A06": 'xsqcup', + "\u2A0D": 'fpartint', + "\u2A10": 'cirfnint', + "\u2A11": 'awint', + "\u2A12": 'rppolint', + "\u2A13": 'scpolint', + "\u2A14": 'npolint', + "\u2A15": 'pointint', + "\u2A16": 'quatint', + "\u2A17": 'intlarhk', + "\u2A22": 'pluscir', + "\u2A23": 'plusacir', + "\u2A24": 'simplus', + "\u2A25": 'plusdu', + "\u2A26": 'plussim', + "\u2A27": 'plustwo', + "\u2A29": 'mcomma', + "\u2A2A": 'minusdu', + "\u2A2D": 'loplus', + "\u2A2E": 'roplus', + "\u2A2F": 'Cross', + "\u2A30": 'timesd', + "\u2A31": 'timesbar', + "\u2A33": 'smashp', + "\u2A34": 'lotimes', + "\u2A35": 'rotimes', + "\u2A36": 'otimesas', + "\u2A37": 'Otimes', + "\u2A38": 'odiv', + "\u2A39": 'triplus', + "\u2A3A": 'triminus', + "\u2A3B": 'tritime', + "\u2A3C": 'iprod', + "\u2A3F": 'amalg', + "\u2A40": 'capdot', + "\u2A42": 'ncup', + "\u2A43": 'ncap', + "\u2A44": 'capand', + "\u2A45": 'cupor', + "\u2A46": 'cupcap', + "\u2A47": 'capcup', + "\u2A48": 'cupbrcap', + "\u2A49": 'capbrcup', + "\u2A4A": 'cupcup', + "\u2A4B": 'capcap', + "\u2A4C": 'ccups', + "\u2A4D": 'ccaps', + "\u2A50": 'ccupssm', + "\u2A53": 'And', + "\u2A54": 'Or', + "\u2A55": 'andand', + "\u2A56": 'oror', + "\u2A57": 'orslope', + "\u2A58": 'andslope', + "\u2A5A": 'andv', + "\u2A5B": 'orv', + "\u2A5C": 'andd', + "\u2A5D": 'ord', + "\u2A5F": 'wedbar', + "\u2A66": 'sdote', + "\u2A6A": 'simdot', + "\u2A6D": 'congdot', + "\u2A6D\u0338": 'ncongdot', + "\u2A6E": 'easter', + "\u2A6F": 'apacir', + "\u2A70": 'apE', + "\u2A70\u0338": 'napE', + "\u2A71": 'eplus', + "\u2A72": 'pluse', + "\u2A73": 'Esim', + "\u2A77": 'eDDot', + "\u2A78": 'equivDD', + "\u2A79": 'ltcir', + "\u2A7A": 'gtcir', + "\u2A7B": 'ltquest', + "\u2A7C": 'gtquest', + "\u2A7D": 'les', + "\u2A7D\u0338": 'nles', + "\u2A7E": 'ges', + "\u2A7E\u0338": 'nges', + "\u2A7F": 'lesdot', + "\u2A80": 'gesdot', + "\u2A81": 'lesdoto', + "\u2A82": 'gesdoto', + "\u2A83": 'lesdotor', + "\u2A84": 'gesdotol', + "\u2A85": 'lap', + "\u2A86": 'gap', + "\u2A87": 'lne', + "\u2A88": 'gne', + "\u2A89": 'lnap', + "\u2A8A": 'gnap', + "\u2A8B": 'lEg', + "\u2A8C": 'gEl', + "\u2A8D": 'lsime', + "\u2A8E": 'gsime', + "\u2A8F": 'lsimg', + "\u2A90": 'gsiml', + "\u2A91": 'lgE', + "\u2A92": 'glE', + "\u2A93": 'lesges', + "\u2A94": 'gesles', + "\u2A95": 'els', + "\u2A96": 'egs', + "\u2A97": 'elsdot', + "\u2A98": 'egsdot', + "\u2A99": 'el', + "\u2A9A": 'eg', + "\u2A9D": 'siml', + "\u2A9E": 'simg', + "\u2A9F": 'simlE', + "\u2AA0": 'simgE', + "\u2AA1": 'LessLess', + "\u2AA1\u0338": 'NotNestedLessLess', + "\u2AA2": 'GreaterGreater', + "\u2AA2\u0338": 'NotNestedGreaterGreater', + "\u2AA4": 'glj', + "\u2AA5": 'gla', + "\u2AA6": 'ltcc', + "\u2AA7": 'gtcc', + "\u2AA8": 'lescc', + "\u2AA9": 'gescc', + "\u2AAA": 'smt', + "\u2AAB": 'lat', + "\u2AAC": 'smte', + "\u2AAC\uFE00": 'smtes', + "\u2AAD": 'late', + "\u2AAD\uFE00": 'lates', + "\u2AAE": 'bumpE', + "\u2AAF": 'pre', + "\u2AAF\u0338": 'npre', + "\u2AB0": 'sce', + "\u2AB0\u0338": 'nsce', + "\u2AB3": 'prE', + "\u2AB4": 'scE', + "\u2AB5": 'prnE', + "\u2AB6": 'scnE', + "\u2AB7": 'prap', + "\u2AB8": 'scap', + "\u2AB9": 'prnap', + "\u2ABA": 'scnap', + "\u2ABB": 'Pr', + "\u2ABC": 'Sc', + "\u2ABD": 'subdot', + "\u2ABE": 'supdot', + "\u2ABF": 'subplus', + "\u2AC0": 'supplus', + "\u2AC1": 'submult', + "\u2AC2": 'supmult', + "\u2AC3": 'subedot', + "\u2AC4": 'supedot', + "\u2AC5": 'subE', + "\u2AC5\u0338": 'nsubE', + "\u2AC6": 'supE', + "\u2AC6\u0338": 'nsupE', + "\u2AC7": 'subsim', + "\u2AC8": 'supsim', + "\u2ACB\uFE00": 'vsubnE', + "\u2ACB": 'subnE', + "\u2ACC\uFE00": 'vsupnE', + "\u2ACC": 'supnE', + "\u2ACF": 'csub', + "\u2AD0": 'csup', + "\u2AD1": 'csube', + "\u2AD2": 'csupe', + "\u2AD3": 'subsup', + "\u2AD4": 'supsub', + "\u2AD5": 'subsub', + "\u2AD6": 'supsup', + "\u2AD7": 'suphsub', + "\u2AD8": 'supdsub', + "\u2AD9": 'forkv', + "\u2ADA": 'topfork', + "\u2ADB": 'mlcp', + "\u2AE4": 'Dashv', + "\u2AE6": 'Vdashl', + "\u2AE7": 'Barv', + "\u2AE8": 'vBar', + "\u2AE9": 'vBarv', + "\u2AEB": 'Vbar', + "\u2AEC": 'Not', + "\u2AED": 'bNot', + "\u2AEE": 'rnmid', + "\u2AEF": 'cirmid', + "\u2AF0": 'midcir', + "\u2AF1": 'topcir', + "\u2AF2": 'nhpar', + "\u2AF3": 'parsim', + "\u2AFD": 'parsl', + "\u2AFD\u20E5": 'nparsl', + "\u266D": 'flat', + "\u266E": 'natur', + "\u266F": 'sharp', + '\xA4': 'curren', + '\xA2': 'cent', + '$': 'dollar', + '\xA3': 'pound', + '\xA5': 'yen', + "\u20AC": 'euro', + '\xB9': 'sup1', + '\xBD': 'half', + "\u2153": 'frac13', + '\xBC': 'frac14', + "\u2155": 'frac15', + "\u2159": 'frac16', + "\u215B": 'frac18', + '\xB2': 'sup2', + "\u2154": 'frac23', + "\u2156": 'frac25', + '\xB3': 'sup3', + '\xBE': 'frac34', + "\u2157": 'frac35', + "\u215C": 'frac38', + "\u2158": 'frac45', + "\u215A": 'frac56', + "\u215D": 'frac58', + "\u215E": 'frac78', + "\uD835\uDCB6": 'ascr', + "\uD835\uDD52": 'aopf', + "\uD835\uDD1E": 'afr', + "\uD835\uDD38": 'Aopf', + "\uD835\uDD04": 'Afr', + "\uD835\uDC9C": 'Ascr', + '\xAA': 'ordf', + '\xE1': 'aacute', + '\xC1': 'Aacute', + '\xE0': 'agrave', + '\xC0': 'Agrave', + "\u0103": 'abreve', + "\u0102": 'Abreve', + '\xE2': 'acirc', + '\xC2': 'Acirc', + '\xE5': 'aring', + '\xC5': 'angst', + '\xE4': 'auml', + '\xC4': 'Auml', + '\xE3': 'atilde', + '\xC3': 'Atilde', + "\u0105": 'aogon', + "\u0104": 'Aogon', + "\u0101": 'amacr', + "\u0100": 'Amacr', + '\xE6': 'aelig', + '\xC6': 'AElig', + "\uD835\uDCB7": 'bscr', + "\uD835\uDD53": 'bopf', + "\uD835\uDD1F": 'bfr', + "\uD835\uDD39": 'Bopf', + "\u212C": 'Bscr', + "\uD835\uDD05": 'Bfr', + "\uD835\uDD20": 'cfr', + "\uD835\uDCB8": 'cscr', + "\uD835\uDD54": 'copf', + "\u212D": 'Cfr', + "\uD835\uDC9E": 'Cscr', + "\u2102": 'Copf', + "\u0107": 'cacute', + "\u0106": 'Cacute', + "\u0109": 'ccirc', + "\u0108": 'Ccirc', + "\u010D": 'ccaron', + "\u010C": 'Ccaron', + "\u010B": 'cdot', + "\u010A": 'Cdot', + '\xE7': 'ccedil', + '\xC7': 'Ccedil', + "\u2105": 'incare', + "\uD835\uDD21": 'dfr', + "\u2146": 'dd', + "\uD835\uDD55": 'dopf', + "\uD835\uDCB9": 'dscr', + "\uD835\uDC9F": 'Dscr', + "\uD835\uDD07": 'Dfr', + "\u2145": 'DD', + "\uD835\uDD3B": 'Dopf', + "\u010F": 'dcaron', + "\u010E": 'Dcaron', + "\u0111": 'dstrok', + "\u0110": 'Dstrok', + '\xF0': 'eth', + '\xD0': 'ETH', + "\u2147": 'ee', + "\u212F": 'escr', + "\uD835\uDD22": 'efr', + "\uD835\uDD56": 'eopf', + "\u2130": 'Escr', + "\uD835\uDD08": 'Efr', + "\uD835\uDD3C": 'Eopf', + '\xE9': 'eacute', + '\xC9': 'Eacute', + '\xE8': 'egrave', + '\xC8': 'Egrave', + '\xEA': 'ecirc', + '\xCA': 'Ecirc', + "\u011B": 'ecaron', + "\u011A": 'Ecaron', + '\xEB': 'euml', + '\xCB': 'Euml', + "\u0117": 'edot', + "\u0116": 'Edot', + "\u0119": 'eogon', + "\u0118": 'Eogon', + "\u0113": 'emacr', + "\u0112": 'Emacr', + "\uD835\uDD23": 'ffr', + "\uD835\uDD57": 'fopf', + "\uD835\uDCBB": 'fscr', + "\uD835\uDD09": 'Ffr', + "\uD835\uDD3D": 'Fopf', + "\u2131": 'Fscr', + "\uFB00": 'fflig', + "\uFB03": 'ffilig', + "\uFB04": 'ffllig', + "\uFB01": 'filig', + 'fj': 'fjlig', + "\uFB02": 'fllig', + "\u0192": 'fnof', + "\u210A": 'gscr', + "\uD835\uDD58": 'gopf', + "\uD835\uDD24": 'gfr', + "\uD835\uDCA2": 'Gscr', + "\uD835\uDD3E": 'Gopf', + "\uD835\uDD0A": 'Gfr', + "\u01F5": 'gacute', + "\u011F": 'gbreve', + "\u011E": 'Gbreve', + "\u011D": 'gcirc', + "\u011C": 'Gcirc', + "\u0121": 'gdot', + "\u0120": 'Gdot', + "\u0122": 'Gcedil', + "\uD835\uDD25": 'hfr', + "\u210E": 'planckh', + "\uD835\uDCBD": 'hscr', + "\uD835\uDD59": 'hopf', + "\u210B": 'Hscr', + "\u210C": 'Hfr', + "\u210D": 'Hopf', + "\u0125": 'hcirc', + "\u0124": 'Hcirc', + "\u210F": 'hbar', + "\u0127": 'hstrok', + "\u0126": 'Hstrok', + "\uD835\uDD5A": 'iopf', + "\uD835\uDD26": 'ifr', + "\uD835\uDCBE": 'iscr', + "\u2148": 'ii', + "\uD835\uDD40": 'Iopf', + "\u2110": 'Iscr', + "\u2111": 'Im', + '\xED': 'iacute', + '\xCD': 'Iacute', + '\xEC': 'igrave', + '\xCC': 'Igrave', + '\xEE': 'icirc', + '\xCE': 'Icirc', + '\xEF': 'iuml', + '\xCF': 'Iuml', + "\u0129": 'itilde', + "\u0128": 'Itilde', + "\u0130": 'Idot', + "\u012F": 'iogon', + "\u012E": 'Iogon', + "\u012B": 'imacr', + "\u012A": 'Imacr', + "\u0133": 'ijlig', + "\u0132": 'IJlig', + "\u0131": 'imath', + "\uD835\uDCBF": 'jscr', + "\uD835\uDD5B": 'jopf', + "\uD835\uDD27": 'jfr', + "\uD835\uDCA5": 'Jscr', + "\uD835\uDD0D": 'Jfr', + "\uD835\uDD41": 'Jopf', + "\u0135": 'jcirc', + "\u0134": 'Jcirc', + "\u0237": 'jmath', + "\uD835\uDD5C": 'kopf', + "\uD835\uDCC0": 'kscr', + "\uD835\uDD28": 'kfr', + "\uD835\uDCA6": 'Kscr', + "\uD835\uDD42": 'Kopf', + "\uD835\uDD0E": 'Kfr', + "\u0137": 'kcedil', + "\u0136": 'Kcedil', + "\uD835\uDD29": 'lfr', + "\uD835\uDCC1": 'lscr', + "\u2113": 'ell', + "\uD835\uDD5D": 'lopf', + "\u2112": 'Lscr', + "\uD835\uDD0F": 'Lfr', + "\uD835\uDD43": 'Lopf', + "\u013A": 'lacute', + "\u0139": 'Lacute', + "\u013E": 'lcaron', + "\u013D": 'Lcaron', + "\u013C": 'lcedil', + "\u013B": 'Lcedil', + "\u0142": 'lstrok', + "\u0141": 'Lstrok', + "\u0140": 'lmidot', + "\u013F": 'Lmidot', + "\uD835\uDD2A": 'mfr', + "\uD835\uDD5E": 'mopf', + "\uD835\uDCC2": 'mscr', + "\uD835\uDD10": 'Mfr', + "\uD835\uDD44": 'Mopf', + "\u2133": 'Mscr', + "\uD835\uDD2B": 'nfr', + "\uD835\uDD5F": 'nopf', + "\uD835\uDCC3": 'nscr', + "\u2115": 'Nopf', + "\uD835\uDCA9": 'Nscr', + "\uD835\uDD11": 'Nfr', + "\u0144": 'nacute', + "\u0143": 'Nacute', + "\u0148": 'ncaron', + "\u0147": 'Ncaron', + '\xF1': 'ntilde', + '\xD1': 'Ntilde', + "\u0146": 'ncedil', + "\u0145": 'Ncedil', + "\u2116": 'numero', + "\u014B": 'eng', + "\u014A": 'ENG', + "\uD835\uDD60": 'oopf', + "\uD835\uDD2C": 'ofr', + "\u2134": 'oscr', + "\uD835\uDCAA": 'Oscr', + "\uD835\uDD12": 'Ofr', + "\uD835\uDD46": 'Oopf', + '\xBA': 'ordm', + '\xF3': 'oacute', + '\xD3': 'Oacute', + '\xF2': 'ograve', + '\xD2': 'Ograve', + '\xF4': 'ocirc', + '\xD4': 'Ocirc', + '\xF6': 'ouml', + '\xD6': 'Ouml', + "\u0151": 'odblac', + "\u0150": 'Odblac', + '\xF5': 'otilde', + '\xD5': 'Otilde', + '\xF8': 'oslash', + '\xD8': 'Oslash', + "\u014D": 'omacr', + "\u014C": 'Omacr', + "\u0153": 'oelig', + "\u0152": 'OElig', + "\uD835\uDD2D": 'pfr', + "\uD835\uDCC5": 'pscr', + "\uD835\uDD61": 'popf', + "\u2119": 'Popf', + "\uD835\uDD13": 'Pfr', + "\uD835\uDCAB": 'Pscr', + "\uD835\uDD62": 'qopf', + "\uD835\uDD2E": 'qfr', + "\uD835\uDCC6": 'qscr', + "\uD835\uDCAC": 'Qscr', + "\uD835\uDD14": 'Qfr', + "\u211A": 'Qopf', + "\u0138": 'kgreen', + "\uD835\uDD2F": 'rfr', + "\uD835\uDD63": 'ropf', + "\uD835\uDCC7": 'rscr', + "\u211B": 'Rscr', + "\u211C": 'Re', + "\u211D": 'Ropf', + "\u0155": 'racute', + "\u0154": 'Racute', + "\u0159": 'rcaron', + "\u0158": 'Rcaron', + "\u0157": 'rcedil', + "\u0156": 'Rcedil', + "\uD835\uDD64": 'sopf', + "\uD835\uDCC8": 'sscr', + "\uD835\uDD30": 'sfr', + "\uD835\uDD4A": 'Sopf', + "\uD835\uDD16": 'Sfr', + "\uD835\uDCAE": 'Sscr', + "\u24C8": 'oS', + "\u015B": 'sacute', + "\u015A": 'Sacute', + "\u015D": 'scirc', + "\u015C": 'Scirc', + "\u0161": 'scaron', + "\u0160": 'Scaron', + "\u015F": 'scedil', + "\u015E": 'Scedil', + '\xDF': 'szlig', + "\uD835\uDD31": 'tfr', + "\uD835\uDCC9": 'tscr', + "\uD835\uDD65": 'topf', + "\uD835\uDCAF": 'Tscr', + "\uD835\uDD17": 'Tfr', + "\uD835\uDD4B": 'Topf', + "\u0165": 'tcaron', + "\u0164": 'Tcaron', + "\u0163": 'tcedil', + "\u0162": 'Tcedil', + "\u2122": 'trade', + "\u0167": 'tstrok', + "\u0166": 'Tstrok', + "\uD835\uDCCA": 'uscr', + "\uD835\uDD66": 'uopf', + "\uD835\uDD32": 'ufr', + "\uD835\uDD4C": 'Uopf', + "\uD835\uDD18": 'Ufr', + "\uD835\uDCB0": 'Uscr', + '\xFA': 'uacute', + '\xDA': 'Uacute', + '\xF9': 'ugrave', + '\xD9': 'Ugrave', + "\u016D": 'ubreve', + "\u016C": 'Ubreve', + '\xFB': 'ucirc', + '\xDB': 'Ucirc', + "\u016F": 'uring', + "\u016E": 'Uring', + '\xFC': 'uuml', + '\xDC': 'Uuml', + "\u0171": 'udblac', + "\u0170": 'Udblac', + "\u0169": 'utilde', + "\u0168": 'Utilde', + "\u0173": 'uogon', + "\u0172": 'Uogon', + "\u016B": 'umacr', + "\u016A": 'Umacr', + "\uD835\uDD33": 'vfr', + "\uD835\uDD67": 'vopf', + "\uD835\uDCCB": 'vscr', + "\uD835\uDD19": 'Vfr', + "\uD835\uDD4D": 'Vopf', + "\uD835\uDCB1": 'Vscr', + "\uD835\uDD68": 'wopf', + "\uD835\uDCCC": 'wscr', + "\uD835\uDD34": 'wfr', + "\uD835\uDCB2": 'Wscr', + "\uD835\uDD4E": 'Wopf', + "\uD835\uDD1A": 'Wfr', + "\u0175": 'wcirc', + "\u0174": 'Wcirc', + "\uD835\uDD35": 'xfr', + "\uD835\uDCCD": 'xscr', + "\uD835\uDD69": 'xopf', + "\uD835\uDD4F": 'Xopf', + "\uD835\uDD1B": 'Xfr', + "\uD835\uDCB3": 'Xscr', + "\uD835\uDD36": 'yfr', + "\uD835\uDCCE": 'yscr', + "\uD835\uDD6A": 'yopf', + "\uD835\uDCB4": 'Yscr', + "\uD835\uDD1C": 'Yfr', + "\uD835\uDD50": 'Yopf', + '\xFD': 'yacute', + '\xDD': 'Yacute', + "\u0177": 'ycirc', + "\u0176": 'Ycirc', + '\xFF': 'yuml', + "\u0178": 'Yuml', + "\uD835\uDCCF": 'zscr', + "\uD835\uDD37": 'zfr', + "\uD835\uDD6B": 'zopf', + "\u2128": 'Zfr', + "\u2124": 'Zopf', + "\uD835\uDCB5": 'Zscr', + "\u017A": 'zacute', + "\u0179": 'Zacute', + "\u017E": 'zcaron', + "\u017D": 'Zcaron', + "\u017C": 'zdot', + "\u017B": 'Zdot', + "\u01B5": 'imped', + '\xFE': 'thorn', + '\xDE': 'THORN', + "\u0149": 'napos', + "\u03B1": 'alpha', + "\u0391": 'Alpha', + "\u03B2": 'beta', + "\u0392": 'Beta', + "\u03B3": 'gamma', + "\u0393": 'Gamma', + "\u03B4": 'delta', + "\u0394": 'Delta', + "\u03B5": 'epsi', + "\u03F5": 'epsiv', + "\u0395": 'Epsilon', + "\u03DD": 'gammad', + "\u03DC": 'Gammad', + "\u03B6": 'zeta', + "\u0396": 'Zeta', + "\u03B7": 'eta', + "\u0397": 'Eta', + "\u03B8": 'theta', + "\u03D1": 'thetav', + "\u0398": 'Theta', + "\u03B9": 'iota', + "\u0399": 'Iota', + "\u03BA": 'kappa', + "\u03F0": 'kappav', + "\u039A": 'Kappa', + "\u03BB": 'lambda', + "\u039B": 'Lambda', + "\u03BC": 'mu', + '\xB5': 'micro', + "\u039C": 'Mu', + "\u03BD": 'nu', + "\u039D": 'Nu', + "\u03BE": 'xi', + "\u039E": 'Xi', + "\u03BF": 'omicron', + "\u039F": 'Omicron', + "\u03C0": 'pi', + "\u03D6": 'piv', + "\u03A0": 'Pi', + "\u03C1": 'rho', + "\u03F1": 'rhov', + "\u03A1": 'Rho', + "\u03C3": 'sigma', + "\u03A3": 'Sigma', + "\u03C2": 'sigmaf', + "\u03C4": 'tau', + "\u03A4": 'Tau', + "\u03C5": 'upsi', + "\u03A5": 'Upsilon', + "\u03D2": 'Upsi', + "\u03C6": 'phi', + "\u03D5": 'phiv', + "\u03A6": 'Phi', + "\u03C7": 'chi', + "\u03A7": 'Chi', + "\u03C8": 'psi', + "\u03A8": 'Psi', + "\u03C9": 'omega', + "\u03A9": 'ohm', + "\u0430": 'acy', + "\u0410": 'Acy', + "\u0431": 'bcy', + "\u0411": 'Bcy', + "\u0432": 'vcy', + "\u0412": 'Vcy', + "\u0433": 'gcy', + "\u0413": 'Gcy', + "\u0453": 'gjcy', + "\u0403": 'GJcy', + "\u0434": 'dcy', + "\u0414": 'Dcy', + "\u0452": 'djcy', + "\u0402": 'DJcy', + "\u0435": 'iecy', + "\u0415": 'IEcy', + "\u0451": 'iocy', + "\u0401": 'IOcy', + "\u0454": 'jukcy', + "\u0404": 'Jukcy', + "\u0436": 'zhcy', + "\u0416": 'ZHcy', + "\u0437": 'zcy', + "\u0417": 'Zcy', + "\u0455": 'dscy', + "\u0405": 'DScy', + "\u0438": 'icy', + "\u0418": 'Icy', + "\u0456": 'iukcy', + "\u0406": 'Iukcy', + "\u0457": 'yicy', + "\u0407": 'YIcy', + "\u0439": 'jcy', + "\u0419": 'Jcy', + "\u0458": 'jsercy', + "\u0408": 'Jsercy', + "\u043A": 'kcy', + "\u041A": 'Kcy', + "\u045C": 'kjcy', + "\u040C": 'KJcy', + "\u043B": 'lcy', + "\u041B": 'Lcy', + "\u0459": 'ljcy', + "\u0409": 'LJcy', + "\u043C": 'mcy', + "\u041C": 'Mcy', + "\u043D": 'ncy', + "\u041D": 'Ncy', + "\u045A": 'njcy', + "\u040A": 'NJcy', + "\u043E": 'ocy', + "\u041E": 'Ocy', + "\u043F": 'pcy', + "\u041F": 'Pcy', + "\u0440": 'rcy', + "\u0420": 'Rcy', + "\u0441": 'scy', + "\u0421": 'Scy', + "\u0442": 'tcy', + "\u0422": 'Tcy', + "\u045B": 'tshcy', + "\u040B": 'TSHcy', + "\u0443": 'ucy', + "\u0423": 'Ucy', + "\u045E": 'ubrcy', + "\u040E": 'Ubrcy', + "\u0444": 'fcy', + "\u0424": 'Fcy', + "\u0445": 'khcy', + "\u0425": 'KHcy', + "\u0446": 'tscy', + "\u0426": 'TScy', + "\u0447": 'chcy', + "\u0427": 'CHcy', + "\u045F": 'dzcy', + "\u040F": 'DZcy', + "\u0448": 'shcy', + "\u0428": 'SHcy', + "\u0449": 'shchcy', + "\u0429": 'SHCHcy', + "\u044A": 'hardcy', + "\u042A": 'HARDcy', + "\u044B": 'ycy', + "\u042B": 'Ycy', + "\u044C": 'softcy', + "\u042C": 'SOFTcy', + "\u044D": 'ecy', + "\u042D": 'Ecy', + "\u044E": 'yucy', + "\u042E": 'YUcy', + "\u044F": 'yacy', + "\u042F": 'YAcy', + "\u2135": 'aleph', + "\u2136": 'beth', + "\u2137": 'gimel', + "\u2138": 'daleth' + }; + var regexEscape = /["&'<>`]/g; + var escapeMap = { + '"': '"', + '&': '&', + '\'': ''', + '<': '<', + // See https://mathiasbynens.be/notes/ambiguous-ampersands: in HTML, the + // following is not strictly necessary unless it’s part of a tag or an + // unquoted attribute value. We’re only escaping it to support those + // situations, and for XML support. + '>': '>', + // In Internet Explorer ≤ 8, the backtick character can be used + // to break out of (un)quoted attribute values or HTML comments. + // See http://html5sec.org/#102, http://html5sec.org/#108, and + // http://html5sec.org/#133. + '`': '`' + }; + var regexInvalidEntity = /&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/; + var regexInvalidRawCodePoint = /[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/; + var regexDecode = /&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g; + var decodeMap = { + 'aacute': '\xE1', + 'Aacute': '\xC1', + 'abreve': "\u0103", + 'Abreve': "\u0102", + 'ac': "\u223E", + 'acd': "\u223F", + 'acE': "\u223E\u0333", + 'acirc': '\xE2', + 'Acirc': '\xC2', + 'acute': '\xB4', + 'acy': "\u0430", + 'Acy': "\u0410", + 'aelig': '\xE6', + 'AElig': '\xC6', + 'af': "\u2061", + 'afr': "\uD835\uDD1E", + 'Afr': "\uD835\uDD04", + 'agrave': '\xE0', + 'Agrave': '\xC0', + 'alefsym': "\u2135", + 'aleph': "\u2135", + 'alpha': "\u03B1", + 'Alpha': "\u0391", + 'amacr': "\u0101", + 'Amacr': "\u0100", + 'amalg': "\u2A3F", + 'amp': '&', + 'AMP': '&', + 'and': "\u2227", + 'And': "\u2A53", + 'andand': "\u2A55", + 'andd': "\u2A5C", + 'andslope': "\u2A58", + 'andv': "\u2A5A", + 'ang': "\u2220", + 'ange': "\u29A4", + 'angle': "\u2220", + 'angmsd': "\u2221", + 'angmsdaa': "\u29A8", + 'angmsdab': "\u29A9", + 'angmsdac': "\u29AA", + 'angmsdad': "\u29AB", + 'angmsdae': "\u29AC", + 'angmsdaf': "\u29AD", + 'angmsdag': "\u29AE", + 'angmsdah': "\u29AF", + 'angrt': "\u221F", + 'angrtvb': "\u22BE", + 'angrtvbd': "\u299D", + 'angsph': "\u2222", + 'angst': '\xC5', + 'angzarr': "\u237C", + 'aogon': "\u0105", + 'Aogon': "\u0104", + 'aopf': "\uD835\uDD52", + 'Aopf': "\uD835\uDD38", + 'ap': "\u2248", + 'apacir': "\u2A6F", + 'ape': "\u224A", + 'apE': "\u2A70", + 'apid': "\u224B", + 'apos': '\'', + 'ApplyFunction': "\u2061", + 'approx': "\u2248", + 'approxeq': "\u224A", + 'aring': '\xE5', + 'Aring': '\xC5', + 'ascr': "\uD835\uDCB6", + 'Ascr': "\uD835\uDC9C", + 'Assign': "\u2254", + 'ast': '*', + 'asymp': "\u2248", + 'asympeq': "\u224D", + 'atilde': '\xE3', + 'Atilde': '\xC3', + 'auml': '\xE4', + 'Auml': '\xC4', + 'awconint': "\u2233", + 'awint': "\u2A11", + 'backcong': "\u224C", + 'backepsilon': "\u03F6", + 'backprime': "\u2035", + 'backsim': "\u223D", + 'backsimeq': "\u22CD", + 'Backslash': "\u2216", + 'Barv': "\u2AE7", + 'barvee': "\u22BD", + 'barwed': "\u2305", + 'Barwed': "\u2306", + 'barwedge': "\u2305", + 'bbrk': "\u23B5", + 'bbrktbrk': "\u23B6", + 'bcong': "\u224C", + 'bcy': "\u0431", + 'Bcy': "\u0411", + 'bdquo': "\u201E", + 'becaus': "\u2235", + 'because': "\u2235", + 'Because': "\u2235", + 'bemptyv': "\u29B0", + 'bepsi': "\u03F6", + 'bernou': "\u212C", + 'Bernoullis': "\u212C", + 'beta': "\u03B2", + 'Beta': "\u0392", + 'beth': "\u2136", + 'between': "\u226C", + 'bfr': "\uD835\uDD1F", + 'Bfr': "\uD835\uDD05", + 'bigcap': "\u22C2", + 'bigcirc': "\u25EF", + 'bigcup': "\u22C3", + 'bigodot': "\u2A00", + 'bigoplus': "\u2A01", + 'bigotimes': "\u2A02", + 'bigsqcup': "\u2A06", + 'bigstar': "\u2605", + 'bigtriangledown': "\u25BD", + 'bigtriangleup': "\u25B3", + 'biguplus': "\u2A04", + 'bigvee': "\u22C1", + 'bigwedge': "\u22C0", + 'bkarow': "\u290D", + 'blacklozenge': "\u29EB", + 'blacksquare': "\u25AA", + 'blacktriangle': "\u25B4", + 'blacktriangledown': "\u25BE", + 'blacktriangleleft': "\u25C2", + 'blacktriangleright': "\u25B8", + 'blank': "\u2423", + 'blk12': "\u2592", + 'blk14': "\u2591", + 'blk34': "\u2593", + 'block': "\u2588", + 'bne': "=\u20E5", + 'bnequiv': "\u2261\u20E5", + 'bnot': "\u2310", + 'bNot': "\u2AED", + 'bopf': "\uD835\uDD53", + 'Bopf': "\uD835\uDD39", + 'bot': "\u22A5", + 'bottom': "\u22A5", + 'bowtie': "\u22C8", + 'boxbox': "\u29C9", + 'boxdl': "\u2510", + 'boxdL': "\u2555", + 'boxDl': "\u2556", + 'boxDL': "\u2557", + 'boxdr': "\u250C", + 'boxdR': "\u2552", + 'boxDr': "\u2553", + 'boxDR': "\u2554", + 'boxh': "\u2500", + 'boxH': "\u2550", + 'boxhd': "\u252C", + 'boxhD': "\u2565", + 'boxHd': "\u2564", + 'boxHD': "\u2566", + 'boxhu': "\u2534", + 'boxhU': "\u2568", + 'boxHu': "\u2567", + 'boxHU': "\u2569", + 'boxminus': "\u229F", + 'boxplus': "\u229E", + 'boxtimes': "\u22A0", + 'boxul': "\u2518", + 'boxuL': "\u255B", + 'boxUl': "\u255C", + 'boxUL': "\u255D", + 'boxur': "\u2514", + 'boxuR': "\u2558", + 'boxUr': "\u2559", + 'boxUR': "\u255A", + 'boxv': "\u2502", + 'boxV': "\u2551", + 'boxvh': "\u253C", + 'boxvH': "\u256A", + 'boxVh': "\u256B", + 'boxVH': "\u256C", + 'boxvl': "\u2524", + 'boxvL': "\u2561", + 'boxVl': "\u2562", + 'boxVL': "\u2563", + 'boxvr': "\u251C", + 'boxvR': "\u255E", + 'boxVr': "\u255F", + 'boxVR': "\u2560", + 'bprime': "\u2035", + 'breve': "\u02D8", + 'Breve': "\u02D8", + 'brvbar': '\xA6', + 'bscr': "\uD835\uDCB7", + 'Bscr': "\u212C", + 'bsemi': "\u204F", + 'bsim': "\u223D", + 'bsime': "\u22CD", + 'bsol': '\\', + 'bsolb': "\u29C5", + 'bsolhsub': "\u27C8", + 'bull': "\u2022", + 'bullet': "\u2022", + 'bump': "\u224E", + 'bumpe': "\u224F", + 'bumpE': "\u2AAE", + 'bumpeq': "\u224F", + 'Bumpeq': "\u224E", + 'cacute': "\u0107", + 'Cacute': "\u0106", + 'cap': "\u2229", + 'Cap': "\u22D2", + 'capand': "\u2A44", + 'capbrcup': "\u2A49", + 'capcap': "\u2A4B", + 'capcup': "\u2A47", + 'capdot': "\u2A40", + 'CapitalDifferentialD': "\u2145", + 'caps': "\u2229\uFE00", + 'caret': "\u2041", + 'caron': "\u02C7", + 'Cayleys': "\u212D", + 'ccaps': "\u2A4D", + 'ccaron': "\u010D", + 'Ccaron': "\u010C", + 'ccedil': '\xE7', + 'Ccedil': '\xC7', + 'ccirc': "\u0109", + 'Ccirc': "\u0108", + 'Cconint': "\u2230", + 'ccups': "\u2A4C", + 'ccupssm': "\u2A50", + 'cdot': "\u010B", + 'Cdot': "\u010A", + 'cedil': '\xB8', + 'Cedilla': '\xB8', + 'cemptyv': "\u29B2", + 'cent': '\xA2', + 'centerdot': '\xB7', + 'CenterDot': '\xB7', + 'cfr': "\uD835\uDD20", + 'Cfr': "\u212D", + 'chcy': "\u0447", + 'CHcy': "\u0427", + 'check': "\u2713", + 'checkmark': "\u2713", + 'chi': "\u03C7", + 'Chi': "\u03A7", + 'cir': "\u25CB", + 'circ': "\u02C6", + 'circeq': "\u2257", + 'circlearrowleft': "\u21BA", + 'circlearrowright': "\u21BB", + 'circledast': "\u229B", + 'circledcirc': "\u229A", + 'circleddash': "\u229D", + 'CircleDot': "\u2299", + 'circledR': '\xAE', + 'circledS': "\u24C8", + 'CircleMinus': "\u2296", + 'CirclePlus': "\u2295", + 'CircleTimes': "\u2297", + 'cire': "\u2257", + 'cirE': "\u29C3", + 'cirfnint': "\u2A10", + 'cirmid': "\u2AEF", + 'cirscir': "\u29C2", + 'ClockwiseContourIntegral': "\u2232", + 'CloseCurlyDoubleQuote': "\u201D", + 'CloseCurlyQuote': "\u2019", + 'clubs': "\u2663", + 'clubsuit': "\u2663", + 'colon': ':', + 'Colon': "\u2237", + 'colone': "\u2254", + 'Colone': "\u2A74", + 'coloneq': "\u2254", + 'comma': ',', + 'commat': '@', + 'comp': "\u2201", + 'compfn': "\u2218", + 'complement': "\u2201", + 'complexes': "\u2102", + 'cong': "\u2245", + 'congdot': "\u2A6D", + 'Congruent': "\u2261", + 'conint': "\u222E", + 'Conint': "\u222F", + 'ContourIntegral': "\u222E", + 'copf': "\uD835\uDD54", + 'Copf': "\u2102", + 'coprod': "\u2210", + 'Coproduct': "\u2210", + 'copy': '\xA9', + 'COPY': '\xA9', + 'copysr': "\u2117", + 'CounterClockwiseContourIntegral': "\u2233", + 'crarr': "\u21B5", + 'cross': "\u2717", + 'Cross': "\u2A2F", + 'cscr': "\uD835\uDCB8", + 'Cscr': "\uD835\uDC9E", + 'csub': "\u2ACF", + 'csube': "\u2AD1", + 'csup': "\u2AD0", + 'csupe': "\u2AD2", + 'ctdot': "\u22EF", + 'cudarrl': "\u2938", + 'cudarrr': "\u2935", + 'cuepr': "\u22DE", + 'cuesc': "\u22DF", + 'cularr': "\u21B6", + 'cularrp': "\u293D", + 'cup': "\u222A", + 'Cup': "\u22D3", + 'cupbrcap': "\u2A48", + 'cupcap': "\u2A46", + 'CupCap': "\u224D", + 'cupcup': "\u2A4A", + 'cupdot': "\u228D", + 'cupor': "\u2A45", + 'cups': "\u222A\uFE00", + 'curarr': "\u21B7", + 'curarrm': "\u293C", + 'curlyeqprec': "\u22DE", + 'curlyeqsucc': "\u22DF", + 'curlyvee': "\u22CE", + 'curlywedge': "\u22CF", + 'curren': '\xA4', + 'curvearrowleft': "\u21B6", + 'curvearrowright': "\u21B7", + 'cuvee': "\u22CE", + 'cuwed': "\u22CF", + 'cwconint': "\u2232", + 'cwint': "\u2231", + 'cylcty': "\u232D", + 'dagger': "\u2020", + 'Dagger': "\u2021", + 'daleth': "\u2138", + 'darr': "\u2193", + 'dArr': "\u21D3", + 'Darr': "\u21A1", + 'dash': "\u2010", + 'dashv': "\u22A3", + 'Dashv': "\u2AE4", + 'dbkarow': "\u290F", + 'dblac': "\u02DD", + 'dcaron': "\u010F", + 'Dcaron': "\u010E", + 'dcy': "\u0434", + 'Dcy': "\u0414", + 'dd': "\u2146", + 'DD': "\u2145", + 'ddagger': "\u2021", + 'ddarr': "\u21CA", + 'DDotrahd': "\u2911", + 'ddotseq': "\u2A77", + 'deg': '\xB0', + 'Del': "\u2207", + 'delta': "\u03B4", + 'Delta': "\u0394", + 'demptyv': "\u29B1", + 'dfisht': "\u297F", + 'dfr': "\uD835\uDD21", + 'Dfr': "\uD835\uDD07", + 'dHar': "\u2965", + 'dharl': "\u21C3", + 'dharr': "\u21C2", + 'DiacriticalAcute': '\xB4', + 'DiacriticalDot': "\u02D9", + 'DiacriticalDoubleAcute': "\u02DD", + 'DiacriticalGrave': '`', + 'DiacriticalTilde': "\u02DC", + 'diam': "\u22C4", + 'diamond': "\u22C4", + 'Diamond': "\u22C4", + 'diamondsuit': "\u2666", + 'diams': "\u2666", + 'die': '\xA8', + 'DifferentialD': "\u2146", + 'digamma': "\u03DD", + 'disin': "\u22F2", + 'div': '\xF7', + 'divide': '\xF7', + 'divideontimes': "\u22C7", + 'divonx': "\u22C7", + 'djcy': "\u0452", + 'DJcy': "\u0402", + 'dlcorn': "\u231E", + 'dlcrop': "\u230D", + 'dollar': '$', + 'dopf': "\uD835\uDD55", + 'Dopf': "\uD835\uDD3B", + 'dot': "\u02D9", + 'Dot': '\xA8', + 'DotDot': "\u20DC", + 'doteq': "\u2250", + 'doteqdot': "\u2251", + 'DotEqual': "\u2250", + 'dotminus': "\u2238", + 'dotplus': "\u2214", + 'dotsquare': "\u22A1", + 'doublebarwedge': "\u2306", + 'DoubleContourIntegral': "\u222F", + 'DoubleDot': '\xA8', + 'DoubleDownArrow': "\u21D3", + 'DoubleLeftArrow': "\u21D0", + 'DoubleLeftRightArrow': "\u21D4", + 'DoubleLeftTee': "\u2AE4", + 'DoubleLongLeftArrow': "\u27F8", + 'DoubleLongLeftRightArrow': "\u27FA", + 'DoubleLongRightArrow': "\u27F9", + 'DoubleRightArrow': "\u21D2", + 'DoubleRightTee': "\u22A8", + 'DoubleUpArrow': "\u21D1", + 'DoubleUpDownArrow': "\u21D5", + 'DoubleVerticalBar': "\u2225", + 'downarrow': "\u2193", + 'Downarrow': "\u21D3", + 'DownArrow': "\u2193", + 'DownArrowBar': "\u2913", + 'DownArrowUpArrow': "\u21F5", + 'DownBreve': "\u0311", + 'downdownarrows': "\u21CA", + 'downharpoonleft': "\u21C3", + 'downharpoonright': "\u21C2", + 'DownLeftRightVector': "\u2950", + 'DownLeftTeeVector': "\u295E", + 'DownLeftVector': "\u21BD", + 'DownLeftVectorBar': "\u2956", + 'DownRightTeeVector': "\u295F", + 'DownRightVector': "\u21C1", + 'DownRightVectorBar': "\u2957", + 'DownTee': "\u22A4", + 'DownTeeArrow': "\u21A7", + 'drbkarow': "\u2910", + 'drcorn': "\u231F", + 'drcrop': "\u230C", + 'dscr': "\uD835\uDCB9", + 'Dscr': "\uD835\uDC9F", + 'dscy': "\u0455", + 'DScy': "\u0405", + 'dsol': "\u29F6", + 'dstrok': "\u0111", + 'Dstrok': "\u0110", + 'dtdot': "\u22F1", + 'dtri': "\u25BF", + 'dtrif': "\u25BE", + 'duarr': "\u21F5", + 'duhar': "\u296F", + 'dwangle': "\u29A6", + 'dzcy': "\u045F", + 'DZcy': "\u040F", + 'dzigrarr': "\u27FF", + 'eacute': '\xE9', + 'Eacute': '\xC9', + 'easter': "\u2A6E", + 'ecaron': "\u011B", + 'Ecaron': "\u011A", + 'ecir': "\u2256", + 'ecirc': '\xEA', + 'Ecirc': '\xCA', + 'ecolon': "\u2255", + 'ecy': "\u044D", + 'Ecy': "\u042D", + 'eDDot': "\u2A77", + 'edot': "\u0117", + 'eDot': "\u2251", + 'Edot': "\u0116", + 'ee': "\u2147", + 'efDot': "\u2252", + 'efr': "\uD835\uDD22", + 'Efr': "\uD835\uDD08", + 'eg': "\u2A9A", + 'egrave': '\xE8', + 'Egrave': '\xC8', + 'egs': "\u2A96", + 'egsdot': "\u2A98", + 'el': "\u2A99", + 'Element': "\u2208", + 'elinters': "\u23E7", + 'ell': "\u2113", + 'els': "\u2A95", + 'elsdot': "\u2A97", + 'emacr': "\u0113", + 'Emacr': "\u0112", + 'empty': "\u2205", + 'emptyset': "\u2205", + 'EmptySmallSquare': "\u25FB", + 'emptyv': "\u2205", + 'EmptyVerySmallSquare': "\u25AB", + 'emsp': "\u2003", + 'emsp13': "\u2004", + 'emsp14': "\u2005", + 'eng': "\u014B", + 'ENG': "\u014A", + 'ensp': "\u2002", + 'eogon': "\u0119", + 'Eogon': "\u0118", + 'eopf': "\uD835\uDD56", + 'Eopf': "\uD835\uDD3C", + 'epar': "\u22D5", + 'eparsl': "\u29E3", + 'eplus': "\u2A71", + 'epsi': "\u03B5", + 'epsilon': "\u03B5", + 'Epsilon': "\u0395", + 'epsiv': "\u03F5", + 'eqcirc': "\u2256", + 'eqcolon': "\u2255", + 'eqsim': "\u2242", + 'eqslantgtr': "\u2A96", + 'eqslantless': "\u2A95", + 'Equal': "\u2A75", + 'equals': '=', + 'EqualTilde': "\u2242", + 'equest': "\u225F", + 'Equilibrium': "\u21CC", + 'equiv': "\u2261", + 'equivDD': "\u2A78", + 'eqvparsl': "\u29E5", + 'erarr': "\u2971", + 'erDot': "\u2253", + 'escr': "\u212F", + 'Escr': "\u2130", + 'esdot': "\u2250", + 'esim': "\u2242", + 'Esim': "\u2A73", + 'eta': "\u03B7", + 'Eta': "\u0397", + 'eth': '\xF0', + 'ETH': '\xD0', + 'euml': '\xEB', + 'Euml': '\xCB', + 'euro': "\u20AC", + 'excl': '!', + 'exist': "\u2203", + 'Exists': "\u2203", + 'expectation': "\u2130", + 'exponentiale': "\u2147", + 'ExponentialE': "\u2147", + 'fallingdotseq': "\u2252", + 'fcy': "\u0444", + 'Fcy': "\u0424", + 'female': "\u2640", + 'ffilig': "\uFB03", + 'fflig': "\uFB00", + 'ffllig': "\uFB04", + 'ffr': "\uD835\uDD23", + 'Ffr': "\uD835\uDD09", + 'filig': "\uFB01", + 'FilledSmallSquare': "\u25FC", + 'FilledVerySmallSquare': "\u25AA", + 'fjlig': 'fj', + 'flat': "\u266D", + 'fllig': "\uFB02", + 'fltns': "\u25B1", + 'fnof': "\u0192", + 'fopf': "\uD835\uDD57", + 'Fopf': "\uD835\uDD3D", + 'forall': "\u2200", + 'ForAll': "\u2200", + 'fork': "\u22D4", + 'forkv': "\u2AD9", + 'Fouriertrf': "\u2131", + 'fpartint': "\u2A0D", + 'frac12': '\xBD', + 'frac13': "\u2153", + 'frac14': '\xBC', + 'frac15': "\u2155", + 'frac16': "\u2159", + 'frac18': "\u215B", + 'frac23': "\u2154", + 'frac25': "\u2156", + 'frac34': '\xBE', + 'frac35': "\u2157", + 'frac38': "\u215C", + 'frac45': "\u2158", + 'frac56': "\u215A", + 'frac58': "\u215D", + 'frac78': "\u215E", + 'frasl': "\u2044", + 'frown': "\u2322", + 'fscr': "\uD835\uDCBB", + 'Fscr': "\u2131", + 'gacute': "\u01F5", + 'gamma': "\u03B3", + 'Gamma': "\u0393", + 'gammad': "\u03DD", + 'Gammad': "\u03DC", + 'gap': "\u2A86", + 'gbreve': "\u011F", + 'Gbreve': "\u011E", + 'Gcedil': "\u0122", + 'gcirc': "\u011D", + 'Gcirc': "\u011C", + 'gcy': "\u0433", + 'Gcy': "\u0413", + 'gdot': "\u0121", + 'Gdot': "\u0120", + 'ge': "\u2265", + 'gE': "\u2267", + 'gel': "\u22DB", + 'gEl': "\u2A8C", + 'geq': "\u2265", + 'geqq': "\u2267", + 'geqslant': "\u2A7E", + 'ges': "\u2A7E", + 'gescc': "\u2AA9", + 'gesdot': "\u2A80", + 'gesdoto': "\u2A82", + 'gesdotol': "\u2A84", + 'gesl': "\u22DB\uFE00", + 'gesles': "\u2A94", + 'gfr': "\uD835\uDD24", + 'Gfr': "\uD835\uDD0A", + 'gg': "\u226B", + 'Gg': "\u22D9", + 'ggg': "\u22D9", + 'gimel': "\u2137", + 'gjcy': "\u0453", + 'GJcy': "\u0403", + 'gl': "\u2277", + 'gla': "\u2AA5", + 'glE': "\u2A92", + 'glj': "\u2AA4", + 'gnap': "\u2A8A", + 'gnapprox': "\u2A8A", + 'gne': "\u2A88", + 'gnE': "\u2269", + 'gneq': "\u2A88", + 'gneqq': "\u2269", + 'gnsim': "\u22E7", + 'gopf': "\uD835\uDD58", + 'Gopf': "\uD835\uDD3E", + 'grave': '`', + 'GreaterEqual': "\u2265", + 'GreaterEqualLess': "\u22DB", + 'GreaterFullEqual': "\u2267", + 'GreaterGreater': "\u2AA2", + 'GreaterLess': "\u2277", + 'GreaterSlantEqual': "\u2A7E", + 'GreaterTilde': "\u2273", + 'gscr': "\u210A", + 'Gscr': "\uD835\uDCA2", + 'gsim': "\u2273", + 'gsime': "\u2A8E", + 'gsiml': "\u2A90", + 'gt': '>', + 'Gt': "\u226B", + 'GT': '>', + 'gtcc': "\u2AA7", + 'gtcir': "\u2A7A", + 'gtdot': "\u22D7", + 'gtlPar': "\u2995", + 'gtquest': "\u2A7C", + 'gtrapprox': "\u2A86", + 'gtrarr': "\u2978", + 'gtrdot': "\u22D7", + 'gtreqless': "\u22DB", + 'gtreqqless': "\u2A8C", + 'gtrless': "\u2277", + 'gtrsim': "\u2273", + 'gvertneqq': "\u2269\uFE00", + 'gvnE': "\u2269\uFE00", + 'Hacek': "\u02C7", + 'hairsp': "\u200A", + 'half': '\xBD', + 'hamilt': "\u210B", + 'hardcy': "\u044A", + 'HARDcy': "\u042A", + 'harr': "\u2194", + 'hArr': "\u21D4", + 'harrcir': "\u2948", + 'harrw': "\u21AD", + 'Hat': '^', + 'hbar': "\u210F", + 'hcirc': "\u0125", + 'Hcirc': "\u0124", + 'hearts': "\u2665", + 'heartsuit': "\u2665", + 'hellip': "\u2026", + 'hercon': "\u22B9", + 'hfr': "\uD835\uDD25", + 'Hfr': "\u210C", + 'HilbertSpace': "\u210B", + 'hksearow': "\u2925", + 'hkswarow': "\u2926", + 'hoarr': "\u21FF", + 'homtht': "\u223B", + 'hookleftarrow': "\u21A9", + 'hookrightarrow': "\u21AA", + 'hopf': "\uD835\uDD59", + 'Hopf': "\u210D", + 'horbar': "\u2015", + 'HorizontalLine': "\u2500", + 'hscr': "\uD835\uDCBD", + 'Hscr': "\u210B", + 'hslash': "\u210F", + 'hstrok': "\u0127", + 'Hstrok': "\u0126", + 'HumpDownHump': "\u224E", + 'HumpEqual': "\u224F", + 'hybull': "\u2043", + 'hyphen': "\u2010", + 'iacute': '\xED', + 'Iacute': '\xCD', + 'ic': "\u2063", + 'icirc': '\xEE', + 'Icirc': '\xCE', + 'icy': "\u0438", + 'Icy': "\u0418", + 'Idot': "\u0130", + 'iecy': "\u0435", + 'IEcy': "\u0415", + 'iexcl': '\xA1', + 'iff': "\u21D4", + 'ifr': "\uD835\uDD26", + 'Ifr': "\u2111", + 'igrave': '\xEC', + 'Igrave': '\xCC', + 'ii': "\u2148", + 'iiiint': "\u2A0C", + 'iiint': "\u222D", + 'iinfin': "\u29DC", + 'iiota': "\u2129", + 'ijlig': "\u0133", + 'IJlig': "\u0132", + 'Im': "\u2111", + 'imacr': "\u012B", + 'Imacr': "\u012A", + 'image': "\u2111", + 'ImaginaryI': "\u2148", + 'imagline': "\u2110", + 'imagpart': "\u2111", + 'imath': "\u0131", + 'imof': "\u22B7", + 'imped': "\u01B5", + 'Implies': "\u21D2", + 'in': "\u2208", + 'incare': "\u2105", + 'infin': "\u221E", + 'infintie': "\u29DD", + 'inodot': "\u0131", + 'int': "\u222B", + 'Int': "\u222C", + 'intcal': "\u22BA", + 'integers': "\u2124", + 'Integral': "\u222B", + 'intercal': "\u22BA", + 'Intersection': "\u22C2", + 'intlarhk': "\u2A17", + 'intprod': "\u2A3C", + 'InvisibleComma': "\u2063", + 'InvisibleTimes': "\u2062", + 'iocy': "\u0451", + 'IOcy': "\u0401", + 'iogon': "\u012F", + 'Iogon': "\u012E", + 'iopf': "\uD835\uDD5A", + 'Iopf': "\uD835\uDD40", + 'iota': "\u03B9", + 'Iota': "\u0399", + 'iprod': "\u2A3C", + 'iquest': '\xBF', + 'iscr': "\uD835\uDCBE", + 'Iscr': "\u2110", + 'isin': "\u2208", + 'isindot': "\u22F5", + 'isinE': "\u22F9", + 'isins': "\u22F4", + 'isinsv': "\u22F3", + 'isinv': "\u2208", + 'it': "\u2062", + 'itilde': "\u0129", + 'Itilde': "\u0128", + 'iukcy': "\u0456", + 'Iukcy': "\u0406", + 'iuml': '\xEF', + 'Iuml': '\xCF', + 'jcirc': "\u0135", + 'Jcirc': "\u0134", + 'jcy': "\u0439", + 'Jcy': "\u0419", + 'jfr': "\uD835\uDD27", + 'Jfr': "\uD835\uDD0D", + 'jmath': "\u0237", + 'jopf': "\uD835\uDD5B", + 'Jopf': "\uD835\uDD41", + 'jscr': "\uD835\uDCBF", + 'Jscr': "\uD835\uDCA5", + 'jsercy': "\u0458", + 'Jsercy': "\u0408", + 'jukcy': "\u0454", + 'Jukcy': "\u0404", + 'kappa': "\u03BA", + 'Kappa': "\u039A", + 'kappav': "\u03F0", + 'kcedil': "\u0137", + 'Kcedil': "\u0136", + 'kcy': "\u043A", + 'Kcy': "\u041A", + 'kfr': "\uD835\uDD28", + 'Kfr': "\uD835\uDD0E", + 'kgreen': "\u0138", + 'khcy': "\u0445", + 'KHcy': "\u0425", + 'kjcy': "\u045C", + 'KJcy': "\u040C", + 'kopf': "\uD835\uDD5C", + 'Kopf': "\uD835\uDD42", + 'kscr': "\uD835\uDCC0", + 'Kscr': "\uD835\uDCA6", + 'lAarr': "\u21DA", + 'lacute': "\u013A", + 'Lacute': "\u0139", + 'laemptyv': "\u29B4", + 'lagran': "\u2112", + 'lambda': "\u03BB", + 'Lambda': "\u039B", + 'lang': "\u27E8", + 'Lang': "\u27EA", + 'langd': "\u2991", + 'langle': "\u27E8", + 'lap': "\u2A85", + 'Laplacetrf': "\u2112", + 'laquo': '\xAB', + 'larr': "\u2190", + 'lArr': "\u21D0", + 'Larr': "\u219E", + 'larrb': "\u21E4", + 'larrbfs': "\u291F", + 'larrfs': "\u291D", + 'larrhk': "\u21A9", + 'larrlp': "\u21AB", + 'larrpl': "\u2939", + 'larrsim': "\u2973", + 'larrtl': "\u21A2", + 'lat': "\u2AAB", + 'latail': "\u2919", + 'lAtail': "\u291B", + 'late': "\u2AAD", + 'lates': "\u2AAD\uFE00", + 'lbarr': "\u290C", + 'lBarr': "\u290E", + 'lbbrk': "\u2772", + 'lbrace': '{', + 'lbrack': '[', + 'lbrke': "\u298B", + 'lbrksld': "\u298F", + 'lbrkslu': "\u298D", + 'lcaron': "\u013E", + 'Lcaron': "\u013D", + 'lcedil': "\u013C", + 'Lcedil': "\u013B", + 'lceil': "\u2308", + 'lcub': '{', + 'lcy': "\u043B", + 'Lcy': "\u041B", + 'ldca': "\u2936", + 'ldquo': "\u201C", + 'ldquor': "\u201E", + 'ldrdhar': "\u2967", + 'ldrushar': "\u294B", + 'ldsh': "\u21B2", + 'le': "\u2264", + 'lE': "\u2266", + 'LeftAngleBracket': "\u27E8", + 'leftarrow': "\u2190", + 'Leftarrow': "\u21D0", + 'LeftArrow': "\u2190", + 'LeftArrowBar': "\u21E4", + 'LeftArrowRightArrow': "\u21C6", + 'leftarrowtail': "\u21A2", + 'LeftCeiling': "\u2308", + 'LeftDoubleBracket': "\u27E6", + 'LeftDownTeeVector': "\u2961", + 'LeftDownVector': "\u21C3", + 'LeftDownVectorBar': "\u2959", + 'LeftFloor': "\u230A", + 'leftharpoondown': "\u21BD", + 'leftharpoonup': "\u21BC", + 'leftleftarrows': "\u21C7", + 'leftrightarrow': "\u2194", + 'Leftrightarrow': "\u21D4", + 'LeftRightArrow': "\u2194", + 'leftrightarrows': "\u21C6", + 'leftrightharpoons': "\u21CB", + 'leftrightsquigarrow': "\u21AD", + 'LeftRightVector': "\u294E", + 'LeftTee': "\u22A3", + 'LeftTeeArrow': "\u21A4", + 'LeftTeeVector': "\u295A", + 'leftthreetimes': "\u22CB", + 'LeftTriangle': "\u22B2", + 'LeftTriangleBar': "\u29CF", + 'LeftTriangleEqual': "\u22B4", + 'LeftUpDownVector': "\u2951", + 'LeftUpTeeVector': "\u2960", + 'LeftUpVector': "\u21BF", + 'LeftUpVectorBar': "\u2958", + 'LeftVector': "\u21BC", + 'LeftVectorBar': "\u2952", + 'leg': "\u22DA", + 'lEg': "\u2A8B", + 'leq': "\u2264", + 'leqq': "\u2266", + 'leqslant': "\u2A7D", + 'les': "\u2A7D", + 'lescc': "\u2AA8", + 'lesdot': "\u2A7F", + 'lesdoto': "\u2A81", + 'lesdotor': "\u2A83", + 'lesg': "\u22DA\uFE00", + 'lesges': "\u2A93", + 'lessapprox': "\u2A85", + 'lessdot': "\u22D6", + 'lesseqgtr': "\u22DA", + 'lesseqqgtr': "\u2A8B", + 'LessEqualGreater': "\u22DA", + 'LessFullEqual': "\u2266", + 'LessGreater': "\u2276", + 'lessgtr': "\u2276", + 'LessLess': "\u2AA1", + 'lesssim': "\u2272", + 'LessSlantEqual': "\u2A7D", + 'LessTilde': "\u2272", + 'lfisht': "\u297C", + 'lfloor': "\u230A", + 'lfr': "\uD835\uDD29", + 'Lfr': "\uD835\uDD0F", + 'lg': "\u2276", + 'lgE': "\u2A91", + 'lHar': "\u2962", + 'lhard': "\u21BD", + 'lharu': "\u21BC", + 'lharul': "\u296A", + 'lhblk': "\u2584", + 'ljcy': "\u0459", + 'LJcy': "\u0409", + 'll': "\u226A", + 'Ll': "\u22D8", + 'llarr': "\u21C7", + 'llcorner': "\u231E", + 'Lleftarrow': "\u21DA", + 'llhard': "\u296B", + 'lltri': "\u25FA", + 'lmidot': "\u0140", + 'Lmidot': "\u013F", + 'lmoust': "\u23B0", + 'lmoustache': "\u23B0", + 'lnap': "\u2A89", + 'lnapprox': "\u2A89", + 'lne': "\u2A87", + 'lnE': "\u2268", + 'lneq': "\u2A87", + 'lneqq': "\u2268", + 'lnsim': "\u22E6", + 'loang': "\u27EC", + 'loarr': "\u21FD", + 'lobrk': "\u27E6", + 'longleftarrow': "\u27F5", + 'Longleftarrow': "\u27F8", + 'LongLeftArrow': "\u27F5", + 'longleftrightarrow': "\u27F7", + 'Longleftrightarrow': "\u27FA", + 'LongLeftRightArrow': "\u27F7", + 'longmapsto': "\u27FC", + 'longrightarrow': "\u27F6", + 'Longrightarrow': "\u27F9", + 'LongRightArrow': "\u27F6", + 'looparrowleft': "\u21AB", + 'looparrowright': "\u21AC", + 'lopar': "\u2985", + 'lopf': "\uD835\uDD5D", + 'Lopf': "\uD835\uDD43", + 'loplus': "\u2A2D", + 'lotimes': "\u2A34", + 'lowast': "\u2217", + 'lowbar': '_', + 'LowerLeftArrow': "\u2199", + 'LowerRightArrow': "\u2198", + 'loz': "\u25CA", + 'lozenge': "\u25CA", + 'lozf': "\u29EB", + 'lpar': '(', + 'lparlt': "\u2993", + 'lrarr': "\u21C6", + 'lrcorner': "\u231F", + 'lrhar': "\u21CB", + 'lrhard': "\u296D", + 'lrm': "\u200E", + 'lrtri': "\u22BF", + 'lsaquo': "\u2039", + 'lscr': "\uD835\uDCC1", + 'Lscr': "\u2112", + 'lsh': "\u21B0", + 'Lsh': "\u21B0", + 'lsim': "\u2272", + 'lsime': "\u2A8D", + 'lsimg': "\u2A8F", + 'lsqb': '[', + 'lsquo': "\u2018", + 'lsquor': "\u201A", + 'lstrok': "\u0142", + 'Lstrok': "\u0141", + 'lt': '<', + 'Lt': "\u226A", + 'LT': '<', + 'ltcc': "\u2AA6", + 'ltcir': "\u2A79", + 'ltdot': "\u22D6", + 'lthree': "\u22CB", + 'ltimes': "\u22C9", + 'ltlarr': "\u2976", + 'ltquest': "\u2A7B", + 'ltri': "\u25C3", + 'ltrie': "\u22B4", + 'ltrif': "\u25C2", + 'ltrPar': "\u2996", + 'lurdshar': "\u294A", + 'luruhar': "\u2966", + 'lvertneqq': "\u2268\uFE00", + 'lvnE': "\u2268\uFE00", + 'macr': '\xAF', + 'male': "\u2642", + 'malt': "\u2720", + 'maltese': "\u2720", + 'map': "\u21A6", + 'Map': "\u2905", + 'mapsto': "\u21A6", + 'mapstodown': "\u21A7", + 'mapstoleft': "\u21A4", + 'mapstoup': "\u21A5", + 'marker': "\u25AE", + 'mcomma': "\u2A29", + 'mcy': "\u043C", + 'Mcy': "\u041C", + 'mdash': "\u2014", + 'mDDot': "\u223A", + 'measuredangle': "\u2221", + 'MediumSpace': "\u205F", + 'Mellintrf': "\u2133", + 'mfr': "\uD835\uDD2A", + 'Mfr': "\uD835\uDD10", + 'mho': "\u2127", + 'micro': '\xB5', + 'mid': "\u2223", + 'midast': '*', + 'midcir': "\u2AF0", + 'middot': '\xB7', + 'minus': "\u2212", + 'minusb': "\u229F", + 'minusd': "\u2238", + 'minusdu': "\u2A2A", + 'MinusPlus': "\u2213", + 'mlcp': "\u2ADB", + 'mldr': "\u2026", + 'mnplus': "\u2213", + 'models': "\u22A7", + 'mopf': "\uD835\uDD5E", + 'Mopf': "\uD835\uDD44", + 'mp': "\u2213", + 'mscr': "\uD835\uDCC2", + 'Mscr': "\u2133", + 'mstpos': "\u223E", + 'mu': "\u03BC", + 'Mu': "\u039C", + 'multimap': "\u22B8", + 'mumap': "\u22B8", + 'nabla': "\u2207", + 'nacute': "\u0144", + 'Nacute': "\u0143", + 'nang': "\u2220\u20D2", + 'nap': "\u2249", + 'napE': "\u2A70\u0338", + 'napid': "\u224B\u0338", + 'napos': "\u0149", + 'napprox': "\u2249", + 'natur': "\u266E", + 'natural': "\u266E", + 'naturals': "\u2115", + 'nbsp': '\xA0', + 'nbump': "\u224E\u0338", + 'nbumpe': "\u224F\u0338", + 'ncap': "\u2A43", + 'ncaron': "\u0148", + 'Ncaron': "\u0147", + 'ncedil': "\u0146", + 'Ncedil': "\u0145", + 'ncong': "\u2247", + 'ncongdot': "\u2A6D\u0338", + 'ncup': "\u2A42", + 'ncy': "\u043D", + 'Ncy': "\u041D", + 'ndash': "\u2013", + 'ne': "\u2260", + 'nearhk': "\u2924", + 'nearr': "\u2197", + 'neArr': "\u21D7", + 'nearrow': "\u2197", + 'nedot': "\u2250\u0338", + 'NegativeMediumSpace': "\u200B", + 'NegativeThickSpace': "\u200B", + 'NegativeThinSpace': "\u200B", + 'NegativeVeryThinSpace': "\u200B", + 'nequiv': "\u2262", + 'nesear': "\u2928", + 'nesim': "\u2242\u0338", + 'NestedGreaterGreater': "\u226B", + 'NestedLessLess': "\u226A", + 'NewLine': '\n', + 'nexist': "\u2204", + 'nexists': "\u2204", + 'nfr': "\uD835\uDD2B", + 'Nfr': "\uD835\uDD11", + 'nge': "\u2271", + 'ngE': "\u2267\u0338", + 'ngeq': "\u2271", + 'ngeqq': "\u2267\u0338", + 'ngeqslant': "\u2A7E\u0338", + 'nges': "\u2A7E\u0338", + 'nGg': "\u22D9\u0338", + 'ngsim': "\u2275", + 'ngt': "\u226F", + 'nGt': "\u226B\u20D2", + 'ngtr': "\u226F", + 'nGtv': "\u226B\u0338", + 'nharr': "\u21AE", + 'nhArr': "\u21CE", + 'nhpar': "\u2AF2", + 'ni': "\u220B", + 'nis': "\u22FC", + 'nisd': "\u22FA", + 'niv': "\u220B", + 'njcy': "\u045A", + 'NJcy': "\u040A", + 'nlarr': "\u219A", + 'nlArr': "\u21CD", + 'nldr': "\u2025", + 'nle': "\u2270", + 'nlE': "\u2266\u0338", + 'nleftarrow': "\u219A", + 'nLeftarrow': "\u21CD", + 'nleftrightarrow': "\u21AE", + 'nLeftrightarrow': "\u21CE", + 'nleq': "\u2270", + 'nleqq': "\u2266\u0338", + 'nleqslant': "\u2A7D\u0338", + 'nles': "\u2A7D\u0338", + 'nless': "\u226E", + 'nLl': "\u22D8\u0338", + 'nlsim': "\u2274", + 'nlt': "\u226E", + 'nLt': "\u226A\u20D2", + 'nltri': "\u22EA", + 'nltrie': "\u22EC", + 'nLtv': "\u226A\u0338", + 'nmid': "\u2224", + 'NoBreak': "\u2060", + 'NonBreakingSpace': '\xA0', + 'nopf': "\uD835\uDD5F", + 'Nopf': "\u2115", + 'not': '\xAC', + 'Not': "\u2AEC", + 'NotCongruent': "\u2262", + 'NotCupCap': "\u226D", + 'NotDoubleVerticalBar': "\u2226", + 'NotElement': "\u2209", + 'NotEqual': "\u2260", + 'NotEqualTilde': "\u2242\u0338", + 'NotExists': "\u2204", + 'NotGreater': "\u226F", + 'NotGreaterEqual': "\u2271", + 'NotGreaterFullEqual': "\u2267\u0338", + 'NotGreaterGreater': "\u226B\u0338", + 'NotGreaterLess': "\u2279", + 'NotGreaterSlantEqual': "\u2A7E\u0338", + 'NotGreaterTilde': "\u2275", + 'NotHumpDownHump': "\u224E\u0338", + 'NotHumpEqual': "\u224F\u0338", + 'notin': "\u2209", + 'notindot': "\u22F5\u0338", + 'notinE': "\u22F9\u0338", + 'notinva': "\u2209", + 'notinvb': "\u22F7", + 'notinvc': "\u22F6", + 'NotLeftTriangle': "\u22EA", + 'NotLeftTriangleBar': "\u29CF\u0338", + 'NotLeftTriangleEqual': "\u22EC", + 'NotLess': "\u226E", + 'NotLessEqual': "\u2270", + 'NotLessGreater': "\u2278", + 'NotLessLess': "\u226A\u0338", + 'NotLessSlantEqual': "\u2A7D\u0338", + 'NotLessTilde': "\u2274", + 'NotNestedGreaterGreater': "\u2AA2\u0338", + 'NotNestedLessLess': "\u2AA1\u0338", + 'notni': "\u220C", + 'notniva': "\u220C", + 'notnivb': "\u22FE", + 'notnivc': "\u22FD", + 'NotPrecedes': "\u2280", + 'NotPrecedesEqual': "\u2AAF\u0338", + 'NotPrecedesSlantEqual': "\u22E0", + 'NotReverseElement': "\u220C", + 'NotRightTriangle': "\u22EB", + 'NotRightTriangleBar': "\u29D0\u0338", + 'NotRightTriangleEqual': "\u22ED", + 'NotSquareSubset': "\u228F\u0338", + 'NotSquareSubsetEqual': "\u22E2", + 'NotSquareSuperset': "\u2290\u0338", + 'NotSquareSupersetEqual': "\u22E3", + 'NotSubset': "\u2282\u20D2", + 'NotSubsetEqual': "\u2288", + 'NotSucceeds': "\u2281", + 'NotSucceedsEqual': "\u2AB0\u0338", + 'NotSucceedsSlantEqual': "\u22E1", + 'NotSucceedsTilde': "\u227F\u0338", + 'NotSuperset': "\u2283\u20D2", + 'NotSupersetEqual': "\u2289", + 'NotTilde': "\u2241", + 'NotTildeEqual': "\u2244", + 'NotTildeFullEqual': "\u2247", + 'NotTildeTilde': "\u2249", + 'NotVerticalBar': "\u2224", + 'npar': "\u2226", + 'nparallel': "\u2226", + 'nparsl': "\u2AFD\u20E5", + 'npart': "\u2202\u0338", + 'npolint': "\u2A14", + 'npr': "\u2280", + 'nprcue': "\u22E0", + 'npre': "\u2AAF\u0338", + 'nprec': "\u2280", + 'npreceq': "\u2AAF\u0338", + 'nrarr': "\u219B", + 'nrArr': "\u21CF", + 'nrarrc': "\u2933\u0338", + 'nrarrw': "\u219D\u0338", + 'nrightarrow': "\u219B", + 'nRightarrow': "\u21CF", + 'nrtri': "\u22EB", + 'nrtrie': "\u22ED", + 'nsc': "\u2281", + 'nsccue': "\u22E1", + 'nsce': "\u2AB0\u0338", + 'nscr': "\uD835\uDCC3", + 'Nscr': "\uD835\uDCA9", + 'nshortmid': "\u2224", + 'nshortparallel': "\u2226", + 'nsim': "\u2241", + 'nsime': "\u2244", + 'nsimeq': "\u2244", + 'nsmid': "\u2224", + 'nspar': "\u2226", + 'nsqsube': "\u22E2", + 'nsqsupe': "\u22E3", + 'nsub': "\u2284", + 'nsube': "\u2288", + 'nsubE': "\u2AC5\u0338", + 'nsubset': "\u2282\u20D2", + 'nsubseteq': "\u2288", + 'nsubseteqq': "\u2AC5\u0338", + 'nsucc': "\u2281", + 'nsucceq': "\u2AB0\u0338", + 'nsup': "\u2285", + 'nsupe': "\u2289", + 'nsupE': "\u2AC6\u0338", + 'nsupset': "\u2283\u20D2", + 'nsupseteq': "\u2289", + 'nsupseteqq': "\u2AC6\u0338", + 'ntgl': "\u2279", + 'ntilde': '\xF1', + 'Ntilde': '\xD1', + 'ntlg': "\u2278", + 'ntriangleleft': "\u22EA", + 'ntrianglelefteq': "\u22EC", + 'ntriangleright': "\u22EB", + 'ntrianglerighteq': "\u22ED", + 'nu': "\u03BD", + 'Nu': "\u039D", + 'num': '#', + 'numero': "\u2116", + 'numsp': "\u2007", + 'nvap': "\u224D\u20D2", + 'nvdash': "\u22AC", + 'nvDash': "\u22AD", + 'nVdash': "\u22AE", + 'nVDash': "\u22AF", + 'nvge': "\u2265\u20D2", + 'nvgt': ">\u20D2", + 'nvHarr': "\u2904", + 'nvinfin': "\u29DE", + 'nvlArr': "\u2902", + 'nvle': "\u2264\u20D2", + 'nvlt': "<\u20D2", + 'nvltrie': "\u22B4\u20D2", + 'nvrArr': "\u2903", + 'nvrtrie': "\u22B5\u20D2", + 'nvsim': "\u223C\u20D2", + 'nwarhk': "\u2923", + 'nwarr': "\u2196", + 'nwArr': "\u21D6", + 'nwarrow': "\u2196", + 'nwnear': "\u2927", + 'oacute': '\xF3', + 'Oacute': '\xD3', + 'oast': "\u229B", + 'ocir': "\u229A", + 'ocirc': '\xF4', + 'Ocirc': '\xD4', + 'ocy': "\u043E", + 'Ocy': "\u041E", + 'odash': "\u229D", + 'odblac': "\u0151", + 'Odblac': "\u0150", + 'odiv': "\u2A38", + 'odot': "\u2299", + 'odsold': "\u29BC", + 'oelig': "\u0153", + 'OElig': "\u0152", + 'ofcir': "\u29BF", + 'ofr': "\uD835\uDD2C", + 'Ofr': "\uD835\uDD12", + 'ogon': "\u02DB", + 'ograve': '\xF2', + 'Ograve': '\xD2', + 'ogt': "\u29C1", + 'ohbar': "\u29B5", + 'ohm': "\u03A9", + 'oint': "\u222E", + 'olarr': "\u21BA", + 'olcir': "\u29BE", + 'olcross': "\u29BB", + 'oline': "\u203E", + 'olt': "\u29C0", + 'omacr': "\u014D", + 'Omacr': "\u014C", + 'omega': "\u03C9", + 'Omega': "\u03A9", + 'omicron': "\u03BF", + 'Omicron': "\u039F", + 'omid': "\u29B6", + 'ominus': "\u2296", + 'oopf': "\uD835\uDD60", + 'Oopf': "\uD835\uDD46", + 'opar': "\u29B7", + 'OpenCurlyDoubleQuote': "\u201C", + 'OpenCurlyQuote': "\u2018", + 'operp': "\u29B9", + 'oplus': "\u2295", + 'or': "\u2228", + 'Or': "\u2A54", + 'orarr': "\u21BB", + 'ord': "\u2A5D", + 'order': "\u2134", + 'orderof': "\u2134", + 'ordf': '\xAA', + 'ordm': '\xBA', + 'origof': "\u22B6", + 'oror': "\u2A56", + 'orslope': "\u2A57", + 'orv': "\u2A5B", + 'oS': "\u24C8", + 'oscr': "\u2134", + 'Oscr': "\uD835\uDCAA", + 'oslash': '\xF8', + 'Oslash': '\xD8', + 'osol': "\u2298", + 'otilde': '\xF5', + 'Otilde': '\xD5', + 'otimes': "\u2297", + 'Otimes': "\u2A37", + 'otimesas': "\u2A36", + 'ouml': '\xF6', + 'Ouml': '\xD6', + 'ovbar': "\u233D", + 'OverBar': "\u203E", + 'OverBrace': "\u23DE", + 'OverBracket': "\u23B4", + 'OverParenthesis': "\u23DC", + 'par': "\u2225", + 'para': '\xB6', + 'parallel': "\u2225", + 'parsim': "\u2AF3", + 'parsl': "\u2AFD", + 'part': "\u2202", + 'PartialD': "\u2202", + 'pcy': "\u043F", + 'Pcy': "\u041F", + 'percnt': '%', + 'period': '.', + 'permil': "\u2030", + 'perp': "\u22A5", + 'pertenk': "\u2031", + 'pfr': "\uD835\uDD2D", + 'Pfr': "\uD835\uDD13", + 'phi': "\u03C6", + 'Phi': "\u03A6", + 'phiv': "\u03D5", + 'phmmat': "\u2133", + 'phone': "\u260E", + 'pi': "\u03C0", + 'Pi': "\u03A0", + 'pitchfork': "\u22D4", + 'piv': "\u03D6", + 'planck': "\u210F", + 'planckh': "\u210E", + 'plankv': "\u210F", + 'plus': '+', + 'plusacir': "\u2A23", + 'plusb': "\u229E", + 'pluscir': "\u2A22", + 'plusdo': "\u2214", + 'plusdu': "\u2A25", + 'pluse': "\u2A72", + 'PlusMinus': '\xB1', + 'plusmn': '\xB1', + 'plussim': "\u2A26", + 'plustwo': "\u2A27", + 'pm': '\xB1', + 'Poincareplane': "\u210C", + 'pointint': "\u2A15", + 'popf': "\uD835\uDD61", + 'Popf': "\u2119", + 'pound': '\xA3', + 'pr': "\u227A", + 'Pr': "\u2ABB", + 'prap': "\u2AB7", + 'prcue': "\u227C", + 'pre': "\u2AAF", + 'prE': "\u2AB3", + 'prec': "\u227A", + 'precapprox': "\u2AB7", + 'preccurlyeq': "\u227C", + 'Precedes': "\u227A", + 'PrecedesEqual': "\u2AAF", + 'PrecedesSlantEqual': "\u227C", + 'PrecedesTilde': "\u227E", + 'preceq': "\u2AAF", + 'precnapprox': "\u2AB9", + 'precneqq': "\u2AB5", + 'precnsim': "\u22E8", + 'precsim': "\u227E", + 'prime': "\u2032", + 'Prime': "\u2033", + 'primes': "\u2119", + 'prnap': "\u2AB9", + 'prnE': "\u2AB5", + 'prnsim': "\u22E8", + 'prod': "\u220F", + 'Product': "\u220F", + 'profalar': "\u232E", + 'profline': "\u2312", + 'profsurf': "\u2313", + 'prop': "\u221D", + 'Proportion': "\u2237", + 'Proportional': "\u221D", + 'propto': "\u221D", + 'prsim': "\u227E", + 'prurel': "\u22B0", + 'pscr': "\uD835\uDCC5", + 'Pscr': "\uD835\uDCAB", + 'psi': "\u03C8", + 'Psi': "\u03A8", + 'puncsp': "\u2008", + 'qfr': "\uD835\uDD2E", + 'Qfr': "\uD835\uDD14", + 'qint': "\u2A0C", + 'qopf': "\uD835\uDD62", + 'Qopf': "\u211A", + 'qprime': "\u2057", + 'qscr': "\uD835\uDCC6", + 'Qscr': "\uD835\uDCAC", + 'quaternions': "\u210D", + 'quatint': "\u2A16", + 'quest': '?', + 'questeq': "\u225F", + 'quot': '"', + 'QUOT': '"', + 'rAarr': "\u21DB", + 'race': "\u223D\u0331", + 'racute': "\u0155", + 'Racute': "\u0154", + 'radic': "\u221A", + 'raemptyv': "\u29B3", + 'rang': "\u27E9", + 'Rang': "\u27EB", + 'rangd': "\u2992", + 'range': "\u29A5", + 'rangle': "\u27E9", + 'raquo': '\xBB', + 'rarr': "\u2192", + 'rArr': "\u21D2", + 'Rarr': "\u21A0", + 'rarrap': "\u2975", + 'rarrb': "\u21E5", + 'rarrbfs': "\u2920", + 'rarrc': "\u2933", + 'rarrfs': "\u291E", + 'rarrhk': "\u21AA", + 'rarrlp': "\u21AC", + 'rarrpl': "\u2945", + 'rarrsim': "\u2974", + 'rarrtl': "\u21A3", + 'Rarrtl': "\u2916", + 'rarrw': "\u219D", + 'ratail': "\u291A", + 'rAtail': "\u291C", + 'ratio': "\u2236", + 'rationals': "\u211A", + 'rbarr': "\u290D", + 'rBarr': "\u290F", + 'RBarr': "\u2910", + 'rbbrk': "\u2773", + 'rbrace': '}', + 'rbrack': ']', + 'rbrke': "\u298C", + 'rbrksld': "\u298E", + 'rbrkslu': "\u2990", + 'rcaron': "\u0159", + 'Rcaron': "\u0158", + 'rcedil': "\u0157", + 'Rcedil': "\u0156", + 'rceil': "\u2309", + 'rcub': '}', + 'rcy': "\u0440", + 'Rcy': "\u0420", + 'rdca': "\u2937", + 'rdldhar': "\u2969", + 'rdquo': "\u201D", + 'rdquor': "\u201D", + 'rdsh': "\u21B3", + 'Re': "\u211C", + 'real': "\u211C", + 'realine': "\u211B", + 'realpart': "\u211C", + 'reals': "\u211D", + 'rect': "\u25AD", + 'reg': '\xAE', + 'REG': '\xAE', + 'ReverseElement': "\u220B", + 'ReverseEquilibrium': "\u21CB", + 'ReverseUpEquilibrium': "\u296F", + 'rfisht': "\u297D", + 'rfloor': "\u230B", + 'rfr': "\uD835\uDD2F", + 'Rfr': "\u211C", + 'rHar': "\u2964", + 'rhard': "\u21C1", + 'rharu': "\u21C0", + 'rharul': "\u296C", + 'rho': "\u03C1", + 'Rho': "\u03A1", + 'rhov': "\u03F1", + 'RightAngleBracket': "\u27E9", + 'rightarrow': "\u2192", + 'Rightarrow': "\u21D2", + 'RightArrow': "\u2192", + 'RightArrowBar': "\u21E5", + 'RightArrowLeftArrow': "\u21C4", + 'rightarrowtail': "\u21A3", + 'RightCeiling': "\u2309", + 'RightDoubleBracket': "\u27E7", + 'RightDownTeeVector': "\u295D", + 'RightDownVector': "\u21C2", + 'RightDownVectorBar': "\u2955", + 'RightFloor': "\u230B", + 'rightharpoondown': "\u21C1", + 'rightharpoonup': "\u21C0", + 'rightleftarrows': "\u21C4", + 'rightleftharpoons': "\u21CC", + 'rightrightarrows': "\u21C9", + 'rightsquigarrow': "\u219D", + 'RightTee': "\u22A2", + 'RightTeeArrow': "\u21A6", + 'RightTeeVector': "\u295B", + 'rightthreetimes': "\u22CC", + 'RightTriangle': "\u22B3", + 'RightTriangleBar': "\u29D0", + 'RightTriangleEqual': "\u22B5", + 'RightUpDownVector': "\u294F", + 'RightUpTeeVector': "\u295C", + 'RightUpVector': "\u21BE", + 'RightUpVectorBar': "\u2954", + 'RightVector': "\u21C0", + 'RightVectorBar': "\u2953", + 'ring': "\u02DA", + 'risingdotseq': "\u2253", + 'rlarr': "\u21C4", + 'rlhar': "\u21CC", + 'rlm': "\u200F", + 'rmoust': "\u23B1", + 'rmoustache': "\u23B1", + 'rnmid': "\u2AEE", + 'roang': "\u27ED", + 'roarr': "\u21FE", + 'robrk': "\u27E7", + 'ropar': "\u2986", + 'ropf': "\uD835\uDD63", + 'Ropf': "\u211D", + 'roplus': "\u2A2E", + 'rotimes': "\u2A35", + 'RoundImplies': "\u2970", + 'rpar': ')', + 'rpargt': "\u2994", + 'rppolint': "\u2A12", + 'rrarr': "\u21C9", + 'Rrightarrow': "\u21DB", + 'rsaquo': "\u203A", + 'rscr': "\uD835\uDCC7", + 'Rscr': "\u211B", + 'rsh': "\u21B1", + 'Rsh': "\u21B1", + 'rsqb': ']', + 'rsquo': "\u2019", + 'rsquor': "\u2019", + 'rthree': "\u22CC", + 'rtimes': "\u22CA", + 'rtri': "\u25B9", + 'rtrie': "\u22B5", + 'rtrif': "\u25B8", + 'rtriltri': "\u29CE", + 'RuleDelayed': "\u29F4", + 'ruluhar': "\u2968", + 'rx': "\u211E", + 'sacute': "\u015B", + 'Sacute': "\u015A", + 'sbquo': "\u201A", + 'sc': "\u227B", + 'Sc': "\u2ABC", + 'scap': "\u2AB8", + 'scaron': "\u0161", + 'Scaron': "\u0160", + 'sccue': "\u227D", + 'sce': "\u2AB0", + 'scE': "\u2AB4", + 'scedil': "\u015F", + 'Scedil': "\u015E", + 'scirc': "\u015D", + 'Scirc': "\u015C", + 'scnap': "\u2ABA", + 'scnE': "\u2AB6", + 'scnsim': "\u22E9", + 'scpolint': "\u2A13", + 'scsim': "\u227F", + 'scy': "\u0441", + 'Scy': "\u0421", + 'sdot': "\u22C5", + 'sdotb': "\u22A1", + 'sdote': "\u2A66", + 'searhk': "\u2925", + 'searr': "\u2198", + 'seArr': "\u21D8", + 'searrow': "\u2198", + 'sect': '\xA7', + 'semi': ';', + 'seswar': "\u2929", + 'setminus': "\u2216", + 'setmn': "\u2216", + 'sext': "\u2736", + 'sfr': "\uD835\uDD30", + 'Sfr': "\uD835\uDD16", + 'sfrown': "\u2322", + 'sharp': "\u266F", + 'shchcy': "\u0449", + 'SHCHcy': "\u0429", + 'shcy': "\u0448", + 'SHcy': "\u0428", + 'ShortDownArrow': "\u2193", + 'ShortLeftArrow': "\u2190", + 'shortmid': "\u2223", + 'shortparallel': "\u2225", + 'ShortRightArrow': "\u2192", + 'ShortUpArrow': "\u2191", + 'shy': '\xAD', + 'sigma': "\u03C3", + 'Sigma': "\u03A3", + 'sigmaf': "\u03C2", + 'sigmav': "\u03C2", + 'sim': "\u223C", + 'simdot': "\u2A6A", + 'sime': "\u2243", + 'simeq': "\u2243", + 'simg': "\u2A9E", + 'simgE': "\u2AA0", + 'siml': "\u2A9D", + 'simlE': "\u2A9F", + 'simne': "\u2246", + 'simplus': "\u2A24", + 'simrarr': "\u2972", + 'slarr': "\u2190", + 'SmallCircle': "\u2218", + 'smallsetminus': "\u2216", + 'smashp': "\u2A33", + 'smeparsl': "\u29E4", + 'smid': "\u2223", + 'smile': "\u2323", + 'smt': "\u2AAA", + 'smte': "\u2AAC", + 'smtes': "\u2AAC\uFE00", + 'softcy': "\u044C", + 'SOFTcy': "\u042C", + 'sol': '/', + 'solb': "\u29C4", + 'solbar': "\u233F", + 'sopf': "\uD835\uDD64", + 'Sopf': "\uD835\uDD4A", + 'spades': "\u2660", + 'spadesuit': "\u2660", + 'spar': "\u2225", + 'sqcap': "\u2293", + 'sqcaps': "\u2293\uFE00", + 'sqcup': "\u2294", + 'sqcups': "\u2294\uFE00", + 'Sqrt': "\u221A", + 'sqsub': "\u228F", + 'sqsube': "\u2291", + 'sqsubset': "\u228F", + 'sqsubseteq': "\u2291", + 'sqsup': "\u2290", + 'sqsupe': "\u2292", + 'sqsupset': "\u2290", + 'sqsupseteq': "\u2292", + 'squ': "\u25A1", + 'square': "\u25A1", + 'Square': "\u25A1", + 'SquareIntersection': "\u2293", + 'SquareSubset': "\u228F", + 'SquareSubsetEqual': "\u2291", + 'SquareSuperset': "\u2290", + 'SquareSupersetEqual': "\u2292", + 'SquareUnion': "\u2294", + 'squarf': "\u25AA", + 'squf': "\u25AA", + 'srarr': "\u2192", + 'sscr': "\uD835\uDCC8", + 'Sscr': "\uD835\uDCAE", + 'ssetmn': "\u2216", + 'ssmile': "\u2323", + 'sstarf': "\u22C6", + 'star': "\u2606", + 'Star': "\u22C6", + 'starf': "\u2605", + 'straightepsilon': "\u03F5", + 'straightphi': "\u03D5", + 'strns': '\xAF', + 'sub': "\u2282", + 'Sub': "\u22D0", + 'subdot': "\u2ABD", + 'sube': "\u2286", + 'subE': "\u2AC5", + 'subedot': "\u2AC3", + 'submult': "\u2AC1", + 'subne': "\u228A", + 'subnE': "\u2ACB", + 'subplus': "\u2ABF", + 'subrarr': "\u2979", + 'subset': "\u2282", + 'Subset': "\u22D0", + 'subseteq': "\u2286", + 'subseteqq': "\u2AC5", + 'SubsetEqual': "\u2286", + 'subsetneq': "\u228A", + 'subsetneqq': "\u2ACB", + 'subsim': "\u2AC7", + 'subsub': "\u2AD5", + 'subsup': "\u2AD3", + 'succ': "\u227B", + 'succapprox': "\u2AB8", + 'succcurlyeq': "\u227D", + 'Succeeds': "\u227B", + 'SucceedsEqual': "\u2AB0", + 'SucceedsSlantEqual': "\u227D", + 'SucceedsTilde': "\u227F", + 'succeq': "\u2AB0", + 'succnapprox': "\u2ABA", + 'succneqq': "\u2AB6", + 'succnsim': "\u22E9", + 'succsim': "\u227F", + 'SuchThat': "\u220B", + 'sum': "\u2211", + 'Sum': "\u2211", + 'sung': "\u266A", + 'sup': "\u2283", + 'Sup': "\u22D1", + 'sup1': '\xB9', + 'sup2': '\xB2', + 'sup3': '\xB3', + 'supdot': "\u2ABE", + 'supdsub': "\u2AD8", + 'supe': "\u2287", + 'supE': "\u2AC6", + 'supedot': "\u2AC4", + 'Superset': "\u2283", + 'SupersetEqual': "\u2287", + 'suphsol': "\u27C9", + 'suphsub': "\u2AD7", + 'suplarr': "\u297B", + 'supmult': "\u2AC2", + 'supne': "\u228B", + 'supnE': "\u2ACC", + 'supplus': "\u2AC0", + 'supset': "\u2283", + 'Supset': "\u22D1", + 'supseteq': "\u2287", + 'supseteqq': "\u2AC6", + 'supsetneq': "\u228B", + 'supsetneqq': "\u2ACC", + 'supsim': "\u2AC8", + 'supsub': "\u2AD4", + 'supsup': "\u2AD6", + 'swarhk': "\u2926", + 'swarr': "\u2199", + 'swArr': "\u21D9", + 'swarrow': "\u2199", + 'swnwar': "\u292A", + 'szlig': '\xDF', + 'Tab': '\t', + 'target': "\u2316", + 'tau': "\u03C4", + 'Tau': "\u03A4", + 'tbrk': "\u23B4", + 'tcaron': "\u0165", + 'Tcaron': "\u0164", + 'tcedil': "\u0163", + 'Tcedil': "\u0162", + 'tcy': "\u0442", + 'Tcy': "\u0422", + 'tdot': "\u20DB", + 'telrec': "\u2315", + 'tfr': "\uD835\uDD31", + 'Tfr': "\uD835\uDD17", + 'there4': "\u2234", + 'therefore': "\u2234", + 'Therefore': "\u2234", + 'theta': "\u03B8", + 'Theta': "\u0398", + 'thetasym': "\u03D1", + 'thetav': "\u03D1", + 'thickapprox': "\u2248", + 'thicksim': "\u223C", + 'ThickSpace': "\u205F\u200A", + 'thinsp': "\u2009", + 'ThinSpace': "\u2009", + 'thkap': "\u2248", + 'thksim': "\u223C", + 'thorn': '\xFE', + 'THORN': '\xDE', + 'tilde': "\u02DC", + 'Tilde': "\u223C", + 'TildeEqual': "\u2243", + 'TildeFullEqual': "\u2245", + 'TildeTilde': "\u2248", + 'times': '\xD7', + 'timesb': "\u22A0", + 'timesbar': "\u2A31", + 'timesd': "\u2A30", + 'tint': "\u222D", + 'toea': "\u2928", + 'top': "\u22A4", + 'topbot': "\u2336", + 'topcir': "\u2AF1", + 'topf': "\uD835\uDD65", + 'Topf': "\uD835\uDD4B", + 'topfork': "\u2ADA", + 'tosa': "\u2929", + 'tprime': "\u2034", + 'trade': "\u2122", + 'TRADE': "\u2122", + 'triangle': "\u25B5", + 'triangledown': "\u25BF", + 'triangleleft': "\u25C3", + 'trianglelefteq': "\u22B4", + 'triangleq': "\u225C", + 'triangleright': "\u25B9", + 'trianglerighteq': "\u22B5", + 'tridot': "\u25EC", + 'trie': "\u225C", + 'triminus': "\u2A3A", + 'TripleDot': "\u20DB", + 'triplus': "\u2A39", + 'trisb': "\u29CD", + 'tritime': "\u2A3B", + 'trpezium': "\u23E2", + 'tscr': "\uD835\uDCC9", + 'Tscr': "\uD835\uDCAF", + 'tscy': "\u0446", + 'TScy': "\u0426", + 'tshcy': "\u045B", + 'TSHcy': "\u040B", + 'tstrok': "\u0167", + 'Tstrok': "\u0166", + 'twixt': "\u226C", + 'twoheadleftarrow': "\u219E", + 'twoheadrightarrow': "\u21A0", + 'uacute': '\xFA', + 'Uacute': '\xDA', + 'uarr': "\u2191", + 'uArr': "\u21D1", + 'Uarr': "\u219F", + 'Uarrocir': "\u2949", + 'ubrcy': "\u045E", + 'Ubrcy': "\u040E", + 'ubreve': "\u016D", + 'Ubreve': "\u016C", + 'ucirc': '\xFB', + 'Ucirc': '\xDB', + 'ucy': "\u0443", + 'Ucy': "\u0423", + 'udarr': "\u21C5", + 'udblac': "\u0171", + 'Udblac': "\u0170", + 'udhar': "\u296E", + 'ufisht': "\u297E", + 'ufr': "\uD835\uDD32", + 'Ufr': "\uD835\uDD18", + 'ugrave': '\xF9', + 'Ugrave': '\xD9', + 'uHar': "\u2963", + 'uharl': "\u21BF", + 'uharr': "\u21BE", + 'uhblk': "\u2580", + 'ulcorn': "\u231C", + 'ulcorner': "\u231C", + 'ulcrop': "\u230F", + 'ultri': "\u25F8", + 'umacr': "\u016B", + 'Umacr': "\u016A", + 'uml': '\xA8', + 'UnderBar': '_', + 'UnderBrace': "\u23DF", + 'UnderBracket': "\u23B5", + 'UnderParenthesis': "\u23DD", + 'Union': "\u22C3", + 'UnionPlus': "\u228E", + 'uogon': "\u0173", + 'Uogon': "\u0172", + 'uopf': "\uD835\uDD66", + 'Uopf': "\uD835\uDD4C", + 'uparrow': "\u2191", + 'Uparrow': "\u21D1", + 'UpArrow': "\u2191", + 'UpArrowBar': "\u2912", + 'UpArrowDownArrow': "\u21C5", + 'updownarrow': "\u2195", + 'Updownarrow': "\u21D5", + 'UpDownArrow': "\u2195", + 'UpEquilibrium': "\u296E", + 'upharpoonleft': "\u21BF", + 'upharpoonright': "\u21BE", + 'uplus': "\u228E", + 'UpperLeftArrow': "\u2196", + 'UpperRightArrow': "\u2197", + 'upsi': "\u03C5", + 'Upsi': "\u03D2", + 'upsih': "\u03D2", + 'upsilon': "\u03C5", + 'Upsilon': "\u03A5", + 'UpTee': "\u22A5", + 'UpTeeArrow': "\u21A5", + 'upuparrows': "\u21C8", + 'urcorn': "\u231D", + 'urcorner': "\u231D", + 'urcrop': "\u230E", + 'uring': "\u016F", + 'Uring': "\u016E", + 'urtri': "\u25F9", + 'uscr': "\uD835\uDCCA", + 'Uscr': "\uD835\uDCB0", + 'utdot': "\u22F0", + 'utilde': "\u0169", + 'Utilde': "\u0168", + 'utri': "\u25B5", + 'utrif': "\u25B4", + 'uuarr': "\u21C8", + 'uuml': '\xFC', + 'Uuml': '\xDC', + 'uwangle': "\u29A7", + 'vangrt': "\u299C", + 'varepsilon': "\u03F5", + 'varkappa': "\u03F0", + 'varnothing': "\u2205", + 'varphi': "\u03D5", + 'varpi': "\u03D6", + 'varpropto': "\u221D", + 'varr': "\u2195", + 'vArr': "\u21D5", + 'varrho': "\u03F1", + 'varsigma': "\u03C2", + 'varsubsetneq': "\u228A\uFE00", + 'varsubsetneqq': "\u2ACB\uFE00", + 'varsupsetneq': "\u228B\uFE00", + 'varsupsetneqq': "\u2ACC\uFE00", + 'vartheta': "\u03D1", + 'vartriangleleft': "\u22B2", + 'vartriangleright': "\u22B3", + 'vBar': "\u2AE8", + 'Vbar': "\u2AEB", + 'vBarv': "\u2AE9", + 'vcy': "\u0432", + 'Vcy': "\u0412", + 'vdash': "\u22A2", + 'vDash': "\u22A8", + 'Vdash': "\u22A9", + 'VDash': "\u22AB", + 'Vdashl': "\u2AE6", + 'vee': "\u2228", + 'Vee': "\u22C1", + 'veebar': "\u22BB", + 'veeeq': "\u225A", + 'vellip': "\u22EE", + 'verbar': '|', + 'Verbar': "\u2016", + 'vert': '|', + 'Vert': "\u2016", + 'VerticalBar': "\u2223", + 'VerticalLine': '|', + 'VerticalSeparator': "\u2758", + 'VerticalTilde': "\u2240", + 'VeryThinSpace': "\u200A", + 'vfr': "\uD835\uDD33", + 'Vfr': "\uD835\uDD19", + 'vltri': "\u22B2", + 'vnsub': "\u2282\u20D2", + 'vnsup': "\u2283\u20D2", + 'vopf': "\uD835\uDD67", + 'Vopf': "\uD835\uDD4D", + 'vprop': "\u221D", + 'vrtri': "\u22B3", + 'vscr': "\uD835\uDCCB", + 'Vscr': "\uD835\uDCB1", + 'vsubne': "\u228A\uFE00", + 'vsubnE': "\u2ACB\uFE00", + 'vsupne': "\u228B\uFE00", + 'vsupnE': "\u2ACC\uFE00", + 'Vvdash': "\u22AA", + 'vzigzag': "\u299A", + 'wcirc': "\u0175", + 'Wcirc': "\u0174", + 'wedbar': "\u2A5F", + 'wedge': "\u2227", + 'Wedge': "\u22C0", + 'wedgeq': "\u2259", + 'weierp': "\u2118", + 'wfr': "\uD835\uDD34", + 'Wfr': "\uD835\uDD1A", + 'wopf': "\uD835\uDD68", + 'Wopf': "\uD835\uDD4E", + 'wp': "\u2118", + 'wr': "\u2240", + 'wreath': "\u2240", + 'wscr': "\uD835\uDCCC", + 'Wscr': "\uD835\uDCB2", + 'xcap': "\u22C2", + 'xcirc': "\u25EF", + 'xcup': "\u22C3", + 'xdtri': "\u25BD", + 'xfr': "\uD835\uDD35", + 'Xfr': "\uD835\uDD1B", + 'xharr': "\u27F7", + 'xhArr': "\u27FA", + 'xi': "\u03BE", + 'Xi': "\u039E", + 'xlarr': "\u27F5", + 'xlArr': "\u27F8", + 'xmap': "\u27FC", + 'xnis': "\u22FB", + 'xodot': "\u2A00", + 'xopf': "\uD835\uDD69", + 'Xopf': "\uD835\uDD4F", + 'xoplus': "\u2A01", + 'xotime': "\u2A02", + 'xrarr': "\u27F6", + 'xrArr': "\u27F9", + 'xscr': "\uD835\uDCCD", + 'Xscr': "\uD835\uDCB3", + 'xsqcup': "\u2A06", + 'xuplus': "\u2A04", + 'xutri': "\u25B3", + 'xvee': "\u22C1", + 'xwedge': "\u22C0", + 'yacute': '\xFD', + 'Yacute': '\xDD', + 'yacy': "\u044F", + 'YAcy': "\u042F", + 'ycirc': "\u0177", + 'Ycirc': "\u0176", + 'ycy': "\u044B", + 'Ycy': "\u042B", + 'yen': '\xA5', + 'yfr': "\uD835\uDD36", + 'Yfr': "\uD835\uDD1C", + 'yicy': "\u0457", + 'YIcy': "\u0407", + 'yopf': "\uD835\uDD6A", + 'Yopf': "\uD835\uDD50", + 'yscr': "\uD835\uDCCE", + 'Yscr': "\uD835\uDCB4", + 'yucy': "\u044E", + 'YUcy': "\u042E", + 'yuml': '\xFF', + 'Yuml': "\u0178", + 'zacute': "\u017A", + 'Zacute': "\u0179", + 'zcaron': "\u017E", + 'Zcaron': "\u017D", + 'zcy': "\u0437", + 'Zcy': "\u0417", + 'zdot': "\u017C", + 'Zdot': "\u017B", + 'zeetrf': "\u2128", + 'ZeroWidthSpace': "\u200B", + 'zeta': "\u03B6", + 'Zeta': "\u0396", + 'zfr': "\uD835\uDD37", + 'Zfr': "\u2128", + 'zhcy': "\u0436", + 'ZHcy': "\u0416", + 'zigrarr': "\u21DD", + 'zopf': "\uD835\uDD6B", + 'Zopf': "\u2124", + 'zscr': "\uD835\uDCCF", + 'Zscr': "\uD835\uDCB5", + 'zwj': "\u200D", + 'zwnj': "\u200C" + }; + var decodeMapLegacy = { + 'aacute': '\xE1', + 'Aacute': '\xC1', + 'acirc': '\xE2', + 'Acirc': '\xC2', + 'acute': '\xB4', + 'aelig': '\xE6', + 'AElig': '\xC6', + 'agrave': '\xE0', + 'Agrave': '\xC0', + 'amp': '&', + 'AMP': '&', + 'aring': '\xE5', + 'Aring': '\xC5', + 'atilde': '\xE3', + 'Atilde': '\xC3', + 'auml': '\xE4', + 'Auml': '\xC4', + 'brvbar': '\xA6', + 'ccedil': '\xE7', + 'Ccedil': '\xC7', + 'cedil': '\xB8', + 'cent': '\xA2', + 'copy': '\xA9', + 'COPY': '\xA9', + 'curren': '\xA4', + 'deg': '\xB0', + 'divide': '\xF7', + 'eacute': '\xE9', + 'Eacute': '\xC9', + 'ecirc': '\xEA', + 'Ecirc': '\xCA', + 'egrave': '\xE8', + 'Egrave': '\xC8', + 'eth': '\xF0', + 'ETH': '\xD0', + 'euml': '\xEB', + 'Euml': '\xCB', + 'frac12': '\xBD', + 'frac14': '\xBC', + 'frac34': '\xBE', + 'gt': '>', + 'GT': '>', + 'iacute': '\xED', + 'Iacute': '\xCD', + 'icirc': '\xEE', + 'Icirc': '\xCE', + 'iexcl': '\xA1', + 'igrave': '\xEC', + 'Igrave': '\xCC', + 'iquest': '\xBF', + 'iuml': '\xEF', + 'Iuml': '\xCF', + 'laquo': '\xAB', + 'lt': '<', + 'LT': '<', + 'macr': '\xAF', + 'micro': '\xB5', + 'middot': '\xB7', + 'nbsp': '\xA0', + 'not': '\xAC', + 'ntilde': '\xF1', + 'Ntilde': '\xD1', + 'oacute': '\xF3', + 'Oacute': '\xD3', + 'ocirc': '\xF4', + 'Ocirc': '\xD4', + 'ograve': '\xF2', + 'Ograve': '\xD2', + 'ordf': '\xAA', + 'ordm': '\xBA', + 'oslash': '\xF8', + 'Oslash': '\xD8', + 'otilde': '\xF5', + 'Otilde': '\xD5', + 'ouml': '\xF6', + 'Ouml': '\xD6', + 'para': '\xB6', + 'plusmn': '\xB1', + 'pound': '\xA3', + 'quot': '"', + 'QUOT': '"', + 'raquo': '\xBB', + 'reg': '\xAE', + 'REG': '\xAE', + 'sect': '\xA7', + 'shy': '\xAD', + 'sup1': '\xB9', + 'sup2': '\xB2', + 'sup3': '\xB3', + 'szlig': '\xDF', + 'thorn': '\xFE', + 'THORN': '\xDE', + 'times': '\xD7', + 'uacute': '\xFA', + 'Uacute': '\xDA', + 'ucirc': '\xFB', + 'Ucirc': '\xDB', + 'ugrave': '\xF9', + 'Ugrave': '\xD9', + 'uml': '\xA8', + 'uuml': '\xFC', + 'Uuml': '\xDC', + 'yacute': '\xFD', + 'Yacute': '\xDD', + 'yen': '\xA5', + 'yuml': '\xFF' + }; + var decodeMapNumeric = { + '0': "\uFFFD", + '128': "\u20AC", + '130': "\u201A", + '131': "\u0192", + '132': "\u201E", + '133': "\u2026", + '134': "\u2020", + '135': "\u2021", + '136': "\u02C6", + '137': "\u2030", + '138': "\u0160", + '139': "\u2039", + '140': "\u0152", + '142': "\u017D", + '145': "\u2018", + '146': "\u2019", + '147': "\u201C", + '148': "\u201D", + '149': "\u2022", + '150': "\u2013", + '151': "\u2014", + '152': "\u02DC", + '153': "\u2122", + '154': "\u0161", + '155': "\u203A", + '156': "\u0153", + '158': "\u017E", + '159': "\u0178" + }; + var invalidReferenceCodePoints = [1, 2, 3, 4, 5, 6, 7, 8, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 64976, 64977, 64978, 64979, 64980, 64981, 64982, 64983, 64984, 64985, 64986, 64987, 64988, 64989, 64990, 64991, 64992, 64993, 64994, 64995, 64996, 64997, 64998, 64999, 65000, 65001, 65002, 65003, 65004, 65005, 65006, 65007, 65534, 65535, 131070, 131071, 196606, 196607, 262142, 262143, 327678, 327679, 393214, 393215, 458750, 458751, 524286, 524287, 589822, 589823, 655358, 655359, 720894, 720895, 786430, 786431, 851966, 851967, 917502, 917503, 983038, 983039, 1048574, 1048575, 1114110, 1114111]; + /*--------------------------------------------------------------------------*/ + + var stringFromCharCode = String.fromCharCode; + var object = {}; + var hasOwnProperty = object.hasOwnProperty; + + var has = function has(object, propertyName) { + return hasOwnProperty.call(object, propertyName); + }; + + var contains = function contains(array, value) { + var index = -1; + var length = array.length; + + while (++index < length) { + if (array[index] == value) { + return true; + } + } + + return false; + }; + + var merge = function merge(options, defaults) { + if (!options) { + return defaults; + } + + var result = {}; + var key; + + for (key in defaults) { + // A `hasOwnProperty` check is not needed here, since only recognized + // option names are used anyway. Any others are ignored. + result[key] = has(options, key) ? options[key] : defaults[key]; + } + + return result; + }; // Modified version of `ucs2encode`; see https://mths.be/punycode. + + + var codePointToSymbol = function codePointToSymbol(codePoint, strict) { + var output = ''; + + if (codePoint >= 0xD800 && codePoint <= 0xDFFF || codePoint > 0x10FFFF) { + // See issue #4: + // “Otherwise, if the number is in the range 0xD800 to 0xDFFF or is + // greater than 0x10FFFF, then this is a parse error. Return a U+FFFD + // REPLACEMENT CHARACTER.” + if (strict) { + parseError('character reference outside the permissible Unicode range'); + } + + return "\uFFFD"; + } + + if (has(decodeMapNumeric, codePoint)) { + if (strict) { + parseError('disallowed character reference'); + } + + return decodeMapNumeric[codePoint]; + } + + if (strict && contains(invalidReferenceCodePoints, codePoint)) { + parseError('disallowed character reference'); + } + + if (codePoint > 0xFFFF) { + codePoint -= 0x10000; + output += stringFromCharCode(codePoint >>> 10 & 0x3FF | 0xD800); + codePoint = 0xDC00 | codePoint & 0x3FF; + } + + output += stringFromCharCode(codePoint); + return output; + }; + + var hexEscape = function hexEscape(codePoint) { + return '&#x' + codePoint.toString(16).toUpperCase() + ';'; + }; + + var decEscape = function decEscape(codePoint) { + return '&#' + codePoint + ';'; + }; + + var parseError = function parseError(message) { + throw Error('Parse error: ' + message); + }; + /*--------------------------------------------------------------------------*/ + + + var encode = function encode(string, options) { + options = merge(options, encode.options); + var strict = options.strict; + + if (strict && regexInvalidRawCodePoint.test(string)) { + parseError('forbidden code point'); + } + + var encodeEverything = options.encodeEverything; + var useNamedReferences = options.useNamedReferences; + var allowUnsafeSymbols = options.allowUnsafeSymbols; + var escapeCodePoint = options.decimal ? decEscape : hexEscape; + + var escapeBmpSymbol = function escapeBmpSymbol(symbol) { + return escapeCodePoint(symbol.charCodeAt(0)); + }; + + if (encodeEverything) { + // Encode ASCII symbols. + string = string.replace(regexAsciiWhitelist, function (symbol) { + // Use named references if requested & possible. + if (useNamedReferences && has(encodeMap, symbol)) { + return '&' + encodeMap[symbol] + ';'; + } + + return escapeBmpSymbol(symbol); + }); // Shorten a few escapes that represent two symbols, of which at least one + // is within the ASCII range. + + if (useNamedReferences) { + string = string.replace(/>\u20D2/g, '>⃒').replace(/<\u20D2/g, '<⃒').replace(/fj/g, 'fj'); + } // Encode non-ASCII symbols. + + + if (useNamedReferences) { + // Encode non-ASCII symbols that can be replaced with a named reference. + string = string.replace(regexEncodeNonAscii, function (string) { + // Note: there is no need to check `has(encodeMap, string)` here. + return '&' + encodeMap[string] + ';'; + }); + } // Note: any remaining non-ASCII symbols are handled outside of the `if`. + + } else if (useNamedReferences) { + // Apply named character references. + // Encode `<>"'&` using named character references. + if (!allowUnsafeSymbols) { + string = string.replace(regexEscape, function (string) { + return '&' + encodeMap[string] + ';'; // no need to check `has()` here + }); + } // Shorten escapes that represent two symbols, of which at least one is + // `<>"'&`. + + + string = string.replace(/>\u20D2/g, '>⃒').replace(/<\u20D2/g, '<⃒'); // Encode non-ASCII symbols that can be replaced with a named reference. + + string = string.replace(regexEncodeNonAscii, function (string) { + // Note: there is no need to check `has(encodeMap, string)` here. + return '&' + encodeMap[string] + ';'; + }); + } else if (!allowUnsafeSymbols) { + // Encode `<>"'&` using hexadecimal escapes, now that they’re not handled + // using named character references. + string = string.replace(regexEscape, escapeBmpSymbol); + } + + return string // Encode astral symbols. + .replace(regexAstralSymbols, function ($0) { + // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae + var high = $0.charCodeAt(0); + var low = $0.charCodeAt(1); + var codePoint = (high - 0xD800) * 0x400 + low - 0xDC00 + 0x10000; + return escapeCodePoint(codePoint); + }) // Encode any remaining BMP symbols that are not printable ASCII symbols + // using a hexadecimal escape. + .replace(regexBmpWhitelist, escapeBmpSymbol); + }; // Expose default options (so they can be overridden globally). + + + encode.options = { + 'allowUnsafeSymbols': false, + 'encodeEverything': false, + 'strict': false, + 'useNamedReferences': false, + 'decimal': false + }; + + var decode = function decode(html, options) { + options = merge(options, decode.options); + var strict = options.strict; + + if (strict && regexInvalidEntity.test(html)) { + parseError('malformed character reference'); + } + + return html.replace(regexDecode, function ($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var codePoint; + var semicolon; + var decDigits; + var hexDigits; + var reference; + var next; + + if ($1) { + reference = $1; // Note: there is no need to check `has(decodeMap, reference)`. + + return decodeMap[reference]; + } + + if ($2) { + // Decode named character references without trailing `;`, e.g. `&`. + // This is only a parse error if it gets converted to `&`, or if it is + // followed by `=` in an attribute context. + reference = $2; + next = $3; + + if (next && options.isAttributeValue) { + if (strict && next == '=') { + parseError('`&` did not start a character reference'); + } + + return $0; + } else { + if (strict) { + parseError('named character reference was not terminated by a semicolon'); + } // Note: there is no need to check `has(decodeMapLegacy, reference)`. + + + return decodeMapLegacy[reference] + (next || ''); + } + } + + if ($4) { + // Decode decimal escapes, e.g. `𝌆`. + decDigits = $4; + semicolon = $5; + + if (strict && !semicolon) { + parseError('character reference was not terminated by a semicolon'); + } + + codePoint = parseInt(decDigits, 10); + return codePointToSymbol(codePoint, strict); + } + + if ($6) { + // Decode hexadecimal escapes, e.g. `𝌆`. + hexDigits = $6; + semicolon = $7; + + if (strict && !semicolon) { + parseError('character reference was not terminated by a semicolon'); + } + + codePoint = parseInt(hexDigits, 16); + return codePointToSymbol(codePoint, strict); + } // If we’re still here, `if ($7)` is implied; it’s an ambiguous + // ampersand for sure. https://mths.be/notes/ambiguous-ampersands + + + if (strict) { + parseError('named character reference was not terminated by a semicolon'); + } + + return $0; + }); + }; // Expose default options (so they can be overridden globally). + + + decode.options = { + 'isAttributeValue': false, + 'strict': false + }; + + var escape = function escape(string) { + return string.replace(regexEscape, function ($0) { + // Note: there is no need to check `has(escapeMap, $0)` here. + return escapeMap[$0]; + }); + }; + /*--------------------------------------------------------------------------*/ + + + var he = { + 'version': '1.2.0', + 'encode': encode, + 'decode': decode, + 'escape': escape, + 'unescape': decode + }; // Some AMD build optimizers, like r.js, check for specific condition patterns + // like the following: + + if (freeExports && !freeExports.nodeType) { + if (freeModule) { + // in Node.js, io.js, or RingoJS v0.8.0+ + freeModule.exports = he; + } else { + // in Narwhal or RingoJS v0.7.0- + for (var key in he) { + has(he, key) && (freeExports[key] = he[key]); + } + } + } else { + // in Rhino or a web browser + root.he = he; + } + })(commonjsGlobal); + }); + + var utils = createCommonjsModule(function (module, exports) { + /** + * Various utility functions used throughout Mocha's codebase. + * @module utils + */ + + /** + * Module dependencies. + */ + + var nanoid = nonSecure.nanoid; + var MOCHA_ID_PROP_NAME = '__mocha_id__'; + /** + * Inherit the prototype methods from one constructor into another. + * + * @param {function} ctor - Constructor function which needs to inherit the + * prototype. + * @param {function} superCtor - Constructor function to inherit prototype from. + * @throws {TypeError} if either constructor is null, or if super constructor + * lacks a prototype. + */ + + exports.inherits = util.inherits; + /** + * Escape special characters in the given string of html. + * + * @private + * @param {string} html + * @return {string} + */ + + exports.escape = function (html) { + return he.encode(String(html), { + useNamedReferences: false + }); + }; + /** + * Test if the given obj is type of string. + * + * @private + * @param {Object} obj + * @return {boolean} + */ + + + exports.isString = function (obj) { + return typeof obj === 'string'; + }; + /** + * Compute a slug from the given `str`. + * + * @private + * @param {string} str + * @return {string} + */ + + + exports.slug = function (str) { + return str.toLowerCase().replace(/\s+/g, '-').replace(/[^-\w]/g, '').replace(/-{2,}/g, '-'); + }; + /** + * Strip the function definition from `str`, and re-indent for pre whitespace. + * + * @param {string} str + * @return {string} + */ + + + exports.clean = function (str) { + str = str.replace(/\r\n?|[\n\u2028\u2029]/g, '\n').replace(/^\uFEFF/, '') // (traditional)-> space/name parameters body (lambda)-> parameters body multi-statement/single keep body content + .replace(/^function(?:\s*|\s+[^(]*)\([^)]*\)\s*\{((?:.|\n)*?)\s*\}$|^\([^)]*\)\s*=>\s*(?:\{((?:.|\n)*?)\s*\}|((?:.|\n)*))$/, '$1$2$3'); + var spaces = str.match(/^\n?( *)/)[1].length; + var tabs = str.match(/^\n?(\t*)/)[1].length; + var re = new RegExp('^\n?' + (tabs ? '\t' : ' ') + '{' + (tabs || spaces) + '}', 'gm'); + str = str.replace(re, ''); + return str.trim(); + }; + /** + * If a value could have properties, and has none, this function is called, + * which returns a string representation of the empty value. + * + * Functions w/ no properties return `'[Function]'` + * Arrays w/ length === 0 return `'[]'` + * Objects w/ no properties return `'{}'` + * All else: return result of `value.toString()` + * + * @private + * @param {*} value The value to inspect. + * @param {string} typeHint The type of the value + * @returns {string} + */ + + + function emptyRepresentation(value, typeHint) { + switch (typeHint) { + case 'function': + return '[Function]'; + + case 'object': + return '{}'; + + case 'array': + return '[]'; + + default: + return value.toString(); + } + } + /** + * Takes some variable and asks `Object.prototype.toString()` what it thinks it + * is. + * + * @private + * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/toString + * @param {*} value The value to test. + * @returns {string} Computed type + * @example + * canonicalType({}) // 'object' + * canonicalType([]) // 'array' + * canonicalType(1) // 'number' + * canonicalType(false) // 'boolean' + * canonicalType(Infinity) // 'number' + * canonicalType(null) // 'null' + * canonicalType(new Date()) // 'date' + * canonicalType(/foo/) // 'regexp' + * canonicalType('type') // 'string' + * canonicalType(global) // 'global' + * canonicalType(new String('foo') // 'object' + * canonicalType(async function() {}) // 'asyncfunction' + * canonicalType(await import(name)) // 'module' + */ + + + var canonicalType = exports.canonicalType = function canonicalType(value) { + if (value === undefined) { + return 'undefined'; + } else if (value === null) { + return 'null'; + } else if (isBuffer$2(value)) { + return 'buffer'; + } + + return Object.prototype.toString.call(value).replace(/^\[.+\s(.+?)]$/, '$1').toLowerCase(); + }; + /** + * + * Returns a general type or data structure of a variable + * @private + * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures + * @param {*} value The value to test. + * @returns {string} One of undefined, boolean, number, string, bigint, symbol, object + * @example + * type({}) // 'object' + * type([]) // 'array' + * type(1) // 'number' + * type(false) // 'boolean' + * type(Infinity) // 'number' + * type(null) // 'null' + * type(new Date()) // 'object' + * type(/foo/) // 'object' + * type('type') // 'string' + * type(global) // 'object' + * type(new String('foo') // 'string' + */ + + + exports.type = function type(value) { + // Null is special + if (value === null) return 'null'; + var primitives = new Set(['undefined', 'boolean', 'number', 'string', 'bigint', 'symbol']); + + var _type = _typeof(value); + + if (_type === 'function') return _type; + if (primitives.has(_type)) return _type; + if (value instanceof String) return 'string'; + if (value instanceof Error) return 'error'; + if (Array.isArray(value)) return 'array'; + return _type; + }; + /** + * Stringify `value`. Different behavior depending on type of value: + * + * - If `value` is undefined or null, return `'[undefined]'` or `'[null]'`, respectively. + * - If `value` is not an object, function or array, return result of `value.toString()` wrapped in double-quotes. + * - If `value` is an *empty* object, function, or array, return result of function + * {@link emptyRepresentation}. + * - If `value` has properties, call {@link exports.canonicalize} on it, then return result of + * JSON.stringify(). + * + * @private + * @see exports.type + * @param {*} value + * @return {string} + */ + + + exports.stringify = function (value) { + var typeHint = canonicalType(value); + + if (!~['object', 'array', 'function'].indexOf(typeHint)) { + if (typeHint === 'buffer') { + var json = Buffer$1.prototype.toJSON.call(value); // Based on the toJSON result + + return jsonStringify(json.data && json.type ? json.data : json, 2).replace(/,(\n|$)/g, '$1'); + } // IE7/IE8 has a bizarre String constructor; needs to be coerced + // into an array and back to obj. + + + if (typeHint === 'string' && _typeof(value) === 'object') { + value = value.split('').reduce(function (acc, _char, idx) { + acc[idx] = _char; + return acc; + }, {}); + typeHint = 'object'; + } else { + return jsonStringify(value); + } + } + + for (var prop in value) { + if (Object.prototype.hasOwnProperty.call(value, prop)) { + return jsonStringify(exports.canonicalize(value, null, typeHint), 2).replace(/,(\n|$)/g, '$1'); + } + } + + return emptyRepresentation(value, typeHint); + }; + /** + * like JSON.stringify but more sense. + * + * @private + * @param {Object} object + * @param {number=} spaces + * @param {number=} depth + * @returns {*} + */ + + + function jsonStringify(object, spaces, depth) { + if (typeof spaces === 'undefined') { + // primitive types + return _stringify(object); + } + + depth = depth || 1; + var space = spaces * depth; + var str = Array.isArray(object) ? '[' : '{'; + var end = Array.isArray(object) ? ']' : '}'; + var length = typeof object.length === 'number' ? object.length : Object.keys(object).length; // `.repeat()` polyfill + + function repeat(s, n) { + return new Array(n).join(s); + } + + function _stringify(val) { + switch (canonicalType(val)) { + case 'null': + case 'undefined': + val = '[' + val + ']'; + break; + + case 'array': + case 'object': + val = jsonStringify(val, spaces, depth + 1); + break; + + case 'boolean': + case 'regexp': + case 'symbol': + case 'number': + val = val === 0 && 1 / val === -Infinity // `-0` + ? '-0' : val.toString(); + break; + + case 'bigint': + val = val.toString() + 'n'; + break; + + case 'date': + var sDate = isNaN(val.getTime()) ? val.toString() : val.toISOString(); + val = '[Date: ' + sDate + ']'; + break; + + case 'buffer': + var json = val.toJSON(); // Based on the toJSON result + + json = json.data && json.type ? json.data : json; + val = '[Buffer: ' + jsonStringify(json, 2, depth + 1) + ']'; + break; + + default: + val = val === '[Function]' || val === '[Circular]' ? val : JSON.stringify(val); + // string + } + + return val; + } + + for (var i in object) { + if (!Object.prototype.hasOwnProperty.call(object, i)) { + continue; // not my business + } + + --length; + str += '\n ' + repeat(' ', space) + (Array.isArray(object) ? '' : '"' + i + '": ') + // key + _stringify(object[i]) + ( // value + length ? ',' : ''); // comma + } + + return str + ( // [], {} + str.length !== 1 ? '\n' + repeat(' ', --space) + end : end); + } + /** + * Return a new Thing that has the keys in sorted order. Recursive. + * + * If the Thing... + * - has already been seen, return string `'[Circular]'` + * - is `undefined`, return string `'[undefined]'` + * - is `null`, return value `null` + * - is some other primitive, return the value + * - is not a primitive or an `Array`, `Object`, or `Function`, return the value of the Thing's `toString()` method + * - is a non-empty `Array`, `Object`, or `Function`, return the result of calling this function again. + * - is an empty `Array`, `Object`, or `Function`, return the result of calling `emptyRepresentation()` + * + * @private + * @see {@link exports.stringify} + * @param {*} value Thing to inspect. May or may not have properties. + * @param {Array} [stack=[]] Stack of seen values + * @param {string} [typeHint] Type hint + * @return {(Object|Array|Function|string|undefined)} + */ + + + exports.canonicalize = function canonicalize(value, stack, typeHint) { + var canonicalizedObj; + /* eslint-disable no-unused-vars */ + + var prop; + /* eslint-enable no-unused-vars */ + + typeHint = typeHint || canonicalType(value); + + function withStack(value, fn) { + stack.push(value); + fn(); + stack.pop(); + } + + stack = stack || []; + + if (stack.indexOf(value) !== -1) { + return '[Circular]'; + } + + switch (typeHint) { + case 'undefined': + case 'buffer': + case 'null': + canonicalizedObj = value; + break; + + case 'array': + withStack(value, function () { + canonicalizedObj = value.map(function (item) { + return exports.canonicalize(item, stack); + }); + }); + break; + + case 'function': + /* eslint-disable-next-line no-unused-vars */ + for (prop in value) { + canonicalizedObj = {}; + break; + } + /* eslint-enable guard-for-in */ + + + if (!canonicalizedObj) { + canonicalizedObj = emptyRepresentation(value, typeHint); + break; + } + + /* falls through */ + + case 'object': + canonicalizedObj = canonicalizedObj || {}; + withStack(value, function () { + Object.keys(value).sort().forEach(function (key) { + canonicalizedObj[key] = exports.canonicalize(value[key], stack); + }); + }); + break; + + case 'date': + case 'number': + case 'regexp': + case 'boolean': + case 'symbol': + canonicalizedObj = value; + break; + + default: + canonicalizedObj = value + ''; + } + + return canonicalizedObj; + }; + /** + * @summary + * This Filter based on `mocha-clean` module.(see: `github.com/rstacruz/mocha-clean`) + * @description + * When invoking this function you get a filter function that get the Error.stack as an input, + * and return a prettify output. + * (i.e: strip Mocha and internal node functions from stack trace). + * @returns {Function} + */ + + + exports.stackTraceFilter = function () { + // TODO: Replace with `process.browser` + var is = typeof document === 'undefined' ? { + node: true + } : { + browser: true + }; + var slash = path.sep; + var cwd; + + if (is.node) { + cwd = exports.cwd() + slash; + } else { + cwd = (typeof location === 'undefined' ? window.location : location).href.replace(/\/[^/]*$/, '/'); + slash = '/'; + } + + function isMochaInternal(line) { + return ~line.indexOf('node_modules' + slash + 'mocha' + slash) || ~line.indexOf(slash + 'mocha.js') || ~line.indexOf(slash + 'mocha.min.js'); + } + + function isNodeInternal(line) { + return ~line.indexOf('(timers.js:') || ~line.indexOf('(events.js:') || ~line.indexOf('(node.js:') || ~line.indexOf('(module.js:') || ~line.indexOf('GeneratorFunctionPrototype.next (native)') || false; + } + + return function (stack) { + stack = stack.split('\n'); + stack = stack.reduce(function (list, line) { + if (isMochaInternal(line)) { + return list; + } + + if (is.node && isNodeInternal(line)) { + return list; + } // Clean up cwd(absolute) + + + if (/:\d+:\d+\)?$/.test(line)) { + line = line.replace('(' + cwd, '('); + } + + list.push(line); + return list; + }, []); + return stack.join('\n'); + }; + }; + /** + * Crude, but effective. + * @public + * @param {*} value + * @returns {boolean} Whether or not `value` is a Promise + */ + + + exports.isPromise = function isPromise(value) { + return _typeof(value) === 'object' && value !== null && typeof value.then === 'function'; + }; + /** + * Clamps a numeric value to an inclusive range. + * + * @param {number} value - Value to be clamped. + * @param {number[]} range - Two element array specifying [min, max] range. + * @returns {number} clamped value + */ + + + exports.clamp = function clamp(value, range) { + return Math.min(Math.max(value, range[0]), range[1]); + }; + /** + * It's a noop. + * @public + */ + + + exports.noop = function () {}; + /** + * Creates a map-like object. + * + * @description + * A "map" is an object with no prototype, for our purposes. In some cases + * this would be more appropriate than a `Map`, especially if your environment + * doesn't support it. Recommended for use in Mocha's public APIs. + * + * @public + * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map#Custom_and_Null_objects|MDN:Map} + * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create#Custom_and_Null_objects|MDN:Object.create - Custom objects} + * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Custom_and_Null_objects|MDN:Object.assign} + * @param {...*} [obj] - Arguments to `Object.assign()`. + * @returns {Object} An object with no prototype, having `...obj` properties + */ + + + exports.createMap = function (obj) { + return Object.assign.apply(null, [Object.create(null)].concat(Array.prototype.slice.call(arguments))); + }; + /** + * Creates a read-only map-like object. + * + * @description + * This differs from {@link module:utils.createMap createMap} only in that + * the argument must be non-empty, because the result is frozen. + * + * @see {@link module:utils.createMap createMap} + * @param {...*} [obj] - Arguments to `Object.assign()`. + * @returns {Object} A frozen object with no prototype, having `...obj` properties + * @throws {TypeError} if argument is not a non-empty object. + */ + + + exports.defineConstants = function (obj) { + if (canonicalType(obj) !== 'object' || !Object.keys(obj).length) { + throw new TypeError('Invalid argument; expected a non-empty object'); + } + + return Object.freeze(exports.createMap(obj)); + }; + /** + * Whether current version of Node support ES modules + * + * @description + * Versions prior to 10 did not support ES Modules, and version 10 has an old incompatible version of ESM. + * This function returns whether Node.JS has ES Module supports that is compatible with Mocha's needs, + * which is version >=12.11. + * + * @param {partialSupport} whether the full Node.js ESM support is available (>= 12) or just something that supports the runtime (>= 10) + * + * @returns {Boolean} whether the current version of Node.JS supports ES Modules in a way that is compatible with Mocha + */ + + + exports.supportsEsModules = function (partialSupport) { + if (!exports.isBrowser() && process$3.versions && process$3.versions.node) { + var versionFields = process$3.versions.node.split('.'); + var major = +versionFields[0]; + var minor = +versionFields[1]; + + if (!partialSupport) { + return major >= 13 || major === 12 && minor >= 11; + } else { + return major >= 10; + } + } + }; + /** + * Returns current working directory + * + * Wrapper around `process.cwd()` for isolation + * @private + */ + + + exports.cwd = function cwd() { + return process$3.cwd(); + }; + /** + * Returns `true` if Mocha is running in a browser. + * Checks for `process.browser`. + * @returns {boolean} + * @private + */ + + + exports.isBrowser = function isBrowser() { + return Boolean(browser$2); + }; + /* + * Casts `value` to an array; useful for optionally accepting array parameters + * + * It follows these rules, depending on `value`. If `value` is... + * 1. `undefined`: return an empty Array + * 2. `null`: return an array with a single `null` element + * 3. Any other object: return the value of `Array.from()` _if_ the object is iterable + * 4. otherwise: return an array with a single element, `value` + * @param {*} value - Something to cast to an Array + * @returns {Array<*>} + */ + + + exports.castArray = function castArray(value) { + if (value === undefined) { + return []; + } + + if (value === null) { + return [null]; + } + + if (_typeof(value) === 'object' && (typeof value[Symbol.iterator] === 'function' || value.length !== undefined)) { + return Array.from(value); + } + + return [value]; + }; + + exports.constants = exports.defineConstants({ + MOCHA_ID_PROP_NAME: MOCHA_ID_PROP_NAME + }); + /** + * Creates a new unique identifier + * @returns {string} Unique identifier + */ + + exports.uniqueID = function () { + return nanoid(); + }; + + exports.assignNewMochaID = function (obj) { + var id = exports.uniqueID(); + Object.defineProperty(obj, MOCHA_ID_PROP_NAME, { + get: function get() { + return id; + } + }); + return obj; + }; + /** + * Retrieves a Mocha ID from an object, if present. + * @param {*} [obj] - Object + * @returns {string|void} + */ + + + exports.getMochaID = function (obj) { + return obj && _typeof(obj) === 'object' ? obj[MOCHA_ID_PROP_NAME] : undefined; + }; + }); + + var _nodeResolve_empty = {}; + + var _nodeResolve_empty$1 = /*#__PURE__*/Object.freeze({ + __proto__: null, + 'default': _nodeResolve_empty + }); + + var browser$1 = { + info: 'ℹ️', + success: '✅', + warning: '⚠️', + error: '❌️' + }; + + // `Map` constructor + // https://tc39.es/ecma262/#sec-map-objects + collection('Map', function (init) { + return function Map() { return init(this, arguments.length ? arguments[0] : undefined); }; + }, collectionStrong); + + /** + @module Pending + */ + + var pending = Pending; + /** + * Initialize a new `Pending` error with the given message. + * + * @param {string} message + */ + + function Pending(message) { + this.message = message; + } + + /** + * Helpers. + */ + var s = 1000; + var m = s * 60; + var h = m * 60; + var d = h * 24; + var w = d * 7; + var y = d * 365.25; + /** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + + var ms = function ms(val, options) { + options = options || {}; + + var type = _typeof(val); + + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isFinite(val)) { + return options["long"] ? fmtLong(val) : fmtShort(val); + } + + throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val)); + }; + /** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + + + function parse(str) { + str = String(str); + + if (str.length > 100) { + return; + } + + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str); + + if (!match) { + return; + } + + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + + case 'weeks': + case 'week': + case 'w': + return n * w; + + case 'days': + case 'day': + case 'd': + return n * d; + + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + + default: + return undefined; + } + } + /** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + + + function fmtShort(ms) { + var msAbs = Math.abs(ms); + + if (msAbs >= d) { + return Math.round(ms / d) + 'd'; + } + + if (msAbs >= h) { + return Math.round(ms / h) + 'h'; + } + + if (msAbs >= m) { + return Math.round(ms / m) + 'm'; + } + + if (msAbs >= s) { + return Math.round(ms / s) + 's'; + } + + return ms + 'ms'; + } + /** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + + + function fmtLong(ms) { + var msAbs = Math.abs(ms); + + if (msAbs >= d) { + return plural(ms, msAbs, d, 'day'); + } + + if (msAbs >= h) { + return plural(ms, msAbs, h, 'hour'); + } + + if (msAbs >= m) { + return plural(ms, msAbs, m, 'minute'); + } + + if (msAbs >= s) { + return plural(ms, msAbs, s, 'second'); + } + + return ms + ' ms'; + } + /** + * Pluralization helper. + */ + + + function plural(ms, msAbs, n, name) { + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); + } + + /** + * This is the common logic for both the Node.js and web browser + * implementations of `debug()`. + */ + + function setup(env) { + createDebug.debug = createDebug; + createDebug["default"] = createDebug; + createDebug.coerce = coerce; + createDebug.disable = disable; + createDebug.enable = enable; + createDebug.enabled = enabled; + createDebug.humanize = ms; + createDebug.destroy = destroy; + Object.keys(env).forEach(function (key) { + createDebug[key] = env[key]; + }); + /** + * The currently active debug mode names, and names to skip. + */ + + createDebug.names = []; + createDebug.skips = []; + /** + * Map of special "%n" handling functions, for the debug "format" argument. + * + * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + */ + + createDebug.formatters = {}; + /** + * Selects a color for a debug namespace + * @param {String} namespace The namespace string for the for the debug instance to be colored + * @return {Number|String} An ANSI color code for the given namespace + * @api private + */ + + function selectColor(namespace) { + var hash = 0; + + for (var i = 0; i < namespace.length; i++) { + hash = (hash << 5) - hash + namespace.charCodeAt(i); + hash |= 0; // Convert to 32bit integer + } + + return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; + } + + createDebug.selectColor = selectColor; + /** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ + + function createDebug(namespace) { + var prevTime; + var enableOverride = null; + + function debug() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + // Disabled? + if (!debug.enabled) { + return; + } + + var self = debug; // Set `diff` timestamp + + var curr = Number(new Date()); + var ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; + args[0] = createDebug.coerce(args[0]); + + if (typeof args[0] !== 'string') { + // Anything else let's inspect with %O + args.unshift('%O'); + } // Apply any `formatters` transformations + + + var index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, function (match, format) { + // If we encounter an escaped % then don't increase the array index + if (match === '%%') { + return '%'; + } + + index++; + var formatter = createDebug.formatters[format]; + + if (typeof formatter === 'function') { + var val = args[index]; + match = formatter.call(self, val); // Now we need to remove `args[index]` since it's inlined in the `format` + + args.splice(index, 1); + index--; + } + + return match; + }); // Apply env-specific formatting (colors, etc.) + + createDebug.formatArgs.call(self, args); + var logFn = self.log || createDebug.log; + logFn.apply(self, args); + } + + debug.namespace = namespace; + debug.useColors = createDebug.useColors(); + debug.color = createDebug.selectColor(namespace); + debug.extend = extend; + debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release. + + Object.defineProperty(debug, 'enabled', { + enumerable: true, + configurable: false, + get: function get() { + return enableOverride === null ? createDebug.enabled(namespace) : enableOverride; + }, + set: function set(v) { + enableOverride = v; + } + }); // Env-specific initialization logic for debug instances + + if (typeof createDebug.init === 'function') { + createDebug.init(debug); + } + + return debug; + } + + function extend(namespace, delimiter) { + var newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); + newDebug.log = this.log; + return newDebug; + } + /** + * Enables a debug mode by namespaces. This can include modes + * separated by a colon and wildcards. + * + * @param {String} namespaces + * @api public + */ + + + function enable(namespaces) { + createDebug.save(namespaces); + createDebug.names = []; + createDebug.skips = []; + var i; + var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); + var len = split.length; + + for (i = 0; i < len; i++) { + if (!split[i]) { + // ignore empty strings + continue; + } + + namespaces = split[i].replace(/\*/g, '.*?'); + + if (namespaces[0] === '-') { + createDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); + } else { + createDebug.names.push(new RegExp('^' + namespaces + '$')); + } + } + } + /** + * Disable debug output. + * + * @return {String} namespaces + * @api public + */ + + + function disable() { + var namespaces = [].concat(_toConsumableArray(createDebug.names.map(toNamespace)), _toConsumableArray(createDebug.skips.map(toNamespace).map(function (namespace) { + return '-' + namespace; + }))).join(','); + createDebug.enable(''); + return namespaces; + } + /** + * Returns true if the given mode name is enabled, false otherwise. + * + * @param {String} name + * @return {Boolean} + * @api public + */ + + + function enabled(name) { + if (name[name.length - 1] === '*') { + return true; + } + + var i; + var len; + + for (i = 0, len = createDebug.skips.length; i < len; i++) { + if (createDebug.skips[i].test(name)) { + return false; + } + } + + for (i = 0, len = createDebug.names.length; i < len; i++) { + if (createDebug.names[i].test(name)) { + return true; + } + } + + return false; + } + /** + * Convert regexp to namespace + * + * @param {RegExp} regxep + * @return {String} namespace + * @api private + */ + + + function toNamespace(regexp) { + return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, '*'); + } + /** + * Coerce `val`. + * + * @param {Mixed} val + * @return {Mixed} + * @api private + */ + + + function coerce(val) { + if (val instanceof Error) { + return val.stack || val.message; + } + + return val; + } + /** + * XXX DO NOT USE. This is a temporary stub function. + * XXX It WILL be removed in the next major release. + */ + + + function destroy() { + console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); + } + + createDebug.enable(createDebug.load()); + return createDebug; + } + + var common$1 = setup; + + var browser = createCommonjsModule(function (module, exports) { + /* eslint-env browser */ + + /** + * This is the web browser implementation of `debug()`. + */ + exports.formatArgs = formatArgs; + exports.save = save; + exports.load = load; + exports.useColors = useColors; + exports.storage = localstorage(); + + exports.destroy = function () { + var warned = false; + return function () { + if (!warned) { + warned = true; + console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); + } + }; + }(); + /** + * Colors. + */ + + + exports.colors = ['#0000CC', '#0000FF', '#0033CC', '#0033FF', '#0066CC', '#0066FF', '#0099CC', '#0099FF', '#00CC00', '#00CC33', '#00CC66', '#00CC99', '#00CCCC', '#00CCFF', '#3300CC', '#3300FF', '#3333CC', '#3333FF', '#3366CC', '#3366FF', '#3399CC', '#3399FF', '#33CC00', '#33CC33', '#33CC66', '#33CC99', '#33CCCC', '#33CCFF', '#6600CC', '#6600FF', '#6633CC', '#6633FF', '#66CC00', '#66CC33', '#9900CC', '#9900FF', '#9933CC', '#9933FF', '#99CC00', '#99CC33', '#CC0000', '#CC0033', '#CC0066', '#CC0099', '#CC00CC', '#CC00FF', '#CC3300', '#CC3333', '#CC3366', '#CC3399', '#CC33CC', '#CC33FF', '#CC6600', '#CC6633', '#CC9900', '#CC9933', '#CCCC00', '#CCCC33', '#FF0000', '#FF0033', '#FF0066', '#FF0099', '#FF00CC', '#FF00FF', '#FF3300', '#FF3333', '#FF3366', '#FF3399', '#FF33CC', '#FF33FF', '#FF6600', '#FF6633', '#FF9900', '#FF9933', '#FFCC00', '#FFCC33']; + /** + * Currently only WebKit-based Web Inspectors, Firefox >= v31, + * and the Firebug extension (any Firefox version) are known + * to support "%c" CSS customizations. + * + * TODO: add a `localStorage` variable to explicitly enable/disable colors + */ + // eslint-disable-next-line complexity + + function useColors() { + // NB: In an Electron preload script, document will be defined but not fully + // initialized. Since we know we're in Chrome, we'll just detect this case + // explicitly + if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { + return true; + } // Internet Explorer and Edge do not support colors. + + + if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { + return false; + } // Is webkit? http://stackoverflow.com/a/16459606/376773 + // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 + + + return typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773 + typeof window !== 'undefined' && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker + typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/); + } + /** + * Colorize log arguments if enabled. + * + * @api public + */ + + + function formatArgs(args) { + args[0] = (this.useColors ? '%c' : '') + this.namespace + (this.useColors ? ' %c' : ' ') + args[0] + (this.useColors ? '%c ' : ' ') + '+' + module.exports.humanize(this.diff); + + if (!this.useColors) { + return; + } + + var c = 'color: ' + this.color; + args.splice(1, 0, c, 'color: inherit'); // The final "%c" is somewhat tricky, because there could be other + // arguments passed either before or after the %c, so we need to + // figure out the correct index to insert the CSS into + + var index = 0; + var lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, function (match) { + if (match === '%%') { + return; + } + + index++; + + if (match === '%c') { + // We only are interested in the *last* %c + // (the user may have provided their own) + lastC = index; + } + }); + args.splice(lastC, 0, c); + } + /** + * Invokes `console.debug()` when available. + * No-op when `console.debug` is not a "function". + * If `console.debug` is not available, falls back + * to `console.log`. + * + * @api public + */ + + + exports.log = console.debug || console.log || function () {}; + /** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ + + + function save(namespaces) { + try { + if (namespaces) { + exports.storage.setItem('debug', namespaces); + } else { + exports.storage.removeItem('debug'); + } + } catch (error) {// Swallow + // XXX (@Qix-) should we be logging these? + } + } + /** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ + + + function load() { + var r; + + try { + r = exports.storage.getItem('debug'); + } catch (error) {// Swallow + // XXX (@Qix-) should we be logging these? + } // If debug isn't set in LS, and we're in Electron, try to load $DEBUG + + + if (!r && typeof process$3 !== 'undefined' && 'env' in process$3) { + r = process$3.env.DEBUG; + } + + return r; + } + /** + * Localstorage attempts to return the localstorage. + * + * This is necessary because safari throws + * when a user disables cookies/localstorage + * and you attempt to access it. + * + * @return {LocalStorage} + * @api private + */ + + + function localstorage() { + try { + // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context + // The Browser also has localStorage in the global context. + return localStorage; + } catch (error) {// Swallow + // XXX (@Qix-) should we be logging these? + } + } + + module.exports = common$1(exports); + var formatters = module.exports.formatters; + /** + * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + */ + + formatters.j = function (v) { + try { + return JSON.stringify(v); + } catch (error) { + return '[UnexpectedJSONParseError]: ' + error.message; + } + }; + }); + + var propertyIsEnumerable = objectPropertyIsEnumerable.f; + + // `Object.{ entries, values }` methods implementation + var createMethod = function (TO_ENTRIES) { + return function (it) { + var O = toIndexedObject(it); + var keys = objectKeys(O); + var length = keys.length; + var i = 0; + var result = []; + var key; + while (length > i) { + key = keys[i++]; + if (!descriptors || propertyIsEnumerable.call(O, key)) { + result.push(TO_ENTRIES ? [key, O[key]] : O[key]); + } + } + return result; + }; + }; + + var objectToArray = { + // `Object.entries` method + // https://tc39.es/ecma262/#sec-object.entries + entries: createMethod(true), + // `Object.values` method + // https://tc39.es/ecma262/#sec-object.values + values: createMethod(false) + }; + + var $values = objectToArray.values; + + // `Object.values` method + // https://tc39.es/ecma262/#sec-object.values + _export({ target: 'Object', stat: true }, { + values: function values(O) { + return $values(O); + } + }); + + var format = util.format; + /** + * Contains error codes, factory functions to create throwable error objects, + * and warning/deprecation functions. + * @module + */ + + /** + * process.emitWarning or a polyfill + * @see https://nodejs.org/api/process.html#process_process_emitwarning_warning_options + * @ignore + */ + + var emitWarning = function emitWarning(msg, type) { + if (process$3.emitWarning) { + process$3.emitWarning(msg, type); + } else { + /* istanbul ignore next */ + nextTick$1(function () { + console.warn(type + ': ' + msg); + }); + } + }; + /** + * Show a deprecation warning. Each distinct message is only displayed once. + * Ignores empty messages. + * + * @param {string} [msg] - Warning to print + * @private + */ + + + var deprecate = function deprecate(msg) { + msg = String(msg); + + if (msg && !deprecate.cache[msg]) { + deprecate.cache[msg] = true; + emitWarning(msg, 'DeprecationWarning'); + } + }; + + deprecate.cache = {}; + /** + * Show a generic warning. + * Ignores empty messages. + * + * @param {string} [msg] - Warning to print + * @private + */ + + var warn = function warn(msg) { + if (msg) { + emitWarning(msg); + } + }; + /** + * When Mocha throws exceptions (or rejects `Promise`s), it attempts to assign a `code` property to the `Error` object, for easier handling. These are the potential values of `code`. + * @public + * @namespace + * @memberof module:lib/errors + */ + + + var constants$4 = { + /** + * An unrecoverable error. + * @constant + * @default + */ + FATAL: 'ERR_MOCHA_FATAL', + + /** + * The type of an argument to a function call is invalid + * @constant + * @default + */ + INVALID_ARG_TYPE: 'ERR_MOCHA_INVALID_ARG_TYPE', + + /** + * The value of an argument to a function call is invalid + * @constant + * @default + */ + INVALID_ARG_VALUE: 'ERR_MOCHA_INVALID_ARG_VALUE', + + /** + * Something was thrown, but it wasn't an `Error` + * @constant + * @default + */ + INVALID_EXCEPTION: 'ERR_MOCHA_INVALID_EXCEPTION', + + /** + * An interface (e.g., `Mocha.interfaces`) is unknown or invalid + * @constant + * @default + */ + INVALID_INTERFACE: 'ERR_MOCHA_INVALID_INTERFACE', + + /** + * A reporter (.e.g, `Mocha.reporters`) is unknown or invalid + * @constant + * @default + */ + INVALID_REPORTER: 'ERR_MOCHA_INVALID_REPORTER', + + /** + * `done()` was called twice in a `Test` or `Hook` callback + * @constant + * @default + */ + MULTIPLE_DONE: 'ERR_MOCHA_MULTIPLE_DONE', + + /** + * No files matched the pattern provided by the user + * @constant + * @default + */ + NO_FILES_MATCH_PATTERN: 'ERR_MOCHA_NO_FILES_MATCH_PATTERN', + + /** + * Known, but unsupported behavior of some kind + * @constant + * @default + */ + UNSUPPORTED: 'ERR_MOCHA_UNSUPPORTED', + + /** + * Invalid state transition occurring in `Mocha` instance + * @constant + * @default + */ + INSTANCE_ALREADY_RUNNING: 'ERR_MOCHA_INSTANCE_ALREADY_RUNNING', + + /** + * Invalid state transition occurring in `Mocha` instance + * @constant + * @default + */ + INSTANCE_ALREADY_DISPOSED: 'ERR_MOCHA_INSTANCE_ALREADY_DISPOSED', + + /** + * Use of `only()` w/ `--forbid-only` results in this error. + * @constant + * @default + */ + FORBIDDEN_EXCLUSIVITY: 'ERR_MOCHA_FORBIDDEN_EXCLUSIVITY', + + /** + * To be thrown when a user-defined plugin implementation (e.g., `mochaHooks`) is invalid + * @constant + * @default + */ + INVALID_PLUGIN_IMPLEMENTATION: 'ERR_MOCHA_INVALID_PLUGIN_IMPLEMENTATION', + + /** + * To be thrown when a builtin or third-party plugin definition (the _definition_ of `mochaHooks`) is invalid + * @constant + * @default + */ + INVALID_PLUGIN_DEFINITION: 'ERR_MOCHA_INVALID_PLUGIN_DEFINITION', + + /** + * When a runnable exceeds its allowed run time. + * @constant + * @default + */ + TIMEOUT: 'ERR_MOCHA_TIMEOUT', + + /** + * Input file is not able to be parsed + * @constant + * @default + */ + UNPARSABLE_FILE: 'ERR_MOCHA_UNPARSABLE_FILE' + }; + /** + * A set containing all string values of all Mocha error constants, for use by {@link isMochaError}. + * @private + */ + + var MOCHA_ERRORS = new Set(Object.values(constants$4)); + /** + * Creates an error object to be thrown when no files to be tested could be found using specified pattern. + * + * @public + * @static + * @param {string} message - Error message to be displayed. + * @param {string} pattern - User-specified argument value. + * @returns {Error} instance detailing the error condition + */ + + function createNoFilesMatchPatternError(message, pattern) { + var err = new Error(message); + err.code = constants$4.NO_FILES_MATCH_PATTERN; + err.pattern = pattern; + return err; + } + /** + * Creates an error object to be thrown when the reporter specified in the options was not found. + * + * @public + * @param {string} message - Error message to be displayed. + * @param {string} reporter - User-specified reporter value. + * @returns {Error} instance detailing the error condition + */ + + + function createInvalidReporterError(message, reporter) { + var err = new TypeError(message); + err.code = constants$4.INVALID_REPORTER; + err.reporter = reporter; + return err; + } + /** + * Creates an error object to be thrown when the interface specified in the options was not found. + * + * @public + * @static + * @param {string} message - Error message to be displayed. + * @param {string} ui - User-specified interface value. + * @returns {Error} instance detailing the error condition + */ + + + function createInvalidInterfaceError(message, ui) { + var err = new Error(message); + err.code = constants$4.INVALID_INTERFACE; + err["interface"] = ui; + return err; + } + /** + * Creates an error object to be thrown when a behavior, option, or parameter is unsupported. + * + * @public + * @static + * @param {string} message - Error message to be displayed. + * @returns {Error} instance detailing the error condition + */ + + + function createUnsupportedError$2(message) { + var err = new Error(message); + err.code = constants$4.UNSUPPORTED; + return err; + } + /** + * Creates an error object to be thrown when an argument is missing. + * + * @public + * @static + * @param {string} message - Error message to be displayed. + * @param {string} argument - Argument name. + * @param {string} expected - Expected argument datatype. + * @returns {Error} instance detailing the error condition + */ + + + function createMissingArgumentError$1(message, argument, expected) { + return createInvalidArgumentTypeError$1(message, argument, expected); + } + /** + * Creates an error object to be thrown when an argument did not use the supported type + * + * @public + * @static + * @param {string} message - Error message to be displayed. + * @param {string} argument - Argument name. + * @param {string} expected - Expected argument datatype. + * @returns {Error} instance detailing the error condition + */ + + + function createInvalidArgumentTypeError$1(message, argument, expected) { + var err = new TypeError(message); + err.code = constants$4.INVALID_ARG_TYPE; + err.argument = argument; + err.expected = expected; + err.actual = _typeof(argument); + return err; + } + /** + * Creates an error object to be thrown when an argument did not use the supported value + * + * @public + * @static + * @param {string} message - Error message to be displayed. + * @param {string} argument - Argument name. + * @param {string} value - Argument value. + * @param {string} [reason] - Why value is invalid. + * @returns {Error} instance detailing the error condition + */ + + + function createInvalidArgumentValueError(message, argument, value, reason) { + var err = new TypeError(message); + err.code = constants$4.INVALID_ARG_VALUE; + err.argument = argument; + err.value = value; + err.reason = typeof reason !== 'undefined' ? reason : 'is invalid'; + return err; + } + /** + * Creates an error object to be thrown when an exception was caught, but the `Error` is falsy or undefined. + * + * @public + * @static + * @param {string} message - Error message to be displayed. + * @returns {Error} instance detailing the error condition + */ + + + function createInvalidExceptionError$2(message, value) { + var err = new Error(message); + err.code = constants$4.INVALID_EXCEPTION; + err.valueType = _typeof(value); + err.value = value; + return err; + } + /** + * Creates an error object to be thrown when an unrecoverable error occurs. + * + * @public + * @static + * @param {string} message - Error message to be displayed. + * @returns {Error} instance detailing the error condition + */ + + + function createFatalError$1(message, value) { + var err = new Error(message); + err.code = constants$4.FATAL; + err.valueType = _typeof(value); + err.value = value; + return err; + } + /** + * Dynamically creates a plugin-type-specific error based on plugin type + * @param {string} message - Error message + * @param {"reporter"|"interface"} pluginType - Plugin type. Future: expand as needed + * @param {string} [pluginId] - Name/path of plugin, if any + * @throws When `pluginType` is not known + * @public + * @static + * @returns {Error} + */ + + + function createInvalidLegacyPluginError(message, pluginType, pluginId) { + switch (pluginType) { + case 'reporter': + return createInvalidReporterError(message, pluginId); + + case 'interface': + return createInvalidInterfaceError(message, pluginId); + + default: + throw new Error('unknown pluginType "' + pluginType + '"'); + } + } + /** + * **DEPRECATED**. Use {@link createInvalidLegacyPluginError} instead Dynamically creates a plugin-type-specific error based on plugin type + * @deprecated + * @param {string} message - Error message + * @param {"reporter"|"interface"} pluginType - Plugin type. Future: expand as needed + * @param {string} [pluginId] - Name/path of plugin, if any + * @throws When `pluginType` is not known + * @public + * @static + * @returns {Error} + */ + + + function createInvalidPluginError() { + deprecate('Use createInvalidLegacyPluginError() instead'); + return createInvalidLegacyPluginError.apply(void 0, arguments); + } + /** + * Creates an error object to be thrown when a mocha object's `run` method is executed while it is already disposed. + * @param {string} message The error message to be displayed. + * @param {boolean} cleanReferencesAfterRun the value of `cleanReferencesAfterRun` + * @param {Mocha} instance the mocha instance that throw this error + * @static + */ + + + function createMochaInstanceAlreadyDisposedError(message, cleanReferencesAfterRun, instance) { + var err = new Error(message); + err.code = constants$4.INSTANCE_ALREADY_DISPOSED; + err.cleanReferencesAfterRun = cleanReferencesAfterRun; + err.instance = instance; + return err; + } + /** + * Creates an error object to be thrown when a mocha object's `run` method is called while a test run is in progress. + * @param {string} message The error message to be displayed. + * @static + * @public + */ + + + function createMochaInstanceAlreadyRunningError(message, instance) { + var err = new Error(message); + err.code = constants$4.INSTANCE_ALREADY_RUNNING; + err.instance = instance; + return err; + } + /** + * Creates an error object to be thrown when done() is called multiple times in a test + * + * @public + * @param {Runnable} runnable - Original runnable + * @param {Error} [originalErr] - Original error, if any + * @returns {Error} instance detailing the error condition + * @static + */ + + + function createMultipleDoneError$1(runnable, originalErr) { + var title; + + try { + title = format('<%s>', runnable.fullTitle()); + + if (runnable.parent.root) { + title += ' (of root suite)'; + } + } catch (ignored) { + title = format('<%s> (of unknown suite)', runnable.title); + } + + var message = format('done() called multiple times in %s %s', runnable.type ? runnable.type : 'unknown runnable', title); + + if (runnable.file) { + message += format(' of file %s', runnable.file); + } + + if (originalErr) { + message += format('; in addition, done() received error: %s', originalErr); + } + + var err = new Error(message); + err.code = constants$4.MULTIPLE_DONE; + err.valueType = _typeof(originalErr); + err.value = originalErr; + return err; + } + /** + * Creates an error object to be thrown when `.only()` is used with + * `--forbid-only`. + * @static + * @public + * @param {Mocha} mocha - Mocha instance + * @returns {Error} Error with code {@link constants.FORBIDDEN_EXCLUSIVITY} + */ + + + function createForbiddenExclusivityError$1(mocha) { + var err = new Error(mocha.isWorker ? '`.only` is not supported in parallel mode' : '`.only` forbidden by --forbid-only'); + err.code = constants$4.FORBIDDEN_EXCLUSIVITY; + return err; + } + /** + * Creates an error object to be thrown when a plugin definition is invalid + * @static + * @param {string} msg - Error message + * @param {PluginDefinition} [pluginDef] - Problematic plugin definition + * @public + * @returns {Error} Error with code {@link constants.INVALID_PLUGIN_DEFINITION} + */ + + + function createInvalidPluginDefinitionError(msg, pluginDef) { + var err = new Error(msg); + err.code = constants$4.INVALID_PLUGIN_DEFINITION; + err.pluginDef = pluginDef; + return err; + } + /** + * Creates an error object to be thrown when a plugin implementation (user code) is invalid + * @static + * @param {string} msg - Error message + * @param {Object} [opts] - Plugin definition and user-supplied implementation + * @param {PluginDefinition} [opts.pluginDef] - Plugin Definition + * @param {*} [opts.pluginImpl] - Plugin Implementation (user-supplied) + * @public + * @returns {Error} Error with code {@link constants.INVALID_PLUGIN_DEFINITION} + */ + + + function createInvalidPluginImplementationError(msg) { + var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + pluginDef = _ref.pluginDef, + pluginImpl = _ref.pluginImpl; + + var err = new Error(msg); + err.code = constants$4.INVALID_PLUGIN_IMPLEMENTATION; + err.pluginDef = pluginDef; + err.pluginImpl = pluginImpl; + return err; + } + /** + * Creates an error object to be thrown when a runnable exceeds its allowed run time. + * @static + * @param {string} msg - Error message + * @param {number} [timeout] - Timeout in ms + * @param {string} [file] - File, if given + * @returns {MochaTimeoutError} + */ + + + function createTimeoutError$1(msg, timeout, file) { + var err = new Error(msg); + err.code = constants$4.TIMEOUT; + err.timeout = timeout; + err.file = file; + return err; + } + /** + * Creates an error object to be thrown when file is unparsable + * @public + * @static + * @param {string} message - Error message to be displayed. + * @param {string} filename - File name + * @returns {Error} Error with code {@link constants.UNPARSABLE_FILE} + */ + + + function createUnparsableFileError(message, filename) { + var err = new Error(message); + err.code = constants$4.UNPARSABLE_FILE; + return err; + } + /** + * Returns `true` if an error came out of Mocha. + * _Can suffer from false negatives, but not false positives._ + * @static + * @public + * @param {*} err - Error, or anything + * @returns {boolean} + */ + + + var isMochaError$1 = function isMochaError(err) { + return Boolean(err && _typeof(err) === 'object' && MOCHA_ERRORS.has(err.code)); + }; + + var errors = { + constants: constants$4, + createFatalError: createFatalError$1, + createForbiddenExclusivityError: createForbiddenExclusivityError$1, + createInvalidArgumentTypeError: createInvalidArgumentTypeError$1, + createInvalidArgumentValueError: createInvalidArgumentValueError, + createInvalidExceptionError: createInvalidExceptionError$2, + createInvalidInterfaceError: createInvalidInterfaceError, + createInvalidLegacyPluginError: createInvalidLegacyPluginError, + createInvalidPluginDefinitionError: createInvalidPluginDefinitionError, + createInvalidPluginError: createInvalidPluginError, + createInvalidPluginImplementationError: createInvalidPluginImplementationError, + createInvalidReporterError: createInvalidReporterError, + createMissingArgumentError: createMissingArgumentError$1, + createMochaInstanceAlreadyDisposedError: createMochaInstanceAlreadyDisposedError, + createMochaInstanceAlreadyRunningError: createMochaInstanceAlreadyRunningError, + createMultipleDoneError: createMultipleDoneError$1, + createNoFilesMatchPatternError: createNoFilesMatchPatternError, + createTimeoutError: createTimeoutError$1, + createUnparsableFileError: createUnparsableFileError, + createUnsupportedError: createUnsupportedError$2, + deprecate: deprecate, + isMochaError: isMochaError$1, + warn: warn + }; + + var EventEmitter$1 = EventEmitter$2.EventEmitter; + var debug$1 = browser('mocha:runnable'); + var createInvalidExceptionError$1 = errors.createInvalidExceptionError, + createMultipleDoneError = errors.createMultipleDoneError, + createTimeoutError = errors.createTimeoutError; + /** + * Save timer references to avoid Sinon interfering (see GH-237). + * @private + */ + + var Date$4 = commonjsGlobal.Date; + var setTimeout$3 = commonjsGlobal.setTimeout; + var clearTimeout$1 = commonjsGlobal.clearTimeout; + var toString = Object.prototype.toString; + var runnable = Runnable; + /** + * Initialize a new `Runnable` with the given `title` and callback `fn`. + * + * @class + * @extends external:EventEmitter + * @public + * @param {String} title + * @param {Function} fn + */ + + function Runnable(title, fn) { + this.title = title; + this.fn = fn; + this.body = (fn || '').toString(); + this.async = fn && fn.length; + this.sync = !this.async; + this._timeout = 2000; + this._slow = 75; + this._retries = -1; + utils.assignNewMochaID(this); + Object.defineProperty(this, 'id', { + get: function get() { + return utils.getMochaID(this); + } + }); + this.reset(); + } + /** + * Inherit from `EventEmitter.prototype`. + */ + + + utils.inherits(Runnable, EventEmitter$1); + /** + * Resets the state initially or for a next run. + */ + + Runnable.prototype.reset = function () { + this.timedOut = false; + this._currentRetry = 0; + this.pending = false; + delete this.state; + delete this.err; + }; + /** + * Get current timeout value in msecs. + * + * @private + * @returns {number} current timeout threshold value + */ + + /** + * @summary + * Set timeout threshold value (msecs). + * + * @description + * A string argument can use shorthand (e.g., "2s") and will be converted. + * The value will be clamped to range [<code>0</code>, <code>2^<sup>31</sup>-1</code>]. + * If clamped value matches either range endpoint, timeouts will be disabled. + * + * @private + * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout#Maximum_delay_value} + * @param {number|string} ms - Timeout threshold value. + * @returns {Runnable} this + * @chainable + */ + + + Runnable.prototype.timeout = function (ms) { + if (!arguments.length) { + return this._timeout; + } + + if (typeof ms === 'string') { + ms = ms$1(ms); + } // Clamp to range + + + var INT_MAX = Math.pow(2, 31) - 1; + var range = [0, INT_MAX]; + ms = utils.clamp(ms, range); // see #1652 for reasoning + + if (ms === range[0] || ms === range[1]) { + this._timeout = 0; + } else { + this._timeout = ms; + } + + debug$1('timeout %d', this._timeout); + + if (this.timer) { + this.resetTimeout(); + } + + return this; + }; + /** + * Set or get slow `ms`. + * + * @private + * @param {number|string} ms + * @return {Runnable|number} ms or Runnable instance. + */ + + + Runnable.prototype.slow = function (ms) { + if (!arguments.length || typeof ms === 'undefined') { + return this._slow; + } + + if (typeof ms === 'string') { + ms = ms$1(ms); + } + + debug$1('slow %d', ms); + this._slow = ms; + return this; + }; + /** + * Halt and mark as pending. + * + * @memberof Mocha.Runnable + * @public + */ + + + Runnable.prototype.skip = function () { + this.pending = true; + throw new pending('sync skip; aborting execution'); + }; + /** + * Check if this runnable or its parent suite is marked as pending. + * + * @private + */ + + + Runnable.prototype.isPending = function () { + return this.pending || this.parent && this.parent.isPending(); + }; + /** + * Return `true` if this Runnable has failed. + * @return {boolean} + * @private + */ + + + Runnable.prototype.isFailed = function () { + return !this.isPending() && this.state === constants$3.STATE_FAILED; + }; + /** + * Return `true` if this Runnable has passed. + * @return {boolean} + * @private + */ + + + Runnable.prototype.isPassed = function () { + return !this.isPending() && this.state === constants$3.STATE_PASSED; + }; + /** + * Set or get number of retries. + * + * @private + */ + + + Runnable.prototype.retries = function (n) { + if (!arguments.length) { + return this._retries; + } + + this._retries = n; + }; + /** + * Set or get current retry + * + * @private + */ + + + Runnable.prototype.currentRetry = function (n) { + if (!arguments.length) { + return this._currentRetry; + } + + this._currentRetry = n; + }; + /** + * Return the full title generated by recursively concatenating the parent's + * full title. + * + * @memberof Mocha.Runnable + * @public + * @return {string} + */ + + + Runnable.prototype.fullTitle = function () { + return this.titlePath().join(' '); + }; + /** + * Return the title path generated by concatenating the parent's title path with the title. + * + * @memberof Mocha.Runnable + * @public + * @return {string} + */ + + + Runnable.prototype.titlePath = function () { + return this.parent.titlePath().concat([this.title]); + }; + /** + * Clear the timeout. + * + * @private + */ + + + Runnable.prototype.clearTimeout = function () { + clearTimeout$1(this.timer); + }; + /** + * Reset the timeout. + * + * @private + */ + + + Runnable.prototype.resetTimeout = function () { + var self = this; + var ms = this.timeout(); + + if (ms === 0) { + return; + } + + this.clearTimeout(); + this.timer = setTimeout$3(function () { + if (self.timeout() === 0) { + return; + } + + self.callback(self._timeoutError(ms)); + self.timedOut = true; + }, ms); + }; + /** + * Set or get a list of whitelisted globals for this test run. + * + * @private + * @param {string[]} globals + */ + + + Runnable.prototype.globals = function (globals) { + if (!arguments.length) { + return this._allowedGlobals; + } + + this._allowedGlobals = globals; + }; + /** + * Run the test and invoke `fn(err)`. + * + * @param {Function} fn + * @private + */ + + + Runnable.prototype.run = function (fn) { + var self = this; + var start = new Date$4(); + var ctx = this.ctx; + var finished; + var errorWasHandled = false; + if (this.isPending()) return fn(); // Sometimes the ctx exists, but it is not runnable + + if (ctx && ctx.runnable) { + ctx.runnable(this); + } // called multiple times + + + function multiple(err) { + if (errorWasHandled) { + return; + } + + errorWasHandled = true; + self.emit('error', createMultipleDoneError(self, err)); + } // finished + + + function done(err) { + var ms = self.timeout(); + + if (self.timedOut) { + return; + } + + if (finished) { + return multiple(err); + } + + self.clearTimeout(); + self.duration = new Date$4() - start; + finished = true; + + if (!err && self.duration > ms && ms > 0) { + err = self._timeoutError(ms); + } + + fn(err); + } // for .resetTimeout() and Runner#uncaught() + + + this.callback = done; + + if (this.fn && typeof this.fn.call !== 'function') { + done(new TypeError('A runnable must be passed a function as its second argument.')); + return; + } // explicit async with `done` argument + + + if (this.async) { + this.resetTimeout(); // allows skip() to be used in an explicit async context + + this.skip = function asyncSkip() { + this.pending = true; + done(); // halt execution, the uncaught handler will ignore the failure. + + throw new pending('async skip; aborting execution'); + }; + + try { + callFnAsync(this.fn); + } catch (err) { + // handles async runnables which actually run synchronously + errorWasHandled = true; + + if (err instanceof pending) { + return; // done() is already called in this.skip() + } else if (this.allowUncaught) { + throw err; + } + + done(Runnable.toValueOrError(err)); + } + + return; + } // sync or promise-returning + + + try { + callFn(this.fn); + } catch (err) { + errorWasHandled = true; + + if (err instanceof pending) { + return done(); + } else if (this.allowUncaught) { + throw err; + } + + done(Runnable.toValueOrError(err)); + } + + function callFn(fn) { + var result = fn.call(ctx); + + if (result && typeof result.then === 'function') { + self.resetTimeout(); + result.then(function () { + done(); // Return null so libraries like bluebird do not warn about + // subsequently constructed Promises. + + return null; + }, function (reason) { + done(reason || new Error('Promise rejected with no or falsy reason')); + }); + } else { + if (self.asyncOnly) { + return done(new Error('--async-only option in use without declaring `done()` or returning a promise')); + } + + done(); + } + } + + function callFnAsync(fn) { + var result = fn.call(ctx, function (err) { + if (err instanceof Error || toString.call(err) === '[object Error]') { + return done(err); + } + + if (err) { + if (Object.prototype.toString.call(err) === '[object Object]') { + return done(new Error('done() invoked with non-Error: ' + JSON.stringify(err))); + } + + return done(new Error('done() invoked with non-Error: ' + err)); + } + + if (result && utils.isPromise(result)) { + return done(new Error('Resolution method is overspecified. Specify a callback *or* return a Promise; not both.')); + } + + done(); + }); + } + }; + /** + * Instantiates a "timeout" error + * + * @param {number} ms - Timeout (in milliseconds) + * @returns {Error} a "timeout" error + * @private + */ + + + Runnable.prototype._timeoutError = function (ms) { + var msg = "Timeout of ".concat(ms, "ms exceeded. For async tests and hooks, ensure \"done()\" is called; if returning a Promise, ensure it resolves."); + + if (this.file) { + msg += ' (' + this.file + ')'; + } + + return createTimeoutError(msg, ms, this.file); + }; + + var constants$3 = utils.defineConstants( + /** + * {@link Runnable}-related constants. + * @public + * @memberof Runnable + * @readonly + * @static + * @alias constants + * @enum {string} + */ + { + /** + * Value of `state` prop when a `Runnable` has failed + */ + STATE_FAILED: 'failed', + + /** + * Value of `state` prop when a `Runnable` has passed + */ + STATE_PASSED: 'passed', + + /** + * Value of `state` prop when a `Runnable` has been skipped by user + */ + STATE_PENDING: 'pending' + }); + /** + * Given `value`, return identity if truthy, otherwise create an "invalid exception" error and return that. + * @param {*} [value] - Value to return, if present + * @returns {*|Error} `value`, otherwise an `Error` + * @private + */ + + Runnable.toValueOrError = function (value) { + return value || createInvalidExceptionError$1('Runnable failed with falsy or undefined exception. Please throw an Error instead.', value); + }; + + Runnable.constants = constants$3; + + var inherits = utils.inherits, + constants$2 = utils.constants; + var MOCHA_ID_PROP_NAME$1 = constants$2.MOCHA_ID_PROP_NAME; + /** + * Expose `Hook`. + */ + + var hook = Hook; + /** + * Initialize a new `Hook` with the given `title` and callback `fn` + * + * @class + * @extends Runnable + * @param {String} title + * @param {Function} fn + */ + + function Hook(title, fn) { + runnable.call(this, title, fn); + this.type = 'hook'; + } + /** + * Inherit from `Runnable.prototype`. + */ + + + inherits(Hook, runnable); + /** + * Resets the state for a next run. + */ + + Hook.prototype.reset = function () { + runnable.prototype.reset.call(this); + delete this._error; + }; + /** + * Get or set the test `err`. + * + * @memberof Hook + * @public + * @param {Error} err + * @return {Error} + */ + + + Hook.prototype.error = function (err) { + if (!arguments.length) { + err = this._error; + this._error = null; + return err; + } + + this._error = err; + }; + /** + * Returns an object suitable for IPC. + * Functions are represented by keys beginning with `$$`. + * @private + * @returns {Object} + */ + + + Hook.prototype.serialize = function serialize() { + return _defineProperty({ + $$isPending: this.isPending(), + $$titlePath: this.titlePath(), + ctx: this.ctx && this.ctx.currentTest ? { + currentTest: _defineProperty({ + title: this.ctx.currentTest.title + }, MOCHA_ID_PROP_NAME$1, this.ctx.currentTest.id) + } : {}, + parent: _defineProperty({}, MOCHA_ID_PROP_NAME$1, this.parent.id), + title: this.title, + type: this.type + }, MOCHA_ID_PROP_NAME$1, this.id); + }; + + var suite = createCommonjsModule(function (module, exports) { + /** + * Module dependencies. + * @private + */ + + var EventEmitter = EventEmitter$2.EventEmitter; + var assignNewMochaID = utils.assignNewMochaID, + clamp = utils.clamp, + utilsConstants = utils.constants, + createMap = utils.createMap, + defineConstants = utils.defineConstants, + getMochaID = utils.getMochaID, + inherits = utils.inherits, + isString = utils.isString; + var debug = browser('mocha:suite'); + var MOCHA_ID_PROP_NAME = utilsConstants.MOCHA_ID_PROP_NAME; + /** + * Expose `Suite`. + */ + + module.exports = Suite; + /** + * Create a new `Suite` with the given `title` and parent `Suite`. + * + * @public + * @param {Suite} parent - Parent suite (required!) + * @param {string} title - Title + * @return {Suite} + */ + + Suite.create = function (parent, title) { + var suite = new Suite(title, parent.ctx); + suite.parent = parent; + title = suite.fullTitle(); + parent.addSuite(suite); + return suite; + }; + /** + * Constructs a new `Suite` instance with the given `title`, `ctx`, and `isRoot`. + * + * @public + * @class + * @extends EventEmitter + * @see {@link https://nodejs.org/api/events.html#events_class_eventemitter|EventEmitter} + * @param {string} title - Suite title. + * @param {Context} parentContext - Parent context instance. + * @param {boolean} [isRoot=false] - Whether this is the root suite. + */ + + + function Suite(title, parentContext, isRoot) { + if (!isString(title)) { + throw errors.createInvalidArgumentTypeError('Suite argument "title" must be a string. Received type "' + _typeof(title) + '"', 'title', 'string'); + } + + this.title = title; + + function Context() {} + + Context.prototype = parentContext; + this.ctx = new Context(); + this.suites = []; + this.tests = []; + this.root = isRoot === true; + this.pending = false; + this._retries = -1; + this._beforeEach = []; + this._beforeAll = []; + this._afterEach = []; + this._afterAll = []; + this._timeout = 2000; + this._slow = 75; + this._bail = false; + this._onlyTests = []; + this._onlySuites = []; + assignNewMochaID(this); + Object.defineProperty(this, 'id', { + get: function get() { + return getMochaID(this); + } + }); + this.reset(); + this.on('newListener', function (event) { + if (deprecatedEvents[event]) { + errors.deprecate('Event "' + event + '" is deprecated. Please let the Mocha team know about your use case: https://git.io/v6Lwm'); + } + }); + } + /** + * Inherit from `EventEmitter.prototype`. + */ + + + inherits(Suite, EventEmitter); + /** + * Resets the state initially or for a next run. + */ + + Suite.prototype.reset = function () { + this.delayed = false; + + function doReset(thingToReset) { + thingToReset.reset(); + } + + this.suites.forEach(doReset); + this.tests.forEach(doReset); + + this._beforeEach.forEach(doReset); + + this._afterEach.forEach(doReset); + + this._beforeAll.forEach(doReset); + + this._afterAll.forEach(doReset); + }; + /** + * Return a clone of this `Suite`. + * + * @private + * @return {Suite} + */ + + + Suite.prototype.clone = function () { + var suite = new Suite(this.title); + debug('clone'); + suite.ctx = this.ctx; + suite.root = this.root; + suite.timeout(this.timeout()); + suite.retries(this.retries()); + suite.slow(this.slow()); + suite.bail(this.bail()); + return suite; + }; + /** + * Set or get timeout `ms` or short-hand such as "2s". + * + * @private + * @todo Do not attempt to set value if `ms` is undefined + * @param {number|string} ms + * @return {Suite|number} for chaining + */ + + + Suite.prototype.timeout = function (ms) { + if (!arguments.length) { + return this._timeout; + } + + if (typeof ms === 'string') { + ms = ms$1(ms); + } // Clamp to range + + + var INT_MAX = Math.pow(2, 31) - 1; + var range = [0, INT_MAX]; + ms = clamp(ms, range); + debug('timeout %d', ms); + this._timeout = parseInt(ms, 10); + return this; + }; + /** + * Set or get number of times to retry a failed test. + * + * @private + * @param {number|string} n + * @return {Suite|number} for chaining + */ + + + Suite.prototype.retries = function (n) { + if (!arguments.length) { + return this._retries; + } + + debug('retries %d', n); + this._retries = parseInt(n, 10) || 0; + return this; + }; + /** + * Set or get slow `ms` or short-hand such as "2s". + * + * @private + * @param {number|string} ms + * @return {Suite|number} for chaining + */ + + + Suite.prototype.slow = function (ms) { + if (!arguments.length) { + return this._slow; + } + + if (typeof ms === 'string') { + ms = ms$1(ms); + } + + debug('slow %d', ms); + this._slow = ms; + return this; + }; + /** + * Set or get whether to bail after first error. + * + * @private + * @param {boolean} bail + * @return {Suite|number} for chaining + */ + + + Suite.prototype.bail = function (bail) { + if (!arguments.length) { + return this._bail; + } + + debug('bail %s', bail); + this._bail = bail; + return this; + }; + /** + * Check if this suite or its parent suite is marked as pending. + * + * @private + */ + + + Suite.prototype.isPending = function () { + return this.pending || this.parent && this.parent.isPending(); + }; + /** + * Generic hook-creator. + * @private + * @param {string} title - Title of hook + * @param {Function} fn - Hook callback + * @returns {Hook} A new hook + */ + + + Suite.prototype._createHook = function (title, fn) { + var hook$1 = new hook(title, fn); + hook$1.parent = this; + hook$1.timeout(this.timeout()); + hook$1.retries(this.retries()); + hook$1.slow(this.slow()); + hook$1.ctx = this.ctx; + hook$1.file = this.file; + return hook$1; + }; + /** + * Run `fn(test[, done])` before running tests. + * + * @private + * @param {string} title + * @param {Function} fn + * @return {Suite} for chaining + */ + + + Suite.prototype.beforeAll = function (title, fn) { + if (this.isPending()) { + return this; + } + + if (typeof title === 'function') { + fn = title; + title = fn.name; + } + + title = '"before all" hook' + (title ? ': ' + title : ''); + + var hook = this._createHook(title, fn); + + this._beforeAll.push(hook); + + this.emit(constants.EVENT_SUITE_ADD_HOOK_BEFORE_ALL, hook); + return this; + }; + /** + * Run `fn(test[, done])` after running tests. + * + * @private + * @param {string} title + * @param {Function} fn + * @return {Suite} for chaining + */ + + + Suite.prototype.afterAll = function (title, fn) { + if (this.isPending()) { + return this; + } + + if (typeof title === 'function') { + fn = title; + title = fn.name; + } + + title = '"after all" hook' + (title ? ': ' + title : ''); + + var hook = this._createHook(title, fn); + + this._afterAll.push(hook); + + this.emit(constants.EVENT_SUITE_ADD_HOOK_AFTER_ALL, hook); + return this; + }; + /** + * Run `fn(test[, done])` before each test case. + * + * @private + * @param {string} title + * @param {Function} fn + * @return {Suite} for chaining + */ + + + Suite.prototype.beforeEach = function (title, fn) { + if (this.isPending()) { + return this; + } + + if (typeof title === 'function') { + fn = title; + title = fn.name; + } + + title = '"before each" hook' + (title ? ': ' + title : ''); + + var hook = this._createHook(title, fn); + + this._beforeEach.push(hook); + + this.emit(constants.EVENT_SUITE_ADD_HOOK_BEFORE_EACH, hook); + return this; + }; + /** + * Run `fn(test[, done])` after each test case. + * + * @private + * @param {string} title + * @param {Function} fn + * @return {Suite} for chaining + */ + + + Suite.prototype.afterEach = function (title, fn) { + if (this.isPending()) { + return this; + } + + if (typeof title === 'function') { + fn = title; + title = fn.name; + } + + title = '"after each" hook' + (title ? ': ' + title : ''); + + var hook = this._createHook(title, fn); + + this._afterEach.push(hook); + + this.emit(constants.EVENT_SUITE_ADD_HOOK_AFTER_EACH, hook); + return this; + }; + /** + * Add a test `suite`. + * + * @private + * @param {Suite} suite + * @return {Suite} for chaining + */ + + + Suite.prototype.addSuite = function (suite) { + suite.parent = this; + suite.root = false; + suite.timeout(this.timeout()); + suite.retries(this.retries()); + suite.slow(this.slow()); + suite.bail(this.bail()); + this.suites.push(suite); + this.emit(constants.EVENT_SUITE_ADD_SUITE, suite); + return this; + }; + /** + * Add a `test` to this suite. + * + * @private + * @param {Test} test + * @return {Suite} for chaining + */ + + + Suite.prototype.addTest = function (test) { + test.parent = this; + test.timeout(this.timeout()); + test.retries(this.retries()); + test.slow(this.slow()); + test.ctx = this.ctx; + this.tests.push(test); + this.emit(constants.EVENT_SUITE_ADD_TEST, test); + return this; + }; + /** + * Return the full title generated by recursively concatenating the parent's + * full title. + * + * @memberof Suite + * @public + * @return {string} + */ + + + Suite.prototype.fullTitle = function () { + return this.titlePath().join(' '); + }; + /** + * Return the title path generated by recursively concatenating the parent's + * title path. + * + * @memberof Suite + * @public + * @return {string} + */ + + + Suite.prototype.titlePath = function () { + var result = []; + + if (this.parent) { + result = result.concat(this.parent.titlePath()); + } + + if (!this.root) { + result.push(this.title); + } + + return result; + }; + /** + * Return the total number of tests. + * + * @memberof Suite + * @public + * @return {number} + */ + + + Suite.prototype.total = function () { + return this.suites.reduce(function (sum, suite) { + return sum + suite.total(); + }, 0) + this.tests.length; + }; + /** + * Iterates through each suite recursively to find all tests. Applies a + * function in the format `fn(test)`. + * + * @private + * @param {Function} fn + * @return {Suite} + */ + + + Suite.prototype.eachTest = function (fn) { + this.tests.forEach(fn); + this.suites.forEach(function (suite) { + suite.eachTest(fn); + }); + return this; + }; + /** + * This will run the root suite if we happen to be running in delayed mode. + * @private + */ + + + Suite.prototype.run = function run() { + if (this.root) { + this.emit(constants.EVENT_ROOT_SUITE_RUN); + } + }; + /** + * Determines whether a suite has an `only` test or suite as a descendant. + * + * @private + * @returns {Boolean} + */ + + + Suite.prototype.hasOnly = function hasOnly() { + return this._onlyTests.length > 0 || this._onlySuites.length > 0 || this.suites.some(function (suite) { + return suite.hasOnly(); + }); + }; + /** + * Filter suites based on `isOnly` logic. + * + * @private + * @returns {Boolean} + */ + + + Suite.prototype.filterOnly = function filterOnly() { + if (this._onlyTests.length) { + // If the suite contains `only` tests, run those and ignore any nested suites. + this.tests = this._onlyTests; + this.suites = []; + } else { + // Otherwise, do not run any of the tests in this suite. + this.tests = []; + + this._onlySuites.forEach(function (onlySuite) { + // If there are other `only` tests/suites nested in the current `only` suite, then filter that `only` suite. + // Otherwise, all of the tests on this `only` suite should be run, so don't filter it. + if (onlySuite.hasOnly()) { + onlySuite.filterOnly(); + } + }); // Run the `only` suites, as well as any other suites that have `only` tests/suites as descendants. + + + var onlySuites = this._onlySuites; + this.suites = this.suites.filter(function (childSuite) { + return onlySuites.indexOf(childSuite) !== -1 || childSuite.filterOnly(); + }); + } // Keep the suite only if there is something to run + + + return this.tests.length > 0 || this.suites.length > 0; + }; + /** + * Adds a suite to the list of subsuites marked `only`. + * + * @private + * @param {Suite} suite + */ + + + Suite.prototype.appendOnlySuite = function (suite) { + this._onlySuites.push(suite); + }; + /** + * Marks a suite to be `only`. + * + * @private + */ + + + Suite.prototype.markOnly = function () { + this.parent && this.parent.appendOnlySuite(this); + }; + /** + * Adds a test to the list of tests marked `only`. + * + * @private + * @param {Test} test + */ + + + Suite.prototype.appendOnlyTest = function (test) { + this._onlyTests.push(test); + }; + /** + * Returns the array of hooks by hook name; see `HOOK_TYPE_*` constants. + * @private + */ + + + Suite.prototype.getHooks = function getHooks(name) { + return this['_' + name]; + }; + /** + * cleans all references from this suite and all child suites. + */ + + + Suite.prototype.dispose = function () { + this.suites.forEach(function (suite) { + suite.dispose(); + }); + this.cleanReferences(); + }; + /** + * Cleans up the references to all the deferred functions + * (before/after/beforeEach/afterEach) and tests of a Suite. + * These must be deleted otherwise a memory leak can happen, + * as those functions may reference variables from closures, + * thus those variables can never be garbage collected as long + * as the deferred functions exist. + * + * @private + */ + + + Suite.prototype.cleanReferences = function cleanReferences() { + function cleanArrReferences(arr) { + for (var i = 0; i < arr.length; i++) { + delete arr[i].fn; + } + } + + if (Array.isArray(this._beforeAll)) { + cleanArrReferences(this._beforeAll); + } + + if (Array.isArray(this._beforeEach)) { + cleanArrReferences(this._beforeEach); + } + + if (Array.isArray(this._afterAll)) { + cleanArrReferences(this._afterAll); + } + + if (Array.isArray(this._afterEach)) { + cleanArrReferences(this._afterEach); + } + + for (var i = 0; i < this.tests.length; i++) { + delete this.tests[i].fn; + } + }; + /** + * Returns an object suitable for IPC. + * Functions are represented by keys beginning with `$$`. + * @private + * @returns {Object} + */ + + + Suite.prototype.serialize = function serialize() { + return { + _bail: this._bail, + $$fullTitle: this.fullTitle(), + $$isPending: this.isPending(), + root: this.root, + title: this.title, + id: this.id, + parent: this.parent ? _defineProperty({}, MOCHA_ID_PROP_NAME, this.parent.id) : null + }; + }; + + var constants = defineConstants( + /** + * {@link Suite}-related constants. + * @public + * @memberof Suite + * @alias constants + * @readonly + * @static + * @enum {string} + */ + { + /** + * Event emitted after a test file has been loaded Not emitted in browser. + */ + EVENT_FILE_POST_REQUIRE: 'post-require', + + /** + * Event emitted before a test file has been loaded. In browser, this is emitted once an interface has been selected. + */ + EVENT_FILE_PRE_REQUIRE: 'pre-require', + + /** + * Event emitted immediately after a test file has been loaded. Not emitted in browser. + */ + EVENT_FILE_REQUIRE: 'require', + + /** + * Event emitted when `global.run()` is called (use with `delay` option) + */ + EVENT_ROOT_SUITE_RUN: 'run', + + /** + * Namespace for collection of a `Suite`'s "after all" hooks + */ + HOOK_TYPE_AFTER_ALL: 'afterAll', + + /** + * Namespace for collection of a `Suite`'s "after each" hooks + */ + HOOK_TYPE_AFTER_EACH: 'afterEach', + + /** + * Namespace for collection of a `Suite`'s "before all" hooks + */ + HOOK_TYPE_BEFORE_ALL: 'beforeAll', + + /** + * Namespace for collection of a `Suite`'s "before all" hooks + */ + HOOK_TYPE_BEFORE_EACH: 'beforeEach', + // the following events are all deprecated + + /** + * Emitted after an "after all" `Hook` has been added to a `Suite`. Deprecated + */ + EVENT_SUITE_ADD_HOOK_AFTER_ALL: 'afterAll', + + /** + * Emitted after an "after each" `Hook` has been added to a `Suite` Deprecated + */ + EVENT_SUITE_ADD_HOOK_AFTER_EACH: 'afterEach', + + /** + * Emitted after an "before all" `Hook` has been added to a `Suite` Deprecated + */ + EVENT_SUITE_ADD_HOOK_BEFORE_ALL: 'beforeAll', + + /** + * Emitted after an "before each" `Hook` has been added to a `Suite` Deprecated + */ + EVENT_SUITE_ADD_HOOK_BEFORE_EACH: 'beforeEach', + + /** + * Emitted after a child `Suite` has been added to a `Suite`. Deprecated + */ + EVENT_SUITE_ADD_SUITE: 'suite', + + /** + * Emitted after a `Test` has been added to a `Suite`. Deprecated + */ + EVENT_SUITE_ADD_TEST: 'test' + }); + /** + * @summary There are no known use cases for these events. + * @desc This is a `Set`-like object having all keys being the constant's string value and the value being `true`. + * @todo Remove eventually + * @type {Object<string,boolean>} + * @ignore + */ + + var deprecatedEvents = Object.keys(constants).filter(function (constant) { + return constant.substring(0, 15) === 'EVENT_SUITE_ADD'; + }).reduce(function (acc, constant) { + acc[constants[constant]] = true; + return acc; + }, createMap()); + Suite.constants = constants; + }); + + /** + * Module dependencies. + * @private + */ + + + var EventEmitter = EventEmitter$2.EventEmitter; + var debug = browser('mocha:runner'); + var HOOK_TYPE_BEFORE_EACH = suite.constants.HOOK_TYPE_BEFORE_EACH; + var HOOK_TYPE_AFTER_EACH = suite.constants.HOOK_TYPE_AFTER_EACH; + var HOOK_TYPE_AFTER_ALL = suite.constants.HOOK_TYPE_AFTER_ALL; + var HOOK_TYPE_BEFORE_ALL = suite.constants.HOOK_TYPE_BEFORE_ALL; + var EVENT_ROOT_SUITE_RUN = suite.constants.EVENT_ROOT_SUITE_RUN; + var STATE_FAILED = runnable.constants.STATE_FAILED; + var STATE_PASSED = runnable.constants.STATE_PASSED; + var STATE_PENDING = runnable.constants.STATE_PENDING; + var stackFilter = utils.stackTraceFilter(); + var stringify = utils.stringify; + var createInvalidExceptionError = errors.createInvalidExceptionError, + createUnsupportedError$1 = errors.createUnsupportedError, + createFatalError = errors.createFatalError, + isMochaError = errors.isMochaError, + errorConstants = errors.constants; + /** + * Non-enumerable globals. + * @private + * @readonly + */ + + var globals = ['setTimeout', 'clearTimeout', 'setInterval', 'clearInterval', 'XMLHttpRequest', 'Date', 'setImmediate', 'clearImmediate']; + var constants$1 = utils.defineConstants( + /** + * {@link Runner}-related constants. + * @public + * @memberof Runner + * @readonly + * @alias constants + * @static + * @enum {string} + */ + { + /** + * Emitted when {@link Hook} execution begins + */ + EVENT_HOOK_BEGIN: 'hook', + + /** + * Emitted when {@link Hook} execution ends + */ + EVENT_HOOK_END: 'hook end', + + /** + * Emitted when Root {@link Suite} execution begins (all files have been parsed and hooks/tests are ready for execution) + */ + EVENT_RUN_BEGIN: 'start', + + /** + * Emitted when Root {@link Suite} execution has been delayed via `delay` option + */ + EVENT_DELAY_BEGIN: 'waiting', + + /** + * Emitted when delayed Root {@link Suite} execution is triggered by user via `global.run()` + */ + EVENT_DELAY_END: 'ready', + + /** + * Emitted when Root {@link Suite} execution ends + */ + EVENT_RUN_END: 'end', + + /** + * Emitted when {@link Suite} execution begins + */ + EVENT_SUITE_BEGIN: 'suite', + + /** + * Emitted when {@link Suite} execution ends + */ + EVENT_SUITE_END: 'suite end', + + /** + * Emitted when {@link Test} execution begins + */ + EVENT_TEST_BEGIN: 'test', + + /** + * Emitted when {@link Test} execution ends + */ + EVENT_TEST_END: 'test end', + + /** + * Emitted when {@link Test} execution fails + */ + EVENT_TEST_FAIL: 'fail', + + /** + * Emitted when {@link Test} execution succeeds + */ + EVENT_TEST_PASS: 'pass', + + /** + * Emitted when {@link Test} becomes pending + */ + EVENT_TEST_PENDING: 'pending', + + /** + * Emitted when {@link Test} execution has failed, but will retry + */ + EVENT_TEST_RETRY: 'retry', + + /** + * Initial state of Runner + */ + STATE_IDLE: 'idle', + + /** + * State set to this value when the Runner has started running + */ + STATE_RUNNING: 'running', + + /** + * State set to this value when the Runner has stopped + */ + STATE_STOPPED: 'stopped' + }); + + var Runner = /*#__PURE__*/function (_EventEmitter) { + _inherits(Runner, _EventEmitter); + + var _super = _createSuper(Runner); + + /** + * Initialize a `Runner` at the Root {@link Suite}, which represents a hierarchy of {@link Suite|Suites} and {@link Test|Tests}. + * + * @extends external:EventEmitter + * @public + * @class + * @param {Suite} suite - Root suite + * @param {Object|boolean} [opts] - Options. If `boolean` (deprecated), whether or not to delay execution of root suite until ready. + * @param {boolean} [opts.delay] - Whether to delay execution of root suite until ready. + * @param {boolean} [opts.dryRun] - Whether to report tests without running them. + * @param {boolean} [opts.cleanReferencesAfterRun] - Whether to clean references to test fns and hooks when a suite is done. + */ + function Runner(suite, opts) { + var _this; + + _classCallCheck(this, Runner); + + _this = _super.call(this); + + if (opts === undefined) { + opts = {}; + } + + if (typeof opts === 'boolean') { + // TODO: remove this + errors.deprecate('"Runner(suite: Suite, delay: boolean)" is deprecated. Use "Runner(suite: Suite, {delay: boolean})" instead.'); + _this._delay = opts; + opts = {}; + } else { + _this._delay = opts.delay; + } + + var self = _assertThisInitialized(_this); + + _this._globals = []; + _this._abort = false; + _this.suite = suite; + _this._opts = opts; + _this.state = constants$1.STATE_IDLE; + _this.total = suite.total(); + _this.failures = 0; + /** + * @type {Map<EventEmitter,Map<string,Set<EventListener>>>} + */ + + _this._eventListeners = new Map(); + + _this.on(constants$1.EVENT_TEST_END, function (test) { + if (test.type === 'test' && test.retriedTest() && test.parent) { + var idx = test.parent.tests && test.parent.tests.indexOf(test.retriedTest()); + if (idx > -1) test.parent.tests[idx] = test; + } + + self.checkGlobals(test); + }); + + _this.on(constants$1.EVENT_HOOK_END, function (hook) { + self.checkGlobals(hook); + }); + + _this._defaultGrep = /.*/; + + _this.grep(_this._defaultGrep); + + _this.globals(_this.globalProps()); + + _this.uncaught = _this._uncaught.bind(_assertThisInitialized(_this)); + + _this.unhandled = function (reason, promise) { + if (isMochaError(reason)) { + debug('trapped unhandled rejection coming out of Mocha; forwarding to uncaught handler:', reason); + + _this.uncaught(reason); + } else { + debug('trapped unhandled rejection from (probably) user code; re-emitting on process'); + + _this._removeEventListener(process$3, 'unhandledRejection', _this.unhandled); + + try { + process$3.emit('unhandledRejection', reason, promise); + } finally { + _this._addEventListener(process$3, 'unhandledRejection', _this.unhandled); + } + } + }; + + return _this; + } + + return Runner; + }(EventEmitter); + /** + * Wrapper for setImmediate, process.nextTick, or browser polyfill. + * + * @param {Function} fn + * @private + */ + + + Runner.immediately = commonjsGlobal.setImmediate || nextTick$1; + /** + * Replacement for `target.on(eventName, listener)` that does bookkeeping to remove them when this runner instance is disposed. + * @param {EventEmitter} target - The `EventEmitter` + * @param {string} eventName - The event name + * @param {string} fn - Listener function + * @private + */ + + Runner.prototype._addEventListener = function (target, eventName, listener) { + debug('_addEventListener(): adding for event %s; %d current listeners', eventName, target.listenerCount(eventName)); + /* istanbul ignore next */ + + if (this._eventListeners.has(target) && this._eventListeners.get(target).has(eventName) && this._eventListeners.get(target).get(eventName).has(listener)) { + debug('warning: tried to attach duplicate event listener for %s', eventName); + return; + } + + target.on(eventName, listener); + var targetListeners = this._eventListeners.has(target) ? this._eventListeners.get(target) : new Map(); + var targetEventListeners = targetListeners.has(eventName) ? targetListeners.get(eventName) : new Set(); + targetEventListeners.add(listener); + targetListeners.set(eventName, targetEventListeners); + + this._eventListeners.set(target, targetListeners); + }; + /** + * Replacement for `target.removeListener(eventName, listener)` that also updates the bookkeeping. + * @param {EventEmitter} target - The `EventEmitter` + * @param {string} eventName - The event name + * @param {function} listener - Listener function + * @private + */ + + + Runner.prototype._removeEventListener = function (target, eventName, listener) { + target.removeListener(eventName, listener); + + if (this._eventListeners.has(target)) { + var targetListeners = this._eventListeners.get(target); + + if (targetListeners.has(eventName)) { + var targetEventListeners = targetListeners.get(eventName); + targetEventListeners["delete"](listener); + + if (!targetEventListeners.size) { + targetListeners["delete"](eventName); + } + } + + if (!targetListeners.size) { + this._eventListeners["delete"](target); + } + } else { + debug('trying to remove listener for untracked object %s', target); + } + }; + /** + * Removes all event handlers set during a run on this instance. + * Remark: this does _not_ clean/dispose the tests or suites themselves. + */ + + + Runner.prototype.dispose = function () { + this.removeAllListeners(); + + this._eventListeners.forEach(function (targetListeners, target) { + targetListeners.forEach(function (targetEventListeners, eventName) { + targetEventListeners.forEach(function (listener) { + target.removeListener(eventName, listener); + }); + }); + }); + + this._eventListeners.clear(); + }; + /** + * Run tests with full titles matching `re`. Updates runner.total + * with number of tests matched. + * + * @public + * @memberof Runner + * @param {RegExp} re + * @param {boolean} invert + * @return {Runner} Runner instance. + */ + + + Runner.prototype.grep = function (re, invert) { + debug('grep(): setting to %s', re); + this._grep = re; + this._invert = invert; + this.total = this.grepTotal(this.suite); + return this; + }; + /** + * Returns the number of tests matching the grep search for the + * given suite. + * + * @memberof Runner + * @public + * @param {Suite} suite + * @return {number} + */ + + + Runner.prototype.grepTotal = function (suite) { + var self = this; + var total = 0; + suite.eachTest(function (test) { + var match = self._grep.test(test.fullTitle()); + + if (self._invert) { + match = !match; + } + + if (match) { + total++; + } + }); + return total; + }; + /** + * Return a list of global properties. + * + * @return {Array} + * @private + */ + + + Runner.prototype.globalProps = function () { + var props = Object.keys(commonjsGlobal); // non-enumerables + + for (var i = 0; i < globals.length; ++i) { + if (~props.indexOf(globals[i])) { + continue; + } + + props.push(globals[i]); + } + + return props; + }; + /** + * Allow the given `arr` of globals. + * + * @public + * @memberof Runner + * @param {Array} arr + * @return {Runner} Runner instance. + */ + + + Runner.prototype.globals = function (arr) { + if (!arguments.length) { + return this._globals; + } + + debug('globals(): setting to %O', arr); + this._globals = this._globals.concat(arr); + return this; + }; + /** + * Check for global variable leaks. + * + * @private + */ + + + Runner.prototype.checkGlobals = function (test) { + if (!this.checkLeaks) { + return; + } + + var ok = this._globals; + var globals = this.globalProps(); + var leaks; + + if (test) { + ok = ok.concat(test._allowedGlobals || []); + } + + if (this.prevGlobalsLength === globals.length) { + return; + } + + this.prevGlobalsLength = globals.length; + leaks = filterLeaks(ok, globals); + this._globals = this._globals.concat(leaks); + + if (leaks.length) { + var msg = "global leak(s) detected: ".concat(leaks.map(function (e) { + return "'".concat(e, "'"); + }).join(', ')); + this.fail(test, new Error(msg)); + } + }; + /** + * Fail the given `test`. + * + * If `test` is a hook, failures work in the following pattern: + * - If bail, run corresponding `after each` and `after` hooks, + * then exit + * - Failed `before` hook skips all tests in a suite and subsuites, + * but jumps to corresponding `after` hook + * - Failed `before each` hook skips remaining tests in a + * suite and jumps to corresponding `after each` hook, + * which is run only once + * - Failed `after` hook does not alter execution order + * - Failed `after each` hook skips remaining tests in a + * suite and subsuites, but executes other `after each` + * hooks + * + * @private + * @param {Runnable} test + * @param {Error} err + * @param {boolean} [force=false] - Whether to fail a pending test. + */ + + + Runner.prototype.fail = function (test, err, force) { + force = force === true; + + if (test.isPending() && !force) { + return; + } + + if (this.state === constants$1.STATE_STOPPED) { + if (err.code === errorConstants.MULTIPLE_DONE) { + throw err; + } + + throw createFatalError('Test failed after root suite execution completed!', err); + } + + ++this.failures; + debug('total number of failures: %d', this.failures); + test.state = STATE_FAILED; + + if (!isError(err)) { + err = thrown2Error(err); + } + + try { + err.stack = this.fullStackTrace || !err.stack ? err.stack : stackFilter(err.stack); + } catch (ignore) {// some environments do not take kindly to monkeying with the stack + } + + this.emit(constants$1.EVENT_TEST_FAIL, test, err); + }; + /** + * Run hook `name` callbacks and then invoke `fn()`. + * + * @private + * @param {string} name + * @param {Function} fn + */ + + + Runner.prototype.hook = function (name, fn) { + if (this._opts.dryRun) return fn(); + var suite = this.suite; + var hooks = suite.getHooks(name); + var self = this; + + function next(i) { + var hook = hooks[i]; + + if (!hook) { + return fn(); + } + + self.currentRunnable = hook; + + if (name === HOOK_TYPE_BEFORE_ALL) { + hook.ctx.currentTest = hook.parent.tests[0]; + } else if (name === HOOK_TYPE_AFTER_ALL) { + hook.ctx.currentTest = hook.parent.tests[hook.parent.tests.length - 1]; + } else { + hook.ctx.currentTest = self.test; + } + + setHookTitle(hook); + hook.allowUncaught = self.allowUncaught; + self.emit(constants$1.EVENT_HOOK_BEGIN, hook); + + if (!hook.listeners('error').length) { + self._addEventListener(hook, 'error', function (err) { + self.fail(hook, err); + }); + } + + hook.run(function cbHookRun(err) { + var testError = hook.error(); + + if (testError) { + self.fail(self.test, testError); + } // conditional skip + + + if (hook.pending) { + if (name === HOOK_TYPE_AFTER_EACH) { + // TODO define and implement use case + if (self.test) { + self.test.pending = true; + } + } else if (name === HOOK_TYPE_BEFORE_EACH) { + if (self.test) { + self.test.pending = true; + } + + self.emit(constants$1.EVENT_HOOK_END, hook); + hook.pending = false; // activates hook for next test + + return fn(new Error('abort hookDown')); + } else if (name === HOOK_TYPE_BEFORE_ALL) { + suite.tests.forEach(function (test) { + test.pending = true; + }); + suite.suites.forEach(function (suite) { + suite.pending = true; + }); + hooks = []; + } else { + hook.pending = false; + var errForbid = createUnsupportedError$1('`this.skip` forbidden'); + self.fail(hook, errForbid); + return fn(errForbid); + } + } else if (err) { + self.fail(hook, err); // stop executing hooks, notify callee of hook err + + return fn(err); + } + + self.emit(constants$1.EVENT_HOOK_END, hook); + delete hook.ctx.currentTest; + setHookTitle(hook); + next(++i); + }); + + function setHookTitle(hook) { + hook.originalTitle = hook.originalTitle || hook.title; + + if (hook.ctx && hook.ctx.currentTest) { + hook.title = "".concat(hook.originalTitle, " for \"").concat(hook.ctx.currentTest.title, "\""); + } else { + var parentTitle; + + if (hook.parent.title) { + parentTitle = hook.parent.title; + } else { + parentTitle = hook.parent.root ? '{root}' : ''; + } + + hook.title = "".concat(hook.originalTitle, " in \"").concat(parentTitle, "\""); + } + } + } + + Runner.immediately(function () { + next(0); + }); + }; + /** + * Run hook `name` for the given array of `suites` + * in order, and callback `fn(err, errSuite)`. + * + * @private + * @param {string} name + * @param {Array} suites + * @param {Function} fn + */ + + + Runner.prototype.hooks = function (name, suites, fn) { + var self = this; + var orig = this.suite; + + function next(suite) { + self.suite = suite; + + if (!suite) { + self.suite = orig; + return fn(); + } + + self.hook(name, function (err) { + if (err) { + var errSuite = self.suite; + self.suite = orig; + return fn(err, errSuite); + } + + next(suites.pop()); + }); + } + + next(suites.pop()); + }; + /** + * Run 'afterEach' hooks from bottom up. + * + * @param {String} name + * @param {Function} fn + * @private + */ + + + Runner.prototype.hookUp = function (name, fn) { + var suites = [this.suite].concat(this.parents()).reverse(); + this.hooks(name, suites, fn); + }; + /** + * Run 'beforeEach' hooks from top level down. + * + * @param {String} name + * @param {Function} fn + * @private + */ + + + Runner.prototype.hookDown = function (name, fn) { + var suites = [this.suite].concat(this.parents()); + this.hooks(name, suites, fn); + }; + /** + * Return an array of parent Suites from + * closest to furthest. + * + * @return {Array} + * @private + */ + + + Runner.prototype.parents = function () { + var suite = this.suite; + var suites = []; + + while (suite.parent) { + suite = suite.parent; + suites.push(suite); + } + + return suites; + }; + /** + * Run the current test and callback `fn(err)`. + * + * @param {Function} fn + * @private + */ + + + Runner.prototype.runTest = function (fn) { + if (this._opts.dryRun) return fn(); + var self = this; + var test = this.test; + + if (!test) { + return; + } + + if (this.asyncOnly) { + test.asyncOnly = true; + } + + this._addEventListener(test, 'error', function (err) { + self.fail(test, err); + }); + + if (this.allowUncaught) { + test.allowUncaught = true; + return test.run(fn); + } + + try { + test.run(fn); + } catch (err) { + fn(err); + } + }; + /** + * Run tests in the given `suite` and invoke the callback `fn()` when complete. + * + * @private + * @param {Suite} suite + * @param {Function} fn + */ + + + Runner.prototype.runTests = function (suite, fn) { + var self = this; + var tests = suite.tests.slice(); + var test; + + function hookErr(_, errSuite, after) { + // before/after Each hook for errSuite failed: + var orig = self.suite; // for failed 'after each' hook start from errSuite parent, + // otherwise start from errSuite itself + + self.suite = after ? errSuite.parent : errSuite; + + if (self.suite) { + self.hookUp(HOOK_TYPE_AFTER_EACH, function (err2, errSuite2) { + self.suite = orig; // some hooks may fail even now + + if (err2) { + return hookErr(err2, errSuite2, true); + } // report error suite + + + fn(errSuite); + }); + } else { + // there is no need calling other 'after each' hooks + self.suite = orig; + fn(errSuite); + } + } + + function next(err, errSuite) { + // if we bail after first err + if (self.failures && suite._bail) { + tests = []; + } + + if (self._abort) { + return fn(); + } + + if (err) { + return hookErr(err, errSuite, true); + } // next test + + + test = tests.shift(); // all done + + if (!test) { + return fn(); + } // grep + + + var match = self._grep.test(test.fullTitle()); + + if (self._invert) { + match = !match; + } + + if (!match) { + // Run immediately only if we have defined a grep. When we + // define a grep — It can cause maximum callstack error if + // the grep is doing a large recursive loop by neglecting + // all tests. The run immediately function also comes with + // a performance cost. So we don't want to run immediately + // if we run the whole test suite, because running the whole + // test suite don't do any immediate recursive loops. Thus, + // allowing a JS runtime to breathe. + if (self._grep !== self._defaultGrep) { + Runner.immediately(next); + } else { + next(); + } + + return; + } // static skip, no hooks are executed + + + if (test.isPending()) { + if (self.forbidPending) { + self.fail(test, new Error('Pending test forbidden'), true); + } else { + test.state = STATE_PENDING; + self.emit(constants$1.EVENT_TEST_PENDING, test); + } + + self.emit(constants$1.EVENT_TEST_END, test); + return next(); + } // execute test and hook(s) + + + self.emit(constants$1.EVENT_TEST_BEGIN, self.test = test); + self.hookDown(HOOK_TYPE_BEFORE_EACH, function (err, errSuite) { + // conditional skip within beforeEach + if (test.isPending()) { + if (self.forbidPending) { + self.fail(test, new Error('Pending test forbidden'), true); + } else { + test.state = STATE_PENDING; + self.emit(constants$1.EVENT_TEST_PENDING, test); + } + + self.emit(constants$1.EVENT_TEST_END, test); // skip inner afterEach hooks below errSuite level + + var origSuite = self.suite; + self.suite = errSuite || self.suite; + return self.hookUp(HOOK_TYPE_AFTER_EACH, function (e, eSuite) { + self.suite = origSuite; + next(e, eSuite); + }); + } + + if (err) { + return hookErr(err, errSuite, false); + } + + self.currentRunnable = self.test; + self.runTest(function (err) { + test = self.test; // conditional skip within it + + if (test.pending) { + if (self.forbidPending) { + self.fail(test, new Error('Pending test forbidden'), true); + } else { + test.state = STATE_PENDING; + self.emit(constants$1.EVENT_TEST_PENDING, test); + } + + self.emit(constants$1.EVENT_TEST_END, test); + return self.hookUp(HOOK_TYPE_AFTER_EACH, next); + } else if (err) { + var retry = test.currentRetry(); + + if (retry < test.retries()) { + var clonedTest = test.clone(); + clonedTest.currentRetry(retry + 1); + tests.unshift(clonedTest); + self.emit(constants$1.EVENT_TEST_RETRY, test, err); // Early return + hook trigger so that it doesn't + // increment the count wrong + + return self.hookUp(HOOK_TYPE_AFTER_EACH, next); + } else { + self.fail(test, err); + } + + self.emit(constants$1.EVENT_TEST_END, test); + return self.hookUp(HOOK_TYPE_AFTER_EACH, next); + } + + test.state = STATE_PASSED; + self.emit(constants$1.EVENT_TEST_PASS, test); + self.emit(constants$1.EVENT_TEST_END, test); + self.hookUp(HOOK_TYPE_AFTER_EACH, next); + }); + }); + } + + this.next = next; + this.hookErr = hookErr; + next(); + }; + /** + * Run the given `suite` and invoke the callback `fn()` when complete. + * + * @private + * @param {Suite} suite + * @param {Function} fn + */ + + + Runner.prototype.runSuite = function (suite, fn) { + var i = 0; + var self = this; + var total = this.grepTotal(suite); + debug('runSuite(): running %s', suite.fullTitle()); + + if (!total || self.failures && suite._bail) { + debug('runSuite(): bailing'); + return fn(); + } + + this.emit(constants$1.EVENT_SUITE_BEGIN, this.suite = suite); + + function next(errSuite) { + if (errSuite) { + // current suite failed on a hook from errSuite + if (errSuite === suite) { + // if errSuite is current suite + // continue to the next sibling suite + return done(); + } // errSuite is among the parents of current suite + // stop execution of errSuite and all sub-suites + + + return done(errSuite); + } + + if (self._abort) { + return done(); + } + + var curr = suite.suites[i++]; + + if (!curr) { + return done(); + } // Avoid grep neglecting large number of tests causing a + // huge recursive loop and thus a maximum call stack error. + // See comment in `this.runTests()` for more information. + + + if (self._grep !== self._defaultGrep) { + Runner.immediately(function () { + self.runSuite(curr, next); + }); + } else { + self.runSuite(curr, next); + } + } + + function done(errSuite) { + self.suite = suite; + self.nextSuite = next; // remove reference to test + + delete self.test; + self.hook(HOOK_TYPE_AFTER_ALL, function () { + self.emit(constants$1.EVENT_SUITE_END, suite); + fn(errSuite); + }); + } + + this.nextSuite = next; + this.hook(HOOK_TYPE_BEFORE_ALL, function (err) { + if (err) { + return done(); + } + + self.runTests(suite, next); + }); + }; + /** + * Handle uncaught exceptions within runner. + * + * This function is bound to the instance as `Runner#uncaught` at instantiation + * time. It's intended to be listening on the `Process.uncaughtException` event. + * In order to not leak EE listeners, we need to ensure no more than a single + * `uncaughtException` listener exists per `Runner`. The only way to do + * this--because this function needs the context (and we don't have lambdas)--is + * to use `Function.prototype.bind`. We need strict equality to unregister and + * _only_ unregister the _one_ listener we set from the + * `Process.uncaughtException` event; would be poor form to just remove + * everything. See {@link Runner#run} for where the event listener is registered + * and unregistered. + * @param {Error} err - Some uncaught error + * @private + */ + + + Runner.prototype._uncaught = function (err) { + // this is defensive to prevent future developers from mis-calling this function. + // it's more likely that it'd be called with the incorrect context--say, the global + // `process` object--than it would to be called with a context that is not a "subclass" + // of `Runner`. + if (!(this instanceof Runner)) { + throw createFatalError('Runner#uncaught() called with invalid context', this); + } + + if (err instanceof pending) { + debug('uncaught(): caught a Pending'); + return; + } // browser does not exit script when throwing in global.onerror() + + + if (this.allowUncaught && !utils.isBrowser()) { + debug('uncaught(): bubbling exception due to --allow-uncaught'); + throw err; + } + + if (this.state === constants$1.STATE_STOPPED) { + debug('uncaught(): throwing after run has completed!'); + throw err; + } + + if (err) { + debug('uncaught(): got truthy exception %O', err); + } else { + debug('uncaught(): undefined/falsy exception'); + err = createInvalidExceptionError('Caught falsy/undefined exception which would otherwise be uncaught. No stack trace found; try a debugger', err); + } + + if (!isError(err)) { + err = thrown2Error(err); + debug('uncaught(): converted "error" %o to Error', err); + } + + err.uncaught = true; + var runnable$1 = this.currentRunnable; + + if (!runnable$1) { + runnable$1 = new runnable('Uncaught error outside test suite'); + debug('uncaught(): no current Runnable; created a phony one'); + runnable$1.parent = this.suite; + + if (this.state === constants$1.STATE_RUNNING) { + debug('uncaught(): failing gracefully'); + this.fail(runnable$1, err); + } else { + // Can't recover from this failure + debug('uncaught(): test run has not yet started; unrecoverable'); + this.emit(constants$1.EVENT_RUN_BEGIN); + this.fail(runnable$1, err); + this.emit(constants$1.EVENT_RUN_END); + } + + return; + } + + runnable$1.clearTimeout(); + + if (runnable$1.isFailed()) { + debug('uncaught(): Runnable has already failed'); // Ignore error if already failed + + return; + } else if (runnable$1.isPending()) { + debug('uncaught(): pending Runnable wound up failing!'); // report 'pending test' retrospectively as failed + + this.fail(runnable$1, err, true); + return; + } // we cannot recover gracefully if a Runnable has already passed + // then fails asynchronously + + + if (runnable$1.isPassed()) { + debug('uncaught(): Runnable has already passed; bailing gracefully'); + this.fail(runnable$1, err); + this.abort(); + } else { + debug('uncaught(): forcing Runnable to complete with Error'); + return runnable$1.callback(err); + } + }; + /** + * Run the root suite and invoke `fn(failures)` + * on completion. + * + * @public + * @memberof Runner + * @param {Function} fn - Callback when finished + * @param {{files: string[], options: Options}} [opts] - For subclasses + * @returns {Runner} Runner instance. + */ + + + Runner.prototype.run = function (fn) { + var _this2 = this; + + var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var rootSuite = this.suite; + var options = opts.options || {}; + debug('run(): got options: %O', options); + + fn = fn || function () {}; + + var end = function end() { + debug('run(): root suite completed; emitting %s', constants$1.EVENT_RUN_END); + + _this2.emit(constants$1.EVENT_RUN_END); + }; + + var begin = function begin() { + debug('run(): emitting %s', constants$1.EVENT_RUN_BEGIN); + + _this2.emit(constants$1.EVENT_RUN_BEGIN); + + debug('run(): emitted %s', constants$1.EVENT_RUN_BEGIN); + + _this2.runSuite(rootSuite, end); + }; + + var prepare = function prepare() { + debug('run(): starting'); // If there is an `only` filter + + if (rootSuite.hasOnly()) { + rootSuite.filterOnly(); + debug('run(): filtered exclusive Runnables'); + } + + _this2.state = constants$1.STATE_RUNNING; + + if (_this2._delay) { + _this2.emit(constants$1.EVENT_DELAY_END); + + debug('run(): "delay" ended'); + } + + return begin(); + }; // references cleanup to avoid memory leaks + + + if (this._opts.cleanReferencesAfterRun) { + this.on(constants$1.EVENT_SUITE_END, function (suite) { + suite.cleanReferences(); + }); + } // callback + + + this.on(constants$1.EVENT_RUN_END, function () { + this.state = constants$1.STATE_STOPPED; + debug('run(): emitted %s', constants$1.EVENT_RUN_END); + fn(this.failures); + }); + + this._removeEventListener(process$3, 'uncaughtException', this.uncaught); + + this._removeEventListener(process$3, 'unhandledRejection', this.unhandled); + + this._addEventListener(process$3, 'uncaughtException', this.uncaught); + + this._addEventListener(process$3, 'unhandledRejection', this.unhandled); + + if (this._delay) { + // for reporters, I guess. + // might be nice to debounce some dots while we wait. + this.emit(constants$1.EVENT_DELAY_BEGIN, rootSuite); + rootSuite.once(EVENT_ROOT_SUITE_RUN, prepare); + debug('run(): waiting for green light due to --delay'); + } else { + Runner.immediately(prepare); + } + + return this; + }; + /** + * Toggle partial object linking behavior; used for building object references from + * unique ID's. Does nothing in serial mode, because the object references already exist. + * Subclasses can implement this (e.g., `ParallelBufferedRunner`) + * @abstract + * @param {boolean} [value] - If `true`, enable partial object linking, otherwise disable + * @returns {Runner} + * @chainable + * @public + * @example + * // this reporter needs proper object references when run in parallel mode + * class MyReporter() { + * constructor(runner) { + * this.runner.linkPartialObjects(true) + * .on(EVENT_SUITE_BEGIN, suite => { + // this Suite may be the same object... + * }) + * .on(EVENT_TEST_BEGIN, test => { + * // ...as the `test.parent` property + * }); + * } + * } + */ + + + Runner.prototype.linkPartialObjects = function (value) { + return this; + }; + /* + * Like {@link Runner#run}, but does not accept a callback and returns a `Promise` instead of a `Runner`. + * This function cannot reject; an `unhandledRejection` event will bubble up to the `process` object instead. + * @public + * @memberof Runner + * @param {Object} [opts] - Options for {@link Runner#run} + * @returns {Promise<number>} Failure count + */ + + + Runner.prototype.runAsync = /*#__PURE__*/function () { + var _runAsync = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _this3 = this; + + var opts, + _args = arguments; + return regeneratorRuntime.wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + opts = _args.length > 0 && _args[0] !== undefined ? _args[0] : {}; + return _context.abrupt("return", new Promise(function (resolve) { + _this3.run(resolve, opts); + })); + + case 2: + case "end": + return _context.stop(); + } + } + }, _callee); + })); + + function runAsync() { + return _runAsync.apply(this, arguments); + } + + return runAsync; + }(); + /** + * Cleanly abort execution. + * + * @memberof Runner + * @public + * @return {Runner} Runner instance. + */ + + + Runner.prototype.abort = function () { + debug('abort(): aborting'); + this._abort = true; + return this; + }; + /** + * Returns `true` if Mocha is running in parallel mode. For reporters. + * + * Subclasses should return an appropriate value. + * @public + * @returns {false} + */ + + + Runner.prototype.isParallelMode = function isParallelMode() { + return false; + }; + /** + * Configures an alternate reporter for worker processes to use. Subclasses + * using worker processes should implement this. + * @public + * @param {string} path - Absolute path to alternate reporter for worker processes to use + * @returns {Runner} + * @throws When in serial mode + * @chainable + * @abstract + */ + + + Runner.prototype.workerReporter = function () { + throw createUnsupportedError$1('workerReporter() not supported in serial mode'); + }; + /** + * Filter leaks with the given globals flagged as `ok`. + * + * @private + * @param {Array} ok + * @param {Array} globals + * @return {Array} + */ + + + function filterLeaks(ok, globals) { + return globals.filter(function (key) { + // Firefox and Chrome exposes iframes as index inside the window object + if (/^\d+/.test(key)) { + return false; + } // in firefox + // if runner runs in an iframe, this iframe's window.getInterface method + // not init at first it is assigned in some seconds + + + if (commonjsGlobal.navigator && /^getInterface/.test(key)) { + return false; + } // an iframe could be approached by window[iframeIndex] + // in ie6,7,8 and opera, iframeIndex is enumerable, this could cause leak + + + if (commonjsGlobal.navigator && /^\d+/.test(key)) { + return false; + } // Opera and IE expose global variables for HTML element IDs (issue #243) + + + if (/^mocha-/.test(key)) { + return false; + } + + var matched = ok.filter(function (ok) { + if (~ok.indexOf('*')) { + return key.indexOf(ok.split('*')[0]) === 0; + } + + return key === ok; + }); + return !matched.length && (!commonjsGlobal.navigator || key !== 'onerror'); + }); + } + /** + * Check if argument is an instance of Error object or a duck-typed equivalent. + * + * @private + * @param {Object} err - object to check + * @param {string} err.message - error message + * @returns {boolean} + */ + + + function isError(err) { + return err instanceof Error || err && typeof err.message === 'string'; + } + /** + * + * Converts thrown non-extensible type into proper Error. + * + * @private + * @param {*} thrown - Non-extensible type thrown by code + * @return {Error} + */ + + + function thrown2Error(err) { + return new Error("the ".concat(utils.canonicalType(err), " ").concat(stringify(err), " was thrown, throw an Error :)")); + } + + Runner.constants = constants$1; + /** + * Node.js' `EventEmitter` + * @external EventEmitter + * @see {@link https://nodejs.org/api/events.html#events_class_eventemitter} + */ + + var runner = Runner; + + var require$$11 = getCjsExportFromNamespace(_nodeResolve_empty$1); + + var base = createCommonjsModule(function (module, exports) { + /** + * @module Base + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var isBrowser = utils.isBrowser(); + + function getBrowserWindowSize() { + if ('innerHeight' in commonjsGlobal) { + return [commonjsGlobal.innerHeight, commonjsGlobal.innerWidth]; + } // In a Web Worker, the DOM Window is not available. + + + return [640, 480]; + } + /** + * Expose `Base`. + */ + + + exports = module.exports = Base; + /** + * Check if both stdio streams are associated with a tty. + */ + + var isatty = isBrowser || process$3.stdout.isTTY && process$3.stderr.isTTY; + /** + * Save log references to avoid tests interfering (see GH-3604). + */ + + var consoleLog = console.log; + /** + * Enable coloring by default, except in the browser interface. + */ + + exports.useColors = !isBrowser && (require$$11.stdout || process$3.env.MOCHA_COLORS !== undefined); + /** + * Inline diffs instead of +/- + */ + + exports.inlineDiffs = false; + /** + * Default color map. + */ + + exports.colors = { + pass: 90, + fail: 31, + 'bright pass': 92, + 'bright fail': 91, + 'bright yellow': 93, + pending: 36, + suite: 0, + 'error title': 0, + 'error message': 31, + 'error stack': 90, + checkmark: 32, + fast: 90, + medium: 33, + slow: 31, + green: 32, + light: 90, + 'diff gutter': 90, + 'diff added': 32, + 'diff removed': 31, + 'diff added inline': '30;42', + 'diff removed inline': '30;41' + }; + /** + * Default symbol map. + */ + + exports.symbols = { + ok: browser$1.success, + err: browser$1.err, + dot: '.', + comma: ',', + bang: '!' + }; + /** + * Color `str` with the given `type`, + * allowing colors to be disabled, + * as well as user-defined color + * schemes. + * + * @private + * @param {string} type + * @param {string} str + * @return {string} + */ + + var color = exports.color = function (type, str) { + if (!exports.useColors) { + return String(str); + } + + return "\x1B[" + exports.colors[type] + 'm' + str + "\x1B[0m"; + }; + /** + * Expose term window size, with some defaults for when stderr is not a tty. + */ + + + exports.window = { + width: 75 + }; + + if (isatty) { + if (isBrowser) { + exports.window.width = getBrowserWindowSize()[1]; + } else { + exports.window.width = process$3.stdout.getWindowSize(1)[0]; + } + } + /** + * Expose some basic cursor interactions that are common among reporters. + */ + + + exports.cursor = { + hide: function hide() { + isatty && process$3.stdout.write("\x1B[?25l"); + }, + show: function show() { + isatty && process$3.stdout.write("\x1B[?25h"); + }, + deleteLine: function deleteLine() { + isatty && process$3.stdout.write("\x1B[2K"); + }, + beginningOfLine: function beginningOfLine() { + isatty && process$3.stdout.write("\x1B[0G"); + }, + CR: function CR() { + if (isatty) { + exports.cursor.deleteLine(); + exports.cursor.beginningOfLine(); + } else { + process$3.stdout.write('\r'); + } + } + }; + + var showDiff = exports.showDiff = function (err) { + return err && err.showDiff !== false && sameType(err.actual, err.expected) && err.expected !== undefined; + }; + + function stringifyDiffObjs(err) { + if (!utils.isString(err.actual) || !utils.isString(err.expected)) { + err.actual = utils.stringify(err.actual); + err.expected = utils.stringify(err.expected); + } + } + /** + * Returns a diff between 2 strings with coloured ANSI output. + * + * @description + * The diff will be either inline or unified dependent on the value + * of `Base.inlineDiff`. + * + * @param {string} actual + * @param {string} expected + * @return {string} Diff + */ + + + var generateDiff = exports.generateDiff = function (actual, expected) { + try { + var diffSize = 2048; + + if (actual.length > diffSize) { + actual = actual.substring(0, diffSize) + ' ... Lines skipped'; + } + + if (expected.length > diffSize) { + expected = expected.substring(0, diffSize) + ' ... Lines skipped'; + } + + return exports.inlineDiffs ? inlineDiff(actual, expected) : unifiedDiff(actual, expected); + } catch (err) { + var msg = '\n ' + color('diff added', '+ expected') + ' ' + color('diff removed', '- actual: failed to generate Mocha diff') + '\n'; + return msg; + } + }; + /** + * Outputs the given `failures` as a list. + * + * @public + * @memberof Mocha.reporters.Base + * @variation 1 + * @param {Object[]} failures - Each is Test instance with corresponding + * Error property + */ + + + exports.list = function (failures) { + var multipleErr, multipleTest; + Base.consoleLog(); + failures.forEach(function (test, i) { + // format + var fmt = color('error title', ' %s) %s:\n') + color('error message', ' %s') + color('error stack', '\n%s\n'); // msg + + var msg; + var err; + + if (test.err && test.err.multiple) { + if (multipleTest !== test) { + multipleTest = test; + multipleErr = [test.err].concat(test.err.multiple); + } + + err = multipleErr.shift(); + } else { + err = test.err; + } + + var message; + + if (typeof err.inspect === 'function') { + message = err.inspect() + ''; + } else if (err.message && typeof err.message.toString === 'function') { + message = err.message + ''; + } else { + message = ''; + } + + var stack = err.stack || message; + var index = message ? stack.indexOf(message) : -1; + + if (index === -1) { + msg = message; + } else { + index += message.length; + msg = stack.slice(0, index); // remove msg from stack + + stack = stack.slice(index + 1); + } // uncaught + + + if (err.uncaught) { + msg = 'Uncaught ' + msg; + } // explicitly show diff + + + if (!exports.hideDiff && showDiff(err)) { + stringifyDiffObjs(err); + fmt = color('error title', ' %s) %s:\n%s') + color('error stack', '\n%s\n'); + var match = message.match(/^([^:]+): expected/); + msg = '\n ' + color('error message', match ? match[1] : msg); + msg += generateDiff(err.actual, err.expected); + } // indent stack trace + + + stack = stack.replace(/^/gm, ' '); // indented test title + + var testTitle = ''; + test.titlePath().forEach(function (str, index) { + if (index !== 0) { + testTitle += '\n '; + } + + for (var i = 0; i < index; i++) { + testTitle += ' '; + } + + testTitle += str; + }); + Base.consoleLog(fmt, i + 1, testTitle, msg, stack); + }); + }; + /** + * Constructs a new `Base` reporter instance. + * + * @description + * All other reporters generally inherit from this reporter. + * + * @public + * @class + * @memberof Mocha.reporters + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + + function Base(runner, options) { + var failures = this.failures = []; + + if (!runner) { + throw new TypeError('Missing runner argument'); + } + + this.options = options || {}; + this.runner = runner; + this.stats = runner.stats; // assigned so Reporters keep a closer reference + + runner.on(EVENT_TEST_PASS, function (test) { + if (test.duration > test.slow()) { + test.speed = 'slow'; + } else if (test.duration > test.slow() / 2) { + test.speed = 'medium'; + } else { + test.speed = 'fast'; + } + }); + runner.on(EVENT_TEST_FAIL, function (test, err) { + if (showDiff(err)) { + stringifyDiffObjs(err); + } // more than one error per test + + + if (test.err && err instanceof Error) { + test.err.multiple = (test.err.multiple || []).concat(err); + } else { + test.err = err; + } + + failures.push(test); + }); + } + /** + * Outputs common epilogue used by many of the bundled reporters. + * + * @public + * @memberof Mocha.reporters + */ + + + Base.prototype.epilogue = function () { + var stats = this.stats; + var fmt; + Base.consoleLog(); // passes + + fmt = color('bright pass', ' ') + color('green', ' %d passing') + color('light', ' (%s)'); + Base.consoleLog(fmt, stats.passes || 0, ms$1(stats.duration)); // pending + + if (stats.pending) { + fmt = color('pending', ' ') + color('pending', ' %d pending'); + Base.consoleLog(fmt, stats.pending); + } // failures + + + if (stats.failures) { + fmt = color('fail', ' %d failing'); + Base.consoleLog(fmt, stats.failures); + Base.list(this.failures); + Base.consoleLog(); + } + + Base.consoleLog(); + }; + /** + * Pads the given `str` to `len`. + * + * @private + * @param {string} str + * @param {string} len + * @return {string} + */ + + + function pad(str, len) { + str = String(str); + return Array(len - str.length + 1).join(' ') + str; + } + /** + * Returns inline diff between 2 strings with coloured ANSI output. + * + * @private + * @param {String} actual + * @param {String} expected + * @return {string} Diff + */ + + + function inlineDiff(actual, expected) { + var msg = errorDiff(actual, expected); // linenos + + var lines = msg.split('\n'); + + if (lines.length > 4) { + var width = String(lines.length).length; + msg = lines.map(function (str, i) { + return pad(++i, width) + ' |' + ' ' + str; + }).join('\n'); + } // legend + + + msg = '\n' + color('diff removed inline', 'actual') + ' ' + color('diff added inline', 'expected') + '\n\n' + msg + '\n'; // indent + + msg = msg.replace(/^/gm, ' '); + return msg; + } + /** + * Returns unified diff between two strings with coloured ANSI output. + * + * @private + * @param {String} actual + * @param {String} expected + * @return {string} The diff. + */ + + + function unifiedDiff(actual, expected) { + var indent = ' '; + + function cleanUp(line) { + if (line[0] === '+') { + return indent + colorLines('diff added', line); + } + + if (line[0] === '-') { + return indent + colorLines('diff removed', line); + } + + if (line.match(/@@/)) { + return '--'; + } + + if (line.match(/\\ No newline/)) { + return null; + } + + return indent + line; + } + + function notBlank(line) { + return typeof line !== 'undefined' && line !== null; + } + + var msg = diff$1.createPatch('string', actual, expected); + var lines = msg.split('\n').splice(5); + return '\n ' + colorLines('diff added', '+ expected') + ' ' + colorLines('diff removed', '- actual') + '\n\n' + lines.map(cleanUp).filter(notBlank).join('\n'); + } + /** + * Returns character diff for `err`. + * + * @private + * @param {String} actual + * @param {String} expected + * @return {string} the diff + */ + + + function errorDiff(actual, expected) { + return diff$1.diffWordsWithSpace(actual, expected).map(function (str) { + if (str.added) { + return colorLines('diff added inline', str.value); + } + + if (str.removed) { + return colorLines('diff removed inline', str.value); + } + + return str.value; + }).join(''); + } + /** + * Colors lines for `str`, using the color `name`. + * + * @private + * @param {string} name + * @param {string} str + * @return {string} + */ + + + function colorLines(name, str) { + return str.split('\n').map(function (str) { + return color(name, str); + }).join('\n'); + } + /** + * Object#toString reference. + */ + + + var objToString = Object.prototype.toString; + /** + * Checks that a / b have the same type. + * + * @private + * @param {Object} a + * @param {Object} b + * @return {boolean} + */ + + function sameType(a, b) { + return objToString.call(a) === objToString.call(b); + } + + Base.consoleLog = consoleLog; + Base["abstract"] = true; + }); + + var dot = createCommonjsModule(function (module, exports) { + /** + * @module Dot + */ + + /** + * Module dependencies. + */ + + var inherits = utils.inherits; + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var EVENT_RUN_END = constants.EVENT_RUN_END; + /** + * Expose `Dot`. + */ + + module.exports = Dot; + /** + * Constructs a new `Dot` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function Dot(runner, options) { + base.call(this, runner, options); + var self = this; + var width = base.window.width * 0.75 | 0; + var n = -1; + runner.on(EVENT_RUN_BEGIN, function () { + process$3.stdout.write('\n'); + }); + runner.on(EVENT_TEST_PENDING, function () { + if (++n % width === 0) { + process$3.stdout.write('\n '); + } + + process$3.stdout.write(base.color('pending', base.symbols.comma)); + }); + runner.on(EVENT_TEST_PASS, function (test) { + if (++n % width === 0) { + process$3.stdout.write('\n '); + } + + if (test.speed === 'slow') { + process$3.stdout.write(base.color('bright yellow', base.symbols.dot)); + } else { + process$3.stdout.write(base.color(test.speed, base.symbols.dot)); + } + }); + runner.on(EVENT_TEST_FAIL, function () { + if (++n % width === 0) { + process$3.stdout.write('\n '); + } + + process$3.stdout.write(base.color('fail', base.symbols.bang)); + }); + runner.once(EVENT_RUN_END, function () { + process$3.stdout.write('\n'); + self.epilogue(); + }); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(Dot, base); + Dot.description = 'dot matrix representation'; + }); + + var doc = createCommonjsModule(function (module, exports) { + /** + * @module Doc + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_SUITE_BEGIN = constants.EVENT_SUITE_BEGIN; + var EVENT_SUITE_END = constants.EVENT_SUITE_END; + /** + * Expose `Doc`. + */ + + module.exports = Doc; + /** + * Constructs a new `Doc` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function Doc(runner, options) { + base.call(this, runner, options); + var indents = 2; + + function indent() { + return Array(indents).join(' '); + } + + runner.on(EVENT_SUITE_BEGIN, function (suite) { + if (suite.root) { + return; + } + + ++indents; + base.consoleLog('%s<section class="suite">', indent()); + ++indents; + base.consoleLog('%s<h1>%s</h1>', indent(), utils.escape(suite.title)); + base.consoleLog('%s<dl>', indent()); + }); + runner.on(EVENT_SUITE_END, function (suite) { + if (suite.root) { + return; + } + + base.consoleLog('%s</dl>', indent()); + --indents; + base.consoleLog('%s</section>', indent()); + --indents; + }); + runner.on(EVENT_TEST_PASS, function (test) { + base.consoleLog('%s <dt>%s</dt>', indent(), utils.escape(test.title)); + base.consoleLog('%s <dt>%s</dt>', indent(), utils.escape(test.file)); + var code = utils.escape(utils.clean(test.body)); + base.consoleLog('%s <dd><pre><code>%s</code></pre></dd>', indent(), code); + }); + runner.on(EVENT_TEST_FAIL, function (test, err) { + base.consoleLog('%s <dt class="error">%s</dt>', indent(), utils.escape(test.title)); + base.consoleLog('%s <dt class="error">%s</dt>', indent(), utils.escape(test.file)); + var code = utils.escape(utils.clean(test.body)); + base.consoleLog('%s <dd class="error"><pre><code>%s</code></pre></dd>', indent(), code); + base.consoleLog('%s <dd class="error">%s</dd>', indent(), utils.escape(err)); + }); + } + + Doc.description = 'HTML documentation'; + }); + + var tap = createCommonjsModule(function (module, exports) { + /** + * @module TAP + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var EVENT_TEST_END = constants.EVENT_TEST_END; + var inherits = utils.inherits; + var sprintf = util.format; + /** + * Expose `TAP`. + */ + + module.exports = TAP; + /** + * Constructs a new `TAP` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function TAP(runner, options) { + base.call(this, runner, options); + var self = this; + var n = 1; + var tapVersion = '12'; + + if (options && options.reporterOptions) { + if (options.reporterOptions.tapVersion) { + tapVersion = options.reporterOptions.tapVersion.toString(); + } + } + + this._producer = createProducer(tapVersion); + runner.once(EVENT_RUN_BEGIN, function () { + self._producer.writeVersion(); + }); + runner.on(EVENT_TEST_END, function () { + ++n; + }); + runner.on(EVENT_TEST_PENDING, function (test) { + self._producer.writePending(n, test); + }); + runner.on(EVENT_TEST_PASS, function (test) { + self._producer.writePass(n, test); + }); + runner.on(EVENT_TEST_FAIL, function (test, err) { + self._producer.writeFail(n, test, err); + }); + runner.once(EVENT_RUN_END, function () { + self._producer.writeEpilogue(runner.stats); + }); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(TAP, base); + /** + * Returns a TAP-safe title of `test`. + * + * @private + * @param {Test} test - Test instance. + * @return {String} title with any hash character removed + */ + + function title(test) { + return test.fullTitle().replace(/#/g, ''); + } + /** + * Writes newline-terminated formatted string to reporter output stream. + * + * @private + * @param {string} format - `printf`-like format string + * @param {...*} [varArgs] - Format string arguments + */ + + + function println(format, varArgs) { + var vargs = Array.from(arguments); + vargs[0] += '\n'; + process$3.stdout.write(sprintf.apply(null, vargs)); + } + /** + * Returns a `tapVersion`-appropriate TAP producer instance, if possible. + * + * @private + * @param {string} tapVersion - Version of TAP specification to produce. + * @returns {TAPProducer} specification-appropriate instance + * @throws {Error} if specification version has no associated producer. + */ + + + function createProducer(tapVersion) { + var producers = { + '12': new TAP12Producer(), + '13': new TAP13Producer() + }; + var producer = producers[tapVersion]; + + if (!producer) { + throw new Error('invalid or unsupported TAP version: ' + JSON.stringify(tapVersion)); + } + + return producer; + } + /** + * @summary + * Constructs a new TAPProducer. + * + * @description + * <em>Only</em> to be used as an abstract base class. + * + * @private + * @constructor + */ + + + function TAPProducer() {} + /** + * Writes the TAP version to reporter output stream. + * + * @abstract + */ + + + TAPProducer.prototype.writeVersion = function () {}; + /** + * Writes the plan to reporter output stream. + * + * @abstract + * @param {number} ntests - Number of tests that are planned to run. + */ + + + TAPProducer.prototype.writePlan = function (ntests) { + println('%d..%d', 1, ntests); + }; + /** + * Writes that test passed to reporter output stream. + * + * @abstract + * @param {number} n - Index of test that passed. + * @param {Test} test - Instance containing test information. + */ + + + TAPProducer.prototype.writePass = function (n, test) { + println('ok %d %s', n, title(test)); + }; + /** + * Writes that test was skipped to reporter output stream. + * + * @abstract + * @param {number} n - Index of test that was skipped. + * @param {Test} test - Instance containing test information. + */ + + + TAPProducer.prototype.writePending = function (n, test) { + println('ok %d %s # SKIP -', n, title(test)); + }; + /** + * Writes that test failed to reporter output stream. + * + * @abstract + * @param {number} n - Index of test that failed. + * @param {Test} test - Instance containing test information. + * @param {Error} err - Reason the test failed. + */ + + + TAPProducer.prototype.writeFail = function (n, test, err) { + println('not ok %d %s', n, title(test)); + }; + /** + * Writes the summary epilogue to reporter output stream. + * + * @abstract + * @param {Object} stats - Object containing run statistics. + */ + + + TAPProducer.prototype.writeEpilogue = function (stats) { + // :TBD: Why is this not counting pending tests? + println('# tests ' + (stats.passes + stats.failures)); + println('# pass ' + stats.passes); // :TBD: Why are we not showing pending results? + + println('# fail ' + stats.failures); + this.writePlan(stats.passes + stats.failures + stats.pending); + }; + /** + * @summary + * Constructs a new TAP12Producer. + * + * @description + * Produces output conforming to the TAP12 specification. + * + * @private + * @constructor + * @extends TAPProducer + * @see {@link https://testanything.org/tap-specification.html|Specification} + */ + + + function TAP12Producer() { + /** + * Writes that test failed to reporter output stream, with error formatting. + * @override + */ + this.writeFail = function (n, test, err) { + TAPProducer.prototype.writeFail.call(this, n, test, err); + + if (err.message) { + println(err.message.replace(/^/gm, ' ')); + } + + if (err.stack) { + println(err.stack.replace(/^/gm, ' ')); + } + }; + } + /** + * Inherit from `TAPProducer.prototype`. + */ + + + inherits(TAP12Producer, TAPProducer); + /** + * @summary + * Constructs a new TAP13Producer. + * + * @description + * Produces output conforming to the TAP13 specification. + * + * @private + * @constructor + * @extends TAPProducer + * @see {@link https://testanything.org/tap-version-13-specification.html|Specification} + */ + + function TAP13Producer() { + /** + * Writes the TAP version to reporter output stream. + * @override + */ + this.writeVersion = function () { + println('TAP version 13'); + }; + /** + * Writes that test failed to reporter output stream, with error formatting. + * @override + */ + + + this.writeFail = function (n, test, err) { + TAPProducer.prototype.writeFail.call(this, n, test, err); + var emitYamlBlock = err.message != null || err.stack != null; + + if (emitYamlBlock) { + println(indent(1) + '---'); + + if (err.message) { + println(indent(2) + 'message: |-'); + println(err.message.replace(/^/gm, indent(3))); + } + + if (err.stack) { + println(indent(2) + 'stack: |-'); + println(err.stack.replace(/^/gm, indent(3))); + } + + println(indent(1) + '...'); + } + }; + + function indent(level) { + return Array(level + 1).join(' '); + } + } + /** + * Inherit from `TAPProducer.prototype`. + */ + + + inherits(TAP13Producer, TAPProducer); + TAP.description = 'TAP-compatible output'; + }); + + var json = createCommonjsModule(function (module, exports) { + /** + * @module JSON + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_TEST_END = constants.EVENT_TEST_END; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + /** + * Expose `JSON`. + */ + + module.exports = JSONReporter; + /** + * Constructs a new `JSON` reporter instance. + * + * @public + * @class JSON + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function JSONReporter(runner, options) { + base.call(this, runner, options); + var self = this; + var tests = []; + var pending = []; + var failures = []; + var passes = []; + runner.on(EVENT_TEST_END, function (test) { + tests.push(test); + }); + runner.on(EVENT_TEST_PASS, function (test) { + passes.push(test); + }); + runner.on(EVENT_TEST_FAIL, function (test) { + failures.push(test); + }); + runner.on(EVENT_TEST_PENDING, function (test) { + pending.push(test); + }); + runner.once(EVENT_RUN_END, function () { + var obj = { + stats: self.stats, + tests: tests.map(clean), + pending: pending.map(clean), + failures: failures.map(clean), + passes: passes.map(clean) + }; + runner.testResults = obj; + process$3.stdout.write(JSON.stringify(obj, null, 2)); + }); + } + /** + * Return a plain-object representation of `test` + * free of cyclic properties etc. + * + * @private + * @param {Object} test + * @return {Object} + */ + + + function clean(test) { + var err = test.err || {}; + + if (err instanceof Error) { + err = errorJSON(err); + } + + return { + title: test.title, + fullTitle: test.fullTitle(), + file: test.file, + duration: test.duration, + currentRetry: test.currentRetry(), + speed: test.speed, + err: cleanCycles(err) + }; + } + /** + * Replaces any circular references inside `obj` with '[object Object]' + * + * @private + * @param {Object} obj + * @return {Object} + */ + + + function cleanCycles(obj) { + var cache = []; + return JSON.parse(JSON.stringify(obj, function (key, value) { + if (_typeof(value) === 'object' && value !== null) { + if (cache.indexOf(value) !== -1) { + // Instead of going in a circle, we'll print [object Object] + return '' + value; + } + + cache.push(value); + } + + return value; + })); + } + /** + * Transform an Error object into a JSON object. + * + * @private + * @param {Error} err + * @return {Object} + */ + + + function errorJSON(err) { + var res = {}; + Object.getOwnPropertyNames(err).forEach(function (key) { + res[key] = err[key]; + }, err); + return res; + } + + JSONReporter.description = 'single JSON object'; + }); + + // `thisNumberValue` abstract operation + // https://tc39.es/ecma262/#sec-thisnumbervalue + var thisNumberValue = function (value) { + if (typeof value != 'number' && classofRaw(value) != 'Number') { + throw TypeError('Incorrect invocation'); + } + return +value; + }; + + // `String.prototype.repeat` method implementation + // https://tc39.es/ecma262/#sec-string.prototype.repeat + var stringRepeat = function repeat(count) { + var str = String(requireObjectCoercible(this)); + var result = ''; + var n = toInteger(count); + if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions'); + for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str; + return result; + }; + + var nativeToFixed = 1.0.toFixed; + var floor = Math.floor; + + var pow = function (x, n, acc) { + return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); + }; + + var log = function (x) { + var n = 0; + var x2 = x; + while (x2 >= 4096) { + n += 12; + x2 /= 4096; + } + while (x2 >= 2) { + n += 1; + x2 /= 2; + } return n; + }; + + var multiply = function (data, n, c) { + var index = -1; + var c2 = c; + while (++index < 6) { + c2 += n * data[index]; + data[index] = c2 % 1e7; + c2 = floor(c2 / 1e7); + } + }; + + var divide = function (data, n) { + var index = 6; + var c = 0; + while (--index >= 0) { + c += data[index]; + data[index] = floor(c / n); + c = (c % n) * 1e7; + } + }; + + var dataToString = function (data) { + var index = 6; + var s = ''; + while (--index >= 0) { + if (s !== '' || index === 0 || data[index] !== 0) { + var t = String(data[index]); + s = s === '' ? t : s + stringRepeat.call('0', 7 - t.length) + t; + } + } return s; + }; + + var FORCED = nativeToFixed && ( + 0.00008.toFixed(3) !== '0.000' || + 0.9.toFixed(0) !== '1' || + 1.255.toFixed(2) !== '1.25' || + 1000000000000000128.0.toFixed(0) !== '1000000000000000128' + ) || !fails(function () { + // V8 ~ Android 4.3- + nativeToFixed.call({}); + }); + + // `Number.prototype.toFixed` method + // https://tc39.es/ecma262/#sec-number.prototype.tofixed + _export({ target: 'Number', proto: true, forced: FORCED }, { + toFixed: function toFixed(fractionDigits) { + var number = thisNumberValue(this); + var fractDigits = toInteger(fractionDigits); + var data = [0, 0, 0, 0, 0, 0]; + var sign = ''; + var result = '0'; + var e, z, j, k; + + if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits'); + // eslint-disable-next-line no-self-compare -- NaN check + if (number != number) return 'NaN'; + if (number <= -1e21 || number >= 1e21) return String(number); + if (number < 0) { + sign = '-'; + number = -number; + } + if (number > 1e-21) { + e = log(number * pow(2, 69, 1)) - 69; + z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1); + z *= 0x10000000000000; + e = 52 - e; + if (e > 0) { + multiply(data, 0, z); + j = fractDigits; + while (j >= 7) { + multiply(data, 1e7, 0); + j -= 7; + } + multiply(data, pow(10, j, 1), 0); + j = e - 1; + while (j >= 23) { + divide(data, 1 << 23); + j -= 23; + } + divide(data, 1 << j); + multiply(data, 1, 1); + divide(data, 2); + result = dataToString(data); + } else { + multiply(data, 0, z); + multiply(data, 1 << -e, 0); + result = dataToString(data) + stringRepeat.call('0', fractDigits); + } + } + if (fractDigits > 0) { + k = result.length; + result = sign + (k <= fractDigits + ? '0.' + stringRepeat.call('0', fractDigits - k) + result + : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits)); + } else { + result = sign + result; + } return result; + } + }); + + /** + @module browser/Progress + */ + + /** + * Expose `Progress`. + */ + + var progress$1 = Progress; + /** + * Initialize a new `Progress` indicator. + */ + + function Progress() { + this.percent = 0; + this.size(0); + this.fontSize(11); + this.font('helvetica, arial, sans-serif'); + } + /** + * Set progress size to `size`. + * + * @public + * @param {number} size + * @return {Progress} Progress instance. + */ + + + Progress.prototype.size = function (size) { + this._size = size; + return this; + }; + /** + * Set text to `text`. + * + * @public + * @param {string} text + * @return {Progress} Progress instance. + */ + + + Progress.prototype.text = function (text) { + this._text = text; + return this; + }; + /** + * Set font size to `size`. + * + * @public + * @param {number} size + * @return {Progress} Progress instance. + */ + + + Progress.prototype.fontSize = function (size) { + this._fontSize = size; + return this; + }; + /** + * Set font to `family`. + * + * @param {string} family + * @return {Progress} Progress instance. + */ + + + Progress.prototype.font = function (family) { + this._font = family; + return this; + }; + /** + * Update percentage to `n`. + * + * @param {number} n + * @return {Progress} Progress instance. + */ + + + Progress.prototype.update = function (n) { + this.percent = n; + return this; + }; + /** + * Draw on `ctx`. + * + * @param {CanvasRenderingContext2d} ctx + * @return {Progress} Progress instance. + */ + + + Progress.prototype.draw = function (ctx) { + try { + var percent = Math.min(this.percent, 100); + var size = this._size; + var half = size / 2; + var x = half; + var y = half; + var rad = half - 1; + var fontSize = this._fontSize; + ctx.font = fontSize + 'px ' + this._font; + var angle = Math.PI * 2 * (percent / 100); + ctx.clearRect(0, 0, size, size); // outer circle + + ctx.strokeStyle = '#9f9f9f'; + ctx.beginPath(); + ctx.arc(x, y, rad, 0, angle, false); + ctx.stroke(); // inner circle + + ctx.strokeStyle = '#eee'; + ctx.beginPath(); + ctx.arc(x, y, rad - 1, 0, angle, true); + ctx.stroke(); // text + + var text = this._text || (percent | 0) + '%'; + var w = ctx.measureText(text).width; + ctx.fillText(text, x - w / 2 + 1, y + fontSize / 2 - 1); + } catch (ignore) {// don't fail if we can't render progress + } + + return this; + }; + + var html = createCommonjsModule(function (module, exports) { + /* eslint-env browser */ + + /** + * @module HTML + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_SUITE_BEGIN = constants.EVENT_SUITE_BEGIN; + var EVENT_SUITE_END = constants.EVENT_SUITE_END; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var escape = utils.escape; + /** + * Save timer references to avoid Sinon interfering (see GH-237). + */ + + var Date = commonjsGlobal.Date; + /** + * Expose `HTML`. + */ + + module.exports = HTML; + /** + * Stats template. + */ + + var statsTemplate = '<ul id="mocha-stats">' + '<li class="progress"><canvas width="40" height="40"></canvas></li>' + '<li class="passes"><a href="javascript:void(0);">passes:</a> <em>0</em></li>' + '<li class="failures"><a href="javascript:void(0);">failures:</a> <em>0</em></li>' + '<li class="duration">duration: <em>0</em>s</li>' + '</ul>'; + var playIcon = '‣'; + /** + * Constructs a new `HTML` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function HTML(runner, options) { + base.call(this, runner, options); + var self = this; + var stats = this.stats; + var stat = fragment(statsTemplate); + var items = stat.getElementsByTagName('li'); + var passes = items[1].getElementsByTagName('em')[0]; + var passesLink = items[1].getElementsByTagName('a')[0]; + var failures = items[2].getElementsByTagName('em')[0]; + var failuresLink = items[2].getElementsByTagName('a')[0]; + var duration = items[3].getElementsByTagName('em')[0]; + var canvas = stat.getElementsByTagName('canvas')[0]; + var report = fragment('<ul id="mocha-report"></ul>'); + var stack = [report]; + var progress; + var ctx; + var root = document.getElementById('mocha'); + + if (canvas.getContext) { + var ratio = window.devicePixelRatio || 1; + canvas.style.width = canvas.width; + canvas.style.height = canvas.height; + canvas.width *= ratio; + canvas.height *= ratio; + ctx = canvas.getContext('2d'); + ctx.scale(ratio, ratio); + progress = new progress$1(); + } + + if (!root) { + return error('#mocha div missing, add it to your document'); + } // pass toggle + + + on(passesLink, 'click', function (evt) { + evt.preventDefault(); + unhide(); + var name = /pass/.test(report.className) ? '' : ' pass'; + report.className = report.className.replace(/fail|pass/g, '') + name; + + if (report.className.trim()) { + hideSuitesWithout('test pass'); + } + }); // failure toggle + + on(failuresLink, 'click', function (evt) { + evt.preventDefault(); + unhide(); + var name = /fail/.test(report.className) ? '' : ' fail'; + report.className = report.className.replace(/fail|pass/g, '') + name; + + if (report.className.trim()) { + hideSuitesWithout('test fail'); + } + }); + root.appendChild(stat); + root.appendChild(report); + + if (progress) { + progress.size(40); + } + + runner.on(EVENT_SUITE_BEGIN, function (suite) { + if (suite.root) { + return; + } // suite + + + var url = self.suiteURL(suite); + var el = fragment('<li class="suite"><h1><a href="%s">%s</a></h1></li>', url, escape(suite.title)); // container + + stack[0].appendChild(el); + stack.unshift(document.createElement('ul')); + el.appendChild(stack[0]); + }); + runner.on(EVENT_SUITE_END, function (suite) { + if (suite.root) { + updateStats(); + return; + } + + stack.shift(); + }); + runner.on(EVENT_TEST_PASS, function (test) { + var url = self.testURL(test); + var markup = '<li class="test pass %e"><h2>%e<span class="duration">%ems</span> ' + '<a href="%s" class="replay">' + playIcon + '</a></h2></li>'; + var el = fragment(markup, test.speed, test.title, test.duration, url); + self.addCodeToggle(el, test.body); + appendToStack(el); + updateStats(); + }); + runner.on(EVENT_TEST_FAIL, function (test) { + var el = fragment('<li class="test fail"><h2>%e <a href="%e" class="replay">' + playIcon + '</a></h2></li>', test.title, self.testURL(test)); + var stackString; // Note: Includes leading newline + + var message = test.err.toString(); // <=IE7 stringifies to [Object Error]. Since it can be overloaded, we + // check for the result of the stringifying. + + if (message === '[object Error]') { + message = test.err.message; + } + + if (test.err.stack) { + var indexOfMessage = test.err.stack.indexOf(test.err.message); + + if (indexOfMessage === -1) { + stackString = test.err.stack; + } else { + stackString = test.err.stack.substr(test.err.message.length + indexOfMessage); + } + } else if (test.err.sourceURL && test.err.line !== undefined) { + // Safari doesn't give you a stack. Let's at least provide a source line. + stackString = '\n(' + test.err.sourceURL + ':' + test.err.line + ')'; + } + + stackString = stackString || ''; + + if (test.err.htmlMessage && stackString) { + el.appendChild(fragment('<div class="html-error">%s\n<pre class="error">%e</pre></div>', test.err.htmlMessage, stackString)); + } else if (test.err.htmlMessage) { + el.appendChild(fragment('<div class="html-error">%s</div>', test.err.htmlMessage)); + } else { + el.appendChild(fragment('<pre class="error">%e%e</pre>', message, stackString)); + } + + self.addCodeToggle(el, test.body); + appendToStack(el); + updateStats(); + }); + runner.on(EVENT_TEST_PENDING, function (test) { + var el = fragment('<li class="test pass pending"><h2>%e</h2></li>', test.title); + appendToStack(el); + updateStats(); + }); + + function appendToStack(el) { + // Don't call .appendChild if #mocha-report was already .shift()'ed off the stack. + if (stack[0]) { + stack[0].appendChild(el); + } + } + + function updateStats() { + // TODO: add to stats + var percent = stats.tests / runner.total * 100 | 0; + + if (progress) { + progress.update(percent).draw(ctx); + } // update stats + + + var ms = new Date() - stats.start; + text(passes, stats.passes); + text(failures, stats.failures); + text(duration, (ms / 1000).toFixed(2)); + } + } + /** + * Makes a URL, preserving querystring ("search") parameters. + * + * @param {string} s + * @return {string} A new URL. + */ + + + function makeUrl(s) { + var search = window.location.search; // Remove previous grep query parameter if present + + if (search) { + search = search.replace(/[?&]grep=[^&\s]*/g, '').replace(/^&/, '?'); + } + + return window.location.pathname + (search ? search + '&' : '?') + 'grep=' + encodeURIComponent(escapeStringRegexp(s)); + } + /** + * Provide suite URL. + * + * @param {Object} [suite] + */ + + + HTML.prototype.suiteURL = function (suite) { + return makeUrl(suite.fullTitle()); + }; + /** + * Provide test URL. + * + * @param {Object} [test] + */ + + + HTML.prototype.testURL = function (test) { + return makeUrl(test.fullTitle()); + }; + /** + * Adds code toggle functionality for the provided test's list element. + * + * @param {HTMLLIElement} el + * @param {string} contents + */ + + + HTML.prototype.addCodeToggle = function (el, contents) { + var h2 = el.getElementsByTagName('h2')[0]; + on(h2, 'click', function () { + pre.style.display = pre.style.display === 'none' ? 'block' : 'none'; + }); + var pre = fragment('<pre><code>%e</code></pre>', utils.clean(contents)); + el.appendChild(pre); + pre.style.display = 'none'; + }; + /** + * Display error `msg`. + * + * @param {string} msg + */ + + + function error(msg) { + document.body.appendChild(fragment('<div id="mocha-error">%s</div>', msg)); + } + /** + * Return a DOM fragment from `html`. + * + * @param {string} html + */ + + + function fragment(html) { + var args = arguments; + var div = document.createElement('div'); + var i = 1; + div.innerHTML = html.replace(/%([se])/g, function (_, type) { + switch (type) { + case 's': + return String(args[i++]); + + case 'e': + return escape(args[i++]); + // no default + } + }); + return div.firstChild; + } + /** + * Check for suites that do not have elements + * with `classname`, and hide them. + * + * @param {text} classname + */ + + + function hideSuitesWithout(classname) { + var suites = document.getElementsByClassName('suite'); + + for (var i = 0; i < suites.length; i++) { + var els = suites[i].getElementsByClassName(classname); + + if (!els.length) { + suites[i].className += ' hidden'; + } + } + } + /** + * Unhide .hidden suites. + */ + + + function unhide() { + var els = document.getElementsByClassName('suite hidden'); + + while (els.length > 0) { + els[0].className = els[0].className.replace('suite hidden', 'suite'); + } + } + /** + * Set an element's text contents. + * + * @param {HTMLElement} el + * @param {string} contents + */ + + + function text(el, contents) { + if (el.textContent) { + el.textContent = contents; + } else { + el.innerText = contents; + } + } + /** + * Listen on `event` with callback `fn`. + */ + + + function on(el, event, fn) { + if (el.addEventListener) { + el.addEventListener(event, fn, false); + } else { + el.attachEvent('on' + event, fn); + } + } + + HTML.browserOnly = true; + }); + + var list = createCommonjsModule(function (module, exports) { + /** + * @module List + */ + + /** + * Module dependencies. + */ + + var inherits = utils.inherits; + var constants = runner.constants; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_TEST_BEGIN = constants.EVENT_TEST_BEGIN; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var color = base.color; + var cursor = base.cursor; + /** + * Expose `List`. + */ + + module.exports = List; + /** + * Constructs a new `List` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function List(runner, options) { + base.call(this, runner, options); + var self = this; + var n = 0; + runner.on(EVENT_RUN_BEGIN, function () { + base.consoleLog(); + }); + runner.on(EVENT_TEST_BEGIN, function (test) { + process$3.stdout.write(color('pass', ' ' + test.fullTitle() + ': ')); + }); + runner.on(EVENT_TEST_PENDING, function (test) { + var fmt = color('checkmark', ' -') + color('pending', ' %s'); + base.consoleLog(fmt, test.fullTitle()); + }); + runner.on(EVENT_TEST_PASS, function (test) { + var fmt = color('checkmark', ' ' + base.symbols.ok) + color('pass', ' %s: ') + color(test.speed, '%dms'); + cursor.CR(); + base.consoleLog(fmt, test.fullTitle(), test.duration); + }); + runner.on(EVENT_TEST_FAIL, function (test) { + cursor.CR(); + base.consoleLog(color('fail', ' %d) %s'), ++n, test.fullTitle()); + }); + runner.once(EVENT_RUN_END, self.epilogue.bind(self)); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(List, base); + List.description = 'like "spec" reporter but flat'; + }); + + var min = createCommonjsModule(function (module, exports) { + /** + * @module Min + */ + + /** + * Module dependencies. + */ + + var inherits = utils.inherits; + var constants = runner.constants; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + /** + * Expose `Min`. + */ + + module.exports = Min; + /** + * Constructs a new `Min` reporter instance. + * + * @description + * This minimal test reporter is best used with '--watch'. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function Min(runner, options) { + base.call(this, runner, options); + runner.on(EVENT_RUN_BEGIN, function () { + // clear screen + process$3.stdout.write("\x1B[2J"); // set cursor position + + process$3.stdout.write("\x1B[1;3H"); + }); + runner.once(EVENT_RUN_END, this.epilogue.bind(this)); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(Min, base); + Min.description = 'essentially just a summary'; + }); + + var spec = createCommonjsModule(function (module, exports) { + /** + * @module Spec + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_SUITE_BEGIN = constants.EVENT_SUITE_BEGIN; + var EVENT_SUITE_END = constants.EVENT_SUITE_END; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var inherits = utils.inherits; + var color = base.color; + /** + * Expose `Spec`. + */ + + module.exports = Spec; + /** + * Constructs a new `Spec` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function Spec(runner, options) { + base.call(this, runner, options); + var self = this; + var indents = 0; + var n = 0; + + function indent() { + return Array(indents).join(' '); + } + + runner.on(EVENT_RUN_BEGIN, function () { + base.consoleLog(); + }); + runner.on(EVENT_SUITE_BEGIN, function (suite) { + ++indents; + base.consoleLog(color('suite', '%s%s'), indent(), suite.title); + }); + runner.on(EVENT_SUITE_END, function () { + --indents; + + if (indents === 1) { + base.consoleLog(); + } + }); + runner.on(EVENT_TEST_PENDING, function (test) { + var fmt = indent() + color('pending', ' - %s'); + base.consoleLog(fmt, test.title); + }); + runner.on(EVENT_TEST_PASS, function (test) { + var fmt; + + if (test.speed === 'fast') { + fmt = indent() + color('checkmark', ' ' + base.symbols.ok) + color('pass', ' %s'); + base.consoleLog(fmt, test.title); + } else { + fmt = indent() + color('checkmark', ' ' + base.symbols.ok) + color('pass', ' %s') + color(test.speed, ' (%dms)'); + base.consoleLog(fmt, test.title, test.duration); + } + }); + runner.on(EVENT_TEST_FAIL, function (test) { + base.consoleLog(indent() + color('fail', ' %d) %s'), ++n, test.title); + }); + runner.once(EVENT_RUN_END, self.epilogue.bind(self)); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(Spec, base); + Spec.description = 'hierarchical & verbose [default]'; + }); + + var nyan = createCommonjsModule(function (module, exports) { + /** + * @module Nyan + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var inherits = utils.inherits; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + /** + * Expose `Dot`. + */ + + module.exports = NyanCat; + /** + * Constructs a new `Nyan` reporter instance. + * + * @public + * @class Nyan + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function NyanCat(runner, options) { + base.call(this, runner, options); + var self = this; + var width = base.window.width * 0.75 | 0; + var nyanCatWidth = this.nyanCatWidth = 11; + this.colorIndex = 0; + this.numberOfLines = 4; + this.rainbowColors = self.generateColors(); + this.scoreboardWidth = 5; + this.tick = 0; + this.trajectories = [[], [], [], []]; + this.trajectoryWidthMax = width - nyanCatWidth; + runner.on(EVENT_RUN_BEGIN, function () { + base.cursor.hide(); + self.draw(); + }); + runner.on(EVENT_TEST_PENDING, function () { + self.draw(); + }); + runner.on(EVENT_TEST_PASS, function () { + self.draw(); + }); + runner.on(EVENT_TEST_FAIL, function () { + self.draw(); + }); + runner.once(EVENT_RUN_END, function () { + base.cursor.show(); + + for (var i = 0; i < self.numberOfLines; i++) { + write('\n'); + } + + self.epilogue(); + }); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(NyanCat, base); + /** + * Draw the nyan cat + * + * @private + */ + + NyanCat.prototype.draw = function () { + this.appendRainbow(); + this.drawScoreboard(); + this.drawRainbow(); + this.drawNyanCat(); + this.tick = !this.tick; + }; + /** + * Draw the "scoreboard" showing the number + * of passes, failures and pending tests. + * + * @private + */ + + + NyanCat.prototype.drawScoreboard = function () { + var stats = this.stats; + + function draw(type, n) { + write(' '); + write(base.color(type, n)); + write('\n'); + } + + draw('green', stats.passes); + draw('fail', stats.failures); + draw('pending', stats.pending); + write('\n'); + this.cursorUp(this.numberOfLines); + }; + /** + * Append the rainbow. + * + * @private + */ + + + NyanCat.prototype.appendRainbow = function () { + var segment = this.tick ? '_' : '-'; + var rainbowified = this.rainbowify(segment); + + for (var index = 0; index < this.numberOfLines; index++) { + var trajectory = this.trajectories[index]; + + if (trajectory.length >= this.trajectoryWidthMax) { + trajectory.shift(); + } + + trajectory.push(rainbowified); + } + }; + /** + * Draw the rainbow. + * + * @private + */ + + + NyanCat.prototype.drawRainbow = function () { + var self = this; + this.trajectories.forEach(function (line) { + write("\x1B[" + self.scoreboardWidth + 'C'); + write(line.join('')); + write('\n'); + }); + this.cursorUp(this.numberOfLines); + }; + /** + * Draw the nyan cat + * + * @private + */ + + + NyanCat.prototype.drawNyanCat = function () { + var self = this; + var startWidth = this.scoreboardWidth + this.trajectories[0].length; + var dist = "\x1B[" + startWidth + 'C'; + var padding = ''; + write(dist); + write('_,------,'); + write('\n'); + write(dist); + padding = self.tick ? ' ' : ' '; + write('_|' + padding + '/\\_/\\ '); + write('\n'); + write(dist); + padding = self.tick ? '_' : '__'; + var tail = self.tick ? '~' : '^'; + write(tail + '|' + padding + this.face() + ' '); + write('\n'); + write(dist); + padding = self.tick ? ' ' : ' '; + write(padding + '"" "" '); + write('\n'); + this.cursorUp(this.numberOfLines); + }; + /** + * Draw nyan cat face. + * + * @private + * @return {string} + */ + + + NyanCat.prototype.face = function () { + var stats = this.stats; + + if (stats.failures) { + return '( x .x)'; + } else if (stats.pending) { + return '( o .o)'; + } else if (stats.passes) { + return '( ^ .^)'; + } + + return '( - .-)'; + }; + /** + * Move cursor up `n`. + * + * @private + * @param {number} n + */ + + + NyanCat.prototype.cursorUp = function (n) { + write("\x1B[" + n + 'A'); + }; + /** + * Move cursor down `n`. + * + * @private + * @param {number} n + */ + + + NyanCat.prototype.cursorDown = function (n) { + write("\x1B[" + n + 'B'); + }; + /** + * Generate rainbow colors. + * + * @private + * @return {Array} + */ + + + NyanCat.prototype.generateColors = function () { + var colors = []; + + for (var i = 0; i < 6 * 7; i++) { + var pi3 = Math.floor(Math.PI / 3); + var n = i * (1.0 / 6); + var r = Math.floor(3 * Math.sin(n) + 3); + var g = Math.floor(3 * Math.sin(n + 2 * pi3) + 3); + var b = Math.floor(3 * Math.sin(n + 4 * pi3) + 3); + colors.push(36 * r + 6 * g + b + 16); + } + + return colors; + }; + /** + * Apply rainbow to the given `str`. + * + * @private + * @param {string} str + * @return {string} + */ + + + NyanCat.prototype.rainbowify = function (str) { + if (!base.useColors) { + return str; + } + + var color = this.rainbowColors[this.colorIndex % this.rainbowColors.length]; + this.colorIndex += 1; + return "\x1B[38;5;" + color + 'm' + str + "\x1B[0m"; + }; + /** + * Stdout helper. + * + * @param {string} string A message to write to stdout. + */ + + + function write(string) { + process$3.stdout.write(string); + } + + NyanCat.description = '"nyan cat"'; + }); + + var xunit = createCommonjsModule(function (module, exports) { + /** + * @module XUnit + */ + + /** + * Module dependencies. + */ + + var createUnsupportedError = errors.createUnsupportedError; + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var STATE_FAILED = runnable.constants.STATE_FAILED; + var inherits = utils.inherits; + var escape = utils.escape; + /** + * Save timer references to avoid Sinon interfering (see GH-237). + */ + + var Date = commonjsGlobal.Date; + /** + * Expose `XUnit`. + */ + + module.exports = XUnit; + /** + * Constructs a new `XUnit` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function XUnit(runner, options) { + base.call(this, runner, options); + var stats = this.stats; + var tests = []; + var self = this; // the name of the test suite, as it will appear in the resulting XML file + + var suiteName; // the default name of the test suite if none is provided + + var DEFAULT_SUITE_NAME = 'Mocha Tests'; + + if (options && options.reporterOptions) { + if (options.reporterOptions.output) { + { + throw createUnsupportedError('file output not supported in browser'); + } + } // get the suite name from the reporter options (if provided) + + + suiteName = options.reporterOptions.suiteName; + } // fall back to the default suite name + + + suiteName = suiteName || DEFAULT_SUITE_NAME; + runner.on(EVENT_TEST_PENDING, function (test) { + tests.push(test); + }); + runner.on(EVENT_TEST_PASS, function (test) { + tests.push(test); + }); + runner.on(EVENT_TEST_FAIL, function (test) { + tests.push(test); + }); + runner.once(EVENT_RUN_END, function () { + self.write(tag('testsuite', { + name: suiteName, + tests: stats.tests, + failures: 0, + errors: stats.failures, + skipped: stats.tests - stats.failures - stats.passes, + timestamp: new Date().toUTCString(), + time: stats.duration / 1000 || 0 + }, false)); + tests.forEach(function (t) { + self.test(t); + }); + self.write('</testsuite>'); + }); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(XUnit, base); + /** + * Override done to close the stream (if it's a file). + * + * @param failures + * @param {Function} fn + */ + + XUnit.prototype.done = function (failures, fn) { + if (this.fileStream) { + this.fileStream.end(function () { + fn(failures); + }); + } else { + fn(failures); + } + }; + /** + * Write out the given line. + * + * @param {string} line + */ + + + XUnit.prototype.write = function (line) { + if (this.fileStream) { + this.fileStream.write(line + '\n'); + } else if (_typeof(process$3) === 'object' && process$3.stdout) { + process$3.stdout.write(line + '\n'); + } else { + base.consoleLog(line); + } + }; + /** + * Output tag for the given `test.` + * + * @param {Test} test + */ + + + XUnit.prototype.test = function (test) { + base.useColors = false; + var attrs = { + classname: test.parent.fullTitle(), + name: test.title, + time: test.duration / 1000 || 0 + }; + + if (test.state === STATE_FAILED) { + var err = test.err; + var diff = !base.hideDiff && base.showDiff(err) ? '\n' + base.generateDiff(err.actual, err.expected) : ''; + this.write(tag('testcase', attrs, false, tag('failure', {}, false, escape(err.message) + escape(diff) + '\n' + escape(err.stack)))); + } else if (test.isPending()) { + this.write(tag('testcase', attrs, false, tag('skipped', {}, true))); + } else { + this.write(tag('testcase', attrs, true)); + } + }; + /** + * HTML tag helper. + * + * @param name + * @param attrs + * @param close + * @param content + * @return {string} + */ + + + function tag(name, attrs, close, content) { + var end = close ? '/>' : '>'; + var pairs = []; + var tag; + + for (var key in attrs) { + if (Object.prototype.hasOwnProperty.call(attrs, key)) { + pairs.push(key + '="' + escape(attrs[key]) + '"'); + } + } + + tag = '<' + name + (pairs.length ? ' ' + pairs.join(' ') : '') + end; + + if (content) { + tag += content + '</' + name + end; + } + + return tag; + } + + XUnit.description = 'XUnit-compatible XML output'; + }); + + var markdown = createCommonjsModule(function (module, exports) { + /** + * @module Markdown + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_SUITE_BEGIN = constants.EVENT_SUITE_BEGIN; + var EVENT_SUITE_END = constants.EVENT_SUITE_END; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + /** + * Constants + */ + + var SUITE_PREFIX = '$'; + /** + * Expose `Markdown`. + */ + + module.exports = Markdown; + /** + * Constructs a new `Markdown` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function Markdown(runner, options) { + base.call(this, runner, options); + var level = 0; + var buf = ''; + + function title(str) { + return Array(level).join('#') + ' ' + str; + } + + function mapTOC(suite, obj) { + var ret = obj; + var key = SUITE_PREFIX + suite.title; + obj = obj[key] = obj[key] || { + suite: suite + }; + suite.suites.forEach(function (suite) { + mapTOC(suite, obj); + }); + return ret; + } + + function stringifyTOC(obj, level) { + ++level; + var buf = ''; + var link; + + for (var key in obj) { + if (key === 'suite') { + continue; + } + + if (key !== SUITE_PREFIX) { + link = ' - [' + key.substring(1) + ']'; + link += '(#' + utils.slug(obj[key].suite.fullTitle()) + ')\n'; + buf += Array(level).join(' ') + link; + } + + buf += stringifyTOC(obj[key], level); + } + + return buf; + } + + function generateTOC(suite) { + var obj = mapTOC(suite, {}); + return stringifyTOC(obj, 0); + } + + generateTOC(runner.suite); + runner.on(EVENT_SUITE_BEGIN, function (suite) { + ++level; + var slug = utils.slug(suite.fullTitle()); + buf += '<a name="' + slug + '"></a>' + '\n'; + buf += title(suite.title) + '\n'; + }); + runner.on(EVENT_SUITE_END, function () { + --level; + }); + runner.on(EVENT_TEST_PASS, function (test) { + var code = utils.clean(test.body); + buf += test.title + '.\n'; + buf += '\n```js\n'; + buf += code + '\n'; + buf += '```\n\n'; + }); + runner.once(EVENT_RUN_END, function () { + process$3.stdout.write('# TOC\n'); + process$3.stdout.write(generateTOC(runner.suite)); + process$3.stdout.write(buf); + }); + } + + Markdown.description = 'GitHub Flavored Markdown'; + }); + + var progress = createCommonjsModule(function (module, exports) { + /** + * @module Progress + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_TEST_END = constants.EVENT_TEST_END; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var inherits = utils.inherits; + var color = base.color; + var cursor = base.cursor; + /** + * Expose `Progress`. + */ + + module.exports = Progress; + /** + * General progress bar color. + */ + + base.colors.progress = 90; + /** + * Constructs a new `Progress` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function Progress(runner, options) { + base.call(this, runner, options); + var self = this; + var width = base.window.width * 0.5 | 0; + var total = runner.total; + var complete = 0; + var lastN = -1; // default chars + + options = options || {}; + var reporterOptions = options.reporterOptions || {}; + options.open = reporterOptions.open || '['; + options.complete = reporterOptions.complete || '▬'; + options.incomplete = reporterOptions.incomplete || base.symbols.dot; + options.close = reporterOptions.close || ']'; + options.verbose = reporterOptions.verbose || false; // tests started + + runner.on(EVENT_RUN_BEGIN, function () { + process$3.stdout.write('\n'); + cursor.hide(); + }); // tests complete + + runner.on(EVENT_TEST_END, function () { + complete++; + var percent = complete / total; + var n = width * percent | 0; + var i = width - n; + + if (n === lastN && !options.verbose) { + // Don't re-render the line if it hasn't changed + return; + } + + lastN = n; + cursor.CR(); + process$3.stdout.write("\x1B[J"); + process$3.stdout.write(color('progress', ' ' + options.open)); + process$3.stdout.write(Array(n).join(options.complete)); + process$3.stdout.write(Array(i).join(options.incomplete)); + process$3.stdout.write(color('progress', options.close)); + + if (options.verbose) { + process$3.stdout.write(color('progress', ' ' + complete + ' of ' + total)); + } + }); // tests are complete, output some stats + // and the failures if any + + runner.once(EVENT_RUN_END, function () { + cursor.show(); + process$3.stdout.write('\n'); + self.epilogue(); + }); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(Progress, base); + Progress.description = 'a progress bar'; + }); + + var landing = createCommonjsModule(function (module, exports) { + /** + * @module Landing + */ + + /** + * Module dependencies. + */ + + var inherits = utils.inherits; + var constants = runner.constants; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_TEST_END = constants.EVENT_TEST_END; + var STATE_FAILED = runnable.constants.STATE_FAILED; + var cursor = base.cursor; + var color = base.color; + /** + * Expose `Landing`. + */ + + module.exports = Landing; + /** + * Airplane color. + */ + + base.colors.plane = 0; + /** + * Airplane crash color. + */ + + base.colors['plane crash'] = 31; + /** + * Runway color. + */ + + base.colors.runway = 90; + /** + * Constructs a new `Landing` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function Landing(runner, options) { + base.call(this, runner, options); + var self = this; + var width = base.window.width * 0.75 | 0; + var stream = process$3.stdout; + var plane = color('plane', '✈'); + var crashed = -1; + var n = 0; + var total = 0; + + function runway() { + var buf = Array(width).join('-'); + return ' ' + color('runway', buf); + } + + runner.on(EVENT_RUN_BEGIN, function () { + stream.write('\n\n\n '); + cursor.hide(); + }); + runner.on(EVENT_TEST_END, function (test) { + // check if the plane crashed + var col = crashed === -1 ? width * ++n / ++total | 0 : crashed; // show the crash + + if (test.state === STATE_FAILED) { + plane = color('plane crash', '✈'); + crashed = col; + } // render landing strip + + + stream.write("\x1B[" + (width + 1) + "D\x1B[2A"); + stream.write(runway()); + stream.write('\n '); + stream.write(color('runway', Array(col).join('⋅'))); + stream.write(plane); + stream.write(color('runway', Array(width - col).join('⋅') + '\n')); + stream.write(runway()); + stream.write("\x1B[0m"); + }); + runner.once(EVENT_RUN_END, function () { + cursor.show(); + process$3.stdout.write('\n'); + self.epilogue(); + }); // if cursor is hidden when we ctrl-C, then it will remain hidden unless... + + process$3.once('SIGINT', function () { + cursor.show(); + nextTick$1(function () { + process$3.kill(process$3.pid, 'SIGINT'); + }); + }); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(Landing, base); + Landing.description = 'Unicode landing strip'; + }); + + var jsonStream = createCommonjsModule(function (module, exports) { + /** + * @module JSONStream + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_RUN_END = constants.EVENT_RUN_END; + /** + * Expose `JSONStream`. + */ + + module.exports = JSONStream; + /** + * Constructs a new `JSONStream` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function JSONStream(runner, options) { + base.call(this, runner, options); + var self = this; + var total = runner.total; + runner.once(EVENT_RUN_BEGIN, function () { + writeEvent(['start', { + total: total + }]); + }); + runner.on(EVENT_TEST_PASS, function (test) { + writeEvent(['pass', clean(test)]); + }); + runner.on(EVENT_TEST_FAIL, function (test, err) { + test = clean(test); + test.err = err.message; + test.stack = err.stack || null; + writeEvent(['fail', test]); + }); + runner.once(EVENT_RUN_END, function () { + writeEvent(['end', self.stats]); + }); + } + /** + * Mocha event to be written to the output stream. + * @typedef {Array} JSONStream~MochaEvent + */ + + /** + * Writes Mocha event to reporter output stream. + * + * @private + * @param {JSONStream~MochaEvent} event - Mocha event to be output. + */ + + + function writeEvent(event) { + process$3.stdout.write(JSON.stringify(event) + '\n'); + } + /** + * Returns an object literal representation of `test` + * free of cyclic properties, etc. + * + * @private + * @param {Test} test - Instance used as data source. + * @return {Object} object containing pared-down test instance data + */ + + + function clean(test) { + return { + title: test.title, + fullTitle: test.fullTitle(), + file: test.file, + duration: test.duration, + currentRetry: test.currentRetry(), + speed: test.speed + }; + } + + JSONStream.description = 'newline delimited JSON events'; + }); + + var reporters = createCommonjsModule(function (module, exports) { + // for dynamic (try/catch) requires, which Browserify doesn't handle. + + exports.Base = exports.base = base; + exports.Dot = exports.dot = dot; + exports.Doc = exports.doc = doc; + exports.TAP = exports.tap = tap; + exports.JSON = exports.json = json; + exports.HTML = exports.html = html; + exports.List = exports.list = list; + exports.Min = exports.min = min; + exports.Spec = exports.spec = spec; + exports.Nyan = exports.nyan = nyan; + exports.XUnit = exports.xunit = xunit; + exports.Markdown = exports.markdown = markdown; + exports.Progress = exports.progress = progress; + exports.Landing = exports.landing = landing; + exports.JSONStream = exports['json-stream'] = jsonStream; + }); + + var name = "mocha"; + var version = "9.0.2"; + var homepage = "https://mochajs.org/"; + var notifyLogo = "https://ibin.co/4QuRuGjXvl36.png"; + var _package = { + name: name, + version: version, + homepage: homepage, + notifyLogo: notifyLogo + }; + + var _package$1 = /*#__PURE__*/Object.freeze({ + __proto__: null, + name: name, + version: version, + homepage: homepage, + notifyLogo: notifyLogo, + 'default': _package + }); + + var require$$10 = getCjsExportFromNamespace(_package$1); + + /** + * Web Notifications module. + * @module Growl + */ + + /** + * Save timer references to avoid Sinon interfering (see GH-237). + */ + + + var Date$3 = commonjsGlobal.Date; + var setTimeout$2 = commonjsGlobal.setTimeout; + var EVENT_RUN_END$1 = runner.constants.EVENT_RUN_END; + var isBrowser = utils.isBrowser; + /** + * Checks if browser notification support exists. + * + * @public + * @see {@link https://caniuse.com/#feat=notifications|Browser support (notifications)} + * @see {@link https://caniuse.com/#feat=promises|Browser support (promises)} + * @see {@link Mocha#growl} + * @see {@link Mocha#isGrowlCapable} + * @return {boolean} whether browser notification support exists + */ + + var isCapable = function isCapable() { + var hasNotificationSupport = ('Notification' in window); + var hasPromiseSupport = typeof Promise === 'function'; + return isBrowser() && hasNotificationSupport && hasPromiseSupport; + }; + /** + * Implements browser notifications as a pseudo-reporter. + * + * @public + * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/notification|Notification API} + * @see {@link https://developers.google.com/web/fundamentals/push-notifications/display-a-notification|Displaying a Notification} + * @see {@link Growl#isPermitted} + * @see {@link Mocha#_growl} + * @param {Runner} runner - Runner instance. + */ + + + var notify = function notify(runner) { + var promise = isPermitted(); + /** + * Attempt notification. + */ + + var sendNotification = function sendNotification() { + // If user hasn't responded yet... "No notification for you!" (Seinfeld) + Promise.race([promise, Promise.resolve(undefined)]).then(canNotify).then(function () { + display(runner); + })["catch"](notPermitted); + }; + + runner.once(EVENT_RUN_END$1, sendNotification); + }; + /** + * Checks if browser notification is permitted by user. + * + * @private + * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Notification/permission|Notification.permission} + * @see {@link Mocha#growl} + * @see {@link Mocha#isGrowlPermitted} + * @returns {Promise<boolean>} promise determining if browser notification + * permissible when fulfilled. + */ + + + function isPermitted() { + var permitted = { + granted: function allow() { + return Promise.resolve(true); + }, + denied: function deny() { + return Promise.resolve(false); + }, + "default": function ask() { + return Notification.requestPermission().then(function (permission) { + return permission === 'granted'; + }); + } + }; + return permitted[Notification.permission](); + } + /** + * @summary + * Determines if notification should proceed. + * + * @description + * Notification shall <strong>not</strong> proceed unless `value` is true. + * + * `value` will equal one of: + * <ul> + * <li><code>true</code> (from `isPermitted`)</li> + * <li><code>false</code> (from `isPermitted`)</li> + * <li><code>undefined</code> (from `Promise.race`)</li> + * </ul> + * + * @private + * @param {boolean|undefined} value - Determines if notification permissible. + * @returns {Promise<undefined>} Notification can proceed + */ + + + function canNotify(value) { + if (!value) { + var why = value === false ? 'blocked' : 'unacknowledged'; + var reason = 'not permitted by user (' + why + ')'; + return Promise.reject(new Error(reason)); + } + + return Promise.resolve(); + } + /** + * Displays the notification. + * + * @private + * @param {Runner} runner - Runner instance. + */ + + + function display(runner) { + var stats = runner.stats; + var symbol = { + cross: "\u274C", + tick: "\u2705" + }; + var logo = require$$10.notifyLogo; + + var _message; + + var message; + var title; + + if (stats.failures) { + _message = stats.failures + ' of ' + stats.tests + ' tests failed'; + message = symbol.cross + ' ' + _message; + title = 'Failed'; + } else { + _message = stats.passes + ' tests passed in ' + stats.duration + 'ms'; + message = symbol.tick + ' ' + _message; + title = 'Passed'; + } // Send notification + + + var options = { + badge: logo, + body: message, + dir: 'ltr', + icon: logo, + lang: 'en-US', + name: 'mocha', + requireInteraction: false, + timestamp: Date$3.now() + }; + var notification = new Notification(title, options); // Autoclose after brief delay (makes various browsers act same) + + var FORCE_DURATION = 4000; + setTimeout$2(notification.close.bind(notification), FORCE_DURATION); + } + /** + * As notifications are tangential to our purpose, just log the error. + * + * @private + * @param {Error} err - Why notification didn't happen. + */ + + + function notPermitted(err) { + console.error('notification error:', err.message); + } + + var growl = { + isCapable: isCapable, + notify: notify + }; + + var diff = true; + var extension = [ + "js", + "cjs", + "mjs" + ]; + var reporter = "spec"; + var slow = 75; + var timeout = 2000; + var ui = "bdd"; + var mocharc$1 = { + diff: diff, + extension: extension, + "package": "./package.json", + reporter: reporter, + slow: slow, + timeout: timeout, + ui: ui, + "watch-ignore": [ + "node_modules", + ".git" + ] + }; + + var mocharc$2 = /*#__PURE__*/Object.freeze({ + __proto__: null, + diff: diff, + extension: extension, + reporter: reporter, + slow: slow, + timeout: timeout, + ui: ui, + 'default': mocharc$1 + }); + + /** + * Provides a factory function for a {@link StatsCollector} object. + * @module + */ + + + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_SUITE_BEGIN = constants.EVENT_SUITE_BEGIN; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_TEST_END = constants.EVENT_TEST_END; + /** + * Test statistics collector. + * + * @public + * @typedef {Object} StatsCollector + * @property {number} suites - integer count of suites run. + * @property {number} tests - integer count of tests run. + * @property {number} passes - integer count of passing tests. + * @property {number} pending - integer count of pending tests. + * @property {number} failures - integer count of failed tests. + * @property {Date} start - time when testing began. + * @property {Date} end - time when testing concluded. + * @property {number} duration - number of msecs that testing took. + */ + + var Date$2 = commonjsGlobal.Date; + /** + * Provides stats such as test duration, number of tests passed / failed etc., by listening for events emitted by `runner`. + * + * @private + * @param {Runner} runner - Runner instance + * @throws {TypeError} If falsy `runner` + */ + + function createStatsCollector(runner) { + /** + * @type StatsCollector + */ + var stats = { + suites: 0, + tests: 0, + passes: 0, + pending: 0, + failures: 0 + }; + + if (!runner) { + throw new TypeError('Missing runner argument'); + } + + runner.stats = stats; + runner.once(EVENT_RUN_BEGIN, function () { + stats.start = new Date$2(); + }); + runner.on(EVENT_SUITE_BEGIN, function (suite) { + suite.root || stats.suites++; + }); + runner.on(EVENT_TEST_PASS, function () { + stats.passes++; + }); + runner.on(EVENT_TEST_FAIL, function () { + stats.failures++; + }); + runner.on(EVENT_TEST_PENDING, function () { + stats.pending++; + }); + runner.on(EVENT_TEST_END, function () { + stats.tests++; + }); + runner.once(EVENT_RUN_END, function () { + stats.end = new Date$2(); + stats.duration = stats.end - stats.start; + }); + } + + var statsCollector = createStatsCollector; + + var createInvalidArgumentTypeError = errors.createInvalidArgumentTypeError; + var isString = utils.isString; + var MOCHA_ID_PROP_NAME = utils.constants.MOCHA_ID_PROP_NAME; + var test = Test; + /** + * Initialize a new `Test` with the given `title` and callback `fn`. + * + * @public + * @class + * @extends Runnable + * @param {String} title - Test title (required) + * @param {Function} [fn] - Test callback. If omitted, the Test is considered "pending" + */ + + function Test(title, fn) { + if (!isString(title)) { + throw createInvalidArgumentTypeError('Test argument "title" should be a string. Received type "' + _typeof(title) + '"', 'title', 'string'); + } + + this.type = 'test'; + runnable.call(this, title, fn); + this.reset(); + } + /** + * Inherit from `Runnable.prototype`. + */ + + + utils.inherits(Test, runnable); + /** + * Resets the state initially or for a next run. + */ + + Test.prototype.reset = function () { + runnable.prototype.reset.call(this); + this.pending = !this.fn; + delete this.state; + }; + /** + * Set or get retried test + * + * @private + */ + + + Test.prototype.retriedTest = function (n) { + if (!arguments.length) { + return this._retriedTest; + } + + this._retriedTest = n; + }; + /** + * Add test to the list of tests marked `only`. + * + * @private + */ + + + Test.prototype.markOnly = function () { + this.parent.appendOnlyTest(this); + }; + + Test.prototype.clone = function () { + var test = new Test(this.title, this.fn); + test.timeout(this.timeout()); + test.slow(this.slow()); + test.retries(this.retries()); + test.currentRetry(this.currentRetry()); + test.retriedTest(this.retriedTest() || this); + test.globals(this.globals()); + test.parent = this.parent; + test.file = this.file; + test.ctx = this.ctx; + return test; + }; + /** + * Returns an minimal object suitable for transmission over IPC. + * Functions are represented by keys beginning with `$$`. + * @private + * @returns {Object} + */ + + + Test.prototype.serialize = function serialize() { + return _defineProperty({ + $$currentRetry: this._currentRetry, + $$fullTitle: this.fullTitle(), + $$isPending: this.pending, + $$retriedTest: this._retriedTest || null, + $$slow: this._slow, + $$titlePath: this.titlePath(), + body: this.body, + duration: this.duration, + err: this.err, + parent: _defineProperty({ + $$fullTitle: this.parent.fullTitle() + }, MOCHA_ID_PROP_NAME, this.parent.id), + speed: this.speed, + state: this.state, + title: this.title, + type: this.type, + file: this.file + }, MOCHA_ID_PROP_NAME, this.id); + }; + + /** + @module interfaces/common + */ + + + var createMissingArgumentError = errors.createMissingArgumentError; + var createUnsupportedError = errors.createUnsupportedError; + var createForbiddenExclusivityError = errors.createForbiddenExclusivityError; + /** + * Functions common to more than one interface. + * + * @private + * @param {Suite[]} suites + * @param {Context} context + * @param {Mocha} mocha + * @return {Object} An object containing common functions. + */ + + var common = function common(suites, context, mocha) { + /** + * Check if the suite should be tested. + * + * @private + * @param {Suite} suite - suite to check + * @returns {boolean} + */ + function shouldBeTested(suite) { + return !mocha.options.grep || mocha.options.grep && mocha.options.grep.test(suite.fullTitle()) && !mocha.options.invert; + } + + return { + /** + * This is only present if flag --delay is passed into Mocha. It triggers + * root suite execution. + * + * @param {Suite} suite The root suite. + * @return {Function} A function which runs the root suite + */ + runWithSuite: function runWithSuite(suite) { + return function run() { + suite.run(); + }; + }, + + /** + * Execute before running tests. + * + * @param {string} name + * @param {Function} fn + */ + before: function before(name, fn) { + suites[0].beforeAll(name, fn); + }, + + /** + * Execute after running tests. + * + * @param {string} name + * @param {Function} fn + */ + after: function after(name, fn) { + suites[0].afterAll(name, fn); + }, + + /** + * Execute before each test case. + * + * @param {string} name + * @param {Function} fn + */ + beforeEach: function beforeEach(name, fn) { + suites[0].beforeEach(name, fn); + }, + + /** + * Execute after each test case. + * + * @param {string} name + * @param {Function} fn + */ + afterEach: function afterEach(name, fn) { + suites[0].afterEach(name, fn); + }, + suite: { + /** + * Create an exclusive Suite; convenience function + * See docstring for create() below. + * + * @param {Object} opts + * @returns {Suite} + */ + only: function only(opts) { + if (mocha.options.forbidOnly) { + throw createForbiddenExclusivityError(mocha); + } + + opts.isOnly = true; + return this.create(opts); + }, + + /** + * Create a Suite, but skip it; convenience function + * See docstring for create() below. + * + * @param {Object} opts + * @returns {Suite} + */ + skip: function skip(opts) { + opts.pending = true; + return this.create(opts); + }, + + /** + * Creates a suite. + * + * @param {Object} opts Options + * @param {string} opts.title Title of Suite + * @param {Function} [opts.fn] Suite Function (not always applicable) + * @param {boolean} [opts.pending] Is Suite pending? + * @param {string} [opts.file] Filepath where this Suite resides + * @param {boolean} [opts.isOnly] Is Suite exclusive? + * @returns {Suite} + */ + create: function create(opts) { + var suite$1 = suite.create(suites[0], opts.title); + suite$1.pending = Boolean(opts.pending); + suite$1.file = opts.file; + suites.unshift(suite$1); + + if (opts.isOnly) { + suite$1.markOnly(); + } + + if (suite$1.pending && mocha.options.forbidPending && shouldBeTested(suite$1)) { + throw createUnsupportedError('Pending test forbidden'); + } + + if (typeof opts.fn === 'function') { + opts.fn.call(suite$1); + suites.shift(); + } else if (typeof opts.fn === 'undefined' && !suite$1.pending) { + throw createMissingArgumentError('Suite "' + suite$1.fullTitle() + '" was defined but no callback was supplied. ' + 'Supply a callback or explicitly skip the suite.', 'callback', 'function'); + } else if (!opts.fn && suite$1.pending) { + suites.shift(); + } + + return suite$1; + } + }, + test: { + /** + * Exclusive test-case. + * + * @param {Object} mocha + * @param {Function} test + * @returns {*} + */ + only: function only(mocha, test) { + if (mocha.options.forbidOnly) { + throw createForbiddenExclusivityError(mocha); + } + + test.markOnly(); + return test; + }, + + /** + * Pending test case. + * + * @param {string} title + */ + skip: function skip(title) { + context.test(title); + } + } + }; + }; + + var EVENT_FILE_PRE_REQUIRE$2 = suite.constants.EVENT_FILE_PRE_REQUIRE; + /** + * BDD-style interface: + * + * describe('Array', function() { + * describe('#indexOf()', function() { + * it('should return -1 when not present', function() { + * // ... + * }); + * + * it('should return the index when present', function() { + * // ... + * }); + * }); + * }); + * + * @param {Suite} suite Root suite. + */ + + var bdd$1 = function bddInterface(suite) { + var suites = [suite]; + suite.on(EVENT_FILE_PRE_REQUIRE$2, function (context, file, mocha) { + var common$1 = common(suites, context, mocha); + context.before = common$1.before; + context.after = common$1.after; + context.beforeEach = common$1.beforeEach; + context.afterEach = common$1.afterEach; + context.run = mocha.options.delay && common$1.runWithSuite(suite); + /** + * Describe a "suite" with the given `title` + * and callback `fn` containing nested suites + * and/or tests. + */ + + context.describe = context.context = function (title, fn) { + return common$1.suite.create({ + title: title, + file: file, + fn: fn + }); + }; + /** + * Pending describe. + */ + + + context.xdescribe = context.xcontext = context.describe.skip = function (title, fn) { + return common$1.suite.skip({ + title: title, + file: file, + fn: fn + }); + }; + /** + * Exclusive suite. + */ + + + context.describe.only = function (title, fn) { + return common$1.suite.only({ + title: title, + file: file, + fn: fn + }); + }; + /** + * Describe a specification or test-case + * with the given `title` and callback `fn` + * acting as a thunk. + */ + + + context.it = context.specify = function (title, fn) { + var suite = suites[0]; + + if (suite.isPending()) { + fn = null; + } + + var test$1 = new test(title, fn); + test$1.file = file; + suite.addTest(test$1); + return test$1; + }; + /** + * Exclusive test-case. + */ + + + context.it.only = function (title, fn) { + return common$1.test.only(mocha, context.it(title, fn)); + }; + /** + * Pending test case. + */ + + + context.xit = context.xspecify = context.it.skip = function (title) { + return context.it(title); + }; + }); + }; + + var description$3 = 'BDD or RSpec style [default]'; + bdd$1.description = description$3; + + var EVENT_FILE_PRE_REQUIRE$1 = suite.constants.EVENT_FILE_PRE_REQUIRE; + /** + * TDD-style interface: + * + * suite('Array', function() { + * suite('#indexOf()', function() { + * suiteSetup(function() { + * + * }); + * + * test('should return -1 when not present', function() { + * + * }); + * + * test('should return the index when present', function() { + * + * }); + * + * suiteTeardown(function() { + * + * }); + * }); + * }); + * + * @param {Suite} suite Root suite. + */ + + var tdd$1 = function tdd(suite) { + var suites = [suite]; + suite.on(EVENT_FILE_PRE_REQUIRE$1, function (context, file, mocha) { + var common$1 = common(suites, context, mocha); + context.setup = common$1.beforeEach; + context.teardown = common$1.afterEach; + context.suiteSetup = common$1.before; + context.suiteTeardown = common$1.after; + context.run = mocha.options.delay && common$1.runWithSuite(suite); + /** + * Describe a "suite" with the given `title` and callback `fn` containing + * nested suites and/or tests. + */ + + context.suite = function (title, fn) { + return common$1.suite.create({ + title: title, + file: file, + fn: fn + }); + }; + /** + * Pending suite. + */ + + + context.suite.skip = function (title, fn) { + return common$1.suite.skip({ + title: title, + file: file, + fn: fn + }); + }; + /** + * Exclusive test-case. + */ + + + context.suite.only = function (title, fn) { + return common$1.suite.only({ + title: title, + file: file, + fn: fn + }); + }; + /** + * Describe a specification or test-case with the given `title` and + * callback `fn` acting as a thunk. + */ + + + context.test = function (title, fn) { + var suite = suites[0]; + + if (suite.isPending()) { + fn = null; + } + + var test$1 = new test(title, fn); + test$1.file = file; + suite.addTest(test$1); + return test$1; + }; + /** + * Exclusive test-case. + */ + + + context.test.only = function (title, fn) { + return common$1.test.only(mocha, context.test(title, fn)); + }; + + context.test.skip = common$1.test.skip; + }); + }; + + var description$2 = 'traditional "suite"/"test" instead of BDD\'s "describe"/"it"'; + tdd$1.description = description$2; + + var EVENT_FILE_PRE_REQUIRE = suite.constants.EVENT_FILE_PRE_REQUIRE; + /** + * QUnit-style interface: + * + * suite('Array'); + * + * test('#length', function() { + * var arr = [1,2,3]; + * ok(arr.length == 3); + * }); + * + * test('#indexOf()', function() { + * var arr = [1,2,3]; + * ok(arr.indexOf(1) == 0); + * ok(arr.indexOf(2) == 1); + * ok(arr.indexOf(3) == 2); + * }); + * + * suite('String'); + * + * test('#length', function() { + * ok('foo'.length == 3); + * }); + * + * @param {Suite} suite Root suite. + */ + + var qunit$1 = function qUnitInterface(suite) { + var suites = [suite]; + suite.on(EVENT_FILE_PRE_REQUIRE, function (context, file, mocha) { + var common$1 = common(suites, context, mocha); + context.before = common$1.before; + context.after = common$1.after; + context.beforeEach = common$1.beforeEach; + context.afterEach = common$1.afterEach; + context.run = mocha.options.delay && common$1.runWithSuite(suite); + /** + * Describe a "suite" with the given `title`. + */ + + context.suite = function (title) { + if (suites.length > 1) { + suites.shift(); + } + + return common$1.suite.create({ + title: title, + file: file, + fn: false + }); + }; + /** + * Exclusive Suite. + */ + + + context.suite.only = function (title) { + if (suites.length > 1) { + suites.shift(); + } + + return common$1.suite.only({ + title: title, + file: file, + fn: false + }); + }; + /** + * Describe a specification or test-case + * with the given `title` and callback `fn` + * acting as a thunk. + */ + + + context.test = function (title, fn) { + var test$1 = new test(title, fn); + test$1.file = file; + suites[0].addTest(test$1); + return test$1; + }; + /** + * Exclusive test-case. + */ + + + context.test.only = function (title, fn) { + return common$1.test.only(mocha, context.test(title, fn)); + }; + + context.test.skip = common$1.test.skip; + }); + }; + + var description$1 = 'QUnit style'; + qunit$1.description = description$1; + + /** + * Exports-style (as Node.js module) interface: + * + * exports.Array = { + * '#indexOf()': { + * 'should return -1 when the value is not present': function() { + * + * }, + * + * 'should return the correct index when the value is present': function() { + * + * } + * } + * }; + * + * @param {Suite} suite Root suite. + */ + + + var exports$2 = function exports(suite$1) { + var suites = [suite$1]; + suite$1.on(suite.constants.EVENT_FILE_REQUIRE, visit); + + function visit(obj, file) { + var suite$1; + + for (var key in obj) { + if (typeof obj[key] === 'function') { + var fn = obj[key]; + + switch (key) { + case 'before': + suites[0].beforeAll(fn); + break; + + case 'after': + suites[0].afterAll(fn); + break; + + case 'beforeEach': + suites[0].beforeEach(fn); + break; + + case 'afterEach': + suites[0].afterEach(fn); + break; + + default: + var test$1 = new test(key, fn); + test$1.file = file; + suites[0].addTest(test$1); + } + } else { + suite$1 = suite.create(suites[0], key); + suites.unshift(suite$1); + visit(obj[key], file); + suites.shift(); + } + } + } + }; + + var description = 'Node.js module ("exports") style'; + exports$2.description = description; + + var bdd = bdd$1; + var tdd = tdd$1; + var qunit = qunit$1; + var exports$1 = exports$2; + var interfaces = { + bdd: bdd, + tdd: tdd, + qunit: qunit, + exports: exports$1 + }; + + /** + * @module Context + */ + + /** + * Expose `Context`. + */ + + var context = Context; + /** + * Initialize a new `Context`. + * + * @private + */ + + function Context() {} + /** + * Set or get the context `Runnable` to `runnable`. + * + * @private + * @param {Runnable} runnable + * @return {Context} context + */ + + + Context.prototype.runnable = function (runnable) { + if (!arguments.length) { + return this._runnable; + } + + this.test = this._runnable = runnable; + return this; + }; + /** + * Set or get test timeout `ms`. + * + * @private + * @param {number} ms + * @return {Context} self + */ + + + Context.prototype.timeout = function (ms) { + if (!arguments.length) { + return this.runnable().timeout(); + } + + this.runnable().timeout(ms); + return this; + }; + /** + * Set or get test slowness threshold `ms`. + * + * @private + * @param {number} ms + * @return {Context} self + */ + + + Context.prototype.slow = function (ms) { + if (!arguments.length) { + return this.runnable().slow(); + } + + this.runnable().slow(ms); + return this; + }; + /** + * Mark a test as skipped. + * + * @private + * @throws Pending + */ + + + Context.prototype.skip = function () { + this.runnable().skip(); + }; + /** + * Set or get a number of allowed retries on failed tests + * + * @private + * @param {number} n + * @return {Context} self + */ + + + Context.prototype.retries = function (n) { + if (!arguments.length) { + return this.runnable().retries(); + } + + this.runnable().retries(n); + return this; + }; + + var mocharc = getCjsExportFromNamespace(mocharc$2); + + var mocha$1 = createCommonjsModule(function (module, exports) { + /*! + * mocha + * Copyright(c) 2011 TJ Holowaychuk <tj@vision-media.ca> + * MIT Licensed + */ + + var esmUtils = utils.supportsEsModules(true) ? require$$11 : undefined; + var warn = errors.warn, + createInvalidReporterError = errors.createInvalidReporterError, + createInvalidInterfaceError = errors.createInvalidInterfaceError, + createMochaInstanceAlreadyDisposedError = errors.createMochaInstanceAlreadyDisposedError, + createMochaInstanceAlreadyRunningError = errors.createMochaInstanceAlreadyRunningError, + createUnsupportedError = errors.createUnsupportedError; + var _Suite$constants = suite.constants, + EVENT_FILE_PRE_REQUIRE = _Suite$constants.EVENT_FILE_PRE_REQUIRE, + EVENT_FILE_POST_REQUIRE = _Suite$constants.EVENT_FILE_POST_REQUIRE, + EVENT_FILE_REQUIRE = _Suite$constants.EVENT_FILE_REQUIRE; + var debug = browser('mocha:mocha'); + exports = module.exports = Mocha; + /** + * A Mocha instance is a finite state machine. + * These are the states it can be in. + * @private + */ + + var mochaStates = utils.defineConstants({ + /** + * Initial state of the mocha instance + * @private + */ + INIT: 'init', + + /** + * Mocha instance is running tests + * @private + */ + RUNNING: 'running', + + /** + * Mocha instance is done running tests and references to test functions and hooks are cleaned. + * You can reset this state by unloading the test files. + * @private + */ + REFERENCES_CLEANED: 'referencesCleaned', + + /** + * Mocha instance is disposed and can no longer be used. + * @private + */ + DISPOSED: 'disposed' + }); + /** + * To require local UIs and reporters when running in node. + */ + + if (!utils.isBrowser() && typeof module.paths !== 'undefined') { + var cwd = utils.cwd(); + module.paths.push(cwd, path.join(cwd, 'node_modules')); + } + /** + * Expose internals. + * @private + */ + + + exports.utils = utils; + exports.interfaces = interfaces; + /** + * @public + * @memberof Mocha + */ + + exports.reporters = reporters; + exports.Runnable = runnable; + exports.Context = context; + /** + * + * @memberof Mocha + */ + + exports.Runner = runner; + exports.Suite = suite; + exports.Hook = hook; + exports.Test = test; + var currentContext; + + exports.afterEach = function () { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + return (currentContext.afterEach || currentContext.teardown).apply(this, args); + }; + + exports.after = function () { + for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { + args[_key2] = arguments[_key2]; + } + + return (currentContext.after || currentContext.suiteTeardown).apply(this, args); + }; + + exports.beforeEach = function () { + for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { + args[_key3] = arguments[_key3]; + } + + return (currentContext.beforeEach || currentContext.setup).apply(this, args); + }; + + exports.before = function () { + for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { + args[_key4] = arguments[_key4]; + } + + return (currentContext.before || currentContext.suiteSetup).apply(this, args); + }; + + exports.describe = function () { + for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) { + args[_key5] = arguments[_key5]; + } + + return (currentContext.describe || currentContext.suite).apply(this, args); + }; + + exports.describe.only = function () { + for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) { + args[_key6] = arguments[_key6]; + } + + return (currentContext.describe || currentContext.suite).only.apply(this, args); + }; + + exports.describe.skip = function () { + for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) { + args[_key7] = arguments[_key7]; + } + + return (currentContext.describe || currentContext.suite).skip.apply(this, args); + }; + + exports.it = function () { + for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) { + args[_key8] = arguments[_key8]; + } + + return (currentContext.it || currentContext.test).apply(this, args); + }; + + exports.it.only = function () { + for (var _len9 = arguments.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) { + args[_key9] = arguments[_key9]; + } + + return (currentContext.it || currentContext.test).only.apply(this, args); + }; + + exports.it.skip = function () { + for (var _len10 = arguments.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) { + args[_key10] = arguments[_key10]; + } + + return (currentContext.it || currentContext.test).skip.apply(this, args); + }; + + exports.xdescribe = exports.describe.skip; + exports.xit = exports.it.skip; + exports.setup = exports.beforeEach; + exports.suiteSetup = exports.before; + exports.suiteTeardown = exports.after; + exports.suite = exports.describe; + exports.teardown = exports.afterEach; + exports.test = exports.it; + + exports.run = function () { + for (var _len11 = arguments.length, args = new Array(_len11), _key11 = 0; _key11 < _len11; _key11++) { + args[_key11] = arguments[_key11]; + } + + return currentContext.run.apply(this, args); + }; + /** + * Constructs a new Mocha instance with `options`. + * + * @public + * @class Mocha + * @param {Object} [options] - Settings object. + * @param {boolean} [options.allowUncaught] - Propagate uncaught errors? + * @param {boolean} [options.asyncOnly] - Force `done` callback or promise? + * @param {boolean} [options.bail] - Bail after first test failure? + * @param {boolean} [options.checkLeaks] - Check for global variable leaks? + * @param {boolean} [options.color] - Color TTY output from reporter? + * @param {boolean} [options.delay] - Delay root suite execution? + * @param {boolean} [options.diff] - Show diff on failure? + * @param {boolean} [options.dryRun] - Report tests without running them? + * @param {string} [options.fgrep] - Test filter given string. + * @param {boolean} [options.forbidOnly] - Tests marked `only` fail the suite? + * @param {boolean} [options.forbidPending] - Pending tests fail the suite? + * @param {boolean} [options.fullTrace] - Full stacktrace upon failure? + * @param {string[]} [options.global] - Variables expected in global scope. + * @param {RegExp|string} [options.grep] - Test filter given regular expression. + * @param {boolean} [options.growl] - Enable desktop notifications? + * @param {boolean} [options.inlineDiffs] - Display inline diffs? + * @param {boolean} [options.invert] - Invert test filter matches? + * @param {boolean} [options.noHighlighting] - Disable syntax highlighting? + * @param {string|constructor} [options.reporter] - Reporter name or constructor. + * @param {Object} [options.reporterOption] - Reporter settings object. + * @param {number} [options.retries] - Number of times to retry failed tests. + * @param {number} [options.slow] - Slow threshold value. + * @param {number|string} [options.timeout] - Timeout threshold value. + * @param {string} [options.ui] - Interface name. + * @param {boolean} [options.parallel] - Run jobs in parallel. + * @param {number} [options.jobs] - Max number of worker processes for parallel runs. + * @param {MochaRootHookObject} [options.rootHooks] - Hooks to bootstrap the root suite with. + * @param {string[]} [options.require] - Pathname of `rootHooks` plugin for parallel runs. + * @param {boolean} [options.isWorker] - Should be `true` if `Mocha` process is running in a worker process. + */ + + + function Mocha() { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + options = _objectSpread2(_objectSpread2({}, mocharc), options); + this.files = []; + this.options = options; // root suite + + this.suite = new exports.Suite('', new exports.Context(), true); + this._cleanReferencesAfterRun = true; + this._state = mochaStates.INIT; + this.grep(options.grep).fgrep(options.fgrep).ui(options.ui).reporter(options.reporter, options.reporterOption || options.reporterOptions // for backwards compability + ).slow(options.slow).global(options.global); // this guard exists because Suite#timeout does not consider `undefined` to be valid input + + if (typeof options.timeout !== 'undefined') { + this.timeout(options.timeout === false ? 0 : options.timeout); + } + + if ('retries' in options) { + this.retries(options.retries); + } + + ['allowUncaught', 'asyncOnly', 'bail', 'checkLeaks', 'color', 'delay', 'diff', 'dryRun', 'forbidOnly', 'forbidPending', 'fullTrace', 'growl', 'inlineDiffs', 'invert'].forEach(function (opt) { + if (options[opt]) { + this[opt](); + } + }, this); + + if (options.rootHooks) { + this.rootHooks(options.rootHooks); + } + /** + * The class which we'll instantiate in {@link Mocha#run}. Defaults to + * {@link Runner} in serial mode; changes in parallel mode. + * @memberof Mocha + * @private + */ + + + this._runnerClass = exports.Runner; + /** + * Whether or not to call {@link Mocha#loadFiles} implicitly when calling + * {@link Mocha#run}. If this is `true`, then it's up to the consumer to call + * {@link Mocha#loadFiles} _or_ {@link Mocha#loadFilesAsync}. + * @private + * @memberof Mocha + */ + + this._lazyLoadFiles = false; + /** + * It's useful for a Mocha instance to know if it's running in a worker process. + * We could derive this via other means, but it's helpful to have a flag to refer to. + * @memberof Mocha + * @private + */ + + this.isWorker = Boolean(options.isWorker); + this.globalSetup(options.globalSetup).globalTeardown(options.globalTeardown).enableGlobalSetup(options.enableGlobalSetup).enableGlobalTeardown(options.enableGlobalTeardown); + + if (options.parallel && (typeof options.jobs === 'undefined' || options.jobs > 1)) { + debug('attempting to enable parallel mode'); + this.parallelMode(true); + } + } + /** + * Enables or disables bailing on the first failure. + * + * @public + * @see [CLI option](../#-bail-b) + * @param {boolean} [bail=true] - Whether to bail on first error. + * @returns {Mocha} this + * @chainable + */ + + + Mocha.prototype.bail = function (bail) { + this.suite.bail(bail !== false); + return this; + }; + /** + * @summary + * Adds `file` to be loaded for execution. + * + * @description + * Useful for generic setup code that must be included within test suite. + * + * @public + * @see [CLI option](../#-file-filedirectoryglob) + * @param {string} file - Pathname of file to be loaded. + * @returns {Mocha} this + * @chainable + */ + + + Mocha.prototype.addFile = function (file) { + this.files.push(file); + return this; + }; + /** + * Sets reporter to `reporter`, defaults to "spec". + * + * @public + * @see [CLI option](../#-reporter-name-r-name) + * @see [Reporters](../#reporters) + * @param {String|Function} reporterName - Reporter name or constructor. + * @param {Object} [reporterOptions] - Options used to configure the reporter. + * @returns {Mocha} this + * @chainable + * @throws {Error} if requested reporter cannot be loaded + * @example + * + * // Use XUnit reporter and direct its output to file + * mocha.reporter('xunit', { output: '/path/to/testspec.xunit.xml' }); + */ + + + Mocha.prototype.reporter = function (reporterName, reporterOptions) { + if (typeof reporterName === 'function') { + this._reporter = reporterName; + } else { + reporterName = reporterName || 'spec'; + var reporter; // Try to load a built-in reporter. + + if (reporters[reporterName]) { + reporter = reporters[reporterName]; + } // Try to load reporters from process.cwd() and node_modules + + + if (!reporter) { + try { + reporter = commonjsRequire(reporterName); + } catch (err) { + if (err.code === 'MODULE_NOT_FOUND') { + // Try to load reporters from a path (absolute or relative) + try { + reporter = commonjsRequire(path.resolve(utils.cwd(), reporterName)); + } catch (_err) { + _err.code === 'MODULE_NOT_FOUND' ? warn("'".concat(reporterName, "' reporter not found")) : warn("'".concat(reporterName, "' reporter blew up with error:\n ").concat(err.stack)); + } + } else { + warn("'".concat(reporterName, "' reporter blew up with error:\n ").concat(err.stack)); + } + } + } + + if (!reporter) { + throw createInvalidReporterError("invalid reporter '".concat(reporterName, "'"), reporterName); + } + + this._reporter = reporter; + } + + this.options.reporterOption = reporterOptions; // alias option name is used in public reporters xunit/tap/progress + + this.options.reporterOptions = reporterOptions; + return this; + }; + /** + * Sets test UI `name`, defaults to "bdd". + * + * @public + * @see [CLI option](../#-ui-name-u-name) + * @see [Interface DSLs](../#interfaces) + * @param {string|Function} [ui=bdd] - Interface name or class. + * @returns {Mocha} this + * @chainable + * @throws {Error} if requested interface cannot be loaded + */ + + + Mocha.prototype.ui = function (ui) { + var bindInterface; + + if (typeof ui === 'function') { + bindInterface = ui; + } else { + ui = ui || 'bdd'; + bindInterface = exports.interfaces[ui]; + + if (!bindInterface) { + try { + bindInterface = commonjsRequire(ui); + } catch (err) { + throw createInvalidInterfaceError("invalid interface '".concat(ui, "'"), ui); + } + } + } + + bindInterface(this.suite); + this.suite.on(EVENT_FILE_PRE_REQUIRE, function (context) { + currentContext = context; + }); + return this; + }; + /** + * Loads `files` prior to execution. Does not support ES Modules. + * + * @description + * The implementation relies on Node's `require` to execute + * the test interface functions and will be subject to its cache. + * Supports only CommonJS modules. To load ES modules, use Mocha#loadFilesAsync. + * + * @private + * @see {@link Mocha#addFile} + * @see {@link Mocha#run} + * @see {@link Mocha#unloadFiles} + * @see {@link Mocha#loadFilesAsync} + * @param {Function} [fn] - Callback invoked upon completion. + */ + + + Mocha.prototype.loadFiles = function (fn) { + var self = this; + var suite = this.suite; + this.files.forEach(function (file) { + file = path.resolve(file); + suite.emit(EVENT_FILE_PRE_REQUIRE, commonjsGlobal, file, self); + suite.emit(EVENT_FILE_REQUIRE, commonjsRequire(), file, self); + suite.emit(EVENT_FILE_POST_REQUIRE, commonjsGlobal, file, self); + }); + fn && fn(); + }; + /** + * Loads `files` prior to execution. Supports Node ES Modules. + * + * @description + * The implementation relies on Node's `require` and `import` to execute + * the test interface functions and will be subject to its cache. + * Supports both CJS and ESM modules. + * + * @public + * @see {@link Mocha#addFile} + * @see {@link Mocha#run} + * @see {@link Mocha#unloadFiles} + * @returns {Promise} + * @example + * + * // loads ESM (and CJS) test files asynchronously, then runs root suite + * mocha.loadFilesAsync() + * .then(() => mocha.run(failures => process.exitCode = failures ? 1 : 0)) + * .catch(() => process.exitCode = 1); + */ + + + Mocha.prototype.loadFilesAsync = function () { + var self = this; + var suite = this.suite; + this.lazyLoadFiles(true); + + if (!esmUtils) { + return new Promise(function (resolve) { + self.loadFiles(resolve); + }); + } + + return esmUtils.loadFilesAsync(this.files, function (file) { + suite.emit(EVENT_FILE_PRE_REQUIRE, commonjsGlobal, file, self); + }, function (file, resultModule) { + suite.emit(EVENT_FILE_REQUIRE, resultModule, file, self); + suite.emit(EVENT_FILE_POST_REQUIRE, commonjsGlobal, file, self); + }); + }; + /** + * Removes a previously loaded file from Node's `require` cache. + * + * @private + * @static + * @see {@link Mocha#unloadFiles} + * @param {string} file - Pathname of file to be unloaded. + */ + + + Mocha.unloadFile = function (file) { + if (utils.isBrowser()) { + throw createUnsupportedError('unloadFile() is only suported in a Node.js environment'); + } + + return require$$11.unloadFile(file); + }; + /** + * Unloads `files` from Node's `require` cache. + * + * @description + * This allows required files to be "freshly" reloaded, providing the ability + * to reuse a Mocha instance programmatically. + * Note: does not clear ESM module files from the cache + * + * <strong>Intended for consumers — not used internally</strong> + * + * @public + * @see {@link Mocha#run} + * @returns {Mocha} this + * @chainable + */ + + + Mocha.prototype.unloadFiles = function () { + if (this._state === mochaStates.DISPOSED) { + throw createMochaInstanceAlreadyDisposedError('Mocha instance is already disposed, it cannot be used again.', this._cleanReferencesAfterRun, this); + } + + this.files.forEach(function (file) { + Mocha.unloadFile(file); + }); + this._state = mochaStates.INIT; + return this; + }; + /** + * Sets `grep` filter after escaping RegExp special characters. + * + * @public + * @see {@link Mocha#grep} + * @param {string} str - Value to be converted to a regexp. + * @returns {Mocha} this + * @chainable + * @example + * + * // Select tests whose full title begins with `"foo"` followed by a period + * mocha.fgrep('foo.'); + */ + + + Mocha.prototype.fgrep = function (str) { + if (!str) { + return this; + } + + return this.grep(new RegExp(escapeStringRegexp(str))); + }; + /** + * @summary + * Sets `grep` filter used to select specific tests for execution. + * + * @description + * If `re` is a regexp-like string, it will be converted to regexp. + * The regexp is tested against the full title of each test (i.e., the + * name of the test preceded by titles of each its ancestral suites). + * As such, using an <em>exact-match</em> fixed pattern against the + * test name itself will not yield any matches. + * <br> + * <strong>Previous filter value will be overwritten on each call!</strong> + * + * @public + * @see [CLI option](../#-grep-regexp-g-regexp) + * @see {@link Mocha#fgrep} + * @see {@link Mocha#invert} + * @param {RegExp|String} re - Regular expression used to select tests. + * @return {Mocha} this + * @chainable + * @example + * + * // Select tests whose full title contains `"match"`, ignoring case + * mocha.grep(/match/i); + * @example + * + * // Same as above but with regexp-like string argument + * mocha.grep('/match/i'); + * @example + * + * // ## Anti-example + * // Given embedded test `it('only-this-test')`... + * mocha.grep('/^only-this-test$/'); // NO! Use `.only()` to do this! + */ + + + Mocha.prototype.grep = function (re) { + if (utils.isString(re)) { + // extract args if it's regex-like, i.e: [string, pattern, flag] + var arg = re.match(/^\/(.*)\/(g|i|)$|.*/); + this.options.grep = new RegExp(arg[1] || arg[0], arg[2]); + } else { + this.options.grep = re; + } + + return this; + }; + /** + * Inverts `grep` matches. + * + * @public + * @see {@link Mocha#grep} + * @return {Mocha} this + * @chainable + * @example + * + * // Select tests whose full title does *not* contain `"match"`, ignoring case + * mocha.grep(/match/i).invert(); + */ + + + Mocha.prototype.invert = function () { + this.options.invert = true; + return this; + }; + /** + * Enables or disables checking for global variables leaked while running tests. + * + * @public + * @see [CLI option](../#-check-leaks) + * @param {boolean} [checkLeaks=true] - Whether to check for global variable leaks. + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.checkLeaks = function (checkLeaks) { + this.options.checkLeaks = checkLeaks !== false; + return this; + }; + /** + * Enables or disables whether or not to dispose after each test run. + * Disable this to ensure you can run the test suite multiple times. + * If disabled, be sure to dispose mocha when you're done to prevent memory leaks. + * @public + * @see {@link Mocha#dispose} + * @param {boolean} cleanReferencesAfterRun + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.cleanReferencesAfterRun = function (cleanReferencesAfterRun) { + this._cleanReferencesAfterRun = cleanReferencesAfterRun !== false; + return this; + }; + /** + * Manually dispose this mocha instance. Mark this instance as `disposed` and unable to run more tests. + * It also removes function references to tests functions and hooks, so variables trapped in closures can be cleaned by the garbage collector. + * @public + */ + + + Mocha.prototype.dispose = function () { + if (this._state === mochaStates.RUNNING) { + throw createMochaInstanceAlreadyRunningError('Cannot dispose while the mocha instance is still running tests.'); + } + + this.unloadFiles(); + this._previousRunner && this._previousRunner.dispose(); + this.suite.dispose(); + this._state = mochaStates.DISPOSED; + }; + /** + * Displays full stack trace upon test failure. + * + * @public + * @see [CLI option](../#-full-trace) + * @param {boolean} [fullTrace=true] - Whether to print full stacktrace upon failure. + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.fullTrace = function (fullTrace) { + this.options.fullTrace = fullTrace !== false; + return this; + }; + /** + * Enables desktop notification support if prerequisite software installed. + * + * @public + * @see [CLI option](../#-growl-g) + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.growl = function () { + this.options.growl = this.isGrowlCapable(); + + if (!this.options.growl) { + var detail = utils.isBrowser() ? 'notification support not available in this browser...' : 'notification support prerequisites not installed...'; + console.error(detail + ' cannot enable!'); + } + + return this; + }; + /** + * @summary + * Determines if Growl support seems likely. + * + * @description + * <strong>Not available when run in browser.</strong> + * + * @private + * @see {@link Growl#isCapable} + * @see {@link Mocha#growl} + * @return {boolean} whether Growl support can be expected + */ + + + Mocha.prototype.isGrowlCapable = growl.isCapable; + /** + * Implements desktop notifications using a pseudo-reporter. + * + * @private + * @see {@link Mocha#growl} + * @see {@link Growl#notify} + * @param {Runner} runner - Runner instance. + */ + + Mocha.prototype._growl = growl.notify; + /** + * Specifies whitelist of variable names to be expected in global scope. + * + * @public + * @see [CLI option](../#-global-variable-name) + * @see {@link Mocha#checkLeaks} + * @param {String[]|String} global - Accepted global variable name(s). + * @return {Mocha} this + * @chainable + * @example + * + * // Specify variables to be expected in global scope + * mocha.global(['jQuery', 'MyLib']); + */ + + Mocha.prototype.global = function (global) { + this.options.global = (this.options.global || []).concat(global).filter(Boolean).filter(function (elt, idx, arr) { + return arr.indexOf(elt) === idx; + }); + return this; + }; // for backwards compability, 'globals' is an alias of 'global' + + + Mocha.prototype.globals = Mocha.prototype.global; + /** + * Enables or disables TTY color output by screen-oriented reporters. + * + * @public + * @see [CLI option](../#-color-c-colors) + * @param {boolean} [color=true] - Whether to enable color output. + * @return {Mocha} this + * @chainable + */ + + Mocha.prototype.color = function (color) { + this.options.color = color !== false; + return this; + }; + /** + * Enables or disables reporter to use inline diffs (rather than +/-) + * in test failure output. + * + * @public + * @see [CLI option](../#-inline-diffs) + * @param {boolean} [inlineDiffs=true] - Whether to use inline diffs. + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.inlineDiffs = function (inlineDiffs) { + this.options.inlineDiffs = inlineDiffs !== false; + return this; + }; + /** + * Enables or disables reporter to include diff in test failure output. + * + * @public + * @see [CLI option](../#-diff) + * @param {boolean} [diff=true] - Whether to show diff on failure. + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.diff = function (diff) { + this.options.diff = diff !== false; + return this; + }; + /** + * Enables or disables running tests in dry-run mode. + * + * @public + * @see [CLI option](../#-dry-run) + * @param {boolean} [dryRun=true] - Whether to activate dry-run mode. + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.dryRun = function (dryRun) { + this.options.dryRun = dryRun !== false; + return this; + }; + /** + * @summary + * Sets timeout threshold value. + * + * @description + * A string argument can use shorthand (such as "2s") and will be converted. + * If the value is `0`, timeouts will be disabled. + * + * @public + * @see [CLI option](../#-timeout-ms-t-ms) + * @see [Timeouts](../#timeouts) + * @param {number|string} msecs - Timeout threshold value. + * @return {Mocha} this + * @chainable + * @example + * + * // Sets timeout to one second + * mocha.timeout(1000); + * @example + * + * // Same as above but using string argument + * mocha.timeout('1s'); + */ + + + Mocha.prototype.timeout = function (msecs) { + this.suite.timeout(msecs); + return this; + }; + /** + * Sets the number of times to retry failed tests. + * + * @public + * @see [CLI option](../#-retries-n) + * @see [Retry Tests](../#retry-tests) + * @param {number} retry - Number of times to retry failed tests. + * @return {Mocha} this + * @chainable + * @example + * + * // Allow any failed test to retry one more time + * mocha.retries(1); + */ + + + Mocha.prototype.retries = function (retry) { + this.suite.retries(retry); + return this; + }; + /** + * Sets slowness threshold value. + * + * @public + * @see [CLI option](../#-slow-ms-s-ms) + * @param {number} msecs - Slowness threshold value. + * @return {Mocha} this + * @chainable + * @example + * + * // Sets "slow" threshold to half a second + * mocha.slow(500); + * @example + * + * // Same as above but using string argument + * mocha.slow('0.5s'); + */ + + + Mocha.prototype.slow = function (msecs) { + this.suite.slow(msecs); + return this; + }; + /** + * Forces all tests to either accept a `done` callback or return a promise. + * + * @public + * @see [CLI option](../#-async-only-a) + * @param {boolean} [asyncOnly=true] - Whether to force `done` callback or promise. + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.asyncOnly = function (asyncOnly) { + this.options.asyncOnly = asyncOnly !== false; + return this; + }; + /** + * Disables syntax highlighting (in browser). + * + * @public + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.noHighlighting = function () { + this.options.noHighlighting = true; + return this; + }; + /** + * Enables or disables uncaught errors to propagate. + * + * @public + * @see [CLI option](../#-allow-uncaught) + * @param {boolean} [allowUncaught=true] - Whether to propagate uncaught errors. + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.allowUncaught = function (allowUncaught) { + this.options.allowUncaught = allowUncaught !== false; + return this; + }; + /** + * @summary + * Delays root suite execution. + * + * @description + * Used to perform async operations before any suites are run. + * + * @public + * @see [delayed root suite](../#delayed-root-suite) + * @returns {Mocha} this + * @chainable + */ + + + Mocha.prototype.delay = function delay() { + this.options.delay = true; + return this; + }; + /** + * Causes tests marked `only` to fail the suite. + * + * @public + * @see [CLI option](../#-forbid-only) + * @param {boolean} [forbidOnly=true] - Whether tests marked `only` fail the suite. + * @returns {Mocha} this + * @chainable + */ + + + Mocha.prototype.forbidOnly = function (forbidOnly) { + this.options.forbidOnly = forbidOnly !== false; + return this; + }; + /** + * Causes pending tests and tests marked `skip` to fail the suite. + * + * @public + * @see [CLI option](../#-forbid-pending) + * @param {boolean} [forbidPending=true] - Whether pending tests fail the suite. + * @returns {Mocha} this + * @chainable + */ + + + Mocha.prototype.forbidPending = function (forbidPending) { + this.options.forbidPending = forbidPending !== false; + return this; + }; + /** + * Throws an error if mocha is in the wrong state to be able to transition to a "running" state. + * @private + */ + + + Mocha.prototype._guardRunningStateTransition = function () { + if (this._state === mochaStates.RUNNING) { + throw createMochaInstanceAlreadyRunningError('Mocha instance is currently running tests, cannot start a next test run until this one is done', this); + } + + if (this._state === mochaStates.DISPOSED || this._state === mochaStates.REFERENCES_CLEANED) { + throw createMochaInstanceAlreadyDisposedError('Mocha instance is already disposed, cannot start a new test run. Please create a new mocha instance. Be sure to set disable `cleanReferencesAfterRun` when you want to reuse the same mocha instance for multiple test runs.', this._cleanReferencesAfterRun, this); + } + }; + /** + * Mocha version as specified by "package.json". + * + * @name Mocha#version + * @type string + * @readonly + */ + + + Object.defineProperty(Mocha.prototype, 'version', { + value: require$$10.version, + configurable: false, + enumerable: true, + writable: false + }); + /** + * Callback to be invoked when test execution is complete. + * + * @private + * @callback DoneCB + * @param {number} failures - Number of failures that occurred. + */ + + /** + * Runs root suite and invokes `fn()` when complete. + * + * @description + * To run tests multiple times (or to run tests in files that are + * already in the `require` cache), make sure to clear them from + * the cache first! + * + * @public + * @see {@link Mocha#unloadFiles} + * @see {@link Runner#run} + * @param {DoneCB} [fn] - Callback invoked when test execution completed. + * @returns {Runner} runner instance + * @example + * + * // exit with non-zero status if there were test failures + * mocha.run(failures => process.exitCode = failures ? 1 : 0); + */ + + Mocha.prototype.run = function (fn) { + var _this = this; + + this._guardRunningStateTransition(); + + this._state = mochaStates.RUNNING; + + if (this._previousRunner) { + this._previousRunner.dispose(); + + this.suite.reset(); + } + + if (this.files.length && !this._lazyLoadFiles) { + this.loadFiles(); + } + + var suite = this.suite; + var options = this.options; + options.files = this.files; + var runner = new this._runnerClass(suite, { + delay: options.delay, + dryRun: options.dryRun, + cleanReferencesAfterRun: this._cleanReferencesAfterRun + }); + statsCollector(runner); + var reporter = new this._reporter(runner, options); + runner.checkLeaks = options.checkLeaks === true; + runner.fullStackTrace = options.fullTrace; + runner.asyncOnly = options.asyncOnly; + runner.allowUncaught = options.allowUncaught; + runner.forbidOnly = options.forbidOnly; + runner.forbidPending = options.forbidPending; + + if (options.grep) { + runner.grep(options.grep, options.invert); + } + + if (options.global) { + runner.globals(options.global); + } + + if (options.growl) { + this._growl(runner); + } + + if (options.color !== undefined) { + exports.reporters.Base.useColors = options.color; + } + + exports.reporters.Base.inlineDiffs = options.inlineDiffs; + exports.reporters.Base.hideDiff = !options.diff; + + var done = function done(failures) { + _this._previousRunner = runner; + _this._state = _this._cleanReferencesAfterRun ? mochaStates.REFERENCES_CLEANED : mochaStates.INIT; + fn = fn || utils.noop; + + if (typeof reporter.done === 'function') { + reporter.done(failures, fn); + } else { + fn(failures); + } + }; + + var runAsync = /*#__PURE__*/function () { + var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(runner) { + var context, failureCount; + return regeneratorRuntime.wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + if (!(_this.options.enableGlobalSetup && _this.hasGlobalSetupFixtures())) { + _context.next = 6; + break; + } + + _context.next = 3; + return _this.runGlobalSetup(runner); + + case 3: + _context.t0 = _context.sent; + _context.next = 7; + break; + + case 6: + _context.t0 = {}; + + case 7: + context = _context.t0; + _context.next = 10; + return runner.runAsync({ + files: _this.files, + options: options + }); + + case 10: + failureCount = _context.sent; + + if (!(_this.options.enableGlobalTeardown && _this.hasGlobalTeardownFixtures())) { + _context.next = 14; + break; + } + + _context.next = 14; + return _this.runGlobalTeardown(runner, { + context: context + }); + + case 14: + return _context.abrupt("return", failureCount); + + case 15: + case "end": + return _context.stop(); + } + } + }, _callee); + })); + + return function runAsync(_x) { + return _ref.apply(this, arguments); + }; + }(); // no "catch" here is intentional. errors coming out of + // Runner#run are considered uncaught/unhandled and caught + // by the `process` event listeners. + // also: returning anything other than `runner` would be a breaking + // change + + + runAsync(runner).then(done); + return runner; + }; + /** + * Assigns hooks to the root suite + * @param {MochaRootHookObject} [hooks] - Hooks to assign to root suite + * @chainable + */ + + + Mocha.prototype.rootHooks = function rootHooks() { + var _this2 = this; + + var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + _ref2$beforeAll = _ref2.beforeAll, + beforeAll = _ref2$beforeAll === void 0 ? [] : _ref2$beforeAll, + _ref2$beforeEach = _ref2.beforeEach, + beforeEach = _ref2$beforeEach === void 0 ? [] : _ref2$beforeEach, + _ref2$afterAll = _ref2.afterAll, + afterAll = _ref2$afterAll === void 0 ? [] : _ref2$afterAll, + _ref2$afterEach = _ref2.afterEach, + afterEach = _ref2$afterEach === void 0 ? [] : _ref2$afterEach; + + beforeAll = utils.castArray(beforeAll); + beforeEach = utils.castArray(beforeEach); + afterAll = utils.castArray(afterAll); + afterEach = utils.castArray(afterEach); + beforeAll.forEach(function (hook) { + _this2.suite.beforeAll(hook); + }); + beforeEach.forEach(function (hook) { + _this2.suite.beforeEach(hook); + }); + afterAll.forEach(function (hook) { + _this2.suite.afterAll(hook); + }); + afterEach.forEach(function (hook) { + _this2.suite.afterEach(hook); + }); + return this; + }; + /** + * Toggles parallel mode. + * + * Must be run before calling {@link Mocha#run}. Changes the `Runner` class to + * use; also enables lazy file loading if not already done so. + * + * Warning: when passed `false` and lazy loading has been enabled _via any means_ (including calling `parallelMode(true)`), this method will _not_ disable lazy loading. Lazy loading is a prerequisite for parallel + * mode, but parallel mode is _not_ a prerequisite for lazy loading! + * @param {boolean} [enable] - If `true`, enable; otherwise disable. + * @throws If run in browser + * @throws If Mocha not in `INIT` state + * @returns {Mocha} + * @chainable + * @public + */ + + + Mocha.prototype.parallelMode = function parallelMode() { + var enable = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + + if (utils.isBrowser()) { + throw createUnsupportedError('parallel mode is only supported in Node.js'); + } + + var parallel = Boolean(enable); + + if (parallel === this.options.parallel && this._lazyLoadFiles && this._runnerClass !== exports.Runner) { + return this; + } + + if (this._state !== mochaStates.INIT) { + throw createUnsupportedError('cannot change parallel mode after having called run()'); + } + + this.options.parallel = parallel; // swap Runner class + + this._runnerClass = parallel ? require$$11 : exports.Runner; // lazyLoadFiles may have been set `true` otherwise (for ESM loading), + // so keep `true` if so. + + return this.lazyLoadFiles(this._lazyLoadFiles || parallel); + }; + /** + * Disables implicit call to {@link Mocha#loadFiles} in {@link Mocha#run}. This + * setting is used by watch mode, parallel mode, and for loading ESM files. + * @todo This should throw if we've already loaded files; such behavior + * necessitates adding a new state. + * @param {boolean} [enable] - If `true`, disable eager loading of files in + * {@link Mocha#run} + * @chainable + * @public + */ + + + Mocha.prototype.lazyLoadFiles = function lazyLoadFiles(enable) { + this._lazyLoadFiles = enable === true; + debug('set lazy load to %s', enable); + return this; + }; + /** + * Configures one or more global setup fixtures. + * + * If given no parameters, _unsets_ any previously-set fixtures. + * @chainable + * @public + * @param {MochaGlobalFixture|MochaGlobalFixture[]} [setupFns] - Global setup fixture(s) + * @returns {Mocha} + */ + + + Mocha.prototype.globalSetup = function globalSetup() { + var setupFns = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + setupFns = utils.castArray(setupFns); + this.options.globalSetup = setupFns; + debug('configured %d global setup functions', setupFns.length); + return this; + }; + /** + * Configures one or more global teardown fixtures. + * + * If given no parameters, _unsets_ any previously-set fixtures. + * @chainable + * @public + * @param {MochaGlobalFixture|MochaGlobalFixture[]} [teardownFns] - Global teardown fixture(s) + * @returns {Mocha} + */ + + + Mocha.prototype.globalTeardown = function globalTeardown() { + var teardownFns = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + teardownFns = utils.castArray(teardownFns); + this.options.globalTeardown = teardownFns; + debug('configured %d global teardown functions', teardownFns.length); + return this; + }; + /** + * Run any global setup fixtures sequentially, if any. + * + * This is _automatically called_ by {@link Mocha#run} _unless_ the `runGlobalSetup` option is `false`; see {@link Mocha#enableGlobalSetup}. + * + * The context object this function resolves with should be consumed by {@link Mocha#runGlobalTeardown}. + * @param {object} [context] - Context object if already have one + * @public + * @returns {Promise<object>} Context object + */ + + + Mocha.prototype.runGlobalSetup = /*#__PURE__*/function () { + var _runGlobalSetup = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { + var context, + globalSetup, + _args2 = arguments; + return regeneratorRuntime.wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + context = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}; + globalSetup = this.options.globalSetup; + + if (!(globalSetup && globalSetup.length)) { + _context2.next = 7; + break; + } + + debug('run(): global setup starting'); + _context2.next = 6; + return this._runGlobalFixtures(globalSetup, context); + + case 6: + debug('run(): global setup complete'); + + case 7: + return _context2.abrupt("return", context); + + case 8: + case "end": + return _context2.stop(); + } + } + }, _callee2, this); + })); + + function runGlobalSetup() { + return _runGlobalSetup.apply(this, arguments); + } + + return runGlobalSetup; + }(); + /** + * Run any global teardown fixtures sequentially, if any. + * + * This is _automatically called_ by {@link Mocha#run} _unless_ the `runGlobalTeardown` option is `false`; see {@link Mocha#enableGlobalTeardown}. + * + * Should be called with context object returned by {@link Mocha#runGlobalSetup}, if applicable. + * @param {object} [context] - Context object if already have one + * @public + * @returns {Promise<object>} Context object + */ + + + Mocha.prototype.runGlobalTeardown = /*#__PURE__*/function () { + var _runGlobalTeardown = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() { + var context, + globalTeardown, + _args3 = arguments; + return regeneratorRuntime.wrap(function _callee3$(_context3) { + while (1) { + switch (_context3.prev = _context3.next) { + case 0: + context = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {}; + globalTeardown = this.options.globalTeardown; + + if (!(globalTeardown && globalTeardown.length)) { + _context3.next = 6; + break; + } + + debug('run(): global teardown starting'); + _context3.next = 6; + return this._runGlobalFixtures(globalTeardown, context); + + case 6: + debug('run(): global teardown complete'); + return _context3.abrupt("return", context); + + case 8: + case "end": + return _context3.stop(); + } + } + }, _callee3, this); + })); + + function runGlobalTeardown() { + return _runGlobalTeardown.apply(this, arguments); + } + + return runGlobalTeardown; + }(); + /** + * Run global fixtures sequentially with context `context` + * @private + * @param {MochaGlobalFixture[]} [fixtureFns] - Fixtures to run + * @param {object} [context] - context object + * @returns {Promise<object>} context object + */ + + + Mocha.prototype._runGlobalFixtures = /*#__PURE__*/function () { + var _runGlobalFixtures2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() { + var fixtureFns, + context, + _iteratorNormalCompletion, + _didIteratorError, + _iteratorError, + _iterator, + _step, + _value, + fixtureFn, + _args4 = arguments; + + return regeneratorRuntime.wrap(function _callee4$(_context4) { + while (1) { + switch (_context4.prev = _context4.next) { + case 0: + fixtureFns = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : []; + context = _args4.length > 1 && _args4[1] !== undefined ? _args4[1] : {}; + _iteratorNormalCompletion = true; + _didIteratorError = false; + _context4.prev = 4; + _iterator = _asyncIterator(fixtureFns); + + case 6: + _context4.next = 8; + return _iterator.next(); + + case 8: + _step = _context4.sent; + _iteratorNormalCompletion = _step.done; + _context4.next = 12; + return _step.value; + + case 12: + _value = _context4.sent; + + if (_iteratorNormalCompletion) { + _context4.next = 20; + break; + } + + fixtureFn = _value; + _context4.next = 17; + return fixtureFn.call(context); + + case 17: + _iteratorNormalCompletion = true; + _context4.next = 6; + break; + + case 20: + _context4.next = 26; + break; + + case 22: + _context4.prev = 22; + _context4.t0 = _context4["catch"](4); + _didIteratorError = true; + _iteratorError = _context4.t0; + + case 26: + _context4.prev = 26; + _context4.prev = 27; + + if (!(!_iteratorNormalCompletion && _iterator["return"] != null)) { + _context4.next = 31; + break; + } + + _context4.next = 31; + return _iterator["return"](); + + case 31: + _context4.prev = 31; + + if (!_didIteratorError) { + _context4.next = 34; + break; + } + + throw _iteratorError; + + case 34: + return _context4.finish(31); + + case 35: + return _context4.finish(26); + + case 36: + return _context4.abrupt("return", context); + + case 37: + case "end": + return _context4.stop(); + } + } + }, _callee4, null, [[4, 22, 26, 36], [27,, 31, 35]]); + })); + + function _runGlobalFixtures() { + return _runGlobalFixtures2.apply(this, arguments); + } + + return _runGlobalFixtures; + }(); + /** + * Toggle execution of any global setup fixture(s) + * + * @chainable + * @public + * @param {boolean } [enabled=true] - If `false`, do not run global setup fixture + * @returns {Mocha} + */ + + + Mocha.prototype.enableGlobalSetup = function enableGlobalSetup() { + var enabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + this.options.enableGlobalSetup = Boolean(enabled); + return this; + }; + /** + * Toggle execution of any global teardown fixture(s) + * + * @chainable + * @public + * @param {boolean } [enabled=true] - If `false`, do not run global teardown fixture + * @returns {Mocha} + */ + + + Mocha.prototype.enableGlobalTeardown = function enableGlobalTeardown() { + var enabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + this.options.enableGlobalTeardown = Boolean(enabled); + return this; + }; + /** + * Returns `true` if one or more global setup fixtures have been supplied. + * @public + * @returns {boolean} + */ + + + Mocha.prototype.hasGlobalSetupFixtures = function hasGlobalSetupFixtures() { + return Boolean(this.options.globalSetup.length); + }; + /** + * Returns `true` if one or more global teardown fixtures have been supplied. + * @public + * @returns {boolean} + */ + + + Mocha.prototype.hasGlobalTeardownFixtures = function hasGlobalTeardownFixtures() { + return Boolean(this.options.globalTeardown.length); + }; + /** + * An alternative way to define root hooks that works with parallel runs. + * @typedef {Object} MochaRootHookObject + * @property {Function|Function[]} [beforeAll] - "Before all" hook(s) + * @property {Function|Function[]} [beforeEach] - "Before each" hook(s) + * @property {Function|Function[]} [afterAll] - "After all" hook(s) + * @property {Function|Function[]} [afterEach] - "After each" hook(s) + */ + + /** + * An function that returns a {@link MochaRootHookObject}, either sync or async. + @callback MochaRootHookFunction + * @returns {MochaRootHookObject|Promise<MochaRootHookObject>} + */ + + /** + * A function that's invoked _once_ which is either sync or async. + * Can be a "teardown" or "setup". These will all share the same context. + * @callback MochaGlobalFixture + * @returns {void|Promise<void>} + */ + + /** + * An object making up all necessary parts of a plugin loader and aggregator + * @typedef {Object} PluginDefinition + * @property {string} exportName - Named export to use + * @property {string} [optionName] - Option name for Mocha constructor (use `exportName` if omitted) + * @property {PluginValidator} [validate] - Validator function + * @property {PluginFinalizer} [finalize] - Finalizer/aggregator function + */ + + /** + * A (sync) function to assert a user-supplied plugin implementation is valid. + * + * Defined in a {@link PluginDefinition}. + + * @callback PluginValidator + * @param {*} value - Value to check + * @this {PluginDefinition} + * @returns {void} + */ + + /** + * A function to finalize plugins impls of a particular ilk + * @callback PluginFinalizer + * @param {Array<*>} impls - User-supplied implementations + * @returns {Promise<*>|*} + */ + + }); + + /* eslint no-unused-vars: off */ + + /* eslint-env commonjs */ + + /** + * Shim process.stdout. + */ + + + process$3.stdout = browserStdout({ + label: false + }); + /** + * Create a Mocha instance. + * + * @return {undefined} + */ + + var mocha = new mocha$1({ + reporter: 'html' + }); + /** + * Save timer references to avoid Sinon interfering (see GH-237). + */ + + var Date$1 = commonjsGlobal.Date; + var setTimeout$1 = commonjsGlobal.setTimeout; + commonjsGlobal.setInterval; + commonjsGlobal.clearTimeout; + commonjsGlobal.clearInterval; + var uncaughtExceptionHandlers = []; + var originalOnerrorHandler = commonjsGlobal.onerror; + /** + * Remove uncaughtException listener. + * Revert to original onerror handler if previously defined. + */ + + process$3.removeListener = function (e, fn) { + if (e === 'uncaughtException') { + if (originalOnerrorHandler) { + commonjsGlobal.onerror = originalOnerrorHandler; + } else { + commonjsGlobal.onerror = function () {}; + } + + var i = uncaughtExceptionHandlers.indexOf(fn); + + if (i !== -1) { + uncaughtExceptionHandlers.splice(i, 1); + } + } + }; + /** + * Implements listenerCount for 'uncaughtException'. + */ + + + process$3.listenerCount = function (name) { + if (name === 'uncaughtException') { + return uncaughtExceptionHandlers.length; + } + + return 0; + }; + /** + * Implements uncaughtException listener. + */ + + + process$3.on = function (e, fn) { + if (e === 'uncaughtException') { + commonjsGlobal.onerror = function (err, url, line) { + fn(new Error(err + ' (' + url + ':' + line + ')')); + return !mocha.options.allowUncaught; + }; + + uncaughtExceptionHandlers.push(fn); + } + }; + + process$3.listeners = function (e) { + if (e === 'uncaughtException') { + return uncaughtExceptionHandlers; + } + + return []; + }; // The BDD UI is registered by default, but no UI will be functional in the + // browser without an explicit call to the overridden `mocha.ui` (see below). + // Ensure that this default UI does not expose its methods to the global scope. + + + mocha.suite.removeAllListeners('pre-require'); + var immediateQueue = []; + var immediateTimeout; + + function timeslice() { + var immediateStart = new Date$1().getTime(); + + while (immediateQueue.length && new Date$1().getTime() - immediateStart < 100) { + immediateQueue.shift()(); + } + + if (immediateQueue.length) { + immediateTimeout = setTimeout$1(timeslice, 0); + } else { + immediateTimeout = null; + } + } + /** + * High-performance override of Runner.immediately. + */ + + + mocha$1.Runner.immediately = function (callback) { + immediateQueue.push(callback); + + if (!immediateTimeout) { + immediateTimeout = setTimeout$1(timeslice, 0); + } + }; + /** + * Function to allow assertion libraries to throw errors directly into mocha. + * This is useful when running tests in a browser because window.onerror will + * only receive the 'message' attribute of the Error. + */ + + + mocha.throwError = function (err) { + uncaughtExceptionHandlers.forEach(function (fn) { + fn(err); + }); + throw err; + }; + /** + * Override ui to ensure that the ui functions are initialized. + * Normally this would happen in Mocha.prototype.loadFiles. + */ + + + mocha.ui = function (ui) { + mocha$1.prototype.ui.call(this, ui); + this.suite.emit('pre-require', commonjsGlobal, null, this); + return this; + }; + /** + * Setup mocha with the given setting options. + */ + + + mocha.setup = function (opts) { + if (typeof opts === 'string') { + opts = { + ui: opts + }; + } + + if (opts.delay === true) { + this.delay(); + } + + var self = this; + Object.keys(opts).filter(function (opt) { + return opt !== 'delay'; + }).forEach(function (opt) { + if (Object.prototype.hasOwnProperty.call(opts, opt)) { + self[opt](opts[opt]); + } + }); + return this; + }; + /** + * Run mocha, returning the Runner. + */ + + + mocha.run = function (fn) { + var options = mocha.options; + mocha.globals('location'); + var query = parseQuery(commonjsGlobal.location.search || ''); + + if (query.grep) { + mocha.grep(query.grep); + } + + if (query.fgrep) { + mocha.fgrep(query.fgrep); + } + + if (query.invert) { + mocha.invert(); + } + + return mocha$1.prototype.run.call(mocha, function (err) { + // The DOM Document is not available in Web Workers. + var document = commonjsGlobal.document; + + if (document && document.getElementById('mocha') && options.noHighlighting !== true) { + highlightTags('code'); + } + + if (fn) { + fn(err); + } + }); + }; + /** + * Expose the process shim. + * https://github.com/mochajs/mocha/pull/916 + */ + + + mocha$1.process = process$3; + /** + * Expose mocha. + */ + + commonjsGlobal.Mocha = mocha$1; + commonjsGlobal.mocha = mocha; // this allows test/acceptance/required-tokens.js to pass; thus, + // you can now do `const describe = require('mocha').describe` in a + // browser context (assuming browserification). should fix #880 + + var browserEntry = Object.assign(mocha, commonjsGlobal); + + return browserEntry; + +}))); +//# sourceMappingURL=mocha.js.map \ No newline at end of file diff --git a/development/tests/web/monster-dev.html b/development/tests/web/monster-dev.html new file mode 100644 index 0000000000000000000000000000000000000000..415eaf36b756a1f80dc4905635e5891a093bb454 --- /dev/null +++ b/development/tests/web/monster-dev.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"/> + <title>Monster (DEV)</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="stylesheet" href="mocha.css"/> + <script id="polyfill" + src="https://polyfill.io/v3/polyfill.min.js?features=Array.from,Array.isArray,Array.prototype.entries,Array.prototype.fill,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.keys,Array.prototype.map,Array.prototype.reduce,ArrayBuffer,DataView,document,DocumentFragment,Element,Event,globalThis,HTMLDocument,JSON,Map,Math.log2,Number.isInteger,Object.defineProperty,Object.entries,Object.freeze,Object.getOwnPropertyNames,Object.getPrototypeOf,Object.keys,Promise,Reflect,Reflect.defineProperty,Reflect.get,Reflect.getOwnPropertyDescriptor,Reflect.setPrototypeOf,Set,String.prototype.trim,Symbol,Symbol.for,Symbol.iterator,Uint8Array,WeakMap,WeakSet" + crossorigin="anonymous" + referrerpolicy="no-referrer"></script> + + <script src="https://monsterjs.org/dist/1.31.0/dist/monster.dev.js"></script> + +</head> +<body> +<div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;"> + <h1 style='margin-bottom: 0.1em;'>Monster 1.31.0</h1> + <div id="lastupdate" style='font-size:0.7em'>last update Mo 7. Feb 15:11:34 CET 2022</div> +</div> +</body> +</html> diff --git a/development/tests/web/monster.html b/development/tests/web/monster.html new file mode 100644 index 0000000000000000000000000000000000000000..79848bb24ba3b5378f93ad23b08e73a2a32154a6 --- /dev/null +++ b/development/tests/web/monster.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"/> + <title>Monster</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="stylesheet" href="mocha.css"/> + <script id="polyfill" src="https://polyfill.io/v3/polyfill.min.js?features=Array.from,Array.isArray,Array.prototype.entries,Array.prototype.fill,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.keys,Array.prototype.map,Array.prototype.reduce,ArrayBuffer,DataView,document,DocumentFragment,Element,Event,globalThis,HTMLDocument,JSON,Map,Math.log2,Number.isInteger,Object.defineProperty,Object.entries,Object.freeze,Object.getOwnPropertyNames,Object.getPrototypeOf,Object.keys,Promise,Reflect,Reflect.defineProperty,Reflect.get,Reflect.getOwnPropertyDescriptor,Reflect.setPrototypeOf,Set,String.prototype.trim,Symbol,Symbol.for,Symbol.iterator,Uint8Array,WeakMap,WeakSet" + crossorigin="anonymous" + referrerpolicy="no-referrer"></script> + + <script src="/monster/packages/monster/dist/monster.js"></script> + +</head> +<body> +<div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;"> + <h1 style='margin-bottom: 0.1em;'>Monster 1.31.0</h1> + <div id="lastupdate" style='font-size:0.7em'>last update Mo 7. Feb 15:11:34 CET 2022</div> +</div> +</body> +</html> diff --git a/development/tests/web/prepare.js b/development/tests/web/prepare.js new file mode 100644 index 0000000000000000000000000000000000000000..82ee6e13abc207c8ad4d2f1b59930748b318b2e5 --- /dev/null +++ b/development/tests/web/prepare.js @@ -0,0 +1,36 @@ +// SharedArrayBuffer = ArrayBuffer; +// +// const matchAll = require('string.prototype.matchall'); +// matchAll.shim(); // will be a no-op if not needed +// +// require('replaceall-shim'); + + +if (typeof window === 'object') { + + (function () { + + let sayswho = (function () { + var ua = navigator.userAgent, tem, + M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; + if (/trident/i.test(M[1])) { + tem = /\brv[ :]+(\d+)/g.exec(ua) || []; + return 'IE ' + (tem[1] || ''); + } + if (M[1] === 'Chrome') { + tem = ua.match(/\b(OPR|Edge)\/(\d+)/); + if (tem != null) return tem.slice(1).join(' ').replace('OPR', 'Opera'); + } + M = M[2] ? [M[1], M[2]] : [navigator.appName, navigator.appVersion, '-?']; + if ((tem = ua.match(/version\/(\d+)/i)) != null) M.splice(1, 1, tem[1]); + return M.join(' '); + })(); + + + let element = document.querySelector('h1') + element.innerHTML += " " + sayswho; + + })(); + + +} diff --git a/development/tests/web/test.html b/development/tests/web/test.html new file mode 100644 index 0000000000000000000000000000000000000000..358e1981ba1995a56abc3149c2cf68af79071ca8 --- /dev/null +++ b/development/tests/web/test.html @@ -0,0 +1,45 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"/> + <title>Mocha Monster</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="stylesheet" href="mocha.css"/> + <script id="polyfill" src="https://polyfill.io/v3/polyfill.min.js?features=Array.from,Array.isArray,Array.prototype.entries,Array.prototype.fill,Array.prototype.filter,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.keys,Array.prototype.lastIndexOf,Array.prototype.map,Array.prototype.reduce,Array.prototype.sort,ArrayBuffer,atob,CustomEvent,DataView,document,Document,DocumentFragment,Element,Event,fetch,globalThis,HTMLDocument,HTMLTemplateElement,Intl,JSON,Map,Math.log2,Number.isInteger,Object.assign,Object.defineProperty,Object.entries,Object.freeze,Object.getOwnPropertyDescriptor,Object.getOwnPropertyNames,Object.getPrototypeOf,Object.keys,Promise,Reflect,Reflect.defineProperty,Reflect.get,Reflect.getOwnPropertyDescriptor,Reflect.setPrototypeOf,Set,String.prototype.endsWith,String.prototype.padStart,String.prototype.startsWith,String.prototype.trim,Symbol,Symbol.iterator,Uint16Array,Uint8Array,URL,WeakMap,WeakSet" + crossorigin="anonymous" + referrerpolicy="no-referrer"></script> + <script src="https://cdn.jsdelivr.net/npm/element-internals-polyfill@0.1.52/dist/index.min.js"></script> + +</head> +<body> +<div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;"> + <h1 style='margin-bottom: 0.1em;'>Monster 1.31.0</h1> + <div id="lastupdate" style='font-size:0.7em'>last update Mo 7. Feb 15:11:34 CET 2022</div> +</div> +<div id="mocks"></div> +<div id="mocha"></div> +<script src="mocha.js?"></script> +<script> + mocha.setup('bdd'); +</script> +<script src="tests.js?r=21:36:59"></script> +<script> + + try { + mocha.run((failures) => { + if (failures) { + document.getElementById('mocha-stats').style.backgroundColor = 'red'; + } else { + document.getElementById('mocha-stats').style.backgroundColor = 'green'; + } + + }); + + } catch (e) { + console.error(e); + document.getElementById('mocha-stats').style.backgroundColor = 'red'; + } + +</script> +</body> +</html> diff --git a/development/tests/web/tests.js b/development/tests/web/tests.js new file mode 100644 index 0000000000000000000000000000000000000000..c8f77962a8e114ed7187a62454f6e19a57682853 --- /dev/null +++ b/development/tests/web/tests.js @@ -0,0 +1,793 @@ +!function(){var leafPrototypes,getProto,__webpack_modules__={87757:function(module,__unused_webpack_exports,__webpack_require__){module.exports=__webpack_require__(35666)},22046:function(__unused_webpack_module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function once(emitter,name,{signal:signal}={}){return new Promise(((resolve,reject)=>{function cleanup(){null==signal||signal.removeEventListener("abort",cleanup),emitter.removeListener(name,onEvent),emitter.removeListener("error",onError)}function onEvent(...args){cleanup(),resolve(args)}function onError(err){cleanup(),reject(err)}null==signal||signal.addEventListener("abort",cleanup),emitter.on(name,onEvent),emitter.on("error",onError)}))}},9494:function(module,__unused_webpack_exports,__webpack_require__){const atob=__webpack_require__(27672),btoa=__webpack_require__(4817);module.exports={atob:atob,btoa:btoa}},27672:function(module){function atobLookup(chr){const index="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(chr);return index<0?void 0:index}module.exports=function atob(data){if((data=(data=`${data}`).replace(/[ \t\n\f\r]/g,"")).length%4==0&&(data=data.replace(/==?$/,"")),data.length%4==1||/[^+/0-9A-Za-z]/.test(data))return null;let output="",buffer=0,accumulatedBits=0;for(let i=0;i<data.length;i++)buffer<<=6,buffer|=atobLookup(data[i]),accumulatedBits+=6,24===accumulatedBits&&(output+=String.fromCharCode((16711680&buffer)>>16),output+=String.fromCharCode((65280&buffer)>>8),output+=String.fromCharCode(255&buffer),buffer=accumulatedBits=0);return 12===accumulatedBits?(buffer>>=4,output+=String.fromCharCode(buffer)):18===accumulatedBits&&(buffer>>=2,output+=String.fromCharCode((65280&buffer)>>8),output+=String.fromCharCode(255&buffer)),output}},4817:function(module){function btoaLookup(index){if(index>=0&&index<64)return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[index]}module.exports=function btoa(s){let i;for(s=`${s}`,i=0;i<s.length;i++)if(s.charCodeAt(i)>255)return null;let out="";for(i=0;i<s.length;i+=3){const groupsOfSix=[void 0,void 0,void 0,void 0];groupsOfSix[0]=s.charCodeAt(i)>>2,groupsOfSix[1]=(3&s.charCodeAt(i))<<4,s.length>i+1&&(groupsOfSix[1]|=s.charCodeAt(i+1)>>4,groupsOfSix[2]=(15&s.charCodeAt(i+1))<<2),s.length>i+2&&(groupsOfSix[2]|=s.charCodeAt(i+2)>>6,groupsOfSix[3]=63&s.charCodeAt(i+2));for(let j=0;j<groupsOfSix.length;j++)void 0===groupsOfSix[j]?out+="=":out+=btoaLookup(groupsOfSix[j])}return out}},69874:function(module,__unused_webpack_exports,__webpack_require__){var acorn=__webpack_require__(1234),walk=__webpack_require__(49667);function isScope(node){return"FunctionExpression"===node.type||"FunctionDeclaration"===node.type||"ArrowFunctionExpression"===node.type||"Program"===node.type}function isBlockScope(node){return"BlockStatement"===node.type||isScope(node)}function declaresArguments(node){return"FunctionExpression"===node.type||"FunctionDeclaration"===node.type}function declaresThis(node){return"FunctionExpression"===node.type||"FunctionDeclaration"===node.type}function reallyParse(source,options){var parseOptions=Object.assign({},options,{allowReturnOutsideFunction:!0,allowImportExportEverywhere:!0,allowHashBang:!0});return acorn.parse(source,parseOptions)}module.exports=function findGlobals(source,options){options=options||{};var ast,globals=[];ast="string"==typeof source?reallyParse(source,options):source;if(!ast||"object"!=typeof ast||"Program"!==ast.type)throw new TypeError("Source must be either a string of JavaScript or an acorn AST");var declareFunction=function(node){var fn=node;fn.locals=fn.locals||Object.create(null),node.params.forEach((function(node){declarePattern(node,fn)})),node.id&&(fn.locals[node.id.name]=!0)},declareClass=function(node){node.locals=node.locals||Object.create(null),node.id&&(node.locals[node.id.name]=!0)},declarePattern=function(node,parent){switch(node.type){case"Identifier":parent.locals[node.name]=!0;break;case"ObjectPattern":node.properties.forEach((function(node){declarePattern(node.value||node.argument,parent)}));break;case"ArrayPattern":node.elements.forEach((function(node){node&&declarePattern(node,parent)}));break;case"RestElement":declarePattern(node.argument,parent);break;case"AssignmentPattern":declarePattern(node.left,parent);break;default:throw new Error("Unrecognized pattern type: "+node.type)}},declareModuleSpecifier=function(node,parents){ast.locals=ast.locals||Object.create(null),ast.locals[node.local.name]=!0};function identifier(node,parents){var name=node.name;if("undefined"!==name){for(var i=0;i<parents.length;i++){if("arguments"===name&&declaresArguments(parents[i]))return;if(parents[i].locals&&name in parents[i].locals)return}node.parents=parents.slice(),globals.push(node)}}walk.ancestor(ast,{VariableDeclaration:function(node,parents){for(var parent=null,i=parents.length-1;i>=0&&null===parent;i--)("var"===node.kind?isScope(parents[i]):isBlockScope(parents[i]))&&(parent=parents[i]);parent.locals=parent.locals||Object.create(null),node.declarations.forEach((function(declaration){declarePattern(declaration.id,parent)}))},FunctionDeclaration:function(node,parents){for(var parent=null,i=parents.length-2;i>=0&&null===parent;i--)isScope(parents[i])&&(parent=parents[i]);parent.locals=parent.locals||Object.create(null),node.id&&(parent.locals[node.id.name]=!0),declareFunction(node)},Function:declareFunction,ClassDeclaration:function(node,parents){for(var parent=null,i=parents.length-2;i>=0&&null===parent;i--)isBlockScope(parents[i])&&(parent=parents[i]);parent.locals=parent.locals||Object.create(null),node.id&&(parent.locals[node.id.name]=!0),declareClass(node)},Class:declareClass,TryStatement:function(node){null!==node.handler&&(node.handler.locals=node.handler.locals||Object.create(null),declarePattern(node.handler.param,node.handler))},ImportDefaultSpecifier:declareModuleSpecifier,ImportSpecifier:declareModuleSpecifier,ImportNamespaceSpecifier:declareModuleSpecifier}),walk.ancestor(ast,{VariablePattern:identifier,Identifier:identifier,ThisExpression:function(node,parents){for(var i=0;i<parents.length;i++)if(declaresThis(parents[i]))return;node.parents=parents.slice(),globals.push(node)}});var groupedGlobals=Object.create(null);return globals.forEach((function(node){var name="ThisExpression"===node.type?"this":node.name;groupedGlobals[name]=groupedGlobals[name]||[],groupedGlobals[name].push(node)})),Object.keys(groupedGlobals).sort().map((function(name){return{name:name,nodes:groupedGlobals[name]}}))},module.exports.parse=reallyParse},1234:function(__unused_webpack_module,exports){!function(exports){var reservedWords={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},ecma5AndLessKeywords="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",keywords={5:ecma5AndLessKeywords,"5module":ecma5AndLessKeywords+" export import",6:ecma5AndLessKeywords+" const class extends export import super"},keywordRelationalOperator=/^in(stanceof)?$/,nonASCIIidentifierStartChars="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",nonASCIIidentifierChars="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",nonASCIIidentifierStart=new RegExp("["+nonASCIIidentifierStartChars+"]"),nonASCIIidentifier=new RegExp("["+nonASCIIidentifierStartChars+nonASCIIidentifierChars+"]");nonASCIIidentifierStartChars=nonASCIIidentifierChars=null;var astralIdentifierStartCodes=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],astralIdentifierCodes=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(code,set){for(var pos=65536,i=0;i<set.length;i+=2){if((pos+=set[i])>code)return!1;if((pos+=set[i+1])>=code)return!0}}function isIdentifierStart(code,astral){return code<65?36===code:code<91||(code<97?95===code:code<123||(code<=65535?code>=170&&nonASCIIidentifierStart.test(String.fromCharCode(code)):!1!==astral&&isInAstralSet(code,astralIdentifierStartCodes)))}function isIdentifierChar(code,astral){return code<48?36===code:code<58||!(code<65)&&(code<91||(code<97?95===code:code<123||(code<=65535?code>=170&&nonASCIIidentifier.test(String.fromCharCode(code)):!1!==astral&&(isInAstralSet(code,astralIdentifierStartCodes)||isInAstralSet(code,astralIdentifierCodes)))))}var TokenType=function TokenType(label,conf){void 0===conf&&(conf={}),this.label=label,this.keyword=conf.keyword,this.beforeExpr=!!conf.beforeExpr,this.startsExpr=!!conf.startsExpr,this.isLoop=!!conf.isLoop,this.isAssign=!!conf.isAssign,this.prefix=!!conf.prefix,this.postfix=!!conf.postfix,this.binop=conf.binop||null,this.updateContext=null};function binop(name,prec){return new TokenType(name,{beforeExpr:!0,binop:prec})}var beforeExpr={beforeExpr:!0},startsExpr={startsExpr:!0},keywords$1={};function kw(name,options){return void 0===options&&(options={}),options.keyword=name,keywords$1[name]=new TokenType(name,options)}var types={num:new TokenType("num",startsExpr),regexp:new TokenType("regexp",startsExpr),string:new TokenType("string",startsExpr),name:new TokenType("name",startsExpr),privateId:new TokenType("privateId",startsExpr),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new TokenType("]"),braceL:new TokenType("{",{beforeExpr:!0,startsExpr:!0}),braceR:new TokenType("}"),parenL:new TokenType("(",{beforeExpr:!0,startsExpr:!0}),parenR:new TokenType(")"),comma:new TokenType(",",beforeExpr),semi:new TokenType(";",beforeExpr),colon:new TokenType(":",beforeExpr),dot:new TokenType("."),question:new TokenType("?",beforeExpr),questionDot:new TokenType("?."),arrow:new TokenType("=>",beforeExpr),template:new TokenType("template"),invalidTemplate:new TokenType("invalidTemplate"),ellipsis:new TokenType("...",beforeExpr),backQuote:new TokenType("`",startsExpr),dollarBraceL:new TokenType("${",{beforeExpr:!0,startsExpr:!0}),eq:new TokenType("=",{beforeExpr:!0,isAssign:!0}),assign:new TokenType("_=",{beforeExpr:!0,isAssign:!0}),incDec:new TokenType("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new TokenType("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new TokenType("**",{beforeExpr:!0}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",beforeExpr),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",beforeExpr),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",beforeExpr),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",startsExpr),_if:kw("if"),_return:kw("return",beforeExpr),_switch:kw("switch"),_throw:kw("throw",beforeExpr),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",startsExpr),_super:kw("super",startsExpr),_class:kw("class",startsExpr),_extends:kw("extends",beforeExpr),_export:kw("export"),_import:kw("import",startsExpr),_null:kw("null",startsExpr),_true:kw("true",startsExpr),_false:kw("false",startsExpr),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},lineBreak=/\r\n?|\n|\u2028|\u2029/,lineBreakG=new RegExp(lineBreak.source,"g");function isNewLine(code){return 10===code||13===code||8232===code||8233===code}var nonASCIIwhitespace=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,skipWhiteSpace=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ref=Object.prototype,hasOwnProperty=ref.hasOwnProperty,toString=ref.toString;function has(obj,propName){return hasOwnProperty.call(obj,propName)}var isArray=Array.isArray||function(obj){return"[object Array]"===toString.call(obj)};function wordsRegexp(words){return new RegExp("^(?:"+words.replace(/ /g,"|")+")$")}var Position=function Position(line,col){this.line=line,this.column=col};Position.prototype.offset=function offset(n){return new Position(this.line,this.column+n)};var SourceLocation=function SourceLocation(p,start,end){this.start=start,this.end=end,null!==p.sourceFile&&(this.source=p.sourceFile)};function getLineInfo(input,offset){for(var line=1,cur=0;;){lineBreakG.lastIndex=cur;var match=lineBreakG.exec(input);if(!(match&&match.index<offset))return new Position(line,offset-cur);++line,cur=match.index+match[0].length}}var defaultOptions={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},warnedAboutEcmaVersion=!1;function getOptions(opts){var options={};for(var opt in defaultOptions)options[opt]=opts&&has(opts,opt)?opts[opt]:defaultOptions[opt];if("latest"===options.ecmaVersion?options.ecmaVersion=1e8:null==options.ecmaVersion?(!warnedAboutEcmaVersion&&"object"==typeof console&&console.warn&&(warnedAboutEcmaVersion=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),options.ecmaVersion=11):options.ecmaVersion>=2015&&(options.ecmaVersion-=2009),null==options.allowReserved&&(options.allowReserved=options.ecmaVersion<5),isArray(options.onToken)){var tokens=options.onToken;options.onToken=function(token){return tokens.push(token)}}return isArray(options.onComment)&&(options.onComment=pushComment(options,options.onComment)),options}function pushComment(options,array){return function(block,text,start,end,startLoc,endLoc){var comment={type:block?"Block":"Line",value:text,start:start,end:end};options.locations&&(comment.loc=new SourceLocation(this,startLoc,endLoc)),options.ranges&&(comment.range=[start,end]),array.push(comment)}}var SCOPE_TOP=1,SCOPE_FUNCTION=2,SCOPE_ASYNC=4,SCOPE_GENERATOR=8,SCOPE_ARROW=16,SCOPE_SIMPLE_CATCH=32,SCOPE_SUPER=64,SCOPE_DIRECT_SUPER=128,SCOPE_CLASS_STATIC_BLOCK=256,SCOPE_VAR=SCOPE_TOP|SCOPE_FUNCTION|SCOPE_CLASS_STATIC_BLOCK;function functionFlags(async,generator){return SCOPE_FUNCTION|(async?SCOPE_ASYNC:0)|(generator?SCOPE_GENERATOR:0)}var BIND_NONE=0,BIND_VAR=1,BIND_LEXICAL=2,BIND_FUNCTION=3,BIND_SIMPLE_CATCH=4,BIND_OUTSIDE=5,Parser=function Parser(options,input,startPos){this.options=options=getOptions(options),this.sourceFile=options.sourceFile,this.keywords=wordsRegexp(keywords[options.ecmaVersion>=6?6:"module"===options.sourceType?"5module":5]);var reserved="";!0!==options.allowReserved&&(reserved=reservedWords[options.ecmaVersion>=6?6:5===options.ecmaVersion?5:3],"module"===options.sourceType&&(reserved+=" await")),this.reservedWords=wordsRegexp(reserved);var reservedStrict=(reserved?reserved+" ":"")+reservedWords.strict;this.reservedWordsStrict=wordsRegexp(reservedStrict),this.reservedWordsStrictBind=wordsRegexp(reservedStrict+" "+reservedWords.strictBind),this.input=String(input),this.containsEsc=!1,startPos?(this.pos=startPos,this.lineStart=this.input.lastIndexOf("\n",startPos-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(lineBreak).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=types.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===options.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&options.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(SCOPE_TOP),this.regexpState=null,this.privateNameStack=[]},prototypeAccessors={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Parser.prototype.parse=function parse(){var node=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(node)},prototypeAccessors.inFunction.get=function(){return(this.currentVarScope().flags&SCOPE_FUNCTION)>0},prototypeAccessors.inGenerator.get=function(){return(this.currentVarScope().flags&SCOPE_GENERATOR)>0&&!this.currentVarScope().inClassFieldInit},prototypeAccessors.inAsync.get=function(){return(this.currentVarScope().flags&SCOPE_ASYNC)>0&&!this.currentVarScope().inClassFieldInit},prototypeAccessors.canAwait.get=function(){for(var i=this.scopeStack.length-1;i>=0;i--){var scope=this.scopeStack[i];if(scope.inClassFieldInit||scope.flags&SCOPE_CLASS_STATIC_BLOCK)return!1;if(scope.flags&SCOPE_FUNCTION)return(scope.flags&SCOPE_ASYNC)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},prototypeAccessors.allowSuper.get=function(){var ref=this.currentThisScope(),flags=ref.flags,inClassFieldInit=ref.inClassFieldInit;return(flags&SCOPE_SUPER)>0||inClassFieldInit||this.options.allowSuperOutsideMethod},prototypeAccessors.allowDirectSuper.get=function(){return(this.currentThisScope().flags&SCOPE_DIRECT_SUPER)>0},prototypeAccessors.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},prototypeAccessors.allowNewDotTarget.get=function(){var ref=this.currentThisScope(),flags=ref.flags,inClassFieldInit=ref.inClassFieldInit;return(flags&(SCOPE_FUNCTION|SCOPE_CLASS_STATIC_BLOCK))>0||inClassFieldInit},prototypeAccessors.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&SCOPE_CLASS_STATIC_BLOCK)>0},Parser.extend=function extend(){for(var plugins=[],len=arguments.length;len--;)plugins[len]=arguments[len];for(var cls=this,i=0;i<plugins.length;i++)cls=plugins[i](cls);return cls},Parser.parse=function parse(input,options){return new this(options,input).parse()},Parser.parseExpressionAt=function parseExpressionAt(input,pos,options){var parser=new this(options,input,pos);return parser.nextToken(),parser.parseExpression()},Parser.tokenizer=function tokenizer(input,options){return new this(options,input)},Object.defineProperties(Parser.prototype,prototypeAccessors);var pp=Parser.prototype,literal=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}pp.strictDirective=function(start){for(;;){skipWhiteSpace.lastIndex=start,start+=skipWhiteSpace.exec(this.input)[0].length;var match=literal.exec(this.input.slice(start));if(!match)return!1;if("use strict"===(match[1]||match[2])){skipWhiteSpace.lastIndex=start+match[0].length;var spaceAfter=skipWhiteSpace.exec(this.input),end=spaceAfter.index+spaceAfter[0].length,next=this.input.charAt(end);return";"===next||"}"===next||lineBreak.test(spaceAfter[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(next)||"!"===next&&"="===this.input.charAt(end+1))}start+=match[0].length,skipWhiteSpace.lastIndex=start,start+=skipWhiteSpace.exec(this.input)[0].length,";"===this.input[start]&&start++}},pp.eat=function(type){return this.type===type&&(this.next(),!0)},pp.isContextual=function(name){return this.type===types.name&&this.value===name&&!this.containsEsc},pp.eatContextual=function(name){return!!this.isContextual(name)&&(this.next(),!0)},pp.expectContextual=function(name){this.eatContextual(name)||this.unexpected()},pp.canInsertSemicolon=function(){return this.type===types.eof||this.type===types.braceR||lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},pp.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},pp.semicolon=function(){this.eat(types.semi)||this.insertSemicolon()||this.unexpected()},pp.afterTrailingComma=function(tokType,notNext){if(this.type===tokType)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),notNext||this.next(),!0},pp.expect=function(type){this.eat(type)||this.unexpected()},pp.unexpected=function(pos){this.raise(null!=pos?pos:this.start,"Unexpected token")},pp.checkPatternErrors=function(refDestructuringErrors,isAssign){if(refDestructuringErrors){refDestructuringErrors.trailingComma>-1&&this.raiseRecoverable(refDestructuringErrors.trailingComma,"Comma is not permitted after the rest element");var parens=isAssign?refDestructuringErrors.parenthesizedAssign:refDestructuringErrors.parenthesizedBind;parens>-1&&this.raiseRecoverable(parens,"Parenthesized pattern")}},pp.checkExpressionErrors=function(refDestructuringErrors,andThrow){if(!refDestructuringErrors)return!1;var shorthandAssign=refDestructuringErrors.shorthandAssign,doubleProto=refDestructuringErrors.doubleProto;if(!andThrow)return shorthandAssign>=0||doubleProto>=0;shorthandAssign>=0&&this.raise(shorthandAssign,"Shorthand property assignments are valid only in destructuring patterns"),doubleProto>=0&&this.raiseRecoverable(doubleProto,"Redefinition of __proto__ property")},pp.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},pp.isSimpleAssignTarget=function(expr){return"ParenthesizedExpression"===expr.type?this.isSimpleAssignTarget(expr.expression):"Identifier"===expr.type||"MemberExpression"===expr.type};var pp$1=Parser.prototype;pp$1.parseTopLevel=function(node){var exports=Object.create(null);for(node.body||(node.body=[]);this.type!==types.eof;){var stmt=this.parseStatement(null,!0,exports);node.body.push(stmt)}if(this.inModule)for(var i=0,list=Object.keys(this.undefinedExports);i<list.length;i+=1){var name=list[i];this.raiseRecoverable(this.undefinedExports[name].start,"Export '"+name+"' is not defined")}return this.adaptDirectivePrologue(node.body),this.next(),node.sourceType=this.options.sourceType,this.finishNode(node,"Program")};var loopLabel={kind:"loop"},switchLabel={kind:"switch"};pp$1.isLet=function(context){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;skipWhiteSpace.lastIndex=this.pos;var skip=skipWhiteSpace.exec(this.input),next=this.pos+skip[0].length,nextCh=this.input.charCodeAt(next);if(91===nextCh||92===nextCh||nextCh>55295&&nextCh<56320)return!0;if(context)return!1;if(123===nextCh)return!0;if(isIdentifierStart(nextCh,!0)){for(var pos=next+1;isIdentifierChar(nextCh=this.input.charCodeAt(pos),!0);)++pos;if(92===nextCh||nextCh>55295&&nextCh<56320)return!0;var ident=this.input.slice(next,pos);if(!keywordRelationalOperator.test(ident))return!0}return!1},pp$1.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;skipWhiteSpace.lastIndex=this.pos;var after,skip=skipWhiteSpace.exec(this.input),next=this.pos+skip[0].length;return!(lineBreak.test(this.input.slice(this.pos,next))||"function"!==this.input.slice(next,next+8)||next+8!==this.input.length&&(isIdentifierChar(after=this.input.charCodeAt(next+8))||after>55295&&after<56320))},pp$1.parseStatement=function(context,topLevel,exports){var kind,starttype=this.type,node=this.startNode();switch(this.isLet(context)&&(starttype=types._var,kind="let"),starttype){case types._break:case types._continue:return this.parseBreakContinueStatement(node,starttype.keyword);case types._debugger:return this.parseDebuggerStatement(node);case types._do:return this.parseDoStatement(node);case types._for:return this.parseForStatement(node);case types._function:return context&&(this.strict||"if"!==context&&"label"!==context)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(node,!1,!context);case types._class:return context&&this.unexpected(),this.parseClass(node,!0);case types._if:return this.parseIfStatement(node);case types._return:return this.parseReturnStatement(node);case types._switch:return this.parseSwitchStatement(node);case types._throw:return this.parseThrowStatement(node);case types._try:return this.parseTryStatement(node);case types._const:case types._var:return kind=kind||this.value,context&&"var"!==kind&&this.unexpected(),this.parseVarStatement(node,kind);case types._while:return this.parseWhileStatement(node);case types._with:return this.parseWithStatement(node);case types.braceL:return this.parseBlock(!0,node);case types.semi:return this.parseEmptyStatement(node);case types._export:case types._import:if(this.options.ecmaVersion>10&&starttype===types._import){skipWhiteSpace.lastIndex=this.pos;var skip=skipWhiteSpace.exec(this.input),next=this.pos+skip[0].length,nextCh=this.input.charCodeAt(next);if(40===nextCh||46===nextCh)return this.parseExpressionStatement(node,this.parseExpression())}return this.options.allowImportExportEverywhere||(topLevel||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),starttype===types._import?this.parseImport(node):this.parseExport(node,exports);default:if(this.isAsyncFunction())return context&&this.unexpected(),this.next(),this.parseFunctionStatement(node,!0,!context);var maybeName=this.value,expr=this.parseExpression();return starttype===types.name&&"Identifier"===expr.type&&this.eat(types.colon)?this.parseLabeledStatement(node,maybeName,expr,context):this.parseExpressionStatement(node,expr)}},pp$1.parseBreakContinueStatement=function(node,keyword){var isBreak="break"===keyword;this.next(),this.eat(types.semi)||this.insertSemicolon()?node.label=null:this.type!==types.name?this.unexpected():(node.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var lab=this.labels[i];if(null==node.label||lab.name===node.label.name){if(null!=lab.kind&&(isBreak||"loop"===lab.kind))break;if(node.label&&isBreak)break}}return i===this.labels.length&&this.raise(node.start,"Unsyntactic "+keyword),this.finishNode(node,isBreak?"BreakStatement":"ContinueStatement")},pp$1.parseDebuggerStatement=function(node){return this.next(),this.semicolon(),this.finishNode(node,"DebuggerStatement")},pp$1.parseDoStatement=function(node){return this.next(),this.labels.push(loopLabel),node.body=this.parseStatement("do"),this.labels.pop(),this.expect(types._while),node.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(types.semi):this.semicolon(),this.finishNode(node,"DoWhileStatement")},pp$1.parseForStatement=function(node){this.next();var awaitAt=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(loopLabel),this.enterScope(0),this.expect(types.parenL),this.type===types.semi)return awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,null);var isLet=this.isLet();if(this.type===types._var||this.type===types._const||isLet){var init$1=this.startNode(),kind=isLet?"let":this.value;return this.next(),this.parseVar(init$1,!0,kind),this.finishNode(init$1,"VariableDeclaration"),(this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===init$1.declarations.length?(this.options.ecmaVersion>=9&&(this.type===types._in?awaitAt>-1&&this.unexpected(awaitAt):node.await=awaitAt>-1),this.parseForIn(node,init$1)):(awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,init$1))}var startsWithLet=this.isContextual("let"),isForOf=!1,refDestructuringErrors=new DestructuringErrors,init=this.parseExpression(!(awaitAt>-1)||"await",refDestructuringErrors);return this.type===types._in||(isForOf=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===types._in?awaitAt>-1&&this.unexpected(awaitAt):node.await=awaitAt>-1),startsWithLet&&isForOf&&this.raise(init.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(init,!1,refDestructuringErrors),this.checkLValPattern(init),this.parseForIn(node,init)):(this.checkExpressionErrors(refDestructuringErrors,!0),awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,init))},pp$1.parseFunctionStatement=function(node,isAsync,declarationPosition){return this.next(),this.parseFunction(node,FUNC_STATEMENT|(declarationPosition?0:FUNC_HANGING_STATEMENT),!1,isAsync)},pp$1.parseIfStatement=function(node){return this.next(),node.test=this.parseParenExpression(),node.consequent=this.parseStatement("if"),node.alternate=this.eat(types._else)?this.parseStatement("if"):null,this.finishNode(node,"IfStatement")},pp$1.parseReturnStatement=function(node){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(types.semi)||this.insertSemicolon()?node.argument=null:(node.argument=this.parseExpression(),this.semicolon()),this.finishNode(node,"ReturnStatement")},pp$1.parseSwitchStatement=function(node){var cur;this.next(),node.discriminant=this.parseParenExpression(),node.cases=[],this.expect(types.braceL),this.labels.push(switchLabel),this.enterScope(0);for(var sawDefault=!1;this.type!==types.braceR;)if(this.type===types._case||this.type===types._default){var isCase=this.type===types._case;cur&&this.finishNode(cur,"SwitchCase"),node.cases.push(cur=this.startNode()),cur.consequent=[],this.next(),isCase?cur.test=this.parseExpression():(sawDefault&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),sawDefault=!0,cur.test=null),this.expect(types.colon)}else cur||this.unexpected(),cur.consequent.push(this.parseStatement(null));return this.exitScope(),cur&&this.finishNode(cur,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(node,"SwitchStatement")},pp$1.parseThrowStatement=function(node){return this.next(),lineBreak.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),node.argument=this.parseExpression(),this.semicolon(),this.finishNode(node,"ThrowStatement")};var empty=[];pp$1.parseTryStatement=function(node){if(this.next(),node.block=this.parseBlock(),node.handler=null,this.type===types._catch){var clause=this.startNode();if(this.next(),this.eat(types.parenL)){clause.param=this.parseBindingAtom();var simple="Identifier"===clause.param.type;this.enterScope(simple?SCOPE_SIMPLE_CATCH:0),this.checkLValPattern(clause.param,simple?BIND_SIMPLE_CATCH:BIND_LEXICAL),this.expect(types.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),clause.param=null,this.enterScope(0);clause.body=this.parseBlock(!1),this.exitScope(),node.handler=this.finishNode(clause,"CatchClause")}return node.finalizer=this.eat(types._finally)?this.parseBlock():null,node.handler||node.finalizer||this.raise(node.start,"Missing catch or finally clause"),this.finishNode(node,"TryStatement")},pp$1.parseVarStatement=function(node,kind){return this.next(),this.parseVar(node,!1,kind),this.semicolon(),this.finishNode(node,"VariableDeclaration")},pp$1.parseWhileStatement=function(node){return this.next(),node.test=this.parseParenExpression(),this.labels.push(loopLabel),node.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(node,"WhileStatement")},pp$1.parseWithStatement=function(node){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),node.object=this.parseParenExpression(),node.body=this.parseStatement("with"),this.finishNode(node,"WithStatement")},pp$1.parseEmptyStatement=function(node){return this.next(),this.finishNode(node,"EmptyStatement")},pp$1.parseLabeledStatement=function(node,maybeName,expr,context){for(var i$1=0,list=this.labels;i$1<list.length;i$1+=1)list[i$1].name===maybeName&&this.raise(expr.start,"Label '"+maybeName+"' is already declared");for(var kind=this.type.isLoop?"loop":this.type===types._switch?"switch":null,i=this.labels.length-1;i>=0;i--){var label$1=this.labels[i];if(label$1.statementStart!==node.start)break;label$1.statementStart=this.start,label$1.kind=kind}return this.labels.push({name:maybeName,kind:kind,statementStart:this.start}),node.body=this.parseStatement(context?-1===context.indexOf("label")?context+"label":context:"label"),this.labels.pop(),node.label=expr,this.finishNode(node,"LabeledStatement")},pp$1.parseExpressionStatement=function(node,expr){return node.expression=expr,this.semicolon(),this.finishNode(node,"ExpressionStatement")},pp$1.parseBlock=function(createNewLexicalScope,node,exitStrict){for(void 0===createNewLexicalScope&&(createNewLexicalScope=!0),void 0===node&&(node=this.startNode()),node.body=[],this.expect(types.braceL),createNewLexicalScope&&this.enterScope(0);this.type!==types.braceR;){var stmt=this.parseStatement(null);node.body.push(stmt)}return exitStrict&&(this.strict=!1),this.next(),createNewLexicalScope&&this.exitScope(),this.finishNode(node,"BlockStatement")},pp$1.parseFor=function(node,init){return node.init=init,this.expect(types.semi),node.test=this.type===types.semi?null:this.parseExpression(),this.expect(types.semi),node.update=this.type===types.parenR?null:this.parseExpression(),this.expect(types.parenR),node.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(node,"ForStatement")},pp$1.parseForIn=function(node,init){var isForIn=this.type===types._in;return this.next(),"VariableDeclaration"===init.type&&null!=init.declarations[0].init&&(!isForIn||this.options.ecmaVersion<8||this.strict||"var"!==init.kind||"Identifier"!==init.declarations[0].id.type)&&this.raise(init.start,(isForIn?"for-in":"for-of")+" loop variable declaration may not have an initializer"),node.left=init,node.right=isForIn?this.parseExpression():this.parseMaybeAssign(),this.expect(types.parenR),node.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(node,isForIn?"ForInStatement":"ForOfStatement")},pp$1.parseVar=function(node,isFor,kind){for(node.declarations=[],node.kind=kind;;){var decl=this.startNode();if(this.parseVarId(decl,kind),this.eat(types.eq)?decl.init=this.parseMaybeAssign(isFor):"const"!==kind||this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===decl.id.type||isFor&&(this.type===types._in||this.isContextual("of"))?decl.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),node.declarations.push(this.finishNode(decl,"VariableDeclarator")),!this.eat(types.comma))break}return node},pp$1.parseVarId=function(decl,kind){decl.id=this.parseBindingAtom(),this.checkLValPattern(decl.id,"var"===kind?BIND_VAR:BIND_LEXICAL,!1)};var FUNC_STATEMENT=1,FUNC_HANGING_STATEMENT=2,FUNC_NULLABLE_ID=4;function isPrivateNameConflicted(privateNameMap,element){var name=element.key.name,curr=privateNameMap[name],next="true";return"MethodDefinition"!==element.type||"get"!==element.kind&&"set"!==element.kind||(next=(element.static?"s":"i")+element.kind),"iget"===curr&&"iset"===next||"iset"===curr&&"iget"===next||"sget"===curr&&"sset"===next||"sset"===curr&&"sget"===next?(privateNameMap[name]="true",!1):!!curr||(privateNameMap[name]=next,!1)}function checkKeyName(node,name){var computed=node.computed,key=node.key;return!computed&&("Identifier"===key.type&&key.name===name||"Literal"===key.type&&key.value===name)}pp$1.parseFunction=function(node,statement,allowExpressionBody,isAsync,forInit){this.initFunction(node),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!isAsync)&&(this.type===types.star&&statement&FUNC_HANGING_STATEMENT&&this.unexpected(),node.generator=this.eat(types.star)),this.options.ecmaVersion>=8&&(node.async=!!isAsync),statement&FUNC_STATEMENT&&(node.id=statement&FUNC_NULLABLE_ID&&this.type!==types.name?null:this.parseIdent(),!node.id||statement&FUNC_HANGING_STATEMENT||this.checkLValSimple(node.id,this.strict||node.generator||node.async?this.treatFunctionsAsVar?BIND_VAR:BIND_LEXICAL:BIND_FUNCTION));var oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(node.async,node.generator)),statement&FUNC_STATEMENT||(node.id=this.type===types.name?this.parseIdent():null),this.parseFunctionParams(node),this.parseFunctionBody(node,allowExpressionBody,!1,forInit),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,statement&FUNC_STATEMENT?"FunctionDeclaration":"FunctionExpression")},pp$1.parseFunctionParams=function(node){this.expect(types.parenL),node.params=this.parseBindingList(types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},pp$1.parseClass=function(node,isStatement){this.next();var oldStrict=this.strict;this.strict=!0,this.parseClassId(node,isStatement),this.parseClassSuper(node);var privateNameMap=this.enterClassBody(),classBody=this.startNode(),hadConstructor=!1;for(classBody.body=[],this.expect(types.braceL);this.type!==types.braceR;){var element=this.parseClassElement(null!==node.superClass);element&&(classBody.body.push(element),"MethodDefinition"===element.type&&"constructor"===element.kind?(hadConstructor&&this.raise(element.start,"Duplicate constructor in the same class"),hadConstructor=!0):element.key&&"PrivateIdentifier"===element.key.type&&isPrivateNameConflicted(privateNameMap,element)&&this.raiseRecoverable(element.key.start,"Identifier '#"+element.key.name+"' has already been declared"))}return this.strict=oldStrict,this.next(),node.body=this.finishNode(classBody,"ClassBody"),this.exitClassBody(),this.finishNode(node,isStatement?"ClassDeclaration":"ClassExpression")},pp$1.parseClassElement=function(constructorAllowsSuper){if(this.eat(types.semi))return null;var ecmaVersion=this.options.ecmaVersion,node=this.startNode(),keyName="",isGenerator=!1,isAsync=!1,kind="method",isStatic=!1;if(this.eatContextual("static")){if(ecmaVersion>=13&&this.eat(types.braceL))return this.parseClassStaticBlock(node),node;this.isClassElementNameStart()||this.type===types.star?isStatic=!0:keyName="static"}if(node.static=isStatic,!keyName&&ecmaVersion>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==types.star||this.canInsertSemicolon()?keyName="async":isAsync=!0),!keyName&&(ecmaVersion>=9||!isAsync)&&this.eat(types.star)&&(isGenerator=!0),!keyName&&!isAsync&&!isGenerator){var lastValue=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?kind=lastValue:keyName=lastValue)}if(keyName?(node.computed=!1,node.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),node.key.name=keyName,this.finishNode(node.key,"Identifier")):this.parseClassElementName(node),ecmaVersion<13||this.type===types.parenL||"method"!==kind||isGenerator||isAsync){var isConstructor=!node.static&&checkKeyName(node,"constructor"),allowsDirectSuper=isConstructor&&constructorAllowsSuper;isConstructor&&"method"!==kind&&this.raise(node.key.start,"Constructor can't have get/set modifier"),node.kind=isConstructor?"constructor":kind,this.parseClassMethod(node,isGenerator,isAsync,allowsDirectSuper)}else this.parseClassField(node);return node},pp$1.isClassElementNameStart=function(){return this.type===types.name||this.type===types.privateId||this.type===types.num||this.type===types.string||this.type===types.bracketL||this.type.keyword},pp$1.parseClassElementName=function(element){this.type===types.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),element.computed=!1,element.key=this.parsePrivateIdent()):this.parsePropertyName(element)},pp$1.parseClassMethod=function(method,isGenerator,isAsync,allowsDirectSuper){var key=method.key;"constructor"===method.kind?(isGenerator&&this.raise(key.start,"Constructor can't be a generator"),isAsync&&this.raise(key.start,"Constructor can't be an async method")):method.static&&checkKeyName(method,"prototype")&&this.raise(key.start,"Classes may not have a static property named prototype");var value=method.value=this.parseMethod(isGenerator,isAsync,allowsDirectSuper);return"get"===method.kind&&0!==value.params.length&&this.raiseRecoverable(value.start,"getter should have no params"),"set"===method.kind&&1!==value.params.length&&this.raiseRecoverable(value.start,"setter should have exactly one param"),"set"===method.kind&&"RestElement"===value.params[0].type&&this.raiseRecoverable(value.params[0].start,"Setter cannot use rest params"),this.finishNode(method,"MethodDefinition")},pp$1.parseClassField=function(field){if(checkKeyName(field,"constructor")?this.raise(field.key.start,"Classes can't have a field named 'constructor'"):field.static&&checkKeyName(field,"prototype")&&this.raise(field.key.start,"Classes can't have a static field named 'prototype'"),this.eat(types.eq)){var scope=this.currentThisScope(),inClassFieldInit=scope.inClassFieldInit;scope.inClassFieldInit=!0,field.value=this.parseMaybeAssign(),scope.inClassFieldInit=inClassFieldInit}else field.value=null;return this.semicolon(),this.finishNode(field,"PropertyDefinition")},pp$1.parseClassStaticBlock=function(node){node.body=[];var oldLabels=this.labels;for(this.labels=[],this.enterScope(SCOPE_CLASS_STATIC_BLOCK|SCOPE_SUPER);this.type!==types.braceR;){var stmt=this.parseStatement(null);node.body.push(stmt)}return this.next(),this.exitScope(),this.labels=oldLabels,this.finishNode(node,"StaticBlock")},pp$1.parseClassId=function(node,isStatement){this.type===types.name?(node.id=this.parseIdent(),isStatement&&this.checkLValSimple(node.id,BIND_LEXICAL,!1)):(!0===isStatement&&this.unexpected(),node.id=null)},pp$1.parseClassSuper=function(node){node.superClass=this.eat(types._extends)?this.parseExprSubscripts(!1):null},pp$1.enterClassBody=function(){var element={declared:Object.create(null),used:[]};return this.privateNameStack.push(element),element.declared},pp$1.exitClassBody=function(){for(var ref=this.privateNameStack.pop(),declared=ref.declared,used=ref.used,len=this.privateNameStack.length,parent=0===len?null:this.privateNameStack[len-1],i=0;i<used.length;++i){var id=used[i];has(declared,id.name)||(parent?parent.used.push(id):this.raiseRecoverable(id.start,"Private field '#"+id.name+"' must be declared in an enclosing class"))}},pp$1.parseExport=function(node,exports){if(this.next(),this.eat(types.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(node.exported=this.parseIdent(!0),this.checkExport(exports,node.exported.name,this.lastTokStart)):node.exported=null),this.expectContextual("from"),this.type!==types.string&&this.unexpected(),node.source=this.parseExprAtom(),this.semicolon(),this.finishNode(node,"ExportAllDeclaration");if(this.eat(types._default)){var isAsync;if(this.checkExport(exports,"default",this.lastTokStart),this.type===types._function||(isAsync=this.isAsyncFunction())){var fNode=this.startNode();this.next(),isAsync&&this.next(),node.declaration=this.parseFunction(fNode,FUNC_STATEMENT|FUNC_NULLABLE_ID,!1,isAsync)}else if(this.type===types._class){var cNode=this.startNode();node.declaration=this.parseClass(cNode,"nullableID")}else node.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(node,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())node.declaration=this.parseStatement(null),"VariableDeclaration"===node.declaration.type?this.checkVariableExport(exports,node.declaration.declarations):this.checkExport(exports,node.declaration.id.name,node.declaration.id.start),node.specifiers=[],node.source=null;else{if(node.declaration=null,node.specifiers=this.parseExportSpecifiers(exports),this.eatContextual("from"))this.type!==types.string&&this.unexpected(),node.source=this.parseExprAtom();else{for(var i=0,list=node.specifiers;i<list.length;i+=1){var spec=list[i];this.checkUnreserved(spec.local),this.checkLocalExport(spec.local)}node.source=null}this.semicolon()}return this.finishNode(node,"ExportNamedDeclaration")},pp$1.checkExport=function(exports,name,pos){exports&&(has(exports,name)&&this.raiseRecoverable(pos,"Duplicate export '"+name+"'"),exports[name]=!0)},pp$1.checkPatternExport=function(exports,pat){var type=pat.type;if("Identifier"===type)this.checkExport(exports,pat.name,pat.start);else if("ObjectPattern"===type)for(var i=0,list=pat.properties;i<list.length;i+=1){var prop=list[i];this.checkPatternExport(exports,prop)}else if("ArrayPattern"===type)for(var i$1=0,list$1=pat.elements;i$1<list$1.length;i$1+=1){var elt=list$1[i$1];elt&&this.checkPatternExport(exports,elt)}else"Property"===type?this.checkPatternExport(exports,pat.value):"AssignmentPattern"===type?this.checkPatternExport(exports,pat.left):"RestElement"===type?this.checkPatternExport(exports,pat.argument):"ParenthesizedExpression"===type&&this.checkPatternExport(exports,pat.expression)},pp$1.checkVariableExport=function(exports,decls){if(exports)for(var i=0,list=decls;i<list.length;i+=1){var decl=list[i];this.checkPatternExport(exports,decl.id)}},pp$1.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},pp$1.parseExportSpecifiers=function(exports){var nodes=[],first=!0;for(this.expect(types.braceL);!this.eat(types.braceR);){if(first)first=!1;else if(this.expect(types.comma),this.afterTrailingComma(types.braceR))break;var node=this.startNode();node.local=this.parseIdent(!0),node.exported=this.eatContextual("as")?this.parseIdent(!0):node.local,this.checkExport(exports,node.exported.name,node.exported.start),nodes.push(this.finishNode(node,"ExportSpecifier"))}return nodes},pp$1.parseImport=function(node){return this.next(),this.type===types.string?(node.specifiers=empty,node.source=this.parseExprAtom()):(node.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),node.source=this.type===types.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(node,"ImportDeclaration")},pp$1.parseImportSpecifiers=function(){var nodes=[],first=!0;if(this.type===types.name){var node=this.startNode();if(node.local=this.parseIdent(),this.checkLValSimple(node.local,BIND_LEXICAL),nodes.push(this.finishNode(node,"ImportDefaultSpecifier")),!this.eat(types.comma))return nodes}if(this.type===types.star){var node$1=this.startNode();return this.next(),this.expectContextual("as"),node$1.local=this.parseIdent(),this.checkLValSimple(node$1.local,BIND_LEXICAL),nodes.push(this.finishNode(node$1,"ImportNamespaceSpecifier")),nodes}for(this.expect(types.braceL);!this.eat(types.braceR);){if(first)first=!1;else if(this.expect(types.comma),this.afterTrailingComma(types.braceR))break;var node$2=this.startNode();node$2.imported=this.parseIdent(!0),this.eatContextual("as")?node$2.local=this.parseIdent():(this.checkUnreserved(node$2.imported),node$2.local=node$2.imported),this.checkLValSimple(node$2.local,BIND_LEXICAL),nodes.push(this.finishNode(node$2,"ImportSpecifier"))}return nodes},pp$1.adaptDirectivePrologue=function(statements){for(var i=0;i<statements.length&&this.isDirectiveCandidate(statements[i]);++i)statements[i].directive=statements[i].expression.raw.slice(1,-1)},pp$1.isDirectiveCandidate=function(statement){return"ExpressionStatement"===statement.type&&"Literal"===statement.expression.type&&"string"==typeof statement.expression.value&&('"'===this.input[statement.start]||"'"===this.input[statement.start])};var pp$2=Parser.prototype;pp$2.toAssignable=function(node,isBinding,refDestructuringErrors){if(this.options.ecmaVersion>=6&&node)switch(node.type){case"Identifier":this.inAsync&&"await"===node.name&&this.raise(node.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":node.type="ObjectPattern",refDestructuringErrors&&this.checkPatternErrors(refDestructuringErrors,!0);for(var i=0,list=node.properties;i<list.length;i+=1){var prop=list[i];this.toAssignable(prop,isBinding),"RestElement"!==prop.type||"ArrayPattern"!==prop.argument.type&&"ObjectPattern"!==prop.argument.type||this.raise(prop.argument.start,"Unexpected token")}break;case"Property":"init"!==node.kind&&this.raise(node.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(node.value,isBinding);break;case"ArrayExpression":node.type="ArrayPattern",refDestructuringErrors&&this.checkPatternErrors(refDestructuringErrors,!0),this.toAssignableList(node.elements,isBinding);break;case"SpreadElement":node.type="RestElement",this.toAssignable(node.argument,isBinding),"AssignmentPattern"===node.argument.type&&this.raise(node.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==node.operator&&this.raise(node.left.end,"Only '=' operator can be used for specifying default value."),node.type="AssignmentPattern",delete node.operator,this.toAssignable(node.left,isBinding);break;case"ParenthesizedExpression":this.toAssignable(node.expression,isBinding,refDestructuringErrors);break;case"ChainExpression":this.raiseRecoverable(node.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!isBinding)break;default:this.raise(node.start,"Assigning to rvalue")}else refDestructuringErrors&&this.checkPatternErrors(refDestructuringErrors,!0);return node},pp$2.toAssignableList=function(exprList,isBinding){for(var end=exprList.length,i=0;i<end;i++){var elt=exprList[i];elt&&this.toAssignable(elt,isBinding)}if(end){var last=exprList[end-1];6===this.options.ecmaVersion&&isBinding&&last&&"RestElement"===last.type&&"Identifier"!==last.argument.type&&this.unexpected(last.argument.start)}return exprList},pp$2.parseSpread=function(refDestructuringErrors){var node=this.startNode();return this.next(),node.argument=this.parseMaybeAssign(!1,refDestructuringErrors),this.finishNode(node,"SpreadElement")},pp$2.parseRestBinding=function(){var node=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==types.name&&this.unexpected(),node.argument=this.parseBindingAtom(),this.finishNode(node,"RestElement")},pp$2.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case types.bracketL:var node=this.startNode();return this.next(),node.elements=this.parseBindingList(types.bracketR,!0,!0),this.finishNode(node,"ArrayPattern");case types.braceL:return this.parseObj(!0)}return this.parseIdent()},pp$2.parseBindingList=function(close,allowEmpty,allowTrailingComma){for(var elts=[],first=!0;!this.eat(close);)if(first?first=!1:this.expect(types.comma),allowEmpty&&this.type===types.comma)elts.push(null);else{if(allowTrailingComma&&this.afterTrailingComma(close))break;if(this.type===types.ellipsis){var rest=this.parseRestBinding();this.parseBindingListItem(rest),elts.push(rest),this.type===types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(close);break}var elem=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(elem),elts.push(elem)}return elts},pp$2.parseBindingListItem=function(param){return param},pp$2.parseMaybeDefault=function(startPos,startLoc,left){if(left=left||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(types.eq))return left;var node=this.startNodeAt(startPos,startLoc);return node.left=left,node.right=this.parseMaybeAssign(),this.finishNode(node,"AssignmentPattern")},pp$2.checkLValSimple=function(expr,bindingType,checkClashes){void 0===bindingType&&(bindingType=BIND_NONE);var isBind=bindingType!==BIND_NONE;switch(expr.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(expr.name)&&this.raiseRecoverable(expr.start,(isBind?"Binding ":"Assigning to ")+expr.name+" in strict mode"),isBind&&(bindingType===BIND_LEXICAL&&"let"===expr.name&&this.raiseRecoverable(expr.start,"let is disallowed as a lexically bound name"),checkClashes&&(has(checkClashes,expr.name)&&this.raiseRecoverable(expr.start,"Argument name clash"),checkClashes[expr.name]=!0),bindingType!==BIND_OUTSIDE&&this.declareName(expr.name,bindingType,expr.start));break;case"ChainExpression":this.raiseRecoverable(expr.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":isBind&&this.raiseRecoverable(expr.start,"Binding member expression");break;case"ParenthesizedExpression":return isBind&&this.raiseRecoverable(expr.start,"Binding parenthesized expression"),this.checkLValSimple(expr.expression,bindingType,checkClashes);default:this.raise(expr.start,(isBind?"Binding":"Assigning to")+" rvalue")}},pp$2.checkLValPattern=function(expr,bindingType,checkClashes){switch(void 0===bindingType&&(bindingType=BIND_NONE),expr.type){case"ObjectPattern":for(var i=0,list=expr.properties;i<list.length;i+=1){var prop=list[i];this.checkLValInnerPattern(prop,bindingType,checkClashes)}break;case"ArrayPattern":for(var i$1=0,list$1=expr.elements;i$1<list$1.length;i$1+=1){var elem=list$1[i$1];elem&&this.checkLValInnerPattern(elem,bindingType,checkClashes)}break;default:this.checkLValSimple(expr,bindingType,checkClashes)}},pp$2.checkLValInnerPattern=function(expr,bindingType,checkClashes){switch(void 0===bindingType&&(bindingType=BIND_NONE),expr.type){case"Property":this.checkLValInnerPattern(expr.value,bindingType,checkClashes);break;case"AssignmentPattern":this.checkLValPattern(expr.left,bindingType,checkClashes);break;case"RestElement":this.checkLValPattern(expr.argument,bindingType,checkClashes);break;default:this.checkLValPattern(expr,bindingType,checkClashes)}};var TokContext=function TokContext(token,isExpr,preserveSpace,override,generator){this.token=token,this.isExpr=!!isExpr,this.preserveSpace=!!preserveSpace,this.override=override,this.generator=!!generator},types$1={b_stat:new TokContext("{",!1),b_expr:new TokContext("{",!0),b_tmpl:new TokContext("${",!1),p_stat:new TokContext("(",!1),p_expr:new TokContext("(",!0),q_tmpl:new TokContext("`",!0,!0,(function(p){return p.tryReadTemplateToken()})),f_stat:new TokContext("function",!1),f_expr:new TokContext("function",!0),f_expr_gen:new TokContext("function",!0,!1,null,!0),f_gen:new TokContext("function",!1,!1,null,!0)},pp$3=Parser.prototype;pp$3.initialContext=function(){return[types$1.b_stat]},pp$3.curContext=function(){return this.context[this.context.length-1]},pp$3.braceIsBlock=function(prevType){var parent=this.curContext();return parent===types$1.f_expr||parent===types$1.f_stat||(prevType!==types.colon||parent!==types$1.b_stat&&parent!==types$1.b_expr?prevType===types._return||prevType===types.name&&this.exprAllowed?lineBreak.test(this.input.slice(this.lastTokEnd,this.start)):prevType===types._else||prevType===types.semi||prevType===types.eof||prevType===types.parenR||prevType===types.arrow||(prevType===types.braceL?parent===types$1.b_stat:prevType!==types._var&&prevType!==types._const&&prevType!==types.name&&!this.exprAllowed):!parent.isExpr)},pp$3.inGeneratorContext=function(){for(var i=this.context.length-1;i>=1;i--){var context=this.context[i];if("function"===context.token)return context.generator}return!1},pp$3.updateContext=function(prevType){var update,type=this.type;type.keyword&&prevType===types.dot?this.exprAllowed=!1:(update=type.updateContext)?update.call(this,prevType):this.exprAllowed=type.beforeExpr},pp$3.overrideContext=function(tokenCtx){this.curContext()!==tokenCtx&&(this.context[this.context.length-1]=tokenCtx)},types.parenR.updateContext=types.braceR.updateContext=function(){if(1!==this.context.length){var out=this.context.pop();out===types$1.b_stat&&"function"===this.curContext().token&&(out=this.context.pop()),this.exprAllowed=!out.isExpr}else this.exprAllowed=!0},types.braceL.updateContext=function(prevType){this.context.push(this.braceIsBlock(prevType)?types$1.b_stat:types$1.b_expr),this.exprAllowed=!0},types.dollarBraceL.updateContext=function(){this.context.push(types$1.b_tmpl),this.exprAllowed=!0},types.parenL.updateContext=function(prevType){var statementParens=prevType===types._if||prevType===types._for||prevType===types._with||prevType===types._while;this.context.push(statementParens?types$1.p_stat:types$1.p_expr),this.exprAllowed=!0},types.incDec.updateContext=function(){},types._function.updateContext=types._class.updateContext=function(prevType){!prevType.beforeExpr||prevType===types._else||prevType===types.semi&&this.curContext()!==types$1.p_stat||prevType===types._return&&lineBreak.test(this.input.slice(this.lastTokEnd,this.start))||(prevType===types.colon||prevType===types.braceL)&&this.curContext()===types$1.b_stat?this.context.push(types$1.f_stat):this.context.push(types$1.f_expr),this.exprAllowed=!1},types.backQuote.updateContext=function(){this.curContext()===types$1.q_tmpl?this.context.pop():this.context.push(types$1.q_tmpl),this.exprAllowed=!1},types.star.updateContext=function(prevType){if(prevType===types._function){var index=this.context.length-1;this.context[index]===types$1.f_expr?this.context[index]=types$1.f_expr_gen:this.context[index]=types$1.f_gen}this.exprAllowed=!0},types.name.updateContext=function(prevType){var allowed=!1;this.options.ecmaVersion>=6&&prevType!==types.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(allowed=!0),this.exprAllowed=allowed};var pp$4=Parser.prototype;function isPrivateFieldAccess(node){return"MemberExpression"===node.type&&"PrivateIdentifier"===node.property.type||"ChainExpression"===node.type&&isPrivateFieldAccess(node.expression)}pp$4.checkPropClash=function(prop,propHash,refDestructuringErrors){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===prop.type||this.options.ecmaVersion>=6&&(prop.computed||prop.method||prop.shorthand))){var name,key=prop.key;switch(key.type){case"Identifier":name=key.name;break;case"Literal":name=String(key.value);break;default:return}var kind=prop.kind;if(this.options.ecmaVersion>=6)"__proto__"===name&&"init"===kind&&(propHash.proto&&(refDestructuringErrors?refDestructuringErrors.doubleProto<0&&(refDestructuringErrors.doubleProto=key.start):this.raiseRecoverable(key.start,"Redefinition of __proto__ property")),propHash.proto=!0);else{var other=propHash[name="$"+name];other?("init"===kind?this.strict&&other.init||other.get||other.set:other.init||other[kind])&&this.raiseRecoverable(key.start,"Redefinition of property"):other=propHash[name]={init:!1,get:!1,set:!1},other[kind]=!0}}},pp$4.parseExpression=function(forInit,refDestructuringErrors){var startPos=this.start,startLoc=this.startLoc,expr=this.parseMaybeAssign(forInit,refDestructuringErrors);if(this.type===types.comma){var node=this.startNodeAt(startPos,startLoc);for(node.expressions=[expr];this.eat(types.comma);)node.expressions.push(this.parseMaybeAssign(forInit,refDestructuringErrors));return this.finishNode(node,"SequenceExpression")}return expr},pp$4.parseMaybeAssign=function(forInit,refDestructuringErrors,afterLeftParse){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(forInit);this.exprAllowed=!1}var ownDestructuringErrors=!1,oldParenAssign=-1,oldTrailingComma=-1;refDestructuringErrors?(oldParenAssign=refDestructuringErrors.parenthesizedAssign,oldTrailingComma=refDestructuringErrors.trailingComma,refDestructuringErrors.parenthesizedAssign=refDestructuringErrors.trailingComma=-1):(refDestructuringErrors=new DestructuringErrors,ownDestructuringErrors=!0);var startPos=this.start,startLoc=this.startLoc;this.type!==types.parenL&&this.type!==types.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===forInit);var left=this.parseMaybeConditional(forInit,refDestructuringErrors);if(afterLeftParse&&(left=afterLeftParse.call(this,left,startPos,startLoc)),this.type.isAssign){var node=this.startNodeAt(startPos,startLoc);return node.operator=this.value,this.type===types.eq&&(left=this.toAssignable(left,!1,refDestructuringErrors)),ownDestructuringErrors||(refDestructuringErrors.parenthesizedAssign=refDestructuringErrors.trailingComma=refDestructuringErrors.doubleProto=-1),refDestructuringErrors.shorthandAssign>=left.start&&(refDestructuringErrors.shorthandAssign=-1),this.type===types.eq?this.checkLValPattern(left):this.checkLValSimple(left),node.left=left,this.next(),node.right=this.parseMaybeAssign(forInit),this.finishNode(node,"AssignmentExpression")}return ownDestructuringErrors&&this.checkExpressionErrors(refDestructuringErrors,!0),oldParenAssign>-1&&(refDestructuringErrors.parenthesizedAssign=oldParenAssign),oldTrailingComma>-1&&(refDestructuringErrors.trailingComma=oldTrailingComma),left},pp$4.parseMaybeConditional=function(forInit,refDestructuringErrors){var startPos=this.start,startLoc=this.startLoc,expr=this.parseExprOps(forInit,refDestructuringErrors);if(this.checkExpressionErrors(refDestructuringErrors))return expr;if(this.eat(types.question)){var node=this.startNodeAt(startPos,startLoc);return node.test=expr,node.consequent=this.parseMaybeAssign(),this.expect(types.colon),node.alternate=this.parseMaybeAssign(forInit),this.finishNode(node,"ConditionalExpression")}return expr},pp$4.parseExprOps=function(forInit,refDestructuringErrors){var startPos=this.start,startLoc=this.startLoc,expr=this.parseMaybeUnary(refDestructuringErrors,!1,!1,forInit);return this.checkExpressionErrors(refDestructuringErrors)||expr.start===startPos&&"ArrowFunctionExpression"===expr.type?expr:this.parseExprOp(expr,startPos,startLoc,-1,forInit)},pp$4.parseExprOp=function(left,leftStartPos,leftStartLoc,minPrec,forInit){var prec=this.type.binop;if(null!=prec&&(!forInit||this.type!==types._in)&&prec>minPrec){var logical=this.type===types.logicalOR||this.type===types.logicalAND,coalesce=this.type===types.coalesce;coalesce&&(prec=types.logicalAND.binop);var op=this.value;this.next();var startPos=this.start,startLoc=this.startLoc,right=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,forInit),startPos,startLoc,prec,forInit),node=this.buildBinary(leftStartPos,leftStartLoc,left,right,op,logical||coalesce);return(logical&&this.type===types.coalesce||coalesce&&(this.type===types.logicalOR||this.type===types.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(node,leftStartPos,leftStartLoc,minPrec,forInit)}return left},pp$4.buildBinary=function(startPos,startLoc,left,right,op,logical){var node=this.startNodeAt(startPos,startLoc);return node.left=left,node.operator=op,node.right=right,this.finishNode(node,logical?"LogicalExpression":"BinaryExpression")},pp$4.parseMaybeUnary=function(refDestructuringErrors,sawUnary,incDec,forInit){var expr,startPos=this.start,startLoc=this.startLoc;if(this.isContextual("await")&&this.canAwait)expr=this.parseAwait(forInit),sawUnary=!0;else if(this.type.prefix){var node=this.startNode(),update=this.type===types.incDec;node.operator=this.value,node.prefix=!0,this.next(),node.argument=this.parseMaybeUnary(null,!0,update,forInit),this.checkExpressionErrors(refDestructuringErrors,!0),update?this.checkLValSimple(node.argument):this.strict&&"delete"===node.operator&&"Identifier"===node.argument.type?this.raiseRecoverable(node.start,"Deleting local variable in strict mode"):"delete"===node.operator&&isPrivateFieldAccess(node.argument)?this.raiseRecoverable(node.start,"Private fields can not be deleted"):sawUnary=!0,expr=this.finishNode(node,update?"UpdateExpression":"UnaryExpression")}else{if(expr=this.parseExprSubscripts(refDestructuringErrors,forInit),this.checkExpressionErrors(refDestructuringErrors))return expr;for(;this.type.postfix&&!this.canInsertSemicolon();){var node$1=this.startNodeAt(startPos,startLoc);node$1.operator=this.value,node$1.prefix=!1,node$1.argument=expr,this.checkLValSimple(expr),this.next(),expr=this.finishNode(node$1,"UpdateExpression")}}return incDec||!this.eat(types.starstar)?expr:sawUnary?void this.unexpected(this.lastTokStart):this.buildBinary(startPos,startLoc,expr,this.parseMaybeUnary(null,!1,!1,forInit),"**",!1)},pp$4.parseExprSubscripts=function(refDestructuringErrors,forInit){var startPos=this.start,startLoc=this.startLoc,expr=this.parseExprAtom(refDestructuringErrors,forInit);if("ArrowFunctionExpression"===expr.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return expr;var result=this.parseSubscripts(expr,startPos,startLoc,!1,forInit);return refDestructuringErrors&&"MemberExpression"===result.type&&(refDestructuringErrors.parenthesizedAssign>=result.start&&(refDestructuringErrors.parenthesizedAssign=-1),refDestructuringErrors.parenthesizedBind>=result.start&&(refDestructuringErrors.parenthesizedBind=-1),refDestructuringErrors.trailingComma>=result.start&&(refDestructuringErrors.trailingComma=-1)),result},pp$4.parseSubscripts=function(base,startPos,startLoc,noCalls,forInit){for(var maybeAsyncArrow=this.options.ecmaVersion>=8&&"Identifier"===base.type&&"async"===base.name&&this.lastTokEnd===base.end&&!this.canInsertSemicolon()&&base.end-base.start==5&&this.potentialArrowAt===base.start,optionalChained=!1;;){var element=this.parseSubscript(base,startPos,startLoc,noCalls,maybeAsyncArrow,optionalChained,forInit);if(element.optional&&(optionalChained=!0),element===base||"ArrowFunctionExpression"===element.type){if(optionalChained){var chainNode=this.startNodeAt(startPos,startLoc);chainNode.expression=element,element=this.finishNode(chainNode,"ChainExpression")}return element}base=element}},pp$4.parseSubscript=function(base,startPos,startLoc,noCalls,maybeAsyncArrow,optionalChained,forInit){var optionalSupported=this.options.ecmaVersion>=11,optional=optionalSupported&&this.eat(types.questionDot);noCalls&&optional&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var computed=this.eat(types.bracketL);if(computed||optional&&this.type!==types.parenL&&this.type!==types.backQuote||this.eat(types.dot)){var node=this.startNodeAt(startPos,startLoc);node.object=base,computed?(node.property=this.parseExpression(),this.expect(types.bracketR)):this.type===types.privateId&&"Super"!==base.type?node.property=this.parsePrivateIdent():node.property=this.parseIdent("never"!==this.options.allowReserved),node.computed=!!computed,optionalSupported&&(node.optional=optional),base=this.finishNode(node,"MemberExpression")}else if(!noCalls&&this.eat(types.parenL)){var refDestructuringErrors=new DestructuringErrors,oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var exprList=this.parseExprList(types.parenR,this.options.ecmaVersion>=8,!1,refDestructuringErrors);if(maybeAsyncArrow&&!optional&&!this.canInsertSemicolon()&&this.eat(types.arrow))return this.checkPatternErrors(refDestructuringErrors,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.parseArrowExpression(this.startNodeAt(startPos,startLoc),exprList,!0,forInit);this.checkExpressionErrors(refDestructuringErrors,!0),this.yieldPos=oldYieldPos||this.yieldPos,this.awaitPos=oldAwaitPos||this.awaitPos,this.awaitIdentPos=oldAwaitIdentPos||this.awaitIdentPos;var node$1=this.startNodeAt(startPos,startLoc);node$1.callee=base,node$1.arguments=exprList,optionalSupported&&(node$1.optional=optional),base=this.finishNode(node$1,"CallExpression")}else if(this.type===types.backQuote){(optional||optionalChained)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var node$2=this.startNodeAt(startPos,startLoc);node$2.tag=base,node$2.quasi=this.parseTemplate({isTagged:!0}),base=this.finishNode(node$2,"TaggedTemplateExpression")}return base},pp$4.parseExprAtom=function(refDestructuringErrors,forInit){this.type===types.slash&&this.readRegexp();var node,canBeArrow=this.potentialArrowAt===this.start;switch(this.type){case types._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),node=this.startNode(),this.next(),this.type!==types.parenL||this.allowDirectSuper||this.raise(node.start,"super() call outside constructor of a subclass"),this.type!==types.dot&&this.type!==types.bracketL&&this.type!==types.parenL&&this.unexpected(),this.finishNode(node,"Super");case types._this:return node=this.startNode(),this.next(),this.finishNode(node,"ThisExpression");case types.name:var startPos=this.start,startLoc=this.startLoc,containsEsc=this.containsEsc,id=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!containsEsc&&"async"===id.name&&!this.canInsertSemicolon()&&this.eat(types._function))return this.overrideContext(types$1.f_expr),this.parseFunction(this.startNodeAt(startPos,startLoc),0,!1,!0,forInit);if(canBeArrow&&!this.canInsertSemicolon()){if(this.eat(types.arrow))return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),[id],!1,forInit);if(this.options.ecmaVersion>=8&&"async"===id.name&&this.type===types.name&&!containsEsc&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return id=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(types.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(startPos,startLoc),[id],!0,forInit)}return id;case types.regexp:var value=this.value;return(node=this.parseLiteral(value.value)).regex={pattern:value.pattern,flags:value.flags},node;case types.num:case types.string:return this.parseLiteral(this.value);case types._null:case types._true:case types._false:return(node=this.startNode()).value=this.type===types._null?null:this.type===types._true,node.raw=this.type.keyword,this.next(),this.finishNode(node,"Literal");case types.parenL:var start=this.start,expr=this.parseParenAndDistinguishExpression(canBeArrow,forInit);return refDestructuringErrors&&(refDestructuringErrors.parenthesizedAssign<0&&!this.isSimpleAssignTarget(expr)&&(refDestructuringErrors.parenthesizedAssign=start),refDestructuringErrors.parenthesizedBind<0&&(refDestructuringErrors.parenthesizedBind=start)),expr;case types.bracketL:return node=this.startNode(),this.next(),node.elements=this.parseExprList(types.bracketR,!0,!0,refDestructuringErrors),this.finishNode(node,"ArrayExpression");case types.braceL:return this.overrideContext(types$1.b_expr),this.parseObj(!1,refDestructuringErrors);case types._function:return node=this.startNode(),this.next(),this.parseFunction(node,0);case types._class:return this.parseClass(this.startNode(),!1);case types._new:return this.parseNew();case types.backQuote:return this.parseTemplate();case types._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},pp$4.parseExprImport=function(){var node=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var meta=this.parseIdent(!0);switch(this.type){case types.parenL:return this.parseDynamicImport(node);case types.dot:return node.meta=meta,this.parseImportMeta(node);default:this.unexpected()}},pp$4.parseDynamicImport=function(node){if(this.next(),node.source=this.parseMaybeAssign(),!this.eat(types.parenR)){var errorPos=this.start;this.eat(types.comma)&&this.eat(types.parenR)?this.raiseRecoverable(errorPos,"Trailing comma is not allowed in import()"):this.unexpected(errorPos)}return this.finishNode(node,"ImportExpression")},pp$4.parseImportMeta=function(node){this.next();var containsEsc=this.containsEsc;return node.property=this.parseIdent(!0),"meta"!==node.property.name&&this.raiseRecoverable(node.property.start,"The only valid meta property for import is 'import.meta'"),containsEsc&&this.raiseRecoverable(node.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(node.start,"Cannot use 'import.meta' outside a module"),this.finishNode(node,"MetaProperty")},pp$4.parseLiteral=function(value){var node=this.startNode();return node.value=value,node.raw=this.input.slice(this.start,this.end),110===node.raw.charCodeAt(node.raw.length-1)&&(node.bigint=node.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(node,"Literal")},pp$4.parseParenExpression=function(){this.expect(types.parenL);var val=this.parseExpression();return this.expect(types.parenR),val},pp$4.parseParenAndDistinguishExpression=function(canBeArrow,forInit){var val,startPos=this.start,startLoc=this.startLoc,allowTrailingComma=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var spreadStart,innerStartPos=this.start,innerStartLoc=this.startLoc,exprList=[],first=!0,lastIsComma=!1,refDestructuringErrors=new DestructuringErrors,oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==types.parenR;){if(first?first=!1:this.expect(types.comma),allowTrailingComma&&this.afterTrailingComma(types.parenR,!0)){lastIsComma=!0;break}if(this.type===types.ellipsis){spreadStart=this.start,exprList.push(this.parseParenItem(this.parseRestBinding())),this.type===types.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}exprList.push(this.parseMaybeAssign(!1,refDestructuringErrors,this.parseParenItem))}var innerEndPos=this.lastTokEnd,innerEndLoc=this.lastTokEndLoc;if(this.expect(types.parenR),canBeArrow&&!this.canInsertSemicolon()&&this.eat(types.arrow))return this.checkPatternErrors(refDestructuringErrors,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.parseParenArrowList(startPos,startLoc,exprList,forInit);exprList.length&&!lastIsComma||this.unexpected(this.lastTokStart),spreadStart&&this.unexpected(spreadStart),this.checkExpressionErrors(refDestructuringErrors,!0),this.yieldPos=oldYieldPos||this.yieldPos,this.awaitPos=oldAwaitPos||this.awaitPos,exprList.length>1?((val=this.startNodeAt(innerStartPos,innerStartLoc)).expressions=exprList,this.finishNodeAt(val,"SequenceExpression",innerEndPos,innerEndLoc)):val=exprList[0]}else val=this.parseParenExpression();if(this.options.preserveParens){var par=this.startNodeAt(startPos,startLoc);return par.expression=val,this.finishNode(par,"ParenthesizedExpression")}return val},pp$4.parseParenItem=function(item){return item},pp$4.parseParenArrowList=function(startPos,startLoc,exprList,forInit){return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),exprList,forInit)};var empty$1=[];pp$4.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var node=this.startNode(),meta=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(types.dot)){node.meta=meta;var containsEsc=this.containsEsc;return node.property=this.parseIdent(!0),"target"!==node.property.name&&this.raiseRecoverable(node.property.start,"The only valid meta property for new is 'new.target'"),containsEsc&&this.raiseRecoverable(node.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(node.start,"'new.target' can only be used in functions and class static block"),this.finishNode(node,"MetaProperty")}var startPos=this.start,startLoc=this.startLoc,isImport=this.type===types._import;return node.callee=this.parseSubscripts(this.parseExprAtom(),startPos,startLoc,!0,!1),isImport&&"ImportExpression"===node.callee.type&&this.raise(startPos,"Cannot use new with import()"),this.eat(types.parenL)?node.arguments=this.parseExprList(types.parenR,this.options.ecmaVersion>=8,!1):node.arguments=empty$1,this.finishNode(node,"NewExpression")},pp$4.parseTemplateElement=function(ref){var isTagged=ref.isTagged,elem=this.startNode();return this.type===types.invalidTemplate?(isTagged||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),elem.value={raw:this.value,cooked:null}):elem.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),elem.tail=this.type===types.backQuote,this.finishNode(elem,"TemplateElement")},pp$4.parseTemplate=function(ref){void 0===ref&&(ref={});var isTagged=ref.isTagged;void 0===isTagged&&(isTagged=!1);var node=this.startNode();this.next(),node.expressions=[];var curElt=this.parseTemplateElement({isTagged:isTagged});for(node.quasis=[curElt];!curElt.tail;)this.type===types.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(types.dollarBraceL),node.expressions.push(this.parseExpression()),this.expect(types.braceR),node.quasis.push(curElt=this.parseTemplateElement({isTagged:isTagged}));return this.next(),this.finishNode(node,"TemplateLiteral")},pp$4.isAsyncProp=function(prop){return!prop.computed&&"Identifier"===prop.key.type&&"async"===prop.key.name&&(this.type===types.name||this.type===types.num||this.type===types.string||this.type===types.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===types.star)&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},pp$4.parseObj=function(isPattern,refDestructuringErrors){var node=this.startNode(),first=!0,propHash={};for(node.properties=[],this.next();!this.eat(types.braceR);){if(first)first=!1;else if(this.expect(types.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(types.braceR))break;var prop=this.parseProperty(isPattern,refDestructuringErrors);isPattern||this.checkPropClash(prop,propHash,refDestructuringErrors),node.properties.push(prop)}return this.finishNode(node,isPattern?"ObjectPattern":"ObjectExpression")},pp$4.parseProperty=function(isPattern,refDestructuringErrors){var isGenerator,isAsync,startPos,startLoc,prop=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(types.ellipsis))return isPattern?(prop.argument=this.parseIdent(!1),this.type===types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(prop,"RestElement")):(this.type===types.parenL&&refDestructuringErrors&&(refDestructuringErrors.parenthesizedAssign<0&&(refDestructuringErrors.parenthesizedAssign=this.start),refDestructuringErrors.parenthesizedBind<0&&(refDestructuringErrors.parenthesizedBind=this.start)),prop.argument=this.parseMaybeAssign(!1,refDestructuringErrors),this.type===types.comma&&refDestructuringErrors&&refDestructuringErrors.trailingComma<0&&(refDestructuringErrors.trailingComma=this.start),this.finishNode(prop,"SpreadElement"));this.options.ecmaVersion>=6&&(prop.method=!1,prop.shorthand=!1,(isPattern||refDestructuringErrors)&&(startPos=this.start,startLoc=this.startLoc),isPattern||(isGenerator=this.eat(types.star)));var containsEsc=this.containsEsc;return this.parsePropertyName(prop),!isPattern&&!containsEsc&&this.options.ecmaVersion>=8&&!isGenerator&&this.isAsyncProp(prop)?(isAsync=!0,isGenerator=this.options.ecmaVersion>=9&&this.eat(types.star),this.parsePropertyName(prop,refDestructuringErrors)):isAsync=!1,this.parsePropertyValue(prop,isPattern,isGenerator,isAsync,startPos,startLoc,refDestructuringErrors,containsEsc),this.finishNode(prop,"Property")},pp$4.parsePropertyValue=function(prop,isPattern,isGenerator,isAsync,startPos,startLoc,refDestructuringErrors,containsEsc){if((isGenerator||isAsync)&&this.type===types.colon&&this.unexpected(),this.eat(types.colon))prop.value=isPattern?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,refDestructuringErrors),prop.kind="init";else if(this.options.ecmaVersion>=6&&this.type===types.parenL)isPattern&&this.unexpected(),prop.kind="init",prop.method=!0,prop.value=this.parseMethod(isGenerator,isAsync);else if(isPattern||containsEsc||!(this.options.ecmaVersion>=5)||prop.computed||"Identifier"!==prop.key.type||"get"!==prop.key.name&&"set"!==prop.key.name||this.type===types.comma||this.type===types.braceR||this.type===types.eq)this.options.ecmaVersion>=6&&!prop.computed&&"Identifier"===prop.key.type?((isGenerator||isAsync)&&this.unexpected(),this.checkUnreserved(prop.key),"await"!==prop.key.name||this.awaitIdentPos||(this.awaitIdentPos=startPos),prop.kind="init",isPattern?prop.value=this.parseMaybeDefault(startPos,startLoc,this.copyNode(prop.key)):this.type===types.eq&&refDestructuringErrors?(refDestructuringErrors.shorthandAssign<0&&(refDestructuringErrors.shorthandAssign=this.start),prop.value=this.parseMaybeDefault(startPos,startLoc,this.copyNode(prop.key))):prop.value=this.copyNode(prop.key),prop.shorthand=!0):this.unexpected();else{(isGenerator||isAsync)&&this.unexpected(),prop.kind=prop.key.name,this.parsePropertyName(prop),prop.value=this.parseMethod(!1);var paramCount="get"===prop.kind?0:1;if(prop.value.params.length!==paramCount){var start=prop.value.start;"get"===prop.kind?this.raiseRecoverable(start,"getter should have no params"):this.raiseRecoverable(start,"setter should have exactly one param")}else"set"===prop.kind&&"RestElement"===prop.value.params[0].type&&this.raiseRecoverable(prop.value.params[0].start,"Setter cannot use rest params")}},pp$4.parsePropertyName=function(prop){if(this.options.ecmaVersion>=6){if(this.eat(types.bracketL))return prop.computed=!0,prop.key=this.parseMaybeAssign(),this.expect(types.bracketR),prop.key;prop.computed=!1}return prop.key=this.type===types.num||this.type===types.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},pp$4.initFunction=function(node){node.id=null,this.options.ecmaVersion>=6&&(node.generator=node.expression=!1),this.options.ecmaVersion>=8&&(node.async=!1)},pp$4.parseMethod=function(isGenerator,isAsync,allowDirectSuper){var node=this.startNode(),oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.initFunction(node),this.options.ecmaVersion>=6&&(node.generator=isGenerator),this.options.ecmaVersion>=8&&(node.async=!!isAsync),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(isAsync,node.generator)|SCOPE_SUPER|(allowDirectSuper?SCOPE_DIRECT_SUPER:0)),this.expect(types.parenL),node.params=this.parseBindingList(types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(node,!1,!0,!1),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,"FunctionExpression")},pp$4.parseArrowExpression=function(node,params,isAsync,forInit){var oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.enterScope(functionFlags(isAsync,!1)|SCOPE_ARROW),this.initFunction(node),this.options.ecmaVersion>=8&&(node.async=!!isAsync),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,node.params=this.toAssignableList(params,!0),this.parseFunctionBody(node,!0,!1,forInit),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,"ArrowFunctionExpression")},pp$4.parseFunctionBody=function(node,isArrowFunction,isMethod,forInit){var isExpression=isArrowFunction&&this.type!==types.braceL,oldStrict=this.strict,useStrict=!1;if(isExpression)node.body=this.parseMaybeAssign(forInit),node.expression=!0,this.checkParams(node,!1);else{var nonSimple=this.options.ecmaVersion>=7&&!this.isSimpleParamList(node.params);oldStrict&&!nonSimple||(useStrict=this.strictDirective(this.end))&&nonSimple&&this.raiseRecoverable(node.start,"Illegal 'use strict' directive in function with non-simple parameter list");var oldLabels=this.labels;this.labels=[],useStrict&&(this.strict=!0),this.checkParams(node,!oldStrict&&!useStrict&&!isArrowFunction&&!isMethod&&this.isSimpleParamList(node.params)),this.strict&&node.id&&this.checkLValSimple(node.id,BIND_OUTSIDE),node.body=this.parseBlock(!1,void 0,useStrict&&!oldStrict),node.expression=!1,this.adaptDirectivePrologue(node.body.body),this.labels=oldLabels}this.exitScope()},pp$4.isSimpleParamList=function(params){for(var i=0,list=params;i<list.length;i+=1)if("Identifier"!==list[i].type)return!1;return!0},pp$4.checkParams=function(node,allowDuplicates){for(var nameHash=Object.create(null),i=0,list=node.params;i<list.length;i+=1){var param=list[i];this.checkLValInnerPattern(param,BIND_VAR,allowDuplicates?null:nameHash)}},pp$4.parseExprList=function(close,allowTrailingComma,allowEmpty,refDestructuringErrors){for(var elts=[],first=!0;!this.eat(close);){if(first)first=!1;else if(this.expect(types.comma),allowTrailingComma&&this.afterTrailingComma(close))break;var elt=void 0;allowEmpty&&this.type===types.comma?elt=null:this.type===types.ellipsis?(elt=this.parseSpread(refDestructuringErrors),refDestructuringErrors&&this.type===types.comma&&refDestructuringErrors.trailingComma<0&&(refDestructuringErrors.trailingComma=this.start)):elt=this.parseMaybeAssign(!1,refDestructuringErrors),elts.push(elt)}return elts},pp$4.checkUnreserved=function(ref){var start=ref.start,end=ref.end,name=ref.name;this.inGenerator&&"yield"===name&&this.raiseRecoverable(start,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===name&&this.raiseRecoverable(start,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===name&&this.raiseRecoverable(start,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==name&&"await"!==name||this.raise(start,"Cannot use "+name+" in class static initialization block"),this.keywords.test(name)&&this.raise(start,"Unexpected keyword '"+name+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(start,end).indexOf("\\")||(this.strict?this.reservedWordsStrict:this.reservedWords).test(name)&&(this.inAsync||"await"!==name||this.raiseRecoverable(start,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(start,"The keyword '"+name+"' is reserved"))},pp$4.parseIdent=function(liberal,isBinding){var node=this.startNode();return this.type===types.name?node.name=this.value:this.type.keyword?(node.name=this.type.keyword,"class"!==node.name&&"function"!==node.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop()):this.unexpected(),this.next(!!liberal),this.finishNode(node,"Identifier"),liberal||(this.checkUnreserved(node),"await"!==node.name||this.awaitIdentPos||(this.awaitIdentPos=node.start)),node},pp$4.parsePrivateIdent=function(){var node=this.startNode();return this.type===types.privateId?node.name=this.value:this.unexpected(),this.next(),this.finishNode(node,"PrivateIdentifier"),0===this.privateNameStack.length?this.raise(node.start,"Private field '#"+node.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(node),node},pp$4.parseYield=function(forInit){this.yieldPos||(this.yieldPos=this.start);var node=this.startNode();return this.next(),this.type===types.semi||this.canInsertSemicolon()||this.type!==types.star&&!this.type.startsExpr?(node.delegate=!1,node.argument=null):(node.delegate=this.eat(types.star),node.argument=this.parseMaybeAssign(forInit)),this.finishNode(node,"YieldExpression")},pp$4.parseAwait=function(forInit){this.awaitPos||(this.awaitPos=this.start);var node=this.startNode();return this.next(),node.argument=this.parseMaybeUnary(null,!0,!1,forInit),this.finishNode(node,"AwaitExpression")};var pp$5=Parser.prototype;pp$5.raise=function(pos,message){var loc=getLineInfo(this.input,pos);message+=" ("+loc.line+":"+loc.column+")";var err=new SyntaxError(message);throw err.pos=pos,err.loc=loc,err.raisedAt=this.pos,err},pp$5.raiseRecoverable=pp$5.raise,pp$5.curPosition=function(){if(this.options.locations)return new Position(this.curLine,this.pos-this.lineStart)};var pp$6=Parser.prototype,Scope=function Scope(flags){this.flags=flags,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};pp$6.enterScope=function(flags){this.scopeStack.push(new Scope(flags))},pp$6.exitScope=function(){this.scopeStack.pop()},pp$6.treatFunctionsAsVarInScope=function(scope){return scope.flags&SCOPE_FUNCTION||!this.inModule&&scope.flags&SCOPE_TOP},pp$6.declareName=function(name,bindingType,pos){var redeclared=!1;if(bindingType===BIND_LEXICAL){var scope=this.currentScope();redeclared=scope.lexical.indexOf(name)>-1||scope.functions.indexOf(name)>-1||scope.var.indexOf(name)>-1,scope.lexical.push(name),this.inModule&&scope.flags&SCOPE_TOP&&delete this.undefinedExports[name]}else if(bindingType===BIND_SIMPLE_CATCH)this.currentScope().lexical.push(name);else if(bindingType===BIND_FUNCTION){var scope$2=this.currentScope();redeclared=this.treatFunctionsAsVar?scope$2.lexical.indexOf(name)>-1:scope$2.lexical.indexOf(name)>-1||scope$2.var.indexOf(name)>-1,scope$2.functions.push(name)}else for(var i=this.scopeStack.length-1;i>=0;--i){var scope$3=this.scopeStack[i];if(scope$3.lexical.indexOf(name)>-1&&!(scope$3.flags&SCOPE_SIMPLE_CATCH&&scope$3.lexical[0]===name)||!this.treatFunctionsAsVarInScope(scope$3)&&scope$3.functions.indexOf(name)>-1){redeclared=!0;break}if(scope$3.var.push(name),this.inModule&&scope$3.flags&SCOPE_TOP&&delete this.undefinedExports[name],scope$3.flags&SCOPE_VAR)break}redeclared&&this.raiseRecoverable(pos,"Identifier '"+name+"' has already been declared")},pp$6.checkLocalExport=function(id){-1===this.scopeStack[0].lexical.indexOf(id.name)&&-1===this.scopeStack[0].var.indexOf(id.name)&&(this.undefinedExports[id.name]=id)},pp$6.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},pp$6.currentVarScope=function(){for(var i=this.scopeStack.length-1;;i--){var scope=this.scopeStack[i];if(scope.flags&SCOPE_VAR)return scope}},pp$6.currentThisScope=function(){for(var i=this.scopeStack.length-1;;i--){var scope=this.scopeStack[i];if(scope.flags&SCOPE_VAR&&!(scope.flags&SCOPE_ARROW))return scope}};var Node=function Node(parser,pos,loc){this.type="",this.start=pos,this.end=0,parser.options.locations&&(this.loc=new SourceLocation(parser,loc)),parser.options.directSourceFile&&(this.sourceFile=parser.options.directSourceFile),parser.options.ranges&&(this.range=[pos,0])},pp$7=Parser.prototype;function finishNodeAt(node,type,pos,loc){return node.type=type,node.end=pos,this.options.locations&&(node.loc.end=loc),this.options.ranges&&(node.range[1]=pos),node}pp$7.startNode=function(){return new Node(this,this.start,this.startLoc)},pp$7.startNodeAt=function(pos,loc){return new Node(this,pos,loc)},pp$7.finishNode=function(node,type){return finishNodeAt.call(this,node,type,this.lastTokEnd,this.lastTokEndLoc)},pp$7.finishNodeAt=function(node,type,pos,loc){return finishNodeAt.call(this,node,type,pos,loc)},pp$7.copyNode=function(node){var newNode=new Node(this,node.start,this.startLoc);for(var prop in node)newNode[prop]=node[prop];return newNode};var ecma9BinaryProperties="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ecma10BinaryProperties=ecma9BinaryProperties+" Extended_Pictographic",unicodeBinaryProperties={9:ecma9BinaryProperties,10:ecma10BinaryProperties,11:ecma10BinaryProperties,12:ecma10BinaryProperties+" EBase EComp EMod EPres ExtPict"},unicodeGeneralCategoryValues="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",ecma9ScriptValues="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ecma10ScriptValues=ecma9ScriptValues+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ecma11ScriptValues=ecma10ScriptValues+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",unicodeScriptValues={9:ecma9ScriptValues,10:ecma10ScriptValues,11:ecma11ScriptValues,12:ecma11ScriptValues+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi"},data={};function buildUnicodeData(ecmaVersion){var d=data[ecmaVersion]={binary:wordsRegexp(unicodeBinaryProperties[ecmaVersion]+" "+unicodeGeneralCategoryValues),nonBinary:{General_Category:wordsRegexp(unicodeGeneralCategoryValues),Script:wordsRegexp(unicodeScriptValues[ecmaVersion])}};d.nonBinary.Script_Extensions=d.nonBinary.Script,d.nonBinary.gc=d.nonBinary.General_Category,d.nonBinary.sc=d.nonBinary.Script,d.nonBinary.scx=d.nonBinary.Script_Extensions}buildUnicodeData(9),buildUnicodeData(10),buildUnicodeData(11),buildUnicodeData(12);var pp$8=Parser.prototype,RegExpValidationState=function RegExpValidationState(parser){this.parser=parser,this.validFlags="gim"+(parser.options.ecmaVersion>=6?"uy":"")+(parser.options.ecmaVersion>=9?"s":"")+(parser.options.ecmaVersion>=13?"d":""),this.unicodeProperties=data[parser.options.ecmaVersion>=12?12:parser.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString(ch){return ch<=65535?String.fromCharCode(ch):(ch-=65536,String.fromCharCode(55296+(ch>>10),56320+(1023&ch)))}function isSyntaxCharacter(ch){return 36===ch||ch>=40&&ch<=43||46===ch||63===ch||ch>=91&&ch<=94||ch>=123&&ch<=125}function isRegExpIdentifierStart(ch){return isIdentifierStart(ch,!0)||36===ch||95===ch}function isRegExpIdentifierPart(ch){return isIdentifierChar(ch,!0)||36===ch||95===ch||8204===ch||8205===ch}function isControlLetter(ch){return ch>=65&&ch<=90||ch>=97&&ch<=122}function isValidUnicode(ch){return ch>=0&&ch<=1114111}function isCharacterClassEscape(ch){return 100===ch||68===ch||115===ch||83===ch||119===ch||87===ch}function isUnicodePropertyNameCharacter(ch){return isControlLetter(ch)||95===ch}function isUnicodePropertyValueCharacter(ch){return isUnicodePropertyNameCharacter(ch)||isDecimalDigit(ch)}function isDecimalDigit(ch){return ch>=48&&ch<=57}function isHexDigit(ch){return ch>=48&&ch<=57||ch>=65&&ch<=70||ch>=97&&ch<=102}function hexToInt(ch){return ch>=65&&ch<=70?ch-65+10:ch>=97&&ch<=102?ch-97+10:ch-48}function isOctalDigit(ch){return ch>=48&&ch<=55}RegExpValidationState.prototype.reset=function reset(start,pattern,flags){var unicode=-1!==flags.indexOf("u");this.start=0|start,this.source=pattern+"",this.flags=flags,this.switchU=unicode&&this.parser.options.ecmaVersion>=6,this.switchN=unicode&&this.parser.options.ecmaVersion>=9},RegExpValidationState.prototype.raise=function raise(message){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+message)},RegExpValidationState.prototype.at=function at(i,forceU){void 0===forceU&&(forceU=!1);var s=this.source,l=s.length;if(i>=l)return-1;var c=s.charCodeAt(i);if(!forceU&&!this.switchU||c<=55295||c>=57344||i+1>=l)return c;var next=s.charCodeAt(i+1);return next>=56320&&next<=57343?(c<<10)+next-56613888:c},RegExpValidationState.prototype.nextIndex=function nextIndex(i,forceU){void 0===forceU&&(forceU=!1);var s=this.source,l=s.length;if(i>=l)return l;var next,c=s.charCodeAt(i);return!forceU&&!this.switchU||c<=55295||c>=57344||i+1>=l||(next=s.charCodeAt(i+1))<56320||next>57343?i+1:i+2},RegExpValidationState.prototype.current=function current(forceU){return void 0===forceU&&(forceU=!1),this.at(this.pos,forceU)},RegExpValidationState.prototype.lookahead=function lookahead(forceU){return void 0===forceU&&(forceU=!1),this.at(this.nextIndex(this.pos,forceU),forceU)},RegExpValidationState.prototype.advance=function advance(forceU){void 0===forceU&&(forceU=!1),this.pos=this.nextIndex(this.pos,forceU)},RegExpValidationState.prototype.eat=function eat(ch,forceU){return void 0===forceU&&(forceU=!1),this.current(forceU)===ch&&(this.advance(forceU),!0)},pp$8.validateRegExpFlags=function(state){for(var validFlags=state.validFlags,flags=state.flags,i=0;i<flags.length;i++){var flag=flags.charAt(i);-1===validFlags.indexOf(flag)&&this.raise(state.start,"Invalid regular expression flag"),flags.indexOf(flag,i+1)>-1&&this.raise(state.start,"Duplicate regular expression flag")}},pp$8.validateRegExpPattern=function(state){this.regexp_pattern(state),!state.switchN&&this.options.ecmaVersion>=9&&state.groupNames.length>0&&(state.switchN=!0,this.regexp_pattern(state))},pp$8.regexp_pattern=function(state){state.pos=0,state.lastIntValue=0,state.lastStringValue="",state.lastAssertionIsQuantifiable=!1,state.numCapturingParens=0,state.maxBackReference=0,state.groupNames.length=0,state.backReferenceNames.length=0,this.regexp_disjunction(state),state.pos!==state.source.length&&(state.eat(41)&&state.raise("Unmatched ')'"),(state.eat(93)||state.eat(125))&&state.raise("Lone quantifier brackets")),state.maxBackReference>state.numCapturingParens&&state.raise("Invalid escape");for(var i=0,list=state.backReferenceNames;i<list.length;i+=1){var name=list[i];-1===state.groupNames.indexOf(name)&&state.raise("Invalid named capture referenced")}},pp$8.regexp_disjunction=function(state){for(this.regexp_alternative(state);state.eat(124);)this.regexp_alternative(state);this.regexp_eatQuantifier(state,!0)&&state.raise("Nothing to repeat"),state.eat(123)&&state.raise("Lone quantifier brackets")},pp$8.regexp_alternative=function(state){for(;state.pos<state.source.length&&this.regexp_eatTerm(state););},pp$8.regexp_eatTerm=function(state){return this.regexp_eatAssertion(state)?(state.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(state)&&state.switchU&&state.raise("Invalid quantifier"),!0):!!(state.switchU?this.regexp_eatAtom(state):this.regexp_eatExtendedAtom(state))&&(this.regexp_eatQuantifier(state),!0)},pp$8.regexp_eatAssertion=function(state){var start=state.pos;if(state.lastAssertionIsQuantifiable=!1,state.eat(94)||state.eat(36))return!0;if(state.eat(92)){if(state.eat(66)||state.eat(98))return!0;state.pos=start}if(state.eat(40)&&state.eat(63)){var lookbehind=!1;if(this.options.ecmaVersion>=9&&(lookbehind=state.eat(60)),state.eat(61)||state.eat(33))return this.regexp_disjunction(state),state.eat(41)||state.raise("Unterminated group"),state.lastAssertionIsQuantifiable=!lookbehind,!0}return state.pos=start,!1},pp$8.regexp_eatQuantifier=function(state,noError){return void 0===noError&&(noError=!1),!!this.regexp_eatQuantifierPrefix(state,noError)&&(state.eat(63),!0)},pp$8.regexp_eatQuantifierPrefix=function(state,noError){return state.eat(42)||state.eat(43)||state.eat(63)||this.regexp_eatBracedQuantifier(state,noError)},pp$8.regexp_eatBracedQuantifier=function(state,noError){var start=state.pos;if(state.eat(123)){var min=0,max=-1;if(this.regexp_eatDecimalDigits(state)&&(min=state.lastIntValue,state.eat(44)&&this.regexp_eatDecimalDigits(state)&&(max=state.lastIntValue),state.eat(125)))return-1!==max&&max<min&&!noError&&state.raise("numbers out of order in {} quantifier"),!0;state.switchU&&!noError&&state.raise("Incomplete quantifier"),state.pos=start}return!1},pp$8.regexp_eatAtom=function(state){return this.regexp_eatPatternCharacters(state)||state.eat(46)||this.regexp_eatReverseSolidusAtomEscape(state)||this.regexp_eatCharacterClass(state)||this.regexp_eatUncapturingGroup(state)||this.regexp_eatCapturingGroup(state)},pp$8.regexp_eatReverseSolidusAtomEscape=function(state){var start=state.pos;if(state.eat(92)){if(this.regexp_eatAtomEscape(state))return!0;state.pos=start}return!1},pp$8.regexp_eatUncapturingGroup=function(state){var start=state.pos;if(state.eat(40)){if(state.eat(63)&&state.eat(58)){if(this.regexp_disjunction(state),state.eat(41))return!0;state.raise("Unterminated group")}state.pos=start}return!1},pp$8.regexp_eatCapturingGroup=function(state){if(state.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(state):63===state.current()&&state.raise("Invalid group"),this.regexp_disjunction(state),state.eat(41))return state.numCapturingParens+=1,!0;state.raise("Unterminated group")}return!1},pp$8.regexp_eatExtendedAtom=function(state){return state.eat(46)||this.regexp_eatReverseSolidusAtomEscape(state)||this.regexp_eatCharacterClass(state)||this.regexp_eatUncapturingGroup(state)||this.regexp_eatCapturingGroup(state)||this.regexp_eatInvalidBracedQuantifier(state)||this.regexp_eatExtendedPatternCharacter(state)},pp$8.regexp_eatInvalidBracedQuantifier=function(state){return this.regexp_eatBracedQuantifier(state,!0)&&state.raise("Nothing to repeat"),!1},pp$8.regexp_eatSyntaxCharacter=function(state){var ch=state.current();return!!isSyntaxCharacter(ch)&&(state.lastIntValue=ch,state.advance(),!0)},pp$8.regexp_eatPatternCharacters=function(state){for(var start=state.pos,ch=0;-1!==(ch=state.current())&&!isSyntaxCharacter(ch);)state.advance();return state.pos!==start},pp$8.regexp_eatExtendedPatternCharacter=function(state){var ch=state.current();return!(-1===ch||36===ch||ch>=40&&ch<=43||46===ch||63===ch||91===ch||94===ch||124===ch||(state.advance(),0))},pp$8.regexp_groupSpecifier=function(state){if(state.eat(63)){if(this.regexp_eatGroupName(state))return-1!==state.groupNames.indexOf(state.lastStringValue)&&state.raise("Duplicate capture group name"),void state.groupNames.push(state.lastStringValue);state.raise("Invalid group")}},pp$8.regexp_eatGroupName=function(state){if(state.lastStringValue="",state.eat(60)){if(this.regexp_eatRegExpIdentifierName(state)&&state.eat(62))return!0;state.raise("Invalid capture group name")}return!1},pp$8.regexp_eatRegExpIdentifierName=function(state){if(state.lastStringValue="",this.regexp_eatRegExpIdentifierStart(state)){for(state.lastStringValue+=codePointToString(state.lastIntValue);this.regexp_eatRegExpIdentifierPart(state);)state.lastStringValue+=codePointToString(state.lastIntValue);return!0}return!1},pp$8.regexp_eatRegExpIdentifierStart=function(state){var start=state.pos,forceU=this.options.ecmaVersion>=11,ch=state.current(forceU);return state.advance(forceU),92===ch&&this.regexp_eatRegExpUnicodeEscapeSequence(state,forceU)&&(ch=state.lastIntValue),isRegExpIdentifierStart(ch)?(state.lastIntValue=ch,!0):(state.pos=start,!1)},pp$8.regexp_eatRegExpIdentifierPart=function(state){var start=state.pos,forceU=this.options.ecmaVersion>=11,ch=state.current(forceU);return state.advance(forceU),92===ch&&this.regexp_eatRegExpUnicodeEscapeSequence(state,forceU)&&(ch=state.lastIntValue),isRegExpIdentifierPart(ch)?(state.lastIntValue=ch,!0):(state.pos=start,!1)},pp$8.regexp_eatAtomEscape=function(state){return!!(this.regexp_eatBackReference(state)||this.regexp_eatCharacterClassEscape(state)||this.regexp_eatCharacterEscape(state)||state.switchN&&this.regexp_eatKGroupName(state))||(state.switchU&&(99===state.current()&&state.raise("Invalid unicode escape"),state.raise("Invalid escape")),!1)},pp$8.regexp_eatBackReference=function(state){var start=state.pos;if(this.regexp_eatDecimalEscape(state)){var n=state.lastIntValue;if(state.switchU)return n>state.maxBackReference&&(state.maxBackReference=n),!0;if(n<=state.numCapturingParens)return!0;state.pos=start}return!1},pp$8.regexp_eatKGroupName=function(state){if(state.eat(107)){if(this.regexp_eatGroupName(state))return state.backReferenceNames.push(state.lastStringValue),!0;state.raise("Invalid named reference")}return!1},pp$8.regexp_eatCharacterEscape=function(state){return this.regexp_eatControlEscape(state)||this.regexp_eatCControlLetter(state)||this.regexp_eatZero(state)||this.regexp_eatHexEscapeSequence(state)||this.regexp_eatRegExpUnicodeEscapeSequence(state,!1)||!state.switchU&&this.regexp_eatLegacyOctalEscapeSequence(state)||this.regexp_eatIdentityEscape(state)},pp$8.regexp_eatCControlLetter=function(state){var start=state.pos;if(state.eat(99)){if(this.regexp_eatControlLetter(state))return!0;state.pos=start}return!1},pp$8.regexp_eatZero=function(state){return 48===state.current()&&!isDecimalDigit(state.lookahead())&&(state.lastIntValue=0,state.advance(),!0)},pp$8.regexp_eatControlEscape=function(state){var ch=state.current();return 116===ch?(state.lastIntValue=9,state.advance(),!0):110===ch?(state.lastIntValue=10,state.advance(),!0):118===ch?(state.lastIntValue=11,state.advance(),!0):102===ch?(state.lastIntValue=12,state.advance(),!0):114===ch&&(state.lastIntValue=13,state.advance(),!0)},pp$8.regexp_eatControlLetter=function(state){var ch=state.current();return!!isControlLetter(ch)&&(state.lastIntValue=ch%32,state.advance(),!0)},pp$8.regexp_eatRegExpUnicodeEscapeSequence=function(state,forceU){void 0===forceU&&(forceU=!1);var start=state.pos,switchU=forceU||state.switchU;if(state.eat(117)){if(this.regexp_eatFixedHexDigits(state,4)){var lead=state.lastIntValue;if(switchU&&lead>=55296&&lead<=56319){var leadSurrogateEnd=state.pos;if(state.eat(92)&&state.eat(117)&&this.regexp_eatFixedHexDigits(state,4)){var trail=state.lastIntValue;if(trail>=56320&&trail<=57343)return state.lastIntValue=1024*(lead-55296)+(trail-56320)+65536,!0}state.pos=leadSurrogateEnd,state.lastIntValue=lead}return!0}if(switchU&&state.eat(123)&&this.regexp_eatHexDigits(state)&&state.eat(125)&&isValidUnicode(state.lastIntValue))return!0;switchU&&state.raise("Invalid unicode escape"),state.pos=start}return!1},pp$8.regexp_eatIdentityEscape=function(state){if(state.switchU)return!!this.regexp_eatSyntaxCharacter(state)||!!state.eat(47)&&(state.lastIntValue=47,!0);var ch=state.current();return!(99===ch||state.switchN&&107===ch||(state.lastIntValue=ch,state.advance(),0))},pp$8.regexp_eatDecimalEscape=function(state){state.lastIntValue=0;var ch=state.current();if(ch>=49&&ch<=57){do{state.lastIntValue=10*state.lastIntValue+(ch-48),state.advance()}while((ch=state.current())>=48&&ch<=57);return!0}return!1},pp$8.regexp_eatCharacterClassEscape=function(state){var ch=state.current();if(isCharacterClassEscape(ch))return state.lastIntValue=-1,state.advance(),!0;if(state.switchU&&this.options.ecmaVersion>=9&&(80===ch||112===ch)){if(state.lastIntValue=-1,state.advance(),state.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(state)&&state.eat(125))return!0;state.raise("Invalid property name")}return!1},pp$8.regexp_eatUnicodePropertyValueExpression=function(state){var start=state.pos;if(this.regexp_eatUnicodePropertyName(state)&&state.eat(61)){var name=state.lastStringValue;if(this.regexp_eatUnicodePropertyValue(state)){var value=state.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(state,name,value),!0}}if(state.pos=start,this.regexp_eatLoneUnicodePropertyNameOrValue(state)){var nameOrValue=state.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(state,nameOrValue),!0}return!1},pp$8.regexp_validateUnicodePropertyNameAndValue=function(state,name,value){has(state.unicodeProperties.nonBinary,name)||state.raise("Invalid property name"),state.unicodeProperties.nonBinary[name].test(value)||state.raise("Invalid property value")},pp$8.regexp_validateUnicodePropertyNameOrValue=function(state,nameOrValue){state.unicodeProperties.binary.test(nameOrValue)||state.raise("Invalid property name")},pp$8.regexp_eatUnicodePropertyName=function(state){var ch=0;for(state.lastStringValue="";isUnicodePropertyNameCharacter(ch=state.current());)state.lastStringValue+=codePointToString(ch),state.advance();return""!==state.lastStringValue},pp$8.regexp_eatUnicodePropertyValue=function(state){var ch=0;for(state.lastStringValue="";isUnicodePropertyValueCharacter(ch=state.current());)state.lastStringValue+=codePointToString(ch),state.advance();return""!==state.lastStringValue},pp$8.regexp_eatLoneUnicodePropertyNameOrValue=function(state){return this.regexp_eatUnicodePropertyValue(state)},pp$8.regexp_eatCharacterClass=function(state){if(state.eat(91)){if(state.eat(94),this.regexp_classRanges(state),state.eat(93))return!0;state.raise("Unterminated character class")}return!1},pp$8.regexp_classRanges=function(state){for(;this.regexp_eatClassAtom(state);){var left=state.lastIntValue;if(state.eat(45)&&this.regexp_eatClassAtom(state)){var right=state.lastIntValue;!state.switchU||-1!==left&&-1!==right||state.raise("Invalid character class"),-1!==left&&-1!==right&&left>right&&state.raise("Range out of order in character class")}}},pp$8.regexp_eatClassAtom=function(state){var start=state.pos;if(state.eat(92)){if(this.regexp_eatClassEscape(state))return!0;if(state.switchU){var ch$1=state.current();(99===ch$1||isOctalDigit(ch$1))&&state.raise("Invalid class escape"),state.raise("Invalid escape")}state.pos=start}var ch=state.current();return 93!==ch&&(state.lastIntValue=ch,state.advance(),!0)},pp$8.regexp_eatClassEscape=function(state){var start=state.pos;if(state.eat(98))return state.lastIntValue=8,!0;if(state.switchU&&state.eat(45))return state.lastIntValue=45,!0;if(!state.switchU&&state.eat(99)){if(this.regexp_eatClassControlLetter(state))return!0;state.pos=start}return this.regexp_eatCharacterClassEscape(state)||this.regexp_eatCharacterEscape(state)},pp$8.regexp_eatClassControlLetter=function(state){var ch=state.current();return!(!isDecimalDigit(ch)&&95!==ch||(state.lastIntValue=ch%32,state.advance(),0))},pp$8.regexp_eatHexEscapeSequence=function(state){var start=state.pos;if(state.eat(120)){if(this.regexp_eatFixedHexDigits(state,2))return!0;state.switchU&&state.raise("Invalid escape"),state.pos=start}return!1},pp$8.regexp_eatDecimalDigits=function(state){var start=state.pos,ch=0;for(state.lastIntValue=0;isDecimalDigit(ch=state.current());)state.lastIntValue=10*state.lastIntValue+(ch-48),state.advance();return state.pos!==start},pp$8.regexp_eatHexDigits=function(state){var start=state.pos,ch=0;for(state.lastIntValue=0;isHexDigit(ch=state.current());)state.lastIntValue=16*state.lastIntValue+hexToInt(ch),state.advance();return state.pos!==start},pp$8.regexp_eatLegacyOctalEscapeSequence=function(state){if(this.regexp_eatOctalDigit(state)){var n1=state.lastIntValue;if(this.regexp_eatOctalDigit(state)){var n2=state.lastIntValue;n1<=3&&this.regexp_eatOctalDigit(state)?state.lastIntValue=64*n1+8*n2+state.lastIntValue:state.lastIntValue=8*n1+n2}else state.lastIntValue=n1;return!0}return!1},pp$8.regexp_eatOctalDigit=function(state){var ch=state.current();return isOctalDigit(ch)?(state.lastIntValue=ch-48,state.advance(),!0):(state.lastIntValue=0,!1)},pp$8.regexp_eatFixedHexDigits=function(state,length){var start=state.pos;state.lastIntValue=0;for(var i=0;i<length;++i){var ch=state.current();if(!isHexDigit(ch))return state.pos=start,!1;state.lastIntValue=16*state.lastIntValue+hexToInt(ch),state.advance()}return!0};var Token=function Token(p){this.type=p.type,this.value=p.value,this.start=p.start,this.end=p.end,p.options.locations&&(this.loc=new SourceLocation(p,p.startLoc,p.endLoc)),p.options.ranges&&(this.range=[p.start,p.end])},pp$9=Parser.prototype;function stringToNumber(str,isLegacyOctalNumericLiteral){return isLegacyOctalNumericLiteral?parseInt(str,8):parseFloat(str.replace(/_/g,""))}function stringToBigInt(str){return"function"!=typeof BigInt?null:BigInt(str.replace(/_/g,""))}function codePointToString$1(code){return code<=65535?String.fromCharCode(code):(code-=65536,String.fromCharCode(55296+(code>>10),56320+(1023&code)))}pp$9.next=function(ignoreEscapeSequenceInKeyword){!ignoreEscapeSequenceInKeyword&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Token(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},pp$9.getToken=function(){return this.next(),new Token(this)},"undefined"!=typeof Symbol&&(pp$9[Symbol.iterator]=function(){var this$1=this;return{next:function(){var token=this$1.getToken();return{done:token.type===types.eof,value:token}}}}),pp$9.nextToken=function(){var curContext=this.curContext();return curContext&&curContext.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(types.eof):curContext.override?curContext.override(this):void this.readToken(this.fullCharCodeAtPos())},pp$9.readToken=function(code){return isIdentifierStart(code,this.options.ecmaVersion>=6)||92===code?this.readWord():this.getTokenFromCode(code)},pp$9.fullCharCodeAtPos=function(){var code=this.input.charCodeAt(this.pos);if(code<=55295||code>=56320)return code;var next=this.input.charCodeAt(this.pos+1);return next<=56319||next>=57344?code:(code<<10)+next-56613888},pp$9.skipBlockComment=function(){var match,startLoc=this.options.onComment&&this.curPosition(),start=this.pos,end=this.input.indexOf("*/",this.pos+=2);if(-1===end&&this.raise(this.pos-2,"Unterminated comment"),this.pos=end+2,this.options.locations)for(lineBreakG.lastIndex=start;(match=lineBreakG.exec(this.input))&&match.index<this.pos;)++this.curLine,this.lineStart=match.index+match[0].length;this.options.onComment&&this.options.onComment(!0,this.input.slice(start+2,end),start,this.pos,startLoc,this.curPosition())},pp$9.skipLineComment=function(startSkip){for(var start=this.pos,startLoc=this.options.onComment&&this.curPosition(),ch=this.input.charCodeAt(this.pos+=startSkip);this.pos<this.input.length&&!isNewLine(ch);)ch=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(start+startSkip,this.pos),start,this.pos,startLoc,this.curPosition())},pp$9.skipSpace=function(){loop:for(;this.pos<this.input.length;){var ch=this.input.charCodeAt(this.pos);switch(ch){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break loop}break;default:if(!(ch>8&&ch<14||ch>=5760&&nonASCIIwhitespace.test(String.fromCharCode(ch))))break loop;++this.pos}}},pp$9.finishToken=function(type,val){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var prevType=this.type;this.type=type,this.value=val,this.updateContext(prevType)},pp$9.readToken_dot=function(){var next=this.input.charCodeAt(this.pos+1);if(next>=48&&next<=57)return this.readNumber(!0);var next2=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===next&&46===next2?(this.pos+=3,this.finishToken(types.ellipsis)):(++this.pos,this.finishToken(types.dot))},pp$9.readToken_slash=function(){var next=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===next?this.finishOp(types.assign,2):this.finishOp(types.slash,1)},pp$9.readToken_mult_modulo_exp=function(code){var next=this.input.charCodeAt(this.pos+1),size=1,tokentype=42===code?types.star:types.modulo;return this.options.ecmaVersion>=7&&42===code&&42===next&&(++size,tokentype=types.starstar,next=this.input.charCodeAt(this.pos+2)),61===next?this.finishOp(types.assign,size+1):this.finishOp(tokentype,size)},pp$9.readToken_pipe_amp=function(code){var next=this.input.charCodeAt(this.pos+1);return next===code?this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(types.assign,3):this.finishOp(124===code?types.logicalOR:types.logicalAND,2):61===next?this.finishOp(types.assign,2):this.finishOp(124===code?types.bitwiseOR:types.bitwiseAND,1)},pp$9.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(types.assign,2):this.finishOp(types.bitwiseXOR,1)},pp$9.readToken_plus_min=function(code){var next=this.input.charCodeAt(this.pos+1);return next===code?45!==next||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(types.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===next?this.finishOp(types.assign,2):this.finishOp(types.plusMin,1)},pp$9.readToken_lt_gt=function(code){var next=this.input.charCodeAt(this.pos+1),size=1;return next===code?(size=62===code&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+size)?this.finishOp(types.assign,size+1):this.finishOp(types.bitShift,size)):33!==next||60!==code||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===next&&(size=2),this.finishOp(types.relational,size)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},pp$9.readToken_eq_excl=function(code){var next=this.input.charCodeAt(this.pos+1);return 61===next?this.finishOp(types.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===code&&62===next&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(types.arrow)):this.finishOp(61===code?types.eq:types.prefix,1)},pp$9.readToken_question=function(){var ecmaVersion=this.options.ecmaVersion;if(ecmaVersion>=11){var next=this.input.charCodeAt(this.pos+1);if(46===next){var next2=this.input.charCodeAt(this.pos+2);if(next2<48||next2>57)return this.finishOp(types.questionDot,2)}if(63===next)return ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(types.assign,3):this.finishOp(types.coalesce,2)}return this.finishOp(types.question,1)},pp$9.readToken_numberSign=function(){var code=35;if(this.options.ecmaVersion>=13&&(++this.pos,isIdentifierStart(code=this.fullCharCodeAtPos(),!0)||92===code))return this.finishToken(types.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+codePointToString$1(code)+"'")},pp$9.getTokenFromCode=function(code){switch(code){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(types.parenL);case 41:return++this.pos,this.finishToken(types.parenR);case 59:return++this.pos,this.finishToken(types.semi);case 44:return++this.pos,this.finishToken(types.comma);case 91:return++this.pos,this.finishToken(types.bracketL);case 93:return++this.pos,this.finishToken(types.bracketR);case 123:return++this.pos,this.finishToken(types.braceL);case 125:return++this.pos,this.finishToken(types.braceR);case 58:return++this.pos,this.finishToken(types.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(types.backQuote);case 48:var next=this.input.charCodeAt(this.pos+1);if(120===next||88===next)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===next||79===next)return this.readRadixNumber(8);if(98===next||66===next)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(code);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(code);case 124:case 38:return this.readToken_pipe_amp(code);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(code);case 60:case 62:return this.readToken_lt_gt(code);case 61:case 33:return this.readToken_eq_excl(code);case 63:return this.readToken_question();case 126:return this.finishOp(types.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString$1(code)+"'")},pp$9.finishOp=function(type,size){var str=this.input.slice(this.pos,this.pos+size);return this.pos+=size,this.finishToken(type,str)},pp$9.readRegexp=function(){for(var escaped,inClass,start=this.pos;;){this.pos>=this.input.length&&this.raise(start,"Unterminated regular expression");var ch=this.input.charAt(this.pos);if(lineBreak.test(ch)&&this.raise(start,"Unterminated regular expression"),escaped)escaped=!1;else{if("["===ch)inClass=!0;else if("]"===ch&&inClass)inClass=!1;else if("/"===ch&&!inClass)break;escaped="\\"===ch}++this.pos}var pattern=this.input.slice(start,this.pos);++this.pos;var flagsStart=this.pos,flags=this.readWord1();this.containsEsc&&this.unexpected(flagsStart);var state=this.regexpState||(this.regexpState=new RegExpValidationState(this));state.reset(start,pattern,flags),this.validateRegExpFlags(state),this.validateRegExpPattern(state);var value=null;try{value=new RegExp(pattern,flags)}catch(e){}return this.finishToken(types.regexp,{pattern:pattern,flags:flags,value:value})},pp$9.readInt=function(radix,len,maybeLegacyOctalNumericLiteral){for(var allowSeparators=this.options.ecmaVersion>=12&&void 0===len,isLegacyOctalNumericLiteral=maybeLegacyOctalNumericLiteral&&48===this.input.charCodeAt(this.pos),start=this.pos,total=0,lastCode=0,i=0,e=null==len?1/0:len;i<e;++i,++this.pos){var code=this.input.charCodeAt(this.pos),val=void 0;if(allowSeparators&&95===code)isLegacyOctalNumericLiteral&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===lastCode&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),lastCode=code;else{if((val=code>=97?code-97+10:code>=65?code-65+10:code>=48&&code<=57?code-48:1/0)>=radix)break;lastCode=code,total=total*radix+val}}return allowSeparators&&95===lastCode&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===start||null!=len&&this.pos-start!==len?null:total},pp$9.readRadixNumber=function(radix){var start=this.pos;this.pos+=2;var val=this.readInt(radix);return null==val&&this.raise(this.start+2,"Expected number in radix "+radix),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(val=stringToBigInt(this.input.slice(start,this.pos)),++this.pos):isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types.num,val)},pp$9.readNumber=function(startsWithDot){var start=this.pos;startsWithDot||null!==this.readInt(10,void 0,!0)||this.raise(start,"Invalid number");var octal=this.pos-start>=2&&48===this.input.charCodeAt(start);octal&&this.strict&&this.raise(start,"Invalid number");var next=this.input.charCodeAt(this.pos);if(!octal&&!startsWithDot&&this.options.ecmaVersion>=11&&110===next){var val$1=stringToBigInt(this.input.slice(start,this.pos));return++this.pos,isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types.num,val$1)}octal&&/[89]/.test(this.input.slice(start,this.pos))&&(octal=!1),46!==next||octal||(++this.pos,this.readInt(10),next=this.input.charCodeAt(this.pos)),69!==next&&101!==next||octal||(43!==(next=this.input.charCodeAt(++this.pos))&&45!==next||++this.pos,null===this.readInt(10)&&this.raise(start,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var val=stringToNumber(this.input.slice(start,this.pos),octal);return this.finishToken(types.num,val)},pp$9.readCodePoint=function(){var code;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var codePos=++this.pos;code=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,code>1114111&&this.invalidStringToken(codePos,"Code point out of bounds")}else code=this.readHexChar(4);return code},pp$9.readString=function(quote){for(var out="",chunkStart=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var ch=this.input.charCodeAt(this.pos);if(ch===quote)break;92===ch?(out+=this.input.slice(chunkStart,this.pos),out+=this.readEscapedChar(!1),chunkStart=this.pos):8232===ch||8233===ch?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(isNewLine(ch)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return out+=this.input.slice(chunkStart,this.pos++),this.finishToken(types.string,out)};var INVALID_TEMPLATE_ESCAPE_ERROR={};pp$9.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(err){if(err!==INVALID_TEMPLATE_ESCAPE_ERROR)throw err;this.readInvalidTemplateToken()}this.inTemplateElement=!1},pp$9.invalidStringToken=function(position,message){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw INVALID_TEMPLATE_ESCAPE_ERROR;this.raise(position,message)},pp$9.readTmplToken=function(){for(var out="",chunkStart=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var ch=this.input.charCodeAt(this.pos);if(96===ch||36===ch&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==types.template&&this.type!==types.invalidTemplate?(out+=this.input.slice(chunkStart,this.pos),this.finishToken(types.template,out)):36===ch?(this.pos+=2,this.finishToken(types.dollarBraceL)):(++this.pos,this.finishToken(types.backQuote));if(92===ch)out+=this.input.slice(chunkStart,this.pos),out+=this.readEscapedChar(!0),chunkStart=this.pos;else if(isNewLine(ch)){switch(out+=this.input.slice(chunkStart,this.pos),++this.pos,ch){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:out+="\n";break;default:out+=String.fromCharCode(ch)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),chunkStart=this.pos}else++this.pos}},pp$9.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(types.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},pp$9.readEscapedChar=function(inTemplate){var ch=this.input.charCodeAt(++this.pos);switch(++this.pos,ch){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString$1(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),inTemplate){var codePos=this.pos-1;return this.invalidStringToken(codePos,"Invalid escape sequence in template string"),null}default:if(ch>=48&&ch<=55){var octalStr=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],octal=parseInt(octalStr,8);return octal>255&&(octalStr=octalStr.slice(0,-1),octal=parseInt(octalStr,8)),this.pos+=octalStr.length-1,ch=this.input.charCodeAt(this.pos),"0"===octalStr&&56!==ch&&57!==ch||!this.strict&&!inTemplate||this.invalidStringToken(this.pos-1-octalStr.length,inTemplate?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(octal)}return isNewLine(ch)?"":String.fromCharCode(ch)}},pp$9.readHexChar=function(len){var codePos=this.pos,n=this.readInt(16,len);return null===n&&this.invalidStringToken(codePos,"Bad character escape sequence"),n},pp$9.readWord1=function(){this.containsEsc=!1;for(var word="",first=!0,chunkStart=this.pos,astral=this.options.ecmaVersion>=6;this.pos<this.input.length;){var ch=this.fullCharCodeAtPos();if(isIdentifierChar(ch,astral))this.pos+=ch<=65535?1:2;else{if(92!==ch)break;this.containsEsc=!0,word+=this.input.slice(chunkStart,this.pos);var escStart=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var esc=this.readCodePoint();(first?isIdentifierStart:isIdentifierChar)(esc,astral)||this.invalidStringToken(escStart,"Invalid Unicode escape"),word+=codePointToString$1(esc),chunkStart=this.pos}first=!1}return word+this.input.slice(chunkStart,this.pos)},pp$9.readWord=function(){var word=this.readWord1(),type=types.name;return this.keywords.test(word)&&(type=keywords$1[word]),this.finishToken(type,word)};var version="8.5.0";function parse(input,options){return Parser.parse(input,options)}function parseExpressionAt(input,pos,options){return Parser.parseExpressionAt(input,pos,options)}function tokenizer(input,options){return Parser.tokenizer(input,options)}Parser.acorn={Parser:Parser,version:version,defaultOptions:defaultOptions,Position:Position,SourceLocation:SourceLocation,getLineInfo:getLineInfo,Node:Node,TokenType:TokenType,tokTypes:types,keywordTypes:keywords$1,TokContext:TokContext,tokContexts:types$1,isIdentifierChar:isIdentifierChar,isIdentifierStart:isIdentifierStart,Token:Token,isNewLine:isNewLine,lineBreak:lineBreak,lineBreakG:lineBreakG,nonASCIIwhitespace:nonASCIIwhitespace},exports.Node=Node,exports.Parser=Parser,exports.Position=Position,exports.SourceLocation=SourceLocation,exports.TokContext=TokContext,exports.Token=Token,exports.TokenType=TokenType,exports.defaultOptions=defaultOptions,exports.getLineInfo=getLineInfo,exports.isIdentifierChar=isIdentifierChar,exports.isIdentifierStart=isIdentifierStart,exports.isNewLine=isNewLine,exports.keywordTypes=keywords$1,exports.lineBreak=lineBreak,exports.lineBreakG=lineBreakG,exports.nonASCIIwhitespace=nonASCIIwhitespace,exports.parse=parse,exports.parseExpressionAt=parseExpressionAt,exports.tokContexts=types$1,exports.tokTypes=types,exports.tokenizer=tokenizer,exports.version=version,Object.defineProperty(exports,"__esModule",{value:!0})}(exports)},88054:function(module,__unused_webpack_exports,__webpack_require__){var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};const events_1=__webpack_require__(17187),debug_1=__importDefault(__webpack_require__(11227)),promisify_1=__importDefault(__webpack_require__(96304)),debug=debug_1.default("agent-base");function isSecureEndpoint(){const{stack:stack}=new Error;return"string"==typeof stack&&stack.split("\n").some((l=>-1!==l.indexOf("(https.js:")||-1!==l.indexOf("node:https:")))}function createAgent(callback,opts){return new createAgent.Agent(callback,opts)}!function(createAgent){class Agent extends events_1.EventEmitter{constructor(callback,_opts){super();let opts=_opts;"function"==typeof callback?this.callback=callback:callback&&(opts=callback),this.timeout=null,opts&&"number"==typeof opts.timeout&&(this.timeout=opts.timeout),this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){return"number"==typeof this.explicitDefaultPort?this.explicitDefaultPort:isSecureEndpoint()?443:80}set defaultPort(v){this.explicitDefaultPort=v}get protocol(){return"string"==typeof this.explicitProtocol?this.explicitProtocol:isSecureEndpoint()?"https:":"http:"}set protocol(v){this.explicitProtocol=v}callback(req,opts,fn){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(req,_opts){const opts=Object.assign({},_opts);"boolean"!=typeof opts.secureEndpoint&&(opts.secureEndpoint=isSecureEndpoint()),null==opts.host&&(opts.host="localhost"),null==opts.port&&(opts.port=opts.secureEndpoint?443:80),null==opts.protocol&&(opts.protocol=opts.secureEndpoint?"https:":"http:"),opts.host&&opts.path&&delete opts.path,delete opts.agent,delete opts.hostname,delete opts._defaultAgent,delete opts.defaultPort,delete opts.createConnection,req._last=!0,req.shouldKeepAlive=!1;let timedOut=!1,timeoutId=null;const timeoutMs=opts.timeout||this.timeout,onerror=err=>{req._hadError||(req.emit("error",err),req._hadError=!0)},ontimeout=()=>{timeoutId=null,timedOut=!0;const err=new Error(`A "socket" was not created for HTTP request before ${timeoutMs}ms`);err.code="ETIMEOUT",onerror(err)},callbackError=err=>{timedOut||(null!==timeoutId&&(clearTimeout(timeoutId),timeoutId=null),onerror(err))},onsocket=socket=>{if(timedOut)return;if(null!=timeoutId&&(clearTimeout(timeoutId),timeoutId=null),function isAgent(v){return Boolean(v)&&"function"==typeof v.addRequest}(socket))return debug("Callback returned another Agent instance %o",socket.constructor.name),void socket.addRequest(req,opts);if(socket)return socket.once("free",(()=>{this.freeSocket(socket,opts)})),void req.onSocket(socket);const err=new Error(`no Duplex stream was returned to agent-base for \`${req.method} ${req.path}\``);onerror(err)};if("function"==typeof this.callback){this.promisifiedCallback||(this.callback.length>=3?(debug("Converting legacy callback function to promise"),this.promisifiedCallback=promisify_1.default(this.callback)):this.promisifiedCallback=this.callback),"number"==typeof timeoutMs&&timeoutMs>0&&(timeoutId=setTimeout(ontimeout,timeoutMs)),"port"in opts&&"number"!=typeof opts.port&&(opts.port=Number(opts.port));try{debug("Resolving socket for %o request: %o",opts.protocol,`${req.method} ${req.path}`),Promise.resolve(this.promisifiedCallback(req,opts)).then(onsocket,callbackError)}catch(err){Promise.reject(err).catch(callbackError)}}else onerror(new Error("`callback` is not defined"))}freeSocket(socket,opts){debug("Freeing socket %o %o",socket.constructor.name,opts),socket.destroy()}destroy(){debug("Destroying agent %o",this.constructor.name)}}createAgent.Agent=Agent,createAgent.prototype=createAgent.Agent.prototype}(createAgent||(createAgent={})),module.exports=createAgent},96304:function(__unused_webpack_module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function promisify(fn){return function(req,opts){return new Promise(((resolve,reject)=>{fn.call(this,req,opts,((err,rtn)=>{err?reject(err):resolve(rtn)}))}))}}},39809:function(__unused_webpack_module,exports,__webpack_require__){const asn1=exports;asn1.bignum=__webpack_require__(13550),asn1.define=__webpack_require__(22500).define,asn1.base=__webpack_require__(71979),asn1.constants=__webpack_require__(36826),asn1.decoders=__webpack_require__(78307),asn1.encoders=__webpack_require__(56579)},22500:function(__unused_webpack_module,exports,__webpack_require__){const encoders=__webpack_require__(56579),decoders=__webpack_require__(78307),inherits=__webpack_require__(35717);function Entity(name,body){this.name=name,this.body=body,this.decoders={},this.encoders={}}exports.define=function define(name,body){return new Entity(name,body)},Entity.prototype._createNamed=function createNamed(Base){const name=this.name;function Generated(entity){this._initNamed(entity,name)}return inherits(Generated,Base),Generated.prototype._initNamed=function _initNamed(entity,name){Base.call(this,entity,name)},new Generated(this)},Entity.prototype._getDecoder=function _getDecoder(enc){return enc=enc||"der",this.decoders.hasOwnProperty(enc)||(this.decoders[enc]=this._createNamed(decoders[enc])),this.decoders[enc]},Entity.prototype.decode=function decode(data,enc,options){return this._getDecoder(enc).decode(data,options)},Entity.prototype._getEncoder=function _getEncoder(enc){return enc=enc||"der",this.encoders.hasOwnProperty(enc)||(this.encoders[enc]=this._createNamed(encoders[enc])),this.encoders[enc]},Entity.prototype.encode=function encode(data,enc,reporter){return this._getEncoder(enc).encode(data,reporter)}},36625:function(__unused_webpack_module,exports,__webpack_require__){const inherits=__webpack_require__(35717),Reporter=__webpack_require__(98465).b,Buffer=__webpack_require__(2399).Buffer;function DecoderBuffer(base,options){Reporter.call(this,options),Buffer.isBuffer(base)?(this.base=base,this.offset=0,this.length=base.length):this.error("Input not Buffer")}function EncoderBuffer(value,reporter){if(Array.isArray(value))this.length=0,this.value=value.map((function(item){return EncoderBuffer.isEncoderBuffer(item)||(item=new EncoderBuffer(item,reporter)),this.length+=item.length,item}),this);else if("number"==typeof value){if(!(0<=value&&value<=255))return reporter.error("non-byte EncoderBuffer value");this.value=value,this.length=1}else if("string"==typeof value)this.value=value,this.length=Buffer.byteLength(value);else{if(!Buffer.isBuffer(value))return reporter.error("Unsupported type: "+typeof value);this.value=value,this.length=value.length}}inherits(DecoderBuffer,Reporter),exports.C=DecoderBuffer,DecoderBuffer.isDecoderBuffer=function isDecoderBuffer(data){if(data instanceof DecoderBuffer)return!0;return"object"==typeof data&&Buffer.isBuffer(data.base)&&"DecoderBuffer"===data.constructor.name&&"number"==typeof data.offset&&"number"==typeof data.length&&"function"==typeof data.save&&"function"==typeof data.restore&&"function"==typeof data.isEmpty&&"function"==typeof data.readUInt8&&"function"==typeof data.skip&&"function"==typeof data.raw},DecoderBuffer.prototype.save=function save(){return{offset:this.offset,reporter:Reporter.prototype.save.call(this)}},DecoderBuffer.prototype.restore=function restore(save){const res=new DecoderBuffer(this.base);return res.offset=save.offset,res.length=this.offset,this.offset=save.offset,Reporter.prototype.restore.call(this,save.reporter),res},DecoderBuffer.prototype.isEmpty=function isEmpty(){return this.offset===this.length},DecoderBuffer.prototype.readUInt8=function readUInt8(fail){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(fail||"DecoderBuffer overrun")},DecoderBuffer.prototype.skip=function skip(bytes,fail){if(!(this.offset+bytes<=this.length))return this.error(fail||"DecoderBuffer overrun");const res=new DecoderBuffer(this.base);return res._reporterState=this._reporterState,res.offset=this.offset,res.length=this.offset+bytes,this.offset+=bytes,res},DecoderBuffer.prototype.raw=function raw(save){return this.base.slice(save?save.offset:this.offset,this.length)},exports.R=EncoderBuffer,EncoderBuffer.isEncoderBuffer=function isEncoderBuffer(data){if(data instanceof EncoderBuffer)return!0;return"object"==typeof data&&"EncoderBuffer"===data.constructor.name&&"number"==typeof data.length&&"function"==typeof data.join},EncoderBuffer.prototype.join=function join(out,offset){return out||(out=Buffer.alloc(this.length)),offset||(offset=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(item){item.join(out,offset),offset+=item.length})):("number"==typeof this.value?out[offset]=this.value:"string"==typeof this.value?out.write(this.value,offset):Buffer.isBuffer(this.value)&&this.value.copy(out,offset),offset+=this.length)),out}},71979:function(__unused_webpack_module,exports,__webpack_require__){const base=exports;base.Reporter=__webpack_require__(98465).b,base.DecoderBuffer=__webpack_require__(36625).C,base.EncoderBuffer=__webpack_require__(36625).R,base.Node=__webpack_require__(41949)},41949:function(module,__unused_webpack_exports,__webpack_require__){const Reporter=__webpack_require__(98465).b,EncoderBuffer=__webpack_require__(36625).R,DecoderBuffer=__webpack_require__(36625).C,assert=__webpack_require__(79746),tags=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],methods=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(tags);function Node(enc,parent,name){const state={};this._baseState=state,state.name=name,state.enc=enc,state.parent=parent||null,state.children=null,state.tag=null,state.args=null,state.reverseArgs=null,state.choice=null,state.optional=!1,state.any=!1,state.obj=!1,state.use=null,state.useDecoder=null,state.key=null,state.default=null,state.explicit=null,state.implicit=null,state.contains=null,state.parent||(state.children=[],this._wrap())}module.exports=Node;const stateProps=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];Node.prototype.clone=function clone(){const state=this._baseState,cstate={};stateProps.forEach((function(prop){cstate[prop]=state[prop]}));const res=new this.constructor(cstate.parent);return res._baseState=cstate,res},Node.prototype._wrap=function wrap(){const state=this._baseState;methods.forEach((function(method){this[method]=function _wrappedMethod(){const clone=new this.constructor(this);return state.children.push(clone),clone[method].apply(clone,arguments)}}),this)},Node.prototype._init=function init(body){const state=this._baseState;assert(null===state.parent),body.call(this),state.children=state.children.filter((function(child){return child._baseState.parent===this}),this),assert.equal(state.children.length,1,"Root node can have only one child")},Node.prototype._useArgs=function useArgs(args){const state=this._baseState,children=args.filter((function(arg){return arg instanceof this.constructor}),this);args=args.filter((function(arg){return!(arg instanceof this.constructor)}),this),0!==children.length&&(assert(null===state.children),state.children=children,children.forEach((function(child){child._baseState.parent=this}),this)),0!==args.length&&(assert(null===state.args),state.args=args,state.reverseArgs=args.map((function(arg){if("object"!=typeof arg||arg.constructor!==Object)return arg;const res={};return Object.keys(arg).forEach((function(key){key==(0|key)&&(key|=0);const value=arg[key];res[value]=key})),res})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(method){Node.prototype[method]=function _overrided(){const state=this._baseState;throw new Error(method+" not implemented for encoding: "+state.enc)}})),tags.forEach((function(tag){Node.prototype[tag]=function _tagMethod(){const state=this._baseState,args=Array.prototype.slice.call(arguments);return assert(null===state.tag),state.tag=tag,this._useArgs(args),this}})),Node.prototype.use=function use(item){assert(item);const state=this._baseState;return assert(null===state.use),state.use=item,this},Node.prototype.optional=function optional(){return this._baseState.optional=!0,this},Node.prototype.def=function def(val){const state=this._baseState;return assert(null===state.default),state.default=val,state.optional=!0,this},Node.prototype.explicit=function explicit(num){const state=this._baseState;return assert(null===state.explicit&&null===state.implicit),state.explicit=num,this},Node.prototype.implicit=function implicit(num){const state=this._baseState;return assert(null===state.explicit&&null===state.implicit),state.implicit=num,this},Node.prototype.obj=function obj(){const state=this._baseState,args=Array.prototype.slice.call(arguments);return state.obj=!0,0!==args.length&&this._useArgs(args),this},Node.prototype.key=function key(newKey){const state=this._baseState;return assert(null===state.key),state.key=newKey,this},Node.prototype.any=function any(){return this._baseState.any=!0,this},Node.prototype.choice=function choice(obj){const state=this._baseState;return assert(null===state.choice),state.choice=obj,this._useArgs(Object.keys(obj).map((function(key){return obj[key]}))),this},Node.prototype.contains=function contains(item){const state=this._baseState;return assert(null===state.use),state.contains=item,this},Node.prototype._decode=function decode(input,options){const state=this._baseState;if(null===state.parent)return input.wrapResult(state.children[0]._decode(input,options));let prevObj,result=state.default,present=!0,prevKey=null;if(null!==state.key&&(prevKey=input.enterKey(state.key)),state.optional){let tag=null;if(null!==state.explicit?tag=state.explicit:null!==state.implicit?tag=state.implicit:null!==state.tag&&(tag=state.tag),null!==tag||state.any){if(present=this._peekTag(input,tag,state.any),input.isError(present))return present}else{const save=input.save();try{null===state.choice?this._decodeGeneric(state.tag,input,options):this._decodeChoice(input,options),present=!0}catch(e){present=!1}input.restore(save)}}if(state.obj&&present&&(prevObj=input.enterObject()),present){if(null!==state.explicit){const explicit=this._decodeTag(input,state.explicit);if(input.isError(explicit))return explicit;input=explicit}const start=input.offset;if(null===state.use&&null===state.choice){let save;state.any&&(save=input.save());const body=this._decodeTag(input,null!==state.implicit?state.implicit:state.tag,state.any);if(input.isError(body))return body;state.any?result=input.raw(save):input=body}if(options&&options.track&&null!==state.tag&&options.track(input.path(),start,input.length,"tagged"),options&&options.track&&null!==state.tag&&options.track(input.path(),input.offset,input.length,"content"),state.any||(result=null===state.choice?this._decodeGeneric(state.tag,input,options):this._decodeChoice(input,options)),input.isError(result))return result;if(state.any||null!==state.choice||null===state.children||state.children.forEach((function decodeChildren(child){child._decode(input,options)})),state.contains&&("octstr"===state.tag||"bitstr"===state.tag)){const data=new DecoderBuffer(result);result=this._getUse(state.contains,input._reporterState.obj)._decode(data,options)}}return state.obj&&present&&(result=input.leaveObject(prevObj)),null===state.key||null===result&&!0!==present?null!==prevKey&&input.exitKey(prevKey):input.leaveKey(prevKey,state.key,result),result},Node.prototype._decodeGeneric=function decodeGeneric(tag,input,options){const state=this._baseState;return"seq"===tag||"set"===tag?null:"seqof"===tag||"setof"===tag?this._decodeList(input,tag,state.args[0],options):/str$/.test(tag)?this._decodeStr(input,tag,options):"objid"===tag&&state.args?this._decodeObjid(input,state.args[0],state.args[1],options):"objid"===tag?this._decodeObjid(input,null,null,options):"gentime"===tag||"utctime"===tag?this._decodeTime(input,tag,options):"null_"===tag?this._decodeNull(input,options):"bool"===tag?this._decodeBool(input,options):"objDesc"===tag?this._decodeStr(input,tag,options):"int"===tag||"enum"===tag?this._decodeInt(input,state.args&&state.args[0],options):null!==state.use?this._getUse(state.use,input._reporterState.obj)._decode(input,options):input.error("unknown tag: "+tag)},Node.prototype._getUse=function _getUse(entity,obj){const state=this._baseState;return state.useDecoder=this._use(entity,obj),assert(null===state.useDecoder._baseState.parent),state.useDecoder=state.useDecoder._baseState.children[0],state.implicit!==state.useDecoder._baseState.implicit&&(state.useDecoder=state.useDecoder.clone(),state.useDecoder._baseState.implicit=state.implicit),state.useDecoder},Node.prototype._decodeChoice=function decodeChoice(input,options){const state=this._baseState;let result=null,match=!1;return Object.keys(state.choice).some((function(key){const save=input.save(),node=state.choice[key];try{const value=node._decode(input,options);if(input.isError(value))return!1;result={type:key,value:value},match=!0}catch(e){return input.restore(save),!1}return!0}),this),match?result:input.error("Choice not matched")},Node.prototype._createEncoderBuffer=function createEncoderBuffer(data){return new EncoderBuffer(data,this.reporter)},Node.prototype._encode=function encode(data,reporter,parent){const state=this._baseState;if(null!==state.default&&state.default===data)return;const result=this._encodeValue(data,reporter,parent);return void 0===result||this._skipDefault(result,reporter,parent)?void 0:result},Node.prototype._encodeValue=function encode(data,reporter,parent){const state=this._baseState;if(null===state.parent)return state.children[0]._encode(data,reporter||new Reporter);let result=null;if(this.reporter=reporter,state.optional&&void 0===data){if(null===state.default)return;data=state.default}let content=null,primitive=!1;if(state.any)result=this._createEncoderBuffer(data);else if(state.choice)result=this._encodeChoice(data,reporter);else if(state.contains)content=this._getUse(state.contains,parent)._encode(data,reporter),primitive=!0;else if(state.children)content=state.children.map((function(child){if("null_"===child._baseState.tag)return child._encode(null,reporter,data);if(null===child._baseState.key)return reporter.error("Child should have a key");const prevKey=reporter.enterKey(child._baseState.key);if("object"!=typeof data)return reporter.error("Child expected, but input is not object");const res=child._encode(data[child._baseState.key],reporter,data);return reporter.leaveKey(prevKey),res}),this).filter((function(child){return child})),content=this._createEncoderBuffer(content);else if("seqof"===state.tag||"setof"===state.tag){if(!state.args||1!==state.args.length)return reporter.error("Too many args for : "+state.tag);if(!Array.isArray(data))return reporter.error("seqof/setof, but data is not Array");const child=this.clone();child._baseState.implicit=null,content=this._createEncoderBuffer(data.map((function(item){const state=this._baseState;return this._getUse(state.args[0],data)._encode(item,reporter)}),child))}else null!==state.use?result=this._getUse(state.use,parent)._encode(data,reporter):(content=this._encodePrimitive(state.tag,data),primitive=!0);if(!state.any&&null===state.choice){const tag=null!==state.implicit?state.implicit:state.tag,cls=null===state.implicit?"universal":"context";null===tag?null===state.use&&reporter.error("Tag could be omitted only for .use()"):null===state.use&&(result=this._encodeComposite(tag,primitive,cls,content))}return null!==state.explicit&&(result=this._encodeComposite(state.explicit,!1,"context",result)),result},Node.prototype._encodeChoice=function encodeChoice(data,reporter){const state=this._baseState,node=state.choice[data.type];return node||assert(!1,data.type+" not found in "+JSON.stringify(Object.keys(state.choice))),node._encode(data.value,reporter)},Node.prototype._encodePrimitive=function encodePrimitive(tag,data){const state=this._baseState;if(/str$/.test(tag))return this._encodeStr(data,tag);if("objid"===tag&&state.args)return this._encodeObjid(data,state.reverseArgs[0],state.args[1]);if("objid"===tag)return this._encodeObjid(data,null,null);if("gentime"===tag||"utctime"===tag)return this._encodeTime(data,tag);if("null_"===tag)return this._encodeNull();if("int"===tag||"enum"===tag)return this._encodeInt(data,state.args&&state.reverseArgs[0]);if("bool"===tag)return this._encodeBool(data);if("objDesc"===tag)return this._encodeStr(data,tag);throw new Error("Unsupported tag: "+tag)},Node.prototype._isNumstr=function isNumstr(str){return/^[0-9 ]*$/.test(str)},Node.prototype._isPrintstr=function isPrintstr(str){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(str)}},98465:function(__unused_webpack_module,exports,__webpack_require__){const inherits=__webpack_require__(35717);function Reporter(options){this._reporterState={obj:null,path:[],options:options||{},errors:[]}}function ReporterError(path,msg){this.path=path,this.rethrow(msg)}exports.b=Reporter,Reporter.prototype.isError=function isError(obj){return obj instanceof ReporterError},Reporter.prototype.save=function save(){const state=this._reporterState;return{obj:state.obj,pathLen:state.path.length}},Reporter.prototype.restore=function restore(data){const state=this._reporterState;state.obj=data.obj,state.path=state.path.slice(0,data.pathLen)},Reporter.prototype.enterKey=function enterKey(key){return this._reporterState.path.push(key)},Reporter.prototype.exitKey=function exitKey(index){const state=this._reporterState;state.path=state.path.slice(0,index-1)},Reporter.prototype.leaveKey=function leaveKey(index,key,value){const state=this._reporterState;this.exitKey(index),null!==state.obj&&(state.obj[key]=value)},Reporter.prototype.path=function path(){return this._reporterState.path.join("/")},Reporter.prototype.enterObject=function enterObject(){const state=this._reporterState,prev=state.obj;return state.obj={},prev},Reporter.prototype.leaveObject=function leaveObject(prev){const state=this._reporterState,now=state.obj;return state.obj=prev,now},Reporter.prototype.error=function error(msg){let err;const state=this._reporterState,inherited=msg instanceof ReporterError;if(err=inherited?msg:new ReporterError(state.path.map((function(elem){return"["+JSON.stringify(elem)+"]"})).join(""),msg.message||msg,msg.stack),!state.options.partial)throw err;return inherited||state.errors.push(err),err},Reporter.prototype.wrapResult=function wrapResult(result){const state=this._reporterState;return state.options.partial?{result:this.isError(result)?null:result,errors:state.errors}:result},inherits(ReporterError,Error),ReporterError.prototype.rethrow=function rethrow(msg){if(this.message=msg+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,ReporterError),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},70160:function(__unused_webpack_module,exports){function reverse(map){const res={};return Object.keys(map).forEach((function(key){(0|key)==key&&(key|=0);const value=map[key];res[value]=key})),res}exports.tagClass={0:"universal",1:"application",2:"context",3:"private"},exports.tagClassByName=reverse(exports.tagClass),exports.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},exports.tagByName=reverse(exports.tag)},36826:function(__unused_webpack_module,exports,__webpack_require__){const constants=exports;constants._reverse=function reverse(map){const res={};return Object.keys(map).forEach((function(key){(0|key)==key&&(key|=0);const value=map[key];res[value]=key})),res},constants.der=__webpack_require__(70160)},41671:function(module,__unused_webpack_exports,__webpack_require__){const inherits=__webpack_require__(35717),bignum=__webpack_require__(13550),DecoderBuffer=__webpack_require__(36625).C,Node=__webpack_require__(41949),der=__webpack_require__(70160);function DERDecoder(entity){this.enc="der",this.name=entity.name,this.entity=entity,this.tree=new DERNode,this.tree._init(entity.body)}function DERNode(parent){Node.call(this,"der",parent)}function derDecodeTag(buf,fail){let tag=buf.readUInt8(fail);if(buf.isError(tag))return tag;const cls=der.tagClass[tag>>6],primitive=0==(32&tag);if(31==(31&tag)){let oct=tag;for(tag=0;128==(128&oct);){if(oct=buf.readUInt8(fail),buf.isError(oct))return oct;tag<<=7,tag|=127&oct}}else tag&=31;return{cls:cls,primitive:primitive,tag:tag,tagStr:der.tag[tag]}}function derDecodeLen(buf,primitive,fail){let len=buf.readUInt8(fail);if(buf.isError(len))return len;if(!primitive&&128===len)return null;if(0==(128&len))return len;const num=127&len;if(num>4)return buf.error("length octect is too long");len=0;for(let i=0;i<num;i++){len<<=8;const j=buf.readUInt8(fail);if(buf.isError(j))return j;len|=j}return len}module.exports=DERDecoder,DERDecoder.prototype.decode=function decode(data,options){return DecoderBuffer.isDecoderBuffer(data)||(data=new DecoderBuffer(data,options)),this.tree._decode(data,options)},inherits(DERNode,Node),DERNode.prototype._peekTag=function peekTag(buffer,tag,any){if(buffer.isEmpty())return!1;const state=buffer.save(),decodedTag=derDecodeTag(buffer,'Failed to peek tag: "'+tag+'"');return buffer.isError(decodedTag)?decodedTag:(buffer.restore(state),decodedTag.tag===tag||decodedTag.tagStr===tag||decodedTag.tagStr+"of"===tag||any)},DERNode.prototype._decodeTag=function decodeTag(buffer,tag,any){const decodedTag=derDecodeTag(buffer,'Failed to decode tag of "'+tag+'"');if(buffer.isError(decodedTag))return decodedTag;let len=derDecodeLen(buffer,decodedTag.primitive,'Failed to get length of "'+tag+'"');if(buffer.isError(len))return len;if(!any&&decodedTag.tag!==tag&&decodedTag.tagStr!==tag&&decodedTag.tagStr+"of"!==tag)return buffer.error('Failed to match tag: "'+tag+'"');if(decodedTag.primitive||null!==len)return buffer.skip(len,'Failed to match body of: "'+tag+'"');const state=buffer.save(),res=this._skipUntilEnd(buffer,'Failed to skip indefinite length body: "'+this.tag+'"');return buffer.isError(res)?res:(len=buffer.offset-state.offset,buffer.restore(state),buffer.skip(len,'Failed to match body of: "'+tag+'"'))},DERNode.prototype._skipUntilEnd=function skipUntilEnd(buffer,fail){for(;;){const tag=derDecodeTag(buffer,fail);if(buffer.isError(tag))return tag;const len=derDecodeLen(buffer,tag.primitive,fail);if(buffer.isError(len))return len;let res;if(res=tag.primitive||null!==len?buffer.skip(len):this._skipUntilEnd(buffer,fail),buffer.isError(res))return res;if("end"===tag.tagStr)break}},DERNode.prototype._decodeList=function decodeList(buffer,tag,decoder,options){const result=[];for(;!buffer.isEmpty();){const possibleEnd=this._peekTag(buffer,"end");if(buffer.isError(possibleEnd))return possibleEnd;const res=decoder.decode(buffer,"der",options);if(buffer.isError(res)&&possibleEnd)break;result.push(res)}return result},DERNode.prototype._decodeStr=function decodeStr(buffer,tag){if("bitstr"===tag){const unused=buffer.readUInt8();return buffer.isError(unused)?unused:{unused:unused,data:buffer.raw()}}if("bmpstr"===tag){const raw=buffer.raw();if(raw.length%2==1)return buffer.error("Decoding of string type: bmpstr length mismatch");let str="";for(let i=0;i<raw.length/2;i++)str+=String.fromCharCode(raw.readUInt16BE(2*i));return str}if("numstr"===tag){const numstr=buffer.raw().toString("ascii");return this._isNumstr(numstr)?numstr:buffer.error("Decoding of string type: numstr unsupported characters")}if("octstr"===tag)return buffer.raw();if("objDesc"===tag)return buffer.raw();if("printstr"===tag){const printstr=buffer.raw().toString("ascii");return this._isPrintstr(printstr)?printstr:buffer.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(tag)?buffer.raw().toString():buffer.error("Decoding of string type: "+tag+" unsupported")},DERNode.prototype._decodeObjid=function decodeObjid(buffer,values,relative){let result;const identifiers=[];let ident=0,subident=0;for(;!buffer.isEmpty();)subident=buffer.readUInt8(),ident<<=7,ident|=127&subident,0==(128&subident)&&(identifiers.push(ident),ident=0);128&subident&&identifiers.push(ident);const first=identifiers[0]/40|0,second=identifiers[0]%40;if(result=relative?identifiers:[first,second].concat(identifiers.slice(1)),values){let tmp=values[result.join(" ")];void 0===tmp&&(tmp=values[result.join(".")]),void 0!==tmp&&(result=tmp)}return result},DERNode.prototype._decodeTime=function decodeTime(buffer,tag){const str=buffer.raw().toString();let year,mon,day,hour,min,sec;if("gentime"===tag)year=0|str.slice(0,4),mon=0|str.slice(4,6),day=0|str.slice(6,8),hour=0|str.slice(8,10),min=0|str.slice(10,12),sec=0|str.slice(12,14);else{if("utctime"!==tag)return buffer.error("Decoding "+tag+" time is not supported yet");year=0|str.slice(0,2),mon=0|str.slice(2,4),day=0|str.slice(4,6),hour=0|str.slice(6,8),min=0|str.slice(8,10),sec=0|str.slice(10,12),year=year<70?2e3+year:1900+year}return Date.UTC(year,mon-1,day,hour,min,sec,0)},DERNode.prototype._decodeNull=function decodeNull(){return null},DERNode.prototype._decodeBool=function decodeBool(buffer){const res=buffer.readUInt8();return buffer.isError(res)?res:0!==res},DERNode.prototype._decodeInt=function decodeInt(buffer,values){const raw=buffer.raw();let res=new bignum(raw);return values&&(res=values[res.toString(10)]||res),res},DERNode.prototype._use=function use(entity,obj){return"function"==typeof entity&&(entity=entity(obj)),entity._getDecoder("der").tree}},78307:function(__unused_webpack_module,exports,__webpack_require__){const decoders=exports;decoders.der=__webpack_require__(41671),decoders.pem=__webpack_require__(59631)},59631:function(module,__unused_webpack_exports,__webpack_require__){const inherits=__webpack_require__(35717),Buffer=__webpack_require__(2399).Buffer,DERDecoder=__webpack_require__(41671);function PEMDecoder(entity){DERDecoder.call(this,entity),this.enc="pem"}inherits(PEMDecoder,DERDecoder),module.exports=PEMDecoder,PEMDecoder.prototype.decode=function decode(data,options){const lines=data.toString().split(/[\r\n]+/g),label=options.label.toUpperCase(),re=/^-----(BEGIN|END) ([^-]+)-----$/;let start=-1,end=-1;for(let i=0;i<lines.length;i++){const match=lines[i].match(re);if(null!==match&&match[2]===label){if(-1!==start){if("END"!==match[1])break;end=i;break}if("BEGIN"!==match[1])break;start=i}}if(-1===start||-1===end)throw new Error("PEM section not found for: "+label);const base64=lines.slice(start+1,end).join("");base64.replace(/[^a-z0-9+/=]+/gi,"");const input=Buffer.from(base64,"base64");return DERDecoder.prototype.decode.call(this,input,options)}},66984:function(module,__unused_webpack_exports,__webpack_require__){const inherits=__webpack_require__(35717),Buffer=__webpack_require__(2399).Buffer,Node=__webpack_require__(41949),der=__webpack_require__(70160);function DEREncoder(entity){this.enc="der",this.name=entity.name,this.entity=entity,this.tree=new DERNode,this.tree._init(entity.body)}function DERNode(parent){Node.call(this,"der",parent)}function two(num){return num<10?"0"+num:num}module.exports=DEREncoder,DEREncoder.prototype.encode=function encode(data,reporter){return this.tree._encode(data,reporter).join()},inherits(DERNode,Node),DERNode.prototype._encodeComposite=function encodeComposite(tag,primitive,cls,content){const encodedTag=function encodeTag(tag,primitive,cls,reporter){let res;"seqof"===tag?tag="seq":"setof"===tag&&(tag="set");if(der.tagByName.hasOwnProperty(tag))res=der.tagByName[tag];else{if("number"!=typeof tag||(0|tag)!==tag)return reporter.error("Unknown tag: "+tag);res=tag}if(res>=31)return reporter.error("Multi-octet tag encoding unsupported");primitive||(res|=32);return res|=der.tagClassByName[cls||"universal"]<<6,res}(tag,primitive,cls,this.reporter);if(content.length<128){const header=Buffer.alloc(2);return header[0]=encodedTag,header[1]=content.length,this._createEncoderBuffer([header,content])}let lenOctets=1;for(let i=content.length;i>=256;i>>=8)lenOctets++;const header=Buffer.alloc(2+lenOctets);header[0]=encodedTag,header[1]=128|lenOctets;for(let i=1+lenOctets,j=content.length;j>0;i--,j>>=8)header[i]=255&j;return this._createEncoderBuffer([header,content])},DERNode.prototype._encodeStr=function encodeStr(str,tag){if("bitstr"===tag)return this._createEncoderBuffer([0|str.unused,str.data]);if("bmpstr"===tag){const buf=Buffer.alloc(2*str.length);for(let i=0;i<str.length;i++)buf.writeUInt16BE(str.charCodeAt(i),2*i);return this._createEncoderBuffer(buf)}return"numstr"===tag?this._isNumstr(str)?this._createEncoderBuffer(str):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===tag?this._isPrintstr(str)?this._createEncoderBuffer(str):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(tag)||"objDesc"===tag?this._createEncoderBuffer(str):this.reporter.error("Encoding of string type: "+tag+" unsupported")},DERNode.prototype._encodeObjid=function encodeObjid(id,values,relative){if("string"==typeof id){if(!values)return this.reporter.error("string objid given, but no values map found");if(!values.hasOwnProperty(id))return this.reporter.error("objid not found in values map");id=values[id].split(/[\s.]+/g);for(let i=0;i<id.length;i++)id[i]|=0}else if(Array.isArray(id)){id=id.slice();for(let i=0;i<id.length;i++)id[i]|=0}if(!Array.isArray(id))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(id));if(!relative){if(id[1]>=40)return this.reporter.error("Second objid identifier OOB");id.splice(0,2,40*id[0]+id[1])}let size=0;for(let i=0;i<id.length;i++){let ident=id[i];for(size++;ident>=128;ident>>=7)size++}const objid=Buffer.alloc(size);let offset=objid.length-1;for(let i=id.length-1;i>=0;i--){let ident=id[i];for(objid[offset--]=127&ident;(ident>>=7)>0;)objid[offset--]=128|127&ident}return this._createEncoderBuffer(objid)},DERNode.prototype._encodeTime=function encodeTime(time,tag){let str;const date=new Date(time);return"gentime"===tag?str=[two(date.getUTCFullYear()),two(date.getUTCMonth()+1),two(date.getUTCDate()),two(date.getUTCHours()),two(date.getUTCMinutes()),two(date.getUTCSeconds()),"Z"].join(""):"utctime"===tag?str=[two(date.getUTCFullYear()%100),two(date.getUTCMonth()+1),two(date.getUTCDate()),two(date.getUTCHours()),two(date.getUTCMinutes()),two(date.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+tag+" time is not supported yet"),this._encodeStr(str,"octstr")},DERNode.prototype._encodeNull=function encodeNull(){return this._createEncoderBuffer("")},DERNode.prototype._encodeInt=function encodeInt(num,values){if("string"==typeof num){if(!values)return this.reporter.error("String int or enum given, but no values map");if(!values.hasOwnProperty(num))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(num));num=values[num]}if("number"!=typeof num&&!Buffer.isBuffer(num)){const numArray=num.toArray();!num.sign&&128&numArray[0]&&numArray.unshift(0),num=Buffer.from(numArray)}if(Buffer.isBuffer(num)){let size=num.length;0===num.length&&size++;const out=Buffer.alloc(size);return num.copy(out),0===num.length&&(out[0]=0),this._createEncoderBuffer(out)}if(num<128)return this._createEncoderBuffer(num);if(num<256)return this._createEncoderBuffer([0,num]);let size=1;for(let i=num;i>=256;i>>=8)size++;const out=new Array(size);for(let i=out.length-1;i>=0;i--)out[i]=255&num,num>>=8;return 128&out[0]&&out.unshift(0),this._createEncoderBuffer(Buffer.from(out))},DERNode.prototype._encodeBool=function encodeBool(value){return this._createEncoderBuffer(value?255:0)},DERNode.prototype._use=function use(entity,obj){return"function"==typeof entity&&(entity=entity(obj)),entity._getEncoder("der").tree},DERNode.prototype._skipDefault=function skipDefault(dataBuffer,reporter,parent){const state=this._baseState;let i;if(null===state.default)return!1;const data=dataBuffer.join();if(void 0===state.defaultBuffer&&(state.defaultBuffer=this._encodeValue(state.default,reporter,parent).join()),data.length!==state.defaultBuffer.length)return!1;for(i=0;i<data.length;i++)if(data[i]!==state.defaultBuffer[i])return!1;return!0}},56579:function(__unused_webpack_module,exports,__webpack_require__){const encoders=exports;encoders.der=__webpack_require__(66984),encoders.pem=__webpack_require__(2883)},2883:function(module,__unused_webpack_exports,__webpack_require__){const inherits=__webpack_require__(35717),DEREncoder=__webpack_require__(66984);function PEMEncoder(entity){DEREncoder.call(this,entity),this.enc="pem"}inherits(PEMEncoder,DEREncoder),module.exports=PEMEncoder,PEMEncoder.prototype.encode=function encode(data,options){const p=DEREncoder.prototype.encode.call(this,data).toString("base64"),out=["-----BEGIN "+options.label+"-----"];for(let i=0;i<p.length;i+=64)out.push(p.slice(i,i+64));return out.push("-----END "+options.label+"-----"),out.join("\n")}},69282:function(module,__unused_webpack_exports,__webpack_require__){var process=__webpack_require__(34155);function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}var isDeepEqual,isDeepStrictEqual,_require$codes=__webpack_require__(62136).codes,ERR_AMBIGUOUS_ARGUMENT=_require$codes.ERR_AMBIGUOUS_ARGUMENT,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_INVALID_ARG_VALUE=_require$codes.ERR_INVALID_ARG_VALUE,ERR_INVALID_RETURN_VALUE=_require$codes.ERR_INVALID_RETURN_VALUE,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,AssertionError=__webpack_require__(25961),inspect=__webpack_require__(89539).inspect,_require$types=__webpack_require__(89539).types,isPromise=_require$types.isPromise,isRegExp=_require$types.isRegExp,objectAssign=Object.assign?Object.assign:__webpack_require__(8091).assign,objectIs=Object.is?Object.is:__webpack_require__(20609);new Map;function lazyLoadComparison(){var comparison=__webpack_require__(19158);isDeepEqual=comparison.isDeepEqual,isDeepStrictEqual=comparison.isDeepStrictEqual}var warned=!1,assert=module.exports=ok,NO_EXCEPTION_SENTINEL={};function innerFail(obj){if(obj.message instanceof Error)throw obj.message;throw new AssertionError(obj)}function innerOk(fn,argLen,value,message){if(!value){var generatedMessage=!1;if(0===argLen)generatedMessage=!0,message="No value argument passed to `assert.ok()`";else if(message instanceof Error)throw message;var err=new AssertionError({actual:value,expected:!0,message:message,operator:"==",stackStartFn:fn});throw err.generatedMessage=generatedMessage,err}}function ok(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];innerOk.apply(void 0,[ok,args.length].concat(args))}assert.fail=function fail(actual,expected,message,operator,stackStartFn){var internalMessage,argsLen=arguments.length;if(0===argsLen)internalMessage="Failed";else if(1===argsLen)message=actual,actual=void 0;else{if(!1===warned){warned=!0;var warn=process.emitWarning?process.emitWarning:console.warn.bind(console);warn("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}2===argsLen&&(operator="!=")}if(message instanceof Error)throw message;var errArgs={actual:actual,expected:expected,operator:void 0===operator?"fail":operator,stackStartFn:stackStartFn||fail};void 0!==message&&(errArgs.message=message);var err=new AssertionError(errArgs);throw internalMessage&&(err.message=internalMessage,err.generatedMessage=!0),err},assert.AssertionError=AssertionError,assert.ok=ok,assert.equal=function equal(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");actual!=expected&&innerFail({actual:actual,expected:expected,message:message,operator:"==",stackStartFn:equal})},assert.notEqual=function notEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");actual==expected&&innerFail({actual:actual,expected:expected,message:message,operator:"!=",stackStartFn:notEqual})},assert.deepEqual=function deepEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");void 0===isDeepEqual&&lazyLoadComparison(),isDeepEqual(actual,expected)||innerFail({actual:actual,expected:expected,message:message,operator:"deepEqual",stackStartFn:deepEqual})},assert.notDeepEqual=function notDeepEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");void 0===isDeepEqual&&lazyLoadComparison(),isDeepEqual(actual,expected)&&innerFail({actual:actual,expected:expected,message:message,operator:"notDeepEqual",stackStartFn:notDeepEqual})},assert.deepStrictEqual=function deepStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");void 0===isDeepEqual&&lazyLoadComparison(),isDeepStrictEqual(actual,expected)||innerFail({actual:actual,expected:expected,message:message,operator:"deepStrictEqual",stackStartFn:deepStrictEqual})},assert.notDeepStrictEqual=function notDeepStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");void 0===isDeepEqual&&lazyLoadComparison();isDeepStrictEqual(actual,expected)&&innerFail({actual:actual,expected:expected,message:message,operator:"notDeepStrictEqual",stackStartFn:notDeepStrictEqual})},assert.strictEqual=function strictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");objectIs(actual,expected)||innerFail({actual:actual,expected:expected,message:message,operator:"strictEqual",stackStartFn:strictEqual})},assert.notStrictEqual=function notStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");objectIs(actual,expected)&&innerFail({actual:actual,expected:expected,message:message,operator:"notStrictEqual",stackStartFn:notStrictEqual})};var Comparison=function Comparison(obj,keys,actual){var _this=this;!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,Comparison),keys.forEach((function(key){key in obj&&(void 0!==actual&&"string"==typeof actual[key]&&isRegExp(obj[key])&&obj[key].test(actual[key])?_this[key]=actual[key]:_this[key]=obj[key])}))};function compareExceptionKey(actual,expected,key,message,keys,fn){if(!(key in actual)||!isDeepStrictEqual(actual[key],expected[key])){if(!message){var a=new Comparison(actual,keys),b=new Comparison(expected,keys,actual),err=new AssertionError({actual:a,expected:b,operator:"deepStrictEqual",stackStartFn:fn});throw err.actual=actual,err.expected=expected,err.operator=fn.name,err}innerFail({actual:actual,expected:expected,message:message,operator:fn.name,stackStartFn:fn})}}function expectedException(actual,expected,msg,fn){if("function"!=typeof expected){if(isRegExp(expected))return expected.test(actual);if(2===arguments.length)throw new ERR_INVALID_ARG_TYPE("expected",["Function","RegExp"],expected);if("object"!==_typeof(actual)||null===actual){var err=new AssertionError({actual:actual,expected:expected,message:msg,operator:"deepStrictEqual",stackStartFn:fn});throw err.operator=fn.name,err}var keys=Object.keys(expected);if(expected instanceof Error)keys.push("name","message");else if(0===keys.length)throw new ERR_INVALID_ARG_VALUE("error",expected,"may not be an empty object");return void 0===isDeepEqual&&lazyLoadComparison(),keys.forEach((function(key){"string"==typeof actual[key]&&isRegExp(expected[key])&&expected[key].test(actual[key])||compareExceptionKey(actual,expected,key,msg,keys,fn)})),!0}return void 0!==expected.prototype&&actual instanceof expected||!Error.isPrototypeOf(expected)&&!0===expected.call({},actual)}function getActual(fn){if("function"!=typeof fn)throw new ERR_INVALID_ARG_TYPE("fn","Function",fn);try{fn()}catch(e){return e}return NO_EXCEPTION_SENTINEL}function checkIsPromise(obj){return isPromise(obj)||null!==obj&&"object"===_typeof(obj)&&"function"==typeof obj.then&&"function"==typeof obj.catch}function waitForActual(promiseFn){return Promise.resolve().then((function(){var resultPromise;if("function"==typeof promiseFn){if(!checkIsPromise(resultPromise=promiseFn()))throw new ERR_INVALID_RETURN_VALUE("instance of Promise","promiseFn",resultPromise)}else{if(!checkIsPromise(promiseFn))throw new ERR_INVALID_ARG_TYPE("promiseFn",["Function","Promise"],promiseFn);resultPromise=promiseFn}return Promise.resolve().then((function(){return resultPromise})).then((function(){return NO_EXCEPTION_SENTINEL})).catch((function(e){return e}))}))}function expectsError(stackStartFn,actual,error,message){if("string"==typeof error){if(4===arguments.length)throw new ERR_INVALID_ARG_TYPE("error",["Object","Error","Function","RegExp"],error);if("object"===_typeof(actual)&&null!==actual){if(actual.message===error)throw new ERR_AMBIGUOUS_ARGUMENT("error/message",'The error message "'.concat(actual.message,'" is identical to the message.'))}else if(actual===error)throw new ERR_AMBIGUOUS_ARGUMENT("error/message",'The error "'.concat(actual,'" is identical to the message.'));message=error,error=void 0}else if(null!=error&&"object"!==_typeof(error)&&"function"!=typeof error)throw new ERR_INVALID_ARG_TYPE("error",["Object","Error","Function","RegExp"],error);if(actual===NO_EXCEPTION_SENTINEL){var details="";error&&error.name&&(details+=" (".concat(error.name,")")),details+=message?": ".concat(message):".";var fnType="rejects"===stackStartFn.name?"rejection":"exception";innerFail({actual:void 0,expected:error,operator:stackStartFn.name,message:"Missing expected ".concat(fnType).concat(details),stackStartFn:stackStartFn})}if(error&&!expectedException(actual,error,message,stackStartFn))throw actual}function expectsNoError(stackStartFn,actual,error,message){if(actual!==NO_EXCEPTION_SENTINEL){if("string"==typeof error&&(message=error,error=void 0),!error||expectedException(actual,error)){var details=message?": ".concat(message):".",fnType="doesNotReject"===stackStartFn.name?"rejection":"exception";innerFail({actual:actual,expected:error,operator:stackStartFn.name,message:"Got unwanted ".concat(fnType).concat(details,"\n")+'Actual message: "'.concat(actual&&actual.message,'"'),stackStartFn:stackStartFn})}throw actual}}function strict(){for(var _len6=arguments.length,args=new Array(_len6),_key6=0;_key6<_len6;_key6++)args[_key6]=arguments[_key6];innerOk.apply(void 0,[strict,args.length].concat(args))}assert.throws=function throws(promiseFn){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];expectsError.apply(void 0,[throws,getActual(promiseFn)].concat(args))},assert.rejects=function rejects(promiseFn){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];return waitForActual(promiseFn).then((function(result){return expectsError.apply(void 0,[rejects,result].concat(args))}))},assert.doesNotThrow=function doesNotThrow(fn){for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];expectsNoError.apply(void 0,[doesNotThrow,getActual(fn)].concat(args))},assert.doesNotReject=function doesNotReject(fn){for(var _len5=arguments.length,args=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++)args[_key5-1]=arguments[_key5];return waitForActual(fn).then((function(result){return expectsNoError.apply(void 0,[doesNotReject,result].concat(args))}))},assert.ifError=function ifError(err){if(null!=err){var message="ifError got unwanted exception: ";"object"===_typeof(err)&&"string"==typeof err.message?0===err.message.length&&err.constructor?message+=err.constructor.name:message+=err.message:message+=inspect(err);var newErr=new AssertionError({actual:err,expected:null,operator:"ifError",message:message,stackStartFn:ifError}),origStack=err.stack;if("string"==typeof origStack){var tmp2=origStack.split("\n");tmp2.shift();for(var tmp1=newErr.stack.split("\n"),i=0;i<tmp2.length;i++){var pos=tmp1.indexOf(tmp2[i]);if(-1!==pos){tmp1=tmp1.slice(0,pos);break}}newErr.stack="".concat(tmp1.join("\n"),"\n").concat(tmp2.join("\n"))}throw newErr}},assert.strict=objectAssign(strict,assert,{equal:assert.strictEqual,deepEqual:assert.deepStrictEqual,notEqual:assert.notStrictEqual,notDeepEqual:assert.notDeepStrictEqual}),assert.strict.strict=assert.strict},25961:function(module,__unused_webpack_exports,__webpack_require__){var process=__webpack_require__(34155);function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?_assertThisInitialized(self):call}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _wrapNativeSuper(Class){var _cache="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function _wrapNativeSuper(Class){if(null===Class||!function _isNativeFunction(fn){return-1!==Function.toString.call(fn).indexOf("[native code]")}(Class))return Class;if("function"!=typeof Class)throw new TypeError("Super expression must either be null or a function");if(void 0!==_cache){if(_cache.has(Class))return _cache.get(Class);_cache.set(Class,Wrapper)}function Wrapper(){return _construct(Class,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(Class.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,Class)})(Class)}function isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function _construct(Parent,args,Class){return(_construct=isNativeReflectConstruct()?Reflect.construct:function _construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var instance=new(Function.bind.apply(Parent,a));return Class&&_setPrototypeOf(instance,Class.prototype),instance}).apply(null,arguments)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o})(o,p)}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}var inspect=__webpack_require__(89539).inspect,ERR_INVALID_ARG_TYPE=__webpack_require__(62136).codes.ERR_INVALID_ARG_TYPE;function endsWith(str,search,this_len){return(void 0===this_len||this_len>str.length)&&(this_len=str.length),str.substring(this_len-search.length,this_len)===search}var blue="",green="",red="",white="",kReadableOperator={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function copyError(source){var keys=Object.keys(source),target=Object.create(Object.getPrototypeOf(source));return keys.forEach((function(key){target[key]=source[key]})),Object.defineProperty(target,"message",{value:source.message}),target}function inspectValue(val){return inspect(val,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function createErrDiff(actual,expected,operator){var other="",res="",lastPos=0,end="",skipped=!1,actualInspected=inspectValue(actual),actualLines=actualInspected.split("\n"),expectedLines=inspectValue(expected).split("\n"),i=0,indicator="";if("strictEqual"===operator&&"object"===_typeof(actual)&&"object"===_typeof(expected)&&null!==actual&&null!==expected&&(operator="strictEqualObject"),1===actualLines.length&&1===expectedLines.length&&actualLines[0]!==expectedLines[0]){var inputLength=actualLines[0].length+expectedLines[0].length;if(inputLength<=10){if(!("object"===_typeof(actual)&&null!==actual||"object"===_typeof(expected)&&null!==expected||0===actual&&0===expected))return"".concat(kReadableOperator[operator],"\n\n")+"".concat(actualLines[0]," !== ").concat(expectedLines[0],"\n")}else if("strictEqualObject"!==operator){if(inputLength<(process.stderr&&process.stderr.isTTY?process.stderr.columns:80)){for(;actualLines[0][i]===expectedLines[0][i];)i++;i>2&&(indicator="\n ".concat(function repeat(str,count){if(count=Math.floor(count),0==str.length||0==count)return"";var maxCount=str.length*count;for(count=Math.floor(Math.log(count)/Math.log(2));count;)str+=str,count--;return str+str.substring(0,maxCount-str.length)}(" ",i),"^"),i=0)}}}for(var a=actualLines[actualLines.length-1],b=expectedLines[expectedLines.length-1];a===b&&(i++<2?end="\n ".concat(a).concat(end):other=a,actualLines.pop(),expectedLines.pop(),0!==actualLines.length&&0!==expectedLines.length);)a=actualLines[actualLines.length-1],b=expectedLines[expectedLines.length-1];var maxLines=Math.max(actualLines.length,expectedLines.length);if(0===maxLines){var _actualLines=actualInspected.split("\n");if(_actualLines.length>30)for(_actualLines[26]="".concat(blue,"...").concat(white);_actualLines.length>27;)_actualLines.pop();return"".concat(kReadableOperator.notIdentical,"\n\n").concat(_actualLines.join("\n"),"\n")}i>3&&(end="\n".concat(blue,"...").concat(white).concat(end),skipped=!0),""!==other&&(end="\n ".concat(other).concat(end),other="");var printedLines=0,msg=kReadableOperator[operator]+"\n".concat(green,"+ actual").concat(white," ").concat(red,"- expected").concat(white),skippedMsg=" ".concat(blue,"...").concat(white," Lines skipped");for(i=0;i<maxLines;i++){var cur=i-lastPos;if(actualLines.length<i+1)cur>1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(expectedLines[i-2]),printedLines++),res+="\n ".concat(expectedLines[i-1]),printedLines++),lastPos=i,other+="\n".concat(red,"-").concat(white," ").concat(expectedLines[i]),printedLines++;else if(expectedLines.length<i+1)cur>1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(actualLines[i-2]),printedLines++),res+="\n ".concat(actualLines[i-1]),printedLines++),lastPos=i,res+="\n".concat(green,"+").concat(white," ").concat(actualLines[i]),printedLines++;else{var expectedLine=expectedLines[i],actualLine=actualLines[i],divergingLines=actualLine!==expectedLine&&(!endsWith(actualLine,",")||actualLine.slice(0,-1)!==expectedLine);divergingLines&&endsWith(expectedLine,",")&&expectedLine.slice(0,-1)===actualLine&&(divergingLines=!1,actualLine+=","),divergingLines?(cur>1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(actualLines[i-2]),printedLines++),res+="\n ".concat(actualLines[i-1]),printedLines++),lastPos=i,res+="\n".concat(green,"+").concat(white," ").concat(actualLine),other+="\n".concat(red,"-").concat(white," ").concat(expectedLine),printedLines+=2):(res+=other,other="",1!==cur&&0!==i||(res+="\n ".concat(actualLine),printedLines++))}if(printedLines>20&&i<maxLines-2)return"".concat(msg).concat(skippedMsg,"\n").concat(res,"\n").concat(blue,"...").concat(white).concat(other,"\n")+"".concat(blue,"...").concat(white)}return"".concat(msg).concat(skipped?skippedMsg:"","\n").concat(res).concat(other).concat(end).concat(indicator)}var AssertionError=function(_Error){function AssertionError(options){var _this;if(function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,AssertionError),"object"!==_typeof(options)||null===options)throw new ERR_INVALID_ARG_TYPE("options","Object",options);var message=options.message,operator=options.operator,stackStartFn=options.stackStartFn,actual=options.actual,expected=options.expected,limit=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=message)_this=_possibleConstructorReturn(this,_getPrototypeOf(AssertionError).call(this,String(message)));else if(process.stderr&&process.stderr.isTTY&&(process.stderr&&process.stderr.getColorDepth&&1!==process.stderr.getColorDepth()?(blue="[34m",green="[32m",white="[39m",red="[31m"):(blue="",green="",white="",red="")),"object"===_typeof(actual)&&null!==actual&&"object"===_typeof(expected)&&null!==expected&&"stack"in actual&&actual instanceof Error&&"stack"in expected&&expected instanceof Error&&(actual=copyError(actual),expected=copyError(expected)),"deepStrictEqual"===operator||"strictEqual"===operator)_this=_possibleConstructorReturn(this,_getPrototypeOf(AssertionError).call(this,createErrDiff(actual,expected,operator)));else if("notDeepStrictEqual"===operator||"notStrictEqual"===operator){var base=kReadableOperator[operator],res=inspectValue(actual).split("\n");if("notStrictEqual"===operator&&"object"===_typeof(actual)&&null!==actual&&(base=kReadableOperator.notStrictEqualObject),res.length>30)for(res[26]="".concat(blue,"...").concat(white);res.length>27;)res.pop();_this=1===res.length?_possibleConstructorReturn(this,_getPrototypeOf(AssertionError).call(this,"".concat(base," ").concat(res[0]))):_possibleConstructorReturn(this,_getPrototypeOf(AssertionError).call(this,"".concat(base,"\n\n").concat(res.join("\n"),"\n")))}else{var _res=inspectValue(actual),other="",knownOperators=kReadableOperator[operator];"notDeepEqual"===operator||"notEqual"===operator?(_res="".concat(kReadableOperator[operator],"\n\n").concat(_res)).length>1024&&(_res="".concat(_res.slice(0,1021),"...")):(other="".concat(inspectValue(expected)),_res.length>512&&(_res="".concat(_res.slice(0,509),"...")),other.length>512&&(other="".concat(other.slice(0,509),"...")),"deepEqual"===operator||"equal"===operator?_res="".concat(knownOperators,"\n\n").concat(_res,"\n\nshould equal\n\n"):other=" ".concat(operator," ").concat(other)),_this=_possibleConstructorReturn(this,_getPrototypeOf(AssertionError).call(this,"".concat(_res).concat(other)))}return Error.stackTraceLimit=limit,_this.generatedMessage=!message,Object.defineProperty(_assertThisInitialized(_this),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),_this.code="ERR_ASSERTION",_this.actual=actual,_this.expected=expected,_this.operator=operator,Error.captureStackTrace&&Error.captureStackTrace(_assertThisInitialized(_this),stackStartFn),_this.stack,_this.name="AssertionError",_possibleConstructorReturn(_this)}return function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(AssertionError,_Error),function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}(AssertionError,[{key:"toString",value:function toString(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:inspect.custom,value:function value(recurseTimes,ctx){return inspect(this,function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{},ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter((function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})))),ownKeys.forEach((function(key){_defineProperty(target,key,source[key])}))}return target}({},ctx,{customInspect:!1,depth:0}))}}]),AssertionError}(_wrapNativeSuper(Error));module.exports=AssertionError},62136:function(module,__unused_webpack_exports,__webpack_require__){function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o})(o,p)}var assert,util,codes={};function createErrorType(code,message,Base){Base||(Base=Error);var NodeError=function(_Base){function NodeError(arg1,arg2,arg3){var _this;return function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,NodeError),(_this=_possibleConstructorReturn(this,_getPrototypeOf(NodeError).call(this,function getMessage(arg1,arg2,arg3){return"string"==typeof message?message:message(arg1,arg2,arg3)}(arg1,arg2,arg3)))).code=code,_this}return function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(NodeError,_Base),NodeError}(Base);codes[code]=NodeError}function oneOf(expected,thing){if(Array.isArray(expected)){var len=expected.length;return expected=expected.map((function(i){return String(i)})),len>2?"one of ".concat(thing," ").concat(expected.slice(0,len-1).join(", "),", or ")+expected[len-1]:2===len?"one of ".concat(thing," ").concat(expected[0]," or ").concat(expected[1]):"of ".concat(thing," ").concat(expected[0])}return"of ".concat(thing," ").concat(String(expected))}createErrorType("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),createErrorType("ERR_INVALID_ARG_TYPE",(function(name,expected,actual){var determiner,msg;if(void 0===assert&&(assert=__webpack_require__(69282)),assert("string"==typeof name,"'name' must be a string"),"string"==typeof expected&&function startsWith(str,search,pos){return str.substr(!pos||pos<0?0:+pos,search.length)===search}(expected,"not ")?(determiner="must not be",expected=expected.replace(/^not /,"")):determiner="must be",function endsWith(str,search,this_len){return(void 0===this_len||this_len>str.length)&&(this_len=str.length),str.substring(this_len-search.length,this_len)===search}(name," argument"))msg="The ".concat(name," ").concat(determiner," ").concat(oneOf(expected,"type"));else{var type=function includes(str,search,start){return"number"!=typeof start&&(start=0),!(start+search.length>str.length)&&-1!==str.indexOf(search,start)}(name,".")?"property":"argument";msg='The "'.concat(name,'" ').concat(type," ").concat(determiner," ").concat(oneOf(expected,"type"))}return msg+=". Received type ".concat(_typeof(actual))}),TypeError),createErrorType("ERR_INVALID_ARG_VALUE",(function(name,value){var reason=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===util&&(util=__webpack_require__(89539));var inspected=util.inspect(value);return inspected.length>128&&(inspected="".concat(inspected.slice(0,128),"...")),"The argument '".concat(name,"' ").concat(reason,". Received ").concat(inspected)}),TypeError,RangeError),createErrorType("ERR_INVALID_RETURN_VALUE",(function(input,name,value){var type;return type=value&&value.constructor&&value.constructor.name?"instance of ".concat(value.constructor.name):"type ".concat(_typeof(value)),"Expected ".concat(input,' to be returned from the "').concat(name,'"')+" function but got ".concat(type,".")}),TypeError),createErrorType("ERR_MISSING_ARGS",(function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];void 0===assert&&(assert=__webpack_require__(69282)),assert(args.length>0,"At least one arg needs to be specified");var msg="The ",len=args.length;switch(args=args.map((function(a){return'"'.concat(a,'"')})),len){case 1:msg+="".concat(args[0]," argument");break;case 2:msg+="".concat(args[0]," and ").concat(args[1]," arguments");break;default:msg+=args.slice(0,len-1).join(", "),msg+=", and ".concat(args[len-1]," arguments")}return"".concat(msg," must be specified")}),TypeError),module.exports.codes=codes},19158:function(module,__unused_webpack_exports,__webpack_require__){function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}var regexFlagsSupported=void 0!==/a/g.flags,arrayFromSet=function arrayFromSet(set){var array=[];return set.forEach((function(value){return array.push(value)})),array},arrayFromMap=function arrayFromMap(map){var array=[];return map.forEach((function(value,key){return array.push([key,value])})),array},objectIs=Object.is?Object.is:__webpack_require__(20609),objectGetOwnPropertySymbols=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},numberIsNaN=Number.isNaN?Number.isNaN:__webpack_require__(20360);function uncurryThis(f){return f.call.bind(f)}var hasOwnProperty=uncurryThis(Object.prototype.hasOwnProperty),propertyIsEnumerable=uncurryThis(Object.prototype.propertyIsEnumerable),objectToString=uncurryThis(Object.prototype.toString),_require$types=__webpack_require__(89539).types,isAnyArrayBuffer=_require$types.isAnyArrayBuffer,isArrayBufferView=_require$types.isArrayBufferView,isDate=_require$types.isDate,isMap=_require$types.isMap,isRegExp=_require$types.isRegExp,isSet=_require$types.isSet,isNativeError=_require$types.isNativeError,isBoxedPrimitive=_require$types.isBoxedPrimitive,isNumberObject=_require$types.isNumberObject,isStringObject=_require$types.isStringObject,isBooleanObject=_require$types.isBooleanObject,isBigIntObject=_require$types.isBigIntObject,isSymbolObject=_require$types.isSymbolObject,isFloat32Array=_require$types.isFloat32Array,isFloat64Array=_require$types.isFloat64Array;function isNonIndex(key){if(0===key.length||key.length>10)return!0;for(var i=0;i<key.length;i++){var code=key.charCodeAt(i);if(code<48||code>57)return!0}return 10===key.length&&key>=Math.pow(2,32)}function getOwnNonIndexProperties(value){return Object.keys(value).filter(isNonIndex).concat(objectGetOwnPropertySymbols(value).filter(Object.prototype.propertyIsEnumerable.bind(value)))} +/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org> + * @license MIT + */function compare(a,b){if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0}function innerDeepEqual(val1,val2,strict,memos){if(val1===val2)return 0!==val1||(!strict||objectIs(val1,val2));if(strict){if("object"!==_typeof(val1))return"number"==typeof val1&&numberIsNaN(val1)&&numberIsNaN(val2);if("object"!==_typeof(val2)||null===val1||null===val2)return!1;if(Object.getPrototypeOf(val1)!==Object.getPrototypeOf(val2))return!1}else{if(null===val1||"object"!==_typeof(val1))return(null===val2||"object"!==_typeof(val2))&&val1==val2;if(null===val2||"object"!==_typeof(val2))return!1}var val1Tag=objectToString(val1);if(val1Tag!==objectToString(val2))return!1;if(Array.isArray(val1)){if(val1.length!==val2.length)return!1;var keys1=getOwnNonIndexProperties(val1),keys2=getOwnNonIndexProperties(val2);return keys1.length===keys2.length&&keyCheck(val1,val2,strict,memos,1,keys1)}if("[object Object]"===val1Tag&&(!isMap(val1)&&isMap(val2)||!isSet(val1)&&isSet(val2)))return!1;if(isDate(val1)){if(!isDate(val2)||Date.prototype.getTime.call(val1)!==Date.prototype.getTime.call(val2))return!1}else if(isRegExp(val1)){if(!isRegExp(val2)||!function areSimilarRegExps(a,b){return regexFlagsSupported?a.source===b.source&&a.flags===b.flags:RegExp.prototype.toString.call(a)===RegExp.prototype.toString.call(b)}(val1,val2))return!1}else if(isNativeError(val1)||val1 instanceof Error){if(val1.message!==val2.message||val1.name!==val2.name)return!1}else{if(isArrayBufferView(val1)){if(strict||!isFloat32Array(val1)&&!isFloat64Array(val1)){if(!function areSimilarTypedArrays(a,b){return a.byteLength===b.byteLength&&0===compare(new Uint8Array(a.buffer,a.byteOffset,a.byteLength),new Uint8Array(b.buffer,b.byteOffset,b.byteLength))}(val1,val2))return!1}else if(!function areSimilarFloatArrays(a,b){if(a.byteLength!==b.byteLength)return!1;for(var offset=0;offset<a.byteLength;offset++)if(a[offset]!==b[offset])return!1;return!0}(val1,val2))return!1;var _keys=getOwnNonIndexProperties(val1),_keys2=getOwnNonIndexProperties(val2);return _keys.length===_keys2.length&&keyCheck(val1,val2,strict,memos,0,_keys)}if(isSet(val1))return!(!isSet(val2)||val1.size!==val2.size)&&keyCheck(val1,val2,strict,memos,2);if(isMap(val1))return!(!isMap(val2)||val1.size!==val2.size)&&keyCheck(val1,val2,strict,memos,3);if(isAnyArrayBuffer(val1)){if(!function areEqualArrayBuffers(buf1,buf2){return buf1.byteLength===buf2.byteLength&&0===compare(new Uint8Array(buf1),new Uint8Array(buf2))}(val1,val2))return!1}else if(isBoxedPrimitive(val1)&&!function isEqualBoxedPrimitive(val1,val2){return isNumberObject(val1)?isNumberObject(val2)&&objectIs(Number.prototype.valueOf.call(val1),Number.prototype.valueOf.call(val2)):isStringObject(val1)?isStringObject(val2)&&String.prototype.valueOf.call(val1)===String.prototype.valueOf.call(val2):isBooleanObject(val1)?isBooleanObject(val2)&&Boolean.prototype.valueOf.call(val1)===Boolean.prototype.valueOf.call(val2):isBigIntObject(val1)?isBigIntObject(val2)&&BigInt.prototype.valueOf.call(val1)===BigInt.prototype.valueOf.call(val2):isSymbolObject(val2)&&Symbol.prototype.valueOf.call(val1)===Symbol.prototype.valueOf.call(val2)}(val1,val2))return!1}return keyCheck(val1,val2,strict,memos,0)}function getEnumerables(val,keys){return keys.filter((function(k){return propertyIsEnumerable(val,k)}))}function keyCheck(val1,val2,strict,memos,iterationType,aKeys){if(5===arguments.length){aKeys=Object.keys(val1);var bKeys=Object.keys(val2);if(aKeys.length!==bKeys.length)return!1}for(var i=0;i<aKeys.length;i++)if(!hasOwnProperty(val2,aKeys[i]))return!1;if(strict&&5===arguments.length){var symbolKeysA=objectGetOwnPropertySymbols(val1);if(0!==symbolKeysA.length){var count=0;for(i=0;i<symbolKeysA.length;i++){var key=symbolKeysA[i];if(propertyIsEnumerable(val1,key)){if(!propertyIsEnumerable(val2,key))return!1;aKeys.push(key),count++}else if(propertyIsEnumerable(val2,key))return!1}var symbolKeysB=objectGetOwnPropertySymbols(val2);if(symbolKeysA.length!==symbolKeysB.length&&getEnumerables(val2,symbolKeysB).length!==count)return!1}else{var _symbolKeysB=objectGetOwnPropertySymbols(val2);if(0!==_symbolKeysB.length&&0!==getEnumerables(val2,_symbolKeysB).length)return!1}}if(0===aKeys.length&&(0===iterationType||1===iterationType&&0===val1.length||0===val1.size))return!0;if(void 0===memos)memos={val1:new Map,val2:new Map,position:0};else{var val2MemoA=memos.val1.get(val1);if(void 0!==val2MemoA){var val2MemoB=memos.val2.get(val2);if(void 0!==val2MemoB)return val2MemoA===val2MemoB}memos.position++}memos.val1.set(val1,memos.position),memos.val2.set(val2,memos.position);var areEq=objEquiv(val1,val2,strict,aKeys,memos,iterationType);return memos.val1.delete(val1),memos.val2.delete(val2),areEq}function setHasEqualElement(set,val1,strict,memo){for(var setValues=arrayFromSet(set),i=0;i<setValues.length;i++){var val2=setValues[i];if(innerDeepEqual(val1,val2,strict,memo))return set.delete(val2),!0}return!1}function findLooseMatchingPrimitives(prim){switch(_typeof(prim)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":prim=+prim;case"number":if(numberIsNaN(prim))return!1}return!0}function setMightHaveLoosePrim(a,b,prim){var altValue=findLooseMatchingPrimitives(prim);return null!=altValue?altValue:b.has(altValue)&&!a.has(altValue)}function mapMightHaveLoosePrim(a,b,prim,item,memo){var altValue=findLooseMatchingPrimitives(prim);if(null!=altValue)return altValue;var curB=b.get(altValue);return!(void 0===curB&&!b.has(altValue)||!innerDeepEqual(item,curB,!1,memo))&&(!a.has(altValue)&&innerDeepEqual(item,curB,!1,memo))}function mapHasEqualEntry(set,map,key1,item1,strict,memo){for(var setValues=arrayFromSet(set),i=0;i<setValues.length;i++){var key2=setValues[i];if(innerDeepEqual(key1,key2,strict,memo)&&innerDeepEqual(item1,map.get(key2),strict,memo))return set.delete(key2),!0}return!1}function objEquiv(a,b,strict,keys,memos,iterationType){var i=0;if(2===iterationType){if(!function setEquiv(a,b,strict,memo){for(var set=null,aValues=arrayFromSet(a),i=0;i<aValues.length;i++){var val=aValues[i];if("object"===_typeof(val)&&null!==val)null===set&&(set=new Set),set.add(val);else if(!b.has(val)){if(strict)return!1;if(!setMightHaveLoosePrim(a,b,val))return!1;null===set&&(set=new Set),set.add(val)}}if(null!==set){for(var bValues=arrayFromSet(b),_i=0;_i<bValues.length;_i++){var _val=bValues[_i];if("object"===_typeof(_val)&&null!==_val){if(!setHasEqualElement(set,_val,strict,memo))return!1}else if(!strict&&!a.has(_val)&&!setHasEqualElement(set,_val,strict,memo))return!1}return 0===set.size}return!0}(a,b,strict,memos))return!1}else if(3===iterationType){if(!function mapEquiv(a,b,strict,memo){for(var set=null,aEntries=arrayFromMap(a),i=0;i<aEntries.length;i++){var _aEntries$i=_slicedToArray(aEntries[i],2),key=_aEntries$i[0],item1=_aEntries$i[1];if("object"===_typeof(key)&&null!==key)null===set&&(set=new Set),set.add(key);else{var item2=b.get(key);if(void 0===item2&&!b.has(key)||!innerDeepEqual(item1,item2,strict,memo)){if(strict)return!1;if(!mapMightHaveLoosePrim(a,b,key,item1,memo))return!1;null===set&&(set=new Set),set.add(key)}}}if(null!==set){for(var bEntries=arrayFromMap(b),_i2=0;_i2<bEntries.length;_i2++){var _bEntries$_i=_slicedToArray(bEntries[_i2],2),item=(key=_bEntries$_i[0],_bEntries$_i[1]);if("object"===_typeof(key)&&null!==key){if(!mapHasEqualEntry(set,a,key,item,strict,memo))return!1}else if(!(strict||a.has(key)&&innerDeepEqual(a.get(key),item,!1,memo)||mapHasEqualEntry(set,a,key,item,!1,memo)))return!1}return 0===set.size}return!0}(a,b,strict,memos))return!1}else if(1===iterationType)for(;i<a.length;i++){if(!hasOwnProperty(a,i)){if(hasOwnProperty(b,i))return!1;for(var keysA=Object.keys(a);i<keysA.length;i++){var key=keysA[i];if(!hasOwnProperty(b,key)||!innerDeepEqual(a[key],b[key],strict,memos))return!1}return keysA.length===Object.keys(b).length}if(!hasOwnProperty(b,i)||!innerDeepEqual(a[i],b[i],strict,memos))return!1}for(i=0;i<keys.length;i++){var _key=keys[i];if(!innerDeepEqual(a[_key],b[_key],strict,memos))return!1}return!0}module.exports={isDeepEqual:function isDeepEqual(val1,val2){return innerDeepEqual(val1,val2,false)},isDeepStrictEqual:function isDeepStrictEqual(val1,val2){return innerDeepEqual(val1,val2,true)}}},76126:function(module){ +/*! + * assertion-error + * Copyright(c) 2013 Jake Luer <jake@qualiancy.com> + * MIT Licensed + */ +/*! + * Return a function that will copy properties from + * one object to another excluding any originally + * listed. Returned function will create a new `{}`. + * + * @param {String} excluded properties ... + * @return {Function} + */ +function exclude(){var excludes=[].slice.call(arguments);function excludeProps(res,obj){Object.keys(obj).forEach((function(key){~excludes.indexOf(key)||(res[key]=obj[key])}))}return function extendExclude(){for(var args=[].slice.call(arguments),i=0,res={};i<args.length;i++)excludeProps(res,args[i]);return res}}function AssertionError(message,_props,ssf){var props=exclude("name","message","stack","constructor","toJSON")(_props||{});for(var key in this.message=message||"Unspecified AssertionError",this.showDiff=!1,props)this[key]=props[key];if(ssf=ssf||AssertionError,Error.captureStackTrace)Error.captureStackTrace(this,ssf);else try{throw new Error}catch(e){this.stack=e.stack}} +/*! + * Inherit from Error.prototype + */ +/*! + * Primary Exports + */ +module.exports=AssertionError,AssertionError.prototype=Object.create(Error.prototype), +/*! + * Statically set name + */ +AssertionError.prototype.name="AssertionError", +/*! + * Ensure correct constructor + */ +AssertionError.prototype.constructor=AssertionError,AssertionError.prototype.toJSON=function(stack){var props=exclude("constructor","toJSON","stack")({name:this.name},this);return!1!==stack&&this.stack&&(props.stack=this.stack),props}},54006:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{eB:function(){return internalSymbol},jp:function(){return internalStateSymbol}});__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(41539),__webpack_require__(28970);var internalSymbol=Symbol("internalData"),internalStateSymbol=Symbol("state")},18065:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{H:function(){return diff}});var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_32__=__webpack_require__(71002),_namespace_js__WEBPACK_IMPORTED_MODULE_29__=(__webpack_require__(43290),__webpack_require__(66992),__webpack_require__(41539),__webpack_require__(70189),__webpack_require__(78783),__webpack_require__(88921),__webpack_require__(96248),__webpack_require__(13599),__webpack_require__(11477),__webpack_require__(64362),__webpack_require__(15389),__webpack_require__(90401),__webpack_require__(45164),__webpack_require__(91238),__webpack_require__(54837),__webpack_require__(87485),__webpack_require__(56767),__webpack_require__(76651),__webpack_require__(61437),__webpack_require__(35285),__webpack_require__(39865),__webpack_require__(33948),__webpack_require__(21249),__webpack_require__(92222),__webpack_require__(47941),__webpack_require__(89554),__webpack_require__(54747),__webpack_require__(30489),__webpack_require__(68309),__webpack_require__(28970)),_types_is_js__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__(83835),_types_typeof_js__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__(87029);function diff(first,second){return doDiff(first,second)}function doDiff(a,b,path,diff){var typeA=(0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_31__.k)(a),typeB=(0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_31__.k)(b),currPath=path||[],currDiff=diff||[];if(typeA!==typeB||"object"!==typeA&&"array"!==typeA){var o=function getOperator(a,b){var operator,typeA=(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_32__.Z)(a),typeB=(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_32__.Z)(b);"undefined"===typeA&&"undefined"!==typeB?operator="add":"undefined"!==typeA&&"undefined"===typeB?operator="delete":function isNotEqual(a,b){if((0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_32__.Z)(a)!==(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_32__.Z)(b))return!0;if(a instanceof Date&&b instanceof Date)return a.getTime()!==b.getTime();return a!==b}(a,b)&&(operator="update");return operator}(a,b);void 0!==o&&currDiff.push(buildResult(a,b,o,path))}else(function getKeys(a,b,type){if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_30__.kJ)(type)){var keys=a.length>b.length?new Array(a.length):new Array(b.length);return keys.fill(0),new Set(keys.map((function(_,i){return i})))}return new Set(Object.keys(a).concat(Object.keys(b)))})(a,b,typeA).forEach((function(v){Object.prototype.hasOwnProperty.call(a,v)?Object.prototype.hasOwnProperty.call(b,v)?doDiff(a[v],b[v],currPath.concat(v),currDiff):currDiff.push(buildResult(a[v],b[v],"delete",currPath.concat(v))):currDiff.push(buildResult(a[v],b[v],"add",currPath.concat(v)))}));return currDiff}function buildResult(a,b,operator,path){var result={operator:operator,path:path};if("add"!==operator&&(result.first={value:a,type:(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_32__.Z)(a)},(0,_types_is_js__WEBPACK_IMPORTED_MODULE_30__.Kn)(a))){var _Object$getPrototypeO,_Object$getPrototypeO2,name=null===(_Object$getPrototypeO=Object.getPrototypeOf(a))||void 0===_Object$getPrototypeO||null===(_Object$getPrototypeO2=_Object$getPrototypeO.constructor)||void 0===_Object$getPrototypeO2?void 0:_Object$getPrototypeO2.name;void 0!==name&&(result.first.instance=name)}if(("add"===operator||"update"===operator)&&(result.second={value:b,type:(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_32__.Z)(b)},(0,_types_is_js__WEBPACK_IMPORTED_MODULE_30__.Kn)(b))){var _Object$getPrototypeO3,_Object$getPrototypeO4,_name=null===(_Object$getPrototypeO3=Object.getPrototypeOf(b))||void 0===_Object$getPrototypeO3||null===(_Object$getPrototypeO4=_Object$getPrototypeO3.constructor)||void 0===_Object$getPrototypeO4?void 0:_Object$getPrototypeO4.name;void 0!==_name&&(result.second.instance=_name)}return result}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_29__.O)("Monster.Data",diff)},37442:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{l:function(){return extend}});var _namespace_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(28970),_types_is_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(83835),_types_typeof_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(87029);function extend(){var o,i;for(i=0;i<arguments.length;i++){var a=arguments[i];if(!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.Kn)(a)&&!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.kJ)(a))throw new Error("unsupported argument "+JSON.stringify(a));if(void 0!==o)for(var k in a){var _o,v=null==a?void 0:a[k];if(v!==(null===(_o=o)||void 0===_o?void 0:_o[k]))if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.Kn)(v)&&"object"===(0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_2__.k)(v)||(0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.kJ)(v)){if(void 0===o[k])(0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.kJ)(v)?o[k]=[]:o[k]={};else if((0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_2__.k)(o[k])!==(0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_2__.k)(v))throw new Error("type mismatch: "+JSON.stringify(o[k])+"("+(0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_2__.k)(o[k])+") != "+JSON.stringify(v)+"("+(0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_2__.k)(v)+")");o[k]=extend(o[k],v)}else o[k]=v}else o=a}return o}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.O)("Monster.Data",extend)},25413:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{cF:function(){return DELIMITER},gt:function(){return WILDCARD},WV:function(){return Pathfinder}});__webpack_require__(12419);var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_60__=__webpack_require__(71002),_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_59__=__webpack_require__(42982),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_58__=__webpack_require__(70885),_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_56__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_57__=__webpack_require__(43144),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_55__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_49__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_48__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_50__=(__webpack_require__(66992),__webpack_require__(51532),__webpack_require__(41539),__webpack_require__(78783),__webpack_require__(10072),__webpack_require__(99137),__webpack_require__(71957),__webpack_require__(96306),__webpack_require__(103),__webpack_require__(74592),__webpack_require__(58276),__webpack_require__(35082),__webpack_require__(12813),__webpack_require__(18222),__webpack_require__(38563),__webpack_require__(50336),__webpack_require__(7512),__webpack_require__(33948),__webpack_require__(69720),__webpack_require__(74916),__webpack_require__(23123),__webpack_require__(69600),__webpack_require__(4129),__webpack_require__(78206),__webpack_require__(70189),__webpack_require__(88921),__webpack_require__(96248),__webpack_require__(13599),__webpack_require__(11477),__webpack_require__(64362),__webpack_require__(15389),__webpack_require__(90401),__webpack_require__(45164),__webpack_require__(91238),__webpack_require__(54837),__webpack_require__(87485),__webpack_require__(56767),__webpack_require__(76651),__webpack_require__(61437),__webpack_require__(35285),__webpack_require__(39865),__webpack_require__(38478),__webpack_require__(43561),__webpack_require__(32049),__webpack_require__(91058),__webpack_require__(38880),__webpack_require__(30489),__webpack_require__(28970)),_types_base_js__WEBPACK_IMPORTED_MODULE_51__=__webpack_require__(14599),_types_is_js__WEBPACK_IMPORTED_MODULE_52__=__webpack_require__(83835),_types_stack_js__WEBPACK_IMPORTED_MODULE_53__=__webpack_require__(10252),_types_validate_js__WEBPACK_IMPORTED_MODULE_54__=__webpack_require__(78268);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_48__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_48__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_49__.Z)(this,result)}}var DELIMITER=".",WILDCARD="*",Pathfinder=function(_Base){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_55__.Z)(Pathfinder,_Base);var _super=_createSuper(Pathfinder);function Pathfinder(object){var _this;if((0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_56__.Z)(this,Pathfinder),_this=_super.call(this),(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.pt)(object))throw new Error("the parameter must not be a simple type");return _this.object=object,_this.wildCard=WILDCARD,_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_57__.Z)(Pathfinder,[{key:"setWildCard",value:function setWildCard(wildcard){return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_54__.Cp)(wildcard),this.wildCard=wildcard,this}},{key:"getVia",value:function getVia(path){return getValueViaPath.call(this,this.object,(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_54__.Cp)(path))}},{key:"setVia",value:function setVia(path,value){return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_54__.Cp)(path),setValueViaPath.call(this,this.object,path,value),this}},{key:"deleteVia",value:function deleteVia(path){return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_54__.Cp)(path),deleteValueViaPath.call(this,this.object,path),this}},{key:"exists",value:function exists(path){(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_54__.Cp)(path);try{return getValueViaPath.call(this,this.object,path,!0),!0}catch(e){}return!1}}]),Pathfinder}(_types_base_js__WEBPACK_IMPORTED_MODULE_51__.X);function iterate(subject,path,check){var result=new Map;if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.Kn)(subject)||(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.kJ)(subject))for(var _i=0,_Object$entries=Object.entries(subject);_i<_Object$entries.length;_i++){var _Object$entries$_i=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_58__.Z)(_Object$entries[_i],2),key=_Object$entries$_i[0],value=_Object$entries$_i[1];result.set(key,getValueViaPath.call(this,value,path,check))}else{var _key=path.split(DELIMITER).shift();result.set(_key,getValueViaPath.call(this,subject,path,check))}return result}function getValueViaPath(subject,path,check){if(""===path)return subject;var parts=path.split(DELIMITER),current=parts.shift();if(current===this.wildCard)return iterate.call(this,subject,parts.join(DELIMITER),check);if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.Kn)(subject)||(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.kJ)(subject)){var anchor;if(subject instanceof Map||subject instanceof WeakMap)anchor=subject.get(current);else if(subject instanceof Set||subject instanceof WeakSet){var _ref;current=parseInt(current),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_54__.bv)(current),anchor=null===(_ref=(0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_59__.Z)(subject))||void 0===_ref?void 0:_ref[current]}else{if("function"==typeof WeakRef&&subject instanceof WeakRef)throw Error("unsupported action for this data type");(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.kJ)(subject)?(current=parseInt(current),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_54__.bv)(current),anchor=null==subject?void 0:subject[current]):anchor=null==subject?void 0:subject[current]}if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.Kn)(anchor)||(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.kJ)(anchor))return getValueViaPath.call(this,anchor,parts.join(DELIMITER),check);if(parts.length>0)throw Error("the journey is not at its end ("+parts.join(DELIMITER)+")");if(!0===check){var descriptor=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(subject),current);if(!subject.hasOwnProperty(current)&&void 0===descriptor)throw Error("unknown value")}return anchor}throw TypeError("unsupported type "+(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_60__.Z)(subject))}function setValueViaPath(object,path,value){(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_54__.Cp)(path);for(var parts=path.split(DELIMITER),last=parts.pop(),subpath=parts.join(DELIMITER),stack=new _types_stack_js__WEBPACK_IMPORTED_MODULE_53__.K,current=subpath;;){try{getValueViaPath.call(this,object,current,!0);break}catch(e){}if(stack.push(current),parts.pop(),""===(current=parts.join(DELIMITER)))break}for(;!stack.isEmpty();){current=stack.pop();var obj={};if(!stack.isEmpty()){var n=stack.peek().split(DELIMITER).pop();(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.U)(parseInt(n))&&(obj=[])}setValueViaPath.call(this,object,current,obj)}var anchor=getValueViaPath.call(this,object,subpath);if(!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.Kn)(object)&&!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.kJ)(object))throw TypeError("unsupported type: "+(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_60__.Z)(object));if(anchor instanceof Map||anchor instanceof WeakMap)anchor.set(last,value);else if(anchor instanceof Set||anchor instanceof WeakSet)anchor.append(value);else{if("function"==typeof WeakRef&&anchor instanceof WeakRef)throw Error("unsupported action for this data type");(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.kJ)(anchor)?(last=parseInt(last),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_54__.bv)(last),assignProperty(anchor,last,value)):assignProperty(anchor,last,value)}}function assignProperty(object,key,value){object.hasOwnProperty(key)?(void 0===value&&delete object[key],object[key]=value):object[key]=value}function deleteValueViaPath(object,path){var parts=path.split(DELIMITER),last=parts.pop(),subpath=parts.join(DELIMITER),anchor=getValueViaPath.call(this,object,subpath);if(anchor instanceof Map)anchor.delete(last);else{if(anchor instanceof Set||anchor instanceof WeakMap||anchor instanceof WeakSet||"function"==typeof WeakRef&&anchor instanceof WeakRef)throw Error("unsupported action for this data type");(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.kJ)(anchor)?(last=parseInt(last),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_54__.bv)(last),delete anchor[last]):delete anchor[last]}}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_50__.O)("Monster.Data",Pathfinder)},47950:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{E:function(){return Pipe}});__webpack_require__(12419);var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(70885),_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(43144),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_9__=(__webpack_require__(21249),__webpack_require__(74916),__webpack_require__(23123),__webpack_require__(69720),__webpack_require__(85827),__webpack_require__(41539),__webpack_require__(28970)),_types_base_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(14599),_types_validate_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(78268),_transformer_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(73515);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_7__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_7__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_8__.Z)(this,result)}}var Pipe=function(_Base){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__.Z)(Pipe,_Base);var _super=_createSuper(Pipe);function Pipe(pipe){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_14__.Z)(this,Pipe),_this=_super.call(this),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_11__.Cp)(pipe),_this.pipe=pipe.split("|").map((function(v){return new _transformer_js__WEBPACK_IMPORTED_MODULE_12__.$(v)})),_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_15__.Z)(Pipe,[{key:"setCallback",value:function setCallback(name,callback,context){for(var _i=0,_Object$entries=Object.entries(this.pipe);_i<_Object$entries.length;_i++){(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_16__.Z)(_Object$entries[_i],2)[1].setCallback(name,callback,context)}return this}},{key:"run",value:function run(value){return this.pipe.reduce((function(accumulator,transformer,currentIndex,array){return transformer.run(accumulator)}),value)}}]),Pipe}(_types_base_js__WEBPACK_IMPORTED_MODULE_10__.X);(0,_namespace_js__WEBPACK_IMPORTED_MODULE_9__.O)("Monster.Data",Pipe)},73515:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{$:function(){return Transformer}});__webpack_require__(12419),__webpack_require__(24603),__webpack_require__(4129),__webpack_require__(78206),__webpack_require__(83510),__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(47042),__webpack_require__(85827),__webpack_require__(68309),__webpack_require__(91038),__webpack_require__(32165);var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_58__=__webpack_require__(42982),_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(71002),_babel_runtime_helpers_setPrototypeOf__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(89611),_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_56__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_57__=__webpack_require__(43144),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_47__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_46__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_48__=(__webpack_require__(66992),__webpack_require__(51532),__webpack_require__(41539),__webpack_require__(78783),__webpack_require__(10072),__webpack_require__(99137),__webpack_require__(71957),__webpack_require__(96306),__webpack_require__(103),__webpack_require__(74592),__webpack_require__(58276),__webpack_require__(35082),__webpack_require__(12813),__webpack_require__(18222),__webpack_require__(38563),__webpack_require__(50336),__webpack_require__(7512),__webpack_require__(33948),__webpack_require__(74916),__webpack_require__(13728),__webpack_require__(23123),__webpack_require__(21249),__webpack_require__(73210),__webpack_require__(15306),__webpack_require__(39714),__webpack_require__(69600),__webpack_require__(91058),__webpack_require__(92222),__webpack_require__(2707),__webpack_require__(47941),__webpack_require__(54678),__webpack_require__(28970)),_types_base_js__WEBPACK_IMPORTED_MODULE_49__=__webpack_require__(14599),_types_global_js__WEBPACK_IMPORTED_MODULE_50__=__webpack_require__(7999),_types_id_js__WEBPACK_IMPORTED_MODULE_51__=__webpack_require__(45584),_types_is_js__WEBPACK_IMPORTED_MODULE_52__=__webpack_require__(83835),_types_validate_js__WEBPACK_IMPORTED_MODULE_53__=__webpack_require__(78268),_util_clone_js__WEBPACK_IMPORTED_MODULE_54__=__webpack_require__(69080),_pathfinder_js__WEBPACK_IMPORTED_MODULE_55__=__webpack_require__(25413);function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _wrapRegExp(){_wrapRegExp=function _wrapRegExp(re,groups){return new BabelRegExp(re,void 0,groups)};var _super=RegExp.prototype,_groups=new WeakMap;function BabelRegExp(re,flags,groups){var _this=new RegExp(re,flags);return _groups.set(_this,groups||_groups.get(re)),(0,_babel_runtime_helpers_setPrototypeOf__WEBPACK_IMPORTED_MODULE_12__.Z)(_this,BabelRegExp.prototype)}function buildGroups(result,re){var g=_groups.get(re);return Object.keys(g).reduce((function(groups,name){return groups[name]=result[g[name]],groups}),Object.create(null))}return(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__.Z)(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(str){var result=_super.exec.call(this,str);return result&&(result.groups=buildGroups(result,this)),result},BabelRegExp.prototype[Symbol.replace]=function(str,substitution){if("string"==typeof substitution){var groups=_groups.get(this);return _super[Symbol.replace].call(this,str,substitution.replace(/\$<([^>]+)>/g,(function(_,name){return"$"+groups[name]})))}if("function"==typeof substitution){var _this=this;return _super[Symbol.replace].call(this,str,(function(){var args=arguments;return"object"!==(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_14__.Z)(args[args.length-1])&&(args=[].slice.call(args)).push(buildGroups(args,_this)),substitution.apply(this,args)}))}return _super[Symbol.replace].call(this,str,substitution)},_wrapRegExp.apply(this,arguments)}function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_46__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_46__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_47__.Z)(this,result)}}var Transformer=function(_Base){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__.Z)(Transformer,_Base);var _super=_createSuper(Transformer);function Transformer(definition){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_56__.Z)(this,Transformer),(_this=_super.call(this)).args=function disassemble(command){(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.Cp)(command);var _step,placeholder=new Map,regex=_wrapRegExp(/((\\(.)){1})/gim,{pattern:2,char:3}),_iterator=_createForOfIteratorHelper(command.matchAll(regex));try{for(_iterator.s();!(_step=_iterator.n()).done;){var m=_step.value,g=null==m?void 0:m.groups;if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.Kn)(g)){var p=null==g?void 0:g.pattern,c=null==g?void 0:g.char;if(p&&c){var r="__"+(new _types_id_js__WEBPACK_IMPORTED_MODULE_51__.ID).toString()+"__";placeholder.set(r,c),command=command.replace(p,r)}}}}catch(err){_iterator.e(err)}finally{_iterator.f()}var parts=command.split(":");return parts=parts.map((function(value){var _step2,v=value.trim(),_iterator2=_createForOfIteratorHelper(placeholder);try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var k=_step2.value;v=v.replace(k[0],k[1])}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}return v}))}(definition),_this.command=_this.args.shift(),_this.callbacks=new Map,_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_57__.Z)(Transformer,[{key:"setCallback",value:function setCallback(name,callback,context){return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.Cp)(name),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.zV)(callback),void 0!==context&&(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.FF)(context),this.callbacks.set(name,{callback:callback,context:context}),this}},{key:"run",value:function run(value){return transform.apply(this,[value])}}]),Transformer}(_types_base_js__WEBPACK_IMPORTED_MODULE_49__.X);function convertToString(value){return(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.Kn)(value)&&value.hasOwnProperty("toString")&&(value=value.toString()),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.Cp)(value),value}function transform(value){var _callback,key,defaultValue,console=(0,_types_global_js__WEBPACK_IMPORTED_MODULE_50__.Rf)("console"),args=(0,_util_clone_js__WEBPACK_IMPORTED_MODULE_54__.d)(this.args);switch(this.command){case"static":return this.args.join(":");case"tolower":case"strtolower":case"tolowercase":return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.Cp)(value),value.toLowerCase();case"toupper":case"strtoupper":case"touppercase":return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.Cp)(value),value.toUpperCase();case"tostring":return""+value;case"tointeger":var n=parseInt(value);return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.bv)(n),n;case"tojson":return JSON.stringify(value);case"fromjson":return JSON.parse(value);case"trim":return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.Cp)(value),value.trim();case"rawurlencode":return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.Cp)(value),encodeURIComponent(value).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A");case"call":var callback,callbackName=args.shift(),context=(0,_types_global_js__WEBPACK_IMPORTED_MODULE_50__.Rd)();if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.Kn)(value)&&value.hasOwnProperty(callbackName))callback=value[callbackName];else if(this.callbacks.has(callbackName)){var s=this.callbacks.get(callbackName);callback=null==s?void 0:s.callback,context=null==s?void 0:s.context}else"object"===("undefined"==typeof window?"undefined":(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_14__.Z)(window))&&window.hasOwnProperty(callbackName)&&(callback=window[callbackName]);return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.zV)(callback),args.unshift(value),(_callback=callback).call.apply(_callback,[context].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_58__.Z)(args)));case"plain":case"plaintext":return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.Cp)(value),(new DOMParser).parseFromString(value,"text/html").body.textContent||"";case"if":case"?":(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.YK)(value);var trueStatement=args.shift()||void 0,falseStatement=args.shift()||void 0;return"value"===trueStatement&&(trueStatement=value),"\\value"===trueStatement&&(trueStatement="value"),"value"===falseStatement&&(falseStatement=value),"\\value"===falseStatement&&(falseStatement="value"),void 0!==value&&""!==value&&"off"!==value&&"false"!==value&&!1!==value||"on"===value||"true"===value||!0===value?trueStatement:falseStatement;case"ucfirst":return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.Cp)(value),value.charAt(0).toUpperCase()+value.substr(1);case"ucwords":return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.Cp)(value),value.replace(/^([a-z\u00E0-\u00FC])|\s+([a-z\u00E0-\u00FC])/g,(function(v){return v.toUpperCase()}));case"count":case"length":if(((0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.HD)(value)||(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.Kn)(value)||(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.kJ)(value))&&value.hasOwnProperty("length"))return value.length;throw new TypeError("unsupported type "+(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_14__.Z)(value));case"to-base64":case"btoa":case"base64":return btoa(convertToString(value));case"atob":case"from-base64":return atob(convertToString(value));case"empty":return"";case"undefined":return;case"debug":return(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.Kn)(console)&&console.log(value),value;case"prefix":return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.Cp)(value),(null==args?void 0:args[0])+value;case"suffix":return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.Cp)(value),value+(null==args?void 0:args[0]);case"uniqid":return(new _types_id_js__WEBPACK_IMPORTED_MODULE_51__.ID).toString();case"first-key":case"last-key":case"nth-last-key":case"nth-key":if(!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.Kn)(value))throw new Error("type not supported");var keys=Object.keys(value).sort();"first-key"===this.command?key=0:"last-key"===this.command?key=keys.length-1:(key=(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.bv)(parseInt(args.shift())),"nth-last-key"===this.command&&(key=keys.length-key-1)),defaultValue=args.shift()||"";var useKey=null==keys?void 0:keys[key];return null!=value&&value[useKey]?null==value?void 0:value[useKey]:defaultValue;case"key":case"property":case"index":if(void 0===(key=args.shift()||void 0))throw new Error("missing key parameter");if(defaultValue=args.shift()||void 0,value instanceof Map)return value.has(key)?value.get(key):defaultValue;if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.Kn)(value)||(0,_types_is_js__WEBPACK_IMPORTED_MODULE_52__.kJ)(value))return null!=value&&value[key]?null==value?void 0:value[key]:defaultValue;throw new Error("type not supported");case"path-exists":if(void 0===(key=args.shift()))throw new Error("missing key parameter");return new _pathfinder_js__WEBPACK_IMPORTED_MODULE_55__.WV(value).exists(key);case"path":if(void 0===(key=args.shift()))throw new Error("missing key parameter");var pf=new _pathfinder_js__WEBPACK_IMPORTED_MODULE_55__.WV(value);if(!pf.exists(key))return;return pf.getVia(key);case"substring":(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_53__.Cp)(value);var start=parseInt(args[0])||0,end=(parseInt(args[1])||0)+start;return value.substring(start,end);case"nop":return value;case"??":case"default":if(null!=value)return value;defaultValue=args.shift();var defaultType=args.shift();switch(void 0===defaultType&&(defaultType="string"),defaultType){case"int":case"integer":return parseInt(defaultValue);case"float":return parseFloat(defaultValue);case"undefined":return;case"bool":case"boolean":return"undefined"!==(defaultValue=defaultValue.toLowerCase())&&""!==defaultValue&&"off"!==defaultValue&&"false"!==defaultValue&&"false"!==defaultValue||"on"===defaultValue||"true"===defaultValue||"true"===defaultValue;case"string":return""+defaultValue;case"object":return JSON.parse(atob(defaultValue))}throw new Error("type not supported");default:throw new Error("unknown command "+this.command)}return value}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_48__.O)("Monster.Data",Transformer)},79340:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Ze:function(){return addToObjectLink},xB:function(){return removeObjectLink},LH:function(){return hasObjectLink},iE:function(){return findClosestByAttribute},x1:function(){return clearAttributeTokens},Z$:function(){return replaceAttributeToken},gs:function(){return containsAttributeToken},qH:function(){return removeAttributeToken},aG:function(){return addAttributeToken},H3:function(){return toggleAttributeToken},Df:function(){return getLinkedObjects},it:function(){return findClosestObjectLink},Dn:function(){return findClosestByClass}});__webpack_require__(66992),__webpack_require__(41539),__webpack_require__(70189),__webpack_require__(78783),__webpack_require__(88921),__webpack_require__(96248),__webpack_require__(13599),__webpack_require__(11477),__webpack_require__(64362),__webpack_require__(15389),__webpack_require__(90401),__webpack_require__(45164),__webpack_require__(91238),__webpack_require__(54837),__webpack_require__(87485),__webpack_require__(56767),__webpack_require__(76651),__webpack_require__(61437),__webpack_require__(35285),__webpack_require__(39865),__webpack_require__(33948),__webpack_require__(39714),__webpack_require__(32165),__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(74916),__webpack_require__(15306);var _namespace_js__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__(28970),_types_global_js__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__(7999),_types_tokenlist_js__WEBPACK_IMPORTED_MODULE_29__=__webpack_require__(89881),_types_validate_js__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__(78268),_constants_js__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__(66515);function findClosestObjectLink(element){return findClosestByAttribute(element,_constants_js__WEBPACK_IMPORTED_MODULE_31__.wJ)}function addToObjectLink(element,symbol,object){return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.dh)(element,HTMLElement),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.v9)(symbol),void 0===(null==element?void 0:element[symbol])&&(element[symbol]=new Set),addAttributeToken(element,_constants_js__WEBPACK_IMPORTED_MODULE_31__.wJ,symbol.toString()),element[symbol].add(object),element}function removeObjectLink(element,symbol){return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.dh)(element,HTMLElement),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.v9)(symbol),void 0===(null==element?void 0:element[symbol])||(removeAttributeToken(element,_constants_js__WEBPACK_IMPORTED_MODULE_31__.wJ,symbol.toString()),delete element[symbol]),element}function hasObjectLink(element,symbol){return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.dh)(element,HTMLElement),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.v9)(symbol),void 0!==(null==element?void 0:element[symbol])&&containsAttributeToken(element,_constants_js__WEBPACK_IMPORTED_MODULE_31__.wJ,symbol.toString())}function getLinkedObjects(element,symbol){if((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.dh)(element,HTMLElement),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.v9)(symbol),void 0===(null==element?void 0:element[symbol]))throw new Error("there is no object link for "+symbol.toString());return null==element?void 0:element[symbol][Symbol.iterator]()}function toggleAttributeToken(element,key,token){return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.dh)(element,HTMLElement),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(token),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(key),element.hasAttribute(key)?(element.setAttribute(key,new _types_tokenlist_js__WEBPACK_IMPORTED_MODULE_29__.n(element.getAttribute(key)).toggle(token).toString()),element):(element.setAttribute(key,token),element)}function addAttributeToken(element,key,token){return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.dh)(element,HTMLElement),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(token),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(key),element.hasAttribute(key)?(element.setAttribute(key,new _types_tokenlist_js__WEBPACK_IMPORTED_MODULE_29__.n(element.getAttribute(key)).add(token).toString()),element):(element.setAttribute(key,token),element)}function removeAttributeToken(element,key,token){return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.dh)(element,HTMLElement),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(token),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(key),element.hasAttribute(key)?(element.setAttribute(key,new _types_tokenlist_js__WEBPACK_IMPORTED_MODULE_29__.n(element.getAttribute(key)).remove(token).toString()),element):element}function containsAttributeToken(element,key,token){return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.dh)(element,HTMLElement),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(token),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(key),!!element.hasAttribute(key)&&new _types_tokenlist_js__WEBPACK_IMPORTED_MODULE_29__.n(element.getAttribute(key)).contains(token)}function replaceAttributeToken(element,key,from,to){return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.dh)(element,HTMLElement),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(from),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(to),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(key),element.hasAttribute(key)?(element.setAttribute(key,new _types_tokenlist_js__WEBPACK_IMPORTED_MODULE_29__.n(element.getAttribute(key)).replace(from,to).toString()),element):element}function clearAttributeTokens(element,key){return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.dh)(element,HTMLElement),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(key),element.hasAttribute(key)?(element.setAttribute(key,""),element):element}function findClosestByAttribute(element,key,value){if((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.dh)(element,(0,_types_global_js__WEBPACK_IMPORTED_MODULE_28__.Ck)("HTMLElement")),element.hasAttribute(key)){if(void 0===value)return element;if(element.getAttribute(key)===value)return element}var selector=(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(key);void 0!==value&&(selector+="="+(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(value));var result=element.closest("["+selector+"]");if(result instanceof HTMLElement)return result}function findClosestByClass(element,className){var _element$classList;if((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.dh)(element,(0,_types_global_js__WEBPACK_IMPORTED_MODULE_28__.Ck)("HTMLElement")),null!=element&&null!==(_element$classList=element.classList)&&void 0!==_element$classList&&_element$classList.contains((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_30__.Cp)(className)))return element;var result=element.closest("."+className);return result instanceof HTMLElement?result:void 0}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_27__.O)("Monster.DOM",findClosestByClass,getLinkedObjects,addToObjectLink,removeObjectLink,findClosestByAttribute,hasObjectLink,clearAttributeTokens,replaceAttributeToken,containsAttributeToken,removeAttributeToken,addAttributeToken,toggleAttributeToken)},66515:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{I$:function(){return TAG_SCRIPT},mE:function(){return TAG_LINK},cq:function(){return ATTRIBUTE_HREF},ob:function(){return ATTRIBUTE_SRC},j6:function(){return ATTRIBUTE_NONCE},h5:function(){return ATTRIBUTE_TYPE},Zh:function(){return ATTRIBUTE_TITLE},rt:function(){return ATTRIBUTE_CLASS},Wi:function(){return ATTRIBUTE_ID},MO:function(){return ATTRIBUTE_OPTIONS},t0:function(){return DEFAULT_THEME},Te:function(){return ATTRIBUTE_THEME_NAME},Gq:function(){return ATTRIBUTE_UPDATER_ATTRIBUTES},NR:function(){return ATTRIBUTE_UPDATER_REPLACE},EJ:function(){return ATTRIBUTE_UPDATER_INSERT},Wp:function(){return ATTRIBUTE_UPDATER_INSERT_REFERENCE},pB:function(){return ATTRIBUTE_UPDATER_REMOVE},LI:function(){return ATTRIBUTE_UPDATER_BIND},wJ:function(){return ATTRIBUTE_OBJECTLINK},$B:function(){return ATTRIBUTE_DISABLED},Sm:function(){return ATTRIBUTE_ERRORMESSAGE},NL:function(){return ATTRIBUTE_VALUE},sR:function(){return objectUpdaterLinkSymbol},q_:function(){return ATTRIBUTE_TEMPLATE_PREFIX},GZ:function(){return ATTRIBUTE_UPDATER_SELECT_THIS},nN:function(){return ATTRIBUTE_OPTIONS_SELECTOR}});__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(41539),__webpack_require__(28970);var DEFAULT_THEME="monster",ATTRIBUTE_OPTIONS="data-monster-options",ATTRIBUTE_OPTIONS_SELECTOR="data-monster-options-selector",ATTRIBUTE_THEME_NAME="data-monster-theme-name",ATTRIBUTE_UPDATER_ATTRIBUTES="data-monster-attributes",ATTRIBUTE_UPDATER_SELECT_THIS="data-monster-select-this",ATTRIBUTE_UPDATER_REPLACE="data-monster-replace",ATTRIBUTE_UPDATER_INSERT="data-monster-insert",ATTRIBUTE_UPDATER_INSERT_REFERENCE="data-monster-insert-reference",ATTRIBUTE_UPDATER_REMOVE="data-monster-remove",ATTRIBUTE_UPDATER_BIND="data-monster-bind",ATTRIBUTE_TEMPLATE_PREFIX="data-monster-template-prefix",ATTRIBUTE_DISABLED="disabled",ATTRIBUTE_VALUE="value",ATTRIBUTE_OBJECTLINK="data-monster-objectlink",ATTRIBUTE_ERRORMESSAGE="data-monster-error",objectUpdaterLinkSymbol=Symbol("monsterUpdater"),TAG_SCRIPT="script",TAG_LINK="link",ATTRIBUTE_ID="id",ATTRIBUTE_CLASS="class",ATTRIBUTE_TITLE="title",ATTRIBUTE_SRC="src",ATTRIBUTE_HREF="href",ATTRIBUTE_TYPE="type",ATTRIBUTE_NONCE="nonce"},99205:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Monster:function(){return _namespace_js__WEBPACK_IMPORTED_MODULE_7__.Q},CustomControl:function(){return CustomControl}});var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(43144),_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(97326),_babel_runtime_helpers_get__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(11752),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(61120),_data_extend_js__WEBPACK_IMPORTED_MODULE_6__=(__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(41539),__webpack_require__(12419),__webpack_require__(37442)),_namespace_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(28970),_constants_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(66515),_customelement_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(56133);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_0__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_0__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_1__.Z)(this,result)}}var attachedInternalSymbol=Symbol("attachedInternal"),CustomControl=function(_CustomElement){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_10__.Z)(CustomControl,_CustomElement);var _super=_createSuper(CustomControl);function CustomControl(){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_11__.Z)(this,CustomControl),"function"==typeof(_this=_super.call(this)).attachInternals&&(_this[attachedInternalSymbol]=_this.attachInternals()),initObserver.call((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_12__.Z)(_this)),_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_13__.Z)(CustomControl,[{key:"defaults",get:function get(){return(0,_data_extend_js__WEBPACK_IMPORTED_MODULE_6__.l)({},(0,_babel_runtime_helpers_get__WEBPACK_IMPORTED_MODULE_14__.Z)((0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_0__.Z)(CustomControl.prototype),"defaults",this))}},{key:"value",get:function get(){throw Error("the value getter must be overwritten by the derived class")},set:function set(value){throw Error("the value setter must be overwritten by the derived class")}},{key:"labels",get:function get(){var _getInternal$call;return null===(_getInternal$call=getInternal.call(this))||void 0===_getInternal$call?void 0:_getInternal$call.labels}},{key:"name",get:function get(){return this.getAttribute("name")}},{key:"type",get:function get(){return this.constructor.getTag()}},{key:"validity",get:function get(){var _getInternal$call2;return null===(_getInternal$call2=getInternal.call(this))||void 0===_getInternal$call2?void 0:_getInternal$call2.validity}},{key:"validationMessage",get:function get(){var _getInternal$call3;return null===(_getInternal$call3=getInternal.call(this))||void 0===_getInternal$call3?void 0:_getInternal$call3.validationMessage}},{key:"willValidate",get:function get(){var _getInternal$call4;return null===(_getInternal$call4=getInternal.call(this))||void 0===_getInternal$call4?void 0:_getInternal$call4.willValidate}},{key:"states",get:function get(){var _getInternal$call5;return null===(_getInternal$call5=getInternal.call(this))||void 0===_getInternal$call5?void 0:_getInternal$call5.states}},{key:"form",get:function get(){var _getInternal$call6;return null===(_getInternal$call6=getInternal.call(this))||void 0===_getInternal$call6?void 0:_getInternal$call6.form}},{key:"setFormValue",value:function setFormValue(value,state){getInternal.call(this).setFormValue(value,state)}},{key:"setValidity",value:function setValidity(flags,message,anchor){getInternal.call(this).setValidity(flags,message,anchor)}},{key:"checkValidity",value:function checkValidity(){var _getInternal$call7;return null===(_getInternal$call7=getInternal.call(this))||void 0===_getInternal$call7?void 0:_getInternal$call7.checkValidity()}},{key:"reportValidity",value:function reportValidity(){var _getInternal$call8;return null===(_getInternal$call8=getInternal.call(this))||void 0===_getInternal$call8?void 0:_getInternal$call8.reportValidity()}}],[{key:"observedAttributes",get:function get(){var list=(0,_babel_runtime_helpers_get__WEBPACK_IMPORTED_MODULE_14__.Z)((0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_0__.Z)(CustomControl),"observedAttributes",this);return list.push(_constants_js__WEBPACK_IMPORTED_MODULE_8__.NL),list}},{key:"formAssociated",get:function get(){return!0}}]),CustomControl}(_customelement_js__WEBPACK_IMPORTED_MODULE_9__.CustomElement);function getInternal(){if(!(attachedInternalSymbol in this))throw new Error("ElementInternals is not supported and a polyfill is necessary");return this[attachedInternalSymbol]}function initObserver(){var self=this;self[_customelement_js__WEBPACK_IMPORTED_MODULE_9__.attributeObserverSymbol].value=function(){self.setOption("value",self.getAttribute("value"))}}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_7__.O)("Monster.DOM",CustomControl)},56133:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Monster:function(){return _namespace_js__WEBPACK_IMPORTED_MODULE_42__.Q},registerCustomElement:function(){return registerCustomElement},CustomElement:function(){return CustomElement},initMethodSymbol:function(){return initMethodSymbol},assembleMethodSymbol:function(){return assembleMethodSymbol},assignUpdaterToElement:function(){return assignUpdaterToElement},attributeObserverSymbol:function(){return attributeObserverSymbol},getSlottedElements:function(){return getSlottedElements}});__webpack_require__(12419),__webpack_require__(47042),__webpack_require__(68309),__webpack_require__(91038),__webpack_require__(74916),__webpack_require__(32165);var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_60__=__webpack_require__(70885),_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_58__=__webpack_require__(42982),_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_55__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_57__=__webpack_require__(43144),_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_56__=__webpack_require__(97326),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_54__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(61120),_babel_runtime_helpers_wrapNativeSuper__WEBPACK_IMPORTED_MODULE_59__=__webpack_require__(72407),_constants_js__WEBPACK_IMPORTED_MODULE_39__=(__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(41539),__webpack_require__(47941),__webpack_require__(39714),__webpack_require__(66992),__webpack_require__(70189),__webpack_require__(78783),__webpack_require__(88921),__webpack_require__(96248),__webpack_require__(13599),__webpack_require__(11477),__webpack_require__(64362),__webpack_require__(15389),__webpack_require__(90401),__webpack_require__(45164),__webpack_require__(91238),__webpack_require__(54837),__webpack_require__(87485),__webpack_require__(56767),__webpack_require__(76651),__webpack_require__(61437),__webpack_require__(35285),__webpack_require__(39865),__webpack_require__(33948),__webpack_require__(92222),__webpack_require__(69720),__webpack_require__(89554),__webpack_require__(54747),__webpack_require__(19601),__webpack_require__(73210),__webpack_require__(54006)),_data_extend_js__WEBPACK_IMPORTED_MODULE_40__=__webpack_require__(37442),_data_pathfinder_js__WEBPACK_IMPORTED_MODULE_41__=__webpack_require__(25413),_namespace_js__WEBPACK_IMPORTED_MODULE_42__=__webpack_require__(28970),_types_dataurl_js__WEBPACK_IMPORTED_MODULE_43__=__webpack_require__(74943),_types_global_js__WEBPACK_IMPORTED_MODULE_44__=__webpack_require__(7999),_types_is_js__WEBPACK_IMPORTED_MODULE_45__=__webpack_require__(83835),_types_observer_js__WEBPACK_IMPORTED_MODULE_46__=__webpack_require__(68635),_types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_47__=__webpack_require__(59243),_types_validate_js__WEBPACK_IMPORTED_MODULE_48__=__webpack_require__(78268),_util_clone_js__WEBPACK_IMPORTED_MODULE_49__=__webpack_require__(69080),_attributes_js__WEBPACK_IMPORTED_MODULE_50__=__webpack_require__(79340),_constants_js__WEBPACK_IMPORTED_MODULE_51__=__webpack_require__(66515),_template_js__WEBPACK_IMPORTED_MODULE_52__=__webpack_require__(66374),_updater_js__WEBPACK_IMPORTED_MODULE_53__=__webpack_require__(13628);function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_7__.Z)(this,result)}}var initMethodSymbol=Symbol("initMethodSymbol"),assembleMethodSymbol=Symbol("assembleMethodSymbol"),attributeObserverSymbol=Symbol("attributeObserver"),CustomElement=function(_HTMLElement){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_54__.Z)(CustomElement,_HTMLElement);var _super=_createSuper(CustomElement);function CustomElement(){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_55__.Z)(this,CustomElement),(_this=_super.call(this))[_constants_js__WEBPACK_IMPORTED_MODULE_39__.eB]=new _types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_47__.k({options:(0,_data_extend_js__WEBPACK_IMPORTED_MODULE_40__.l)({},_this.defaults)}),_this[attributeObserverSymbol]={},initOptionObserver.call((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_56__.Z)(_this)),_this[initMethodSymbol](),_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_57__.Z)(CustomElement,[{key:"defaults",get:function get(){return{ATTRIBUTE_DISABLED:this.getAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_51__.$B),shadowMode:"open",delegatesFocus:!0,templates:{main:void 0}}}},{key:"attachObserver",value:function attachObserver(observer){return this[_constants_js__WEBPACK_IMPORTED_MODULE_39__.eB].attachObserver(observer),this}},{key:"detachObserver",value:function detachObserver(observer){return this[_constants_js__WEBPACK_IMPORTED_MODULE_39__.eB].detachObserver(observer),this}},{key:"containsObserver",value:function containsObserver(observer){return this[_constants_js__WEBPACK_IMPORTED_MODULE_39__.eB].containsObserver(observer)}},{key:"getOption",value:function getOption(path,defaultValue){var value;try{value=new _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_41__.WV(this[_constants_js__WEBPACK_IMPORTED_MODULE_39__.eB].getRealSubject().options).getVia(path)}catch(e){}return void 0===value?defaultValue:value}},{key:"setOption",value:function setOption(path,value){return new _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_41__.WV(this[_constants_js__WEBPACK_IMPORTED_MODULE_39__.eB].getSubject().options).setVia(path,value),this}},{key:"setOptions",value:function setOptions(options){(0,_types_is_js__WEBPACK_IMPORTED_MODULE_45__.HD)(options)&&(options=parseOptionsJSON.call(this,options));return(0,_data_extend_js__WEBPACK_IMPORTED_MODULE_40__.l)(this[_constants_js__WEBPACK_IMPORTED_MODULE_39__.eB].getSubject().options,this.defaults,options),this}},{key:initMethodSymbol,value:function value(){return this}},{key:assembleMethodSymbol,value:function value(){var elements,nodeList,AttributeOptions=getOptionsFromAttributes.call(this);(0,_types_is_js__WEBPACK_IMPORTED_MODULE_45__.Kn)(AttributeOptions)&&Object.keys(AttributeOptions).length>0&&this.setOptions(AttributeOptions);var ScriptOptions=getOptionsFromScriptTag.call(this);if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_45__.Kn)(ScriptOptions)&&Object.keys(ScriptOptions).length>0&&this.setOptions(ScriptOptions),!1!==this.getOption("shadowMode",!1)){try{initShadowRoot.call(this),elements=this.shadowRoot.childNodes}catch(e){}try{initCSSStylesheet.call(this)}catch(e){(0,_attributes_js__WEBPACK_IMPORTED_MODULE_50__.aG)(this,_constants_js__WEBPACK_IMPORTED_MODULE_51__.Sm,e.toString())}}elements instanceof NodeList||elements instanceof NodeList||(initHtmlContent.call(this),elements=this.childNodes);try{nodeList=new Set([].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_58__.Z)(elements),(0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_58__.Z)(getSlottedElements.call(this))))}catch(e){nodeList=elements}return assignUpdaterToElement.call(this,nodeList,(0,_util_clone_js__WEBPACK_IMPORTED_MODULE_49__.d)(this[_constants_js__WEBPACK_IMPORTED_MODULE_39__.eB].getRealSubject().options)),this}},{key:"connectedCallback",value:function connectedCallback(){(0,_attributes_js__WEBPACK_IMPORTED_MODULE_50__.LH)(this,_constants_js__WEBPACK_IMPORTED_MODULE_51__.sR)||this[assembleMethodSymbol]()}},{key:"disconnectedCallback",value:function disconnectedCallback(){}},{key:"adoptedCallback",value:function adoptedCallback(){}},{key:"attributeChangedCallback",value:function attributeChangedCallback(attrName,oldVal,newVal){var _self$attributeObserv,callback=null===(_self$attributeObserv=this[attributeObserverSymbol])||void 0===_self$attributeObserv?void 0:_self$attributeObserv[attrName];(0,_types_is_js__WEBPACK_IMPORTED_MODULE_45__.mf)(callback)&&callback.call(this,newVal,oldVal)}},{key:"hasNode",value:function hasNode(node){return!!containChildNode.call(this,(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_48__.dh)(node,Node))||this.shadowRoot instanceof ShadowRoot&&containChildNode.call(this.shadowRoot,node)}}],[{key:"observedAttributes",get:function get(){return[_constants_js__WEBPACK_IMPORTED_MODULE_51__.MO,_constants_js__WEBPACK_IMPORTED_MODULE_51__.$B]}},{key:"getTag",value:function getTag(){throw new Error("the method getTag must be overwritten by the derived class.")}},{key:"getCSSStyleSheet",value:function getCSSStyleSheet(){}}]),CustomElement}((0,_babel_runtime_helpers_wrapNativeSuper__WEBPACK_IMPORTED_MODULE_59__.Z)(HTMLElement));function getSlottedElements(query,name){var result=new Set;if(!(this.shadowRoot instanceof ShadowRoot))return result;var selector="slot";void 0!==name&&(selector+=null===name?":not([name])":"[name="+(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_48__.Cp)(name)+"]");for(var slots=this.shadowRoot.querySelectorAll(selector),_i=0,_Object$entries=Object.entries(slots);_i<_Object$entries.length;_i++){(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_60__.Z)(_Object$entries[_i],2)[1].assignedElements().forEach((function(node){if(node instanceof HTMLElement)if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_45__.HD)(query))node.querySelectorAll(query).forEach((function(n){result.add(n)})),node.matches(query)&&result.add(node);else{if(void 0!==query)throw new Error("query must be a string");result.add(node)}}))}return result}function containChildNode(node){if(this.contains(node))return!0;for(var _i2=0,_Object$entries2=Object.entries(this.childNodes);_i2<_Object$entries2.length;_i2++){var e=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_60__.Z)(_Object$entries2[_i2],2)[1];if(e.contains(node))return!0;containChildNode.call(e,node)}return!1}function initOptionObserver(){var self=this,lastDisabledValue=void 0;self.attachObserver(new _types_observer_js__WEBPACK_IMPORTED_MODULE_46__.p((function(){var flag=self.getOption("disabled");if(flag!==lastDisabledValue&&(lastDisabledValue=flag,self.shadowRoot instanceof ShadowRoot)){var nodeList,query="button, command, fieldset, keygen, optgroup, option, select, textarea, input, [data-monster-objectlink]",elements=self.shadowRoot.querySelectorAll(query);try{nodeList=new Set([].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_58__.Z)(elements),(0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_58__.Z)(getSlottedElements.call(self,query))))}catch(e){nodeList=elements}for(var _i3=0,_arr=(0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_58__.Z)(nodeList);_i3<_arr.length;_i3++){var element=_arr[_i3];!0===flag?element.setAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_51__.$B,""):element.removeAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_51__.$B)}}}))),self.attachObserver(new _types_observer_js__WEBPACK_IMPORTED_MODULE_46__.p((function(){if((0,_attributes_js__WEBPACK_IMPORTED_MODULE_50__.LH)(self,_constants_js__WEBPACK_IMPORTED_MODULE_51__.sR)){var _step,_iterator=_createForOfIteratorHelper((0,_attributes_js__WEBPACK_IMPORTED_MODULE_50__.Df)(self,_constants_js__WEBPACK_IMPORTED_MODULE_51__.sR));try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step2,_iterator2=_createForOfIteratorHelper(_step.value);try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var updater=_step2.value,d=(0,_util_clone_js__WEBPACK_IMPORTED_MODULE_49__.d)(self[_constants_js__WEBPACK_IMPORTED_MODULE_39__.eB].getRealSubject().options);Object.assign(updater.getSubject(),d)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}}}catch(err){_iterator.e(err)}finally{_iterator.f()}}}))),self[attributeObserverSymbol][_constants_js__WEBPACK_IMPORTED_MODULE_51__.$B]=function(){self.hasAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_51__.$B)?self.setOption(_constants_js__WEBPACK_IMPORTED_MODULE_51__.$B,!0):self.setOption(_constants_js__WEBPACK_IMPORTED_MODULE_51__.$B,void 0)},self[attributeObserverSymbol][_constants_js__WEBPACK_IMPORTED_MODULE_51__.MO]=function(){var options=getOptionsFromAttributes.call(self);(0,_types_is_js__WEBPACK_IMPORTED_MODULE_45__.Kn)(options)&&Object.keys(options).length>0&&self.setOptions(options)},self[attributeObserverSymbol][_constants_js__WEBPACK_IMPORTED_MODULE_51__.nN]=function(){var options=getOptionsFromScriptTag.call(self);(0,_types_is_js__WEBPACK_IMPORTED_MODULE_45__.Kn)(options)&&Object.keys(options).length>0&&self.setOptions(options)}}function getOptionsFromScriptTag(){if(!this.hasAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_51__.nN))return{};var node=document.querySelector(this.getAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_51__.nN));if(!(node instanceof HTMLScriptElement))return(0,_attributes_js__WEBPACK_IMPORTED_MODULE_50__.aG)(this,_constants_js__WEBPACK_IMPORTED_MODULE_51__.Sm,"the selector "+_constants_js__WEBPACK_IMPORTED_MODULE_51__.nN+" for options was specified ("+this.getAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_51__.nN)+") but not found."),{};var obj={};try{obj=parseOptionsJSON.call(this,node.textContent.trim())}catch(e){(0,_attributes_js__WEBPACK_IMPORTED_MODULE_50__.aG)(this,_constants_js__WEBPACK_IMPORTED_MODULE_51__.Sm,"when analyzing the configuration from the script tag there was an error. "+e)}return obj}function getOptionsFromAttributes(){if(this.hasAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_51__.MO))try{return parseOptionsJSON.call(this,this.getAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_51__.MO))}catch(e){(0,_attributes_js__WEBPACK_IMPORTED_MODULE_50__.aG)(this,_constants_js__WEBPACK_IMPORTED_MODULE_51__.Sm,"the options attribute "+_constants_js__WEBPACK_IMPORTED_MODULE_51__.MO+" does not contain a valid json definition (actual: "+this.getAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_51__.MO)+")."+e)}return{}}function parseOptionsJSON(data){var obj={};if(!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_45__.HD)(data))return obj;try{data=(0,_types_dataurl_js__WEBPACK_IMPORTED_MODULE_43__.yS)(data).content}catch(e){}try{var _obj=JSON.parse(data);return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_48__.FF)(_obj)}catch(e){throw e}return obj}function initHtmlContent(){try{var template=(0,_template_js__WEBPACK_IMPORTED_MODULE_52__.HO)(this.constructor.getTag());this.appendChild(template.createDocumentFragment())}catch(e){var html=this.getOption("templates.main","");(0,_types_is_js__WEBPACK_IMPORTED_MODULE_45__.HD)(html)&&html.length>0&&(this.innerHTML=html)}return this}function initCSSStylesheet(){if(!(this.shadowRoot instanceof ShadowRoot))return this;var styleSheet=this.constructor.getCSSStyleSheet();if(styleSheet instanceof CSSStyleSheet)styleSheet.cssRules.length>0&&(this.shadowRoot.adoptedStyleSheets=[styleSheet]);else if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_45__.kJ)(styleSheet)){var _step3,assign=[],_iterator3=_createForOfIteratorHelper(styleSheet);try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var s=_step3.value;if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_45__.HD)(s)){var trimedStyleSheet=s.trim();if(""!==trimedStyleSheet){var style=document.createElement("style");style.innerHTML=trimedStyleSheet,this.shadowRoot.prepend(style)}}else(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_48__.dh)(s,CSSStyleSheet),s.cssRules.length>0&&assign.push(s)}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}assign.length>0&&(this.shadowRoot.adoptedStyleSheets=assign)}else if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_45__.HD)(styleSheet)){if(""!==styleSheet.trim()){var _style=document.createElement("style");_style.innerHTML=styleSheet,this.shadowRoot.prepend(_style)}}return this}function initShadowRoot(){var template,html;try{template=(0,_template_js__WEBPACK_IMPORTED_MODULE_52__.HO)(this.constructor.getTag())}catch(e){if(html=this.getOption("templates.main",""),!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_45__.HD)(html)||void 0===html||""===html)throw new Error("html is not set.")}return this.attachShadow({mode:this.getOption("shadowMode","open"),delegatesFocus:this.getOption("delegatesFocus",!0)}),template instanceof _template_js__WEBPACK_IMPORTED_MODULE_52__.YS?(this.shadowRoot.appendChild(template.createDocumentFragment()),this):(this.shadowRoot.innerHTML=html,this)}function registerCustomElement(element){(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_48__.zV)(element),(0,_types_global_js__WEBPACK_IMPORTED_MODULE_44__.Rf)("customElements").define(element.getTag(),element)}function assignUpdaterToElement(elements,object){var updaters=new Set;elements instanceof NodeList&&(elements=new Set((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_58__.Z)(elements)));var result=[];return elements.forEach((function(element){if(element instanceof HTMLElement&&!(element instanceof HTMLTemplateElement)){var u=new _updater_js__WEBPACK_IMPORTED_MODULE_53__.F(element,object);updaters.add(u),result.push(u.run().then((function(){return u.enableEventProcessing()})))}})),updaters.size>0&&(0,_attributes_js__WEBPACK_IMPORTED_MODULE_50__.Ze)(this,_constants_js__WEBPACK_IMPORTED_MODULE_51__.sR,updaters),result}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_42__.O)("Monster.DOM",CustomElement,registerCustomElement,assignUpdaterToElement)},51708:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{PJ:function(){return findTargetElementFromEvent},BX:function(){return fireEvent},LI:function(){return fireCustomEvent}});__webpack_require__(47042),__webpack_require__(41539),__webpack_require__(68309),__webpack_require__(91038),__webpack_require__(78783),__webpack_require__(74916),__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(32165),__webpack_require__(66992),__webpack_require__(33948);var _namespace_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(28970),_types_is_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(83835),_types_validate_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(78268),_util_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(72287);function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function fireEvent(element,type){(0,_util_js__WEBPACK_IMPORTED_MODULE_14__.Me)();if(element instanceof HTMLElement){if("click"===type)return void element.click();var event=new Event((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_13__.Cp)(type),{bubbles:!0,cancelable:!0});element.dispatchEvent(event)}else{if(!(element instanceof HTMLCollection||element instanceof NodeList))throw new TypeError("value is not an instance of HTMLElement or HTMLCollection");var _step,_iterator=_createForOfIteratorHelper(element);try{for(_iterator.s();!(_step=_iterator.n()).done;){fireEvent(_step.value,type)}}catch(err){_iterator.e(err)}finally{_iterator.f()}}}function fireCustomEvent(element,type,detail){(0,_util_js__WEBPACK_IMPORTED_MODULE_14__.Me)();if(element instanceof HTMLElement){(0,_types_is_js__WEBPACK_IMPORTED_MODULE_12__.Kn)(detail)||(detail={detail:detail});var event=new CustomEvent((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_13__.Cp)(type),{bubbles:!0,cancelable:!0,detail:detail});element.dispatchEvent(event)}else{if(!(element instanceof HTMLCollection||element instanceof NodeList))throw new TypeError("value is not an instance of HTMLElement or HTMLCollection");var _step2,_iterator2=_createForOfIteratorHelper(element);try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){fireCustomEvent(_step2.value,type,detail)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}}}function findTargetElementFromEvent(event,attributeName,attributeValue){if((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_13__.dh)(event,Event),"function"!=typeof event.composedPath)throw new Error("unsupported event");var path=event.composedPath();if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_12__.kJ)(path))for(var i=0;i<path.length;i++){var o=path[i];if(o instanceof HTMLElement&&o.hasAttribute(attributeName)&&(void 0===attributeValue||o.getAttribute(attributeName)===attributeValue))return o}}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_11__.O)("Monster.DOM",findTargetElementFromEvent,fireEvent,fireCustomEvent)},77562:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Monster:function(){return _namespace_js__WEBPACK_IMPORTED_MODULE_2__.Q},windowReady:function(){return windowReady},domReady:function(){return domReady}});__webpack_require__(41539),__webpack_require__(88674);var _namespace_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(28970),_util_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(72287),domReady=new Promise((function(resolve){var document=(0,_util_js__WEBPACK_IMPORTED_MODULE_3__.Me)();"loading"===document.readyState?document.addEventListener("DOMContentLoaded",resolve):resolve()})),windowReady=new Promise((function(resolve){var document=(0,_util_js__WEBPACK_IMPORTED_MODULE_3__.Me)(),window=(0,_util_js__WEBPACK_IMPORTED_MODULE_3__.Jj)();"complete"===document.readyState?resolve():window.addEventListener("load",resolve)}))},66374:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{YS:function(){return Template},HO:function(){return findDocumentTemplate}});__webpack_require__(41539),__webpack_require__(12419);var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(43144),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(28970),_types_base_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(14599),_types_global_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7999),_types_validate_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(78268),_constants_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(66515),_theme_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(53358);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__.Z)(this,result)}}var Template=function(_Base){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_10__.Z)(Template,_Base);var _super=_createSuper(Template);function Template(template){var _this;(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_11__.Z)(this,Template),_this=_super.call(this);var HTMLTemplateElement=(0,_types_global_js__WEBPACK_IMPORTED_MODULE_6__.Ck)("HTMLTemplateElement");return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_7__.dh)(template,HTMLTemplateElement),_this.template=template,_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_12__.Z)(Template,[{key:"getTemplateElement",value:function getTemplateElement(){return this.template}},{key:"createDocumentFragment",value:function createDocumentFragment(){return this.template.content.cloneNode(!0)}}]),Template}(_types_base_js__WEBPACK_IMPORTED_MODULE_5__.X);function findDocumentTemplate(id,currentNode){(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_7__.Cp)(id);var prefixID,template,document=(0,_types_global_js__WEBPACK_IMPORTED_MODULE_6__.Rf)("document"),HTMLTemplateElement=(0,_types_global_js__WEBPACK_IMPORTED_MODULE_6__.Ck)("HTMLTemplateElement"),DocumentFragment=(0,_types_global_js__WEBPACK_IMPORTED_MODULE_6__.Ck)("DocumentFragment"),Document=(0,_types_global_js__WEBPACK_IMPORTED_MODULE_6__.Ck)("Document");currentNode instanceof Document||currentNode instanceof DocumentFragment||(currentNode instanceof Node&&(currentNode.hasAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_8__.q_)&&(prefixID=currentNode.getAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_8__.q_)),(currentNode=currentNode.getRootNode())instanceof Document||currentNode instanceof DocumentFragment||(currentNode=currentNode.ownerDocument)),currentNode instanceof Document||currentNode instanceof DocumentFragment||(currentNode=document));var theme=(0,_theme_js__WEBPACK_IMPORTED_MODULE_9__.Rm)();if(prefixID){var themedPrefixID=prefixID+"-"+id+"-"+theme.getName();if((template=currentNode.getElementById(themedPrefixID))instanceof HTMLTemplateElement)return new Template(template);if((template=document.getElementById(themedPrefixID))instanceof HTMLTemplateElement)return new Template(template)}var themedID=id+"-"+theme.getName();if((template=currentNode.getElementById(themedID))instanceof HTMLTemplateElement)return new Template(template);if((template=document.getElementById(themedID))instanceof HTMLTemplateElement)return new Template(template);if((template=currentNode.getElementById(id))instanceof HTMLTemplateElement)return new Template(template);if((template=document.getElementById(id))instanceof HTMLTemplateElement)return new Template(template);throw new Error("template "+id+" not found.")}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_4__.O)("Monster.DOM",Template,findDocumentTemplate)},53358:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Q2:function(){return Theme},Rm:function(){return getDocumentTheme}});__webpack_require__(41539),__webpack_require__(12419);var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(43144),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_5__=(__webpack_require__(68309),__webpack_require__(28970)),_types_base_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(14599),_types_global_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(7999),_types_validate_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(78268),_constants_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(66515);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__.Z)(this,result)}}var Theme=function(_Base){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_10__.Z)(Theme,_Base);var _super=_createSuper(Theme);function Theme(name){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_11__.Z)(this,Theme),_this=_super.call(this),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_8__.Cp)(name),_this.name=name,_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_12__.Z)(Theme,[{key:"getName",value:function getName(){return this.name}}]),Theme}(_types_base_js__WEBPACK_IMPORTED_MODULE_6__.X);function getDocumentTheme(){var document=(0,_types_global_js__WEBPACK_IMPORTED_MODULE_7__.Rf)("document"),name=_constants_js__WEBPACK_IMPORTED_MODULE_9__.t0,element=document.querySelector("html");if(element instanceof HTMLElement){var theme=element.getAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_9__.Te);theme&&(name=theme)}return new Theme(name)}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_5__.O)("Monster.DOM",Theme,getDocumentTheme)},13628:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{F:function(){return Updater}});__webpack_require__(12419),__webpack_require__(47042),__webpack_require__(68309),__webpack_require__(32165);var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_81__=__webpack_require__(71002),_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_80__=__webpack_require__(42982),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__=__webpack_require__(70885),_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_76__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_79__=__webpack_require__(43144),_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_77__=__webpack_require__(97326),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_75__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_58__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_57__=__webpack_require__(61120),_constants_js__WEBPACK_IMPORTED_MODULE_59__=(__webpack_require__(66992),__webpack_require__(51532),__webpack_require__(41539),__webpack_require__(78783),__webpack_require__(10072),__webpack_require__(99137),__webpack_require__(71957),__webpack_require__(96306),__webpack_require__(103),__webpack_require__(74592),__webpack_require__(58276),__webpack_require__(35082),__webpack_require__(12813),__webpack_require__(18222),__webpack_require__(38563),__webpack_require__(50336),__webpack_require__(7512),__webpack_require__(33948),__webpack_require__(69720),__webpack_require__(82772),__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(21249),__webpack_require__(91038),__webpack_require__(38880),__webpack_require__(38478),__webpack_require__(43561),__webpack_require__(32049),__webpack_require__(69600),__webpack_require__(70189),__webpack_require__(88921),__webpack_require__(96248),__webpack_require__(13599),__webpack_require__(11477),__webpack_require__(64362),__webpack_require__(15389),__webpack_require__(90401),__webpack_require__(45164),__webpack_require__(91238),__webpack_require__(54837),__webpack_require__(87485),__webpack_require__(56767),__webpack_require__(76651),__webpack_require__(61437),__webpack_require__(35285),__webpack_require__(39865),__webpack_require__(89554),__webpack_require__(54747),__webpack_require__(74916),__webpack_require__(23123),__webpack_require__(73210),__webpack_require__(15306),__webpack_require__(27207),__webpack_require__(54006)),_data_diff_js__WEBPACK_IMPORTED_MODULE_60__=__webpack_require__(18065),_data_pathfinder_js__WEBPACK_IMPORTED_MODULE_61__=__webpack_require__(25413),_data_pipe_js__WEBPACK_IMPORTED_MODULE_62__=__webpack_require__(47950),_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__=__webpack_require__(66515),_namespace_js__WEBPACK_IMPORTED_MODULE_64__=__webpack_require__(28970),_types_base_js__WEBPACK_IMPORTED_MODULE_65__=__webpack_require__(14599),_types_is_js__WEBPACK_IMPORTED_MODULE_66__=__webpack_require__(83835),_types_observer_js__WEBPACK_IMPORTED_MODULE_67__=__webpack_require__(68635),_types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_68__=__webpack_require__(59243),_types_validate_js__WEBPACK_IMPORTED_MODULE_69__=__webpack_require__(78268),_util_clone_js__WEBPACK_IMPORTED_MODULE_70__=__webpack_require__(69080),_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_71__=__webpack_require__(69618),_events_js__WEBPACK_IMPORTED_MODULE_72__=__webpack_require__(51708),_template_js__WEBPACK_IMPORTED_MODULE_73__=__webpack_require__(66374),_util_js__WEBPACK_IMPORTED_MODULE_74__=__webpack_require__(72287);function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_57__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_57__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_58__.Z)(this,result)}}var Updater=function(_Base){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_75__.Z)(Updater,_Base);var _super=_createSuper(Updater);function Updater(element,subject){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_76__.Z)(this,Updater),_this=_super.call(this),void 0===subject&&(subject={}),(0,_types_is_js__WEBPACK_IMPORTED_MODULE_66__.$O)(subject,_types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_68__.k)||(subject=new _types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_68__.k(subject)),_this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB]={element:(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_69__.dh)(element,HTMLElement),last:{},callbacks:new Map,eventTypes:["keyup","click","change","drop","touchend","input"],subject:subject},_this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].callbacks.set("checkstate",getCheckStateCallback.call((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_77__.Z)(_this))),_this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].subject.attachObserver(new _types_observer_js__WEBPACK_IMPORTED_MODULE_67__.p((function(){var s=_this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].subject.getRealSubject(),diffResult=(0,_data_diff_js__WEBPACK_IMPORTED_MODULE_60__.H)(_this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].last,s);_this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].last=(0,_util_clone_js__WEBPACK_IMPORTED_MODULE_70__.d)(s);for(var _i=0,_Object$entries=Object.entries(diffResult);_i<_Object$entries.length;_i++){var change=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_Object$entries[_i],2)[1];removeElement.call((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_77__.Z)(_this),change),insertElement.call((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_77__.Z)(_this),change),updateContent.call((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_77__.Z)(_this),change),updateAttributes.call((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_77__.Z)(_this),change)}}))),_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_79__.Z)(Updater,[{key:"setEventTypes",value:function setEventTypes(types){return this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].eventTypes=(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_69__.IL)(types),this}},{key:"enableEventProcessing",value:function enableEventProcessing(){this.disableEventProcessing();var _step,_iterator=_createForOfIteratorHelper(this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].eventTypes);try{for(_iterator.s();!(_step=_iterator.n()).done;){var type=_step.value;this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].element.addEventListener(type,getControlEventHandler.call(this),{capture:!0,passive:!0})}}catch(err){_iterator.e(err)}finally{_iterator.f()}return this}},{key:"disableEventProcessing",value:function disableEventProcessing(){var _step2,_iterator2=_createForOfIteratorHelper(this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].eventTypes);try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var type=_step2.value;this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].element.removeEventListener(type,getControlEventHandler.call(this))}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}return this}},{key:"run",value:function run(){return this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].last={__init__:!0},this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].subject.notifyObservers()}},{key:"retrieve",value:function retrieve(){return retrieveFromBindings.call(this),this}},{key:"getSubject",value:function getSubject(){return this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].subject.getSubject()}},{key:"setCallback",value:function setCallback(name,callback){return this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].callbacks.set(name,callback),this}}]),Updater}(_types_base_js__WEBPACK_IMPORTED_MODULE_65__.X);function getCheckStateCallback(){return function(current){if(this instanceof HTMLInputElement){if(-1!==["radio","checkbox"].indexOf(this.type))return this.value+""==current+""?"true":void 0}else if(this instanceof HTMLOptionElement)return(0,_types_is_js__WEBPACK_IMPORTED_MODULE_66__.kJ)(current)&&-1!==current.indexOf(this.value)?"true":void 0}}var symbol=Symbol("EventHandler");function getControlEventHandler(){var self=this;return self[symbol]||(self[symbol]=function(event){var element=(0,_events_js__WEBPACK_IMPORTED_MODULE_72__.PJ)(event,_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.LI);void 0!==element&&retrieveAndSetValue.call(self,element)}),self[symbol]}function retrieveAndSetValue(element){var _element$constructor,_Object$getOwnPropert,value,pathfinder=new _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_61__.WV(this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].subject.getSubject()),path=element.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.LI);if(0!==path.indexOf("path:"))throw new Error("the bind argument must start as a value with a path");if(path=path.substr(5),element instanceof HTMLInputElement)switch(element.type){case"checkbox":value=element.checked?element.value:void 0;break;default:value=element.value}else if(element instanceof HTMLTextAreaElement)value=element.value;else if(element instanceof HTMLSelectElement)switch(element.type){case"select-one":value=element.value;break;case"select-multiple":value=element.value;var options=null==element?void 0:element.selectedOptions;void 0===options&&(options=element.querySelectorAll(":scope option:checked")),value=Array.from(options).map((function(_ref){return _ref.value}))}else{if(!(null!=element&&null!==(_element$constructor=element.constructor)&&void 0!==_element$constructor&&_element$constructor.prototype&&null!==(_Object$getOwnPropert=Object.getOwnPropertyDescriptor(element.constructor.prototype,"value"))&&void 0!==_Object$getOwnPropert&&_Object$getOwnPropert.get||element.hasOwnProperty("value")))throw new Error("unsupported object");value=null==element?void 0:element.value}var copy=(0,_util_clone_js__WEBPACK_IMPORTED_MODULE_70__.d)(this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].subject.getRealSubject());new _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_61__.WV(copy).setVia(path,value),(0,_data_diff_js__WEBPACK_IMPORTED_MODULE_60__.H)(copy,this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].subject.getRealSubject()).length>0&&pathfinder.setVia(path,value)}function retrieveFromBindings(){this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].element.matches("["+_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.LI+"]")&&retrieveAndSetValue.call(this,element);var _step3,_iterator3=_createForOfIteratorHelper(this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].element.querySelectorAll("["+_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.LI+"]").entries());try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var _element=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_step3.value,2)[1];retrieveAndSetValue.call(this,_element)}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}}function removeElement(change){var _step4,_iterator4=_createForOfIteratorHelper(this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].element.querySelectorAll(":scope ["+_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.pB+"]").entries());try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var _element2=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_step4.value,2)[1];_element2.parentNode.removeChild(_element2)}}catch(err){_iterator4.e(err)}finally{_iterator4.f()}}function insertElement(change){for(var self=this,subject=self[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].subject.getRealSubject(),mem=((0,_util_js__WEBPACK_IMPORTED_MODULE_74__.Me)(),new WeakSet),wd=0,container=self[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].element;;){var found=!1;wd++;var p=(0,_util_clone_js__WEBPACK_IMPORTED_MODULE_70__.d)(null==change?void 0:change.path);if(!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_66__.kJ)(p))return self;for(;p.length>0;){var current=p.join("."),iterator=new Set,query="["+_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.EJ+'*="path:'+current+'"]',e=container.querySelectorAll(query);e.length>0&&(iterator=new Set((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_80__.Z)(e))),container.matches(query)&&iterator.add(container);var _step5,_iterator5=_createForOfIteratorHelper(iterator.entries());try{var _loop=function _loop(){var containerElement=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_step5.value,2)[1];if(mem.has(containerElement))return"continue";mem.add(containerElement),found=!0;var attributes=containerElement.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.EJ),def=(0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_71__.A)(attributes),i=def.indexOf(" "),key=(0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_71__.A)(def.substr(0,i)),refPrefix=key+"-",cmd=(0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_71__.A)(def.substr(i));if(cmd.indexOf("|")>0)throw new Error("pipes are not allowed when cloning a node.");var pipe=new _data_pipe_js__WEBPACK_IMPORTED_MODULE_62__.E(cmd);self[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].callbacks.forEach((function(f,n){pipe.setCallback(n,f)}));var value=void 0;try{containerElement.removeAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Sm),value=pipe.run(subject)}catch(e){containerElement.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Sm,e.message)}var dataPath=cmd.split(":").pop();if(containerElement.hasChildNodes()&&containerElement.lastChild,!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_66__.TW)(value))throw new Error("the value is not iterable");for(var available=new Set,_i2=0,_Object$entries2=Object.entries(value);_i2<_Object$entries2.length;_i2++){var _Object$entries2$_i=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_Object$entries2[_i2],2),_i3=_Object$entries2$_i[0],ref=(_Object$entries2$_i[1],refPrefix+_i3),currentPath=dataPath+"."+_i3;available.add(ref);var refElement=containerElement.querySelector("["+_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Wp+'="'+ref+'"]');refElement instanceof HTMLElement?refElement:appendNewDocumentFragment(containerElement,key,ref,currentPath)}for(var nodes=containerElement.querySelectorAll("["+_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Wp+'*="'+refPrefix+'"]'),_i4=0,_Object$entries3=Object.entries(nodes);_i4<_Object$entries3.length;_i4++){var node=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_Object$entries3[_i4],2)[1];if(!available.has(node.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Wp)))try{containerElement.removeChild(node)}catch(e){containerElement.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Sm,(containerElement.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Sm)+", "+e.message).trim())}}};for(_iterator5.s();!(_step5=_iterator5.n()).done;)_loop()}catch(err){_iterator5.e(err)}finally{_iterator5.f()}p.pop()}if(!1===found)break;if(wd++>200)throw new Error("the maximum depth for the recursion is reached.")}}function appendNewDocumentFragment(container,key,ref,path){for(var nodes=(0,_template_js__WEBPACK_IMPORTED_MODULE_73__.HO)(key,container).createDocumentFragment(),_i5=0,_Object$entries4=Object.entries(nodes.childNodes);_i5<_Object$entries4.length;_i5++){var node=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_Object$entries4[_i5],2)[1];node instanceof HTMLElement&&(applyRecursive(node,key,path),node.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Wp,ref)),container.appendChild(node)}}function applyRecursive(node,key,path){if(node instanceof HTMLElement){if(node.hasAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.NR)){var value=node.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.NR);node.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.NR,value.replaceAll("path:"+key,"path:"+path))}if(node.hasAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Gq)){var _value=node.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Gq);node.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Gq,_value.replaceAll("path:"+key,"path:"+path))}for(var _i6=0,_Object$entries5=Object.entries(node.childNodes);_i6<_Object$entries5.length;_i6++){applyRecursive((0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_Object$entries5[_i6],2)[1],key,path)}}}function updateContent(change){var subject=this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].subject.getRealSubject(),p=(0,_util_clone_js__WEBPACK_IMPORTED_MODULE_70__.d)(null==change?void 0:change.path);runUpdateContent.call(this,this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].element,p,subject);var slots=this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].element.querySelectorAll("slot");if(slots.length>0)for(var _i7=0,_Object$entries6=Object.entries(slots);_i7<_Object$entries6.length;_i7++)for(var slot=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_Object$entries6[_i7],2)[1],_i8=0,_Object$entries7=Object.entries(slot.assignedNodes());_i8<_Object$entries7.length;_i8++){var _element3=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_Object$entries7[_i8],2)[1];runUpdateContent.call(this,_element3,p,subject)}}function runUpdateContent(container,parts,subject){var _this2=this;if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_66__.kJ)(parts)&&container instanceof HTMLElement){parts=(0,_util_clone_js__WEBPACK_IMPORTED_MODULE_70__.d)(parts);for(var mem=new WeakSet;parts.length>0;){var current=parts.join(".");parts.pop();var query="["+_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.NR+'^="path:'+current+'"], ['+_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.NR+'^="static:"]',e=container.querySelectorAll(""+query),iterator=new Set((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_80__.Z)(e));container.matches(query)&&iterator.add(container);var _step6,_iterator6=_createForOfIteratorHelper(iterator.entries());try{var _loop2=function _loop2(){var element=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_step6.value,1)[0];if(mem.has(element))return{v:void 0};mem.add(element);var attributes=element.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.NR),cmd=(0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_71__.A)(attributes),pipe=new _data_pipe_js__WEBPACK_IMPORTED_MODULE_62__.E(cmd);_this2[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].callbacks.forEach((function(f,n){pipe.setCallback(n,f)}));var value=void 0;try{element.removeAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Sm),value=pipe.run(subject)}catch(e){element.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Sm,e.message)}if(value instanceof HTMLElement){for(;element.firstChild;)element.removeChild(element.firstChild);try{element.appendChild(value)}catch(e){element.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Sm,(element.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Sm)+", "+e.message).trim())}}else element.innerHTML=value};for(_iterator6.s();!(_step6=_iterator6.n()).done;){var _ret2=_loop2();if("object"===(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_81__.Z)(_ret2))return _ret2.v}}catch(err){_iterator6.e(err)}finally{_iterator6.f()}}}}function updateAttributes(change){var subject=this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].subject.getRealSubject(),p=(0,_util_clone_js__WEBPACK_IMPORTED_MODULE_70__.d)(null==change?void 0:change.path);runUpdateAttributes.call(this,this[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].element,p,subject)}function runUpdateAttributes(container,parts,subject){var _this3=this,self=this;if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_66__.kJ)(parts)){parts=(0,_util_clone_js__WEBPACK_IMPORTED_MODULE_70__.d)(parts);for(var mem=new WeakSet;parts.length>0;){var current=parts.join(".");parts.pop();var iterator=new Set,query="["+_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.GZ+"], ["+_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Gq+'*="path:'+current+'"], ['+_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Gq+'^="static:"]',e=container.querySelectorAll(query);e.length>0&&(iterator=new Set((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_80__.Z)(e))),container.matches(query)&&iterator.add(container);var _step7,_iterator7=_createForOfIteratorHelper(iterator.entries());try{var _loop3=function _loop3(){var element=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_step7.value,1)[0];if(mem.has(element))return{v:void 0};mem.add(element);for(var attributes=element.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Gq),_loop4=function _loop4(){var def=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_Object$entries8[_i9],2)[1],i=(def=(0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_71__.A)(def)).indexOf(" "),name=(0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_71__.A)(def.substr(0,i)),cmd=(0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_71__.A)(def.substr(i)),pipe=new _data_pipe_js__WEBPACK_IMPORTED_MODULE_62__.E(cmd);self[_constants_js__WEBPACK_IMPORTED_MODULE_59__.eB].callbacks.forEach((function(f,n){pipe.setCallback(n,f,element)}));var value=void 0;try{element.removeAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Sm),value=pipe.run(subject)}catch(e){element.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_63__.Sm,e.message)}void 0===value?element.removeAttribute(name):element.getAttribute(name)!==value&&element.setAttribute(name,value),handleInputControlAttributeUpdate.call(_this3,element,name,value)},_i9=0,_Object$entries8=Object.entries(attributes.split(","));_i9<_Object$entries8.length;_i9++)_loop4()};for(_iterator7.s();!(_step7=_iterator7.n()).done;){var _ret3=_loop3();if("object"===(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_81__.Z)(_ret3))return _ret3.v}}catch(err){_iterator7.e(err)}finally{_iterator7.f()}}}}function handleInputControlAttributeUpdate(element,name,value){if(element instanceof HTMLSelectElement)switch(element.type){case"select-multiple":for(var _i10=0,_Object$entries9=Object.entries(element.options);_i10<_Object$entries9.length;_i10++){var _Object$entries9$_i=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_Object$entries9[_i10],2),opt=(_Object$entries9$_i[0],_Object$entries9$_i[1]);-1!==value.indexOf(opt.value)?opt.selected=!0:opt.selected=!1}break;case"select-one":for(var _i11=0,_Object$entries10=Object.entries(element.options);_i11<_Object$entries10.length;_i11++){var _Object$entries10$_i=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_78__.Z)(_Object$entries10[_i11],2),_index=_Object$entries10$_i[0];if(_Object$entries10$_i[1].value===value){element.selectedIndex=_index;break}}}else if(element instanceof HTMLInputElement)switch(element.type){case"radio":case"checkbox":"checked"===name&&(element.checked=void 0!==value);break;case"text":default:"value"===name&&(element.value=void 0===value?"":value)}else element instanceof HTMLTextAreaElement&&"value"===name&&(element.value=void 0===value?"":value)}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_64__.O)("Monster.DOM",Updater)},72287:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Jj:function(){return getWindow},Me:function(){return getDocument},yR:function(){return getDocumentFragmentFromString}});var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(71002),_namespace_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(28970),_types_global_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7999),_types_validate_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(78268);function getDocument(){var _getGlobal,document=null===(_getGlobal=(0,_types_global_js__WEBPACK_IMPORTED_MODULE_1__.Rd)())||void 0===_getGlobal?void 0:_getGlobal.document;if("object"!==(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_3__.Z)(document))throw new Error("not supported environment");return document}function getWindow(){var _getGlobal2,window=null===(_getGlobal2=(0,_types_global_js__WEBPACK_IMPORTED_MODULE_1__.Rd)())||void 0===_getGlobal2?void 0:_getGlobal2.window;if("object"!==(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_3__.Z)(window))throw new Error("not supported environment");return window}function getDocumentFragmentFromString(html){(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_2__.Cp)(html);var template=getDocument().createElement("template");return template.innerHTML=html,template.content}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.O)("Monster.DOM",getWindow,getDocument,getDocumentFragmentFromString)},28970:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Q:function(){return Monster},O:function(){return assignToNamespace}});var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(43144),Namespace=(__webpack_require__(74916),__webpack_require__(23123),__webpack_require__(68309),__webpack_require__(41539),__webpack_require__(39714),__webpack_require__(4723),function(){function Namespace(namespace){if((0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_6__.Z)(this,Namespace),void 0===namespace||"string"!=typeof namespace)throw new Error("namespace is not a string");this.namespace=namespace}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_7__.Z)(Namespace,[{key:"getNamespace",value:function getNamespace(){return this.namespace}},{key:"toString",value:function toString(){return this.getNamespace()}}]),Namespace}()),Monster=new Namespace("Monster");function assignToNamespace(ns){var current=namespaceFor(ns.split("."));if(0==(arguments.length<=1?0:arguments.length-1))throw new Error("no functions have been passed.");for(var i=0,l=arguments.length<=1?0:arguments.length-1;i<l;i++)current[objectName(i+1<1||arguments.length<=i+1?void 0:arguments[i+1])]=i+1<1||arguments.length<=i+1?void 0:arguments[i+1];return current}function objectName(obj){try{if("function"!=typeof obj)throw new Error("the first argument is not a function or class.");if(obj.hasOwnProperty("name"))return obj.name;if("function"==typeof obj.toString){var s=obj.toString(),f=s.match(/^\s*function\s+([^\s(]+)/);if(Array.isArray(f)&&"string"==typeof f[1])return f[1];var c=s.match(/^\s*class\s+([^\s(]+)/);if(Array.isArray(c)&&"string"==typeof c[1])return c[1]}}catch(e){throw new Error("exception "+e)}throw new Error("the name of the class or function cannot be resolved.")}function namespaceFor(parts){for(var space=Monster,ns="Monster",i=0;i<parts.length;i++)"Monster"!==parts[i]&&(ns+="."+parts[i],space.hasOwnProperty(parts[i])||(space[parts[i]]=new Namespace(ns)),space=space[parts[i]]);return space}assignToNamespace("Monster",assignToNamespace,Namespace)},14599:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{X:function(){return Base}});__webpack_require__(41539),__webpack_require__(12419);var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(43144),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(61120),_babel_runtime_helpers_wrapNativeSuper__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(72407),_namespace_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(28970);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__.Z)(this,result)}}var Base=function(_Object){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__.Z)(Base,_Object);var _super=_createSuper(Base);function Base(){return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_6__.Z)(this,Base),_super.apply(this,arguments)}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_7__.Z)(Base,[{key:"toString",value:function toString(){return JSON.stringify(this)}}]),Base}((0,_babel_runtime_helpers_wrapNativeSuper__WEBPACK_IMPORTED_MODULE_8__.Z)(Object));(0,_namespace_js__WEBPACK_IMPORTED_MODULE_4__.O)("Monster.Types",Base)},74943:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{yS:function(){return parseDataURL},Zl:function(){return DataUrl}});__webpack_require__(12419);var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(43144),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_11__=(__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(41539),__webpack_require__(39714),__webpack_require__(73210),__webpack_require__(82772),__webpack_require__(27852),__webpack_require__(94986),__webpack_require__(28970)),_base_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(14599),_is_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(83835),_mediatype_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(22863),_validate_js__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(78268);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_1__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_1__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__.Z)(this,result)}}var internal=Symbol("internal"),DataUrl=function(_Base){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_16__.Z)(DataUrl,_Base);var _super=_createSuper(DataUrl);function DataUrl(content,mediatype,base64){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_17__.Z)(this,DataUrl),_this=_super.call(this),(0,_is_js__WEBPACK_IMPORTED_MODULE_13__.HD)(mediatype)&&(mediatype=(0,_mediatype_js__WEBPACK_IMPORTED_MODULE_14__.C0)(mediatype)),_this[internal]={content:(0,_validate_js__WEBPACK_IMPORTED_MODULE_15__.Cp)(content),mediatype:(0,_validate_js__WEBPACK_IMPORTED_MODULE_15__.dh)(mediatype,_mediatype_js__WEBPACK_IMPORTED_MODULE_14__.DD),base64:(0,_validate_js__WEBPACK_IMPORTED_MODULE_15__.US)(void 0===base64||base64)},_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_18__.Z)(DataUrl,[{key:"content",get:function get(){return this[internal].base64?atob(this[internal].content):this[internal].content}},{key:"mediatype",get:function get(){return this[internal].mediatype}},{key:"toString",value:function toString(){var content=this[internal].content;return content=!0===this[internal].base64?";base64,"+content:","+encodeURIComponent(content),"data:"+this[internal].mediatype.toString()+content}}]),DataUrl}(_base_js__WEBPACK_IMPORTED_MODULE_12__.X);function parseDataURL(dataurl){if((0,_validate_js__WEBPACK_IMPORTED_MODULE_15__.Cp)(dataurl),"data:"!==(dataurl=dataurl.trim()).substring(0,5))throw new TypeError("incorrect or missing data protocol");var p=(dataurl=dataurl.substring(5)).indexOf(",");if(-1===p)throw new TypeError("malformed data url");var content=dataurl.substring(p+1),mediatypeAndBase64=dataurl.substring(0,p).trim(),mediatype="text/plain;charset=US-ASCII",base64Flag=!1;if(""!==mediatypeAndBase64){if(mediatype=mediatypeAndBase64,mediatypeAndBase64.endsWith("base64")){var i=mediatypeAndBase64.lastIndexOf(";");mediatype=mediatypeAndBase64.substring(0,i),base64Flag=!0}else content=decodeURIComponent(content);mediatype=(0,_mediatype_js__WEBPACK_IMPORTED_MODULE_14__.C0)(mediatype)}else content=decodeURIComponent(content);return new DataUrl(content,mediatype,base64Flag)}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_11__.O)("Monster.Types",parseDataURL,DataUrl)},7999:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Rd:function(){return getGlobal},Rf:function(){return getGlobalObject},Ck:function(){return getGlobalFunction}});var globalReference,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(71002),_namespace_js__WEBPACK_IMPORTED_MODULE_1__=(__webpack_require__(65743),__webpack_require__(28970)),_validate_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(78268);function getGlobal(){return globalReference}function getGlobalObject(name){var _globalReference;(0,_validate_js__WEBPACK_IMPORTED_MODULE_2__.Cp)(name);var o=null===(_globalReference=globalReference)||void 0===_globalReference?void 0:_globalReference[name];if(void 0===o)throw new Error("the object "+name+" is not defined");return(0,_validate_js__WEBPACK_IMPORTED_MODULE_2__.FF)(o),o}function getGlobalFunction(name){var _globalReference2;(0,_validate_js__WEBPACK_IMPORTED_MODULE_2__.Cp)(name);var f=null===(_globalReference2=globalReference)||void 0===_globalReference2?void 0:_globalReference2[name];if(void 0===f)throw new Error("the function "+name+" is not defined");return(0,_validate_js__WEBPACK_IMPORTED_MODULE_2__.zV)(f),f}!function(){if("object"!==("undefined"==typeof globalThis?"undefined":(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_3__.Z)(globalThis)))if("undefined"==typeof self){if("undefined"==typeof window){if(Object.defineProperty(Object.prototype,"__monster__",{get:function get(){return this},configurable:!0}),"object"===("undefined"==typeof __monster__?"undefined":(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_3__.Z)(__monster__)))return __monster__.globalThis=__monster__,delete Object.prototype.__monster__,void(globalReference=globalThis);try{globalReference=Function("return this")()}catch(e){}throw new Error("unsupported environment.")}globalReference=window}else globalReference=self;else globalReference=globalThis}(),(0,_namespace_js__WEBPACK_IMPORTED_MODULE_1__.O)("Monster.Types",getGlobal,getGlobalObject,getGlobalFunction)},45584:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{ID:function(){return ID}});var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__(43144),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_21__=(__webpack_require__(66992),__webpack_require__(51532),__webpack_require__(41539),__webpack_require__(78783),__webpack_require__(10072),__webpack_require__(99137),__webpack_require__(71957),__webpack_require__(96306),__webpack_require__(103),__webpack_require__(74592),__webpack_require__(58276),__webpack_require__(35082),__webpack_require__(12813),__webpack_require__(18222),__webpack_require__(38563),__webpack_require__(50336),__webpack_require__(7512),__webpack_require__(33948),__webpack_require__(12419),__webpack_require__(28970)),_base_js__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(14599),_validate_js__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(78268);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_0__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_0__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_1__.Z)(this,result)}}var internalCounter=new Map,ID=function(_Base){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_24__.Z)(ID,_Base);var _super=_createSuper(ID);function ID(prefix){var _this;(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_25__.Z)(this,ID),_this=_super.call(this),void 0===prefix&&(prefix="id"),(0,_validate_js__WEBPACK_IMPORTED_MODULE_23__.Cp)(prefix),internalCounter.has(prefix)||internalCounter.set(prefix,1);var count=internalCounter.get(prefix);return _this.id=prefix+count,internalCounter.set(prefix,++count),_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_26__.Z)(ID,[{key:"toString",value:function toString(){return this.id}}]),ID}(_base_js__WEBPACK_IMPORTED_MODULE_22__.X);(0,_namespace_js__WEBPACK_IMPORTED_MODULE_21__.O)("Monster.Types",ID)},83835:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{pt:function(){return isPrimitive},jn:function(){return isBoolean},HD:function(){return isString},Kn:function(){return isObject},$O:function(){return isInstance},kJ:function(){return isArray},mf:function(){return isFunction},TW:function(){return isIterable},U:function(){return isInteger},yk:function(){return isSymbol}});var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(71002);__webpack_require__(32165),__webpack_require__(66992),__webpack_require__(41539),__webpack_require__(78783),__webpack_require__(33948),__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(33161),__webpack_require__(9653);function isIterable(value){return void 0!==value&&(null!==value&&"function"==typeof(null==value?void 0:value[Symbol.iterator]))}function isPrimitive(value){var type;return null==value||("string"===(type=(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_10__.Z)(value))||"number"===type||"boolean"===type||"symbol"===type)}function isSymbol(value){return"symbol"===(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_10__.Z)(value)}function isBoolean(value){return!0===value||!1===value}function isString(value){return void 0!==value&&"string"==typeof value}function isObject(value){return!isArray(value)&&(!isPrimitive(value)&&"object"===(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_10__.Z)(value))}function isInstance(value,instance){return!!isObject(value)&&(!!isFunction(instance)&&(!!instance.hasOwnProperty("prototype")&&value instanceof instance))}function isArray(value){return Array.isArray(value)}function isFunction(value){return!isArray(value)&&(!isPrimitive(value)&&"function"==typeof value)}function isInteger(value){return Number.isInteger(value)}(0,__webpack_require__(28970).O)("Monster.Types",isPrimitive,isBoolean,isString,isObject,isArray,isFunction,isIterable,isInteger,isSymbol)},22863:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{C0:function(){return parseMediaType},DD:function(){return MediaType}});__webpack_require__(12419),__webpack_require__(47042),__webpack_require__(68309),__webpack_require__(91038),__webpack_require__(32165),__webpack_require__(24603),__webpack_require__(39714),__webpack_require__(4129),__webpack_require__(78206),__webpack_require__(83510),__webpack_require__(15306),__webpack_require__(85827),__webpack_require__(47941);var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(71002),_babel_runtime_helpers_setPrototypeOf__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(89611),_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_50__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_51__=__webpack_require__(43144),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_46__=(__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(41539),__webpack_require__(66992),__webpack_require__(51532),__webpack_require__(78783),__webpack_require__(10072),__webpack_require__(99137),__webpack_require__(71957),__webpack_require__(96306),__webpack_require__(103),__webpack_require__(74592),__webpack_require__(58276),__webpack_require__(35082),__webpack_require__(12813),__webpack_require__(18222),__webpack_require__(38563),__webpack_require__(50336),__webpack_require__(7512),__webpack_require__(33948),__webpack_require__(89554),__webpack_require__(54747),__webpack_require__(23157),__webpack_require__(27852),__webpack_require__(69600),__webpack_require__(74916),__webpack_require__(23123),__webpack_require__(73210),__webpack_require__(28970)),_base_js__WEBPACK_IMPORTED_MODULE_47__=__webpack_require__(14599),_is_js__WEBPACK_IMPORTED_MODULE_48__=__webpack_require__(83835),_validate_js__WEBPACK_IMPORTED_MODULE_49__=__webpack_require__(78268);function _wrapRegExp(){_wrapRegExp=function _wrapRegExp(re,groups){return new BabelRegExp(re,void 0,groups)};var _super=RegExp.prototype,_groups=new WeakMap;function BabelRegExp(re,flags,groups){var _this=new RegExp(re,flags);return _groups.set(_this,groups||_groups.get(re)),(0,_babel_runtime_helpers_setPrototypeOf__WEBPACK_IMPORTED_MODULE_13__.Z)(_this,BabelRegExp.prototype)}function buildGroups(result,re){var g=_groups.get(re);return Object.keys(g).reduce((function(groups,name){return groups[name]=result[g[name]],groups}),Object.create(null))}return(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_14__.Z)(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(str){var result=_super.exec.call(this,str);return result&&(result.groups=buildGroups(result,this)),result},BabelRegExp.prototype[Symbol.replace]=function(str,substitution){if("string"==typeof substitution){var groups=_groups.get(this);return _super[Symbol.replace].call(this,str,substitution.replace(/\$<([^>]+)>/g,(function(_,name){return"$"+groups[name]})))}if("function"==typeof substitution){var _this=this;return _super[Symbol.replace].call(this,str,(function(){var args=arguments;return"object"!==(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_15__.Z)(args[args.length-1])&&(args=[].slice.call(args)).push(buildGroups(args,_this)),substitution.apply(this,args)}))}return _super[Symbol.replace].call(this,str,substitution)},_wrapRegExp.apply(this,arguments)}function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_16__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_16__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_17__.Z)(this,result)}}var internal=Symbol("internal"),MediaType=function(_Base){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_14__.Z)(MediaType,_Base);var _super=_createSuper(MediaType);function MediaType(type,subtype,parameter){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_50__.Z)(this,MediaType),(_this=_super.call(this))[internal]={type:(0,_validate_js__WEBPACK_IMPORTED_MODULE_49__.Cp)(type).toLowerCase(),subtype:(0,_validate_js__WEBPACK_IMPORTED_MODULE_49__.Cp)(subtype).toLowerCase(),parameter:[]},void 0!==parameter&&(_this[internal].parameter=(0,_validate_js__WEBPACK_IMPORTED_MODULE_49__.IL)(parameter)),_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_51__.Z)(MediaType,[{key:"type",get:function get(){return this[internal].type}},{key:"subtype",get:function get(){return this[internal].subtype}},{key:"parameter",get:function get(){var result=new Map;return this[internal].parameter.forEach((function(p){var value=p.value;value.startsWith('"')&&value.endsWith('"')&&(value=value.substring(1,value.length-1)),result.set(p.key,value)})),result}},{key:"toString",value:function toString(){var _step,parameter=[],_iterator=_createForOfIteratorHelper(this[internal].parameter);try{for(_iterator.s();!(_step=_iterator.n()).done;){var a=_step.value;parameter.push(a.key+"="+a.value)}}catch(err){_iterator.e(err)}finally{_iterator.f()}return this[internal].type+"/"+this[internal].subtype+(parameter.length>0?";"+parameter.join(";"):"")}}]),MediaType}(_base_js__WEBPACK_IMPORTED_MODULE_47__.X);function parseMediaType(mediatype){var result=_wrapRegExp(/([A-Za-z]+|\*)\/(([a-zA-Z0-9.\+_\-]+)|\*|)(\s*;\s*([a-zA-Z0-9]+)\s*(=\s*("?[A-Za-z0-9_\-]+"?))?)*/g,{type:1,subtype:2,parameter:4}).exec((0,_validate_js__WEBPACK_IMPORTED_MODULE_49__.Cp)(mediatype)),groups=null==result?void 0:result.groups;if(void 0===groups)throw new TypeError("the mimetype can not be parsed");var type=null==groups?void 0:groups.type,subtype=null==groups?void 0:groups.subtype,parameter=null==groups?void 0:groups.parameter;if(""===subtype||""===type)throw new TypeError("blank value is not allowed");return new MediaType(type,subtype,function parseParameter(parameter){if(!(0,_is_js__WEBPACK_IMPORTED_MODULE_48__.HD)(parameter))return;var result=[];return parameter.split(";").forEach((function(entry){if(""!==(entry=entry.trim())){var kv=entry.split("="),key=(0,_validate_js__WEBPACK_IMPORTED_MODULE_49__.Cp)(null==kv?void 0:kv[0]).trim(),value=(0,_validate_js__WEBPACK_IMPORTED_MODULE_49__.Cp)(null==kv?void 0:kv[1]).trim();result.push({key:key,value:value})}})),result}(parameter))}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_46__.O)("Monster.Types",parseMediaType,MediaType)},68635:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{p:function(){return Observer}});__webpack_require__(12419);var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(43144),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_7__=(__webpack_require__(66992),__webpack_require__(41539),__webpack_require__(33948),__webpack_require__(88674),__webpack_require__(28970)),_base_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(14599),_is_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(83835),_tokenlist_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(89881),_uniquequeue_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(23193);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_6__.Z)(this,result)}}var Observer=function(_Base){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_12__.Z)(Observer,_Base);var _super=_createSuper(Observer);function Observer(callback){var _this;if((0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_13__.Z)(this,Observer),_this=_super.call(this),"function"!=typeof callback)throw new Error("observer callback must be a function");_this.callback=callback;for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return _this.arguments=args,_this.tags=new _tokenlist_js__WEBPACK_IMPORTED_MODULE_10__.n,_this.queue=new _uniquequeue_js__WEBPACK_IMPORTED_MODULE_11__.d,_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_14__.Z)(Observer,[{key:"addTag",value:function addTag(tag){return this.tags.add(tag),this}},{key:"removeTag",value:function removeTag(tag){return this.tags.remove(tag),this}},{key:"getTags",value:function getTags(){return this.tags.entries()}},{key:"hasTag",value:function hasTag(tag){return this.tags.contains(tag)}},{key:"update",value:function update(subject){var self=this;return new Promise((function(resolve,reject){(0,_is_js__WEBPACK_IMPORTED_MODULE_9__.Kn)(subject)?(self.queue.add(subject),setTimeout((function(){try{if(self.queue.isEmpty())return void resolve();var s=self.queue.poll(),result=self.callback.apply(s,self.arguments);if((0,_is_js__WEBPACK_IMPORTED_MODULE_9__.Kn)(result)&&result instanceof Promise)return void result.then(resolve).catch(reject);resolve(result)}catch(e){reject(e)}}),0)):reject("subject must be an object")}))}}]),Observer}(_base_js__WEBPACK_IMPORTED_MODULE_8__.X);(0,_namespace_js__WEBPACK_IMPORTED_MODULE_7__.O)("Monster.Types",Observer)},29374:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{B:function(){return ObserverList}});__webpack_require__(12419);var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(43144),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_9__=(__webpack_require__(40561),__webpack_require__(66992),__webpack_require__(41539),__webpack_require__(88674),__webpack_require__(78783),__webpack_require__(33948),__webpack_require__(28970)),_base_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(14599),_observer_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(68635),_validate_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(78268);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_7__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_7__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_8__.Z)(this,result)}}var ObserverList=function(_Base){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__.Z)(ObserverList,_Base);var _super=_createSuper(ObserverList);function ObserverList(){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_14__.Z)(this,ObserverList),(_this=_super.call(this)).observers=[],_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_15__.Z)(ObserverList,[{key:"attach",value:function attach(observer){return(0,_validate_js__WEBPACK_IMPORTED_MODULE_12__.dh)(observer,_observer_js__WEBPACK_IMPORTED_MODULE_11__.p),this.observers.push(observer),this}},{key:"detach",value:function detach(observer){(0,_validate_js__WEBPACK_IMPORTED_MODULE_12__.dh)(observer,_observer_js__WEBPACK_IMPORTED_MODULE_11__.p);for(var i=0,l=this.observers.length;i<l;i++)this.observers[i]===observer&&this.observers.splice(i,1);return this}},{key:"contains",value:function contains(observer){(0,_validate_js__WEBPACK_IMPORTED_MODULE_12__.dh)(observer,_observer_js__WEBPACK_IMPORTED_MODULE_11__.p);for(var i=0,l=this.observers.length;i<l;i++)if(this.observers[i]===observer)return!0;return!1}},{key:"notify",value:function notify(subject){for(var pomises=[],i=0,l=this.observers.length;i<l;i++)pomises.push(this.observers[i].update(subject));return Promise.all(pomises)}}]),ObserverList}(_base_js__WEBPACK_IMPORTED_MODULE_10__.X);(0,_namespace_js__WEBPACK_IMPORTED_MODULE_9__.O)("Monster.Types",ObserverList)},59243:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{k:function(){return ProxyObserver}});__webpack_require__(12419);var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__(71002),_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(43144),_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(97326),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_14__=(__webpack_require__(66992),__webpack_require__(41539),__webpack_require__(78783),__webpack_require__(4129),__webpack_require__(78206),__webpack_require__(33948),__webpack_require__(47941),__webpack_require__(74819),__webpack_require__(95683),__webpack_require__(69596),__webpack_require__(39532),__webpack_require__(28970)),_base_js__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(14599),_is_js__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(83835),_observerlist_js__WEBPACK_IMPORTED_MODULE_18__=(__webpack_require__(68635),__webpack_require__(29374)),_validate_js__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(78268),_data_extend_js__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(37442);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_12__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_12__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_13__.Z)(this,result)}}var ProxyObserver=function(_Base){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_21__.Z)(ProxyObserver,_Base);var _super=_createSuper(ProxyObserver);function ProxyObserver(object){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_22__.Z)(this,ProxyObserver),(_this=_super.call(this)).realSubject=(0,_validate_js__WEBPACK_IMPORTED_MODULE_19__.FF)(object),_this.subject=new Proxy(object,getHandler.call((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_23__.Z)(_this))),_this.objectMap=new WeakMap,_this.objectMap.set(_this.realSubject,_this.subject),_this.proxyMap=new WeakMap,_this.proxyMap.set(_this.subject,_this.realSubject),_this.observers=new _observerlist_js__WEBPACK_IMPORTED_MODULE_18__.B,_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_24__.Z)(ProxyObserver,[{key:"getSubject",value:function getSubject(){return this.subject}},{key:"setSubject",value:function setSubject(obj){var i,k=Object.keys(this.subject);for(i=0;i<k.length;i++)delete this.subject[k[i]];return this.subject=(0,_data_extend_js__WEBPACK_IMPORTED_MODULE_20__.l)(this.subject,obj),this}},{key:"getRealSubject",value:function getRealSubject(){return this.realSubject}},{key:"attachObserver",value:function attachObserver(observer){return this.observers.attach(observer),this}},{key:"detachObserver",value:function detachObserver(observer){return this.observers.detach(observer),this}},{key:"notifyObservers",value:function notifyObservers(){return this.observers.notify(this)}},{key:"containsObserver",value:function containsObserver(observer){return this.observers.contains(observer)}}]),ProxyObserver}(_base_js__WEBPACK_IMPORTED_MODULE_15__.X);function getHandler(){var proxy=this,handler={get:function get(target,key,receiver){var value=Reflect.get(target,key,receiver);if("symbol"===(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_25__.Z)(key))return value;if((0,_is_js__WEBPACK_IMPORTED_MODULE_16__.pt)(value))return value;if((0,_is_js__WEBPACK_IMPORTED_MODULE_16__.kJ)(value)||(0,_is_js__WEBPACK_IMPORTED_MODULE_16__.Kn)(value)){if(proxy.objectMap.has(value))return proxy.objectMap.get(value);if(proxy.proxyMap.has(value))return value;var p=new Proxy(value,handler);return proxy.objectMap.set(value,p),proxy.proxyMap.set(p,value),p}return value},set:function set(target,key,value,receiver){proxy.proxyMap.has(value)&&(value=proxy.proxyMap.get(value)),proxy.proxyMap.has(target)&&(target=proxy.proxyMap.get(target));var result,current=Reflect.get(target,key,receiver);if(proxy.proxyMap.has(current)&&(current=proxy.proxyMap.get(current)),current===value)return!0;var descriptor=Reflect.getOwnPropertyDescriptor(target,key);return void 0===descriptor&&(descriptor={writable:!0,enumerable:!0,configurable:!0}),descriptor.value=value,result=Reflect.defineProperty(target,key,descriptor),"symbol"!==(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_25__.Z)(key)&&proxy.observers.notify(proxy),result},deleteProperty:function deleteProperty(target,key){return key in target&&(delete target[key],"symbol"!==(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_25__.Z)(key)&&proxy.observers.notify(proxy),!0)},defineProperty:function defineProperty(target,key,descriptor){var result=Reflect.defineProperty(target,key,descriptor);return"symbol"!==(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_25__.Z)(key)&&proxy.observers.notify(proxy),result},setPrototypeOf:function setPrototypeOf(target,key){var result=Reflect.setPrototypeOf(object1,key);return"symbol"!==(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_25__.Z)(key)&&proxy.observers.notify(proxy),result}};return handler}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_14__.O)("Monster.Types",ProxyObserver)},62188:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{c:function(){return Queue}});__webpack_require__(41539),__webpack_require__(12419);var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(43144),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(28970);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__.Z)(this,result)}}var Queue=function(_Base){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_6__.Z)(Queue,_Base);var _super=_createSuper(Queue);function Queue(){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_7__.Z)(this,Queue),(_this=_super.call(this)).data=[],_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_8__.Z)(Queue,[{key:"isEmpty",value:function isEmpty(){return 0===this.data.length}},{key:"peek",value:function peek(){if(!this.isEmpty())return this.data[0]}},{key:"add",value:function add(value){return this.data.push(value),this}},{key:"clear",value:function clear(){return this.data=[],this}},{key:"poll",value:function poll(){if(!this.isEmpty())return this.data.shift()}}]),Queue}(__webpack_require__(14599).X);(0,_namespace_js__WEBPACK_IMPORTED_MODULE_4__.O)("Monster.Types",Queue)},10252:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{K:function(){return Stack}});__webpack_require__(41539),__webpack_require__(12419);var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(43144),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(28970);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__.Z)(this,result)}}var Stack=function(_Base){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_6__.Z)(Stack,_Base);var _super=_createSuper(Stack);function Stack(){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_7__.Z)(this,Stack),(_this=_super.call(this)).data=[],_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_8__.Z)(Stack,[{key:"isEmpty",value:function isEmpty(){return 0===this.data.length}},{key:"peek",value:function peek(){var _this$data;if(!this.isEmpty())return null===(_this$data=this.data)||void 0===_this$data?void 0:_this$data[this.data.length-1]}},{key:"push",value:function push(value){return this.data.push(value),this}},{key:"clear",value:function clear(){return this.data=[],this}},{key:"pop",value:function pop(){if(!this.isEmpty())return this.data.pop()}}]),Stack}(__webpack_require__(14599).X);(0,_namespace_js__WEBPACK_IMPORTED_MODULE_4__.O)("Monster.Types",Stack)},89881:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{n:function(){return TokenList}});__webpack_require__(12419),__webpack_require__(47042),__webpack_require__(68309);var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_43__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_44__=__webpack_require__(43144),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_42__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_37__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_36__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_38__=(__webpack_require__(66992),__webpack_require__(41539),__webpack_require__(70189),__webpack_require__(78783),__webpack_require__(88921),__webpack_require__(96248),__webpack_require__(13599),__webpack_require__(11477),__webpack_require__(64362),__webpack_require__(15389),__webpack_require__(90401),__webpack_require__(45164),__webpack_require__(91238),__webpack_require__(54837),__webpack_require__(87485),__webpack_require__(56767),__webpack_require__(76651),__webpack_require__(61437),__webpack_require__(35285),__webpack_require__(39865),__webpack_require__(33948),__webpack_require__(32165),__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(73210),__webpack_require__(89554),__webpack_require__(54747),__webpack_require__(74916),__webpack_require__(23123),__webpack_require__(91038),__webpack_require__(82772),__webpack_require__(40561),__webpack_require__(69600),__webpack_require__(28970)),_types_is_js__WEBPACK_IMPORTED_MODULE_39__=__webpack_require__(83835),_types_validate_js__WEBPACK_IMPORTED_MODULE_40__=__webpack_require__(78268);function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_36__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_36__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_37__.Z)(this,result)}}var TokenList=function(_Base,_Symbol$iterator){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_42__.Z)(TokenList,_Base);var _super=_createSuper(TokenList);function TokenList(init){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_43__.Z)(this,TokenList),(_this=_super.call(this)).tokens=new Set,void 0!==init&&_this.add(init),_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_44__.Z)(TokenList,[{key:"getIterator",value:function getIterator(){return this[Symbol.iterator]()}},{key:_Symbol$iterator,value:function value(){var index=0,entries=this.entries();return{next:function next(){return index<entries.length?{value:null==entries?void 0:entries[index++],done:!1}:{done:!0}}}}},{key:"contains",value:function contains(value){var _this2=this;if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_39__.HD)(value)){value=value.trim();var counter=0;return value.split(" ").forEach((function(token){if(!1===_this2.tokens.has(token.trim()))return!1;counter++})),counter>0}if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_39__.TW)(value)){var _step,_counter=0,_iterator=_createForOfIteratorHelper(value);try{for(_iterator.s();!(_step=_iterator.n()).done;){var token=_step.value;if((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_40__.Cp)(token),!1===this.tokens.has(token.trim()))return!1;_counter++}}catch(err){_iterator.e(err)}finally{_iterator.f()}return _counter>0}return!1}},{key:"add",value:function add(value){var _this3=this;if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_39__.HD)(value))value.split(" ").forEach((function(token){_this3.tokens.add(token.trim())}));else if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_39__.TW)(value)){var _step2,_iterator2=_createForOfIteratorHelper(value);try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var token=_step2.value;(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_40__.Cp)(token),this.tokens.add(token.trim())}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}}else if(void 0!==value)throw new TypeError("unsupported value");return this}},{key:"clear",value:function clear(){return this.tokens.clear(),this}},{key:"remove",value:function remove(value){var _this4=this;if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_39__.HD)(value))value.split(" ").forEach((function(token){_this4.tokens.delete(token.trim())}));else if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_39__.TW)(value)){var _step3,_iterator3=_createForOfIteratorHelper(value);try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var token=_step3.value;(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_40__.Cp)(token),this.tokens.delete(token.trim())}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}}else if(void 0!==value)throw new TypeError("unsupported value","types/tokenlist.js");return this}},{key:"replace",value:function replace(token,newToken){if((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_40__.Cp)(token),(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_40__.Cp)(newToken),!this.contains(token))return this;var a=Array.from(this.tokens),i=a.indexOf(token);return-1===i||(a.splice(i,1,newToken),this.tokens=new Set,this.add(a)),this}},{key:"toggle",value:function toggle(value){var _this5=this;if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_39__.HD)(value))value.split(" ").forEach((function(token){toggleValue.call(_this5,token)}));else if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_39__.TW)(value)){var _step4,_iterator4=_createForOfIteratorHelper(value);try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var token=_step4.value;toggleValue.call(this,token)}}catch(err){_iterator4.e(err)}finally{_iterator4.f()}}else if(void 0!==value)throw new TypeError("unsupported value","types/tokenlist.js");return this}},{key:"entries",value:function entries(){return Array.from(this.tokens)}},{key:"forEach",value:function forEach(callback){return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_40__.zV)(callback),this.tokens.forEach(callback),this}},{key:"toString",value:function toString(){return this.entries().join(" ")}}]),TokenList}(__webpack_require__(14599).X,Symbol.iterator);function toggleValue(token){if(!(this instanceof TokenList))throw Error("must be called with TokenList.call");return(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_40__.Cp)(token),token=token.trim(),this.contains(token)?(this.remove(token),this):(this.add(token),this)}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_38__.O)("Monster.Types",TokenList)},87029:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{k:function(){return typeOf}});__webpack_require__(74916),__webpack_require__(4723),__webpack_require__(41539),__webpack_require__(39714);function typeOf(value){var type={}.toString.call(value).match(/\s([a-zA-Z]+)/)[1];if("Object"===type){var results=/^(class|function)\s+(\w+)/.exec(value.constructor.toString());type=results&&results.length>2?results[2]:""}return type.toLowerCase()}(0,__webpack_require__(28970).O)("Monster.Types",typeOf)},23193:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{d:function(){return UniqueQueue}});__webpack_require__(12419);var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(15671),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(43144),_babel_runtime_helpers_get__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(11752),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(60136),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(82963),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(61120),_namespace_js__WEBPACK_IMPORTED_MODULE_10__=(__webpack_require__(66992),__webpack_require__(41539),__webpack_require__(78783),__webpack_require__(38478),__webpack_require__(43561),__webpack_require__(32049),__webpack_require__(33948),__webpack_require__(28970)),_queue_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(62188),_validate_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(78268);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_8__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_8__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_9__.Z)(this,result)}}var UniqueQueue=function(_Queue){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__.Z)(UniqueQueue,_Queue);var _super=_createSuper(UniqueQueue);function UniqueQueue(){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_14__.Z)(this,UniqueQueue),(_this=_super.call(this)).unique=new WeakSet,_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_15__.Z)(UniqueQueue,[{key:"add",value:function add(value){return(0,_validate_js__WEBPACK_IMPORTED_MODULE_12__.FF)(value),this.unique.has(value)||(this.unique.add(value),(0,_babel_runtime_helpers_get__WEBPACK_IMPORTED_MODULE_16__.Z)((0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_8__.Z)(UniqueQueue.prototype),"add",this).call(this,value)),this}},{key:"clear",value:function clear(){return(0,_babel_runtime_helpers_get__WEBPACK_IMPORTED_MODULE_16__.Z)((0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_8__.Z)(UniqueQueue.prototype),"clear",this).call(this),this.unique=new WeakSet,this}},{key:"poll",value:function poll(){if(!this.isEmpty()){var value=this.data.shift();return this.unique.delete(value),value}}}]),UniqueQueue}(_queue_js__WEBPACK_IMPORTED_MODULE_11__.c);(0,_namespace_js__WEBPACK_IMPORTED_MODULE_10__.O)("Monster.Types",UniqueQueue)},78268:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{YK:function(){return validatePrimitive},US:function(){return validateBoolean},Cp:function(){return validateString},FF:function(){return validateObject},dh:function(){return validateInstance},IL:function(){return validateArray},zV:function(){return validateFunction},Dr:function(){return validateIterable},bv:function(){return validateInteger},v9:function(){return validateSymbol}});__webpack_require__(68309);var _namespace_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(28970),_is_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(83835);function validateIterable(value){if(!(0,_is_js__WEBPACK_IMPORTED_MODULE_2__.TW)(value))throw new TypeError("value is not iterable");return value}function validatePrimitive(value){if(!(0,_is_js__WEBPACK_IMPORTED_MODULE_2__.pt)(value))throw new TypeError("value is not a primitive");return value}function validateBoolean(value){if(!(0,_is_js__WEBPACK_IMPORTED_MODULE_2__.jn)(value))throw new TypeError("value is not a boolean");return value}function validateString(value){if(!(0,_is_js__WEBPACK_IMPORTED_MODULE_2__.HD)(value))throw new TypeError("value is not a string");return value}function validateObject(value){if(!(0,_is_js__WEBPACK_IMPORTED_MODULE_2__.Kn)(value))throw new TypeError("value is not a object");return value}function validateInstance(value,instance){if(!(0,_is_js__WEBPACK_IMPORTED_MODULE_2__.$O)(value,instance)){var n="";throw((0,_is_js__WEBPACK_IMPORTED_MODULE_2__.Kn)(instance)||(0,_is_js__WEBPACK_IMPORTED_MODULE_2__.mf)(instance))&&(n=null==instance?void 0:instance.name),n&&(n=" "+n),new TypeError("value is not an instance of"+n)}return value}function validateArray(value){if(!(0,_is_js__WEBPACK_IMPORTED_MODULE_2__.kJ)(value))throw new TypeError("value is not an array");return value}function validateSymbol(value){if(!(0,_is_js__WEBPACK_IMPORTED_MODULE_2__.yk)(value))throw new TypeError("value is not an symbol");return value}function validateFunction(value){if(!(0,_is_js__WEBPACK_IMPORTED_MODULE_2__.mf)(value))throw new TypeError("value is not a function");return value}function validateInteger(value){if(!(0,_is_js__WEBPACK_IMPORTED_MODULE_2__.U)(value))throw new TypeError("value is not an integer");return value}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_1__.O)("Monster.Types",validatePrimitive,validateBoolean,validateString,validateObject,validateArray,validateFunction,validateIterable,validateInteger)},69080:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{d:function(){return clone}});var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(71002),_namespace_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(28970),_types_global_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7999),_types_is_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(83835),_types_typeof_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(87029),_types_validate_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(78268);function clone(obj){if(null===obj)return obj;if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_2__.pt)(obj))return obj;if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_2__.mf)(obj))return obj;if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_2__.kJ)(obj)){for(var copy=[],i=0,len=obj.length;i<len;i++)copy[i]=clone(obj[i]);return copy}if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_2__.Kn)(obj)){if(obj instanceof Date){var _copy=new Date;return _copy.setTime(obj.getTime()),_copy}if("undefined"!=typeof Element&&obj instanceof Element)return obj;if("undefined"!=typeof HTMLDocument&&obj instanceof HTMLDocument)return obj;if("undefined"!=typeof DocumentFragment&&obj instanceof DocumentFragment)return obj;if(obj===(0,_types_global_js__WEBPACK_IMPORTED_MODULE_1__.Rd)())return obj;if("undefined"!=typeof globalContext&&obj===globalContext)return obj;if("undefined"!=typeof window&&obj===window)return obj;if("undefined"!=typeof document&&obj===document)return obj;if("undefined"!=typeof navigator&&obj===navigator)return obj;if("undefined"!=typeof JSON&&obj===JSON)return obj;try{if(obj instanceof Proxy)return obj}catch(e){}return function cloneObject(obj){(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_4__.FF)(obj);var constructor=null==obj?void 0:obj.constructor;if("function"===(0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_3__.k)(constructor)){var prototype=null==constructor?void 0:constructor.prototype;if("object"===(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_5__.Z)(prototype)&&prototype.hasOwnProperty("getClone")&&"function"===(0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_3__.k)(obj.getClone))return obj.getClone()}var copy={};"function"==typeof obj.constructor&&"function"==typeof obj.constructor.call&&(copy=new obj.constructor);for(var key in obj)obj.hasOwnProperty(key)&&((0,_types_is_js__WEBPACK_IMPORTED_MODULE_2__.pt)(obj[key])?copy[key]=obj[key]:copy[key]=clone(obj[key]));return copy}(obj)}throw new Error("unable to clone obj! its type isn't supported.")}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.O)("Monster.Util",clone)},69618:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:function(){return trimSpaces}});__webpack_require__(24603),__webpack_require__(4129),__webpack_require__(78206),__webpack_require__(83510),__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(47042),__webpack_require__(85827),__webpack_require__(47941),__webpack_require__(68309),__webpack_require__(91038),__webpack_require__(32165);var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(71002),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(60136),_babel_runtime_helpers_setPrototypeOf__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(89611),_namespace_js__WEBPACK_IMPORTED_MODULE_40__=(__webpack_require__(66992),__webpack_require__(51532),__webpack_require__(41539),__webpack_require__(78783),__webpack_require__(10072),__webpack_require__(99137),__webpack_require__(71957),__webpack_require__(96306),__webpack_require__(103),__webpack_require__(74592),__webpack_require__(58276),__webpack_require__(35082),__webpack_require__(12813),__webpack_require__(18222),__webpack_require__(38563),__webpack_require__(50336),__webpack_require__(7512),__webpack_require__(33948),__webpack_require__(74916),__webpack_require__(13728),__webpack_require__(73210),__webpack_require__(89554),__webpack_require__(54747),__webpack_require__(15306),__webpack_require__(39714),__webpack_require__(28970)),_types_id_js__WEBPACK_IMPORTED_MODULE_41__=__webpack_require__(45584),_types_is_js__WEBPACK_IMPORTED_MODULE_42__=__webpack_require__(83835),_types_validate_js__WEBPACK_IMPORTED_MODULE_43__=__webpack_require__(78268);function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _wrapRegExp(){_wrapRegExp=function _wrapRegExp(re,groups){return new BabelRegExp(re,void 0,groups)};var _super=RegExp.prototype,_groups=new WeakMap;function BabelRegExp(re,flags,groups){var _this=new RegExp(re,flags);return _groups.set(_this,groups||_groups.get(re)),(0,_babel_runtime_helpers_setPrototypeOf__WEBPACK_IMPORTED_MODULE_12__.Z)(_this,BabelRegExp.prototype)}function buildGroups(result,re){var g=_groups.get(re);return Object.keys(g).reduce((function(groups,name){return groups[name]=result[g[name]],groups}),Object.create(null))}return(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__.Z)(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(str){var result=_super.exec.call(this,str);return result&&(result.groups=buildGroups(result,this)),result},BabelRegExp.prototype[Symbol.replace]=function(str,substitution){if("string"==typeof substitution){var groups=_groups.get(this);return _super[Symbol.replace].call(this,str,substitution.replace(/\$<([^>]+)>/g,(function(_,name){return"$"+groups[name]})))}if("function"==typeof substitution){var _this=this;return _super[Symbol.replace].call(this,str,(function(){var args=arguments;return"object"!==(0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_14__.Z)(args[args.length-1])&&(args=[].slice.call(args)).push(buildGroups(args,_this)),substitution.apply(this,args)}))}return _super[Symbol.replace].call(this,str,substitution)},_wrapRegExp.apply(this,arguments)}function trimSpaces(value){(0,_types_validate_js__WEBPACK_IMPORTED_MODULE_43__.Cp)(value);var _step,placeholder=new Map,regex=_wrapRegExp(/((\\(.)){1})/gim,{pattern:2,char:3}),_iterator=_createForOfIteratorHelper(value.matchAll(regex));try{for(_iterator.s();!(_step=_iterator.n()).done;){var m=_step.value,g=null==m?void 0:m.groups;if((0,_types_is_js__WEBPACK_IMPORTED_MODULE_42__.Kn)(g)){var p=null==g?void 0:g.pattern,c=null==g?void 0:g.char;if(p&&c){var r="__"+(new _types_id_js__WEBPACK_IMPORTED_MODULE_41__.ID).toString()+"__";placeholder.set(r,c),value=value.replace(p,r)}}}}catch(err){_iterator.e(err)}finally{_iterator.f()}return value=value.trim(),placeholder.forEach((function(v,k){value=value.replace(k,"\\"+v)})),value}(0,_namespace_js__WEBPACK_IMPORTED_MODULE_40__.O)("Monster.Util",trimSpaces)},79742:function(__unused_webpack_module,exports){exports.byteLength=function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return 3*(validLen+placeHoldersLen)/4-placeHoldersLen},exports.toByteArray=function toByteArray(b64){var tmp,i,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(function _byteLength(b64,validLen,placeHoldersLen){return 3*(validLen+placeHoldersLen)/4-placeHoldersLen}(0,validLen,placeHoldersLen)),curByte=0,len=placeHoldersLen>0?validLen-4:validLen;for(i=0;i<len;i+=4)tmp=revLookup[b64.charCodeAt(i)]<<18|revLookup[b64.charCodeAt(i+1)]<<12|revLookup[b64.charCodeAt(i+2)]<<6|revLookup[b64.charCodeAt(i+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=255&tmp;2===placeHoldersLen&&(tmp=revLookup[b64.charCodeAt(i)]<<2|revLookup[b64.charCodeAt(i+1)]>>4,arr[curByte++]=255&tmp);1===placeHoldersLen&&(tmp=revLookup[b64.charCodeAt(i)]<<10|revLookup[b64.charCodeAt(i+1)]<<4|revLookup[b64.charCodeAt(i+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=255&tmp);return arr},exports.fromByteArray=function fromByteArray(uint8){for(var tmp,len=uint8.length,extraBytes=len%3,parts=[],i=0,len2=len-extraBytes;i<len2;i+=16383)parts.push(encodeChunk(uint8,i,i+16383>len2?len2:i+16383));1===extraBytes?(tmp=uint8[len-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):2===extraBytes&&(tmp=(uint8[len-2]<<8)+uint8[len-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"="));return parts.join("")};for(var lookup=[],revLookup=[],Arr="undefined"!=typeof Uint8Array?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;function getLens(b64){var len=b64.length;if(len%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");return-1===validLen&&(validLen=len),[validLen,validLen===len?0:4-validLen%4]}function encodeChunk(uint8,start,end){for(var tmp,num,output=[],i=start;i<end;i+=3)tmp=(uint8[i]<<16&16711680)+(uint8[i+1]<<8&65280)+(255&uint8[i+2]),output.push(lookup[(num=tmp)>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[63&num]);return output.join("")}revLookup["-".charCodeAt(0)]=62,revLookup["_".charCodeAt(0)]=63},13550:function(module,__unused_webpack_exports,__webpack_require__){!function(module,exports){function assert(val,msg){if(!val)throw new Error(msg||"Assertion failed")}function inherits(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}function BN(number,base,endian){if(BN.isBN(number))return number;this.negative=0,this.words=null,this.length=0,this.red=null,null!==number&&("le"!==base&&"be"!==base||(endian=base,base=10),this._init(number||0,base||10,endian||"be"))}var Buffer;"object"==typeof module?module.exports=BN:exports.BN=BN,BN.BN=BN,BN.wordSize=26;try{Buffer="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:__webpack_require__(46601).Buffer}catch(e){}function parseHex4Bits(string,index){var c=string.charCodeAt(index);return c>=48&&c<=57?c-48:c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:void assert(!1,"Invalid character in "+string)}function parseHexByte(string,lowerBound,index){var r=parseHex4Bits(string,index);return index-1>=lowerBound&&(r|=parseHex4Bits(string,index-1)<<4),r}function parseBase(str,start,end,mul){for(var r=0,b=0,len=Math.min(str.length,end),i=start;i<len;i++){var c=str.charCodeAt(i)-48;r*=mul,b=c>=49?c-49+10:c>=17?c-17+10:c,assert(c>=0&&b<mul,"Invalid character"),r+=b}return r}function move(dest,src){dest.words=src.words,dest.length=src.length,dest.negative=src.negative,dest.red=src.red}if(BN.isBN=function isBN(num){return num instanceof BN||null!==num&&"object"==typeof num&&num.constructor.wordSize===BN.wordSize&&Array.isArray(num.words)},BN.max=function max(left,right){return left.cmp(right)>0?left:right},BN.min=function min(left,right){return left.cmp(right)<0?left:right},BN.prototype._init=function init(number,base,endian){if("number"==typeof number)return this._initNumber(number,base,endian);if("object"==typeof number)return this._initArray(number,base,endian);"hex"===base&&(base=16),assert(base===(0|base)&&base>=2&&base<=36);var start=0;"-"===(number=number.toString().replace(/\s+/g,""))[0]&&(start++,this.negative=1),start<number.length&&(16===base?this._parseHex(number,start,endian):(this._parseBase(number,base,start),"le"===endian&&this._initArray(this.toArray(),base,endian)))},BN.prototype._initNumber=function _initNumber(number,base,endian){number<0&&(this.negative=1,number=-number),number<67108864?(this.words=[67108863&number],this.length=1):number<4503599627370496?(this.words=[67108863&number,number/67108864&67108863],this.length=2):(assert(number<9007199254740992),this.words=[67108863&number,number/67108864&67108863,1],this.length=3),"le"===endian&&this._initArray(this.toArray(),base,endian)},BN.prototype._initArray=function _initArray(number,base,endian){if(assert("number"==typeof number.length),number.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(number.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var j,w,off=0;if("be"===endian)for(i=number.length-1,j=0;i>=0;i-=3)w=number[i]|number[i-1]<<8|number[i-2]<<16,this.words[j]|=w<<off&67108863,this.words[j+1]=w>>>26-off&67108863,(off+=24)>=26&&(off-=26,j++);else if("le"===endian)for(i=0,j=0;i<number.length;i+=3)w=number[i]|number[i+1]<<8|number[i+2]<<16,this.words[j]|=w<<off&67108863,this.words[j+1]=w>>>26-off&67108863,(off+=24)>=26&&(off-=26,j++);return this._strip()},BN.prototype._parseHex=function _parseHex(number,start,endian){this.length=Math.ceil((number.length-start)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var w,off=0,j=0;if("be"===endian)for(i=number.length-1;i>=start;i-=2)w=parseHexByte(number,start,i)<<off,this.words[j]|=67108863&w,off>=18?(off-=18,j+=1,this.words[j]|=w>>>26):off+=8;else for(i=(number.length-start)%2==0?start+1:start;i<number.length;i+=2)w=parseHexByte(number,start,i)<<off,this.words[j]|=67108863&w,off>=18?(off-=18,j+=1,this.words[j]|=w>>>26):off+=8;this._strip()},BN.prototype._parseBase=function _parseBase(number,base,start){this.words=[0],this.length=1;for(var limbLen=0,limbPow=1;limbPow<=67108863;limbPow*=base)limbLen++;limbLen--,limbPow=limbPow/base|0;for(var total=number.length-start,mod=total%limbLen,end=Math.min(total,total-mod)+start,word=0,i=start;i<end;i+=limbLen)word=parseBase(number,i,i+limbLen,base),this.imuln(limbPow),this.words[0]+word<67108864?this.words[0]+=word:this._iaddn(word);if(0!==mod){var pow=1;for(word=parseBase(number,i,number.length,base),i=0;i<mod;i++)pow*=base;this.imuln(pow),this.words[0]+word<67108864?this.words[0]+=word:this._iaddn(word)}this._strip()},BN.prototype.copy=function copy(dest){dest.words=new Array(this.length);for(var i=0;i<this.length;i++)dest.words[i]=this.words[i];dest.length=this.length,dest.negative=this.negative,dest.red=this.red},BN.prototype._move=function _move(dest){move(dest,this)},BN.prototype.clone=function clone(){var r=new BN(null);return this.copy(r),r},BN.prototype._expand=function _expand(size){for(;this.length<size;)this.words[this.length++]=0;return this},BN.prototype._strip=function strip(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},BN.prototype._normSign=function _normSign(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{BN.prototype[Symbol.for("nodejs.util.inspect.custom")]=inspect}catch(e){BN.prototype.inspect=inspect}else BN.prototype.inspect=inspect;function inspect(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var zeros=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],groupSizes=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],groupBases=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];BN.prototype.toString=function toString(base,padding){var out;if(padding=0|padding||1,16===(base=base||10)||"hex"===base){out="";for(var off=0,carry=0,i=0;i<this.length;i++){var w=this.words[i],word=(16777215&(w<<off|carry)).toString(16);out=0!==(carry=w>>>24-off&16777215)||i!==this.length-1?zeros[6-word.length]+word+out:word+out,(off+=2)>=26&&(off-=26,i--)}for(0!==carry&&(out=carry.toString(16)+out);out.length%padding!=0;)out="0"+out;return 0!==this.negative&&(out="-"+out),out}if(base===(0|base)&&base>=2&&base<=36){var groupSize=groupSizes[base],groupBase=groupBases[base];out="";var c=this.clone();for(c.negative=0;!c.isZero();){var r=c.modrn(groupBase).toString(base);out=(c=c.idivn(groupBase)).isZero()?r+out:zeros[groupSize-r.length]+r+out}for(this.isZero()&&(out="0"+out);out.length%padding!=0;)out="0"+out;return 0!==this.negative&&(out="-"+out),out}assert(!1,"Base should be between 2 and 36")},BN.prototype.toNumber=function toNumber(){var ret=this.words[0];return 2===this.length?ret+=67108864*this.words[1]:3===this.length&&1===this.words[2]?ret+=4503599627370496+67108864*this.words[1]:this.length>2&&assert(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-ret:ret},BN.prototype.toJSON=function toJSON(){return this.toString(16,2)},Buffer&&(BN.prototype.toBuffer=function toBuffer(endian,length){return this.toArrayLike(Buffer,endian,length)}),BN.prototype.toArray=function toArray(endian,length){return this.toArrayLike(Array,endian,length)};function smallMulTo(self,num,out){out.negative=num.negative^self.negative;var len=self.length+num.length|0;out.length=len,len=len-1|0;var a=0|self.words[0],b=0|num.words[0],r=a*b,lo=67108863&r,carry=r/67108864|0;out.words[0]=lo;for(var k=1;k<len;k++){for(var ncarry=carry>>>26,rword=67108863&carry,maxJ=Math.min(k,num.length-1),j=Math.max(0,k-self.length+1);j<=maxJ;j++){var i=k-j|0;ncarry+=(r=(a=0|self.words[i])*(b=0|num.words[j])+rword)/67108864|0,rword=67108863&r}out.words[k]=0|rword,carry=0|ncarry}return 0!==carry?out.words[k]=0|carry:out.length--,out._strip()}BN.prototype.toArrayLike=function toArrayLike(ArrayType,endian,length){this._strip();var byteLength=this.byteLength(),reqLength=length||Math.max(1,byteLength);assert(byteLength<=reqLength,"byte array longer than desired length"),assert(reqLength>0,"Requested array length <= 0");var res=function allocate(ArrayType,size){return ArrayType.allocUnsafe?ArrayType.allocUnsafe(size):new ArrayType(size)}(ArrayType,reqLength);return this["_toArrayLike"+("le"===endian?"LE":"BE")](res,byteLength),res},BN.prototype._toArrayLikeLE=function _toArrayLikeLE(res,byteLength){for(var position=0,carry=0,i=0,shift=0;i<this.length;i++){var word=this.words[i]<<shift|carry;res[position++]=255&word,position<res.length&&(res[position++]=word>>8&255),position<res.length&&(res[position++]=word>>16&255),6===shift?(position<res.length&&(res[position++]=word>>24&255),carry=0,shift=0):(carry=word>>>24,shift+=2)}if(position<res.length)for(res[position++]=carry;position<res.length;)res[position++]=0},BN.prototype._toArrayLikeBE=function _toArrayLikeBE(res,byteLength){for(var position=res.length-1,carry=0,i=0,shift=0;i<this.length;i++){var word=this.words[i]<<shift|carry;res[position--]=255&word,position>=0&&(res[position--]=word>>8&255),position>=0&&(res[position--]=word>>16&255),6===shift?(position>=0&&(res[position--]=word>>24&255),carry=0,shift=0):(carry=word>>>24,shift+=2)}if(position>=0)for(res[position--]=carry;position>=0;)res[position--]=0},Math.clz32?BN.prototype._countBits=function _countBits(w){return 32-Math.clz32(w)}:BN.prototype._countBits=function _countBits(w){var t=w,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},BN.prototype._zeroBits=function _zeroBits(w){if(0===w)return 26;var t=w,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},BN.prototype.bitLength=function bitLength(){var w=this.words[this.length-1],hi=this._countBits(w);return 26*(this.length-1)+hi},BN.prototype.zeroBits=function zeroBits(){if(this.isZero())return 0;for(var r=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(r+=b,26!==b)break}return r},BN.prototype.byteLength=function byteLength(){return Math.ceil(this.bitLength()/8)},BN.prototype.toTwos=function toTwos(width){return 0!==this.negative?this.abs().inotn(width).iaddn(1):this.clone()},BN.prototype.fromTwos=function fromTwos(width){return this.testn(width-1)?this.notn(width).iaddn(1).ineg():this.clone()},BN.prototype.isNeg=function isNeg(){return 0!==this.negative},BN.prototype.neg=function neg(){return this.clone().ineg()},BN.prototype.ineg=function ineg(){return this.isZero()||(this.negative^=1),this},BN.prototype.iuor=function iuor(num){for(;this.length<num.length;)this.words[this.length++]=0;for(var i=0;i<num.length;i++)this.words[i]=this.words[i]|num.words[i];return this._strip()},BN.prototype.ior=function ior(num){return assert(0==(this.negative|num.negative)),this.iuor(num)},BN.prototype.or=function or(num){return this.length>num.length?this.clone().ior(num):num.clone().ior(this)},BN.prototype.uor=function uor(num){return this.length>num.length?this.clone().iuor(num):num.clone().iuor(this)},BN.prototype.iuand=function iuand(num){var b;b=this.length>num.length?num:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&num.words[i];return this.length=b.length,this._strip()},BN.prototype.iand=function iand(num){return assert(0==(this.negative|num.negative)),this.iuand(num)},BN.prototype.and=function and(num){return this.length>num.length?this.clone().iand(num):num.clone().iand(this)},BN.prototype.uand=function uand(num){return this.length>num.length?this.clone().iuand(num):num.clone().iuand(this)},BN.prototype.iuxor=function iuxor(num){var a,b;this.length>num.length?(a=this,b=num):(a=num,b=this);for(var i=0;i<b.length;i++)this.words[i]=a.words[i]^b.words[i];if(this!==a)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=a.length,this._strip()},BN.prototype.ixor=function ixor(num){return assert(0==(this.negative|num.negative)),this.iuxor(num)},BN.prototype.xor=function xor(num){return this.length>num.length?this.clone().ixor(num):num.clone().ixor(this)},BN.prototype.uxor=function uxor(num){return this.length>num.length?this.clone().iuxor(num):num.clone().iuxor(this)},BN.prototype.inotn=function inotn(width){assert("number"==typeof width&&width>=0);var bytesNeeded=0|Math.ceil(width/26),bitsLeft=width%26;this._expand(bytesNeeded),bitsLeft>0&&bytesNeeded--;for(var i=0;i<bytesNeeded;i++)this.words[i]=67108863&~this.words[i];return bitsLeft>0&&(this.words[i]=~this.words[i]&67108863>>26-bitsLeft),this._strip()},BN.prototype.notn=function notn(width){return this.clone().inotn(width)},BN.prototype.setn=function setn(bit,val){assert("number"==typeof bit&&bit>=0);var off=bit/26|0,wbit=bit%26;return this._expand(off+1),this.words[off]=val?this.words[off]|1<<wbit:this.words[off]&~(1<<wbit),this._strip()},BN.prototype.iadd=function iadd(num){var r,a,b;if(0!==this.negative&&0===num.negative)return this.negative=0,r=this.isub(num),this.negative^=1,this._normSign();if(0===this.negative&&0!==num.negative)return num.negative=0,r=this.isub(num),num.negative=1,r._normSign();this.length>num.length?(a=this,b=num):(a=num,b=this);for(var carry=0,i=0;i<b.length;i++)r=(0|a.words[i])+(0|b.words[i])+carry,this.words[i]=67108863&r,carry=r>>>26;for(;0!==carry&&i<a.length;i++)r=(0|a.words[i])+carry,this.words[i]=67108863&r,carry=r>>>26;if(this.length=a.length,0!==carry)this.words[this.length]=carry,this.length++;else if(a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this},BN.prototype.add=function add(num){var res;return 0!==num.negative&&0===this.negative?(num.negative=0,res=this.sub(num),num.negative^=1,res):0===num.negative&&0!==this.negative?(this.negative=0,res=num.sub(this),this.negative=1,res):this.length>num.length?this.clone().iadd(num):num.clone().iadd(this)},BN.prototype.isub=function isub(num){if(0!==num.negative){num.negative=0;var r=this.iadd(num);return num.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(num),this.negative=1,this._normSign();var a,b,cmp=this.cmp(num);if(0===cmp)return this.negative=0,this.length=1,this.words[0]=0,this;cmp>0?(a=this,b=num):(a=num,b=this);for(var carry=0,i=0;i<b.length;i++)carry=(r=(0|a.words[i])-(0|b.words[i])+carry)>>26,this.words[i]=67108863&r;for(;0!==carry&&i<a.length;i++)carry=(r=(0|a.words[i])+carry)>>26,this.words[i]=67108863&r;if(0===carry&&i<a.length&&a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=Math.max(this.length,i),a!==this&&(this.negative=1),this._strip()},BN.prototype.sub=function sub(num){return this.clone().isub(num)};var comb10MulTo=function comb10MulTo(self,num,out){var lo,mid,hi,a=self.words,b=num.words,o=out.words,c=0,a0=0|a[0],al0=8191&a0,ah0=a0>>>13,a1=0|a[1],al1=8191&a1,ah1=a1>>>13,a2=0|a[2],al2=8191&a2,ah2=a2>>>13,a3=0|a[3],al3=8191&a3,ah3=a3>>>13,a4=0|a[4],al4=8191&a4,ah4=a4>>>13,a5=0|a[5],al5=8191&a5,ah5=a5>>>13,a6=0|a[6],al6=8191&a6,ah6=a6>>>13,a7=0|a[7],al7=8191&a7,ah7=a7>>>13,a8=0|a[8],al8=8191&a8,ah8=a8>>>13,a9=0|a[9],al9=8191&a9,ah9=a9>>>13,b0=0|b[0],bl0=8191&b0,bh0=b0>>>13,b1=0|b[1],bl1=8191&b1,bh1=b1>>>13,b2=0|b[2],bl2=8191&b2,bh2=b2>>>13,b3=0|b[3],bl3=8191&b3,bh3=b3>>>13,b4=0|b[4],bl4=8191&b4,bh4=b4>>>13,b5=0|b[5],bl5=8191&b5,bh5=b5>>>13,b6=0|b[6],bl6=8191&b6,bh6=b6>>>13,b7=0|b[7],bl7=8191&b7,bh7=b7>>>13,b8=0|b[8],bl8=8191&b8,bh8=b8>>>13,b9=0|b[9],bl9=8191&b9,bh9=b9>>>13;out.negative=self.negative^num.negative,out.length=19;var w0=(c+(lo=Math.imul(al0,bl0))|0)+((8191&(mid=(mid=Math.imul(al0,bh0))+Math.imul(ah0,bl0)|0))<<13)|0;c=((hi=Math.imul(ah0,bh0))+(mid>>>13)|0)+(w0>>>26)|0,w0&=67108863,lo=Math.imul(al1,bl0),mid=(mid=Math.imul(al1,bh0))+Math.imul(ah1,bl0)|0,hi=Math.imul(ah1,bh0);var w1=(c+(lo=lo+Math.imul(al0,bl1)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al0,bh1)|0)+Math.imul(ah0,bl1)|0))<<13)|0;c=((hi=hi+Math.imul(ah0,bh1)|0)+(mid>>>13)|0)+(w1>>>26)|0,w1&=67108863,lo=Math.imul(al2,bl0),mid=(mid=Math.imul(al2,bh0))+Math.imul(ah2,bl0)|0,hi=Math.imul(ah2,bh0),lo=lo+Math.imul(al1,bl1)|0,mid=(mid=mid+Math.imul(al1,bh1)|0)+Math.imul(ah1,bl1)|0,hi=hi+Math.imul(ah1,bh1)|0;var w2=(c+(lo=lo+Math.imul(al0,bl2)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al0,bh2)|0)+Math.imul(ah0,bl2)|0))<<13)|0;c=((hi=hi+Math.imul(ah0,bh2)|0)+(mid>>>13)|0)+(w2>>>26)|0,w2&=67108863,lo=Math.imul(al3,bl0),mid=(mid=Math.imul(al3,bh0))+Math.imul(ah3,bl0)|0,hi=Math.imul(ah3,bh0),lo=lo+Math.imul(al2,bl1)|0,mid=(mid=mid+Math.imul(al2,bh1)|0)+Math.imul(ah2,bl1)|0,hi=hi+Math.imul(ah2,bh1)|0,lo=lo+Math.imul(al1,bl2)|0,mid=(mid=mid+Math.imul(al1,bh2)|0)+Math.imul(ah1,bl2)|0,hi=hi+Math.imul(ah1,bh2)|0;var w3=(c+(lo=lo+Math.imul(al0,bl3)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al0,bh3)|0)+Math.imul(ah0,bl3)|0))<<13)|0;c=((hi=hi+Math.imul(ah0,bh3)|0)+(mid>>>13)|0)+(w3>>>26)|0,w3&=67108863,lo=Math.imul(al4,bl0),mid=(mid=Math.imul(al4,bh0))+Math.imul(ah4,bl0)|0,hi=Math.imul(ah4,bh0),lo=lo+Math.imul(al3,bl1)|0,mid=(mid=mid+Math.imul(al3,bh1)|0)+Math.imul(ah3,bl1)|0,hi=hi+Math.imul(ah3,bh1)|0,lo=lo+Math.imul(al2,bl2)|0,mid=(mid=mid+Math.imul(al2,bh2)|0)+Math.imul(ah2,bl2)|0,hi=hi+Math.imul(ah2,bh2)|0,lo=lo+Math.imul(al1,bl3)|0,mid=(mid=mid+Math.imul(al1,bh3)|0)+Math.imul(ah1,bl3)|0,hi=hi+Math.imul(ah1,bh3)|0;var w4=(c+(lo=lo+Math.imul(al0,bl4)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al0,bh4)|0)+Math.imul(ah0,bl4)|0))<<13)|0;c=((hi=hi+Math.imul(ah0,bh4)|0)+(mid>>>13)|0)+(w4>>>26)|0,w4&=67108863,lo=Math.imul(al5,bl0),mid=(mid=Math.imul(al5,bh0))+Math.imul(ah5,bl0)|0,hi=Math.imul(ah5,bh0),lo=lo+Math.imul(al4,bl1)|0,mid=(mid=mid+Math.imul(al4,bh1)|0)+Math.imul(ah4,bl1)|0,hi=hi+Math.imul(ah4,bh1)|0,lo=lo+Math.imul(al3,bl2)|0,mid=(mid=mid+Math.imul(al3,bh2)|0)+Math.imul(ah3,bl2)|0,hi=hi+Math.imul(ah3,bh2)|0,lo=lo+Math.imul(al2,bl3)|0,mid=(mid=mid+Math.imul(al2,bh3)|0)+Math.imul(ah2,bl3)|0,hi=hi+Math.imul(ah2,bh3)|0,lo=lo+Math.imul(al1,bl4)|0,mid=(mid=mid+Math.imul(al1,bh4)|0)+Math.imul(ah1,bl4)|0,hi=hi+Math.imul(ah1,bh4)|0;var w5=(c+(lo=lo+Math.imul(al0,bl5)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al0,bh5)|0)+Math.imul(ah0,bl5)|0))<<13)|0;c=((hi=hi+Math.imul(ah0,bh5)|0)+(mid>>>13)|0)+(w5>>>26)|0,w5&=67108863,lo=Math.imul(al6,bl0),mid=(mid=Math.imul(al6,bh0))+Math.imul(ah6,bl0)|0,hi=Math.imul(ah6,bh0),lo=lo+Math.imul(al5,bl1)|0,mid=(mid=mid+Math.imul(al5,bh1)|0)+Math.imul(ah5,bl1)|0,hi=hi+Math.imul(ah5,bh1)|0,lo=lo+Math.imul(al4,bl2)|0,mid=(mid=mid+Math.imul(al4,bh2)|0)+Math.imul(ah4,bl2)|0,hi=hi+Math.imul(ah4,bh2)|0,lo=lo+Math.imul(al3,bl3)|0,mid=(mid=mid+Math.imul(al3,bh3)|0)+Math.imul(ah3,bl3)|0,hi=hi+Math.imul(ah3,bh3)|0,lo=lo+Math.imul(al2,bl4)|0,mid=(mid=mid+Math.imul(al2,bh4)|0)+Math.imul(ah2,bl4)|0,hi=hi+Math.imul(ah2,bh4)|0,lo=lo+Math.imul(al1,bl5)|0,mid=(mid=mid+Math.imul(al1,bh5)|0)+Math.imul(ah1,bl5)|0,hi=hi+Math.imul(ah1,bh5)|0;var w6=(c+(lo=lo+Math.imul(al0,bl6)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al0,bh6)|0)+Math.imul(ah0,bl6)|0))<<13)|0;c=((hi=hi+Math.imul(ah0,bh6)|0)+(mid>>>13)|0)+(w6>>>26)|0,w6&=67108863,lo=Math.imul(al7,bl0),mid=(mid=Math.imul(al7,bh0))+Math.imul(ah7,bl0)|0,hi=Math.imul(ah7,bh0),lo=lo+Math.imul(al6,bl1)|0,mid=(mid=mid+Math.imul(al6,bh1)|0)+Math.imul(ah6,bl1)|0,hi=hi+Math.imul(ah6,bh1)|0,lo=lo+Math.imul(al5,bl2)|0,mid=(mid=mid+Math.imul(al5,bh2)|0)+Math.imul(ah5,bl2)|0,hi=hi+Math.imul(ah5,bh2)|0,lo=lo+Math.imul(al4,bl3)|0,mid=(mid=mid+Math.imul(al4,bh3)|0)+Math.imul(ah4,bl3)|0,hi=hi+Math.imul(ah4,bh3)|0,lo=lo+Math.imul(al3,bl4)|0,mid=(mid=mid+Math.imul(al3,bh4)|0)+Math.imul(ah3,bl4)|0,hi=hi+Math.imul(ah3,bh4)|0,lo=lo+Math.imul(al2,bl5)|0,mid=(mid=mid+Math.imul(al2,bh5)|0)+Math.imul(ah2,bl5)|0,hi=hi+Math.imul(ah2,bh5)|0,lo=lo+Math.imul(al1,bl6)|0,mid=(mid=mid+Math.imul(al1,bh6)|0)+Math.imul(ah1,bl6)|0,hi=hi+Math.imul(ah1,bh6)|0;var w7=(c+(lo=lo+Math.imul(al0,bl7)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al0,bh7)|0)+Math.imul(ah0,bl7)|0))<<13)|0;c=((hi=hi+Math.imul(ah0,bh7)|0)+(mid>>>13)|0)+(w7>>>26)|0,w7&=67108863,lo=Math.imul(al8,bl0),mid=(mid=Math.imul(al8,bh0))+Math.imul(ah8,bl0)|0,hi=Math.imul(ah8,bh0),lo=lo+Math.imul(al7,bl1)|0,mid=(mid=mid+Math.imul(al7,bh1)|0)+Math.imul(ah7,bl1)|0,hi=hi+Math.imul(ah7,bh1)|0,lo=lo+Math.imul(al6,bl2)|0,mid=(mid=mid+Math.imul(al6,bh2)|0)+Math.imul(ah6,bl2)|0,hi=hi+Math.imul(ah6,bh2)|0,lo=lo+Math.imul(al5,bl3)|0,mid=(mid=mid+Math.imul(al5,bh3)|0)+Math.imul(ah5,bl3)|0,hi=hi+Math.imul(ah5,bh3)|0,lo=lo+Math.imul(al4,bl4)|0,mid=(mid=mid+Math.imul(al4,bh4)|0)+Math.imul(ah4,bl4)|0,hi=hi+Math.imul(ah4,bh4)|0,lo=lo+Math.imul(al3,bl5)|0,mid=(mid=mid+Math.imul(al3,bh5)|0)+Math.imul(ah3,bl5)|0,hi=hi+Math.imul(ah3,bh5)|0,lo=lo+Math.imul(al2,bl6)|0,mid=(mid=mid+Math.imul(al2,bh6)|0)+Math.imul(ah2,bl6)|0,hi=hi+Math.imul(ah2,bh6)|0,lo=lo+Math.imul(al1,bl7)|0,mid=(mid=mid+Math.imul(al1,bh7)|0)+Math.imul(ah1,bl7)|0,hi=hi+Math.imul(ah1,bh7)|0;var w8=(c+(lo=lo+Math.imul(al0,bl8)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al0,bh8)|0)+Math.imul(ah0,bl8)|0))<<13)|0;c=((hi=hi+Math.imul(ah0,bh8)|0)+(mid>>>13)|0)+(w8>>>26)|0,w8&=67108863,lo=Math.imul(al9,bl0),mid=(mid=Math.imul(al9,bh0))+Math.imul(ah9,bl0)|0,hi=Math.imul(ah9,bh0),lo=lo+Math.imul(al8,bl1)|0,mid=(mid=mid+Math.imul(al8,bh1)|0)+Math.imul(ah8,bl1)|0,hi=hi+Math.imul(ah8,bh1)|0,lo=lo+Math.imul(al7,bl2)|0,mid=(mid=mid+Math.imul(al7,bh2)|0)+Math.imul(ah7,bl2)|0,hi=hi+Math.imul(ah7,bh2)|0,lo=lo+Math.imul(al6,bl3)|0,mid=(mid=mid+Math.imul(al6,bh3)|0)+Math.imul(ah6,bl3)|0,hi=hi+Math.imul(ah6,bh3)|0,lo=lo+Math.imul(al5,bl4)|0,mid=(mid=mid+Math.imul(al5,bh4)|0)+Math.imul(ah5,bl4)|0,hi=hi+Math.imul(ah5,bh4)|0,lo=lo+Math.imul(al4,bl5)|0,mid=(mid=mid+Math.imul(al4,bh5)|0)+Math.imul(ah4,bl5)|0,hi=hi+Math.imul(ah4,bh5)|0,lo=lo+Math.imul(al3,bl6)|0,mid=(mid=mid+Math.imul(al3,bh6)|0)+Math.imul(ah3,bl6)|0,hi=hi+Math.imul(ah3,bh6)|0,lo=lo+Math.imul(al2,bl7)|0,mid=(mid=mid+Math.imul(al2,bh7)|0)+Math.imul(ah2,bl7)|0,hi=hi+Math.imul(ah2,bh7)|0,lo=lo+Math.imul(al1,bl8)|0,mid=(mid=mid+Math.imul(al1,bh8)|0)+Math.imul(ah1,bl8)|0,hi=hi+Math.imul(ah1,bh8)|0;var w9=(c+(lo=lo+Math.imul(al0,bl9)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al0,bh9)|0)+Math.imul(ah0,bl9)|0))<<13)|0;c=((hi=hi+Math.imul(ah0,bh9)|0)+(mid>>>13)|0)+(w9>>>26)|0,w9&=67108863,lo=Math.imul(al9,bl1),mid=(mid=Math.imul(al9,bh1))+Math.imul(ah9,bl1)|0,hi=Math.imul(ah9,bh1),lo=lo+Math.imul(al8,bl2)|0,mid=(mid=mid+Math.imul(al8,bh2)|0)+Math.imul(ah8,bl2)|0,hi=hi+Math.imul(ah8,bh2)|0,lo=lo+Math.imul(al7,bl3)|0,mid=(mid=mid+Math.imul(al7,bh3)|0)+Math.imul(ah7,bl3)|0,hi=hi+Math.imul(ah7,bh3)|0,lo=lo+Math.imul(al6,bl4)|0,mid=(mid=mid+Math.imul(al6,bh4)|0)+Math.imul(ah6,bl4)|0,hi=hi+Math.imul(ah6,bh4)|0,lo=lo+Math.imul(al5,bl5)|0,mid=(mid=mid+Math.imul(al5,bh5)|0)+Math.imul(ah5,bl5)|0,hi=hi+Math.imul(ah5,bh5)|0,lo=lo+Math.imul(al4,bl6)|0,mid=(mid=mid+Math.imul(al4,bh6)|0)+Math.imul(ah4,bl6)|0,hi=hi+Math.imul(ah4,bh6)|0,lo=lo+Math.imul(al3,bl7)|0,mid=(mid=mid+Math.imul(al3,bh7)|0)+Math.imul(ah3,bl7)|0,hi=hi+Math.imul(ah3,bh7)|0,lo=lo+Math.imul(al2,bl8)|0,mid=(mid=mid+Math.imul(al2,bh8)|0)+Math.imul(ah2,bl8)|0,hi=hi+Math.imul(ah2,bh8)|0;var w10=(c+(lo=lo+Math.imul(al1,bl9)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al1,bh9)|0)+Math.imul(ah1,bl9)|0))<<13)|0;c=((hi=hi+Math.imul(ah1,bh9)|0)+(mid>>>13)|0)+(w10>>>26)|0,w10&=67108863,lo=Math.imul(al9,bl2),mid=(mid=Math.imul(al9,bh2))+Math.imul(ah9,bl2)|0,hi=Math.imul(ah9,bh2),lo=lo+Math.imul(al8,bl3)|0,mid=(mid=mid+Math.imul(al8,bh3)|0)+Math.imul(ah8,bl3)|0,hi=hi+Math.imul(ah8,bh3)|0,lo=lo+Math.imul(al7,bl4)|0,mid=(mid=mid+Math.imul(al7,bh4)|0)+Math.imul(ah7,bl4)|0,hi=hi+Math.imul(ah7,bh4)|0,lo=lo+Math.imul(al6,bl5)|0,mid=(mid=mid+Math.imul(al6,bh5)|0)+Math.imul(ah6,bl5)|0,hi=hi+Math.imul(ah6,bh5)|0,lo=lo+Math.imul(al5,bl6)|0,mid=(mid=mid+Math.imul(al5,bh6)|0)+Math.imul(ah5,bl6)|0,hi=hi+Math.imul(ah5,bh6)|0,lo=lo+Math.imul(al4,bl7)|0,mid=(mid=mid+Math.imul(al4,bh7)|0)+Math.imul(ah4,bl7)|0,hi=hi+Math.imul(ah4,bh7)|0,lo=lo+Math.imul(al3,bl8)|0,mid=(mid=mid+Math.imul(al3,bh8)|0)+Math.imul(ah3,bl8)|0,hi=hi+Math.imul(ah3,bh8)|0;var w11=(c+(lo=lo+Math.imul(al2,bl9)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al2,bh9)|0)+Math.imul(ah2,bl9)|0))<<13)|0;c=((hi=hi+Math.imul(ah2,bh9)|0)+(mid>>>13)|0)+(w11>>>26)|0,w11&=67108863,lo=Math.imul(al9,bl3),mid=(mid=Math.imul(al9,bh3))+Math.imul(ah9,bl3)|0,hi=Math.imul(ah9,bh3),lo=lo+Math.imul(al8,bl4)|0,mid=(mid=mid+Math.imul(al8,bh4)|0)+Math.imul(ah8,bl4)|0,hi=hi+Math.imul(ah8,bh4)|0,lo=lo+Math.imul(al7,bl5)|0,mid=(mid=mid+Math.imul(al7,bh5)|0)+Math.imul(ah7,bl5)|0,hi=hi+Math.imul(ah7,bh5)|0,lo=lo+Math.imul(al6,bl6)|0,mid=(mid=mid+Math.imul(al6,bh6)|0)+Math.imul(ah6,bl6)|0,hi=hi+Math.imul(ah6,bh6)|0,lo=lo+Math.imul(al5,bl7)|0,mid=(mid=mid+Math.imul(al5,bh7)|0)+Math.imul(ah5,bl7)|0,hi=hi+Math.imul(ah5,bh7)|0,lo=lo+Math.imul(al4,bl8)|0,mid=(mid=mid+Math.imul(al4,bh8)|0)+Math.imul(ah4,bl8)|0,hi=hi+Math.imul(ah4,bh8)|0;var w12=(c+(lo=lo+Math.imul(al3,bl9)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al3,bh9)|0)+Math.imul(ah3,bl9)|0))<<13)|0;c=((hi=hi+Math.imul(ah3,bh9)|0)+(mid>>>13)|0)+(w12>>>26)|0,w12&=67108863,lo=Math.imul(al9,bl4),mid=(mid=Math.imul(al9,bh4))+Math.imul(ah9,bl4)|0,hi=Math.imul(ah9,bh4),lo=lo+Math.imul(al8,bl5)|0,mid=(mid=mid+Math.imul(al8,bh5)|0)+Math.imul(ah8,bl5)|0,hi=hi+Math.imul(ah8,bh5)|0,lo=lo+Math.imul(al7,bl6)|0,mid=(mid=mid+Math.imul(al7,bh6)|0)+Math.imul(ah7,bl6)|0,hi=hi+Math.imul(ah7,bh6)|0,lo=lo+Math.imul(al6,bl7)|0,mid=(mid=mid+Math.imul(al6,bh7)|0)+Math.imul(ah6,bl7)|0,hi=hi+Math.imul(ah6,bh7)|0,lo=lo+Math.imul(al5,bl8)|0,mid=(mid=mid+Math.imul(al5,bh8)|0)+Math.imul(ah5,bl8)|0,hi=hi+Math.imul(ah5,bh8)|0;var w13=(c+(lo=lo+Math.imul(al4,bl9)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al4,bh9)|0)+Math.imul(ah4,bl9)|0))<<13)|0;c=((hi=hi+Math.imul(ah4,bh9)|0)+(mid>>>13)|0)+(w13>>>26)|0,w13&=67108863,lo=Math.imul(al9,bl5),mid=(mid=Math.imul(al9,bh5))+Math.imul(ah9,bl5)|0,hi=Math.imul(ah9,bh5),lo=lo+Math.imul(al8,bl6)|0,mid=(mid=mid+Math.imul(al8,bh6)|0)+Math.imul(ah8,bl6)|0,hi=hi+Math.imul(ah8,bh6)|0,lo=lo+Math.imul(al7,bl7)|0,mid=(mid=mid+Math.imul(al7,bh7)|0)+Math.imul(ah7,bl7)|0,hi=hi+Math.imul(ah7,bh7)|0,lo=lo+Math.imul(al6,bl8)|0,mid=(mid=mid+Math.imul(al6,bh8)|0)+Math.imul(ah6,bl8)|0,hi=hi+Math.imul(ah6,bh8)|0;var w14=(c+(lo=lo+Math.imul(al5,bl9)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al5,bh9)|0)+Math.imul(ah5,bl9)|0))<<13)|0;c=((hi=hi+Math.imul(ah5,bh9)|0)+(mid>>>13)|0)+(w14>>>26)|0,w14&=67108863,lo=Math.imul(al9,bl6),mid=(mid=Math.imul(al9,bh6))+Math.imul(ah9,bl6)|0,hi=Math.imul(ah9,bh6),lo=lo+Math.imul(al8,bl7)|0,mid=(mid=mid+Math.imul(al8,bh7)|0)+Math.imul(ah8,bl7)|0,hi=hi+Math.imul(ah8,bh7)|0,lo=lo+Math.imul(al7,bl8)|0,mid=(mid=mid+Math.imul(al7,bh8)|0)+Math.imul(ah7,bl8)|0,hi=hi+Math.imul(ah7,bh8)|0;var w15=(c+(lo=lo+Math.imul(al6,bl9)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al6,bh9)|0)+Math.imul(ah6,bl9)|0))<<13)|0;c=((hi=hi+Math.imul(ah6,bh9)|0)+(mid>>>13)|0)+(w15>>>26)|0,w15&=67108863,lo=Math.imul(al9,bl7),mid=(mid=Math.imul(al9,bh7))+Math.imul(ah9,bl7)|0,hi=Math.imul(ah9,bh7),lo=lo+Math.imul(al8,bl8)|0,mid=(mid=mid+Math.imul(al8,bh8)|0)+Math.imul(ah8,bl8)|0,hi=hi+Math.imul(ah8,bh8)|0;var w16=(c+(lo=lo+Math.imul(al7,bl9)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al7,bh9)|0)+Math.imul(ah7,bl9)|0))<<13)|0;c=((hi=hi+Math.imul(ah7,bh9)|0)+(mid>>>13)|0)+(w16>>>26)|0,w16&=67108863,lo=Math.imul(al9,bl8),mid=(mid=Math.imul(al9,bh8))+Math.imul(ah9,bl8)|0,hi=Math.imul(ah9,bh8);var w17=(c+(lo=lo+Math.imul(al8,bl9)|0)|0)+((8191&(mid=(mid=mid+Math.imul(al8,bh9)|0)+Math.imul(ah8,bl9)|0))<<13)|0;c=((hi=hi+Math.imul(ah8,bh9)|0)+(mid>>>13)|0)+(w17>>>26)|0,w17&=67108863;var w18=(c+(lo=Math.imul(al9,bl9))|0)+((8191&(mid=(mid=Math.imul(al9,bh9))+Math.imul(ah9,bl9)|0))<<13)|0;return c=((hi=Math.imul(ah9,bh9))+(mid>>>13)|0)+(w18>>>26)|0,w18&=67108863,o[0]=w0,o[1]=w1,o[2]=w2,o[3]=w3,o[4]=w4,o[5]=w5,o[6]=w6,o[7]=w7,o[8]=w8,o[9]=w9,o[10]=w10,o[11]=w11,o[12]=w12,o[13]=w13,o[14]=w14,o[15]=w15,o[16]=w16,o[17]=w17,o[18]=w18,0!==c&&(o[19]=c,out.length++),out};function bigMulTo(self,num,out){out.negative=num.negative^self.negative,out.length=self.length+num.length;for(var carry=0,hncarry=0,k=0;k<out.length-1;k++){var ncarry=hncarry;hncarry=0;for(var rword=67108863&carry,maxJ=Math.min(k,num.length-1),j=Math.max(0,k-self.length+1);j<=maxJ;j++){var i=k-j,r=(0|self.words[i])*(0|num.words[j]),lo=67108863&r;rword=67108863&(lo=lo+rword|0),hncarry+=(ncarry=(ncarry=ncarry+(r/67108864|0)|0)+(lo>>>26)|0)>>>26,ncarry&=67108863}out.words[k]=rword,carry=ncarry,ncarry=hncarry}return 0!==carry?out.words[k]=carry:out.length--,out._strip()}function jumboMulTo(self,num,out){return bigMulTo(self,num,out)}function FFTM(x,y){this.x=x,this.y=y}Math.imul||(comb10MulTo=smallMulTo),BN.prototype.mulTo=function mulTo(num,out){var len=this.length+num.length;return 10===this.length&&10===num.length?comb10MulTo(this,num,out):len<63?smallMulTo(this,num,out):len<1024?bigMulTo(this,num,out):jumboMulTo(this,num,out)},FFTM.prototype.makeRBT=function makeRBT(N){for(var t=new Array(N),l=BN.prototype._countBits(N)-1,i=0;i<N;i++)t[i]=this.revBin(i,l,N);return t},FFTM.prototype.revBin=function revBin(x,l,N){if(0===x||x===N-1)return x;for(var rb=0,i=0;i<l;i++)rb|=(1&x)<<l-i-1,x>>=1;return rb},FFTM.prototype.permute=function permute(rbt,rws,iws,rtws,itws,N){for(var i=0;i<N;i++)rtws[i]=rws[rbt[i]],itws[i]=iws[rbt[i]]},FFTM.prototype.transform=function transform(rws,iws,rtws,itws,N,rbt){this.permute(rbt,rws,iws,rtws,itws,N);for(var s=1;s<N;s<<=1)for(var l=s<<1,rtwdf=Math.cos(2*Math.PI/l),itwdf=Math.sin(2*Math.PI/l),p=0;p<N;p+=l)for(var rtwdf_=rtwdf,itwdf_=itwdf,j=0;j<s;j++){var re=rtws[p+j],ie=itws[p+j],ro=rtws[p+j+s],io=itws[p+j+s],rx=rtwdf_*ro-itwdf_*io;io=rtwdf_*io+itwdf_*ro,ro=rx,rtws[p+j]=re+ro,itws[p+j]=ie+io,rtws[p+j+s]=re-ro,itws[p+j+s]=ie-io,j!==l&&(rx=rtwdf*rtwdf_-itwdf*itwdf_,itwdf_=rtwdf*itwdf_+itwdf*rtwdf_,rtwdf_=rx)}},FFTM.prototype.guessLen13b=function guessLen13b(n,m){var N=1|Math.max(m,n),odd=1&N,i=0;for(N=N/2|0;N;N>>>=1)i++;return 1<<i+1+odd},FFTM.prototype.conjugate=function conjugate(rws,iws,N){if(!(N<=1))for(var i=0;i<N/2;i++){var t=rws[i];rws[i]=rws[N-i-1],rws[N-i-1]=t,t=iws[i],iws[i]=-iws[N-i-1],iws[N-i-1]=-t}},FFTM.prototype.normalize13b=function normalize13b(ws,N){for(var carry=0,i=0;i<N/2;i++){var w=8192*Math.round(ws[2*i+1]/N)+Math.round(ws[2*i]/N)+carry;ws[i]=67108863&w,carry=w<67108864?0:w/67108864|0}return ws},FFTM.prototype.convert13b=function convert13b(ws,len,rws,N){for(var carry=0,i=0;i<len;i++)carry+=0|ws[i],rws[2*i]=8191&carry,carry>>>=13,rws[2*i+1]=8191&carry,carry>>>=13;for(i=2*len;i<N;++i)rws[i]=0;assert(0===carry),assert(0==(-8192&carry))},FFTM.prototype.stub=function stub(N){for(var ph=new Array(N),i=0;i<N;i++)ph[i]=0;return ph},FFTM.prototype.mulp=function mulp(x,y,out){var N=2*this.guessLen13b(x.length,y.length),rbt=this.makeRBT(N),_=this.stub(N),rws=new Array(N),rwst=new Array(N),iwst=new Array(N),nrws=new Array(N),nrwst=new Array(N),niwst=new Array(N),rmws=out.words;rmws.length=N,this.convert13b(x.words,x.length,rws,N),this.convert13b(y.words,y.length,nrws,N),this.transform(rws,_,rwst,iwst,N,rbt),this.transform(nrws,_,nrwst,niwst,N,rbt);for(var i=0;i<N;i++){var rx=rwst[i]*nrwst[i]-iwst[i]*niwst[i];iwst[i]=rwst[i]*niwst[i]+iwst[i]*nrwst[i],rwst[i]=rx}return this.conjugate(rwst,iwst,N),this.transform(rwst,iwst,rmws,_,N,rbt),this.conjugate(rmws,_,N),this.normalize13b(rmws,N),out.negative=x.negative^y.negative,out.length=x.length+y.length,out._strip()},BN.prototype.mul=function mul(num){var out=new BN(null);return out.words=new Array(this.length+num.length),this.mulTo(num,out)},BN.prototype.mulf=function mulf(num){var out=new BN(null);return out.words=new Array(this.length+num.length),jumboMulTo(this,num,out)},BN.prototype.imul=function imul(num){return this.clone().mulTo(num,this)},BN.prototype.imuln=function imuln(num){var isNegNum=num<0;isNegNum&&(num=-num),assert("number"==typeof num),assert(num<67108864);for(var carry=0,i=0;i<this.length;i++){var w=(0|this.words[i])*num,lo=(67108863&w)+(67108863&carry);carry>>=26,carry+=w/67108864|0,carry+=lo>>>26,this.words[i]=67108863&lo}return 0!==carry&&(this.words[i]=carry,this.length++),isNegNum?this.ineg():this},BN.prototype.muln=function muln(num){return this.clone().imuln(num)},BN.prototype.sqr=function sqr(){return this.mul(this)},BN.prototype.isqr=function isqr(){return this.imul(this.clone())},BN.prototype.pow=function pow(num){var w=function toBitArray(num){for(var w=new Array(num.bitLength()),bit=0;bit<w.length;bit++){var off=bit/26|0,wbit=bit%26;w[bit]=num.words[off]>>>wbit&1}return w}(num);if(0===w.length)return new BN(1);for(var res=this,i=0;i<w.length&&0===w[i];i++,res=res.sqr());if(++i<w.length)for(var q=res.sqr();i<w.length;i++,q=q.sqr())0!==w[i]&&(res=res.mul(q));return res},BN.prototype.iushln=function iushln(bits){assert("number"==typeof bits&&bits>=0);var i,r=bits%26,s=(bits-r)/26,carryMask=67108863>>>26-r<<26-r;if(0!==r){var carry=0;for(i=0;i<this.length;i++){var newCarry=this.words[i]&carryMask,c=(0|this.words[i])-newCarry<<r;this.words[i]=c|carry,carry=newCarry>>>26-r}carry&&(this.words[i]=carry,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i<s;i++)this.words[i]=0;this.length+=s}return this._strip()},BN.prototype.ishln=function ishln(bits){return assert(0===this.negative),this.iushln(bits)},BN.prototype.iushrn=function iushrn(bits,hint,extended){var h;assert("number"==typeof bits&&bits>=0),h=hint?(hint-hint%26)/26:0;var r=bits%26,s=Math.min((bits-r)/26,this.length),mask=67108863^67108863>>>r<<r,maskedWords=extended;if(h-=s,h=Math.max(0,h),maskedWords){for(var i=0;i<s;i++)maskedWords.words[i]=this.words[i];maskedWords.length=s}if(0===s);else if(this.length>s)for(this.length-=s,i=0;i<this.length;i++)this.words[i]=this.words[i+s];else this.words[0]=0,this.length=1;var carry=0;for(i=this.length-1;i>=0&&(0!==carry||i>=h);i--){var word=0|this.words[i];this.words[i]=carry<<26-r|word>>>r,carry=word&mask}return maskedWords&&0!==carry&&(maskedWords.words[maskedWords.length++]=carry),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},BN.prototype.ishrn=function ishrn(bits,hint,extended){return assert(0===this.negative),this.iushrn(bits,hint,extended)},BN.prototype.shln=function shln(bits){return this.clone().ishln(bits)},BN.prototype.ushln=function ushln(bits){return this.clone().iushln(bits)},BN.prototype.shrn=function shrn(bits){return this.clone().ishrn(bits)},BN.prototype.ushrn=function ushrn(bits){return this.clone().iushrn(bits)},BN.prototype.testn=function testn(bit){assert("number"==typeof bit&&bit>=0);var r=bit%26,s=(bit-r)/26,q=1<<r;return!(this.length<=s)&&!!(this.words[s]&q)},BN.prototype.imaskn=function imaskn(bits){assert("number"==typeof bits&&bits>=0);var r=bits%26,s=(bits-r)/26;if(assert(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==r&&s++,this.length=Math.min(s,this.length),0!==r){var mask=67108863^67108863>>>r<<r;this.words[this.length-1]&=mask}return this._strip()},BN.prototype.maskn=function maskn(bits){return this.clone().imaskn(bits)},BN.prototype.iaddn=function iaddn(num){return assert("number"==typeof num),assert(num<67108864),num<0?this.isubn(-num):0!==this.negative?1===this.length&&(0|this.words[0])<=num?(this.words[0]=num-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(num),this.negative=1,this):this._iaddn(num)},BN.prototype._iaddn=function _iaddn(num){this.words[0]+=num;for(var i=0;i<this.length&&this.words[i]>=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},BN.prototype.isubn=function isubn(num){if(assert("number"==typeof num),assert(num<67108864),num<0)return this.iaddn(-num);if(0!==this.negative)return this.negative=0,this.iaddn(num),this.negative=1,this;if(this.words[0]-=num,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i<this.length&&this.words[i]<0;i++)this.words[i]+=67108864,this.words[i+1]-=1;return this._strip()},BN.prototype.addn=function addn(num){return this.clone().iaddn(num)},BN.prototype.subn=function subn(num){return this.clone().isubn(num)},BN.prototype.iabs=function iabs(){return this.negative=0,this},BN.prototype.abs=function abs(){return this.clone().iabs()},BN.prototype._ishlnsubmul=function _ishlnsubmul(num,mul,shift){var i,w,len=num.length+shift;this._expand(len);var carry=0;for(i=0;i<num.length;i++){w=(0|this.words[i+shift])+carry;var right=(0|num.words[i])*mul;carry=((w-=67108863&right)>>26)-(right/67108864|0),this.words[i+shift]=67108863&w}for(;i<this.length-shift;i++)carry=(w=(0|this.words[i+shift])+carry)>>26,this.words[i+shift]=67108863&w;if(0===carry)return this._strip();for(assert(-1===carry),carry=0,i=0;i<this.length;i++)carry=(w=-(0|this.words[i])+carry)>>26,this.words[i]=67108863&w;return this.negative=1,this._strip()},BN.prototype._wordDiv=function _wordDiv(num,mode){var shift=(this.length,num.length),a=this.clone(),b=num,bhi=0|b.words[b.length-1];0!==(shift=26-this._countBits(bhi))&&(b=b.ushln(shift),a.iushln(shift),bhi=0|b.words[b.length-1]);var q,m=a.length-b.length;if("mod"!==mode){(q=new BN(null)).length=m+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var diff=a.clone()._ishlnsubmul(b,1,m);0===diff.negative&&(a=diff,q&&(q.words[m]=1));for(var j=m-1;j>=0;j--){var qj=67108864*(0|a.words[b.length+j])+(0|a.words[b.length+j-1]);for(qj=Math.min(qj/bhi|0,67108863),a._ishlnsubmul(b,qj,j);0!==a.negative;)qj--,a.negative=0,a._ishlnsubmul(b,1,j),a.isZero()||(a.negative^=1);q&&(q.words[j]=qj)}return q&&q._strip(),a._strip(),"div"!==mode&&0!==shift&&a.iushrn(shift),{div:q||null,mod:a}},BN.prototype.divmod=function divmod(num,mode,positive){return assert(!num.isZero()),this.isZero()?{div:new BN(0),mod:new BN(0)}:0!==this.negative&&0===num.negative?(res=this.neg().divmod(num,mode),"mod"!==mode&&(div=res.div.neg()),"div"!==mode&&(mod=res.mod.neg(),positive&&0!==mod.negative&&mod.iadd(num)),{div:div,mod:mod}):0===this.negative&&0!==num.negative?(res=this.divmod(num.neg(),mode),"mod"!==mode&&(div=res.div.neg()),{div:div,mod:res.mod}):0!=(this.negative&num.negative)?(res=this.neg().divmod(num.neg(),mode),"div"!==mode&&(mod=res.mod.neg(),positive&&0!==mod.negative&&mod.isub(num)),{div:res.div,mod:mod}):num.length>this.length||this.cmp(num)<0?{div:new BN(0),mod:this}:1===num.length?"div"===mode?{div:this.divn(num.words[0]),mod:null}:"mod"===mode?{div:null,mod:new BN(this.modrn(num.words[0]))}:{div:this.divn(num.words[0]),mod:new BN(this.modrn(num.words[0]))}:this._wordDiv(num,mode);var div,mod,res},BN.prototype.div=function div(num){return this.divmod(num,"div",!1).div},BN.prototype.mod=function mod(num){return this.divmod(num,"mod",!1).mod},BN.prototype.umod=function umod(num){return this.divmod(num,"mod",!0).mod},BN.prototype.divRound=function divRound(num){var dm=this.divmod(num);if(dm.mod.isZero())return dm.div;var mod=0!==dm.div.negative?dm.mod.isub(num):dm.mod,half=num.ushrn(1),r2=num.andln(1),cmp=mod.cmp(half);return cmp<0||1===r2&&0===cmp?dm.div:0!==dm.div.negative?dm.div.isubn(1):dm.div.iaddn(1)},BN.prototype.modrn=function modrn(num){var isNegNum=num<0;isNegNum&&(num=-num),assert(num<=67108863);for(var p=(1<<26)%num,acc=0,i=this.length-1;i>=0;i--)acc=(p*acc+(0|this.words[i]))%num;return isNegNum?-acc:acc},BN.prototype.modn=function modn(num){return this.modrn(num)},BN.prototype.idivn=function idivn(num){var isNegNum=num<0;isNegNum&&(num=-num),assert(num<=67108863);for(var carry=0,i=this.length-1;i>=0;i--){var w=(0|this.words[i])+67108864*carry;this.words[i]=w/num|0,carry=w%num}return this._strip(),isNegNum?this.ineg():this},BN.prototype.divn=function divn(num){return this.clone().idivn(num)},BN.prototype.egcd=function egcd(p){assert(0===p.negative),assert(!p.isZero());var x=this,y=p.clone();x=0!==x.negative?x.umod(p):x.clone();for(var A=new BN(1),B=new BN(0),C=new BN(0),D=new BN(1),g=0;x.isEven()&&y.isEven();)x.iushrn(1),y.iushrn(1),++g;for(var yp=y.clone(),xp=x.clone();!x.isZero();){for(var i=0,im=1;0==(x.words[0]&im)&&i<26;++i,im<<=1);if(i>0)for(x.iushrn(i);i-- >0;)(A.isOdd()||B.isOdd())&&(A.iadd(yp),B.isub(xp)),A.iushrn(1),B.iushrn(1);for(var j=0,jm=1;0==(y.words[0]&jm)&&j<26;++j,jm<<=1);if(j>0)for(y.iushrn(j);j-- >0;)(C.isOdd()||D.isOdd())&&(C.iadd(yp),D.isub(xp)),C.iushrn(1),D.iushrn(1);x.cmp(y)>=0?(x.isub(y),A.isub(C),B.isub(D)):(y.isub(x),C.isub(A),D.isub(B))}return{a:C,b:D,gcd:y.iushln(g)}},BN.prototype._invmp=function _invmp(p){assert(0===p.negative),assert(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var res,x1=new BN(1),x2=new BN(0),delta=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,im=1;0==(a.words[0]&im)&&i<26;++i,im<<=1);if(i>0)for(a.iushrn(i);i-- >0;)x1.isOdd()&&x1.iadd(delta),x1.iushrn(1);for(var j=0,jm=1;0==(b.words[0]&jm)&&j<26;++j,jm<<=1);if(j>0)for(b.iushrn(j);j-- >0;)x2.isOdd()&&x2.iadd(delta),x2.iushrn(1);a.cmp(b)>=0?(a.isub(b),x1.isub(x2)):(b.isub(a),x2.isub(x1))}return(res=0===a.cmpn(1)?x1:x2).cmpn(0)<0&&res.iadd(p),res},BN.prototype.gcd=function gcd(num){if(this.isZero())return num.abs();if(num.isZero())return this.abs();var a=this.clone(),b=num.clone();a.negative=0,b.negative=0;for(var shift=0;a.isEven()&&b.isEven();shift++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var t=a;a=b,b=t}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(shift)},BN.prototype.invm=function invm(num){return this.egcd(num).a.umod(num)},BN.prototype.isEven=function isEven(){return 0==(1&this.words[0])},BN.prototype.isOdd=function isOdd(){return 1==(1&this.words[0])},BN.prototype.andln=function andln(num){return this.words[0]&num},BN.prototype.bincn=function bincn(bit){assert("number"==typeof bit);var r=bit%26,s=(bit-r)/26,q=1<<r;if(this.length<=s)return this._expand(s+1),this.words[s]|=q,this;for(var carry=q,i=s;0!==carry&&i<this.length;i++){var w=0|this.words[i];carry=(w+=carry)>>>26,w&=67108863,this.words[i]=w}return 0!==carry&&(this.words[i]=carry,this.length++),this},BN.prototype.isZero=function isZero(){return 1===this.length&&0===this.words[0]},BN.prototype.cmpn=function cmpn(num){var res,negative=num<0;if(0!==this.negative&&!negative)return-1;if(0===this.negative&&negative)return 1;if(this._strip(),this.length>1)res=1;else{negative&&(num=-num),assert(num<=67108863,"Number is too big");var w=0|this.words[0];res=w===num?0:w<num?-1:1}return 0!==this.negative?0|-res:res},BN.prototype.cmp=function cmp(num){if(0!==this.negative&&0===num.negative)return-1;if(0===this.negative&&0!==num.negative)return 1;var res=this.ucmp(num);return 0!==this.negative?0|-res:res},BN.prototype.ucmp=function ucmp(num){if(this.length>num.length)return 1;if(this.length<num.length)return-1;for(var res=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|num.words[i];if(a!==b){a<b?res=-1:a>b&&(res=1);break}}return res},BN.prototype.gtn=function gtn(num){return 1===this.cmpn(num)},BN.prototype.gt=function gt(num){return 1===this.cmp(num)},BN.prototype.gten=function gten(num){return this.cmpn(num)>=0},BN.prototype.gte=function gte(num){return this.cmp(num)>=0},BN.prototype.ltn=function ltn(num){return-1===this.cmpn(num)},BN.prototype.lt=function lt(num){return-1===this.cmp(num)},BN.prototype.lten=function lten(num){return this.cmpn(num)<=0},BN.prototype.lte=function lte(num){return this.cmp(num)<=0},BN.prototype.eqn=function eqn(num){return 0===this.cmpn(num)},BN.prototype.eq=function eq(num){return 0===this.cmp(num)},BN.red=function red(num){return new Red(num)},BN.prototype.toRed=function toRed(ctx){return assert(!this.red,"Already a number in reduction context"),assert(0===this.negative,"red works only with positives"),ctx.convertTo(this)._forceRed(ctx)},BN.prototype.fromRed=function fromRed(){return assert(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},BN.prototype._forceRed=function _forceRed(ctx){return this.red=ctx,this},BN.prototype.forceRed=function forceRed(ctx){return assert(!this.red,"Already a number in reduction context"),this._forceRed(ctx)},BN.prototype.redAdd=function redAdd(num){return assert(this.red,"redAdd works only with red numbers"),this.red.add(this,num)},BN.prototype.redIAdd=function redIAdd(num){return assert(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,num)},BN.prototype.redSub=function redSub(num){return assert(this.red,"redSub works only with red numbers"),this.red.sub(this,num)},BN.prototype.redISub=function redISub(num){return assert(this.red,"redISub works only with red numbers"),this.red.isub(this,num)},BN.prototype.redShl=function redShl(num){return assert(this.red,"redShl works only with red numbers"),this.red.shl(this,num)},BN.prototype.redMul=function redMul(num){return assert(this.red,"redMul works only with red numbers"),this.red._verify2(this,num),this.red.mul(this,num)},BN.prototype.redIMul=function redIMul(num){return assert(this.red,"redMul works only with red numbers"),this.red._verify2(this,num),this.red.imul(this,num)},BN.prototype.redSqr=function redSqr(){return assert(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},BN.prototype.redISqr=function redISqr(){return assert(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},BN.prototype.redSqrt=function redSqrt(){return assert(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},BN.prototype.redInvm=function redInvm(){return assert(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},BN.prototype.redNeg=function redNeg(){return assert(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},BN.prototype.redPow=function redPow(num){return assert(this.red&&!num.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,num)};var primes={k256:null,p224:null,p192:null,p25519:null};function MPrime(name,p){this.name=name,this.p=new BN(p,16),this.n=this.p.bitLength(),this.k=new BN(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function K256(){MPrime.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function P224(){MPrime.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function P192(){MPrime.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function P25519(){MPrime.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Red(m){if("string"==typeof m){var prime=BN._prime(m);this.m=prime.p,this.prime=prime}else assert(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function Mont(m){Red.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new BN(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}MPrime.prototype._tmp=function _tmp(){var tmp=new BN(null);return tmp.words=new Array(Math.ceil(this.n/13)),tmp},MPrime.prototype.ireduce=function ireduce(num){var rlen,r=num;do{this.split(r,this.tmp),rlen=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(rlen>this.n);var cmp=rlen<this.n?-1:r.ucmp(this.p);return 0===cmp?(r.words[0]=0,r.length=1):cmp>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},MPrime.prototype.split=function split(input,out){input.iushrn(this.n,0,out)},MPrime.prototype.imulK=function imulK(num){return num.imul(this.k)},inherits(K256,MPrime),K256.prototype.split=function split(input,output){for(var outLen=Math.min(input.length,9),i=0;i<outLen;i++)output.words[i]=input.words[i];if(output.length=outLen,input.length<=9)return input.words[0]=0,void(input.length=1);var prev=input.words[9];for(output.words[output.length++]=4194303&prev,i=10;i<input.length;i++){var next=0|input.words[i];input.words[i-10]=(4194303&next)<<4|prev>>>22,prev=next}prev>>>=22,input.words[i-10]=prev,0===prev&&input.length>10?input.length-=10:input.length-=9},K256.prototype.imulK=function imulK(num){num.words[num.length]=0,num.words[num.length+1]=0,num.length+=2;for(var lo=0,i=0;i<num.length;i++){var w=0|num.words[i];lo+=977*w,num.words[i]=67108863&lo,lo=64*w+(lo/67108864|0)}return 0===num.words[num.length-1]&&(num.length--,0===num.words[num.length-1]&&num.length--),num},inherits(P224,MPrime),inherits(P192,MPrime),inherits(P25519,MPrime),P25519.prototype.imulK=function imulK(num){for(var carry=0,i=0;i<num.length;i++){var hi=19*(0|num.words[i])+carry,lo=67108863&hi;hi>>>=26,num.words[i]=lo,carry=hi}return 0!==carry&&(num.words[num.length++]=carry),num},BN._prime=function prime(name){if(primes[name])return primes[name];var prime;if("k256"===name)prime=new K256;else if("p224"===name)prime=new P224;else if("p192"===name)prime=new P192;else{if("p25519"!==name)throw new Error("Unknown prime "+name);prime=new P25519}return primes[name]=prime,prime},Red.prototype._verify1=function _verify1(a){assert(0===a.negative,"red works only with positives"),assert(a.red,"red works only with red numbers")},Red.prototype._verify2=function _verify2(a,b){assert(0==(a.negative|b.negative),"red works only with positives"),assert(a.red&&a.red===b.red,"red works only with red numbers")},Red.prototype.imod=function imod(a){return this.prime?this.prime.ireduce(a)._forceRed(this):(move(a,a.umod(this.m)._forceRed(this)),a)},Red.prototype.neg=function neg(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},Red.prototype.add=function add(a,b){this._verify2(a,b);var res=a.add(b);return res.cmp(this.m)>=0&&res.isub(this.m),res._forceRed(this)},Red.prototype.iadd=function iadd(a,b){this._verify2(a,b);var res=a.iadd(b);return res.cmp(this.m)>=0&&res.isub(this.m),res},Red.prototype.sub=function sub(a,b){this._verify2(a,b);var res=a.sub(b);return res.cmpn(0)<0&&res.iadd(this.m),res._forceRed(this)},Red.prototype.isub=function isub(a,b){this._verify2(a,b);var res=a.isub(b);return res.cmpn(0)<0&&res.iadd(this.m),res},Red.prototype.shl=function shl(a,num){return this._verify1(a),this.imod(a.ushln(num))},Red.prototype.imul=function imul(a,b){return this._verify2(a,b),this.imod(a.imul(b))},Red.prototype.mul=function mul(a,b){return this._verify2(a,b),this.imod(a.mul(b))},Red.prototype.isqr=function isqr(a){return this.imul(a,a.clone())},Red.prototype.sqr=function sqr(a){return this.mul(a,a)},Red.prototype.sqrt=function sqrt(a){if(a.isZero())return a.clone();var mod3=this.m.andln(3);if(assert(mod3%2==1),3===mod3){var pow=this.m.add(new BN(1)).iushrn(2);return this.pow(a,pow)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);assert(!q.isZero());var one=new BN(1).toRed(this),nOne=one.redNeg(),lpow=this.m.subn(1).iushrn(1),z=this.m.bitLength();for(z=new BN(2*z*z).toRed(this);0!==this.pow(z,lpow).cmp(nOne);)z.redIAdd(nOne);for(var c=this.pow(z,q),r=this.pow(a,q.addn(1).iushrn(1)),t=this.pow(a,q),m=s;0!==t.cmp(one);){for(var tmp=t,i=0;0!==tmp.cmp(one);i++)tmp=tmp.redSqr();assert(i<m);var b=this.pow(c,new BN(1).iushln(m-i-1));r=r.redMul(b),c=b.redSqr(),t=t.redMul(c),m=i}return r},Red.prototype.invm=function invm(a){var inv=a._invmp(this.m);return 0!==inv.negative?(inv.negative=0,this.imod(inv).redNeg()):this.imod(inv)},Red.prototype.pow=function pow(a,num){if(num.isZero())return new BN(1).toRed(this);if(0===num.cmpn(1))return a.clone();var wnd=new Array(16);wnd[0]=new BN(1).toRed(this),wnd[1]=a;for(var i=2;i<wnd.length;i++)wnd[i]=this.mul(wnd[i-1],a);var res=wnd[0],current=0,currentLen=0,start=num.bitLength()%26;for(0===start&&(start=26),i=num.length-1;i>=0;i--){for(var word=num.words[i],j=start-1;j>=0;j--){var bit=word>>j&1;res!==wnd[0]&&(res=this.sqr(res)),0!==bit||0!==current?(current<<=1,current|=bit,(4===++currentLen||0===i&&0===j)&&(res=this.mul(res,wnd[current]),currentLen=0,current=0)):currentLen=0}start=26}return res},Red.prototype.convertTo=function convertTo(num){var r=num.umod(this.m);return r===num?r.clone():r},Red.prototype.convertFrom=function convertFrom(num){var res=num.clone();return res.red=null,res},BN.mont=function mont(num){return new Mont(num)},inherits(Mont,Red),Mont.prototype.convertTo=function convertTo(num){return this.imod(num.ushln(this.shift))},Mont.prototype.convertFrom=function convertFrom(num){var r=this.imod(num.mul(this.rinv));return r.red=null,r},Mont.prototype.imul=function imul(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),c=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(c).iushrn(this.shift),res=u;return u.cmp(this.m)>=0?res=u.isub(this.m):u.cmpn(0)<0&&(res=u.iadd(this.m)),res._forceRed(this)},Mont.prototype.mul=function mul(a,b){if(a.isZero()||b.isZero())return new BN(0)._forceRed(this);var t=a.mul(b),c=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(c).iushrn(this.shift),res=u;return u.cmp(this.m)>=0?res=u.isub(this.m):u.cmpn(0)<0&&(res=u.iadd(this.m)),res._forceRed(this)},Mont.prototype.invm=function invm(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(module=__webpack_require__.nmd(module),this)},29931:function(module,__unused_webpack_exports,__webpack_require__){var r;function Rand(rand){this.rand=rand}if(module.exports=function rand(len){return r||(r=new Rand(null)),r.generate(len)},module.exports.Rand=Rand,Rand.prototype.generate=function generate(len){return this._rand(len)},Rand.prototype._rand=function _rand(n){if(this.rand.getBytes)return this.rand.getBytes(n);for(var res=new Uint8Array(n),i=0;i<res.length;i++)res[i]=this.rand.getByte();return res},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?Rand.prototype._rand=function _rand(n){var arr=new Uint8Array(n);return self.crypto.getRandomValues(arr),arr}:self.msCrypto&&self.msCrypto.getRandomValues?Rand.prototype._rand=function _rand(n){var arr=new Uint8Array(n);return self.msCrypto.getRandomValues(arr),arr}:"object"==typeof window&&(Rand.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var crypto=__webpack_require__(89214);if("function"!=typeof crypto.randomBytes)throw new Error("Not supported");Rand.prototype._rand=function _rand(n){return crypto.randomBytes(n)}}catch(e){}},46838:function(module,__unused_webpack_exports,__webpack_require__){var process=__webpack_require__(34155);module.exports=process.hrtime||function hrtime(previousTimestamp){var clocktime=.001*performanceNow.call(performance),seconds=Math.floor(clocktime),nanoseconds=Math.floor(clocktime%1*1e9);previousTimestamp&&(seconds-=previousTimestamp[0],(nanoseconds-=previousTimestamp[1])<0&&(seconds--,nanoseconds+=1e9));return[seconds,nanoseconds]};var performance=__webpack_require__.g.performance||{},performanceNow=performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow||function(){return(new Date).getTime()}},74497:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(89509).Buffer;function asUInt32Array(buf){Buffer.isBuffer(buf)||(buf=Buffer.from(buf));for(var len=buf.length/4|0,out=new Array(len),i=0;i<len;i++)out[i]=buf.readUInt32BE(4*i);return out}function scrubVec(v){for(;0<v.length;v++)v[0]=0}function cryptBlock(M,keySchedule,SUB_MIX,SBOX,nRounds){for(var t0,t1,t2,t3,SUB_MIX0=SUB_MIX[0],SUB_MIX1=SUB_MIX[1],SUB_MIX2=SUB_MIX[2],SUB_MIX3=SUB_MIX[3],s0=M[0]^keySchedule[0],s1=M[1]^keySchedule[1],s2=M[2]^keySchedule[2],s3=M[3]^keySchedule[3],ksRow=4,round=1;round<nRounds;round++)t0=SUB_MIX0[s0>>>24]^SUB_MIX1[s1>>>16&255]^SUB_MIX2[s2>>>8&255]^SUB_MIX3[255&s3]^keySchedule[ksRow++],t1=SUB_MIX0[s1>>>24]^SUB_MIX1[s2>>>16&255]^SUB_MIX2[s3>>>8&255]^SUB_MIX3[255&s0]^keySchedule[ksRow++],t2=SUB_MIX0[s2>>>24]^SUB_MIX1[s3>>>16&255]^SUB_MIX2[s0>>>8&255]^SUB_MIX3[255&s1]^keySchedule[ksRow++],t3=SUB_MIX0[s3>>>24]^SUB_MIX1[s0>>>16&255]^SUB_MIX2[s1>>>8&255]^SUB_MIX3[255&s2]^keySchedule[ksRow++],s0=t0,s1=t1,s2=t2,s3=t3;return t0=(SBOX[s0>>>24]<<24|SBOX[s1>>>16&255]<<16|SBOX[s2>>>8&255]<<8|SBOX[255&s3])^keySchedule[ksRow++],t1=(SBOX[s1>>>24]<<24|SBOX[s2>>>16&255]<<16|SBOX[s3>>>8&255]<<8|SBOX[255&s0])^keySchedule[ksRow++],t2=(SBOX[s2>>>24]<<24|SBOX[s3>>>16&255]<<16|SBOX[s0>>>8&255]<<8|SBOX[255&s1])^keySchedule[ksRow++],t3=(SBOX[s3>>>24]<<24|SBOX[s0>>>16&255]<<16|SBOX[s1>>>8&255]<<8|SBOX[255&s2])^keySchedule[ksRow++],[t0>>>=0,t1>>>=0,t2>>>=0,t3>>>=0]}var RCON=[0,1,2,4,8,16,32,64,128,27,54],G=function(){for(var d=new Array(256),j=0;j<256;j++)d[j]=j<128?j<<1:j<<1^283;for(var SBOX=[],INV_SBOX=[],SUB_MIX=[[],[],[],[]],INV_SUB_MIX=[[],[],[],[]],x=0,xi=0,i=0;i<256;++i){var sx=xi^xi<<1^xi<<2^xi<<3^xi<<4;sx=sx>>>8^255&sx^99,SBOX[x]=sx,INV_SBOX[sx]=x;var x2=d[x],x4=d[x2],x8=d[x4],t=257*d[sx]^16843008*sx;SUB_MIX[0][x]=t<<24|t>>>8,SUB_MIX[1][x]=t<<16|t>>>16,SUB_MIX[2][x]=t<<8|t>>>24,SUB_MIX[3][x]=t,t=16843009*x8^65537*x4^257*x2^16843008*x,INV_SUB_MIX[0][sx]=t<<24|t>>>8,INV_SUB_MIX[1][sx]=t<<16|t>>>16,INV_SUB_MIX[2][sx]=t<<8|t>>>24,INV_SUB_MIX[3][sx]=t,0===x?x=xi=1:(x=x2^d[d[d[x8^x2]]],xi^=d[d[xi]])}return{SBOX:SBOX,INV_SBOX:INV_SBOX,SUB_MIX:SUB_MIX,INV_SUB_MIX:INV_SUB_MIX}}();function AES(key){this._key=asUInt32Array(key),this._reset()}AES.blockSize=16,AES.keySize=32,AES.prototype.blockSize=AES.blockSize,AES.prototype.keySize=AES.keySize,AES.prototype._reset=function(){for(var keyWords=this._key,keySize=keyWords.length,nRounds=keySize+6,ksRows=4*(nRounds+1),keySchedule=[],k=0;k<keySize;k++)keySchedule[k]=keyWords[k];for(k=keySize;k<ksRows;k++){var t=keySchedule[k-1];k%keySize==0?(t=t<<8|t>>>24,t=G.SBOX[t>>>24]<<24|G.SBOX[t>>>16&255]<<16|G.SBOX[t>>>8&255]<<8|G.SBOX[255&t],t^=RCON[k/keySize|0]<<24):keySize>6&&k%keySize==4&&(t=G.SBOX[t>>>24]<<24|G.SBOX[t>>>16&255]<<16|G.SBOX[t>>>8&255]<<8|G.SBOX[255&t]),keySchedule[k]=keySchedule[k-keySize]^t}for(var invKeySchedule=[],ik=0;ik<ksRows;ik++){var ksR=ksRows-ik,tt=keySchedule[ksR-(ik%4?0:4)];invKeySchedule[ik]=ik<4||ksR<=4?tt:G.INV_SUB_MIX[0][G.SBOX[tt>>>24]]^G.INV_SUB_MIX[1][G.SBOX[tt>>>16&255]]^G.INV_SUB_MIX[2][G.SBOX[tt>>>8&255]]^G.INV_SUB_MIX[3][G.SBOX[255&tt]]}this._nRounds=nRounds,this._keySchedule=keySchedule,this._invKeySchedule=invKeySchedule},AES.prototype.encryptBlockRaw=function(M){return cryptBlock(M=asUInt32Array(M),this._keySchedule,G.SUB_MIX,G.SBOX,this._nRounds)},AES.prototype.encryptBlock=function(M){var out=this.encryptBlockRaw(M),buf=Buffer.allocUnsafe(16);return buf.writeUInt32BE(out[0],0),buf.writeUInt32BE(out[1],4),buf.writeUInt32BE(out[2],8),buf.writeUInt32BE(out[3],12),buf},AES.prototype.decryptBlock=function(M){var m1=(M=asUInt32Array(M))[1];M[1]=M[3],M[3]=m1;var out=cryptBlock(M,this._invKeySchedule,G.INV_SUB_MIX,G.INV_SBOX,this._nRounds),buf=Buffer.allocUnsafe(16);return buf.writeUInt32BE(out[0],0),buf.writeUInt32BE(out[3],4),buf.writeUInt32BE(out[2],8),buf.writeUInt32BE(out[1],12),buf},AES.prototype.scrub=function(){scrubVec(this._keySchedule),scrubVec(this._invKeySchedule),scrubVec(this._key)},module.exports.AES=AES},62422:function(module,__unused_webpack_exports,__webpack_require__){var aes=__webpack_require__(74497),Buffer=__webpack_require__(89509).Buffer,Transform=__webpack_require__(71027),inherits=__webpack_require__(35717),GHASH=__webpack_require__(83288),xor=__webpack_require__(67295),incr32=__webpack_require__(20685);function StreamCipher(mode,key,iv,decrypt){Transform.call(this);var h=Buffer.alloc(4,0);this._cipher=new aes.AES(key);var ck=this._cipher.encryptBlock(h);this._ghash=new GHASH(ck),iv=function calcIv(self,iv,ck){if(12===iv.length)return self._finID=Buffer.concat([iv,Buffer.from([0,0,0,1])]),Buffer.concat([iv,Buffer.from([0,0,0,2])]);var ghash=new GHASH(ck),len=iv.length,toPad=len%16;ghash.update(iv),toPad&&(toPad=16-toPad,ghash.update(Buffer.alloc(toPad,0))),ghash.update(Buffer.alloc(8,0));var ivBits=8*len,tail=Buffer.alloc(8);tail.writeUIntBE(ivBits,0,8),ghash.update(tail),self._finID=ghash.state;var out=Buffer.from(self._finID);return incr32(out),out}(this,iv,ck),this._prev=Buffer.from(iv),this._cache=Buffer.allocUnsafe(0),this._secCache=Buffer.allocUnsafe(0),this._decrypt=decrypt,this._alen=0,this._len=0,this._mode=mode,this._authTag=null,this._called=!1}inherits(StreamCipher,Transform),StreamCipher.prototype._update=function(chunk){if(!this._called&&this._alen){var rump=16-this._alen%16;rump<16&&(rump=Buffer.alloc(rump,0),this._ghash.update(rump))}this._called=!0;var out=this._mode.encrypt(this,chunk);return this._decrypt?this._ghash.update(chunk):this._ghash.update(out),this._len+=chunk.length,out},StreamCipher.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var tag=xor(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function xorTest(a,b){var out=0;a.length!==b.length&&out++;for(var len=Math.min(a.length,b.length),i=0;i<len;++i)out+=a[i]^b[i];return out}(tag,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=tag,this._cipher.scrub()},StreamCipher.prototype.getAuthTag=function getAuthTag(){if(this._decrypt||!Buffer.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},StreamCipher.prototype.setAuthTag=function setAuthTag(tag){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=tag},StreamCipher.prototype.setAAD=function setAAD(buf){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(buf),this._alen+=buf.length},module.exports=StreamCipher},44696:function(__unused_webpack_module,exports,__webpack_require__){var ciphers=__webpack_require__(71494),deciphers=__webpack_require__(66193),modes=__webpack_require__(44946);exports.createCipher=exports.Cipher=ciphers.createCipher,exports.createCipheriv=exports.Cipheriv=ciphers.createCipheriv,exports.createDecipher=exports.Decipher=deciphers.createDecipher,exports.createDecipheriv=exports.Decipheriv=deciphers.createDecipheriv,exports.listCiphers=exports.getCiphers=function getCiphers(){return Object.keys(modes)}},66193:function(__unused_webpack_module,exports,__webpack_require__){var AuthCipher=__webpack_require__(62422),Buffer=__webpack_require__(89509).Buffer,MODES=__webpack_require__(45),StreamCipher=__webpack_require__(25969),Transform=__webpack_require__(71027),aes=__webpack_require__(74497),ebtk=__webpack_require__(13048);function Decipher(mode,key,iv){Transform.call(this),this._cache=new Splitter,this._last=void 0,this._cipher=new aes.AES(key),this._prev=Buffer.from(iv),this._mode=mode,this._autopadding=!0}function Splitter(){this.cache=Buffer.allocUnsafe(0)}function createDecipheriv(suite,password,iv){var config=MODES[suite.toLowerCase()];if(!config)throw new TypeError("invalid suite type");if("string"==typeof iv&&(iv=Buffer.from(iv)),"GCM"!==config.mode&&iv.length!==config.iv)throw new TypeError("invalid iv length "+iv.length);if("string"==typeof password&&(password=Buffer.from(password)),password.length!==config.key/8)throw new TypeError("invalid key length "+password.length);return"stream"===config.type?new StreamCipher(config.module,password,iv,!0):"auth"===config.type?new AuthCipher(config.module,password,iv,!0):new Decipher(config.module,password,iv)}__webpack_require__(35717)(Decipher,Transform),Decipher.prototype._update=function(data){var chunk,thing;this._cache.add(data);for(var out=[];chunk=this._cache.get(this._autopadding);)thing=this._mode.decrypt(this,chunk),out.push(thing);return Buffer.concat(out)},Decipher.prototype._final=function(){var chunk=this._cache.flush();if(this._autopadding)return function unpad(last){var padded=last[15];if(padded<1||padded>16)throw new Error("unable to decrypt data");var i=-1;for(;++i<padded;)if(last[i+(16-padded)]!==padded)throw new Error("unable to decrypt data");if(16===padded)return;return last.slice(0,16-padded)}(this._mode.decrypt(this,chunk));if(chunk)throw new Error("data not multiple of block length")},Decipher.prototype.setAutoPadding=function(setTo){return this._autopadding=!!setTo,this},Splitter.prototype.add=function(data){this.cache=Buffer.concat([this.cache,data])},Splitter.prototype.get=function(autoPadding){var out;if(autoPadding){if(this.cache.length>16)return out=this.cache.slice(0,16),this.cache=this.cache.slice(16),out}else if(this.cache.length>=16)return out=this.cache.slice(0,16),this.cache=this.cache.slice(16),out;return null},Splitter.prototype.flush=function(){if(this.cache.length)return this.cache},exports.createDecipher=function createDecipher(suite,password){var config=MODES[suite.toLowerCase()];if(!config)throw new TypeError("invalid suite type");var keys=ebtk(password,!1,config.key,config.iv);return createDecipheriv(suite,keys.key,keys.iv)},exports.createDecipheriv=createDecipheriv},71494:function(__unused_webpack_module,exports,__webpack_require__){var MODES=__webpack_require__(45),AuthCipher=__webpack_require__(62422),Buffer=__webpack_require__(89509).Buffer,StreamCipher=__webpack_require__(25969),Transform=__webpack_require__(71027),aes=__webpack_require__(74497),ebtk=__webpack_require__(13048);function Cipher(mode,key,iv){Transform.call(this),this._cache=new Splitter,this._cipher=new aes.AES(key),this._prev=Buffer.from(iv),this._mode=mode,this._autopadding=!0}__webpack_require__(35717)(Cipher,Transform),Cipher.prototype._update=function(data){var chunk,thing;this._cache.add(data);for(var out=[];chunk=this._cache.get();)thing=this._mode.encrypt(this,chunk),out.push(thing);return Buffer.concat(out)};var PADDING=Buffer.alloc(16,16);function Splitter(){this.cache=Buffer.allocUnsafe(0)}function createCipheriv(suite,password,iv){var config=MODES[suite.toLowerCase()];if(!config)throw new TypeError("invalid suite type");if("string"==typeof password&&(password=Buffer.from(password)),password.length!==config.key/8)throw new TypeError("invalid key length "+password.length);if("string"==typeof iv&&(iv=Buffer.from(iv)),"GCM"!==config.mode&&iv.length!==config.iv)throw new TypeError("invalid iv length "+iv.length);return"stream"===config.type?new StreamCipher(config.module,password,iv):"auth"===config.type?new AuthCipher(config.module,password,iv):new Cipher(config.module,password,iv)}Cipher.prototype._final=function(){var chunk=this._cache.flush();if(this._autopadding)return chunk=this._mode.encrypt(this,chunk),this._cipher.scrub(),chunk;if(!chunk.equals(PADDING))throw this._cipher.scrub(),new Error("data not multiple of block length")},Cipher.prototype.setAutoPadding=function(setTo){return this._autopadding=!!setTo,this},Splitter.prototype.add=function(data){this.cache=Buffer.concat([this.cache,data])},Splitter.prototype.get=function(){if(this.cache.length>15){var out=this.cache.slice(0,16);return this.cache=this.cache.slice(16),out}return null},Splitter.prototype.flush=function(){for(var len=16-this.cache.length,padBuff=Buffer.allocUnsafe(len),i=-1;++i<len;)padBuff.writeUInt8(len,i);return Buffer.concat([this.cache,padBuff])},exports.createCipheriv=createCipheriv,exports.createCipher=function createCipher(suite,password){var config=MODES[suite.toLowerCase()];if(!config)throw new TypeError("invalid suite type");var keys=ebtk(password,!1,config.key,config.iv);return createCipheriv(suite,keys.key,keys.iv)}},83288:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(89509).Buffer,ZEROES=Buffer.alloc(16,0);function fromArray(out){var buf=Buffer.allocUnsafe(16);return buf.writeUInt32BE(out[0]>>>0,0),buf.writeUInt32BE(out[1]>>>0,4),buf.writeUInt32BE(out[2]>>>0,8),buf.writeUInt32BE(out[3]>>>0,12),buf}function GHASH(key){this.h=key,this.state=Buffer.alloc(16,0),this.cache=Buffer.allocUnsafe(0)}GHASH.prototype.ghash=function(block){for(var i=-1;++i<block.length;)this.state[i]^=block[i];this._multiply()},GHASH.prototype._multiply=function(){for(var j,lsbVi,Vi=function toArray(buf){return[buf.readUInt32BE(0),buf.readUInt32BE(4),buf.readUInt32BE(8),buf.readUInt32BE(12)]}(this.h),Zi=[0,0,0,0],i=-1;++i<128;){for(0!=(this.state[~~(i/8)]&1<<7-i%8)&&(Zi[0]^=Vi[0],Zi[1]^=Vi[1],Zi[2]^=Vi[2],Zi[3]^=Vi[3]),lsbVi=0!=(1&Vi[3]),j=3;j>0;j--)Vi[j]=Vi[j]>>>1|(1&Vi[j-1])<<31;Vi[0]=Vi[0]>>>1,lsbVi&&(Vi[0]=Vi[0]^225<<24)}this.state=fromArray(Zi)},GHASH.prototype.update=function(buf){var chunk;for(this.cache=Buffer.concat([this.cache,buf]);this.cache.length>=16;)chunk=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(chunk)},GHASH.prototype.final=function(abl,bl){return this.cache.length&&this.ghash(Buffer.concat([this.cache,ZEROES],16)),this.ghash(fromArray([0,abl,0,bl])),this.state},module.exports=GHASH},20685:function(module){module.exports=function incr32(iv){for(var item,len=iv.length;len--;){if(255!==(item=iv.readUInt8(len))){item++,iv.writeUInt8(item,len);break}iv.writeUInt8(0,len)}}},25292:function(__unused_webpack_module,exports,__webpack_require__){var xor=__webpack_require__(67295);exports.encrypt=function(self,block){var data=xor(block,self._prev);return self._prev=self._cipher.encryptBlock(data),self._prev},exports.decrypt=function(self,block){var pad=self._prev;self._prev=block;var out=self._cipher.decryptBlock(block);return xor(out,pad)}},86311:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(89509).Buffer,xor=__webpack_require__(67295);function encryptStart(self,data,decrypt){var len=data.length,out=xor(data,self._cache);return self._cache=self._cache.slice(len),self._prev=Buffer.concat([self._prev,decrypt?data:out]),out}exports.encrypt=function(self,data,decrypt){for(var len,out=Buffer.allocUnsafe(0);data.length;){if(0===self._cache.length&&(self._cache=self._cipher.encryptBlock(self._prev),self._prev=Buffer.allocUnsafe(0)),!(self._cache.length<=data.length)){out=Buffer.concat([out,encryptStart(self,data,decrypt)]);break}len=self._cache.length,out=Buffer.concat([out,encryptStart(self,data.slice(0,len),decrypt)]),data=data.slice(len)}return out}},21510:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(89509).Buffer;function encryptByte(self,byteParam,decrypt){for(var bit,value,i=-1,out=0;++i<8;)bit=byteParam&1<<7-i?128:0,out+=(128&(value=self._cipher.encryptBlock(self._prev)[0]^bit))>>i%8,self._prev=shiftIn(self._prev,decrypt?bit:value);return out}function shiftIn(buffer,value){var len=buffer.length,i=-1,out=Buffer.allocUnsafe(buffer.length);for(buffer=Buffer.concat([buffer,Buffer.from([value])]);++i<len;)out[i]=buffer[i]<<1|buffer[i+1]>>7;return out}exports.encrypt=function(self,chunk,decrypt){for(var len=chunk.length,out=Buffer.allocUnsafe(len),i=-1;++i<len;)out[i]=encryptByte(self,chunk[i],decrypt);return out}},71964:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(89509).Buffer;function encryptByte(self,byteParam,decrypt){var out=self._cipher.encryptBlock(self._prev)[0]^byteParam;return self._prev=Buffer.concat([self._prev.slice(1),Buffer.from([decrypt?byteParam:out])]),out}exports.encrypt=function(self,chunk,decrypt){for(var len=chunk.length,out=Buffer.allocUnsafe(len),i=-1;++i<len;)out[i]=encryptByte(self,chunk[i],decrypt);return out}},96009:function(__unused_webpack_module,exports,__webpack_require__){var xor=__webpack_require__(67295),Buffer=__webpack_require__(89509).Buffer,incr32=__webpack_require__(20685);function getBlock(self){var out=self._cipher.encryptBlockRaw(self._prev);return incr32(self._prev),out}exports.encrypt=function(self,chunk){var chunkNum=Math.ceil(chunk.length/16),start=self._cache.length;self._cache=Buffer.concat([self._cache,Buffer.allocUnsafe(16*chunkNum)]);for(var i=0;i<chunkNum;i++){var out=getBlock(self),offset=start+16*i;self._cache.writeUInt32BE(out[0],offset+0),self._cache.writeUInt32BE(out[1],offset+4),self._cache.writeUInt32BE(out[2],offset+8),self._cache.writeUInt32BE(out[3],offset+12)}var pad=self._cache.slice(0,chunk.length);return self._cache=self._cache.slice(chunk.length),xor(chunk,pad)}},11084:function(__unused_webpack_module,exports){exports.encrypt=function(self,block){return self._cipher.encryptBlock(block)},exports.decrypt=function(self,block){return self._cipher.decryptBlock(block)}},45:function(module,__unused_webpack_exports,__webpack_require__){var modeModules={ECB:__webpack_require__(11084),CBC:__webpack_require__(25292),CFB:__webpack_require__(86311),CFB8:__webpack_require__(71964),CFB1:__webpack_require__(21510),OFB:__webpack_require__(18861),CTR:__webpack_require__(96009),GCM:__webpack_require__(96009)},modes=__webpack_require__(44946);for(var key in modes)modes[key].module=modeModules[modes[key].mode];module.exports=modes},18861:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer,xor=__webpack_require__(67295);function getBlock(self){return self._prev=self._cipher.encryptBlock(self._prev),self._prev}exports.encrypt=function(self,chunk){for(;self._cache.length<chunk.length;)self._cache=Buffer.concat([self._cache,getBlock(self)]);var pad=self._cache.slice(0,chunk.length);return self._cache=self._cache.slice(chunk.length),xor(chunk,pad)}},25969:function(module,__unused_webpack_exports,__webpack_require__){var aes=__webpack_require__(74497),Buffer=__webpack_require__(89509).Buffer,Transform=__webpack_require__(71027);function StreamCipher(mode,key,iv,decrypt){Transform.call(this),this._cipher=new aes.AES(key),this._prev=Buffer.from(iv),this._cache=Buffer.allocUnsafe(0),this._secCache=Buffer.allocUnsafe(0),this._decrypt=decrypt,this._mode=mode}__webpack_require__(35717)(StreamCipher,Transform),StreamCipher.prototype._update=function(chunk){return this._mode.encrypt(this,chunk,this._decrypt)},StreamCipher.prototype._final=function(){this._cipher.scrub()},module.exports=StreamCipher},53614:function(__unused_webpack_module,exports,__webpack_require__){var DES=__webpack_require__(47667),aes=__webpack_require__(44696),aesModes=__webpack_require__(45),desModes=__webpack_require__(99715),ebtk=__webpack_require__(13048);function createCipheriv(suite,key,iv){if(suite=suite.toLowerCase(),aesModes[suite])return aes.createCipheriv(suite,key,iv);if(desModes[suite])return new DES({key:key,iv:iv,mode:suite});throw new TypeError("invalid suite type")}function createDecipheriv(suite,key,iv){if(suite=suite.toLowerCase(),aesModes[suite])return aes.createDecipheriv(suite,key,iv);if(desModes[suite])return new DES({key:key,iv:iv,mode:suite,decrypt:!0});throw new TypeError("invalid suite type")}exports.createCipher=exports.Cipher=function createCipher(suite,password){var keyLen,ivLen;if(suite=suite.toLowerCase(),aesModes[suite])keyLen=aesModes[suite].key,ivLen=aesModes[suite].iv;else{if(!desModes[suite])throw new TypeError("invalid suite type");keyLen=8*desModes[suite].key,ivLen=desModes[suite].iv}var keys=ebtk(password,!1,keyLen,ivLen);return createCipheriv(suite,keys.key,keys.iv)},exports.createCipheriv=exports.Cipheriv=createCipheriv,exports.createDecipher=exports.Decipher=function createDecipher(suite,password){var keyLen,ivLen;if(suite=suite.toLowerCase(),aesModes[suite])keyLen=aesModes[suite].key,ivLen=aesModes[suite].iv;else{if(!desModes[suite])throw new TypeError("invalid suite type");keyLen=8*desModes[suite].key,ivLen=desModes[suite].iv}var keys=ebtk(password,!1,keyLen,ivLen);return createDecipheriv(suite,keys.key,keys.iv)},exports.createDecipheriv=exports.Decipheriv=createDecipheriv,exports.listCiphers=exports.getCiphers=function getCiphers(){return Object.keys(desModes).concat(aes.getCiphers())}},47667:function(module,__unused_webpack_exports,__webpack_require__){var CipherBase=__webpack_require__(71027),des=__webpack_require__(15251),inherits=__webpack_require__(35717),Buffer=__webpack_require__(89509).Buffer,modes={"des-ede3-cbc":des.CBC.instantiate(des.EDE),"des-ede3":des.EDE,"des-ede-cbc":des.CBC.instantiate(des.EDE),"des-ede":des.EDE,"des-cbc":des.CBC.instantiate(des.DES),"des-ecb":des.DES};function DES(opts){CipherBase.call(this);var type,modeName=opts.mode.toLowerCase(),mode=modes[modeName];type=opts.decrypt?"decrypt":"encrypt";var key=opts.key;Buffer.isBuffer(key)||(key=Buffer.from(key)),"des-ede"!==modeName&&"des-ede-cbc"!==modeName||(key=Buffer.concat([key,key.slice(0,8)]));var iv=opts.iv;Buffer.isBuffer(iv)||(iv=Buffer.from(iv)),this._des=mode.create({key:key,iv:iv,type:type})}modes.des=modes["des-cbc"],modes.des3=modes["des-ede3-cbc"],module.exports=DES,inherits(DES,CipherBase),DES.prototype._update=function(data){return Buffer.from(this._des.update(data))},DES.prototype._final=function(){return Buffer.from(this._des.final())}},99715:function(__unused_webpack_module,exports){exports["des-ecb"]={key:8,iv:0},exports["des-cbc"]=exports.des={key:8,iv:8},exports["des-ede3-cbc"]=exports.des3={key:24,iv:8},exports["des-ede3"]={key:24,iv:0},exports["des-ede-cbc"]={key:16,iv:8},exports["des-ede"]={key:16,iv:0}},23663:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer,BN=__webpack_require__(13550),randomBytes=__webpack_require__(61798);function getr(priv){var r,len=priv.modulus.byteLength();do{r=new BN(randomBytes(len))}while(r.cmp(priv.modulus)>=0||!r.umod(priv.prime1)||!r.umod(priv.prime2));return r}function crt(msg,priv){var blinds=function blind(priv){var r=getr(priv);return{blinder:r.toRed(BN.mont(priv.modulus)).redPow(new BN(priv.publicExponent)).fromRed(),unblinder:r.invm(priv.modulus)}}(priv),len=priv.modulus.byteLength(),blinded=new BN(msg).mul(blinds.blinder).umod(priv.modulus),c1=blinded.toRed(BN.mont(priv.prime1)),c2=blinded.toRed(BN.mont(priv.prime2)),qinv=priv.coefficient,p=priv.prime1,q=priv.prime2,m1=c1.redPow(priv.exponent1).fromRed(),m2=c2.redPow(priv.exponent2).fromRed(),h=m1.isub(m2).imul(qinv).umod(p).imul(q);return m2.iadd(h).imul(blinds.unblinder).umod(priv.modulus).toArrayLike(Buffer,"be",len)}crt.getr=getr,module.exports=crt},56042:function(module,__unused_webpack_exports,__webpack_require__){module.exports=__webpack_require__(75207)},64743:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(89509).Buffer,createHash=__webpack_require__(23482),stream=__webpack_require__(88473),inherits=__webpack_require__(35717),sign=__webpack_require__(82957),verify=__webpack_require__(47753),algorithms=__webpack_require__(75207);function Sign(algorithm){stream.Writable.call(this);var data=algorithms[algorithm];if(!data)throw new Error("Unknown message digest");this._hashType=data.hash,this._hash=createHash(data.hash),this._tag=data.id,this._signType=data.sign}function Verify(algorithm){stream.Writable.call(this);var data=algorithms[algorithm];if(!data)throw new Error("Unknown message digest");this._hash=createHash(data.hash),this._tag=data.id,this._signType=data.sign}function createSign(algorithm){return new Sign(algorithm)}function createVerify(algorithm){return new Verify(algorithm)}Object.keys(algorithms).forEach((function(key){algorithms[key].id=Buffer.from(algorithms[key].id,"hex"),algorithms[key.toLowerCase()]=algorithms[key]})),inherits(Sign,stream.Writable),Sign.prototype._write=function _write(data,_,done){this._hash.update(data),done()},Sign.prototype.update=function update(data,enc){return"string"==typeof data&&(data=Buffer.from(data,enc)),this._hash.update(data),this},Sign.prototype.sign=function signMethod(key,enc){this.end();var hash=this._hash.digest(),sig=sign(hash,key,this._hashType,this._signType,this._tag);return enc?sig.toString(enc):sig},inherits(Verify,stream.Writable),Verify.prototype._write=function _write(data,_,done){this._hash.update(data),done()},Verify.prototype.update=function update(data,enc){return"string"==typeof data&&(data=Buffer.from(data,enc)),this._hash.update(data),this},Verify.prototype.verify=function verifyMethod(key,sig,enc){"string"==typeof sig&&(sig=Buffer.from(sig,enc)),this.end();var hash=this._hash.digest();return verify(sig,hash,key,this._signType,this._tag)},module.exports={Sign:createSign,Verify:createVerify,createSign:createSign,createVerify:createVerify}},82957:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(89509).Buffer,createHmac=__webpack_require__(58355),crt=__webpack_require__(23663),EC=__webpack_require__(86266).ec,BN=__webpack_require__(13550),parseKeys=__webpack_require__(70980),curves=__webpack_require__(1308);function getKey(x,q,hash,algo){if((x=Buffer.from(x.toArray())).length<q.byteLength()){var zeros=Buffer.alloc(q.byteLength()-x.length);x=Buffer.concat([zeros,x])}var hlen=hash.length,hbits=function bits2octets(bits,q){bits=(bits=bits2int(bits,q)).mod(q);var out=Buffer.from(bits.toArray());if(out.length<q.byteLength()){var zeros=Buffer.alloc(q.byteLength()-out.length);out=Buffer.concat([zeros,out])}return out}(hash,q),v=Buffer.alloc(hlen);v.fill(1);var k=Buffer.alloc(hlen);return k=createHmac(algo,k).update(v).update(Buffer.from([0])).update(x).update(hbits).digest(),v=createHmac(algo,k).update(v).digest(),{k:k=createHmac(algo,k).update(v).update(Buffer.from([1])).update(x).update(hbits).digest(),v:v=createHmac(algo,k).update(v).digest()}}function bits2int(obits,q){var bits=new BN(obits),shift=(obits.length<<3)-q.bitLength();return shift>0&&bits.ishrn(shift),bits}function makeKey(q,kv,algo){var t,k;do{for(t=Buffer.alloc(0);8*t.length<q.bitLength();)kv.v=createHmac(algo,kv.k).update(kv.v).digest(),t=Buffer.concat([t,kv.v]);k=bits2int(t,q),kv.k=createHmac(algo,kv.k).update(kv.v).update(Buffer.from([0])).digest(),kv.v=createHmac(algo,kv.k).update(kv.v).digest()}while(-1!==k.cmp(q));return k}function makeR(g,k,p,q){return g.toRed(BN.mont(p)).redPow(k).fromRed().mod(q)}module.exports=function sign(hash,key,hashType,signType,tag){var priv=parseKeys(key);if(priv.curve){if("ecdsa"!==signType&&"ecdsa/rsa"!==signType)throw new Error("wrong private key type");return function ecSign(hash,priv){var curveId=curves[priv.curve.join(".")];if(!curveId)throw new Error("unknown curve "+priv.curve.join("."));var out=new EC(curveId).keyFromPrivate(priv.privateKey).sign(hash);return Buffer.from(out.toDER())}(hash,priv)}if("dsa"===priv.type){if("dsa"!==signType)throw new Error("wrong private key type");return function dsaSign(hash,priv,algo){var k,x=priv.params.priv_key,p=priv.params.p,q=priv.params.q,g=priv.params.g,r=new BN(0),H=bits2int(hash,q).mod(q),s=!1,kv=getKey(x,q,hash,algo);for(;!1===s;)r=makeR(g,k=makeKey(q,kv,algo),p,q),0===(s=k.invm(q).imul(H.add(x.mul(r))).mod(q)).cmpn(0)&&(s=!1,r=new BN(0));return function toDER(r,s){r=r.toArray(),s=s.toArray(),128&r[0]&&(r=[0].concat(r));128&s[0]&&(s=[0].concat(s));var res=[48,r.length+s.length+4,2,r.length];return res=res.concat(r,[2,s.length],s),Buffer.from(res)}(r,s)}(hash,priv,hashType)}if("rsa"!==signType&&"ecdsa/rsa"!==signType)throw new Error("wrong private key type");hash=Buffer.concat([tag,hash]);for(var len=priv.modulus.byteLength(),pad=[0,1];hash.length+pad.length+1<len;)pad.push(255);pad.push(0);for(var i=-1;++i<hash.length;)pad.push(hash[i]);return crt(pad,priv)},module.exports.getKey=getKey,module.exports.makeKey=makeKey},47753:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(89509).Buffer,BN=__webpack_require__(13550),EC=__webpack_require__(86266).ec,parseKeys=__webpack_require__(70980),curves=__webpack_require__(1308);function checkValue(b,q){if(b.cmpn(0)<=0)throw new Error("invalid sig");if(b.cmp(q)>=q)throw new Error("invalid sig")}module.exports=function verify(sig,hash,key,signType,tag){var pub=parseKeys(key);if("ec"===pub.type){if("ecdsa"!==signType&&"ecdsa/rsa"!==signType)throw new Error("wrong public key type");return function ecVerify(sig,hash,pub){var curveId=curves[pub.data.algorithm.curve.join(".")];if(!curveId)throw new Error("unknown curve "+pub.data.algorithm.curve.join("."));var curve=new EC(curveId),pubkey=pub.data.subjectPrivateKey.data;return curve.verify(hash,sig,pubkey)}(sig,hash,pub)}if("dsa"===pub.type){if("dsa"!==signType)throw new Error("wrong public key type");return function dsaVerify(sig,hash,pub){var p=pub.data.p,q=pub.data.q,g=pub.data.g,y=pub.data.pub_key,unpacked=parseKeys.signature.decode(sig,"der"),s=unpacked.s,r=unpacked.r;checkValue(s,q),checkValue(r,q);var montp=BN.mont(p),w=s.invm(q);return 0===g.toRed(montp).redPow(new BN(hash).mul(w).mod(q)).fromRed().mul(y.toRed(montp).redPow(r.mul(w).mod(q)).fromRed()).mod(p).mod(q).cmp(r)}(sig,hash,pub)}if("rsa"!==signType&&"ecdsa/rsa"!==signType)throw new Error("wrong public key type");hash=Buffer.concat([tag,hash]);for(var len=pub.modulus.byteLength(),pad=[1],padNum=0;hash.length+pad.length+2<len;)pad.push(255),padNum++;pad.push(0);for(var i=-1;++i<hash.length;)pad.push(hash[i]);pad=Buffer.from(pad);var red=BN.mont(pub.modulus);sig=(sig=new BN(sig).toRed(red)).redPow(new BN(pub.publicExponent)),sig=Buffer.from(sig.fromRed().toArray());var out=padNum<8?1:0;for(len=Math.min(sig.length,pad.length),sig.length!==pad.length&&(out=1),i=-1;++i<len;)out|=sig[i]^pad[i];return 0===out}},74505:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer,process=__webpack_require__(34155),assert=__webpack_require__(69282),Zstream=__webpack_require__(62292),zlib_deflate=__webpack_require__(30405),zlib_inflate=__webpack_require__(27948),constants=__webpack_require__(71619);for(var key in constants)exports[key]=constants[key];exports.NONE=0,exports.DEFLATE=1,exports.INFLATE=2,exports.GZIP=3,exports.GUNZIP=4,exports.DEFLATERAW=5,exports.INFLATERAW=6,exports.UNZIP=7;function Zlib(mode){if("number"!=typeof mode||mode<exports.DEFLATE||mode>exports.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=mode,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}Zlib.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,assert(this.init_done,"close before init"),assert(this.mode<=exports.UNZIP),this.mode===exports.DEFLATE||this.mode===exports.GZIP||this.mode===exports.DEFLATERAW?zlib_deflate.deflateEnd(this.strm):this.mode!==exports.INFLATE&&this.mode!==exports.GUNZIP&&this.mode!==exports.INFLATERAW&&this.mode!==exports.UNZIP||zlib_inflate.inflateEnd(this.strm),this.mode=exports.NONE,this.dictionary=null)},Zlib.prototype.write=function(flush,input,in_off,in_len,out,out_off,out_len){return this._write(!0,flush,input,in_off,in_len,out,out_off,out_len)},Zlib.prototype.writeSync=function(flush,input,in_off,in_len,out,out_off,out_len){return this._write(!1,flush,input,in_off,in_len,out,out_off,out_len)},Zlib.prototype._write=function(async,flush,input,in_off,in_len,out,out_off,out_len){if(assert.equal(arguments.length,8),assert(this.init_done,"write before init"),assert(this.mode!==exports.NONE,"already finalized"),assert.equal(!1,this.write_in_progress,"write already in progress"),assert.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,assert.equal(!1,void 0===flush,"must provide flush value"),this.write_in_progress=!0,flush!==exports.Z_NO_FLUSH&&flush!==exports.Z_PARTIAL_FLUSH&&flush!==exports.Z_SYNC_FLUSH&&flush!==exports.Z_FULL_FLUSH&&flush!==exports.Z_FINISH&&flush!==exports.Z_BLOCK)throw new Error("Invalid flush value");if(null==input&&(input=Buffer.alloc(0),in_len=0,in_off=0),this.strm.avail_in=in_len,this.strm.input=input,this.strm.next_in=in_off,this.strm.avail_out=out_len,this.strm.output=out,this.strm.next_out=out_off,this.flush=flush,!async)return this._process(),this._checkError()?this._afterSync():void 0;var self=this;return process.nextTick((function(){self._process(),self._after()})),this},Zlib.prototype._afterSync=function(){var avail_out=this.strm.avail_out,avail_in=this.strm.avail_in;return this.write_in_progress=!1,[avail_in,avail_out]},Zlib.prototype._process=function(){var next_expected_header_byte=null;switch(this.mode){case exports.DEFLATE:case exports.GZIP:case exports.DEFLATERAW:this.err=zlib_deflate.deflate(this.strm,this.flush);break;case exports.UNZIP:switch(this.strm.avail_in>0&&(next_expected_header_byte=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===next_expected_header_byte)break;if(31!==this.strm.input[next_expected_header_byte]){this.mode=exports.INFLATE;break}if(this.gzip_id_bytes_read=1,next_expected_header_byte++,1===this.strm.avail_in)break;case 1:if(null===next_expected_header_byte)break;139===this.strm.input[next_expected_header_byte]?(this.gzip_id_bytes_read=2,this.mode=exports.GUNZIP):this.mode=exports.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case exports.INFLATE:case exports.GUNZIP:case exports.INFLATERAW:for(this.err=zlib_inflate.inflate(this.strm,this.flush),this.err===exports.Z_NEED_DICT&&this.dictionary&&(this.err=zlib_inflate.inflateSetDictionary(this.strm,this.dictionary),this.err===exports.Z_OK?this.err=zlib_inflate.inflate(this.strm,this.flush):this.err===exports.Z_DATA_ERROR&&(this.err=exports.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===exports.GUNZIP&&this.err===exports.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=zlib_inflate.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},Zlib.prototype._checkError=function(){switch(this.err){case exports.Z_OK:case exports.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===exports.Z_FINISH)return this._error("unexpected end of file"),!1;break;case exports.Z_STREAM_END:break;case exports.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},Zlib.prototype._after=function(){if(this._checkError()){var avail_out=this.strm.avail_out,avail_in=this.strm.avail_in;this.write_in_progress=!1,this.callback(avail_in,avail_out),this.pending_close&&this.close()}},Zlib.prototype._error=function(message){this.strm.msg&&(message=this.strm.msg),this.onerror(message,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},Zlib.prototype.init=function(windowBits,level,memLevel,strategy,dictionary){assert(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),assert(windowBits>=8&&windowBits<=15,"invalid windowBits"),assert(level>=-1&&level<=9,"invalid compression level"),assert(memLevel>=1&&memLevel<=9,"invalid memlevel"),assert(strategy===exports.Z_FILTERED||strategy===exports.Z_HUFFMAN_ONLY||strategy===exports.Z_RLE||strategy===exports.Z_FIXED||strategy===exports.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(level,windowBits,memLevel,strategy,dictionary),this._setDictionary()},Zlib.prototype.params=function(){throw new Error("deflateParams Not supported")},Zlib.prototype.reset=function(){this._reset(),this._setDictionary()},Zlib.prototype._init=function(level,windowBits,memLevel,strategy,dictionary){switch(this.level=level,this.windowBits=windowBits,this.memLevel=memLevel,this.strategy=strategy,this.flush=exports.Z_NO_FLUSH,this.err=exports.Z_OK,this.mode!==exports.GZIP&&this.mode!==exports.GUNZIP||(this.windowBits+=16),this.mode===exports.UNZIP&&(this.windowBits+=32),this.mode!==exports.DEFLATERAW&&this.mode!==exports.INFLATERAW||(this.windowBits=-1*this.windowBits),this.strm=new Zstream,this.mode){case exports.DEFLATE:case exports.GZIP:case exports.DEFLATERAW:this.err=zlib_deflate.deflateInit2(this.strm,this.level,exports.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case exports.INFLATE:case exports.GUNZIP:case exports.INFLATERAW:case exports.UNZIP:this.err=zlib_inflate.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==exports.Z_OK&&this._error("Init error"),this.dictionary=dictionary,this.write_in_progress=!1,this.init_done=!0},Zlib.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=exports.Z_OK,this.mode){case exports.DEFLATE:case exports.DEFLATERAW:this.err=zlib_deflate.deflateSetDictionary(this.strm,this.dictionary)}this.err!==exports.Z_OK&&this._error("Failed to set dictionary")}},Zlib.prototype._reset=function(){switch(this.err=exports.Z_OK,this.mode){case exports.DEFLATE:case exports.DEFLATERAW:case exports.GZIP:this.err=zlib_deflate.deflateReset(this.strm);break;case exports.INFLATE:case exports.INFLATERAW:case exports.GUNZIP:this.err=zlib_inflate.inflateReset(this.strm)}this.err!==exports.Z_OK&&this._error("Failed to reset stream")},exports.Zlib=Zlib},42635:function(__unused_webpack_module,exports,__webpack_require__){var process=__webpack_require__(34155),Buffer=__webpack_require__(48764).Buffer,Transform=__webpack_require__(42830).Transform,binding=__webpack_require__(74505),util=__webpack_require__(89539),assert=__webpack_require__(69282).ok,kMaxLength=__webpack_require__(48764).kMaxLength,kRangeErrorMessage="Cannot create final Buffer. It would be larger than 0x"+kMaxLength.toString(16)+" bytes";binding.Z_MIN_WINDOWBITS=8,binding.Z_MAX_WINDOWBITS=15,binding.Z_DEFAULT_WINDOWBITS=15,binding.Z_MIN_CHUNK=64,binding.Z_MAX_CHUNK=1/0,binding.Z_DEFAULT_CHUNK=16384,binding.Z_MIN_MEMLEVEL=1,binding.Z_MAX_MEMLEVEL=9,binding.Z_DEFAULT_MEMLEVEL=8,binding.Z_MIN_LEVEL=-1,binding.Z_MAX_LEVEL=9,binding.Z_DEFAULT_LEVEL=binding.Z_DEFAULT_COMPRESSION;for(var bkeys=Object.keys(binding),bk=0;bk<bkeys.length;bk++){var bkey=bkeys[bk];bkey.match(/^Z/)&&Object.defineProperty(exports,bkey,{enumerable:!0,value:binding[bkey],writable:!1})}for(var codes={Z_OK:binding.Z_OK,Z_STREAM_END:binding.Z_STREAM_END,Z_NEED_DICT:binding.Z_NEED_DICT,Z_ERRNO:binding.Z_ERRNO,Z_STREAM_ERROR:binding.Z_STREAM_ERROR,Z_DATA_ERROR:binding.Z_DATA_ERROR,Z_MEM_ERROR:binding.Z_MEM_ERROR,Z_BUF_ERROR:binding.Z_BUF_ERROR,Z_VERSION_ERROR:binding.Z_VERSION_ERROR},ckeys=Object.keys(codes),ck=0;ck<ckeys.length;ck++){var ckey=ckeys[ck];codes[codes[ckey]]=ckey}function zlibBuffer(engine,buffer,callback){var buffers=[],nread=0;function flow(){for(var chunk;null!==(chunk=engine.read());)buffers.push(chunk),nread+=chunk.length;engine.once("readable",flow)}function onEnd(){var buf,err=null;nread>=kMaxLength?err=new RangeError(kRangeErrorMessage):buf=Buffer.concat(buffers,nread),buffers=[],engine.close(),callback(err,buf)}engine.on("error",(function onError(err){engine.removeListener("end",onEnd),engine.removeListener("readable",flow),callback(err)})),engine.on("end",onEnd),engine.end(buffer),flow()}function zlibBufferSync(engine,buffer){if("string"==typeof buffer&&(buffer=Buffer.from(buffer)),!Buffer.isBuffer(buffer))throw new TypeError("Not a string or buffer");var flushFlag=engine._finishFlushFlag;return engine._processChunk(buffer,flushFlag)}function Deflate(opts){if(!(this instanceof Deflate))return new Deflate(opts);Zlib.call(this,opts,binding.DEFLATE)}function Inflate(opts){if(!(this instanceof Inflate))return new Inflate(opts);Zlib.call(this,opts,binding.INFLATE)}function Gzip(opts){if(!(this instanceof Gzip))return new Gzip(opts);Zlib.call(this,opts,binding.GZIP)}function Gunzip(opts){if(!(this instanceof Gunzip))return new Gunzip(opts);Zlib.call(this,opts,binding.GUNZIP)}function DeflateRaw(opts){if(!(this instanceof DeflateRaw))return new DeflateRaw(opts);Zlib.call(this,opts,binding.DEFLATERAW)}function InflateRaw(opts){if(!(this instanceof InflateRaw))return new InflateRaw(opts);Zlib.call(this,opts,binding.INFLATERAW)}function Unzip(opts){if(!(this instanceof Unzip))return new Unzip(opts);Zlib.call(this,opts,binding.UNZIP)}function isValidFlushFlag(flag){return flag===binding.Z_NO_FLUSH||flag===binding.Z_PARTIAL_FLUSH||flag===binding.Z_SYNC_FLUSH||flag===binding.Z_FULL_FLUSH||flag===binding.Z_FINISH||flag===binding.Z_BLOCK}function Zlib(opts,mode){var _this=this;if(this._opts=opts=opts||{},this._chunkSize=opts.chunkSize||exports.Z_DEFAULT_CHUNK,Transform.call(this,opts),opts.flush&&!isValidFlushFlag(opts.flush))throw new Error("Invalid flush flag: "+opts.flush);if(opts.finishFlush&&!isValidFlushFlag(opts.finishFlush))throw new Error("Invalid flush flag: "+opts.finishFlush);if(this._flushFlag=opts.flush||binding.Z_NO_FLUSH,this._finishFlushFlag=void 0!==opts.finishFlush?opts.finishFlush:binding.Z_FINISH,opts.chunkSize&&(opts.chunkSize<exports.Z_MIN_CHUNK||opts.chunkSize>exports.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+opts.chunkSize);if(opts.windowBits&&(opts.windowBits<exports.Z_MIN_WINDOWBITS||opts.windowBits>exports.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+opts.windowBits);if(opts.level&&(opts.level<exports.Z_MIN_LEVEL||opts.level>exports.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+opts.level);if(opts.memLevel&&(opts.memLevel<exports.Z_MIN_MEMLEVEL||opts.memLevel>exports.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+opts.memLevel);if(opts.strategy&&opts.strategy!=exports.Z_FILTERED&&opts.strategy!=exports.Z_HUFFMAN_ONLY&&opts.strategy!=exports.Z_RLE&&opts.strategy!=exports.Z_FIXED&&opts.strategy!=exports.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+opts.strategy);if(opts.dictionary&&!Buffer.isBuffer(opts.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new binding.Zlib(mode);var self=this;this._hadError=!1,this._handle.onerror=function(message,errno){_close(self),self._hadError=!0;var error=new Error(message);error.errno=errno,error.code=exports.codes[errno],self.emit("error",error)};var level=exports.Z_DEFAULT_COMPRESSION;"number"==typeof opts.level&&(level=opts.level);var strategy=exports.Z_DEFAULT_STRATEGY;"number"==typeof opts.strategy&&(strategy=opts.strategy),this._handle.init(opts.windowBits||exports.Z_DEFAULT_WINDOWBITS,level,opts.memLevel||exports.Z_DEFAULT_MEMLEVEL,strategy,opts.dictionary),this._buffer=Buffer.allocUnsafe(this._chunkSize),this._offset=0,this._level=level,this._strategy=strategy,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!_this._handle},configurable:!0,enumerable:!0})}function _close(engine,callback){callback&&process.nextTick(callback),engine._handle&&(engine._handle.close(),engine._handle=null)}function emitCloseNT(self){self.emit("close")}Object.defineProperty(exports,"codes",{enumerable:!0,value:Object.freeze(codes),writable:!1}),exports.Deflate=Deflate,exports.Inflate=Inflate,exports.Gzip=Gzip,exports.Gunzip=Gunzip,exports.DeflateRaw=DeflateRaw,exports.InflateRaw=InflateRaw,exports.Unzip=Unzip,exports.createDeflate=function(o){return new Deflate(o)},exports.createInflate=function(o){return new Inflate(o)},exports.createDeflateRaw=function(o){return new DeflateRaw(o)},exports.createInflateRaw=function(o){return new InflateRaw(o)},exports.createGzip=function(o){return new Gzip(o)},exports.createGunzip=function(o){return new Gunzip(o)},exports.createUnzip=function(o){return new Unzip(o)},exports.deflate=function(buffer,opts,callback){return"function"==typeof opts&&(callback=opts,opts={}),zlibBuffer(new Deflate(opts),buffer,callback)},exports.deflateSync=function(buffer,opts){return zlibBufferSync(new Deflate(opts),buffer)},exports.gzip=function(buffer,opts,callback){return"function"==typeof opts&&(callback=opts,opts={}),zlibBuffer(new Gzip(opts),buffer,callback)},exports.gzipSync=function(buffer,opts){return zlibBufferSync(new Gzip(opts),buffer)},exports.deflateRaw=function(buffer,opts,callback){return"function"==typeof opts&&(callback=opts,opts={}),zlibBuffer(new DeflateRaw(opts),buffer,callback)},exports.deflateRawSync=function(buffer,opts){return zlibBufferSync(new DeflateRaw(opts),buffer)},exports.unzip=function(buffer,opts,callback){return"function"==typeof opts&&(callback=opts,opts={}),zlibBuffer(new Unzip(opts),buffer,callback)},exports.unzipSync=function(buffer,opts){return zlibBufferSync(new Unzip(opts),buffer)},exports.inflate=function(buffer,opts,callback){return"function"==typeof opts&&(callback=opts,opts={}),zlibBuffer(new Inflate(opts),buffer,callback)},exports.inflateSync=function(buffer,opts){return zlibBufferSync(new Inflate(opts),buffer)},exports.gunzip=function(buffer,opts,callback){return"function"==typeof opts&&(callback=opts,opts={}),zlibBuffer(new Gunzip(opts),buffer,callback)},exports.gunzipSync=function(buffer,opts){return zlibBufferSync(new Gunzip(opts),buffer)},exports.inflateRaw=function(buffer,opts,callback){return"function"==typeof opts&&(callback=opts,opts={}),zlibBuffer(new InflateRaw(opts),buffer,callback)},exports.inflateRawSync=function(buffer,opts){return zlibBufferSync(new InflateRaw(opts),buffer)},util.inherits(Zlib,Transform),Zlib.prototype.params=function(level,strategy,callback){if(level<exports.Z_MIN_LEVEL||level>exports.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+level);if(strategy!=exports.Z_FILTERED&&strategy!=exports.Z_HUFFMAN_ONLY&&strategy!=exports.Z_RLE&&strategy!=exports.Z_FIXED&&strategy!=exports.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+strategy);if(this._level!==level||this._strategy!==strategy){var self=this;this.flush(binding.Z_SYNC_FLUSH,(function(){assert(self._handle,"zlib binding closed"),self._handle.params(level,strategy),self._hadError||(self._level=level,self._strategy=strategy,callback&&callback())}))}else process.nextTick(callback)},Zlib.prototype.reset=function(){return assert(this._handle,"zlib binding closed"),this._handle.reset()},Zlib.prototype._flush=function(callback){this._transform(Buffer.alloc(0),"",callback)},Zlib.prototype.flush=function(kind,callback){var _this2=this,ws=this._writableState;("function"==typeof kind||void 0===kind&&!callback)&&(callback=kind,kind=binding.Z_FULL_FLUSH),ws.ended?callback&&process.nextTick(callback):ws.ending?callback&&this.once("end",callback):ws.needDrain?callback&&this.once("drain",(function(){return _this2.flush(kind,callback)})):(this._flushFlag=kind,this.write(Buffer.alloc(0),"",callback))},Zlib.prototype.close=function(callback){_close(this,callback),process.nextTick(emitCloseNT,this)},Zlib.prototype._transform=function(chunk,encoding,cb){var flushFlag,ws=this._writableState,last=(ws.ending||ws.ended)&&(!chunk||ws.length===chunk.length);return null===chunk||Buffer.isBuffer(chunk)?this._handle?(last?flushFlag=this._finishFlushFlag:(flushFlag=this._flushFlag,chunk.length>=ws.length&&(this._flushFlag=this._opts.flush||binding.Z_NO_FLUSH)),void this._processChunk(chunk,flushFlag,cb)):cb(new Error("zlib binding closed")):cb(new Error("invalid input"))},Zlib.prototype._processChunk=function(chunk,flushFlag,cb){var availInBefore=chunk&&chunk.length,availOutBefore=this._chunkSize-this._offset,inOff=0,self=this,async="function"==typeof cb;if(!async){var error,buffers=[],nread=0;this.on("error",(function(er){error=er})),assert(this._handle,"zlib binding closed");do{var res=this._handle.writeSync(flushFlag,chunk,inOff,availInBefore,this._buffer,this._offset,availOutBefore)}while(!this._hadError&&callback(res[0],res[1]));if(this._hadError)throw error;if(nread>=kMaxLength)throw _close(this),new RangeError(kRangeErrorMessage);var buf=Buffer.concat(buffers,nread);return _close(this),buf}assert(this._handle,"zlib binding closed");var req=this._handle.write(flushFlag,chunk,inOff,availInBefore,this._buffer,this._offset,availOutBefore);function callback(availInAfter,availOutAfter){if(this&&(this.buffer=null,this.callback=null),!self._hadError){var have=availOutBefore-availOutAfter;if(assert(have>=0,"have should not go down"),have>0){var out=self._buffer.slice(self._offset,self._offset+have);self._offset+=have,async?self.push(out):(buffers.push(out),nread+=out.length)}if((0===availOutAfter||self._offset>=self._chunkSize)&&(availOutBefore=self._chunkSize,self._offset=0,self._buffer=Buffer.allocUnsafe(self._chunkSize)),0===availOutAfter){if(inOff+=availInBefore-availInAfter,availInBefore=availInAfter,!async)return!0;var newReq=self._handle.write(flushFlag,chunk,inOff,availInBefore,self._buffer,self._offset,self._chunkSize);return newReq.callback=callback,void(newReq.buffer=chunk)}if(!async)return!1;cb()}}req.buffer=chunk,req.callback=callback},util.inherits(Deflate,Zlib),util.inherits(Inflate,Zlib),util.inherits(Gzip,Zlib),util.inherits(Gunzip,Zlib),util.inherits(DeflateRaw,Zlib),util.inherits(InflateRaw,Zlib),util.inherits(Unzip,Zlib)},67295:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer;module.exports=function xor(a,b){for(var length=Math.min(a.length,b.length),buffer=new Buffer(length),i=0;i<length;++i)buffer[i]=a[i]^b[i];return buffer}},48764:function(__unused_webpack_module,exports,__webpack_require__){ +/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh <https://feross.org> + * @license MIT + */ +const base64=__webpack_require__(79742),ieee754=__webpack_require__(80645),customInspectSymbol="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;exports.Buffer=Buffer,exports.SlowBuffer=function SlowBuffer(length){+length!=length&&(length=0);return Buffer.alloc(+length)},exports.INSPECT_MAX_BYTES=50;function createBuffer(length){if(length>2147483647)throw new RangeError('The value "'+length+'" is invalid for option "size"');const buf=new Uint8Array(length);return Object.setPrototypeOf(buf,Buffer.prototype),buf}function Buffer(arg,encodingOrOffset,length){if("number"==typeof arg){if("string"==typeof encodingOrOffset)throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}function from(value,encodingOrOffset,length){if("string"==typeof value)return function fromString(string,encoding){"string"==typeof encoding&&""!==encoding||(encoding="utf8");if(!Buffer.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);const length=0|byteLength(string,encoding);let buf=createBuffer(length);const actual=buf.write(string,encoding);actual!==length&&(buf=buf.slice(0,actual));return buf}(value,encodingOrOffset);if(ArrayBuffer.isView(value))return function fromArrayView(arrayView){if(isInstance(arrayView,Uint8Array)){const copy=new Uint8Array(arrayView);return fromArrayBuffer(copy.buffer,copy.byteOffset,copy.byteLength)}return fromArrayLike(arrayView)}(value);if(null==value)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer))return fromArrayBuffer(value,encodingOrOffset,length);if("undefined"!=typeof SharedArrayBuffer&&(isInstance(value,SharedArrayBuffer)||value&&isInstance(value.buffer,SharedArrayBuffer)))return fromArrayBuffer(value,encodingOrOffset,length);if("number"==typeof value)throw new TypeError('The "value" argument must not be of type number. Received type number');const valueOf=value.valueOf&&value.valueOf();if(null!=valueOf&&valueOf!==value)return Buffer.from(valueOf,encodingOrOffset,length);const b=function fromObject(obj){if(Buffer.isBuffer(obj)){const len=0|checked(obj.length),buf=createBuffer(len);return 0===buf.length||obj.copy(buf,0,0,len),buf}if(void 0!==obj.length)return"number"!=typeof obj.length||numberIsNaN(obj.length)?createBuffer(0):fromArrayLike(obj);if("Buffer"===obj.type&&Array.isArray(obj.data))return fromArrayLike(obj.data)}(value);if(b)return b;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof value[Symbol.toPrimitive])return Buffer.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}function assertSize(size){if("number"!=typeof size)throw new TypeError('"size" argument must be of type number');if(size<0)throw new RangeError('The value "'+size+'" is invalid for option "size"')}function allocUnsafe(size){return assertSize(size),createBuffer(size<0?0:0|checked(size))}function fromArrayLike(array){const length=array.length<0?0:0|checked(array.length),buf=createBuffer(length);for(let i=0;i<length;i+=1)buf[i]=255&array[i];return buf}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError('"offset" is outside of buffer bounds');if(array.byteLength<byteOffset+(length||0))throw new RangeError('"length" is outside of buffer bounds');let buf;return buf=void 0===byteOffset&&void 0===length?new Uint8Array(array):void 0===length?new Uint8Array(array,byteOffset):new Uint8Array(array,byteOffset,length),Object.setPrototypeOf(buf,Buffer.prototype),buf}function checked(length){if(length>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|length}function byteLength(string,encoding){if(Buffer.isBuffer(string))return string.length;if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer))return string.byteLength;if("string"!=typeof string)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof string);const len=string.length,mustMatch=arguments.length>2&&!0===arguments[2];if(!mustMatch&&0===len)return 0;let loweredCase=!1;for(;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*len;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return mustMatch?-1:utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}function slowToString(encoding,start,end){let loweredCase=!1;if((void 0===start||start<0)&&(start=0),start>this.length)return"";if((void 0===end||end>this.length)&&(end=this.length),end<=0)return"";if((end>>>=0)<=(start>>>=0))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}function swap(b,n,m){const i=b[n];b[n]=b[m],b[m]=i}function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(0===buffer.length)return-1;if("string"==typeof byteOffset?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),numberIsNaN(byteOffset=+byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0){if(!dir)return-1;byteOffset=0}if("string"==typeof val&&(val=Buffer.from(val,encoding)),Buffer.isBuffer(val))return 0===val.length?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if("number"==typeof val)return val&=255,"function"==typeof Uint8Array.prototype.indexOf?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){let i,indexSize=1,arrLength=arr.length,valLength=val.length;if(void 0!==encoding&&("ucs2"===(encoding=String(encoding).toLowerCase())||"ucs-2"===encoding||"utf16le"===encoding||"utf-16le"===encoding)){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i){return 1===indexSize?buf[i]:buf.readUInt16BE(i*indexSize)}if(dir){let foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,-1===foundIndex?0:i-foundIndex)){if(-1===foundIndex&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else-1!==foundIndex&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){let found=!0;for(let j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}function hexWrite(buf,string,offset,length){offset=Number(offset)||0;const remaining=buf.length-offset;length?(length=Number(length))>remaining&&(length=remaining):length=remaining;const strLen=string.length;let i;for(length>strLen/2&&(length=strLen/2),i=0;i<length;++i){const parsed=parseInt(string.substr(2*i,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(function asciiToBytes(str){const byteArray=[];for(let i=0;i<str.length;++i)byteArray.push(255&str.charCodeAt(i));return byteArray}(string),buf,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(function utf16leToBytes(str,units){let c,hi,lo;const byteArray=[];for(let i=0;i<str.length&&!((units-=2)<0);++i)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}(string,buf.length-offset),buf,offset,length)}function base64Slice(buf,start,end){return 0===start&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);const res=[];let i=start;for(;i<end;){const firstByte=buf[i];let codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){let secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],128==(192&secondByte)&&(tempCodePoint=(31&firstByte)<<6|63&secondByte,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],128==(192&secondByte)&&128==(192&thirdByte)&&(tempCodePoint=(15&firstByte)<<12|(63&secondByte)<<6|63&thirdByte,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],128==(192&secondByte)&&128==(192&thirdByte)&&128==(192&fourthByte)&&(tempCodePoint=(15&firstByte)<<18|(63&secondByte)<<12|(63&thirdByte)<<6|63&fourthByte,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}null===codePoint?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|1023&codePoint),res.push(codePoint),i+=bytesPerSequence}return function decodeCodePointsArray(codePoints){const len=codePoints.length;if(len<=4096)return String.fromCharCode.apply(String,codePoints);let res="",i=0;for(;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=4096));return res}(res)}exports.kMaxLength=2147483647,Buffer.TYPED_ARRAY_SUPPORT=function typedArraySupport(){try{const arr=new Uint8Array(1),proto={foo:function(){return 42}};return Object.setPrototypeOf(proto,Uint8Array.prototype),Object.setPrototypeOf(arr,proto),42===arr.foo()}catch(e){return!1}}(),Buffer.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(Buffer.prototype,"parent",{enumerable:!0,get:function(){if(Buffer.isBuffer(this))return this.buffer}}),Object.defineProperty(Buffer.prototype,"offset",{enumerable:!0,get:function(){if(Buffer.isBuffer(this))return this.byteOffset}}),Buffer.poolSize=8192,Buffer.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)},Object.setPrototypeOf(Buffer.prototype,Uint8Array.prototype),Object.setPrototypeOf(Buffer,Uint8Array),Buffer.alloc=function(size,fill,encoding){return function alloc(size,fill,encoding){return assertSize(size),size<=0?createBuffer(size):void 0!==fill?"string"==typeof encoding?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill):createBuffer(size)}(size,fill,encoding)},Buffer.allocUnsafe=function(size){return allocUnsafe(size)},Buffer.allocUnsafeSlow=function(size){return allocUnsafe(size)},Buffer.isBuffer=function isBuffer(b){return null!=b&&!0===b._isBuffer&&b!==Buffer.prototype},Buffer.compare=function compare(a,b){if(isInstance(a,Uint8Array)&&(a=Buffer.from(a,a.offset,a.byteLength)),isInstance(b,Uint8Array)&&(b=Buffer.from(b,b.offset,b.byteLength)),!Buffer.isBuffer(a)||!Buffer.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===b)return 0;let x=a.length,y=b.length;for(let i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0},Buffer.isEncoding=function isEncoding(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Buffer.concat=function concat(list,length){if(!Array.isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(0===list.length)return Buffer.alloc(0);let i;if(void 0===length)for(length=0,i=0;i<list.length;++i)length+=list[i].length;const buffer=Buffer.allocUnsafe(length);let pos=0;for(i=0;i<list.length;++i){let buf=list[i];if(isInstance(buf,Uint8Array))pos+buf.length>buffer.length?(Buffer.isBuffer(buf)||(buf=Buffer.from(buf)),buf.copy(buffer,pos)):Uint8Array.prototype.set.call(buffer,buf,pos);else{if(!Buffer.isBuffer(buf))throw new TypeError('"list" argument must be an Array of Buffers');buf.copy(buffer,pos)}pos+=buf.length}return buffer},Buffer.byteLength=byteLength,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function swap16(){const len=this.length;if(len%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let i=0;i<len;i+=2)swap(this,i,i+1);return this},Buffer.prototype.swap32=function swap32(){const len=this.length;if(len%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this},Buffer.prototype.swap64=function swap64(){const len=this.length;if(len%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this},Buffer.prototype.toString=function toString(){const length=this.length;return 0===length?"":0===arguments.length?utf8Slice(this,0,length):slowToString.apply(this,arguments)},Buffer.prototype.toLocaleString=Buffer.prototype.toString,Buffer.prototype.equals=function equals(b){if(!Buffer.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b||0===Buffer.compare(this,b)},Buffer.prototype.inspect=function inspect(){let str="";const max=exports.INSPECT_MAX_BYTES;return str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim(),this.length>max&&(str+=" ... "),"<Buffer "+str+">"},customInspectSymbol&&(Buffer.prototype[customInspectSymbol]=Buffer.prototype.inspect),Buffer.prototype.compare=function compare(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)&&(target=Buffer.from(target,target.offset,target.byteLength)),!Buffer.isBuffer(target))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof target);if(void 0===start&&(start=0),void 0===end&&(end=target?target.length:0),void 0===thisStart&&(thisStart=0),void 0===thisEnd&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(this===target)return 0;let x=(thisEnd>>>=0)-(thisStart>>>=0),y=(end>>>=0)-(start>>>=0);const len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end);for(let i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0},Buffer.prototype.includes=function includes(val,byteOffset,encoding){return-1!==this.indexOf(val,byteOffset,encoding)},Buffer.prototype.indexOf=function indexOf(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)},Buffer.prototype.lastIndexOf=function lastIndexOf(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)},Buffer.prototype.write=function write(string,offset,length,encoding){if(void 0===offset)encoding="utf8",length=this.length,offset=0;else if(void 0===length&&"string"==typeof offset)encoding=offset,length=this.length,offset=0;else{if(!isFinite(offset))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");offset>>>=0,isFinite(length)?(length>>>=0,void 0===encoding&&(encoding="utf8")):(encoding=length,length=void 0)}const remaining=this.length-offset;if((void 0===length||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");let loweredCase=!1;for(;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":case"latin1":case"binary":return asciiWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function asciiSlice(buf,start,end){let ret="";end=Math.min(buf.length,end);for(let i=start;i<end;++i)ret+=String.fromCharCode(127&buf[i]);return ret}function latin1Slice(buf,start,end){let ret="";end=Math.min(buf.length,end);for(let i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){const len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);let out="";for(let i=start;i<end;++i)out+=hexSliceLookupTable[buf[i]];return out}function utf16leSlice(buf,start,end){const bytes=buf.slice(start,end);let res="";for(let i=0;i<bytes.length-1;i+=2)res+=String.fromCharCode(bytes[i]+256*bytes[i+1]);return res}function checkOffset(offset,ext,length){if(offset%1!=0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}function checkInt(buf,value,offset,ext,max,min){if(!Buffer.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}function wrtBigUInt64LE(buf,value,offset,min,max){checkIntBI(value,min,max,buf,offset,7);let lo=Number(value&BigInt(4294967295));buf[offset++]=lo,lo>>=8,buf[offset++]=lo,lo>>=8,buf[offset++]=lo,lo>>=8,buf[offset++]=lo;let hi=Number(value>>BigInt(32)&BigInt(4294967295));return buf[offset++]=hi,hi>>=8,buf[offset++]=hi,hi>>=8,buf[offset++]=hi,hi>>=8,buf[offset++]=hi,offset}function wrtBigUInt64BE(buf,value,offset,min,max){checkIntBI(value,min,max,buf,offset,7);let lo=Number(value&BigInt(4294967295));buf[offset+7]=lo,lo>>=8,buf[offset+6]=lo,lo>>=8,buf[offset+5]=lo,lo>>=8,buf[offset+4]=lo;let hi=Number(value>>BigInt(32)&BigInt(4294967295));return buf[offset+3]=hi,hi>>=8,buf[offset+2]=hi,hi>>=8,buf[offset+1]=hi,hi>>=8,buf[offset]=hi,offset+8}function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return value=+value,offset>>>=0,noAssert||checkIEEE754(buf,0,offset,4),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}function writeDouble(buf,value,offset,littleEndian,noAssert){return value=+value,offset>>>=0,noAssert||checkIEEE754(buf,0,offset,8),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer.prototype.slice=function slice(start,end){const len=this.length;(start=~~start)<0?(start+=len)<0&&(start=0):start>len&&(start=len),(end=void 0===end?len:~~end)<0?(end+=len)<0&&(end=0):end>len&&(end=len),end<start&&(end=start);const newBuf=this.subarray(start,end);return Object.setPrototypeOf(newBuf,Buffer.prototype),newBuf},Buffer.prototype.readUintLE=Buffer.prototype.readUIntLE=function readUIntLE(offset,byteLength,noAssert){offset>>>=0,byteLength>>>=0,noAssert||checkOffset(offset,byteLength,this.length);let val=this[offset],mul=1,i=0;for(;++i<byteLength&&(mul*=256);)val+=this[offset+i]*mul;return val},Buffer.prototype.readUintBE=Buffer.prototype.readUIntBE=function readUIntBE(offset,byteLength,noAssert){offset>>>=0,byteLength>>>=0,noAssert||checkOffset(offset,byteLength,this.length);let val=this[offset+--byteLength],mul=1;for(;byteLength>0&&(mul*=256);)val+=this[offset+--byteLength]*mul;return val},Buffer.prototype.readUint8=Buffer.prototype.readUInt8=function readUInt8(offset,noAssert){return offset>>>=0,noAssert||checkOffset(offset,1,this.length),this[offset]},Buffer.prototype.readUint16LE=Buffer.prototype.readUInt16LE=function readUInt16LE(offset,noAssert){return offset>>>=0,noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8},Buffer.prototype.readUint16BE=Buffer.prototype.readUInt16BE=function readUInt16BE(offset,noAssert){return offset>>>=0,noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]},Buffer.prototype.readUint32LE=Buffer.prototype.readUInt32LE=function readUInt32LE(offset,noAssert){return offset>>>=0,noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+16777216*this[offset+3]},Buffer.prototype.readUint32BE=Buffer.prototype.readUInt32BE=function readUInt32BE(offset,noAssert){return offset>>>=0,noAssert||checkOffset(offset,4,this.length),16777216*this[offset]+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])},Buffer.prototype.readBigUInt64LE=defineBigIntMethod((function readBigUInt64LE(offset){validateNumber(offset>>>=0,"offset");const first=this[offset],last=this[offset+7];void 0!==first&&void 0!==last||boundsError(offset,this.length-8);const lo=first+256*this[++offset]+65536*this[++offset]+this[++offset]*2**24,hi=this[++offset]+256*this[++offset]+65536*this[++offset]+last*2**24;return BigInt(lo)+(BigInt(hi)<<BigInt(32))})),Buffer.prototype.readBigUInt64BE=defineBigIntMethod((function readBigUInt64BE(offset){validateNumber(offset>>>=0,"offset");const first=this[offset],last=this[offset+7];void 0!==first&&void 0!==last||boundsError(offset,this.length-8);const hi=first*2**24+65536*this[++offset]+256*this[++offset]+this[++offset],lo=this[++offset]*2**24+65536*this[++offset]+256*this[++offset]+last;return(BigInt(hi)<<BigInt(32))+BigInt(lo)})),Buffer.prototype.readIntLE=function readIntLE(offset,byteLength,noAssert){offset>>>=0,byteLength>>>=0,noAssert||checkOffset(offset,byteLength,this.length);let val=this[offset],mul=1,i=0;for(;++i<byteLength&&(mul*=256);)val+=this[offset+i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength)),val},Buffer.prototype.readIntBE=function readIntBE(offset,byteLength,noAssert){offset>>>=0,byteLength>>>=0,noAssert||checkOffset(offset,byteLength,this.length);let i=byteLength,mul=1,val=this[offset+--i];for(;i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength)),val},Buffer.prototype.readInt8=function readInt8(offset,noAssert){return offset>>>=0,noAssert||checkOffset(offset,1,this.length),128&this[offset]?-1*(255-this[offset]+1):this[offset]},Buffer.prototype.readInt16LE=function readInt16LE(offset,noAssert){offset>>>=0,noAssert||checkOffset(offset,2,this.length);const val=this[offset]|this[offset+1]<<8;return 32768&val?4294901760|val:val},Buffer.prototype.readInt16BE=function readInt16BE(offset,noAssert){offset>>>=0,noAssert||checkOffset(offset,2,this.length);const val=this[offset+1]|this[offset]<<8;return 32768&val?4294901760|val:val},Buffer.prototype.readInt32LE=function readInt32LE(offset,noAssert){return offset>>>=0,noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24},Buffer.prototype.readInt32BE=function readInt32BE(offset,noAssert){return offset>>>=0,noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]},Buffer.prototype.readBigInt64LE=defineBigIntMethod((function readBigInt64LE(offset){validateNumber(offset>>>=0,"offset");const first=this[offset],last=this[offset+7];void 0!==first&&void 0!==last||boundsError(offset,this.length-8);const val=this[offset+4]+256*this[offset+5]+65536*this[offset+6]+(last<<24);return(BigInt(val)<<BigInt(32))+BigInt(first+256*this[++offset]+65536*this[++offset]+this[++offset]*2**24)})),Buffer.prototype.readBigInt64BE=defineBigIntMethod((function readBigInt64BE(offset){validateNumber(offset>>>=0,"offset");const first=this[offset],last=this[offset+7];void 0!==first&&void 0!==last||boundsError(offset,this.length-8);const val=(first<<24)+65536*this[++offset]+256*this[++offset]+this[++offset];return(BigInt(val)<<BigInt(32))+BigInt(this[++offset]*2**24+65536*this[++offset]+256*this[++offset]+last)})),Buffer.prototype.readFloatLE=function readFloatLE(offset,noAssert){return offset>>>=0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)},Buffer.prototype.readFloatBE=function readFloatBE(offset,noAssert){return offset>>>=0,noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)},Buffer.prototype.readDoubleLE=function readDoubleLE(offset,noAssert){return offset>>>=0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)},Buffer.prototype.readDoubleBE=function readDoubleBE(offset,noAssert){return offset>>>=0,noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)},Buffer.prototype.writeUintLE=Buffer.prototype.writeUIntLE=function writeUIntLE(value,offset,byteLength,noAssert){if(value=+value,offset>>>=0,byteLength>>>=0,!noAssert){checkInt(this,value,offset,byteLength,Math.pow(2,8*byteLength)-1,0)}let mul=1,i=0;for(this[offset]=255&value;++i<byteLength&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength},Buffer.prototype.writeUintBE=Buffer.prototype.writeUIntBE=function writeUIntBE(value,offset,byteLength,noAssert){if(value=+value,offset>>>=0,byteLength>>>=0,!noAssert){checkInt(this,value,offset,byteLength,Math.pow(2,8*byteLength)-1,0)}let i=byteLength-1,mul=1;for(this[offset+i]=255&value;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength},Buffer.prototype.writeUint8=Buffer.prototype.writeUInt8=function writeUInt8(value,offset,noAssert){return value=+value,offset>>>=0,noAssert||checkInt(this,value,offset,1,255,0),this[offset]=255&value,offset+1},Buffer.prototype.writeUint16LE=Buffer.prototype.writeUInt16LE=function writeUInt16LE(value,offset,noAssert){return value=+value,offset>>>=0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=255&value,this[offset+1]=value>>>8,offset+2},Buffer.prototype.writeUint16BE=Buffer.prototype.writeUInt16BE=function writeUInt16BE(value,offset,noAssert){return value=+value,offset>>>=0,noAssert||checkInt(this,value,offset,2,65535,0),this[offset]=value>>>8,this[offset+1]=255&value,offset+2},Buffer.prototype.writeUint32LE=Buffer.prototype.writeUInt32LE=function writeUInt32LE(value,offset,noAssert){return value=+value,offset>>>=0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=255&value,offset+4},Buffer.prototype.writeUint32BE=Buffer.prototype.writeUInt32BE=function writeUInt32BE(value,offset,noAssert){return value=+value,offset>>>=0,noAssert||checkInt(this,value,offset,4,4294967295,0),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=255&value,offset+4},Buffer.prototype.writeBigUInt64LE=defineBigIntMethod((function writeBigUInt64LE(value,offset=0){return wrtBigUInt64LE(this,value,offset,BigInt(0),BigInt("0xffffffffffffffff"))})),Buffer.prototype.writeBigUInt64BE=defineBigIntMethod((function writeBigUInt64BE(value,offset=0){return wrtBigUInt64BE(this,value,offset,BigInt(0),BigInt("0xffffffffffffffff"))})),Buffer.prototype.writeIntLE=function writeIntLE(value,offset,byteLength,noAssert){if(value=+value,offset>>>=0,!noAssert){const limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}let i=0,mul=1,sub=0;for(this[offset]=255&value;++i<byteLength&&(mul*=256);)value<0&&0===sub&&0!==this[offset+i-1]&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength},Buffer.prototype.writeIntBE=function writeIntBE(value,offset,byteLength,noAssert){if(value=+value,offset>>>=0,!noAssert){const limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}let i=byteLength-1,mul=1,sub=0;for(this[offset+i]=255&value;--i>=0&&(mul*=256);)value<0&&0===sub&&0!==this[offset+i+1]&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength},Buffer.prototype.writeInt8=function writeInt8(value,offset,noAssert){return value=+value,offset>>>=0,noAssert||checkInt(this,value,offset,1,127,-128),value<0&&(value=255+value+1),this[offset]=255&value,offset+1},Buffer.prototype.writeInt16LE=function writeInt16LE(value,offset,noAssert){return value=+value,offset>>>=0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=255&value,this[offset+1]=value>>>8,offset+2},Buffer.prototype.writeInt16BE=function writeInt16BE(value,offset,noAssert){return value=+value,offset>>>=0,noAssert||checkInt(this,value,offset,2,32767,-32768),this[offset]=value>>>8,this[offset+1]=255&value,offset+2},Buffer.prototype.writeInt32LE=function writeInt32LE(value,offset,noAssert){return value=+value,offset>>>=0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),this[offset]=255&value,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24,offset+4},Buffer.prototype.writeInt32BE=function writeInt32BE(value,offset,noAssert){return value=+value,offset>>>=0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=255&value,offset+4},Buffer.prototype.writeBigInt64LE=defineBigIntMethod((function writeBigInt64LE(value,offset=0){return wrtBigUInt64LE(this,value,offset,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),Buffer.prototype.writeBigInt64BE=defineBigIntMethod((function writeBigInt64BE(value,offset=0){return wrtBigUInt64BE(this,value,offset,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),Buffer.prototype.writeFloatLE=function writeFloatLE(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)},Buffer.prototype.writeFloatBE=function writeFloatBE(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)},Buffer.prototype.writeDoubleLE=function writeDoubleLE(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)},Buffer.prototype.writeDoubleBE=function writeDoubleBE(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)},Buffer.prototype.copy=function copy(target,targetStart,start,end){if(!Buffer.isBuffer(target))throw new TypeError("argument should be a Buffer");if(start||(start=0),end||0===end||(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start)return 0;if(0===target.length||0===this.length)return 0;if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);const len=end-start;return this===target&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(targetStart,start,end):Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart),len},Buffer.prototype.fill=function fill(val,start,end,encoding){if("string"==typeof val){if("string"==typeof start?(encoding=start,start=0,end=this.length):"string"==typeof end&&(encoding=end,end=this.length),void 0!==encoding&&"string"!=typeof encoding)throw new TypeError("encoding must be a string");if("string"==typeof encoding&&!Buffer.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding);if(1===val.length){const code=val.charCodeAt(0);("utf8"===encoding&&code<128||"latin1"===encoding)&&(val=code)}}else"number"==typeof val?val&=255:"boolean"==typeof val&&(val=Number(val));if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;let i;if(start>>>=0,end=void 0===end?this.length:end>>>0,val||(val=0),"number"==typeof val)for(i=start;i<end;++i)this[i]=val;else{const bytes=Buffer.isBuffer(val)?val:Buffer.from(val,encoding),len=bytes.length;if(0===len)throw new TypeError('The value "'+val+'" is invalid for argument "value"');for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};const errors={};function E(sym,getMessage,Base){errors[sym]=class NodeError extends Base{constructor(){super(),Object.defineProperty(this,"message",{value:getMessage.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${sym}]`,this.stack,delete this.name}get code(){return sym}set code(value){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:value,writable:!0})}toString(){return`${this.name} [${sym}]: ${this.message}`}}}function addNumericalSeparator(val){let res="",i=val.length;const start="-"===val[0]?1:0;for(;i>=start+4;i-=3)res=`_${val.slice(i-3,i)}${res}`;return`${val.slice(0,i)}${res}`}function checkIntBI(value,min,max,buf,offset,byteLength){if(value>max||value<min){const n="bigint"==typeof min?"n":"";let range;throw range=byteLength>3?0===min||min===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(byteLength+1)}${n}`:`>= -(2${n} ** ${8*(byteLength+1)-1}${n}) and < 2 ** ${8*(byteLength+1)-1}${n}`:`>= ${min}${n} and <= ${max}${n}`,new errors.ERR_OUT_OF_RANGE("value",range,value)}!function checkBounds(buf,offset,byteLength){validateNumber(offset,"offset"),void 0!==buf[offset]&&void 0!==buf[offset+byteLength]||boundsError(offset,buf.length-(byteLength+1))}(buf,offset,byteLength)}function validateNumber(value,name){if("number"!=typeof value)throw new errors.ERR_INVALID_ARG_TYPE(name,"number",value)}function boundsError(value,length,type){if(Math.floor(value)!==value)throw validateNumber(value,type),new errors.ERR_OUT_OF_RANGE(type||"offset","an integer",value);if(length<0)throw new errors.ERR_BUFFER_OUT_OF_BOUNDS;throw new errors.ERR_OUT_OF_RANGE(type||"offset",`>= ${type?1:0} and <= ${length}`,value)}E("ERR_BUFFER_OUT_OF_BOUNDS",(function(name){return name?`${name} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),E("ERR_INVALID_ARG_TYPE",(function(name,actual){return`The "${name}" argument must be of type number. Received type ${typeof actual}`}),TypeError),E("ERR_OUT_OF_RANGE",(function(str,range,input){let msg=`The value of "${str}" is out of range.`,received=input;return Number.isInteger(input)&&Math.abs(input)>2**32?received=addNumericalSeparator(String(input)):"bigint"==typeof input&&(received=String(input),(input>BigInt(2)**BigInt(32)||input<-(BigInt(2)**BigInt(32)))&&(received=addNumericalSeparator(received)),received+="n"),msg+=` It must be ${range}. Received ${received}`,msg}),RangeError);const INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function utf8ToBytes(string,units){let codePoint;units=units||1/0;const length=string.length;let leadSurrogate=null;const bytes=[];for(let i=0;i<length;++i){if(codePoint=string.charCodeAt(i),codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=65536+(leadSurrogate-55296<<10|codePoint-56320)}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,63&codePoint|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,63&codePoint|128)}else{if(!(codePoint<1114112))throw new Error("Invalid code point");if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,63&codePoint|128)}}return bytes}function base64ToBytes(str){return base64.toByteArray(function base64clean(str){if((str=(str=str.split("=")[0]).trim().replace(INVALID_BASE64_RE,"")).length<2)return"";for(;str.length%4!=0;)str+="=";return str}(str))}function blitBuffer(src,dst,offset,length){let i;for(i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isInstance(obj,type){return obj instanceof type||null!=obj&&null!=obj.constructor&&null!=obj.constructor.name&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!=obj}const hexSliceLookupTable=function(){const table=new Array(256);for(let i=0;i<16;++i){const i16=16*i;for(let j=0;j<16;++j)table[i16+j]="0123456789abcdef"[i]+"0123456789abcdef"[j]}return table}();function defineBigIntMethod(fn){return"undefined"==typeof BigInt?BufferBigIntNotDefined:fn}function BufferBigIntNotDefined(){throw new Error("BigInt not supported")}},50584:function(module){module.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},21924:function(module,__unused_webpack_exports,__webpack_require__){var GetIntrinsic=__webpack_require__(40210),callBind=__webpack_require__(55559),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function callBoundIntrinsic(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return"function"==typeof intrinsic&&$indexOf(name,".prototype.")>-1?callBind(intrinsic):intrinsic}},55559:function(module,__unused_webpack_exports,__webpack_require__){var bind=__webpack_require__(58612),GetIntrinsic=__webpack_require__(40210),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$gOPD=GetIntrinsic("%Object.getOwnPropertyDescriptor%",!0),$defineProperty=GetIntrinsic("%Object.defineProperty%",!0),$max=GetIntrinsic("%Math.max%");if($defineProperty)try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=null}module.exports=function callBind(originalFunction){var func=$reflectApply(bind,$call,arguments);if($gOPD&&$defineProperty){var desc=$gOPD(func,"length");desc.configurable&&$defineProperty(func,"length",{value:1+$max(0,originalFunction.length-(arguments.length-1))})}return func};var applyBind=function applyBind(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module.exports,"apply",{value:applyBind}):module.exports.apply=applyBind},14960:function(module,__unused_webpack_exports,__webpack_require__){module.exports=__webpack_require__(51928)},51928:function(__unused_webpack_module,exports,__webpack_require__){ +/*! + * chai + * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +var used=[]; +/*! + * Chai version + */exports.version="4.3.3", +/*! + * Assertion Error + */ +exports.AssertionError=__webpack_require__(76126); +/*! + * Utils for plugins (not exported) + */ +var util=__webpack_require__(74920);exports.use=function(fn){return~used.indexOf(fn)||(fn(exports,util),used.push(fn)),exports}, +/*! + * Utility Functions + */ +exports.util=util; +/*! + * Configuration + */ +var config=__webpack_require__(54448);exports.config=config; +/*! + * Primary `Assertion` prototype + */ +var assertion=__webpack_require__(39507);exports.use(assertion); +/*! + * Core Assertions + */ +var core=__webpack_require__(7536);exports.use(core); +/*! + * Expect interface + */ +var expect=__webpack_require__(48007);exports.use(expect); +/*! + * Should interface + */ +var should=__webpack_require__(33292);exports.use(should); +/*! + * Assert interface + */ +var assert=__webpack_require__(72155);exports.use(assert)},39507:function(module,__unused_webpack_exports,__webpack_require__){ +/*! + * chai + * http://chaijs.com + * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +var config=__webpack_require__(54448);module.exports=function(_chai,util){ +/*! + * Module dependencies. + */ +var AssertionError=_chai.AssertionError,flag=util.flag; +/*! + * Module export. + */ +/*! + * Assertion Constructor + * + * Creates object for chaining. + * + * `Assertion` objects contain metadata in the form of flags. Three flags can + * be assigned during instantiation by passing arguments to this constructor: + * + * - `object`: This flag contains the target of the assertion. For example, in + * the assertion `expect(numKittens).to.equal(7);`, the `object` flag will + * contain `numKittens` so that the `equal` assertion can reference it when + * needed. + * + * - `message`: This flag contains an optional custom error message to be + * prepended to the error message that's generated by the assertion when it + * fails. + * + * - `ssfi`: This flag stands for "start stack function indicator". It + * contains a function reference that serves as the starting point for + * removing frames from the stack trace of the error that's created by the + * assertion when it fails. The goal is to provide a cleaner stack trace to + * end users by removing Chai's internal functions. Note that it only works + * in environments that support `Error.captureStackTrace`, and only when + * `Chai.config.includeStack` hasn't been set to `false`. + * + * - `lockSsfi`: This flag controls whether or not the given `ssfi` flag + * should retain its current value, even as assertions are chained off of + * this object. This is usually set to `true` when creating a new assertion + * from within another assertion. It's also temporarily set to `true` before + * an overwritten assertion gets called by the overwriting assertion. + * + * @param {Mixed} obj target of the assertion + * @param {String} msg (optional) custom error message + * @param {Function} ssfi (optional) starting point for removing stack frames + * @param {Boolean} lockSsfi (optional) whether or not the ssfi flag is locked + * @api private + */ +function Assertion(obj,msg,ssfi,lockSsfi){return flag(this,"ssfi",ssfi||Assertion),flag(this,"lockSsfi",lockSsfi),flag(this,"object",obj),flag(this,"message",msg),util.proxify(this)}_chai.Assertion=Assertion,Object.defineProperty(Assertion,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),config.includeStack},set:function(value){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),config.includeStack=value}}),Object.defineProperty(Assertion,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),config.showDiff},set:function(value){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),config.showDiff=value}}),Assertion.addProperty=function(name,fn){util.addProperty(this.prototype,name,fn)},Assertion.addMethod=function(name,fn){util.addMethod(this.prototype,name,fn)},Assertion.addChainableMethod=function(name,fn,chainingBehavior){util.addChainableMethod(this.prototype,name,fn,chainingBehavior)},Assertion.overwriteProperty=function(name,fn){util.overwriteProperty(this.prototype,name,fn)},Assertion.overwriteMethod=function(name,fn){util.overwriteMethod(this.prototype,name,fn)},Assertion.overwriteChainableMethod=function(name,fn,chainingBehavior){util.overwriteChainableMethod(this.prototype,name,fn,chainingBehavior)},Assertion.prototype.assert=function(expr,msg,negateMsg,expected,_actual,showDiff){var ok=util.test(this,arguments);if(!1!==showDiff&&(showDiff=!0),void 0===expected&&void 0===_actual&&(showDiff=!1),!0!==config.showDiff&&(showDiff=!1),!ok){msg=util.getMessage(this,arguments);var actual=util.getActual(this,arguments),assertionErrorObjectProperties={actual:actual,expected:expected,showDiff:showDiff},operator=util.getOperator(this,arguments);throw operator&&(assertionErrorObjectProperties.operator=operator),new AssertionError(msg,assertionErrorObjectProperties,config.includeStack?this.assert:flag(this,"ssfi"))}}, +/*! + * ### ._obj + * + * Quick reference to stored `actual` value for plugin developers. + * + * @api private + */ +Object.defineProperty(Assertion.prototype,"_obj",{get:function(){return flag(this,"object")},set:function(val){flag(this,"object",val)}})}},54448:function(module){module.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"]}},7536:function(module){ +/*! + * chai + * http://chaijs.com + * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +module.exports=function(chai,_){var Assertion=chai.Assertion,AssertionError=chai.AssertionError,flag=_.flag;function an(type,msg){msg&&flag(this,"message",msg),type=type.toLowerCase();var obj=flag(this,"object"),article=~["a","e","i","o","u"].indexOf(type.charAt(0))?"an ":"a ";this.assert(type===_.type(obj).toLowerCase(),"expected #{this} to be "+article+type,"expected #{this} not to be "+article+type)}function SameValueZero(a,b){return _.isNaN(a)&&_.isNaN(b)||a===b}function includeChainingBehavior(){flag(this,"contains",!0)}function include(val,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),objType=_.type(obj).toLowerCase(),flagMsg=flag(this,"message"),negate=flag(this,"negate"),ssfi=flag(this,"ssfi"),isDeep=flag(this,"deep"),descriptor=isDeep?"deep ":"";flagMsg=flagMsg?flagMsg+": ":"";var included=!1;switch(objType){case"string":included=-1!==obj.indexOf(val);break;case"weakset":if(isDeep)throw new AssertionError(flagMsg+"unable to use .deep.include with WeakSet",void 0,ssfi);included=obj.has(val);break;case"map":var isEql=isDeep?_.eql:SameValueZero;obj.forEach((function(item){included=included||isEql(item,val)}));break;case"set":isDeep?obj.forEach((function(item){included=included||_.eql(item,val)})):included=obj.has(val);break;case"array":included=isDeep?obj.some((function(item){return _.eql(item,val)})):-1!==obj.indexOf(val);break;default:if(val!==Object(val))throw new AssertionError(flagMsg+"the given combination of arguments ("+objType+" and "+_.type(val).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+_.type(val).toLowerCase(),void 0,ssfi);var props=Object.keys(val),firstErr=null,numErrs=0;if(props.forEach((function(prop){var propAssertion=new Assertion(obj);if(_.transferFlags(this,propAssertion,!0),flag(propAssertion,"lockSsfi",!0),negate&&1!==props.length)try{propAssertion.property(prop,val[prop])}catch(err){if(!_.checkError.compatibleConstructor(err,AssertionError))throw err;null===firstErr&&(firstErr=err),numErrs++}else propAssertion.property(prop,val[prop])}),this),negate&&props.length>1&&numErrs===props.length)throw firstErr;return}this.assert(included,"expected #{this} to "+descriptor+"include "+_.inspect(val),"expected #{this} to not "+descriptor+"include "+_.inspect(val))}function assertExist(){var val=flag(this,"object");this.assert(null!=val,"expected #{this} to exist","expected #{this} to not exist")}function checkArguments(){var obj=flag(this,"object"),type=_.type(obj);this.assert("Arguments"===type,"expected #{this} to be arguments but got "+type,"expected #{this} to not be arguments")}function assertEqual(val,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object");if(flag(this,"deep")){var prevLockSsfi=flag(this,"lockSsfi");flag(this,"lockSsfi",!0),this.eql(val),flag(this,"lockSsfi",prevLockSsfi)}else this.assert(val===obj,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",val,this._obj,!0)}function assertEql(obj,msg){msg&&flag(this,"message",msg),this.assert(_.eql(obj,flag(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",obj,this._obj,!0)}function assertAbove(n,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),shouldThrow=!0;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===nType)if("number"===nType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the argument to above must be a number";else errorMessage=msgPrefix+"the argument to above must be a date";if(shouldThrow)throw new AssertionError(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>n,"expected #{this} to have a "+descriptor+" above #{exp} but got #{act}","expected #{this} to not have a "+descriptor+" above #{exp}",n,itemsCount)}else this.assert(obj>n,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",n)}function assertLeast(n,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),shouldThrow=!0;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===nType)if("number"===nType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the argument to least must be a number";else errorMessage=msgPrefix+"the argument to least must be a date";if(shouldThrow)throw new AssertionError(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>=n,"expected #{this} to have a "+descriptor+" at least #{exp} but got #{act}","expected #{this} to have a "+descriptor+" below #{exp}",n,itemsCount)}else this.assert(obj>=n,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",n)}function assertBelow(n,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),shouldThrow=!0;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===nType)if("number"===nType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the argument to below must be a number";else errorMessage=msgPrefix+"the argument to below must be a date";if(shouldThrow)throw new AssertionError(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount<n,"expected #{this} to have a "+descriptor+" below #{exp} but got #{act}","expected #{this} to not have a "+descriptor+" below #{exp}",n,itemsCount)}else this.assert(obj<n,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",n)}function assertMost(n,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),shouldThrow=!0;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===nType)if("number"===nType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the argument to most must be a number";else errorMessage=msgPrefix+"the argument to most must be a date";if(shouldThrow)throw new AssertionError(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount<=n,"expected #{this} to have a "+descriptor+" at most #{exp} but got #{act}","expected #{this} to have a "+descriptor+" above #{exp}",n,itemsCount)}else this.assert(obj<=n,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",n)}function assertInstanceOf(constructor,msg){msg&&flag(this,"message",msg);var target=flag(this,"object"),ssfi=flag(this,"ssfi"),flagMsg=flag(this,"message");try{var isInstanceOf=target instanceof constructor}catch(err){if(err instanceof TypeError)throw new AssertionError((flagMsg=flagMsg?flagMsg+": ":"")+"The instanceof assertion needs a constructor but "+_.type(constructor)+" was given.",void 0,ssfi);throw err}var name=_.getName(constructor);null===name&&(name="an unnamed constructor"),this.assert(isInstanceOf,"expected #{this} to be an instance of "+name,"expected #{this} to not be an instance of "+name)}function assertProperty(name,val,msg){msg&&flag(this,"message",msg);var isNested=flag(this,"nested"),isOwn=flag(this,"own"),flagMsg=flag(this,"message"),obj=flag(this,"object"),ssfi=flag(this,"ssfi"),nameType=typeof name;if(flagMsg=flagMsg?flagMsg+": ":"",isNested){if("string"!==nameType)throw new AssertionError(flagMsg+"the argument to property must be a string when using nested syntax",void 0,ssfi)}else if("string"!==nameType&&"number"!==nameType&&"symbol"!==nameType)throw new AssertionError(flagMsg+"the argument to property must be a string, number, or symbol",void 0,ssfi);if(isNested&&isOwn)throw new AssertionError(flagMsg+'The "nested" and "own" flags cannot be combined.',void 0,ssfi);if(null==obj)throw new AssertionError(flagMsg+"Target cannot be null or undefined.",void 0,ssfi);var hasProperty,isDeep=flag(this,"deep"),negate=flag(this,"negate"),pathInfo=isNested?_.getPathInfo(obj,name):null,value=isNested?pathInfo.value:obj[name],descriptor="";isDeep&&(descriptor+="deep "),isOwn&&(descriptor+="own "),isNested&&(descriptor+="nested "),descriptor+="property ",hasProperty=isOwn?Object.prototype.hasOwnProperty.call(obj,name):isNested?pathInfo.exists:_.hasProperty(obj,name),negate&&1!==arguments.length||this.assert(hasProperty,"expected #{this} to have "+descriptor+_.inspect(name),"expected #{this} to not have "+descriptor+_.inspect(name)),arguments.length>1&&this.assert(hasProperty&&(isDeep?_.eql(val,value):val===value),"expected #{this} to have "+descriptor+_.inspect(name)+" of #{exp}, but got #{act}","expected #{this} to not have "+descriptor+_.inspect(name)+" of #{act}",val,value),flag(this,"object",value)}function assertOwnProperty(name,value,msg){flag(this,"own",!0),assertProperty.apply(this,arguments)}function assertOwnPropertyDescriptor(name,descriptor,msg){"string"==typeof descriptor&&(msg=descriptor,descriptor=null),msg&&flag(this,"message",msg);var obj=flag(this,"object"),actualDescriptor=Object.getOwnPropertyDescriptor(Object(obj),name);actualDescriptor&&descriptor?this.assert(_.eql(descriptor,actualDescriptor),"expected the own property descriptor for "+_.inspect(name)+" on #{this} to match "+_.inspect(descriptor)+", got "+_.inspect(actualDescriptor),"expected the own property descriptor for "+_.inspect(name)+" on #{this} to not match "+_.inspect(descriptor),descriptor,actualDescriptor,!0):this.assert(actualDescriptor,"expected #{this} to have an own property descriptor for "+_.inspect(name),"expected #{this} to not have an own property descriptor for "+_.inspect(name)),flag(this,"object",actualDescriptor)}function assertLengthChain(){flag(this,"doLength",!0)}function assertLength(n,msg){msg&&flag(this,"message",msg);var itemsCount,obj=flag(this,"object"),objType=_.type(obj).toLowerCase(),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi"),descriptor="length";switch(objType){case"map":case"set":descriptor="size",itemsCount=obj.size;break;default:new Assertion(obj,flagMsg,ssfi,!0).to.have.property("length"),itemsCount=obj.length}this.assert(itemsCount==n,"expected #{this} to have a "+descriptor+" of #{exp} but got #{act}","expected #{this} to not have a "+descriptor+" of #{act}",n,itemsCount)}function assertMatch(re,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object");this.assert(re.exec(obj),"expected #{this} to match "+re,"expected #{this} not to match "+re)}function assertKeys(keys){var str,actual,obj=flag(this,"object"),objType=_.type(obj),keysType=_.type(keys),ssfi=flag(this,"ssfi"),isDeep=flag(this,"deep"),deepStr="",ok=!0,flagMsg=flag(this,"message"),mixedArgsMsg=(flagMsg=flagMsg?flagMsg+": ":"")+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if("Map"===objType||"Set"===objType)deepStr=isDeep?"deeply ":"",actual=[],obj.forEach((function(val,key){actual.push(key)})),"Array"!==keysType&&(keys=Array.prototype.slice.call(arguments));else{switch(actual=_.getOwnEnumerableProperties(obj),keysType){case"Array":if(arguments.length>1)throw new AssertionError(mixedArgsMsg,void 0,ssfi);break;case"Object":if(arguments.length>1)throw new AssertionError(mixedArgsMsg,void 0,ssfi);keys=Object.keys(keys);break;default:keys=Array.prototype.slice.call(arguments)}keys=keys.map((function(val){return"symbol"==typeof val?val:String(val)}))}if(!keys.length)throw new AssertionError(flagMsg+"keys required",void 0,ssfi);var len=keys.length,any=flag(this,"any"),all=flag(this,"all"),expected=keys;if(any||all||(all=!0),any&&(ok=expected.some((function(expectedKey){return actual.some((function(actualKey){return isDeep?_.eql(expectedKey,actualKey):expectedKey===actualKey}))}))),all&&(ok=expected.every((function(expectedKey){return actual.some((function(actualKey){return isDeep?_.eql(expectedKey,actualKey):expectedKey===actualKey}))})),flag(this,"contains")||(ok=ok&&keys.length==actual.length)),len>1){var last=(keys=keys.map((function(key){return _.inspect(key)}))).pop();all&&(str=keys.join(", ")+", and "+last),any&&(str=keys.join(", ")+", or "+last)}else str=_.inspect(keys[0]);str=(len>1?"keys ":"key ")+str,str=(flag(this,"contains")?"contain ":"have ")+str,this.assert(ok,"expected #{this} to "+deepStr+str,"expected #{this} to not "+deepStr+str,expected.slice(0).sort(_.compareByInspect),actual.sort(_.compareByInspect),!0)}function assertThrows(errorLike,errMsgMatcher,msg){msg&&flag(this,"message",msg);var caughtErr,obj=flag(this,"object"),ssfi=flag(this,"ssfi"),flagMsg=flag(this,"message"),negate=flag(this,"negate")||!1;new Assertion(obj,flagMsg,ssfi,!0).is.a("function"),(errorLike instanceof RegExp||"string"==typeof errorLike)&&(errMsgMatcher=errorLike,errorLike=null);try{obj()}catch(err){caughtErr=err}var everyArgIsUndefined=void 0===errorLike&&void 0===errMsgMatcher,everyArgIsDefined=Boolean(errorLike&&errMsgMatcher),errorLikeFail=!1,errMsgMatcherFail=!1;if(everyArgIsUndefined||!everyArgIsUndefined&&!negate){var errorLikeString="an error";errorLike instanceof Error?errorLikeString="#{exp}":errorLike&&(errorLikeString=_.checkError.getConstructorName(errorLike)),this.assert(caughtErr,"expected #{this} to throw "+errorLikeString,"expected #{this} to not throw an error but #{act} was thrown",errorLike&&errorLike.toString(),caughtErr instanceof Error?caughtErr.toString():"string"==typeof caughtErr?caughtErr:caughtErr&&_.checkError.getConstructorName(caughtErr))}if(errorLike&&caughtErr){if(errorLike instanceof Error)_.checkError.compatibleInstance(caughtErr,errorLike)===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(caughtErr&&!negate?" but #{act} was thrown":""),errorLike.toString(),caughtErr.toString()));_.checkError.compatibleConstructor(caughtErr,errorLike)===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(caughtErr?" but #{act} was thrown":""),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)))}if(caughtErr&&null!=errMsgMatcher){var placeholder="including";errMsgMatcher instanceof RegExp&&(placeholder="matching"),_.checkError.compatibleMessage(caughtErr,errMsgMatcher)===negate&&(everyArgIsDefined&&negate?errMsgMatcherFail=!0:this.assert(negate,"expected #{this} to throw error "+placeholder+" #{exp} but got #{act}","expected #{this} to throw error not "+placeholder+" #{exp}",errMsgMatcher,_.checkError.getMessage(caughtErr)))}errorLikeFail&&errMsgMatcherFail&&this.assert(negate,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(caughtErr?" but #{act} was thrown":""),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)),flag(this,"object",caughtErr)}function respondTo(method,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),itself=flag(this,"itself"),context="function"!=typeof obj||itself?obj[method]:obj.prototype[method];this.assert("function"==typeof context,"expected #{this} to respond to "+_.inspect(method),"expected #{this} to not respond to "+_.inspect(method))}function satisfy(matcher,msg){msg&&flag(this,"message",msg);var result=matcher(flag(this,"object"));this.assert(result,"expected #{this} to satisfy "+_.objDisplay(matcher),"expected #{this} to not satisfy"+_.objDisplay(matcher),!flag(this,"negate"),result)}function closeTo(expected,delta,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");if(new Assertion(obj,flagMsg,ssfi,!0).is.a("number"),"number"!=typeof expected||"number"!=typeof delta)throw new AssertionError((flagMsg=flagMsg?flagMsg+": ":"")+"the arguments to closeTo or approximately must be numbers"+(void 0===delta?", and a delta is required":""),void 0,ssfi);this.assert(Math.abs(obj-expected)<=delta,"expected #{this} to be close to "+expected+" +/- "+delta,"expected #{this} not to be close to "+expected+" +/- "+delta)}function assertChanges(subject,prop,msg){msg&&flag(this,"message",msg);var initial,fn=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion(fn,flagMsg,ssfi,!0).is.a("function"),prop?(new Assertion(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion(subject,flagMsg,ssfi,!0).is.a("function"),initial=subject()),fn();var final=null==prop?subject():subject[prop],msgObj=null==prop?initial:"."+prop;flag(this,"deltaMsgObj",msgObj),flag(this,"initialDeltaValue",initial),flag(this,"finalDeltaValue",final),flag(this,"deltaBehavior","change"),flag(this,"realDelta",final!==initial),this.assert(initial!==final,"expected "+msgObj+" to change","expected "+msgObj+" to not change")}function assertIncreases(subject,prop,msg){msg&&flag(this,"message",msg);var initial,fn=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion(fn,flagMsg,ssfi,!0).is.a("function"),prop?(new Assertion(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion(subject,flagMsg,ssfi,!0).is.a("function"),initial=subject()),new Assertion(initial,flagMsg,ssfi,!0).is.a("number"),fn();var final=null==prop?subject():subject[prop],msgObj=null==prop?initial:"."+prop;flag(this,"deltaMsgObj",msgObj),flag(this,"initialDeltaValue",initial),flag(this,"finalDeltaValue",final),flag(this,"deltaBehavior","increase"),flag(this,"realDelta",final-initial),this.assert(final-initial>0,"expected "+msgObj+" to increase","expected "+msgObj+" to not increase")}function assertDecreases(subject,prop,msg){msg&&flag(this,"message",msg);var initial,fn=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion(fn,flagMsg,ssfi,!0).is.a("function"),prop?(new Assertion(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion(subject,flagMsg,ssfi,!0).is.a("function"),initial=subject()),new Assertion(initial,flagMsg,ssfi,!0).is.a("number"),fn();var final=null==prop?subject():subject[prop],msgObj=null==prop?initial:"."+prop;flag(this,"deltaMsgObj",msgObj),flag(this,"initialDeltaValue",initial),flag(this,"finalDeltaValue",final),flag(this,"deltaBehavior","decrease"),flag(this,"realDelta",initial-final),this.assert(final-initial<0,"expected "+msgObj+" to decrease","expected "+msgObj+" to not decrease")}["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach((function(chain){Assertion.addProperty(chain)})),Assertion.addProperty("not",(function(){flag(this,"negate",!0)})),Assertion.addProperty("deep",(function(){flag(this,"deep",!0)})),Assertion.addProperty("nested",(function(){flag(this,"nested",!0)})),Assertion.addProperty("own",(function(){flag(this,"own",!0)})),Assertion.addProperty("ordered",(function(){flag(this,"ordered",!0)})),Assertion.addProperty("any",(function(){flag(this,"any",!0),flag(this,"all",!1)})),Assertion.addProperty("all",(function(){flag(this,"all",!0),flag(this,"any",!1)})),Assertion.addChainableMethod("an",an),Assertion.addChainableMethod("a",an),Assertion.addChainableMethod("include",include,includeChainingBehavior),Assertion.addChainableMethod("contain",include,includeChainingBehavior),Assertion.addChainableMethod("contains",include,includeChainingBehavior),Assertion.addChainableMethod("includes",include,includeChainingBehavior),Assertion.addProperty("ok",(function(){this.assert(flag(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")})),Assertion.addProperty("true",(function(){this.assert(!0===flag(this,"object"),"expected #{this} to be true","expected #{this} to be false",!flag(this,"negate"))})),Assertion.addProperty("false",(function(){this.assert(!1===flag(this,"object"),"expected #{this} to be false","expected #{this} to be true",!!flag(this,"negate"))})),Assertion.addProperty("null",(function(){this.assert(null===flag(this,"object"),"expected #{this} to be null","expected #{this} not to be null")})),Assertion.addProperty("undefined",(function(){this.assert(void 0===flag(this,"object"),"expected #{this} to be undefined","expected #{this} not to be undefined")})),Assertion.addProperty("NaN",(function(){this.assert(_.isNaN(flag(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")})),Assertion.addProperty("exist",assertExist),Assertion.addProperty("exists",assertExist),Assertion.addProperty("empty",(function(){var itemsCount,val=flag(this,"object"),ssfi=flag(this,"ssfi"),flagMsg=flag(this,"message");switch(flagMsg=flagMsg?flagMsg+": ":"",_.type(val).toLowerCase()){case"array":case"string":itemsCount=val.length;break;case"map":case"set":itemsCount=val.size;break;case"weakmap":case"weakset":throw new AssertionError(flagMsg+".empty was passed a weak collection",void 0,ssfi);case"function":var msg=flagMsg+".empty was passed a function "+_.getName(val);throw new AssertionError(msg.trim(),void 0,ssfi);default:if(val!==Object(val))throw new AssertionError(flagMsg+".empty was passed non-string primitive "+_.inspect(val),void 0,ssfi);itemsCount=Object.keys(val).length}this.assert(0===itemsCount,"expected #{this} to be empty","expected #{this} not to be empty")})),Assertion.addProperty("arguments",checkArguments),Assertion.addProperty("Arguments",checkArguments),Assertion.addMethod("equal",assertEqual),Assertion.addMethod("equals",assertEqual),Assertion.addMethod("eq",assertEqual),Assertion.addMethod("eql",assertEql),Assertion.addMethod("eqls",assertEql),Assertion.addMethod("above",assertAbove),Assertion.addMethod("gt",assertAbove),Assertion.addMethod("greaterThan",assertAbove),Assertion.addMethod("least",assertLeast),Assertion.addMethod("gte",assertLeast),Assertion.addMethod("greaterThanOrEqual",assertLeast),Assertion.addMethod("below",assertBelow),Assertion.addMethod("lt",assertBelow),Assertion.addMethod("lessThan",assertBelow),Assertion.addMethod("most",assertMost),Assertion.addMethod("lte",assertMost),Assertion.addMethod("lessThanOrEqual",assertMost),Assertion.addMethod("within",(function(start,finish,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),startType=_.type(start).toLowerCase(),finishType=_.type(finish).toLowerCase(),shouldThrow=!0,range="date"===startType&&"date"===finishType?start.toISOString()+".."+finish.toISOString():start+".."+finish;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===startType&&"date"===finishType)if("number"===startType&&"number"===finishType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the arguments to within must be numbers";else errorMessage=msgPrefix+"the arguments to within must be dates";if(shouldThrow)throw new AssertionError(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>=start&&itemsCount<=finish,"expected #{this} to have a "+descriptor+" within "+range,"expected #{this} to not have a "+descriptor+" within "+range)}else this.assert(obj>=start&&obj<=finish,"expected #{this} to be within "+range,"expected #{this} to not be within "+range)})),Assertion.addMethod("instanceof",assertInstanceOf),Assertion.addMethod("instanceOf",assertInstanceOf),Assertion.addMethod("property",assertProperty),Assertion.addMethod("ownProperty",assertOwnProperty),Assertion.addMethod("haveOwnProperty",assertOwnProperty),Assertion.addMethod("ownPropertyDescriptor",assertOwnPropertyDescriptor),Assertion.addMethod("haveOwnPropertyDescriptor",assertOwnPropertyDescriptor),Assertion.addChainableMethod("length",assertLength,assertLengthChain),Assertion.addChainableMethod("lengthOf",assertLength,assertLengthChain),Assertion.addMethod("match",assertMatch),Assertion.addMethod("matches",assertMatch),Assertion.addMethod("string",(function(str,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion(obj,flagMsg,ssfi,!0).is.a("string"),this.assert(~obj.indexOf(str),"expected #{this} to contain "+_.inspect(str),"expected #{this} to not contain "+_.inspect(str))})),Assertion.addMethod("keys",assertKeys),Assertion.addMethod("key",assertKeys),Assertion.addMethod("throw",assertThrows),Assertion.addMethod("throws",assertThrows),Assertion.addMethod("Throw",assertThrows),Assertion.addMethod("respondTo",respondTo),Assertion.addMethod("respondsTo",respondTo),Assertion.addProperty("itself",(function(){flag(this,"itself",!0)})),Assertion.addMethod("satisfy",satisfy),Assertion.addMethod("satisfies",satisfy),Assertion.addMethod("closeTo",closeTo),Assertion.addMethod("approximately",closeTo),Assertion.addMethod("members",(function(subset,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion(obj,flagMsg,ssfi,!0).to.be.an("array"),new Assertion(subset,flagMsg,ssfi,!0).to.be.an("array");var subject,failMsg,failNegateMsg,contains=flag(this,"contains"),ordered=flag(this,"ordered");contains?(failMsg="expected #{this} to be "+(subject=ordered?"an ordered superset":"a superset")+" of #{exp}",failNegateMsg="expected #{this} to not be "+subject+" of #{exp}"):(failMsg="expected #{this} to have the same "+(subject=ordered?"ordered members":"members")+" as #{exp}",failNegateMsg="expected #{this} to not have the same "+subject+" as #{exp}");var cmp=flag(this,"deep")?_.eql:void 0;this.assert(function isSubsetOf(subset,superset,cmp,contains,ordered){if(!contains){if(subset.length!==superset.length)return!1;superset=superset.slice()}return subset.every((function(elem,idx){if(ordered)return cmp?cmp(elem,superset[idx]):elem===superset[idx];if(!cmp){var matchIdx=superset.indexOf(elem);return-1!==matchIdx&&(contains||superset.splice(matchIdx,1),!0)}return superset.some((function(elem2,matchIdx){return!!cmp(elem,elem2)&&(contains||superset.splice(matchIdx,1),!0)}))}))}(subset,obj,cmp,contains,ordered),failMsg,failNegateMsg,subset,obj,!0)})),Assertion.addMethod("oneOf",(function oneOf(list,msg){msg&&flag(this,"message",msg);var expected=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi"),contains=flag(this,"contains"),isDeep=flag(this,"deep");new Assertion(list,flagMsg,ssfi,!0).to.be.an("array"),contains?this.assert(list.some((function(possibility){return expected.indexOf(possibility)>-1})),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",list,expected):isDeep?this.assert(list.some((function(possibility){return _.eql(expected,possibility)})),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",list,expected):this.assert(list.indexOf(expected)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",list,expected)})),Assertion.addMethod("change",assertChanges),Assertion.addMethod("changes",assertChanges),Assertion.addMethod("increase",assertIncreases),Assertion.addMethod("increases",assertIncreases),Assertion.addMethod("decrease",assertDecreases),Assertion.addMethod("decreases",assertDecreases),Assertion.addMethod("by",(function assertDelta(delta,msg){msg&&flag(this,"message",msg);var expression,msgObj=flag(this,"deltaMsgObj"),initial=flag(this,"initialDeltaValue"),final=flag(this,"finalDeltaValue"),behavior=flag(this,"deltaBehavior"),realDelta=flag(this,"realDelta");expression="change"===behavior?Math.abs(final-initial)===Math.abs(delta):realDelta===Math.abs(delta),this.assert(expression,"expected "+msgObj+" to "+behavior+" by "+delta,"expected "+msgObj+" to not "+behavior+" by "+delta)})),Assertion.addProperty("extensible",(function(){var obj=flag(this,"object"),isExtensible=obj===Object(obj)&&Object.isExtensible(obj);this.assert(isExtensible,"expected #{this} to be extensible","expected #{this} to not be extensible")})),Assertion.addProperty("sealed",(function(){var obj=flag(this,"object"),isSealed=obj!==Object(obj)||Object.isSealed(obj);this.assert(isSealed,"expected #{this} to be sealed","expected #{this} to not be sealed")})),Assertion.addProperty("frozen",(function(){var obj=flag(this,"object"),isFrozen=obj!==Object(obj)||Object.isFrozen(obj);this.assert(isFrozen,"expected #{this} to be frozen","expected #{this} to not be frozen")})),Assertion.addProperty("finite",(function(msg){var obj=flag(this,"object");this.assert("number"==typeof obj&&isFinite(obj),"expected #{this} to be a finite number","expected #{this} to not be a finite number")}))}},72155:function(module){ +/*! + * chai + * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +module.exports=function(chai,util){ +/*! + * Chai dependencies. + */ +var Assertion=chai.Assertion,flag=util.flag,assert=chai.assert=function(express,errmsg){new Assertion(null,null,chai.assert,!0).assert(express,errmsg,"[ negation message unavailable ]")}; +/*! + * Module export. + */assert.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||"assert.fail()",new chai.AssertionError(message,{actual:actual,expected:expected,operator:operator},assert.fail)},assert.isOk=function(val,msg){new Assertion(val,msg,assert.isOk,!0).is.ok},assert.isNotOk=function(val,msg){new Assertion(val,msg,assert.isNotOk,!0).is.not.ok},assert.equal=function(act,exp,msg){var test=new Assertion(act,msg,assert.equal,!0);test.assert(exp==flag(test,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",exp,act,!0)},assert.notEqual=function(act,exp,msg){var test=new Assertion(act,msg,assert.notEqual,!0);test.assert(exp!=flag(test,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",exp,act,!0)},assert.strictEqual=function(act,exp,msg){new Assertion(act,msg,assert.strictEqual,!0).to.equal(exp)},assert.notStrictEqual=function(act,exp,msg){new Assertion(act,msg,assert.notStrictEqual,!0).to.not.equal(exp)},assert.deepEqual=assert.deepStrictEqual=function(act,exp,msg){new Assertion(act,msg,assert.deepEqual,!0).to.eql(exp)},assert.notDeepEqual=function(act,exp,msg){new Assertion(act,msg,assert.notDeepEqual,!0).to.not.eql(exp)},assert.isAbove=function(val,abv,msg){new Assertion(val,msg,assert.isAbove,!0).to.be.above(abv)},assert.isAtLeast=function(val,atlst,msg){new Assertion(val,msg,assert.isAtLeast,!0).to.be.least(atlst)},assert.isBelow=function(val,blw,msg){new Assertion(val,msg,assert.isBelow,!0).to.be.below(blw)},assert.isAtMost=function(val,atmst,msg){new Assertion(val,msg,assert.isAtMost,!0).to.be.most(atmst)},assert.isTrue=function(val,msg){new Assertion(val,msg,assert.isTrue,!0).is.true},assert.isNotTrue=function(val,msg){new Assertion(val,msg,assert.isNotTrue,!0).to.not.equal(!0)},assert.isFalse=function(val,msg){new Assertion(val,msg,assert.isFalse,!0).is.false},assert.isNotFalse=function(val,msg){new Assertion(val,msg,assert.isNotFalse,!0).to.not.equal(!1)},assert.isNull=function(val,msg){new Assertion(val,msg,assert.isNull,!0).to.equal(null)},assert.isNotNull=function(val,msg){new Assertion(val,msg,assert.isNotNull,!0).to.not.equal(null)},assert.isNaN=function(val,msg){new Assertion(val,msg,assert.isNaN,!0).to.be.NaN},assert.isNotNaN=function(val,msg){new Assertion(val,msg,assert.isNotNaN,!0).not.to.be.NaN},assert.exists=function(val,msg){new Assertion(val,msg,assert.exists,!0).to.exist},assert.notExists=function(val,msg){new Assertion(val,msg,assert.notExists,!0).to.not.exist},assert.isUndefined=function(val,msg){new Assertion(val,msg,assert.isUndefined,!0).to.equal(void 0)},assert.isDefined=function(val,msg){new Assertion(val,msg,assert.isDefined,!0).to.not.equal(void 0)},assert.isFunction=function(val,msg){new Assertion(val,msg,assert.isFunction,!0).to.be.a("function")},assert.isNotFunction=function(val,msg){new Assertion(val,msg,assert.isNotFunction,!0).to.not.be.a("function")},assert.isObject=function(val,msg){new Assertion(val,msg,assert.isObject,!0).to.be.a("object")},assert.isNotObject=function(val,msg){new Assertion(val,msg,assert.isNotObject,!0).to.not.be.a("object")},assert.isArray=function(val,msg){new Assertion(val,msg,assert.isArray,!0).to.be.an("array")},assert.isNotArray=function(val,msg){new Assertion(val,msg,assert.isNotArray,!0).to.not.be.an("array")},assert.isString=function(val,msg){new Assertion(val,msg,assert.isString,!0).to.be.a("string")},assert.isNotString=function(val,msg){new Assertion(val,msg,assert.isNotString,!0).to.not.be.a("string")},assert.isNumber=function(val,msg){new Assertion(val,msg,assert.isNumber,!0).to.be.a("number")},assert.isNotNumber=function(val,msg){new Assertion(val,msg,assert.isNotNumber,!0).to.not.be.a("number")},assert.isFinite=function(val,msg){new Assertion(val,msg,assert.isFinite,!0).to.be.finite},assert.isBoolean=function(val,msg){new Assertion(val,msg,assert.isBoolean,!0).to.be.a("boolean")},assert.isNotBoolean=function(val,msg){new Assertion(val,msg,assert.isNotBoolean,!0).to.not.be.a("boolean")},assert.typeOf=function(val,type,msg){new Assertion(val,msg,assert.typeOf,!0).to.be.a(type)},assert.notTypeOf=function(val,type,msg){new Assertion(val,msg,assert.notTypeOf,!0).to.not.be.a(type)},assert.instanceOf=function(val,type,msg){new Assertion(val,msg,assert.instanceOf,!0).to.be.instanceOf(type)},assert.notInstanceOf=function(val,type,msg){new Assertion(val,msg,assert.notInstanceOf,!0).to.not.be.instanceOf(type)},assert.include=function(exp,inc,msg){new Assertion(exp,msg,assert.include,!0).include(inc)},assert.notInclude=function(exp,inc,msg){new Assertion(exp,msg,assert.notInclude,!0).not.include(inc)},assert.deepInclude=function(exp,inc,msg){new Assertion(exp,msg,assert.deepInclude,!0).deep.include(inc)},assert.notDeepInclude=function(exp,inc,msg){new Assertion(exp,msg,assert.notDeepInclude,!0).not.deep.include(inc)},assert.nestedInclude=function(exp,inc,msg){new Assertion(exp,msg,assert.nestedInclude,!0).nested.include(inc)},assert.notNestedInclude=function(exp,inc,msg){new Assertion(exp,msg,assert.notNestedInclude,!0).not.nested.include(inc)},assert.deepNestedInclude=function(exp,inc,msg){new Assertion(exp,msg,assert.deepNestedInclude,!0).deep.nested.include(inc)},assert.notDeepNestedInclude=function(exp,inc,msg){new Assertion(exp,msg,assert.notDeepNestedInclude,!0).not.deep.nested.include(inc)},assert.ownInclude=function(exp,inc,msg){new Assertion(exp,msg,assert.ownInclude,!0).own.include(inc)},assert.notOwnInclude=function(exp,inc,msg){new Assertion(exp,msg,assert.notOwnInclude,!0).not.own.include(inc)},assert.deepOwnInclude=function(exp,inc,msg){new Assertion(exp,msg,assert.deepOwnInclude,!0).deep.own.include(inc)},assert.notDeepOwnInclude=function(exp,inc,msg){new Assertion(exp,msg,assert.notDeepOwnInclude,!0).not.deep.own.include(inc)},assert.match=function(exp,re,msg){new Assertion(exp,msg,assert.match,!0).to.match(re)},assert.notMatch=function(exp,re,msg){new Assertion(exp,msg,assert.notMatch,!0).to.not.match(re)},assert.property=function(obj,prop,msg){new Assertion(obj,msg,assert.property,!0).to.have.property(prop)},assert.notProperty=function(obj,prop,msg){new Assertion(obj,msg,assert.notProperty,!0).to.not.have.property(prop)},assert.propertyVal=function(obj,prop,val,msg){new Assertion(obj,msg,assert.propertyVal,!0).to.have.property(prop,val)},assert.notPropertyVal=function(obj,prop,val,msg){new Assertion(obj,msg,assert.notPropertyVal,!0).to.not.have.property(prop,val)},assert.deepPropertyVal=function(obj,prop,val,msg){new Assertion(obj,msg,assert.deepPropertyVal,!0).to.have.deep.property(prop,val)},assert.notDeepPropertyVal=function(obj,prop,val,msg){new Assertion(obj,msg,assert.notDeepPropertyVal,!0).to.not.have.deep.property(prop,val)},assert.ownProperty=function(obj,prop,msg){new Assertion(obj,msg,assert.ownProperty,!0).to.have.own.property(prop)},assert.notOwnProperty=function(obj,prop,msg){new Assertion(obj,msg,assert.notOwnProperty,!0).to.not.have.own.property(prop)},assert.ownPropertyVal=function(obj,prop,value,msg){new Assertion(obj,msg,assert.ownPropertyVal,!0).to.have.own.property(prop,value)},assert.notOwnPropertyVal=function(obj,prop,value,msg){new Assertion(obj,msg,assert.notOwnPropertyVal,!0).to.not.have.own.property(prop,value)},assert.deepOwnPropertyVal=function(obj,prop,value,msg){new Assertion(obj,msg,assert.deepOwnPropertyVal,!0).to.have.deep.own.property(prop,value)},assert.notDeepOwnPropertyVal=function(obj,prop,value,msg){new Assertion(obj,msg,assert.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(prop,value)},assert.nestedProperty=function(obj,prop,msg){new Assertion(obj,msg,assert.nestedProperty,!0).to.have.nested.property(prop)},assert.notNestedProperty=function(obj,prop,msg){new Assertion(obj,msg,assert.notNestedProperty,!0).to.not.have.nested.property(prop)},assert.nestedPropertyVal=function(obj,prop,val,msg){new Assertion(obj,msg,assert.nestedPropertyVal,!0).to.have.nested.property(prop,val)},assert.notNestedPropertyVal=function(obj,prop,val,msg){new Assertion(obj,msg,assert.notNestedPropertyVal,!0).to.not.have.nested.property(prop,val)},assert.deepNestedPropertyVal=function(obj,prop,val,msg){new Assertion(obj,msg,assert.deepNestedPropertyVal,!0).to.have.deep.nested.property(prop,val)},assert.notDeepNestedPropertyVal=function(obj,prop,val,msg){new Assertion(obj,msg,assert.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(prop,val)},assert.lengthOf=function(exp,len,msg){new Assertion(exp,msg,assert.lengthOf,!0).to.have.lengthOf(len)},assert.hasAnyKeys=function(obj,keys,msg){new Assertion(obj,msg,assert.hasAnyKeys,!0).to.have.any.keys(keys)},assert.hasAllKeys=function(obj,keys,msg){new Assertion(obj,msg,assert.hasAllKeys,!0).to.have.all.keys(keys)},assert.containsAllKeys=function(obj,keys,msg){new Assertion(obj,msg,assert.containsAllKeys,!0).to.contain.all.keys(keys)},assert.doesNotHaveAnyKeys=function(obj,keys,msg){new Assertion(obj,msg,assert.doesNotHaveAnyKeys,!0).to.not.have.any.keys(keys)},assert.doesNotHaveAllKeys=function(obj,keys,msg){new Assertion(obj,msg,assert.doesNotHaveAllKeys,!0).to.not.have.all.keys(keys)},assert.hasAnyDeepKeys=function(obj,keys,msg){new Assertion(obj,msg,assert.hasAnyDeepKeys,!0).to.have.any.deep.keys(keys)},assert.hasAllDeepKeys=function(obj,keys,msg){new Assertion(obj,msg,assert.hasAllDeepKeys,!0).to.have.all.deep.keys(keys)},assert.containsAllDeepKeys=function(obj,keys,msg){new Assertion(obj,msg,assert.containsAllDeepKeys,!0).to.contain.all.deep.keys(keys)},assert.doesNotHaveAnyDeepKeys=function(obj,keys,msg){new Assertion(obj,msg,assert.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(keys)},assert.doesNotHaveAllDeepKeys=function(obj,keys,msg){new Assertion(obj,msg,assert.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(keys)},assert.throws=function(fn,errorLike,errMsgMatcher,msg){("string"==typeof errorLike||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null);var assertErr=new Assertion(fn,msg,assert.throws,!0).to.throw(errorLike,errMsgMatcher);return flag(assertErr,"object")},assert.doesNotThrow=function(fn,errorLike,errMsgMatcher,msg){("string"==typeof errorLike||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null),new Assertion(fn,msg,assert.doesNotThrow,!0).to.not.throw(errorLike,errMsgMatcher)},assert.operator=function(val,operator,val2,msg){var ok;switch(operator){case"==":ok=val==val2;break;case"===":ok=val===val2;break;case">":ok=val>val2;break;case">=":ok=val>=val2;break;case"<":ok=val<val2;break;case"<=":ok=val<=val2;break;case"!=":ok=val!=val2;break;case"!==":ok=val!==val2;break;default:throw msg=msg?msg+": ":msg,new chai.AssertionError(msg+'Invalid operator "'+operator+'"',void 0,assert.operator)}var test=new Assertion(ok,msg,assert.operator,!0);test.assert(!0===flag(test,"object"),"expected "+util.inspect(val)+" to be "+operator+" "+util.inspect(val2),"expected "+util.inspect(val)+" to not be "+operator+" "+util.inspect(val2))},assert.closeTo=function(act,exp,delta,msg){new Assertion(act,msg,assert.closeTo,!0).to.be.closeTo(exp,delta)},assert.approximately=function(act,exp,delta,msg){new Assertion(act,msg,assert.approximately,!0).to.be.approximately(exp,delta)},assert.sameMembers=function(set1,set2,msg){new Assertion(set1,msg,assert.sameMembers,!0).to.have.same.members(set2)},assert.notSameMembers=function(set1,set2,msg){new Assertion(set1,msg,assert.notSameMembers,!0).to.not.have.same.members(set2)},assert.sameDeepMembers=function(set1,set2,msg){new Assertion(set1,msg,assert.sameDeepMembers,!0).to.have.same.deep.members(set2)},assert.notSameDeepMembers=function(set1,set2,msg){new Assertion(set1,msg,assert.notSameDeepMembers,!0).to.not.have.same.deep.members(set2)},assert.sameOrderedMembers=function(set1,set2,msg){new Assertion(set1,msg,assert.sameOrderedMembers,!0).to.have.same.ordered.members(set2)},assert.notSameOrderedMembers=function(set1,set2,msg){new Assertion(set1,msg,assert.notSameOrderedMembers,!0).to.not.have.same.ordered.members(set2)},assert.sameDeepOrderedMembers=function(set1,set2,msg){new Assertion(set1,msg,assert.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(set2)},assert.notSameDeepOrderedMembers=function(set1,set2,msg){new Assertion(set1,msg,assert.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(set2)},assert.includeMembers=function(superset,subset,msg){new Assertion(superset,msg,assert.includeMembers,!0).to.include.members(subset)},assert.notIncludeMembers=function(superset,subset,msg){new Assertion(superset,msg,assert.notIncludeMembers,!0).to.not.include.members(subset)},assert.includeDeepMembers=function(superset,subset,msg){new Assertion(superset,msg,assert.includeDeepMembers,!0).to.include.deep.members(subset)},assert.notIncludeDeepMembers=function(superset,subset,msg){new Assertion(superset,msg,assert.notIncludeDeepMembers,!0).to.not.include.deep.members(subset)},assert.includeOrderedMembers=function(superset,subset,msg){new Assertion(superset,msg,assert.includeOrderedMembers,!0).to.include.ordered.members(subset)},assert.notIncludeOrderedMembers=function(superset,subset,msg){new Assertion(superset,msg,assert.notIncludeOrderedMembers,!0).to.not.include.ordered.members(subset)},assert.includeDeepOrderedMembers=function(superset,subset,msg){new Assertion(superset,msg,assert.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(subset)},assert.notIncludeDeepOrderedMembers=function(superset,subset,msg){new Assertion(superset,msg,assert.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(subset)},assert.oneOf=function(inList,list,msg){new Assertion(inList,msg,assert.oneOf,!0).to.be.oneOf(list)},assert.changes=function(fn,obj,prop,msg){3===arguments.length&&"function"==typeof obj&&(msg=prop,prop=null),new Assertion(fn,msg,assert.changes,!0).to.change(obj,prop)},assert.changesBy=function(fn,obj,prop,delta,msg){if(4===arguments.length&&"function"==typeof obj){var tmpMsg=delta;delta=prop,msg=tmpMsg}else 3===arguments.length&&(delta=prop,prop=null);new Assertion(fn,msg,assert.changesBy,!0).to.change(obj,prop).by(delta)},assert.doesNotChange=function(fn,obj,prop,msg){return 3===arguments.length&&"function"==typeof obj&&(msg=prop,prop=null),new Assertion(fn,msg,assert.doesNotChange,!0).to.not.change(obj,prop)},assert.changesButNotBy=function(fn,obj,prop,delta,msg){if(4===arguments.length&&"function"==typeof obj){var tmpMsg=delta;delta=prop,msg=tmpMsg}else 3===arguments.length&&(delta=prop,prop=null);new Assertion(fn,msg,assert.changesButNotBy,!0).to.change(obj,prop).but.not.by(delta)},assert.increases=function(fn,obj,prop,msg){return 3===arguments.length&&"function"==typeof obj&&(msg=prop,prop=null),new Assertion(fn,msg,assert.increases,!0).to.increase(obj,prop)},assert.increasesBy=function(fn,obj,prop,delta,msg){if(4===arguments.length&&"function"==typeof obj){var tmpMsg=delta;delta=prop,msg=tmpMsg}else 3===arguments.length&&(delta=prop,prop=null);new Assertion(fn,msg,assert.increasesBy,!0).to.increase(obj,prop).by(delta)},assert.doesNotIncrease=function(fn,obj,prop,msg){return 3===arguments.length&&"function"==typeof obj&&(msg=prop,prop=null),new Assertion(fn,msg,assert.doesNotIncrease,!0).to.not.increase(obj,prop)},assert.increasesButNotBy=function(fn,obj,prop,delta,msg){if(4===arguments.length&&"function"==typeof obj){var tmpMsg=delta;delta=prop,msg=tmpMsg}else 3===arguments.length&&(delta=prop,prop=null);new Assertion(fn,msg,assert.increasesButNotBy,!0).to.increase(obj,prop).but.not.by(delta)},assert.decreases=function(fn,obj,prop,msg){return 3===arguments.length&&"function"==typeof obj&&(msg=prop,prop=null),new Assertion(fn,msg,assert.decreases,!0).to.decrease(obj,prop)},assert.decreasesBy=function(fn,obj,prop,delta,msg){if(4===arguments.length&&"function"==typeof obj){var tmpMsg=delta;delta=prop,msg=tmpMsg}else 3===arguments.length&&(delta=prop,prop=null);new Assertion(fn,msg,assert.decreasesBy,!0).to.decrease(obj,prop).by(delta)},assert.doesNotDecrease=function(fn,obj,prop,msg){return 3===arguments.length&&"function"==typeof obj&&(msg=prop,prop=null),new Assertion(fn,msg,assert.doesNotDecrease,!0).to.not.decrease(obj,prop)},assert.doesNotDecreaseBy=function(fn,obj,prop,delta,msg){if(4===arguments.length&&"function"==typeof obj){var tmpMsg=delta;delta=prop,msg=tmpMsg}else 3===arguments.length&&(delta=prop,prop=null);return new Assertion(fn,msg,assert.doesNotDecreaseBy,!0).to.not.decrease(obj,prop).by(delta)},assert.decreasesButNotBy=function(fn,obj,prop,delta,msg){if(4===arguments.length&&"function"==typeof obj){var tmpMsg=delta;delta=prop,msg=tmpMsg}else 3===arguments.length&&(delta=prop,prop=null);new Assertion(fn,msg,assert.decreasesButNotBy,!0).to.decrease(obj,prop).but.not.by(delta)} +/*! + * ### .ifError(object) + * + * Asserts if value is not a false value, and throws if it is a true value. + * This is added to allow for chai to be a drop-in replacement for Node's + * assert class. + * + * var err = new Error('I am a custom error'); + * assert.ifError(err); // Rethrows err! + * + * @name ifError + * @param {Object} object + * @namespace Assert + * @api public + */,assert.ifError=function(val){if(val)throw val},assert.isExtensible=function(obj,msg){new Assertion(obj,msg,assert.isExtensible,!0).to.be.extensible},assert.isNotExtensible=function(obj,msg){new Assertion(obj,msg,assert.isNotExtensible,!0).to.not.be.extensible},assert.isSealed=function(obj,msg){new Assertion(obj,msg,assert.isSealed,!0).to.be.sealed},assert.isNotSealed=function(obj,msg){new Assertion(obj,msg,assert.isNotSealed,!0).to.not.be.sealed},assert.isFrozen=function(obj,msg){new Assertion(obj,msg,assert.isFrozen,!0).to.be.frozen},assert.isNotFrozen=function(obj,msg){new Assertion(obj,msg,assert.isNotFrozen,!0).to.not.be.frozen},assert.isEmpty=function(val,msg){new Assertion(val,msg,assert.isEmpty,!0).to.be.empty},assert.isNotEmpty=function(val,msg){new Assertion(val,msg,assert.isNotEmpty,!0).to.not.be.empty}, +/*! + * Aliases. + */ +function alias(name,as){return assert[as]=assert[name],alias}("isOk","ok")("isNotOk","notOk")("throws","throw")("throws","Throw")("isExtensible","extensible")("isNotExtensible","notExtensible")("isSealed","sealed")("isNotSealed","notSealed")("isFrozen","frozen")("isNotFrozen","notFrozen")("isEmpty","empty")("isNotEmpty","notEmpty")}},48007:function(module){ +/*! + * chai + * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +module.exports=function(chai,util){chai.expect=function(val,message){return new chai.Assertion(val,message)},chai.expect.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||"expect.fail()",new chai.AssertionError(message,{actual:actual,expected:expected,operator:operator},chai.expect.fail)}}},33292:function(module){ +/*! + * chai + * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +module.exports=function(chai,util){var Assertion=chai.Assertion;function loadShould(){Object.defineProperty(Object.prototype,"should",{set:function shouldSetter(value){Object.defineProperty(this,"should",{value:value,enumerable:!0,configurable:!0,writable:!0})},get:function shouldGetter(){return this instanceof String||this instanceof Number||this instanceof Boolean||"function"==typeof Symbol&&this instanceof Symbol||"function"==typeof BigInt&&this instanceof BigInt?new Assertion(this.valueOf(),null,shouldGetter):new Assertion(this,null,shouldGetter)},configurable:!0});var should={fail:function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||"should.fail()",new chai.AssertionError(message,{actual:actual,expected:expected,operator:operator},should.fail)},equal:function(val1,val2,msg){new Assertion(val1,msg).to.equal(val2)},Throw:function(fn,errt,errs,msg){new Assertion(fn,msg).to.Throw(errt,errs)},exist:function(val,msg){new Assertion(val,msg).to.exist},not:{}};return should.not.equal=function(val1,val2,msg){new Assertion(val1,msg).to.not.equal(val2)},should.not.Throw=function(fn,errt,errs,msg){new Assertion(fn,msg).to.not.Throw(errt,errs)},should.not.exist=function(val,msg){new Assertion(val,msg).to.not.exist},should.throw=should.Throw,should.not.throw=should.not.Throw,should}chai.should=loadShould,chai.Should=loadShould}},73707:function(module,__unused_webpack_exports,__webpack_require__){ +/*! + * Chai - addChainingMethod utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +/*! + * Module dependencies + */ +var addLengthGuard=__webpack_require__(97758),chai=__webpack_require__(51928),flag=__webpack_require__(73183),proxify=__webpack_require__(30925),transferFlags=__webpack_require__(53897),canSetPrototype="function"==typeof Object.setPrototypeOf,testFn=function(){},excludeNames=Object.getOwnPropertyNames(testFn).filter((function(name){var propDesc=Object.getOwnPropertyDescriptor(testFn,name);return"object"!=typeof propDesc||!propDesc.configurable})),call=Function.prototype.call,apply=Function.prototype.apply;module.exports=function addChainableMethod(ctx,name,method,chainingBehavior){"function"!=typeof chainingBehavior&&(chainingBehavior=function(){});var chainableBehavior={method:method,chainingBehavior:chainingBehavior};ctx.__methods||(ctx.__methods={}),ctx.__methods[name]=chainableBehavior,Object.defineProperty(ctx,name,{get:function chainableMethodGetter(){chainableBehavior.chainingBehavior.call(this);var chainableMethodWrapper=function(){flag(this,"lockSsfi")||flag(this,"ssfi",chainableMethodWrapper);var result=chainableBehavior.method.apply(this,arguments);if(void 0!==result)return result;var newAssertion=new chai.Assertion;return transferFlags(this,newAssertion),newAssertion};if(addLengthGuard(chainableMethodWrapper,name,!0),canSetPrototype){var prototype=Object.create(this);prototype.call=call,prototype.apply=apply,Object.setPrototypeOf(chainableMethodWrapper,prototype)}else{Object.getOwnPropertyNames(ctx).forEach((function(asserterName){if(-1===excludeNames.indexOf(asserterName)){var pd=Object.getOwnPropertyDescriptor(ctx,asserterName);Object.defineProperty(chainableMethodWrapper,asserterName,pd)}}))}return transferFlags(this,chainableMethodWrapper),proxify(chainableMethodWrapper)},configurable:!0})}},97758:function(module){var fnLengthDesc=Object.getOwnPropertyDescriptor((function(){}),"length"); +/*! + * Chai - addLengthGuard utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */module.exports=function addLengthGuard(fn,assertionName,isChainable){return fnLengthDesc.configurable?(Object.defineProperty(fn,"length",{get:function(){if(isChainable)throw Error("Invalid Chai property: "+assertionName+'.length. Due to a compatibility issue, "length" cannot directly follow "'+assertionName+'". Use "'+assertionName+'.lengthOf" instead.');throw Error("Invalid Chai property: "+assertionName+'.length. See docs for proper usage of "'+assertionName+'".')}}),fn):fn}},23775:function(module,__unused_webpack_exports,__webpack_require__){ +/*! + * Chai - addMethod utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +var addLengthGuard=__webpack_require__(97758),chai=__webpack_require__(51928),flag=__webpack_require__(73183),proxify=__webpack_require__(30925),transferFlags=__webpack_require__(53897);module.exports=function addMethod(ctx,name,method){var methodWrapper=function(){flag(this,"lockSsfi")||flag(this,"ssfi",methodWrapper);var result=method.apply(this,arguments);if(void 0!==result)return result;var newAssertion=new chai.Assertion;return transferFlags(this,newAssertion),newAssertion};addLengthGuard(methodWrapper,name,!1),ctx[name]=proxify(methodWrapper,name)}},97152:function(module,__unused_webpack_exports,__webpack_require__){ +/*! + * Chai - addProperty utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +var chai=__webpack_require__(51928),flag=__webpack_require__(73183),isProxyEnabled=__webpack_require__(13035),transferFlags=__webpack_require__(53897);module.exports=function addProperty(ctx,name,getter){getter=void 0===getter?function(){}:getter,Object.defineProperty(ctx,name,{get:function propertyGetter(){isProxyEnabled()||flag(this,"lockSsfi")||flag(this,"ssfi",propertyGetter);var result=getter.call(this);if(void 0!==result)return result;var newAssertion=new chai.Assertion;return transferFlags(this,newAssertion),newAssertion},configurable:!0})}},40391:function(module,__unused_webpack_exports,__webpack_require__){ +/*! + * Chai - compareByInspect utility + * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +/*! + * Module dependencies + */ +var inspect=__webpack_require__(22563);module.exports=function compareByInspect(a,b){return inspect(a)<inspect(b)?-1:1}},23265:function(module,__unused_webpack_exports,__webpack_require__){ +/*! + * Chai - expectTypes utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +var AssertionError=__webpack_require__(76126),flag=__webpack_require__(73183),type=__webpack_require__(27013);module.exports=function expectTypes(obj,types){var flagMsg=flag(obj,"message"),ssfi=flag(obj,"ssfi");flagMsg=flagMsg?flagMsg+": ":"",obj=flag(obj,"object"),(types=types.map((function(t){return t.toLowerCase()}))).sort();var str=types.map((function(t,index){var art=~["a","e","i","o","u"].indexOf(t.charAt(0))?"an":"a";return(types.length>1&&index===types.length-1?"or ":"")+art+" "+t})).join(", "),objType=type(obj).toLowerCase();if(!types.some((function(expected){return objType===expected})))throw new AssertionError(flagMsg+"object tested must be "+str+", but "+objType+" given",void 0,ssfi)}},73183:function(module){ +/*! + * Chai - flag utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +module.exports=function flag(obj,key,value){var flags=obj.__flags||(obj.__flags=Object.create(null));if(3!==arguments.length)return flags[key];flags[key]=value}},83428:function(module){ +/*! + * Chai - getActual utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +module.exports=function getActual(obj,args){return args.length>4?args[4]:obj._obj}},25540:function(module,__unused_webpack_exports,__webpack_require__){ +/*! + * Chai - message composition utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +/*! + * Module dependencies + */ +var flag=__webpack_require__(73183),getActual=__webpack_require__(83428),objDisplay=__webpack_require__(76020);module.exports=function getMessage(obj,args){var negate=flag(obj,"negate"),val=flag(obj,"object"),expected=args[3],actual=getActual(obj,args),msg=negate?args[2]:args[1],flagMsg=flag(obj,"message");return"function"==typeof msg&&(msg=msg()),msg=(msg=msg||"").replace(/#\{this\}/g,(function(){return objDisplay(val)})).replace(/#\{act\}/g,(function(){return objDisplay(actual)})).replace(/#\{exp\}/g,(function(){return objDisplay(expected)})),flagMsg?flagMsg+": "+msg:msg}},86775:function(module,__unused_webpack_exports,__webpack_require__){var type=__webpack_require__(27013),flag=__webpack_require__(73183);module.exports=function getOperator(obj,args){var operator=flag(obj,"operator"),negate=flag(obj,"negate"),expected=args[3],msg=negate?args[2]:args[1];if(operator)return operator;if("function"==typeof msg&&(msg=msg()),(msg=msg||"")&&!/\shave\s/.test(msg)){var isObject=function isObjectType(obj){var objectType=type(obj);return-1!==["Array","Object","function"].indexOf(objectType)}(expected);return/\snot\s/.test(msg)?isObject?"notDeepStrictEqual":"notStrictEqual":isObject?"deepStrictEqual":"strictEqual"}}},61711:function(module,__unused_webpack_exports,__webpack_require__){ +/*! + * Chai - getOwnEnumerableProperties utility + * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +/*! + * Module dependencies + */ +var getOwnEnumerablePropertySymbols=__webpack_require__(99663);module.exports=function getOwnEnumerableProperties(obj){return Object.keys(obj).concat(getOwnEnumerablePropertySymbols(obj))}},99663:function(module){ +/*! + * Chai - getOwnEnumerablePropertySymbols utility + * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +module.exports=function getOwnEnumerablePropertySymbols(obj){return"function"!=typeof Object.getOwnPropertySymbols?[]:Object.getOwnPropertySymbols(obj).filter((function(sym){return Object.getOwnPropertyDescriptor(obj,sym).enumerable}))}},29475:function(module){ +/*! + * Chai - getProperties utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +module.exports=function getProperties(object){var result=Object.getOwnPropertyNames(object);function addProperty(property){-1===result.indexOf(property)&&result.push(property)}for(var proto=Object.getPrototypeOf(object);null!==proto;)Object.getOwnPropertyNames(proto).forEach(addProperty),proto=Object.getPrototypeOf(proto);return result}},74920:function(__unused_webpack_module,exports,__webpack_require__){ +/*! + * chai + * Copyright(c) 2011 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +/*! + * Dependencies that are used for multiple exports are required here only once + */ +var pathval=__webpack_require__(65539); +/*! + * test utility + */exports.test=__webpack_require__(96765), +/*! + * type utility + */ +exports.type=__webpack_require__(27013), +/*! + * expectTypes utility + */ +exports.expectTypes=__webpack_require__(23265), +/*! + * message utility + */ +exports.getMessage=__webpack_require__(25540), +/*! + * actual utility + */ +exports.getActual=__webpack_require__(83428), +/*! + * Inspect util + */ +exports.inspect=__webpack_require__(22563), +/*! + * Object Display util + */ +exports.objDisplay=__webpack_require__(76020), +/*! + * Flag utility + */ +exports.flag=__webpack_require__(73183), +/*! + * Flag transferring utility + */ +exports.transferFlags=__webpack_require__(53897), +/*! + * Deep equal utility + */ +exports.eql=__webpack_require__(78310), +/*! + * Deep path info + */ +exports.getPathInfo=pathval.getPathInfo, +/*! + * Check if a property exists + */ +exports.hasProperty=pathval.hasProperty, +/*! + * Function name + */ +exports.getName=__webpack_require__(37643), +/*! + * add Property + */ +exports.addProperty=__webpack_require__(97152), +/*! + * add Method + */ +exports.addMethod=__webpack_require__(23775), +/*! + * overwrite Property + */ +exports.overwriteProperty=__webpack_require__(73599), +/*! + * overwrite Method + */ +exports.overwriteMethod=__webpack_require__(68632), +/*! + * Add a chainable method + */ +exports.addChainableMethod=__webpack_require__(73707), +/*! + * Overwrite chainable method + */ +exports.overwriteChainableMethod=__webpack_require__(73796), +/*! + * Compare by inspect method + */ +exports.compareByInspect=__webpack_require__(40391), +/*! + * Get own enumerable property symbols method + */ +exports.getOwnEnumerablePropertySymbols=__webpack_require__(99663), +/*! + * Get own enumerable properties method + */ +exports.getOwnEnumerableProperties=__webpack_require__(61711), +/*! + * Checks error against a given set of criteria + */ +exports.checkError=__webpack_require__(32182), +/*! + * Proxify util + */ +exports.proxify=__webpack_require__(30925), +/*! + * addLengthGuard util + */ +exports.addLengthGuard=__webpack_require__(97758), +/*! + * isProxyEnabled helper + */ +exports.isProxyEnabled=__webpack_require__(13035), +/*! + * isNaN method + */ +exports.isNaN=__webpack_require__(49046), +/*! + * getOperator method + */ +exports.getOperator=__webpack_require__(86775)},22563:function(module,__unused_webpack_exports,__webpack_require__){__webpack_require__(37643);var loupe=__webpack_require__(77161),config=__webpack_require__(54448);module.exports=function inspect(obj,showHidden,depth,colors){var options={colors:colors,depth:void 0===depth?2:depth,showHidden:showHidden,truncate:config.truncateThreshold?config.truncateThreshold:1/0};return loupe.inspect(obj,options)}},49046:function(module){module.exports=Number.isNaN|| +/*! + * Chai - isNaN utility + * Copyright(c) 2012-2015 Sakthipriyan Vairamani <thechargingvolcano@gmail.com> + * MIT Licensed + */ +function isNaN(value){return value!=value}},13035:function(module,__unused_webpack_exports,__webpack_require__){var config=__webpack_require__(54448); +/*! + * Chai - isProxyEnabled helper + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */module.exports=function isProxyEnabled(){return config.useProxy&&"undefined"!=typeof Proxy&&"undefined"!=typeof Reflect}},76020:function(module,__unused_webpack_exports,__webpack_require__){ +/*! + * Chai - flag utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +/*! + * Module dependencies + */ +var inspect=__webpack_require__(22563),config=__webpack_require__(54448);module.exports=function objDisplay(obj){var str=inspect(obj),type=Object.prototype.toString.call(obj);if(config.truncateThreshold&&str.length>=config.truncateThreshold){if("[object Function]"===type)return obj.name&&""!==obj.name?"[Function: "+obj.name+"]":"[Function]";if("[object Array]"===type)return"[ Array("+obj.length+") ]";if("[object Object]"===type){var keys=Object.keys(obj);return"{ Object ("+(keys.length>2?keys.splice(0,2).join(", ")+", ...":keys.join(", "))+") }"}return str}return str}},73796:function(module,__unused_webpack_exports,__webpack_require__){ +/*! + * Chai - overwriteChainableMethod utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +var chai=__webpack_require__(51928),transferFlags=__webpack_require__(53897);module.exports=function overwriteChainableMethod(ctx,name,method,chainingBehavior){var chainableBehavior=ctx.__methods[name],_chainingBehavior=chainableBehavior.chainingBehavior;chainableBehavior.chainingBehavior=function overwritingChainableMethodGetter(){var result=chainingBehavior(_chainingBehavior).call(this);if(void 0!==result)return result;var newAssertion=new chai.Assertion;return transferFlags(this,newAssertion),newAssertion};var _method=chainableBehavior.method;chainableBehavior.method=function overwritingChainableMethodWrapper(){var result=method(_method).apply(this,arguments);if(void 0!==result)return result;var newAssertion=new chai.Assertion;return transferFlags(this,newAssertion),newAssertion}}},68632:function(module,__unused_webpack_exports,__webpack_require__){ +/*! + * Chai - overwriteMethod utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +var addLengthGuard=__webpack_require__(97758),chai=__webpack_require__(51928),flag=__webpack_require__(73183),proxify=__webpack_require__(30925),transferFlags=__webpack_require__(53897);module.exports=function overwriteMethod(ctx,name,method){var _method=ctx[name],_super=function(){throw new Error(name+" is not a function")};_method&&"function"==typeof _method&&(_super=_method);var overwritingMethodWrapper=function(){flag(this,"lockSsfi")||flag(this,"ssfi",overwritingMethodWrapper);var origLockSsfi=flag(this,"lockSsfi");flag(this,"lockSsfi",!0);var result=method(_super).apply(this,arguments);if(flag(this,"lockSsfi",origLockSsfi),void 0!==result)return result;var newAssertion=new chai.Assertion;return transferFlags(this,newAssertion),newAssertion};addLengthGuard(overwritingMethodWrapper,name,!1),ctx[name]=proxify(overwritingMethodWrapper,name)}},73599:function(module,__unused_webpack_exports,__webpack_require__){ +/*! + * Chai - overwriteProperty utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +var chai=__webpack_require__(51928),flag=__webpack_require__(73183),isProxyEnabled=__webpack_require__(13035),transferFlags=__webpack_require__(53897);module.exports=function overwriteProperty(ctx,name,getter){var _get=Object.getOwnPropertyDescriptor(ctx,name),_super=function(){};_get&&"function"==typeof _get.get&&(_super=_get.get),Object.defineProperty(ctx,name,{get:function overwritingPropertyGetter(){isProxyEnabled()||flag(this,"lockSsfi")||flag(this,"ssfi",overwritingPropertyGetter);var origLockSsfi=flag(this,"lockSsfi");flag(this,"lockSsfi",!0);var result=getter(_super).call(this);if(flag(this,"lockSsfi",origLockSsfi),void 0!==result)return result;var newAssertion=new chai.Assertion;return transferFlags(this,newAssertion),newAssertion},configurable:!0})}},30925:function(module,__unused_webpack_exports,__webpack_require__){var config=__webpack_require__(54448),flag=__webpack_require__(73183),getProperties=__webpack_require__(29475),isProxyEnabled=__webpack_require__(13035),builtins=["__flags","__methods","_obj","assert"];module.exports=function proxify(obj,nonChainableMethodName){return isProxyEnabled()?new Proxy(obj,{get:function proxyGetter(target,property){if("string"==typeof property&&-1===config.proxyExcludedKeys.indexOf(property)&&!Reflect.has(target,property)){if(nonChainableMethodName)throw Error("Invalid Chai property: "+nonChainableMethodName+"."+property+'. See docs for proper usage of "'+nonChainableMethodName+'".');var suggestion=null,suggestionDistance=4;throw getProperties(target).forEach((function(prop){if(!Object.prototype.hasOwnProperty(prop)&&-1===builtins.indexOf(prop)){var dist=function stringDistanceCapped(strA,strB,cap){if(Math.abs(strA.length-strB.length)>=cap)return cap;for(var memo=[],i=0;i<=strA.length;i++)memo[i]=Array(strB.length+1).fill(0),memo[i][0]=i;for(var j=0;j<strB.length;j++)memo[0][j]=j;for(i=1;i<=strA.length;i++){var ch=strA.charCodeAt(i-1);for(j=1;j<=strB.length;j++)Math.abs(i-j)>=cap?memo[i][j]=cap:memo[i][j]=Math.min(memo[i-1][j]+1,memo[i][j-1]+1,memo[i-1][j-1]+(ch===strB.charCodeAt(j-1)?0:1))}return memo[strA.length][strB.length]}(property,prop,suggestionDistance);dist<suggestionDistance&&(suggestion=prop,suggestionDistance=dist)}})),null!==suggestion?Error("Invalid Chai property: "+property+'. Did you mean "'+suggestion+'"?'):Error("Invalid Chai property: "+property)}return-1!==builtins.indexOf(property)||flag(target,"lockSsfi")||flag(target,"ssfi",proxyGetter),Reflect.get(target,property)}}):obj}},96765:function(module,__unused_webpack_exports,__webpack_require__){ +/*! + * Chai - test utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +/*! + * Module dependencies + */ +var flag=__webpack_require__(73183);module.exports=function test(obj,args){var negate=flag(obj,"negate"),expr=args[0];return negate?!expr:expr}},53897:function(module){ +/*! + * Chai - transferFlags utility + * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +module.exports=function transferFlags(assertion,object,includeAll){var flags=assertion.__flags||(assertion.__flags=Object.create(null));for(var flag in object.__flags||(object.__flags=Object.create(null)),includeAll=3!==arguments.length||includeAll,flags)(includeAll||"object"!==flag&&"ssfi"!==flag&&"lockSsfi"!==flag&&"message"!=flag)&&(object.__flags[flag]=flags[flag])}},32182:function(module){var functionNameMatch=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\(\/]+)/;function getFunctionName(constructorFn){var name="";if(void 0===constructorFn.name){var match=String(constructorFn).match(functionNameMatch);match&&(name=match[1])}else name=constructorFn.name;return name}module.exports={compatibleInstance:function compatibleInstance(thrown,errorLike){return errorLike instanceof Error&&thrown===errorLike},compatibleConstructor:function compatibleConstructor(thrown,errorLike){return errorLike instanceof Error?thrown.constructor===errorLike.constructor||thrown instanceof errorLike.constructor:(errorLike.prototype instanceof Error||errorLike===Error)&&(thrown.constructor===errorLike||thrown instanceof errorLike)},compatibleMessage:function compatibleMessage(thrown,errMatcher){var comparisonString="string"==typeof thrown?thrown:thrown.message;return errMatcher instanceof RegExp?errMatcher.test(comparisonString):"string"==typeof errMatcher&&-1!==comparisonString.indexOf(errMatcher)},getMessage:function getMessage(errorLike){var msg="";return errorLike&&errorLike.message?msg=errorLike.message:"string"==typeof errorLike&&(msg=errorLike),msg},getConstructorName:function getConstructorName(errorLike){var constructorName=errorLike;return errorLike instanceof Error?constructorName=getFunctionName(errorLike.constructor):"function"==typeof errorLike&&(constructorName=getFunctionName(errorLike).trim()||getFunctionName(new errorLike)),constructorName}}},71027:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(89509).Buffer,Transform=__webpack_require__(42830).Transform,StringDecoder=__webpack_require__(32553).s;function CipherBase(hashMode){Transform.call(this),this.hashMode="string"==typeof hashMode,this.hashMode?this[hashMode]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}__webpack_require__(35717)(CipherBase,Transform),CipherBase.prototype.update=function(data,inputEnc,outputEnc){"string"==typeof data&&(data=Buffer.from(data,inputEnc));var outData=this._update(data);return this.hashMode?this:(outputEnc&&(outData=this._toString(outData,outputEnc)),outData)},CipherBase.prototype.setAutoPadding=function(){},CipherBase.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},CipherBase.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},CipherBase.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},CipherBase.prototype._transform=function(data,_,next){var err;try{this.hashMode?this._update(data):this.push(this._update(data))}catch(e){err=e}finally{next(err)}},CipherBase.prototype._flush=function(done){var err;try{this.push(this.__final())}catch(e){err=e}done(err)},CipherBase.prototype._finalOrDigest=function(outputEnc){var outData=this.__final()||Buffer.alloc(0);return outputEnc&&(outData=this._toString(outData,outputEnc,!0)),outData},CipherBase.prototype._toString=function(value,enc,fin){if(this._decoder||(this._decoder=new StringDecoder(enc),this._encoding=enc),this._encoding!==enc)throw new Error("can't switch encodings");var out=this._decoder.write(value);return fin&&(out+=this._decoder.end()),out},module.exports=CipherBase},19662:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),isCallable=__webpack_require__(60614),tryToString=__webpack_require__(66330),TypeError=global.TypeError;module.exports=function(argument){if(isCallable(argument))return argument;throw TypeError(tryToString(argument)+" is not a function")}},39483:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),isConstructor=__webpack_require__(4411),tryToString=__webpack_require__(66330),TypeError=global.TypeError;module.exports=function(argument){if(isConstructor(argument))return argument;throw TypeError(tryToString(argument)+" is not a constructor")}},96077:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),isCallable=__webpack_require__(60614),String=global.String,TypeError=global.TypeError;module.exports=function(argument){if("object"==typeof argument||isCallable(argument))return argument;throw TypeError("Can't set "+String(argument)+" as a prototype")}},51223:function(module,__unused_webpack_exports,__webpack_require__){var wellKnownSymbol=__webpack_require__(5112),create=__webpack_require__(70030),definePropertyModule=__webpack_require__(3070),UNSCOPABLES=wellKnownSymbol("unscopables"),ArrayPrototype=Array.prototype;null==ArrayPrototype[UNSCOPABLES]&&definePropertyModule.f(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create(null)}),module.exports=function(key){ArrayPrototype[UNSCOPABLES][key]=!0}},31530:function(module,__unused_webpack_exports,__webpack_require__){var charAt=__webpack_require__(28710).charAt;module.exports=function(S,index,unicode){return index+(unicode?charAt(S,index).length:1)}},25787:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),isPrototypeOf=__webpack_require__(47976),TypeError=global.TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw TypeError("Incorrect invocation")}},19670:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),isObject=__webpack_require__(70111),String=global.String,TypeError=global.TypeError;module.exports=function(argument){if(isObject(argument))return argument;throw TypeError(String(argument)+" is not an object")}},24019:function(module){module.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7556:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293);module.exports=fails((function(){if("function"==typeof ArrayBuffer){var buffer=new ArrayBuffer(8);Object.isExtensible(buffer)&&Object.defineProperty(buffer,"a",{value:8})}}))},90260:function(module,__unused_webpack_exports,__webpack_require__){var NAME,Constructor,Prototype,NATIVE_ARRAY_BUFFER=__webpack_require__(24019),DESCRIPTORS=__webpack_require__(19781),global=__webpack_require__(17854),isCallable=__webpack_require__(60614),isObject=__webpack_require__(70111),hasOwn=__webpack_require__(92597),classof=__webpack_require__(70648),tryToString=__webpack_require__(66330),createNonEnumerableProperty=__webpack_require__(68880),redefine=__webpack_require__(31320),defineProperty=__webpack_require__(3070).f,isPrototypeOf=__webpack_require__(47976),getPrototypeOf=__webpack_require__(79518),setPrototypeOf=__webpack_require__(27674),wellKnownSymbol=__webpack_require__(5112),uid=__webpack_require__(69711),Int8Array=global.Int8Array,Int8ArrayPrototype=Int8Array&&Int8Array.prototype,Uint8ClampedArray=global.Uint8ClampedArray,Uint8ClampedArrayPrototype=Uint8ClampedArray&&Uint8ClampedArray.prototype,TypedArray=Int8Array&&getPrototypeOf(Int8Array),TypedArrayPrototype=Int8ArrayPrototype&&getPrototypeOf(Int8ArrayPrototype),ObjectPrototype=Object.prototype,TypeError=global.TypeError,TO_STRING_TAG=wellKnownSymbol("toStringTag"),TYPED_ARRAY_TAG=uid("TYPED_ARRAY_TAG"),TYPED_ARRAY_CONSTRUCTOR=uid("TYPED_ARRAY_CONSTRUCTOR"),NATIVE_ARRAY_BUFFER_VIEWS=NATIVE_ARRAY_BUFFER&&!!setPrototypeOf&&"Opera"!==classof(global.opera),TYPED_ARRAY_TAG_REQUIRED=!1,TypedArrayConstructorsList={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},BigIntArrayConstructorsList={BigInt64Array:8,BigUint64Array:8},isTypedArray=function(it){if(!isObject(it))return!1;var klass=classof(it);return hasOwn(TypedArrayConstructorsList,klass)||hasOwn(BigIntArrayConstructorsList,klass)};for(NAME in TypedArrayConstructorsList)(Prototype=(Constructor=global[NAME])&&Constructor.prototype)?createNonEnumerableProperty(Prototype,TYPED_ARRAY_CONSTRUCTOR,Constructor):NATIVE_ARRAY_BUFFER_VIEWS=!1;for(NAME in BigIntArrayConstructorsList)(Prototype=(Constructor=global[NAME])&&Constructor.prototype)&&createNonEnumerableProperty(Prototype,TYPED_ARRAY_CONSTRUCTOR,Constructor);if((!NATIVE_ARRAY_BUFFER_VIEWS||!isCallable(TypedArray)||TypedArray===Function.prototype)&&(TypedArray=function TypedArray(){throw TypeError("Incorrect invocation")},NATIVE_ARRAY_BUFFER_VIEWS))for(NAME in TypedArrayConstructorsList)global[NAME]&&setPrototypeOf(global[NAME],TypedArray);if((!NATIVE_ARRAY_BUFFER_VIEWS||!TypedArrayPrototype||TypedArrayPrototype===ObjectPrototype)&&(TypedArrayPrototype=TypedArray.prototype,NATIVE_ARRAY_BUFFER_VIEWS))for(NAME in TypedArrayConstructorsList)global[NAME]&&setPrototypeOf(global[NAME].prototype,TypedArrayPrototype);if(NATIVE_ARRAY_BUFFER_VIEWS&&getPrototypeOf(Uint8ClampedArrayPrototype)!==TypedArrayPrototype&&setPrototypeOf(Uint8ClampedArrayPrototype,TypedArrayPrototype),DESCRIPTORS&&!hasOwn(TypedArrayPrototype,TO_STRING_TAG))for(NAME in TYPED_ARRAY_TAG_REQUIRED=!0,defineProperty(TypedArrayPrototype,TO_STRING_TAG,{get:function(){return isObject(this)?this[TYPED_ARRAY_TAG]:void 0}}),TypedArrayConstructorsList)global[NAME]&&createNonEnumerableProperty(global[NAME],TYPED_ARRAY_TAG,NAME);module.exports={NATIVE_ARRAY_BUFFER_VIEWS:NATIVE_ARRAY_BUFFER_VIEWS,TYPED_ARRAY_CONSTRUCTOR:TYPED_ARRAY_CONSTRUCTOR,TYPED_ARRAY_TAG:TYPED_ARRAY_TAG_REQUIRED&&TYPED_ARRAY_TAG,aTypedArray:function(it){if(isTypedArray(it))return it;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(C){if(isCallable(C)&&(!setPrototypeOf||isPrototypeOf(TypedArray,C)))return C;throw TypeError(tryToString(C)+" is not a typed array constructor")},exportTypedArrayMethod:function(KEY,property,forced,options){if(DESCRIPTORS){if(forced)for(var ARRAY in TypedArrayConstructorsList){var TypedArrayConstructor=global[ARRAY];if(TypedArrayConstructor&&hasOwn(TypedArrayConstructor.prototype,KEY))try{delete TypedArrayConstructor.prototype[KEY]}catch(error){try{TypedArrayConstructor.prototype[KEY]=property}catch(error2){}}}TypedArrayPrototype[KEY]&&!forced||redefine(TypedArrayPrototype,KEY,forced?property:NATIVE_ARRAY_BUFFER_VIEWS&&Int8ArrayPrototype[KEY]||property,options)}},exportTypedArrayStaticMethod:function(KEY,property,forced){var ARRAY,TypedArrayConstructor;if(DESCRIPTORS){if(setPrototypeOf){if(forced)for(ARRAY in TypedArrayConstructorsList)if((TypedArrayConstructor=global[ARRAY])&&hasOwn(TypedArrayConstructor,KEY))try{delete TypedArrayConstructor[KEY]}catch(error){}if(TypedArray[KEY]&&!forced)return;try{return redefine(TypedArray,KEY,forced?property:NATIVE_ARRAY_BUFFER_VIEWS&&TypedArray[KEY]||property)}catch(error){}}for(ARRAY in TypedArrayConstructorsList)!(TypedArrayConstructor=global[ARRAY])||TypedArrayConstructor[KEY]&&!forced||redefine(TypedArrayConstructor,KEY,property)}},isView:function isView(it){if(!isObject(it))return!1;var klass=classof(it);return"DataView"===klass||hasOwn(TypedArrayConstructorsList,klass)||hasOwn(BigIntArrayConstructorsList,klass)},isTypedArray:isTypedArray,TypedArray:TypedArray,TypedArrayPrototype:TypedArrayPrototype}},13331:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),uncurryThis=__webpack_require__(1702),DESCRIPTORS=__webpack_require__(19781),NATIVE_ARRAY_BUFFER=__webpack_require__(24019),FunctionName=__webpack_require__(76530),createNonEnumerableProperty=__webpack_require__(68880),redefineAll=__webpack_require__(12248),fails=__webpack_require__(47293),anInstance=__webpack_require__(25787),toIntegerOrInfinity=__webpack_require__(19303),toLength=__webpack_require__(17466),toIndex=__webpack_require__(57067),IEEE754=__webpack_require__(11179),getPrototypeOf=__webpack_require__(79518),setPrototypeOf=__webpack_require__(27674),getOwnPropertyNames=__webpack_require__(8006).f,defineProperty=__webpack_require__(3070).f,arrayFill=__webpack_require__(21285),arraySlice=__webpack_require__(41589),setToStringTag=__webpack_require__(58003),InternalStateModule=__webpack_require__(29909),PROPER_FUNCTION_NAME=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,getInternalState=InternalStateModule.get,setInternalState=InternalStateModule.set,NativeArrayBuffer=global.ArrayBuffer,$ArrayBuffer=NativeArrayBuffer,ArrayBufferPrototype=$ArrayBuffer&&$ArrayBuffer.prototype,$DataView=global.DataView,DataViewPrototype=$DataView&&$DataView.prototype,ObjectPrototype=Object.prototype,Array=global.Array,RangeError=global.RangeError,fill=uncurryThis(arrayFill),reverse=uncurryThis([].reverse),packIEEE754=IEEE754.pack,unpackIEEE754=IEEE754.unpack,packInt8=function(number){return[255&number]},packInt16=function(number){return[255&number,number>>8&255]},packInt32=function(number){return[255&number,number>>8&255,number>>16&255,number>>24&255]},unpackInt32=function(buffer){return buffer[3]<<24|buffer[2]<<16|buffer[1]<<8|buffer[0]},packFloat32=function(number){return packIEEE754(number,23,4)},packFloat64=function(number){return packIEEE754(number,52,8)},addGetter=function(Constructor,key){defineProperty(Constructor.prototype,key,{get:function(){return getInternalState(this)[key]}})},get=function(view,count,index,isLittleEndian){var intIndex=toIndex(index),store=getInternalState(view);if(intIndex+count>store.byteLength)throw RangeError("Wrong index");var bytes=getInternalState(store.buffer).bytes,start=intIndex+store.byteOffset,pack=arraySlice(bytes,start,start+count);return isLittleEndian?pack:reverse(pack)},set=function(view,count,index,conversion,value,isLittleEndian){var intIndex=toIndex(index),store=getInternalState(view);if(intIndex+count>store.byteLength)throw RangeError("Wrong index");for(var bytes=getInternalState(store.buffer).bytes,start=intIndex+store.byteOffset,pack=conversion(+value),i=0;i<count;i++)bytes[start+i]=pack[isLittleEndian?i:count-i-1]};if(NATIVE_ARRAY_BUFFER){var INCORRECT_ARRAY_BUFFER_NAME=PROPER_FUNCTION_NAME&&"ArrayBuffer"!==NativeArrayBuffer.name;if(fails((function(){NativeArrayBuffer(1)}))&&fails((function(){new NativeArrayBuffer(-1)}))&&!fails((function(){return new NativeArrayBuffer,new NativeArrayBuffer(1.5),new NativeArrayBuffer(NaN),INCORRECT_ARRAY_BUFFER_NAME&&!CONFIGURABLE_FUNCTION_NAME})))INCORRECT_ARRAY_BUFFER_NAME&&CONFIGURABLE_FUNCTION_NAME&&createNonEnumerableProperty(NativeArrayBuffer,"name","ArrayBuffer");else{($ArrayBuffer=function ArrayBuffer(length){return anInstance(this,ArrayBufferPrototype),new NativeArrayBuffer(toIndex(length))}).prototype=ArrayBufferPrototype;for(var key,keys=getOwnPropertyNames(NativeArrayBuffer),j=0;keys.length>j;)(key=keys[j++])in $ArrayBuffer||createNonEnumerableProperty($ArrayBuffer,key,NativeArrayBuffer[key]);ArrayBufferPrototype.constructor=$ArrayBuffer}setPrototypeOf&&getPrototypeOf(DataViewPrototype)!==ObjectPrototype&&setPrototypeOf(DataViewPrototype,ObjectPrototype);var testView=new $DataView(new $ArrayBuffer(2)),$setInt8=uncurryThis(DataViewPrototype.setInt8);testView.setInt8(0,2147483648),testView.setInt8(1,2147483649),!testView.getInt8(0)&&testView.getInt8(1)||redefineAll(DataViewPrototype,{setInt8:function setInt8(byteOffset,value){$setInt8(this,byteOffset,value<<24>>24)},setUint8:function setUint8(byteOffset,value){$setInt8(this,byteOffset,value<<24>>24)}},{unsafe:!0})}else ArrayBufferPrototype=($ArrayBuffer=function ArrayBuffer(length){anInstance(this,ArrayBufferPrototype);var byteLength=toIndex(length);setInternalState(this,{bytes:fill(Array(byteLength),0),byteLength:byteLength}),DESCRIPTORS||(this.byteLength=byteLength)}).prototype,DataViewPrototype=($DataView=function DataView(buffer,byteOffset,byteLength){anInstance(this,DataViewPrototype),anInstance(buffer,ArrayBufferPrototype);var bufferLength=getInternalState(buffer).byteLength,offset=toIntegerOrInfinity(byteOffset);if(offset<0||offset>bufferLength)throw RangeError("Wrong offset");if(offset+(byteLength=void 0===byteLength?bufferLength-offset:toLength(byteLength))>bufferLength)throw RangeError("Wrong length");setInternalState(this,{buffer:buffer,byteLength:byteLength,byteOffset:offset}),DESCRIPTORS||(this.buffer=buffer,this.byteLength=byteLength,this.byteOffset=offset)}).prototype,DESCRIPTORS&&(addGetter($ArrayBuffer,"byteLength"),addGetter($DataView,"buffer"),addGetter($DataView,"byteLength"),addGetter($DataView,"byteOffset")),redefineAll(DataViewPrototype,{getInt8:function getInt8(byteOffset){return get(this,1,byteOffset)[0]<<24>>24},getUint8:function getUint8(byteOffset){return get(this,1,byteOffset)[0]},getInt16:function getInt16(byteOffset){var bytes=get(this,2,byteOffset,arguments.length>1?arguments[1]:void 0);return(bytes[1]<<8|bytes[0])<<16>>16},getUint16:function getUint16(byteOffset){var bytes=get(this,2,byteOffset,arguments.length>1?arguments[1]:void 0);return bytes[1]<<8|bytes[0]},getInt32:function getInt32(byteOffset){return unpackInt32(get(this,4,byteOffset,arguments.length>1?arguments[1]:void 0))},getUint32:function getUint32(byteOffset){return unpackInt32(get(this,4,byteOffset,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function getFloat32(byteOffset){return unpackIEEE754(get(this,4,byteOffset,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function getFloat64(byteOffset){return unpackIEEE754(get(this,8,byteOffset,arguments.length>1?arguments[1]:void 0),52)},setInt8:function setInt8(byteOffset,value){set(this,1,byteOffset,packInt8,value)},setUint8:function setUint8(byteOffset,value){set(this,1,byteOffset,packInt8,value)},setInt16:function setInt16(byteOffset,value){set(this,2,byteOffset,packInt16,value,arguments.length>2?arguments[2]:void 0)},setUint16:function setUint16(byteOffset,value){set(this,2,byteOffset,packInt16,value,arguments.length>2?arguments[2]:void 0)},setInt32:function setInt32(byteOffset,value){set(this,4,byteOffset,packInt32,value,arguments.length>2?arguments[2]:void 0)},setUint32:function setUint32(byteOffset,value){set(this,4,byteOffset,packInt32,value,arguments.length>2?arguments[2]:void 0)},setFloat32:function setFloat32(byteOffset,value){set(this,4,byteOffset,packFloat32,value,arguments.length>2?arguments[2]:void 0)},setFloat64:function setFloat64(byteOffset,value){set(this,8,byteOffset,packFloat64,value,arguments.length>2?arguments[2]:void 0)}});setToStringTag($ArrayBuffer,"ArrayBuffer"),setToStringTag($DataView,"DataView"),module.exports={ArrayBuffer:$ArrayBuffer,DataView:$DataView}},1048:function(module,__unused_webpack_exports,__webpack_require__){var toObject=__webpack_require__(47908),toAbsoluteIndex=__webpack_require__(51400),lengthOfArrayLike=__webpack_require__(26244),min=Math.min;module.exports=[].copyWithin||function copyWithin(target,start){var O=toObject(this),len=lengthOfArrayLike(O),to=toAbsoluteIndex(target,len),from=toAbsoluteIndex(start,len),end=arguments.length>2?arguments[2]:void 0,count=min((void 0===end?len:toAbsoluteIndex(end,len))-from,len-to),inc=1;for(from<to&&to<from+count&&(inc=-1,from+=count-1,to+=count-1);count-- >0;)from in O?O[to]=O[from]:delete O[to],to+=inc,from+=inc;return O}},21285:function(module,__unused_webpack_exports,__webpack_require__){var toObject=__webpack_require__(47908),toAbsoluteIndex=__webpack_require__(51400),lengthOfArrayLike=__webpack_require__(26244);module.exports=function fill(value){for(var O=toObject(this),length=lengthOfArrayLike(O),argumentsLength=arguments.length,index=toAbsoluteIndex(argumentsLength>1?arguments[1]:void 0,length),end=argumentsLength>2?arguments[2]:void 0,endPos=void 0===end?length:toAbsoluteIndex(end,length);endPos>index;)O[index++]=value;return O}},18533:function(module,__unused_webpack_exports,__webpack_require__){var $forEach=__webpack_require__(42092).forEach,STRICT_METHOD=__webpack_require__(9341)("forEach");module.exports=STRICT_METHOD?[].forEach:function forEach(callbackfn){return $forEach(this,callbackfn,arguments.length>1?arguments[1]:void 0)}},97745:function(module,__unused_webpack_exports,__webpack_require__){var lengthOfArrayLike=__webpack_require__(26244);module.exports=function(Constructor,list){for(var index=0,length=lengthOfArrayLike(list),result=new Constructor(length);length>index;)result[index]=list[index++];return result}},48457:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),bind=__webpack_require__(49974),call=__webpack_require__(46916),toObject=__webpack_require__(47908),callWithSafeIterationClosing=__webpack_require__(53411),isArrayIteratorMethod=__webpack_require__(97659),isConstructor=__webpack_require__(4411),lengthOfArrayLike=__webpack_require__(26244),createProperty=__webpack_require__(86135),getIterator=__webpack_require__(18554),getIteratorMethod=__webpack_require__(71246),Array=global.Array;module.exports=function from(arrayLike){var O=toObject(arrayLike),IS_CONSTRUCTOR=isConstructor(this),argumentsLength=arguments.length,mapfn=argumentsLength>1?arguments[1]:void 0,mapping=void 0!==mapfn;mapping&&(mapfn=bind(mapfn,argumentsLength>2?arguments[2]:void 0));var length,result,step,iterator,next,value,iteratorMethod=getIteratorMethod(O),index=0;if(!iteratorMethod||this==Array&&isArrayIteratorMethod(iteratorMethod))for(length=lengthOfArrayLike(O),result=IS_CONSTRUCTOR?new this(length):Array(length);length>index;index++)value=mapping?mapfn(O[index],index):O[index],createProperty(result,index,value);else for(next=(iterator=getIterator(O,iteratorMethod)).next,result=IS_CONSTRUCTOR?new this:[];!(step=call(next,iterator)).done;index++)value=mapping?callWithSafeIterationClosing(iterator,mapfn,[step.value,index],!0):step.value,createProperty(result,index,value);return result.length=index,result}},41318:function(module,__unused_webpack_exports,__webpack_require__){var toIndexedObject=__webpack_require__(45656),toAbsoluteIndex=__webpack_require__(51400),lengthOfArrayLike=__webpack_require__(26244),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},42092:function(module,__unused_webpack_exports,__webpack_require__){var bind=__webpack_require__(49974),uncurryThis=__webpack_require__(1702),IndexedObject=__webpack_require__(68361),toObject=__webpack_require__(47908),lengthOfArrayLike=__webpack_require__(26244),arraySpeciesCreate=__webpack_require__(65417),push=uncurryThis([].push),createMethod=function(TYPE){var IS_MAP=1==TYPE,IS_FILTER=2==TYPE,IS_SOME=3==TYPE,IS_EVERY=4==TYPE,IS_FIND_INDEX=6==TYPE,IS_FILTER_REJECT=7==TYPE,NO_HOLES=5==TYPE||IS_FIND_INDEX;return function($this,callbackfn,that,specificCreate){for(var value,result,O=toObject($this),self=IndexedObject(O),boundFunction=bind(callbackfn,that),length=lengthOfArrayLike(self),index=0,create=specificCreate||arraySpeciesCreate,target=IS_MAP?create($this,length):IS_FILTER||IS_FILTER_REJECT?create($this,0):void 0;length>index;index++)if((NO_HOLES||index in self)&&(result=boundFunction(value=self[index],index,O),TYPE))if(IS_MAP)target[index]=result;else if(result)switch(TYPE){case 3:return!0;case 5:return value;case 6:return index;case 2:push(target,value)}else switch(TYPE){case 4:return!1;case 7:push(target,value)}return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:target}};module.exports={forEach:createMethod(0),map:createMethod(1),filter:createMethod(2),some:createMethod(3),every:createMethod(4),find:createMethod(5),findIndex:createMethod(6),filterReject:createMethod(7)}},86583:function(module,__unused_webpack_exports,__webpack_require__){var apply=__webpack_require__(22104),toIndexedObject=__webpack_require__(45656),toIntegerOrInfinity=__webpack_require__(19303),lengthOfArrayLike=__webpack_require__(26244),arrayMethodIsStrict=__webpack_require__(9341),min=Math.min,$lastIndexOf=[].lastIndexOf,NEGATIVE_ZERO=!!$lastIndexOf&&1/[1].lastIndexOf(1,-0)<0,STRICT_METHOD=arrayMethodIsStrict("lastIndexOf"),FORCED=NEGATIVE_ZERO||!STRICT_METHOD;module.exports=FORCED?function lastIndexOf(searchElement){if(NEGATIVE_ZERO)return apply($lastIndexOf,this,arguments)||0;var O=toIndexedObject(this),length=lengthOfArrayLike(O),index=length-1;for(arguments.length>1&&(index=min(index,toIntegerOrInfinity(arguments[1]))),index<0&&(index=length+index);index>=0;index--)if(index in O&&O[index]===searchElement)return index||0;return-1}:$lastIndexOf},81194:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293),wellKnownSymbol=__webpack_require__(5112),V8_VERSION=__webpack_require__(7392),SPECIES=wellKnownSymbol("species");module.exports=function(METHOD_NAME){return V8_VERSION>=51||!fails((function(){var array=[];return(array.constructor={})[SPECIES]=function(){return{foo:1}},1!==array[METHOD_NAME](Boolean).foo}))}},9341:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293);module.exports=function(METHOD_NAME,argument){var method=[][METHOD_NAME];return!!method&&fails((function(){method.call(null,argument||function(){throw 1},1)}))}},53671:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),aCallable=__webpack_require__(19662),toObject=__webpack_require__(47908),IndexedObject=__webpack_require__(68361),lengthOfArrayLike=__webpack_require__(26244),TypeError=global.TypeError,createMethod=function(IS_RIGHT){return function(that,callbackfn,argumentsLength,memo){aCallable(callbackfn);var O=toObject(that),self=IndexedObject(O),length=lengthOfArrayLike(O),index=IS_RIGHT?length-1:0,i=IS_RIGHT?-1:1;if(argumentsLength<2)for(;;){if(index in self){memo=self[index],index+=i;break}if(index+=i,IS_RIGHT?index<0:length<=index)throw TypeError("Reduce of empty array with no initial value")}for(;IS_RIGHT?index>=0:length>index;index+=i)index in self&&(memo=callbackfn(memo,self[index],index,O));return memo}};module.exports={left:createMethod(!1),right:createMethod(!0)}},41589:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),toAbsoluteIndex=__webpack_require__(51400),lengthOfArrayLike=__webpack_require__(26244),createProperty=__webpack_require__(86135),Array=global.Array,max=Math.max;module.exports=function(O,start,end){for(var length=lengthOfArrayLike(O),k=toAbsoluteIndex(start,length),fin=toAbsoluteIndex(void 0===end?length:end,length),result=Array(max(fin-k,0)),n=0;k<fin;k++,n++)createProperty(result,n,O[k]);return result.length=n,result}},50206:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702);module.exports=uncurryThis([].slice)},94362:function(module,__unused_webpack_exports,__webpack_require__){var arraySlice=__webpack_require__(41589),floor=Math.floor,mergeSort=function(array,comparefn){var length=array.length,middle=floor(length/2);return length<8?insertionSort(array,comparefn):merge(array,mergeSort(arraySlice(array,0,middle),comparefn),mergeSort(arraySlice(array,middle),comparefn),comparefn)},insertionSort=function(array,comparefn){for(var element,j,length=array.length,i=1;i<length;){for(j=i,element=array[i];j&&comparefn(array[j-1],element)>0;)array[j]=array[--j];j!==i++&&(array[j]=element)}return array},merge=function(array,left,right,comparefn){for(var llength=left.length,rlength=right.length,lindex=0,rindex=0;lindex<llength||rindex<rlength;)array[lindex+rindex]=lindex<llength&&rindex<rlength?comparefn(left[lindex],right[rindex])<=0?left[lindex++]:right[rindex++]:lindex<llength?left[lindex++]:right[rindex++];return array};module.exports=mergeSort},77475:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),isArray=__webpack_require__(43157),isConstructor=__webpack_require__(4411),isObject=__webpack_require__(70111),SPECIES=__webpack_require__(5112)("species"),Array=global.Array;module.exports=function(originalArray){var C;return isArray(originalArray)&&(C=originalArray.constructor,(isConstructor(C)&&(C===Array||isArray(C.prototype))||isObject(C)&&null===(C=C[SPECIES]))&&(C=void 0)),void 0===C?Array:C}},65417:function(module,__unused_webpack_exports,__webpack_require__){var arraySpeciesConstructor=__webpack_require__(77475);module.exports=function(originalArray,length){return new(arraySpeciesConstructor(originalArray))(0===length?0:length)}},53411:function(module,__unused_webpack_exports,__webpack_require__){var anObject=__webpack_require__(19670),iteratorClose=__webpack_require__(99212);module.exports=function(iterator,fn,value,ENTRIES){try{return ENTRIES?fn(anObject(value)[0],value[1]):fn(value)}catch(error){iteratorClose(iterator,"throw",error)}}},17072:function(module,__unused_webpack_exports,__webpack_require__){var ITERATOR=__webpack_require__(5112)("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(error){}module.exports=function(exec,SKIP_CLOSING){if(!SKIP_CLOSING&&!SAFE_CLOSING)return!1;var ITERATION_SUPPORT=!1;try{var object={};object[ITERATOR]=function(){return{next:function(){return{done:ITERATION_SUPPORT=!0}}}},exec(object)}catch(error){}return ITERATION_SUPPORT}},84326:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}},70648:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),TO_STRING_TAG_SUPPORT=__webpack_require__(51694),isCallable=__webpack_require__(60614),classofRaw=__webpack_require__(84326),TO_STRING_TAG=__webpack_require__(5112)("toStringTag"),Object=global.Object,CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}());module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=Object(it),TO_STRING_TAG))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"==(result=classofRaw(O))&&isCallable(O.callee)?"Arguments":result}},31501:function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__(46916),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670);module.exports=function addAll(){for(var set=anObject(this),adder=aCallable(set.add),k=0,len=arguments.length;k<len;k++)call(adder,set,arguments[k]);return set}},34092:function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__(46916),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670);module.exports=function deleteAll(){for(var wasDeleted,collection=anObject(this),remover=aCallable(collection.delete),allDeleted=!0,k=0,len=arguments.length;k<len;k++)wasDeleted=call(remover,collection,arguments[k]),allDeleted=allDeleted&&wasDeleted;return!!allDeleted}},95631:function(module,__unused_webpack_exports,__webpack_require__){var defineProperty=__webpack_require__(3070).f,create=__webpack_require__(70030),redefineAll=__webpack_require__(12248),bind=__webpack_require__(49974),anInstance=__webpack_require__(25787),iterate=__webpack_require__(20408),defineIterator=__webpack_require__(70654),setSpecies=__webpack_require__(96340),DESCRIPTORS=__webpack_require__(19781),fastKey=__webpack_require__(62423).fastKey,InternalStateModule=__webpack_require__(29909),setInternalState=InternalStateModule.set,internalStateGetterFor=InternalStateModule.getterFor;module.exports={getConstructor:function(wrapper,CONSTRUCTOR_NAME,IS_MAP,ADDER){var Constructor=wrapper((function(that,iterable){anInstance(that,Prototype),setInternalState(that,{type:CONSTRUCTOR_NAME,index:create(null),first:void 0,last:void 0,size:0}),DESCRIPTORS||(that.size=0),null!=iterable&&iterate(iterable,that[ADDER],{that:that,AS_ENTRIES:IS_MAP})})),Prototype=Constructor.prototype,getInternalState=internalStateGetterFor(CONSTRUCTOR_NAME),define=function(that,key,value){var previous,index,state=getInternalState(that),entry=getEntry(that,key);return entry?entry.value=value:(state.last=entry={index:index=fastKey(key,!0),key:key,value:value,previous:previous=state.last,next:void 0,removed:!1},state.first||(state.first=entry),previous&&(previous.next=entry),DESCRIPTORS?state.size++:that.size++,"F"!==index&&(state.index[index]=entry)),that},getEntry=function(that,key){var entry,state=getInternalState(that),index=fastKey(key);if("F"!==index)return state.index[index];for(entry=state.first;entry;entry=entry.next)if(entry.key==key)return entry};return redefineAll(Prototype,{clear:function clear(){for(var state=getInternalState(this),data=state.index,entry=state.first;entry;)entry.removed=!0,entry.previous&&(entry.previous=entry.previous.next=void 0),delete data[entry.index],entry=entry.next;state.first=state.last=void 0,DESCRIPTORS?state.size=0:this.size=0},delete:function(key){var state=getInternalState(this),entry=getEntry(this,key);if(entry){var next=entry.next,prev=entry.previous;delete state.index[entry.index],entry.removed=!0,prev&&(prev.next=next),next&&(next.previous=prev),state.first==entry&&(state.first=next),state.last==entry&&(state.last=prev),DESCRIPTORS?state.size--:this.size--}return!!entry},forEach:function forEach(callbackfn){for(var entry,state=getInternalState(this),boundFunction=bind(callbackfn,arguments.length>1?arguments[1]:void 0);entry=entry?entry.next:state.first;)for(boundFunction(entry.value,entry.key,this);entry&&entry.removed;)entry=entry.previous},has:function has(key){return!!getEntry(this,key)}}),redefineAll(Prototype,IS_MAP?{get:function get(key){var entry=getEntry(this,key);return entry&&entry.value},set:function set(key,value){return define(this,0===key?0:key,value)}}:{add:function add(value){return define(this,value=0===value?0:value,value)}}),DESCRIPTORS&&defineProperty(Prototype,"size",{get:function(){return getInternalState(this).size}}),Constructor},setStrong:function(Constructor,CONSTRUCTOR_NAME,IS_MAP){var ITERATOR_NAME=CONSTRUCTOR_NAME+" Iterator",getInternalCollectionState=internalStateGetterFor(CONSTRUCTOR_NAME),getInternalIteratorState=internalStateGetterFor(ITERATOR_NAME);defineIterator(Constructor,CONSTRUCTOR_NAME,(function(iterated,kind){setInternalState(this,{type:ITERATOR_NAME,target:iterated,state:getInternalCollectionState(iterated),kind:kind,last:void 0})}),(function(){for(var state=getInternalIteratorState(this),kind=state.kind,entry=state.last;entry&&entry.removed;)entry=entry.previous;return state.target&&(state.last=entry=entry?entry.next:state.state.first)?"keys"==kind?{value:entry.key,done:!1}:"values"==kind?{value:entry.value,done:!1}:{value:[entry.key,entry.value],done:!1}:(state.target=void 0,{value:void 0,done:!0})}),IS_MAP?"entries":"values",!IS_MAP,!0),setSpecies(CONSTRUCTOR_NAME)}}},29320:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),redefineAll=__webpack_require__(12248),getWeakData=__webpack_require__(62423).getWeakData,anObject=__webpack_require__(19670),isObject=__webpack_require__(70111),anInstance=__webpack_require__(25787),iterate=__webpack_require__(20408),ArrayIterationModule=__webpack_require__(42092),hasOwn=__webpack_require__(92597),InternalStateModule=__webpack_require__(29909),setInternalState=InternalStateModule.set,internalStateGetterFor=InternalStateModule.getterFor,find=ArrayIterationModule.find,findIndex=ArrayIterationModule.findIndex,splice=uncurryThis([].splice),id=0,uncaughtFrozenStore=function(store){return store.frozen||(store.frozen=new UncaughtFrozenStore)},UncaughtFrozenStore=function(){this.entries=[]},findUncaughtFrozen=function(store,key){return find(store.entries,(function(it){return it[0]===key}))};UncaughtFrozenStore.prototype={get:function(key){var entry=findUncaughtFrozen(this,key);if(entry)return entry[1]},has:function(key){return!!findUncaughtFrozen(this,key)},set:function(key,value){var entry=findUncaughtFrozen(this,key);entry?entry[1]=value:this.entries.push([key,value])},delete:function(key){var index=findIndex(this.entries,(function(it){return it[0]===key}));return~index&&splice(this.entries,index,1),!!~index}},module.exports={getConstructor:function(wrapper,CONSTRUCTOR_NAME,IS_MAP,ADDER){var Constructor=wrapper((function(that,iterable){anInstance(that,Prototype),setInternalState(that,{type:CONSTRUCTOR_NAME,id:id++,frozen:void 0}),null!=iterable&&iterate(iterable,that[ADDER],{that:that,AS_ENTRIES:IS_MAP})})),Prototype=Constructor.prototype,getInternalState=internalStateGetterFor(CONSTRUCTOR_NAME),define=function(that,key,value){var state=getInternalState(that),data=getWeakData(anObject(key),!0);return!0===data?uncaughtFrozenStore(state).set(key,value):data[state.id]=value,that};return redefineAll(Prototype,{delete:function(key){var state=getInternalState(this);if(!isObject(key))return!1;var data=getWeakData(key);return!0===data?uncaughtFrozenStore(state).delete(key):data&&hasOwn(data,state.id)&&delete data[state.id]},has:function has(key){var state=getInternalState(this);if(!isObject(key))return!1;var data=getWeakData(key);return!0===data?uncaughtFrozenStore(state).has(key):data&&hasOwn(data,state.id)}}),redefineAll(Prototype,IS_MAP?{get:function get(key){var state=getInternalState(this);if(isObject(key)){var data=getWeakData(key);return!0===data?uncaughtFrozenStore(state).get(key):data?data[state.id]:void 0}},set:function set(key,value){return define(this,key,value)}}:{add:function add(value){return define(this,value,!0)}}),Constructor}}},77710:function(module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),global=__webpack_require__(17854),uncurryThis=__webpack_require__(1702),isForced=__webpack_require__(54705),redefine=__webpack_require__(31320),InternalMetadataModule=__webpack_require__(62423),iterate=__webpack_require__(20408),anInstance=__webpack_require__(25787),isCallable=__webpack_require__(60614),isObject=__webpack_require__(70111),fails=__webpack_require__(47293),checkCorrectnessOfIteration=__webpack_require__(17072),setToStringTag=__webpack_require__(58003),inheritIfRequired=__webpack_require__(79587);module.exports=function(CONSTRUCTOR_NAME,wrapper,common){var IS_MAP=-1!==CONSTRUCTOR_NAME.indexOf("Map"),IS_WEAK=-1!==CONSTRUCTOR_NAME.indexOf("Weak"),ADDER=IS_MAP?"set":"add",NativeConstructor=global[CONSTRUCTOR_NAME],NativePrototype=NativeConstructor&&NativeConstructor.prototype,Constructor=NativeConstructor,exported={},fixMethod=function(KEY){var uncurriedNativeMethod=uncurryThis(NativePrototype[KEY]);redefine(NativePrototype,KEY,"add"==KEY?function add(value){return uncurriedNativeMethod(this,0===value?0:value),this}:"delete"==KEY?function(key){return!(IS_WEAK&&!isObject(key))&&uncurriedNativeMethod(this,0===key?0:key)}:"get"==KEY?function get(key){return IS_WEAK&&!isObject(key)?void 0:uncurriedNativeMethod(this,0===key?0:key)}:"has"==KEY?function has(key){return!(IS_WEAK&&!isObject(key))&&uncurriedNativeMethod(this,0===key?0:key)}:function set(key,value){return uncurriedNativeMethod(this,0===key?0:key,value),this})};if(isForced(CONSTRUCTOR_NAME,!isCallable(NativeConstructor)||!(IS_WEAK||NativePrototype.forEach&&!fails((function(){(new NativeConstructor).entries().next()})))))Constructor=common.getConstructor(wrapper,CONSTRUCTOR_NAME,IS_MAP,ADDER),InternalMetadataModule.enable();else if(isForced(CONSTRUCTOR_NAME,!0)){var instance=new Constructor,HASNT_CHAINING=instance[ADDER](IS_WEAK?{}:-0,1)!=instance,THROWS_ON_PRIMITIVES=fails((function(){instance.has(1)})),ACCEPT_ITERABLES=checkCorrectnessOfIteration((function(iterable){new NativeConstructor(iterable)})),BUGGY_ZERO=!IS_WEAK&&fails((function(){for(var $instance=new NativeConstructor,index=5;index--;)$instance[ADDER](index,index);return!$instance.has(-0)}));ACCEPT_ITERABLES||((Constructor=wrapper((function(dummy,iterable){anInstance(dummy,NativePrototype);var that=inheritIfRequired(new NativeConstructor,dummy,Constructor);return null!=iterable&&iterate(iterable,that[ADDER],{that:that,AS_ENTRIES:IS_MAP}),that}))).prototype=NativePrototype,NativePrototype.constructor=Constructor),(THROWS_ON_PRIMITIVES||BUGGY_ZERO)&&(fixMethod("delete"),fixMethod("has"),IS_MAP&&fixMethod("get")),(BUGGY_ZERO||HASNT_CHAINING)&&fixMethod(ADDER),IS_WEAK&&NativePrototype.clear&&delete NativePrototype.clear}return exported[CONSTRUCTOR_NAME]=Constructor,$({global:!0,forced:Constructor!=NativeConstructor},exported),setToStringTag(Constructor,CONSTRUCTOR_NAME),IS_WEAK||common.setStrong(Constructor,CONSTRUCTOR_NAME,IS_MAP),Constructor}},99920:function(module,__unused_webpack_exports,__webpack_require__){var hasOwn=__webpack_require__(92597),ownKeys=__webpack_require__(53887),getOwnPropertyDescriptorModule=__webpack_require__(31236),definePropertyModule=__webpack_require__(3070);module.exports=function(target,source,exceptions){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];hasOwn(target,key)||exceptions&&hasOwn(exceptions,key)||defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}},84964:function(module,__unused_webpack_exports,__webpack_require__){var MATCH=__webpack_require__(5112)("match");module.exports=function(METHOD_NAME){var regexp=/./;try{"/./"[METHOD_NAME](regexp)}catch(error1){try{return regexp[MATCH]=!1,"/./"[METHOD_NAME](regexp)}catch(error2){}}return!1}},49920:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293);module.exports=!fails((function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype}))},24994:function(module,__unused_webpack_exports,__webpack_require__){var IteratorPrototype=__webpack_require__(13383).IteratorPrototype,create=__webpack_require__(70030),createPropertyDescriptor=__webpack_require__(79114),setToStringTag=__webpack_require__(58003),Iterators=__webpack_require__(97497),returnThis=function(){return this};module.exports=function(IteratorConstructor,NAME,next,ENUMERABLE_NEXT){var TO_STRING_TAG=NAME+" Iterator";return IteratorConstructor.prototype=create(IteratorPrototype,{next:createPropertyDescriptor(+!ENUMERABLE_NEXT,next)}),setToStringTag(IteratorConstructor,TO_STRING_TAG,!1,!0),Iterators[TO_STRING_TAG]=returnThis,IteratorConstructor}},68880:function(module,__unused_webpack_exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(19781),definePropertyModule=__webpack_require__(3070),createPropertyDescriptor=__webpack_require__(79114);module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}},79114:function(module){module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}}},86135:function(module,__unused_webpack_exports,__webpack_require__){var toPropertyKey=__webpack_require__(34948),definePropertyModule=__webpack_require__(3070),createPropertyDescriptor=__webpack_require__(79114);module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}},85573:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),uncurryThis=__webpack_require__(1702),fails=__webpack_require__(47293),padStart=__webpack_require__(76650).start,RangeError=global.RangeError,abs=Math.abs,DatePrototype=Date.prototype,n$DateToISOString=DatePrototype.toISOString,getTime=uncurryThis(DatePrototype.getTime),getUTCDate=uncurryThis(DatePrototype.getUTCDate),getUTCFullYear=uncurryThis(DatePrototype.getUTCFullYear),getUTCHours=uncurryThis(DatePrototype.getUTCHours),getUTCMilliseconds=uncurryThis(DatePrototype.getUTCMilliseconds),getUTCMinutes=uncurryThis(DatePrototype.getUTCMinutes),getUTCMonth=uncurryThis(DatePrototype.getUTCMonth),getUTCSeconds=uncurryThis(DatePrototype.getUTCSeconds);module.exports=fails((function(){return"0385-07-25T07:06:39.999Z"!=n$DateToISOString.call(new Date(-50000000000001))}))||!fails((function(){n$DateToISOString.call(new Date(NaN))}))?function toISOString(){if(!isFinite(getTime(this)))throw RangeError("Invalid time value");var year=getUTCFullYear(this),milliseconds=getUTCMilliseconds(this),sign=year<0?"-":year>9999?"+":"";return sign+padStart(abs(year),sign?6:4,0)+"-"+padStart(getUTCMonth(this)+1,2,0)+"-"+padStart(getUTCDate(this),2,0)+"T"+padStart(getUTCHours(this),2,0)+":"+padStart(getUTCMinutes(this),2,0)+":"+padStart(getUTCSeconds(this),2,0)+"."+padStart(milliseconds,3,0)+"Z"}:n$DateToISOString},70654:function(module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),call=__webpack_require__(46916),IS_PURE=__webpack_require__(31913),FunctionName=__webpack_require__(76530),isCallable=__webpack_require__(60614),createIteratorConstructor=__webpack_require__(24994),getPrototypeOf=__webpack_require__(79518),setPrototypeOf=__webpack_require__(27674),setToStringTag=__webpack_require__(58003),createNonEnumerableProperty=__webpack_require__(68880),redefine=__webpack_require__(31320),wellKnownSymbol=__webpack_require__(5112),Iterators=__webpack_require__(97497),IteratorsCore=__webpack_require__(13383),PROPER_FUNCTION_NAME=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR=wellKnownSymbol("iterator"),returnThis=function(){return this};module.exports=function(Iterable,NAME,IteratorConstructor,next,DEFAULT,IS_SET,FORCED){createIteratorConstructor(IteratorConstructor,NAME,next);var CurrentIteratorPrototype,methods,KEY,getIterationMethod=function(KIND){if(KIND===DEFAULT&&defaultIterator)return defaultIterator;if(!BUGGY_SAFARI_ITERATORS&&KIND in IterablePrototype)return IterablePrototype[KIND];switch(KIND){case"keys":return function keys(){return new IteratorConstructor(this,KIND)};case"values":return function values(){return new IteratorConstructor(this,KIND)};case"entries":return function entries(){return new IteratorConstructor(this,KIND)}}return function(){return new IteratorConstructor(this)}},TO_STRING_TAG=NAME+" Iterator",INCORRECT_VALUES_NAME=!1,IterablePrototype=Iterable.prototype,nativeIterator=IterablePrototype[ITERATOR]||IterablePrototype["@@iterator"]||DEFAULT&&IterablePrototype[DEFAULT],defaultIterator=!BUGGY_SAFARI_ITERATORS&&nativeIterator||getIterationMethod(DEFAULT),anyNativeIterator="Array"==NAME&&IterablePrototype.entries||nativeIterator;if(anyNativeIterator&&(CurrentIteratorPrototype=getPrototypeOf(anyNativeIterator.call(new Iterable)))!==Object.prototype&&CurrentIteratorPrototype.next&&(IS_PURE||getPrototypeOf(CurrentIteratorPrototype)===IteratorPrototype||(setPrototypeOf?setPrototypeOf(CurrentIteratorPrototype,IteratorPrototype):isCallable(CurrentIteratorPrototype[ITERATOR])||redefine(CurrentIteratorPrototype,ITERATOR,returnThis)),setToStringTag(CurrentIteratorPrototype,TO_STRING_TAG,!0,!0),IS_PURE&&(Iterators[TO_STRING_TAG]=returnThis)),PROPER_FUNCTION_NAME&&"values"==DEFAULT&&nativeIterator&&"values"!==nativeIterator.name&&(!IS_PURE&&CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty(IterablePrototype,"name","values"):(INCORRECT_VALUES_NAME=!0,defaultIterator=function values(){return call(nativeIterator,this)})),DEFAULT)if(methods={values:getIterationMethod("values"),keys:IS_SET?defaultIterator:getIterationMethod("keys"),entries:getIterationMethod("entries")},FORCED)for(KEY in methods)(BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME||!(KEY in IterablePrototype))&&redefine(IterablePrototype,KEY,methods[KEY]);else $({target:NAME,proto:!0,forced:BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME},methods);return IS_PURE&&!FORCED||IterablePrototype[ITERATOR]===defaultIterator||redefine(IterablePrototype,ITERATOR,defaultIterator,{name:DEFAULT}),Iterators[NAME]=defaultIterator,methods}},97235:function(module,__unused_webpack_exports,__webpack_require__){var path=__webpack_require__(40857),hasOwn=__webpack_require__(92597),wrappedWellKnownSymbolModule=__webpack_require__(6061),defineProperty=__webpack_require__(3070).f;module.exports=function(NAME){var Symbol=path.Symbol||(path.Symbol={});hasOwn(Symbol,NAME)||defineProperty(Symbol,NAME,{value:wrappedWellKnownSymbolModule.f(NAME)})}},19781:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293);module.exports=!fails((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},80317:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),isObject=__webpack_require__(70111),document=global.document,EXISTS=isObject(document)&&isObject(document.createElement);module.exports=function(it){return EXISTS?document.createElement(it):{}}},48324:function(module){module.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},98509:function(module,__unused_webpack_exports,__webpack_require__){var classList=__webpack_require__(80317)("span").classList,DOMTokenListPrototype=classList&&classList.constructor&&classList.constructor.prototype;module.exports=DOMTokenListPrototype===Object.prototype?void 0:DOMTokenListPrototype},68886:function(module,__unused_webpack_exports,__webpack_require__){var firefox=__webpack_require__(88113).match(/firefox\/(\d+)/i);module.exports=!!firefox&&+firefox[1]},7871:function(module){module.exports="object"==typeof window},30256:function(module,__unused_webpack_exports,__webpack_require__){var UA=__webpack_require__(88113);module.exports=/MSIE|Trident/.test(UA)},71528:function(module,__unused_webpack_exports,__webpack_require__){var userAgent=__webpack_require__(88113),global=__webpack_require__(17854);module.exports=/ipad|iphone|ipod/i.test(userAgent)&&void 0!==global.Pebble},6833:function(module,__unused_webpack_exports,__webpack_require__){var userAgent=__webpack_require__(88113);module.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent)},35268:function(module,__unused_webpack_exports,__webpack_require__){var classof=__webpack_require__(84326),global=__webpack_require__(17854);module.exports="process"==classof(global.process)},71036:function(module,__unused_webpack_exports,__webpack_require__){var userAgent=__webpack_require__(88113);module.exports=/web0s(?!.*chrome)/i.test(userAgent)},88113:function(module,__unused_webpack_exports,__webpack_require__){var getBuiltIn=__webpack_require__(35005);module.exports=getBuiltIn("navigator","userAgent")||""},7392:function(module,__unused_webpack_exports,__webpack_require__){var match,version,global=__webpack_require__(17854),userAgent=__webpack_require__(88113),process=global.process,Deno=global.Deno,versions=process&&process.versions||Deno&&Deno.version,v8=versions&&versions.v8;v8&&(version=(match=v8.split("."))[0]>0&&match[0]<4?1:+(match[0]+match[1])),!version&&userAgent&&(!(match=userAgent.match(/Edge\/(\d+)/))||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/))&&(version=+match[1]),module.exports=version},98008:function(module,__unused_webpack_exports,__webpack_require__){var webkit=__webpack_require__(88113).match(/AppleWebKit\/(\d+)\./);module.exports=!!webkit&&+webkit[1]},80748:function(module){module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),getOwnPropertyDescriptor=__webpack_require__(31236).f,createNonEnumerableProperty=__webpack_require__(68880),redefine=__webpack_require__(31320),setGlobal=__webpack_require__(83505),copyConstructorProperties=__webpack_require__(99920),isForced=__webpack_require__(54705);module.exports=function(options,source){var target,key,targetProperty,sourceProperty,descriptor,TARGET=options.target,GLOBAL=options.global,STATIC=options.stat;if(target=GLOBAL?global:STATIC?global[TARGET]||setGlobal(TARGET,{}):(global[TARGET]||{}).prototype)for(key in source){if(sourceProperty=source[key],targetProperty=options.noTargetGet?(descriptor=getOwnPropertyDescriptor(target,key))&&descriptor.value:target[key],!isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced)&&void 0!==targetProperty){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),redefine(target,key,sourceProperty,options)}}},47293:function(module){module.exports=function(exec){try{return!!exec()}catch(error){return!0}}},27007:function(module,__unused_webpack_exports,__webpack_require__){__webpack_require__(74916);var uncurryThis=__webpack_require__(1702),redefine=__webpack_require__(31320),regexpExec=__webpack_require__(22261),fails=__webpack_require__(47293),wellKnownSymbol=__webpack_require__(5112),createNonEnumerableProperty=__webpack_require__(68880),SPECIES=wellKnownSymbol("species"),RegExpPrototype=RegExp.prototype;module.exports=function(KEY,exec,FORCED,SHAM){var SYMBOL=wellKnownSymbol(KEY),DELEGATES_TO_SYMBOL=!fails((function(){var O={};return O[SYMBOL]=function(){return 7},7!=""[KEY](O)})),DELEGATES_TO_EXEC=DELEGATES_TO_SYMBOL&&!fails((function(){var execCalled=!1,re=/a/;return"split"===KEY&&((re={}).constructor={},re.constructor[SPECIES]=function(){return re},re.flags="",re[SYMBOL]=/./[SYMBOL]),re.exec=function(){return execCalled=!0,null},re[SYMBOL](""),!execCalled}));if(!DELEGATES_TO_SYMBOL||!DELEGATES_TO_EXEC||FORCED){var uncurriedNativeRegExpMethod=uncurryThis(/./[SYMBOL]),methods=exec(SYMBOL,""[KEY],(function(nativeMethod,regexp,str,arg2,forceStringMethod){var uncurriedNativeMethod=uncurryThis(nativeMethod),$exec=regexp.exec;return $exec===regexpExec||$exec===RegExpPrototype.exec?DELEGATES_TO_SYMBOL&&!forceStringMethod?{done:!0,value:uncurriedNativeRegExpMethod(regexp,str,arg2)}:{done:!0,value:uncurriedNativeMethod(str,regexp,arg2)}:{done:!1}}));redefine(String.prototype,KEY,methods[0]),redefine(RegExpPrototype,SYMBOL,methods[1])}SHAM&&createNonEnumerableProperty(RegExpPrototype[SYMBOL],"sham",!0)}},76677:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293);module.exports=!fails((function(){return Object.isExtensible(Object.preventExtensions({}))}))},22104:function(module,__unused_webpack_exports,__webpack_require__){var NATIVE_BIND=__webpack_require__(34374),FunctionPrototype=Function.prototype,apply=FunctionPrototype.apply,call=FunctionPrototype.call;module.exports="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND?call.bind(apply):function(){return call.apply(apply,arguments)})},49974:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),aCallable=__webpack_require__(19662),NATIVE_BIND=__webpack_require__(34374),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},34374:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293);module.exports=!fails((function(){var test=function(){}.bind();return"function"!=typeof test||test.hasOwnProperty("prototype")}))},27065:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),uncurryThis=__webpack_require__(1702),aCallable=__webpack_require__(19662),isObject=__webpack_require__(70111),hasOwn=__webpack_require__(92597),arraySlice=__webpack_require__(50206),NATIVE_BIND=__webpack_require__(34374),Function=global.Function,concat=uncurryThis([].concat),join=uncurryThis([].join),factories={},construct=function(C,argsLength,args){if(!hasOwn(factories,argsLength)){for(var list=[],i=0;i<argsLength;i++)list[i]="a["+i+"]";factories[argsLength]=Function("C,a","return new C("+join(list,",")+")")}return factories[argsLength](C,args)};module.exports=NATIVE_BIND?Function.bind:function bind(that){var F=aCallable(this),Prototype=F.prototype,partArgs=arraySlice(arguments,1),boundFunction=function bound(){var args=concat(partArgs,arraySlice(arguments));return this instanceof boundFunction?construct(F,args.length,args):F.apply(that,args)};return isObject(Prototype)&&(boundFunction.prototype=Prototype),boundFunction}},46916:function(module,__unused_webpack_exports,__webpack_require__){var NATIVE_BIND=__webpack_require__(34374),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}},76530:function(module,__unused_webpack_exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(19781),hasOwn=__webpack_require__(92597),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&"something"===function something(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module.exports={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE}},1702:function(module,__unused_webpack_exports,__webpack_require__){var NATIVE_BIND=__webpack_require__(34374),FunctionPrototype=Function.prototype,bind=FunctionPrototype.bind,call=FunctionPrototype.call,uncurryThis=NATIVE_BIND&&bind.bind(call,call);module.exports=NATIVE_BIND?function(fn){return fn&&uncurryThis(fn)}:function(fn){return fn&&function(){return call.apply(fn,arguments)}}},35005:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),isCallable=__webpack_require__(60614),aFunction=function(argument){return isCallable(argument)?argument:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}},71246:function(module,__unused_webpack_exports,__webpack_require__){var classof=__webpack_require__(70648),getMethod=__webpack_require__(58173),Iterators=__webpack_require__(97497),ITERATOR=__webpack_require__(5112)("iterator");module.exports=function(it){if(null!=it)return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}},18554:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),call=__webpack_require__(46916),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670),tryToString=__webpack_require__(66330),getIteratorMethod=__webpack_require__(71246),TypeError=global.TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw TypeError(tryToString(argument)+" is not iterable")}},54647:function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__(46916);module.exports=function(it){return call(Map.prototype.entries,it)}},58173:function(module,__unused_webpack_exports,__webpack_require__){var aCallable=__webpack_require__(19662);module.exports=function(V,P){var func=V[P];return null==func?void 0:aCallable(func)}},96767:function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__(46916);module.exports=function(it){return call(Set.prototype.values,it)}},10647:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),toObject=__webpack_require__(47908),floor=Math.floor,charAt=uncurryThis("".charAt),replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice),SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g;module.exports=function(matched,str,position,captures,namedCaptures,replacement){var tailPos=position+matched.length,m=captures.length,symbols=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==namedCaptures&&(namedCaptures=toObject(namedCaptures),symbols=SUBSTITUTION_SYMBOLS),replace(replacement,symbols,(function(match,ch){var capture;switch(charAt(ch,0)){case"$":return"$";case"&":return matched;case"`":return stringSlice(str,0,position);case"'":return stringSlice(str,tailPos);case"<":capture=namedCaptures[stringSlice(ch,1,-1)];break;default:var n=+ch;if(0===n)return match;if(n>m){var f=floor(n/10);return 0===f?match:f<=m?void 0===captures[f-1]?charAt(ch,1):captures[f-1]+charAt(ch,1):match}capture=captures[n-1]}return void 0===capture?"":capture}))}},17854:function(module,__unused_webpack_exports,__webpack_require__){var check=function(it){return it&&it.Math==Math&&it};module.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof __webpack_require__.g&&__webpack_require__.g)||function(){return this}()||Function("return this")()},92597:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),toObject=__webpack_require__(47908),hasOwnProperty=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function hasOwn(it,key){return hasOwnProperty(toObject(it),key)}},3501:function(module){module.exports={}},842:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854);module.exports=function(a,b){var console=global.console;console&&console.error&&(1==arguments.length?console.error(a):console.error(a,b))}},60490:function(module,__unused_webpack_exports,__webpack_require__){var getBuiltIn=__webpack_require__(35005);module.exports=getBuiltIn("document","documentElement")},64664:function(module,__unused_webpack_exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(19781),fails=__webpack_require__(47293),createElement=__webpack_require__(80317);module.exports=!DESCRIPTORS&&!fails((function(){return 7!=Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a}))},11179:function(module,__unused_webpack_exports,__webpack_require__){var Array=__webpack_require__(17854).Array,abs=Math.abs,pow=Math.pow,floor=Math.floor,log=Math.log,LN2=Math.LN2;module.exports={pack:function(number,mantissaLength,bytes){var exponent,mantissa,c,buffer=Array(bytes),exponentLength=8*bytes-mantissaLength-1,eMax=(1<<exponentLength)-1,eBias=eMax>>1,rt=23===mantissaLength?pow(2,-24)-pow(2,-77):0,sign=number<0||0===number&&1/number<0?1:0,index=0;for((number=abs(number))!=number||number===1/0?(mantissa=number!=number?1:0,exponent=eMax):(exponent=floor(log(number)/LN2),number*(c=pow(2,-exponent))<1&&(exponent--,c*=2),(number+=exponent+eBias>=1?rt/c:rt*pow(2,1-eBias))*c>=2&&(exponent++,c/=2),exponent+eBias>=eMax?(mantissa=0,exponent=eMax):exponent+eBias>=1?(mantissa=(number*c-1)*pow(2,mantissaLength),exponent+=eBias):(mantissa=number*pow(2,eBias-1)*pow(2,mantissaLength),exponent=0));mantissaLength>=8;)buffer[index++]=255&mantissa,mantissa/=256,mantissaLength-=8;for(exponent=exponent<<mantissaLength|mantissa,exponentLength+=mantissaLength;exponentLength>0;)buffer[index++]=255&exponent,exponent/=256,exponentLength-=8;return buffer[--index]|=128*sign,buffer},unpack:function(buffer,mantissaLength){var mantissa,bytes=buffer.length,exponentLength=8*bytes-mantissaLength-1,eMax=(1<<exponentLength)-1,eBias=eMax>>1,nBits=exponentLength-7,index=bytes-1,sign=buffer[index--],exponent=127&sign;for(sign>>=7;nBits>0;)exponent=256*exponent+buffer[index--],nBits-=8;for(mantissa=exponent&(1<<-nBits)-1,exponent>>=-nBits,nBits+=mantissaLength;nBits>0;)mantissa=256*mantissa+buffer[index--],nBits-=8;if(0===exponent)exponent=1-eBias;else{if(exponent===eMax)return mantissa?NaN:sign?-1/0:1/0;mantissa+=pow(2,mantissaLength),exponent-=eBias}return(sign?-1:1)*mantissa*pow(2,exponent-mantissaLength)}}},68361:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),uncurryThis=__webpack_require__(1702),fails=__webpack_require__(47293),classof=__webpack_require__(84326),Object=global.Object,split=uncurryThis("".split);module.exports=fails((function(){return!Object("z").propertyIsEnumerable(0)}))?function(it){return"String"==classof(it)?split(it,""):Object(it)}:Object},79587:function(module,__unused_webpack_exports,__webpack_require__){var isCallable=__webpack_require__(60614),isObject=__webpack_require__(70111),setPrototypeOf=__webpack_require__(27674);module.exports=function($this,dummy,Wrapper){var NewTarget,NewTargetPrototype;return setPrototypeOf&&isCallable(NewTarget=dummy.constructor)&&NewTarget!==Wrapper&&isObject(NewTargetPrototype=NewTarget.prototype)&&NewTargetPrototype!==Wrapper.prototype&&setPrototypeOf($this,NewTargetPrototype),$this}},42788:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),isCallable=__webpack_require__(60614),store=__webpack_require__(5465),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)}),module.exports=store.inspectSource},62423:function(module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),uncurryThis=__webpack_require__(1702),hiddenKeys=__webpack_require__(3501),isObject=__webpack_require__(70111),hasOwn=__webpack_require__(92597),defineProperty=__webpack_require__(3070).f,getOwnPropertyNamesModule=__webpack_require__(8006),getOwnPropertyNamesExternalModule=__webpack_require__(1156),isExtensible=__webpack_require__(52050),uid=__webpack_require__(69711),FREEZING=__webpack_require__(76677),REQUIRED=!1,METADATA=uid("meta"),id=0,setMetadata=function(it){defineProperty(it,METADATA,{value:{objectID:"O"+id++,weakData:{}}})},meta=module.exports={enable:function(){meta.enable=function(){},REQUIRED=!0;var getOwnPropertyNames=getOwnPropertyNamesModule.f,splice=uncurryThis([].splice),test={};test[METADATA]=1,getOwnPropertyNames(test).length&&(getOwnPropertyNamesModule.f=function(it){for(var result=getOwnPropertyNames(it),i=0,length=result.length;i<length;i++)if(result[i]===METADATA){splice(result,i,1);break}return result},$({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:getOwnPropertyNamesExternalModule.f}))},fastKey:function(it,create){if(!isObject(it))return"symbol"==typeof it?it:("string"==typeof it?"S":"P")+it;if(!hasOwn(it,METADATA)){if(!isExtensible(it))return"F";if(!create)return"E";setMetadata(it)}return it[METADATA].objectID},getWeakData:function(it,create){if(!hasOwn(it,METADATA)){if(!isExtensible(it))return!0;if(!create)return!1;setMetadata(it)}return it[METADATA].weakData},onFreeze:function(it){return FREEZING&&REQUIRED&&isExtensible(it)&&!hasOwn(it,METADATA)&&setMetadata(it),it}};hiddenKeys[METADATA]=!0},29909:function(module,__unused_webpack_exports,__webpack_require__){var set,get,has,NATIVE_WEAK_MAP=__webpack_require__(68536),global=__webpack_require__(17854),uncurryThis=__webpack_require__(1702),isObject=__webpack_require__(70111),createNonEnumerableProperty=__webpack_require__(68880),hasOwn=__webpack_require__(92597),shared=__webpack_require__(5465),sharedKey=__webpack_require__(6200),hiddenKeys=__webpack_require__(3501),TypeError=global.TypeError,WeakMap=global.WeakMap;if(NATIVE_WEAK_MAP||shared.state){var store=shared.state||(shared.state=new WeakMap),wmget=uncurryThis(store.get),wmhas=uncurryThis(store.has),wmset=uncurryThis(store.set);set=function(it,metadata){if(wmhas(store,it))throw new TypeError("Object already initialized");return metadata.facade=it,wmset(store,it,metadata),metadata},get=function(it){return wmget(store,it)||{}},has=function(it){return wmhas(store,it)}}else{var STATE=sharedKey("state");hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError("Object already initialized");return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)}}module.exports={set:set,get:get,has:has,enforce:function(it){return has(it)?get(it):set(it,{})},getterFor:function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw TypeError("Incompatible receiver, "+TYPE+" required");return state}}}},97659:function(module,__unused_webpack_exports,__webpack_require__){var wellKnownSymbol=__webpack_require__(5112),Iterators=__webpack_require__(97497),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},43157:function(module,__unused_webpack_exports,__webpack_require__){var classof=__webpack_require__(84326);module.exports=Array.isArray||function isArray(argument){return"Array"==classof(argument)}},60614:function(module){module.exports=function(argument){return"function"==typeof argument}},4411:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),fails=__webpack_require__(47293),isCallable=__webpack_require__(60614),classof=__webpack_require__(70648),getBuiltIn=__webpack_require__(35005),inspectSource=__webpack_require__(42788),noop=function(){},empty=[],construct=getBuiltIn("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec=uncurryThis(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.exec(noop),isConstructorModern=function isConstructor(argument){if(!isCallable(argument))return!1;try{return construct(noop,empty,argument),!0}catch(error){return!1}},isConstructorLegacy=function isConstructor(argument){if(!isCallable(argument))return!1;switch(classof(argument)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec(constructorRegExp,inspectSource(argument))}catch(error){return!0}};isConstructorLegacy.sham=!0,module.exports=!construct||fails((function(){var called;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern((function(){called=!0}))||called}))?isConstructorLegacy:isConstructorModern},45032:function(module,__unused_webpack_exports,__webpack_require__){var hasOwn=__webpack_require__(92597);module.exports=function(descriptor){return void 0!==descriptor&&(hasOwn(descriptor,"value")||hasOwn(descriptor,"writable"))}},54705:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293),isCallable=__webpack_require__(60614),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value==POLYFILL||value!=NATIVE&&(isCallable(detection)?fails(detection):!!detection)},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced},55988:function(module,__unused_webpack_exports,__webpack_require__){var isObject=__webpack_require__(70111),floor=Math.floor;module.exports=Number.isInteger||function isInteger(it){return!isObject(it)&&isFinite(it)&&floor(it)===it}},70111:function(module,__unused_webpack_exports,__webpack_require__){var isCallable=__webpack_require__(60614);module.exports=function(it){return"object"==typeof it?null!==it:isCallable(it)}},31913:function(module){module.exports=!1},47850:function(module,__unused_webpack_exports,__webpack_require__){var isObject=__webpack_require__(70111),classof=__webpack_require__(84326),MATCH=__webpack_require__(5112)("match");module.exports=function(it){var isRegExp;return isObject(it)&&(void 0!==(isRegExp=it[MATCH])?!!isRegExp:"RegExp"==classof(it))}},52190:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),getBuiltIn=__webpack_require__(35005),isCallable=__webpack_require__(60614),isPrototypeOf=__webpack_require__(47976),USE_SYMBOL_AS_UID=__webpack_require__(43307),Object=global.Object;module.exports=USE_SYMBOL_AS_UID?function(it){return"symbol"==typeof it}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,Object(it))}},20408:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),bind=__webpack_require__(49974),call=__webpack_require__(46916),anObject=__webpack_require__(19670),tryToString=__webpack_require__(66330),isArrayIteratorMethod=__webpack_require__(97659),lengthOfArrayLike=__webpack_require__(26244),isPrototypeOf=__webpack_require__(47976),getIterator=__webpack_require__(18554),getIteratorMethod=__webpack_require__(71246),iteratorClose=__webpack_require__(99212),TypeError=global.TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var iterator,iterFn,index,length,result,next,step,that=options&&options.that,AS_ENTRIES=!(!options||!options.AS_ENTRIES),IS_ITERATOR=!(!options||!options.IS_ITERATOR),INTERRUPTED=!(!options||!options.INTERRUPTED),fn=bind(unboundFunction,that),stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_ITERATOR)iterator=iterable;else{if(!(iterFn=getIteratorMethod(iterable)))throw TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},99212:function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__(46916),anObject=__webpack_require__(19670),getMethod=__webpack_require__(58173);module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},13383:function(module,__unused_webpack_exports,__webpack_require__){var IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator,fails=__webpack_require__(47293),isCallable=__webpack_require__(60614),create=__webpack_require__(70030),getPrototypeOf=__webpack_require__(79518),redefine=__webpack_require__(31320),wellKnownSymbol=__webpack_require__(5112),IS_PURE=__webpack_require__(31913),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1;[].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)))!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS=!0),null==IteratorPrototype||fails((function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test}))?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype)),isCallable(IteratorPrototype[ITERATOR])||redefine(IteratorPrototype,ITERATOR,(function(){return this})),module.exports={IteratorPrototype:IteratorPrototype,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS}},97497:function(module){module.exports={}},26244:function(module,__unused_webpack_exports,__webpack_require__){var toLength=__webpack_require__(17466);module.exports=function(obj){return toLength(obj.length)}},95948:function(module,__unused_webpack_exports,__webpack_require__){var flush,head,last,notify,toggle,node,promise,then,global=__webpack_require__(17854),bind=__webpack_require__(49974),getOwnPropertyDescriptor=__webpack_require__(31236).f,macrotask=__webpack_require__(20261).set,IS_IOS=__webpack_require__(6833),IS_IOS_PEBBLE=__webpack_require__(71528),IS_WEBOS_WEBKIT=__webpack_require__(71036),IS_NODE=__webpack_require__(35268),MutationObserver=global.MutationObserver||global.WebKitMutationObserver,document=global.document,process=global.process,Promise=global.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor(global,"queueMicrotask"),queueMicrotask=queueMicrotaskDescriptor&&queueMicrotaskDescriptor.value;queueMicrotask||(flush=function(){var parent,fn;for(IS_NODE&&(parent=process.domain)&&parent.exit();head;){fn=head.fn,head=head.next;try{fn()}catch(error){throw head?notify():last=void 0,error}}last=void 0,parent&&parent.enter()},IS_IOS||IS_NODE||IS_WEBOS_WEBKIT||!MutationObserver||!document?!IS_IOS_PEBBLE&&Promise&&Promise.resolve?((promise=Promise.resolve(void 0)).constructor=Promise,then=bind(promise.then,promise),notify=function(){then(flush)}):IS_NODE?notify=function(){process.nextTick(flush)}:(macrotask=bind(macrotask,global),notify=function(){macrotask(flush)}):(toggle=!0,node=document.createTextNode(""),new MutationObserver(flush).observe(node,{characterData:!0}),notify=function(){node.data=toggle=!toggle})),module.exports=queueMicrotask||function(fn){var task={fn:fn,next:void 0};last&&(last.next=task),head||(head=task,notify()),last=task}},13366:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854);module.exports=global.Promise},30133:function(module,__unused_webpack_exports,__webpack_require__){var V8_VERSION=__webpack_require__(7392),fails=__webpack_require__(47293);module.exports=!!Object.getOwnPropertySymbols&&!fails((function(){var symbol=Symbol();return!String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41}))},590:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293),wellKnownSymbol=__webpack_require__(5112),IS_PURE=__webpack_require__(31913),ITERATOR=wellKnownSymbol("iterator");module.exports=!fails((function(){var url=new URL("b?a=1&b=2&c=3","http://a"),searchParams=url.searchParams,result="";return url.pathname="c%20d",searchParams.forEach((function(value,key){searchParams.delete("b"),result+=key+value})),IS_PURE&&!url.toJSON||!searchParams.sort||"http://a/c%20d?a=1&c=3"!==url.href||"3"!==searchParams.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!searchParams[ITERATOR]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==result||"x"!==new URL("http://x",void 0).host}))},68536:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),isCallable=__webpack_require__(60614),inspectSource=__webpack_require__(42788),WeakMap=global.WeakMap;module.exports=isCallable(WeakMap)&&/native code/.test(inspectSource(WeakMap))},78523:function(module,__unused_webpack_exports,__webpack_require__){var aCallable=__webpack_require__(19662),PromiseCapability=function(C){var resolve,reject;this.promise=new C((function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw TypeError("Bad Promise constructor");resolve=$$resolve,reject=$$reject})),this.resolve=aCallable(resolve),this.reject=aCallable(reject)};module.exports.f=function(C){return new PromiseCapability(C)}},3929:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),isRegExp=__webpack_require__(47850),TypeError=global.TypeError;module.exports=function(it){if(isRegExp(it))throw TypeError("The method doesn't accept regular expressions");return it}},2814:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),fails=__webpack_require__(47293),uncurryThis=__webpack_require__(1702),toString=__webpack_require__(41340),trim=__webpack_require__(53111).trim,whitespaces=__webpack_require__(81361),charAt=uncurryThis("".charAt),n$ParseFloat=global.parseFloat,Symbol=global.Symbol,ITERATOR=Symbol&&Symbol.iterator,FORCED=1/n$ParseFloat(whitespaces+"-0")!=-1/0||ITERATOR&&!fails((function(){n$ParseFloat(Object(ITERATOR))}));module.exports=FORCED?function parseFloat(string){var trimmedString=trim(toString(string)),result=n$ParseFloat(trimmedString);return 0===result&&"-"==charAt(trimmedString,0)?-0:result}:n$ParseFloat},83009:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),fails=__webpack_require__(47293),uncurryThis=__webpack_require__(1702),toString=__webpack_require__(41340),trim=__webpack_require__(53111).trim,whitespaces=__webpack_require__(81361),$parseInt=global.parseInt,Symbol=global.Symbol,ITERATOR=Symbol&&Symbol.iterator,hex=/^[+-]?0x/i,exec=uncurryThis(hex.exec),FORCED=8!==$parseInt(whitespaces+"08")||22!==$parseInt(whitespaces+"0x16")||ITERATOR&&!fails((function(){$parseInt(Object(ITERATOR))}));module.exports=FORCED?function parseInt(string,radix){var S=trim(toString(string));return $parseInt(S,radix>>>0||(exec(hex,S)?16:10))}:$parseInt},21574:function(module,__unused_webpack_exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(19781),uncurryThis=__webpack_require__(1702),call=__webpack_require__(46916),fails=__webpack_require__(47293),objectKeys=__webpack_require__(81956),getOwnPropertySymbolsModule=__webpack_require__(25181),propertyIsEnumerableModule=__webpack_require__(55296),toObject=__webpack_require__(47908),IndexedObject=__webpack_require__(68361),$assign=Object.assign,defineProperty=Object.defineProperty,concat=uncurryThis([].concat);module.exports=!$assign||fails((function(){if(DESCRIPTORS&&1!==$assign({b:1},$assign(defineProperty({},"a",{enumerable:!0,get:function(){defineProperty(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var A={},B={},symbol=Symbol();return A[symbol]=7,"abcdefghijklmnopqrst".split("").forEach((function(chr){B[chr]=chr})),7!=$assign({},A)[symbol]||"abcdefghijklmnopqrst"!=objectKeys($assign({},B)).join("")}))?function assign(target,source){for(var T=toObject(target),argumentsLength=arguments.length,index=1,getOwnPropertySymbols=getOwnPropertySymbolsModule.f,propertyIsEnumerable=propertyIsEnumerableModule.f;argumentsLength>index;)for(var key,S=IndexedObject(arguments[index++]),keys=getOwnPropertySymbols?concat(objectKeys(S),getOwnPropertySymbols(S)):objectKeys(S),length=keys.length,j=0;length>j;)key=keys[j++],DESCRIPTORS&&!call(propertyIsEnumerable,S,key)||(T[key]=S[key]);return T}:$assign},70030:function(module,__unused_webpack_exports,__webpack_require__){var activeXDocument,anObject=__webpack_require__(19670),definePropertiesModule=__webpack_require__(36048),enumBugKeys=__webpack_require__(80748),hiddenKeys=__webpack_require__(3501),html=__webpack_require__(60490),documentCreateElement=__webpack_require__(80317),sharedKey=__webpack_require__(6200),IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return"<script>"+content+"<\/script>"},NullProtoObjectViaActiveX=function(activeXDocument){activeXDocument.write(scriptTag("")),activeXDocument.close();var temp=activeXDocument.parentWindow.Object;return activeXDocument=null,temp},NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(error){}var iframeDocument,iframe;NullProtoObject="undefined"!=typeof document?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):((iframe=documentCreateElement("iframe")).style.display="none",html.appendChild(iframe),iframe.src=String("javascript:"),(iframeDocument=iframe.contentWindow.document).open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F):NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject.prototype[enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0,module.exports=Object.create||function create(O,Properties){var result;return null!==O?(EmptyConstructor.prototype=anObject(O),result=new EmptyConstructor,EmptyConstructor.prototype=null,result[IE_PROTO]=O):result=NullProtoObject(),void 0===Properties?result:definePropertiesModule.f(result,Properties)}},36048:function(__unused_webpack_module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(19781),V8_PROTOTYPE_DEFINE_BUG=__webpack_require__(3353),definePropertyModule=__webpack_require__(3070),anObject=__webpack_require__(19670),toIndexedObject=__webpack_require__(45656),objectKeys=__webpack_require__(81956);exports.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function defineProperties(O,Properties){anObject(O);for(var key,props=toIndexedObject(Properties),keys=objectKeys(Properties),length=keys.length,index=0;length>index;)definePropertyModule.f(O,key=keys[index++],props[key]);return O}},3070:function(__unused_webpack_module,exports,__webpack_require__){var global=__webpack_require__(17854),DESCRIPTORS=__webpack_require__(19781),IE8_DOM_DEFINE=__webpack_require__(64664),V8_PROTOTYPE_DEFINE_BUG=__webpack_require__(3353),anObject=__webpack_require__(19670),toPropertyKey=__webpack_require__(34948),TypeError=global.TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function defineProperty(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),"function"==typeof O&&"prototype"===P&&"value"in Attributes&&"writable"in Attributes&&!Attributes.writable){var current=$getOwnPropertyDescriptor(O,P);current&¤t.writable&&(O[P]=Attributes.value,Attributes={configurable:"configurable"in Attributes?Attributes.configurable:current.configurable,enumerable:"enumerable"in Attributes?Attributes.enumerable:current.enumerable,writable:!1})}return $defineProperty(O,P,Attributes)}:$defineProperty:function defineProperty(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}},31236:function(__unused_webpack_module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(19781),call=__webpack_require__(46916),propertyIsEnumerableModule=__webpack_require__(55296),createPropertyDescriptor=__webpack_require__(79114),toIndexedObject=__webpack_require__(45656),toPropertyKey=__webpack_require__(34948),hasOwn=__webpack_require__(92597),IE8_DOM_DEFINE=__webpack_require__(64664),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function getOwnPropertyDescriptor(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch(error){}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}},1156:function(module,__unused_webpack_exports,__webpack_require__){var classof=__webpack_require__(84326),toIndexedObject=__webpack_require__(45656),$getOwnPropertyNames=__webpack_require__(8006).f,arraySlice=__webpack_require__(41589),windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];module.exports.f=function getOwnPropertyNames(it){return windowNames&&"Window"==classof(it)?function(it){try{return $getOwnPropertyNames(it)}catch(error){return arraySlice(windowNames)}}(it):$getOwnPropertyNames(toIndexedObject(it))}},8006:function(__unused_webpack_module,exports,__webpack_require__){var internalObjectKeys=__webpack_require__(16324),hiddenKeys=__webpack_require__(80748).concat("length","prototype");exports.f=Object.getOwnPropertyNames||function getOwnPropertyNames(O){return internalObjectKeys(O,hiddenKeys)}},25181:function(__unused_webpack_module,exports){exports.f=Object.getOwnPropertySymbols},79518:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),hasOwn=__webpack_require__(92597),isCallable=__webpack_require__(60614),toObject=__webpack_require__(47908),sharedKey=__webpack_require__(6200),CORRECT_PROTOTYPE_GETTER=__webpack_require__(49920),IE_PROTO=sharedKey("IE_PROTO"),Object=global.Object,ObjectPrototype=Object.prototype;module.exports=CORRECT_PROTOTYPE_GETTER?Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof Object?ObjectPrototype:null}},52050:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293),isObject=__webpack_require__(70111),classof=__webpack_require__(84326),ARRAY_BUFFER_NON_EXTENSIBLE=__webpack_require__(7556),$isExtensible=Object.isExtensible,FAILS_ON_PRIMITIVES=fails((function(){$isExtensible(1)}));module.exports=FAILS_ON_PRIMITIVES||ARRAY_BUFFER_NON_EXTENSIBLE?function isExtensible(it){return!!isObject(it)&&((!ARRAY_BUFFER_NON_EXTENSIBLE||"ArrayBuffer"!=classof(it))&&(!$isExtensible||$isExtensible(it)))}:$isExtensible},47976:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702);module.exports=uncurryThis({}.isPrototypeOf)},16324:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),hasOwn=__webpack_require__(92597),toIndexedObject=__webpack_require__(45656),indexOf=__webpack_require__(41318).indexOf,hiddenKeys=__webpack_require__(3501),push=uncurryThis([].push);module.exports=function(object,names){var key,O=toIndexedObject(object),i=0,result=[];for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}},81956:function(module,__unused_webpack_exports,__webpack_require__){var internalObjectKeys=__webpack_require__(16324),enumBugKeys=__webpack_require__(80748);module.exports=Object.keys||function keys(O){return internalObjectKeys(O,enumBugKeys)}},55296:function(__unused_webpack_module,exports){var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function propertyIsEnumerable(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable},27674:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),anObject=__webpack_require__(19670),aPossiblePrototype=__webpack_require__(96077);module.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var setter,CORRECT_SETTER=!1,test={};try{(setter=uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(test,[]),CORRECT_SETTER=test instanceof Array}catch(error){}return function setPrototypeOf(O,proto){return anObject(O),aPossiblePrototype(proto),CORRECT_SETTER?setter(O,proto):O.__proto__=proto,O}}():void 0)},44699:function(module,__unused_webpack_exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(19781),uncurryThis=__webpack_require__(1702),objectKeys=__webpack_require__(81956),toIndexedObject=__webpack_require__(45656),propertyIsEnumerable=uncurryThis(__webpack_require__(55296).f),push=uncurryThis([].push),createMethod=function(TO_ENTRIES){return function(it){for(var key,O=toIndexedObject(it),keys=objectKeys(O),length=keys.length,i=0,result=[];length>i;)key=keys[i++],DESCRIPTORS&&!propertyIsEnumerable(O,key)||push(result,TO_ENTRIES?[key,O[key]]:O[key]);return result}};module.exports={entries:createMethod(!0),values:createMethod(!1)}},90288:function(module,__unused_webpack_exports,__webpack_require__){var TO_STRING_TAG_SUPPORT=__webpack_require__(51694),classof=__webpack_require__(70648);module.exports=TO_STRING_TAG_SUPPORT?{}.toString:function toString(){return"[object "+classof(this)+"]"}},92140:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),call=__webpack_require__(46916),isCallable=__webpack_require__(60614),isObject=__webpack_require__(70111),TypeError=global.TypeError;module.exports=function(input,pref){var fn,val;if("string"===pref&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;if(isCallable(fn=input.valueOf)&&!isObject(val=call(fn,input)))return val;if("string"!==pref&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;throw TypeError("Can't convert object to primitive value")}},53887:function(module,__unused_webpack_exports,__webpack_require__){var getBuiltIn=__webpack_require__(35005),uncurryThis=__webpack_require__(1702),getOwnPropertyNamesModule=__webpack_require__(8006),getOwnPropertySymbolsModule=__webpack_require__(25181),anObject=__webpack_require__(19670),concat=uncurryThis([].concat);module.exports=getBuiltIn("Reflect","ownKeys")||function ownKeys(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys,getOwnPropertySymbols(it)):keys}},40857:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854);module.exports=global},12534:function(module){module.exports=function(exec){try{return{error:!1,value:exec()}}catch(error){return{error:!0,value:error}}}},69478:function(module,__unused_webpack_exports,__webpack_require__){var anObject=__webpack_require__(19670),isObject=__webpack_require__(70111),newPromiseCapability=__webpack_require__(78523);module.exports=function(C,x){if(anObject(C),isObject(x)&&x.constructor===C)return x;var promiseCapability=newPromiseCapability.f(C);return(0,promiseCapability.resolve)(x),promiseCapability.promise}},18572:function(module){var Queue=function(){this.head=null,this.tail=null};Queue.prototype={add:function(item){var entry={item:item,next:null};this.head?this.tail.next=entry:this.head=entry,this.tail=entry},get:function(){var entry=this.head;if(entry)return this.head=entry.next,this.tail===entry&&(this.tail=null),entry.item}},module.exports=Queue},12248:function(module,__unused_webpack_exports,__webpack_require__){var redefine=__webpack_require__(31320);module.exports=function(target,src,options){for(var key in src)redefine(target,key,src[key],options);return target}},31320:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),isCallable=__webpack_require__(60614),hasOwn=__webpack_require__(92597),createNonEnumerableProperty=__webpack_require__(68880),setGlobal=__webpack_require__(83505),inspectSource=__webpack_require__(42788),InternalStateModule=__webpack_require__(29909),CONFIGURABLE_FUNCTION_NAME=__webpack_require__(76530).CONFIGURABLE,getInternalState=InternalStateModule.get,enforceInternalState=InternalStateModule.enforce,TEMPLATE=String(String).split("String");(module.exports=function(O,key,value,options){var state,unsafe=!!options&&!!options.unsafe,simple=!!options&&!!options.enumerable,noTargetGet=!!options&&!!options.noTargetGet,name=options&&void 0!==options.name?options.name:key;isCallable(value)&&("Symbol("===String(name).slice(0,7)&&(name="["+String(name).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&createNonEnumerableProperty(value,"name",name),(state=enforceInternalState(value)).source||(state.source=TEMPLATE.join("string"==typeof name?name:""))),O!==global?(unsafe?!noTargetGet&&O[key]&&(simple=!0):delete O[key],simple?O[key]=value:createNonEnumerableProperty(O,key,value)):simple?O[key]=value:setGlobal(key,value)})(Function.prototype,"toString",(function toString(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)}))},97651:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),call=__webpack_require__(46916),anObject=__webpack_require__(19670),isCallable=__webpack_require__(60614),classof=__webpack_require__(84326),regexpExec=__webpack_require__(22261),TypeError=global.TypeError;module.exports=function(R,S){var exec=R.exec;if(isCallable(exec)){var result=call(exec,R,S);return null!==result&&anObject(result),result}if("RegExp"===classof(R))return call(regexpExec,R,S);throw TypeError("RegExp#exec called on incompatible receiver")}},22261:function(module,__unused_webpack_exports,__webpack_require__){var re1,re2,call=__webpack_require__(46916),uncurryThis=__webpack_require__(1702),toString=__webpack_require__(41340),regexpFlags=__webpack_require__(67066),stickyHelpers=__webpack_require__(52999),shared=__webpack_require__(72309),create=__webpack_require__(70030),getInternalState=__webpack_require__(29909).get,UNSUPPORTED_DOT_ALL=__webpack_require__(9441),UNSUPPORTED_NCG=__webpack_require__(38173),nativeReplace=shared("native-string-replace",String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt=uncurryThis("".charAt),indexOf=uncurryThis("".indexOf),replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice),UPDATES_LAST_INDEX_WRONG=(re2=/b*/g,call(nativeExec,re1=/a/,"a"),call(nativeExec,re2,"a"),0!==re1.lastIndex||0!==re2.lastIndex),UNSUPPORTED_Y=stickyHelpers.BROKEN_CARET,NPCG_INCLUDED=void 0!==/()??/.exec("")[1];(UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG)&&(patchedExec=function exec(string){var result,reCopy,lastIndex,match,i,object,group,re=this,state=getInternalState(re),str=toString(string),raw=state.raw;if(raw)return raw.lastIndex=re.lastIndex,result=call(patchedExec,raw,str),re.lastIndex=raw.lastIndex,result;var groups=state.groups,sticky=UNSUPPORTED_Y&&re.sticky,flags=call(regexpFlags,re),source=re.source,charsAdded=0,strCopy=str;if(sticky&&(flags=replace(flags,"y",""),-1===indexOf(flags,"g")&&(flags+="g"),strCopy=stringSlice(str,re.lastIndex),re.lastIndex>0&&(!re.multiline||re.multiline&&"\n"!==charAt(str,re.lastIndex-1))&&(source="(?: "+source+")",strCopy=" "+strCopy,charsAdded++),reCopy=new RegExp("^(?:"+source+")",flags)),NPCG_INCLUDED&&(reCopy=new RegExp("^"+source+"$(?!\\s)",flags)),UPDATES_LAST_INDEX_WRONG&&(lastIndex=re.lastIndex),match=call(nativeExec,sticky?reCopy:re,strCopy),sticky?match?(match.input=stringSlice(match.input,charsAdded),match[0]=stringSlice(match[0],charsAdded),match.index=re.lastIndex,re.lastIndex+=match[0].length):re.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&match&&(re.lastIndex=re.global?match.index+match[0].length:lastIndex),NPCG_INCLUDED&&match&&match.length>1&&call(nativeReplace,match[0],reCopy,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(match[i]=void 0)})),match&&groups)for(match.groups=object=create(null),i=0;i<groups.length;i++)object[(group=groups[i])[0]]=match[group[1]];return match}),module.exports=patchedExec},67066:function(module,__unused_webpack_exports,__webpack_require__){var anObject=__webpack_require__(19670);module.exports=function(){var that=anObject(this),result="";return that.global&&(result+="g"),that.ignoreCase&&(result+="i"),that.multiline&&(result+="m"),that.dotAll&&(result+="s"),that.unicode&&(result+="u"),that.sticky&&(result+="y"),result}},52999:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293),$RegExp=__webpack_require__(17854).RegExp,UNSUPPORTED_Y=fails((function(){var re=$RegExp("a","y");return re.lastIndex=2,null!=re.exec("abcd")})),MISSED_STICKY=UNSUPPORTED_Y||fails((function(){return!$RegExp("a","y").sticky})),BROKEN_CARET=UNSUPPORTED_Y||fails((function(){var re=$RegExp("^r","gy");return re.lastIndex=2,null!=re.exec("str")}));module.exports={BROKEN_CARET:BROKEN_CARET,MISSED_STICKY:MISSED_STICKY,UNSUPPORTED_Y:UNSUPPORTED_Y}},9441:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293),$RegExp=__webpack_require__(17854).RegExp;module.exports=fails((function(){var re=$RegExp(".","s");return!(re.dotAll&&re.exec("\n")&&"s"===re.flags)}))},38173:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293),$RegExp=__webpack_require__(17854).RegExp;module.exports=fails((function(){var re=$RegExp("(?<a>b)","g");return"b"!==re.exec("b").groups.a||"bc"!=="b".replace(re,"$<a>c")}))},84488:function(module,__unused_webpack_exports,__webpack_require__){var TypeError=__webpack_require__(17854).TypeError;module.exports=function(it){if(null==it)throw TypeError("Can't call method on "+it);return it}},46465:function(module){module.exports=function(x,y){return x===y||x!=x&&y!=y}},81150:function(module){module.exports=Object.is||function is(x,y){return x===y?0!==x||1/x==1/y:x!=x&&y!=y}},83505:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global,key,{value:value,configurable:!0,writable:!0})}catch(error){global[key]=value}return value}},96340:function(module,__unused_webpack_exports,__webpack_require__){var getBuiltIn=__webpack_require__(35005),definePropertyModule=__webpack_require__(3070),wellKnownSymbol=__webpack_require__(5112),DESCRIPTORS=__webpack_require__(19781),SPECIES=wellKnownSymbol("species");module.exports=function(CONSTRUCTOR_NAME){var Constructor=getBuiltIn(CONSTRUCTOR_NAME),defineProperty=definePropertyModule.f;DESCRIPTORS&&Constructor&&!Constructor[SPECIES]&&defineProperty(Constructor,SPECIES,{configurable:!0,get:function(){return this}})}},58003:function(module,__unused_webpack_exports,__webpack_require__){var defineProperty=__webpack_require__(3070).f,hasOwn=__webpack_require__(92597),TO_STRING_TAG=__webpack_require__(5112)("toStringTag");module.exports=function(target,TAG,STATIC){target&&!STATIC&&(target=target.prototype),target&&!hasOwn(target,TO_STRING_TAG)&&defineProperty(target,TO_STRING_TAG,{configurable:!0,value:TAG})}},6200:function(module,__unused_webpack_exports,__webpack_require__){var shared=__webpack_require__(72309),uid=__webpack_require__(69711),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}},5465:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),setGlobal=__webpack_require__(83505),store=global["__core-js_shared__"]||setGlobal("__core-js_shared__",{});module.exports=store},72309:function(module,__unused_webpack_exports,__webpack_require__){var IS_PURE=__webpack_require__(31913),store=__webpack_require__(5465);(module.exports=function(key,value){return store[key]||(store[key]=void 0!==value?value:{})})("versions",[]).push({version:"3.21.0",mode:IS_PURE?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.0/LICENSE",source:"https://github.com/zloirock/core-js"})},36707:function(module,__unused_webpack_exports,__webpack_require__){var anObject=__webpack_require__(19670),aConstructor=__webpack_require__(39483),SPECIES=__webpack_require__(5112)("species");module.exports=function(O,defaultConstructor){var S,C=anObject(O).constructor;return void 0===C||null==(S=anObject(C)[SPECIES])?defaultConstructor:aConstructor(S)}},28710:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),toIntegerOrInfinity=__webpack_require__(19303),toString=__webpack_require__(41340),requireObjectCoercible=__webpack_require__(84488),charAt=uncurryThis("".charAt),charCodeAt=uncurryThis("".charCodeAt),stringSlice=uncurryThis("".slice),createMethod=function(CONVERT_TO_STRING){return function($this,pos){var first,second,S=toString(requireObjectCoercible($this)),position=toIntegerOrInfinity(pos),size=S.length;return position<0||position>=size?CONVERT_TO_STRING?"":void 0:(first=charCodeAt(S,position))<55296||first>56319||position+1===size||(second=charCodeAt(S,position+1))<56320||second>57343?CONVERT_TO_STRING?charAt(S,position):first:CONVERT_TO_STRING?stringSlice(S,position,position+2):second-56320+(first-55296<<10)+65536}};module.exports={codeAt:createMethod(!1),charAt:createMethod(!0)}},54986:function(module,__unused_webpack_exports,__webpack_require__){var userAgent=__webpack_require__(88113);module.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent)},76650:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),toLength=__webpack_require__(17466),toString=__webpack_require__(41340),$repeat=__webpack_require__(38415),requireObjectCoercible=__webpack_require__(84488),repeat=uncurryThis($repeat),stringSlice=uncurryThis("".slice),ceil=Math.ceil,createMethod=function(IS_END){return function($this,maxLength,fillString){var fillLen,stringFiller,S=toString(requireObjectCoercible($this)),intMaxLength=toLength(maxLength),stringLength=S.length,fillStr=void 0===fillString?" ":toString(fillString);return intMaxLength<=stringLength||""==fillStr?S:((stringFiller=repeat(fillStr,ceil((fillLen=intMaxLength-stringLength)/fillStr.length))).length>fillLen&&(stringFiller=stringSlice(stringFiller,0,fillLen)),IS_END?S+stringFiller:stringFiller+S)}};module.exports={start:createMethod(!1),end:createMethod(!0)}},33197:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),uncurryThis=__webpack_require__(1702),regexNonASCII=/[^\0-\u007E]/,regexSeparators=/[.\u3002\uFF0E\uFF61]/g,OVERFLOW_ERROR="Overflow: input needs wider integers to process",RangeError=global.RangeError,exec=uncurryThis(regexSeparators.exec),floor=Math.floor,fromCharCode=String.fromCharCode,charCodeAt=uncurryThis("".charCodeAt),join=uncurryThis([].join),push=uncurryThis([].push),replace=uncurryThis("".replace),split=uncurryThis("".split),toLowerCase=uncurryThis("".toLowerCase),digitToBasic=function(digit){return digit+22+75*(digit<26)},adapt=function(delta,numPoints,firstTime){var k=0;for(delta=firstTime?floor(delta/700):delta>>1,delta+=floor(delta/numPoints);delta>455;)delta=floor(delta/35),k+=36;return floor(k+36*delta/(delta+38))},encode=function(input){var i,currentValue,output=[],inputLength=(input=function(string){for(var output=[],counter=0,length=string.length;counter<length;){var value=charCodeAt(string,counter++);if(value>=55296&&value<=56319&&counter<length){var extra=charCodeAt(string,counter++);56320==(64512&extra)?push(output,((1023&value)<<10)+(1023&extra)+65536):(push(output,value),counter--)}else push(output,value)}return output}(input)).length,n=128,delta=0,bias=72;for(i=0;i<input.length;i++)(currentValue=input[i])<128&&push(output,fromCharCode(currentValue));var basicLength=output.length,handledCPCount=basicLength;for(basicLength&&push(output,"-");handledCPCount<inputLength;){var m=2147483647;for(i=0;i<input.length;i++)(currentValue=input[i])>=n&¤tValue<m&&(m=currentValue);var handledCPCountPlusOne=handledCPCount+1;if(m-n>floor((2147483647-delta)/handledCPCountPlusOne))throw RangeError(OVERFLOW_ERROR);for(delta+=(m-n)*handledCPCountPlusOne,n=m,i=0;i<input.length;i++){if((currentValue=input[i])<n&&++delta>2147483647)throw RangeError(OVERFLOW_ERROR);if(currentValue==n){for(var q=delta,k=36;;){var t=k<=bias?1:k>=bias+26?26:k-bias;if(q<t)break;var qMinusT=q-t,baseMinusT=36-t;push(output,fromCharCode(digitToBasic(t+qMinusT%baseMinusT))),q=floor(qMinusT/baseMinusT),k+=36}push(output,fromCharCode(digitToBasic(q))),bias=adapt(delta,handledCPCountPlusOne,handledCPCount==basicLength),delta=0,handledCPCount++}}delta++,n++}return join(output,"")};module.exports=function(input){var i,label,encoded=[],labels=split(replace(toLowerCase(input),regexSeparators,"."),".");for(i=0;i<labels.length;i++)label=labels[i],push(encoded,exec(regexNonASCII,label)?"xn--"+encode(label):label);return join(encoded,".")}},38415:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),toIntegerOrInfinity=__webpack_require__(19303),toString=__webpack_require__(41340),requireObjectCoercible=__webpack_require__(84488),RangeError=global.RangeError;module.exports=function repeat(count){var str=toString(requireObjectCoercible(this)),result="",n=toIntegerOrInfinity(count);if(n<0||n==1/0)throw RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(str+=str))1&n&&(result+=str);return result}},76091:function(module,__unused_webpack_exports,__webpack_require__){var PROPER_FUNCTION_NAME=__webpack_require__(76530).PROPER,fails=__webpack_require__(47293),whitespaces=__webpack_require__(81361);module.exports=function(METHOD_NAME){return fails((function(){return!!whitespaces[METHOD_NAME]()||" "!==" "[METHOD_NAME]()||PROPER_FUNCTION_NAME&&whitespaces[METHOD_NAME].name!==METHOD_NAME}))}},53111:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),requireObjectCoercible=__webpack_require__(84488),toString=__webpack_require__(41340),whitespaces=__webpack_require__(81361),replace=uncurryThis("".replace),whitespace="["+whitespaces+"]",ltrim=RegExp("^"+whitespace+whitespace+"*"),rtrim=RegExp(whitespace+whitespace+"*$"),createMethod=function(TYPE){return function($this){var string=toString(requireObjectCoercible($this));return 1&TYPE&&(string=replace(string,ltrim,"")),2&TYPE&&(string=replace(string,rtrim,"")),string}};module.exports={start:createMethod(1),end:createMethod(2),trim:createMethod(3)}},20261:function(module,__unused_webpack_exports,__webpack_require__){var location,defer,channel,port,global=__webpack_require__(17854),apply=__webpack_require__(22104),bind=__webpack_require__(49974),isCallable=__webpack_require__(60614),hasOwn=__webpack_require__(92597),fails=__webpack_require__(47293),html=__webpack_require__(60490),arraySlice=__webpack_require__(50206),createElement=__webpack_require__(80317),validateArgumentsLength=__webpack_require__(48053),IS_IOS=__webpack_require__(6833),IS_NODE=__webpack_require__(35268),set=global.setImmediate,clear=global.clearImmediate,process=global.process,Dispatch=global.Dispatch,Function=global.Function,MessageChannel=global.MessageChannel,String=global.String,counter=0,queue={};try{location=global.location}catch(error){}var run=function(id){if(hasOwn(queue,id)){var fn=queue[id];delete queue[id],fn()}},runner=function(id){return function(){run(id)}},listener=function(event){run(event.data)},post=function(id){global.postMessage(String(id),location.protocol+"//"+location.host)};set&&clear||(set=function setImmediate(handler){validateArgumentsLength(arguments.length,1);var fn=isCallable(handler)?handler:Function(handler),args=arraySlice(arguments,1);return queue[++counter]=function(){apply(fn,void 0,args)},defer(counter),counter},clear=function clearImmediate(id){delete queue[id]},IS_NODE?defer=function(id){process.nextTick(runner(id))}:Dispatch&&Dispatch.now?defer=function(id){Dispatch.now(runner(id))}:MessageChannel&&!IS_IOS?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=listener,defer=bind(port.postMessage,port)):global.addEventListener&&isCallable(global.postMessage)&&!global.importScripts&&location&&"file:"!==location.protocol&&!fails(post)?(defer=post,global.addEventListener("message",listener,!1)):defer="onreadystatechange"in createElement("script")?function(id){html.appendChild(createElement("script")).onreadystatechange=function(){html.removeChild(this),run(id)}}:function(id){setTimeout(runner(id),0)}),module.exports={set:set,clear:clear}},50863:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702);module.exports=uncurryThis(1..valueOf)},51400:function(module,__unused_webpack_exports,__webpack_require__){var toIntegerOrInfinity=__webpack_require__(19303),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}},57067:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),toIntegerOrInfinity=__webpack_require__(19303),toLength=__webpack_require__(17466),RangeError=global.RangeError;module.exports=function(it){if(void 0===it)return 0;var number=toIntegerOrInfinity(it),length=toLength(number);if(number!==length)throw RangeError("Wrong length or index");return length}},45656:function(module,__unused_webpack_exports,__webpack_require__){var IndexedObject=__webpack_require__(68361),requireObjectCoercible=__webpack_require__(84488);module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}},19303:function(module){var ceil=Math.ceil,floor=Math.floor;module.exports=function(argument){var number=+argument;return number!=number||0===number?0:(number>0?floor:ceil)(number)}},17466:function(module,__unused_webpack_exports,__webpack_require__){var toIntegerOrInfinity=__webpack_require__(19303),min=Math.min;module.exports=function(argument){return argument>0?min(toIntegerOrInfinity(argument),9007199254740991):0}},47908:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),requireObjectCoercible=__webpack_require__(84488),Object=global.Object;module.exports=function(argument){return Object(requireObjectCoercible(argument))}},84590:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),toPositiveInteger=__webpack_require__(73002),RangeError=global.RangeError;module.exports=function(it,BYTES){var offset=toPositiveInteger(it);if(offset%BYTES)throw RangeError("Wrong offset");return offset}},73002:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),toIntegerOrInfinity=__webpack_require__(19303),RangeError=global.RangeError;module.exports=function(it){var result=toIntegerOrInfinity(it);if(result<0)throw RangeError("The argument can't be less than 0");return result}},57593:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),call=__webpack_require__(46916),isObject=__webpack_require__(70111),isSymbol=__webpack_require__(52190),getMethod=__webpack_require__(58173),ordinaryToPrimitive=__webpack_require__(92140),wellKnownSymbol=__webpack_require__(5112),TypeError=global.TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module.exports=function(input,pref){if(!isObject(input)||isSymbol(input))return input;var result,exoticToPrim=getMethod(input,TO_PRIMITIVE);if(exoticToPrim){if(void 0===pref&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject(result)||isSymbol(result))return result;throw TypeError("Can't convert object to primitive value")}return void 0===pref&&(pref="number"),ordinaryToPrimitive(input,pref)}},34948:function(module,__unused_webpack_exports,__webpack_require__){var toPrimitive=__webpack_require__(57593),isSymbol=__webpack_require__(52190);module.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}},51694:function(module,__unused_webpack_exports,__webpack_require__){var test={};test[__webpack_require__(5112)("toStringTag")]="z",module.exports="[object z]"===String(test)},41340:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),classof=__webpack_require__(70648),String=global.String;module.exports=function(argument){if("Symbol"===classof(argument))throw TypeError("Cannot convert a Symbol value to a string");return String(argument)}},66330:function(module,__unused_webpack_exports,__webpack_require__){var String=__webpack_require__(17854).String;module.exports=function(argument){try{return String(argument)}catch(error){return"Object"}}},19843:function(module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),global=__webpack_require__(17854),call=__webpack_require__(46916),DESCRIPTORS=__webpack_require__(19781),TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS=__webpack_require__(63832),ArrayBufferViewCore=__webpack_require__(90260),ArrayBufferModule=__webpack_require__(13331),anInstance=__webpack_require__(25787),createPropertyDescriptor=__webpack_require__(79114),createNonEnumerableProperty=__webpack_require__(68880),isIntegralNumber=__webpack_require__(55988),toLength=__webpack_require__(17466),toIndex=__webpack_require__(57067),toOffset=__webpack_require__(84590),toPropertyKey=__webpack_require__(34948),hasOwn=__webpack_require__(92597),classof=__webpack_require__(70648),isObject=__webpack_require__(70111),isSymbol=__webpack_require__(52190),create=__webpack_require__(70030),isPrototypeOf=__webpack_require__(47976),setPrototypeOf=__webpack_require__(27674),getOwnPropertyNames=__webpack_require__(8006).f,typedArrayFrom=__webpack_require__(97321),forEach=__webpack_require__(42092).forEach,setSpecies=__webpack_require__(96340),definePropertyModule=__webpack_require__(3070),getOwnPropertyDescriptorModule=__webpack_require__(31236),InternalStateModule=__webpack_require__(29909),inheritIfRequired=__webpack_require__(79587),getInternalState=InternalStateModule.get,setInternalState=InternalStateModule.set,nativeDefineProperty=definePropertyModule.f,nativeGetOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,round=Math.round,RangeError=global.RangeError,ArrayBuffer=ArrayBufferModule.ArrayBuffer,ArrayBufferPrototype=ArrayBuffer.prototype,DataView=ArrayBufferModule.DataView,NATIVE_ARRAY_BUFFER_VIEWS=ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS,TYPED_ARRAY_CONSTRUCTOR=ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR,TYPED_ARRAY_TAG=ArrayBufferViewCore.TYPED_ARRAY_TAG,TypedArray=ArrayBufferViewCore.TypedArray,TypedArrayPrototype=ArrayBufferViewCore.TypedArrayPrototype,aTypedArrayConstructor=ArrayBufferViewCore.aTypedArrayConstructor,isTypedArray=ArrayBufferViewCore.isTypedArray,fromList=function(C,list){aTypedArrayConstructor(C);for(var index=0,length=list.length,result=new C(length);length>index;)result[index]=list[index++];return result},addGetter=function(it,key){nativeDefineProperty(it,key,{get:function(){return getInternalState(this)[key]}})},isArrayBuffer=function(it){var klass;return isPrototypeOf(ArrayBufferPrototype,it)||"ArrayBuffer"==(klass=classof(it))||"SharedArrayBuffer"==klass},isTypedArrayIndex=function(target,key){return isTypedArray(target)&&!isSymbol(key)&&key in target&&isIntegralNumber(+key)&&key>=0},wrappedGetOwnPropertyDescriptor=function getOwnPropertyDescriptor(target,key){return key=toPropertyKey(key),isTypedArrayIndex(target,key)?createPropertyDescriptor(2,target[key]):nativeGetOwnPropertyDescriptor(target,key)},wrappedDefineProperty=function defineProperty(target,key,descriptor){return key=toPropertyKey(key),!(isTypedArrayIndex(target,key)&&isObject(descriptor)&&hasOwn(descriptor,"value"))||hasOwn(descriptor,"get")||hasOwn(descriptor,"set")||descriptor.configurable||hasOwn(descriptor,"writable")&&!descriptor.writable||hasOwn(descriptor,"enumerable")&&!descriptor.enumerable?nativeDefineProperty(target,key,descriptor):(target[key]=descriptor.value,target)};DESCRIPTORS?(NATIVE_ARRAY_BUFFER_VIEWS||(getOwnPropertyDescriptorModule.f=wrappedGetOwnPropertyDescriptor,definePropertyModule.f=wrappedDefineProperty,addGetter(TypedArrayPrototype,"buffer"),addGetter(TypedArrayPrototype,"byteOffset"),addGetter(TypedArrayPrototype,"byteLength"),addGetter(TypedArrayPrototype,"length")),$({target:"Object",stat:!0,forced:!NATIVE_ARRAY_BUFFER_VIEWS},{getOwnPropertyDescriptor:wrappedGetOwnPropertyDescriptor,defineProperty:wrappedDefineProperty}),module.exports=function(TYPE,wrapper,CLAMPED){var BYTES=TYPE.match(/\d+$/)[0]/8,CONSTRUCTOR_NAME=TYPE+(CLAMPED?"Clamped":"")+"Array",GETTER="get"+TYPE,SETTER="set"+TYPE,NativeTypedArrayConstructor=global[CONSTRUCTOR_NAME],TypedArrayConstructor=NativeTypedArrayConstructor,TypedArrayConstructorPrototype=TypedArrayConstructor&&TypedArrayConstructor.prototype,exported={},addElement=function(that,index){nativeDefineProperty(that,index,{get:function(){return function(that,index){var data=getInternalState(that);return data.view[GETTER](index*BYTES+data.byteOffset,!0)}(this,index)},set:function(value){return function(that,index,value){var data=getInternalState(that);CLAMPED&&(value=(value=round(value))<0?0:value>255?255:255&value),data.view[SETTER](index*BYTES+data.byteOffset,value,!0)}(this,index,value)},enumerable:!0})};NATIVE_ARRAY_BUFFER_VIEWS?TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS&&(TypedArrayConstructor=wrapper((function(dummy,data,typedArrayOffset,$length){return anInstance(dummy,TypedArrayConstructorPrototype),inheritIfRequired(isObject(data)?isArrayBuffer(data)?void 0!==$length?new NativeTypedArrayConstructor(data,toOffset(typedArrayOffset,BYTES),$length):void 0!==typedArrayOffset?new NativeTypedArrayConstructor(data,toOffset(typedArrayOffset,BYTES)):new NativeTypedArrayConstructor(data):isTypedArray(data)?fromList(TypedArrayConstructor,data):call(typedArrayFrom,TypedArrayConstructor,data):new NativeTypedArrayConstructor(toIndex(data)),dummy,TypedArrayConstructor)})),setPrototypeOf&&setPrototypeOf(TypedArrayConstructor,TypedArray),forEach(getOwnPropertyNames(NativeTypedArrayConstructor),(function(key){key in TypedArrayConstructor||createNonEnumerableProperty(TypedArrayConstructor,key,NativeTypedArrayConstructor[key])})),TypedArrayConstructor.prototype=TypedArrayConstructorPrototype):(TypedArrayConstructor=wrapper((function(that,data,offset,$length){anInstance(that,TypedArrayConstructorPrototype);var buffer,byteLength,length,index=0,byteOffset=0;if(isObject(data)){if(!isArrayBuffer(data))return isTypedArray(data)?fromList(TypedArrayConstructor,data):call(typedArrayFrom,TypedArrayConstructor,data);buffer=data,byteOffset=toOffset(offset,BYTES);var $len=data.byteLength;if(void 0===$length){if($len%BYTES)throw RangeError("Wrong length");if((byteLength=$len-byteOffset)<0)throw RangeError("Wrong length")}else if((byteLength=toLength($length)*BYTES)+byteOffset>$len)throw RangeError("Wrong length");length=byteLength/BYTES}else length=toIndex(data),buffer=new ArrayBuffer(byteLength=length*BYTES);for(setInternalState(that,{buffer:buffer,byteOffset:byteOffset,byteLength:byteLength,length:length,view:new DataView(buffer)});index<length;)addElement(that,index++)})),setPrototypeOf&&setPrototypeOf(TypedArrayConstructor,TypedArray),TypedArrayConstructorPrototype=TypedArrayConstructor.prototype=create(TypedArrayPrototype)),TypedArrayConstructorPrototype.constructor!==TypedArrayConstructor&&createNonEnumerableProperty(TypedArrayConstructorPrototype,"constructor",TypedArrayConstructor),createNonEnumerableProperty(TypedArrayConstructorPrototype,TYPED_ARRAY_CONSTRUCTOR,TypedArrayConstructor),TYPED_ARRAY_TAG&&createNonEnumerableProperty(TypedArrayConstructorPrototype,TYPED_ARRAY_TAG,CONSTRUCTOR_NAME),exported[CONSTRUCTOR_NAME]=TypedArrayConstructor,$({global:!0,forced:TypedArrayConstructor!=NativeTypedArrayConstructor,sham:!NATIVE_ARRAY_BUFFER_VIEWS},exported),"BYTES_PER_ELEMENT"in TypedArrayConstructor||createNonEnumerableProperty(TypedArrayConstructor,"BYTES_PER_ELEMENT",BYTES),"BYTES_PER_ELEMENT"in TypedArrayConstructorPrototype||createNonEnumerableProperty(TypedArrayConstructorPrototype,"BYTES_PER_ELEMENT",BYTES),setSpecies(CONSTRUCTOR_NAME)}):module.exports=function(){}},63832:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),fails=__webpack_require__(47293),checkCorrectnessOfIteration=__webpack_require__(17072),NATIVE_ARRAY_BUFFER_VIEWS=__webpack_require__(90260).NATIVE_ARRAY_BUFFER_VIEWS,ArrayBuffer=global.ArrayBuffer,Int8Array=global.Int8Array;module.exports=!NATIVE_ARRAY_BUFFER_VIEWS||!fails((function(){Int8Array(1)}))||!fails((function(){new Int8Array(-1)}))||!checkCorrectnessOfIteration((function(iterable){new Int8Array,new Int8Array(null),new Int8Array(1.5),new Int8Array(iterable)}),!0)||fails((function(){return 1!==new Int8Array(new ArrayBuffer(2),1,void 0).length}))},43074:function(module,__unused_webpack_exports,__webpack_require__){var arrayFromConstructorAndList=__webpack_require__(97745),typedArraySpeciesConstructor=__webpack_require__(66304);module.exports=function(instance,list){return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance),list)}},97321:function(module,__unused_webpack_exports,__webpack_require__){var bind=__webpack_require__(49974),call=__webpack_require__(46916),aConstructor=__webpack_require__(39483),toObject=__webpack_require__(47908),lengthOfArrayLike=__webpack_require__(26244),getIterator=__webpack_require__(18554),getIteratorMethod=__webpack_require__(71246),isArrayIteratorMethod=__webpack_require__(97659),aTypedArrayConstructor=__webpack_require__(90260).aTypedArrayConstructor;module.exports=function from(source){var i,length,result,step,iterator,next,C=aConstructor(this),O=toObject(source),argumentsLength=arguments.length,mapfn=argumentsLength>1?arguments[1]:void 0,mapping=void 0!==mapfn,iteratorMethod=getIteratorMethod(O);if(iteratorMethod&&!isArrayIteratorMethod(iteratorMethod))for(next=(iterator=getIterator(O,iteratorMethod)).next,O=[];!(step=call(next,iterator)).done;)O.push(step.value);for(mapping&&argumentsLength>2&&(mapfn=bind(mapfn,arguments[2])),length=lengthOfArrayLike(O),result=new(aTypedArrayConstructor(C))(length),i=0;length>i;i++)result[i]=mapping?mapfn(O[i],i):O[i];return result}},66304:function(module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),speciesConstructor=__webpack_require__(36707),TYPED_ARRAY_CONSTRUCTOR=ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR,aTypedArrayConstructor=ArrayBufferViewCore.aTypedArrayConstructor;module.exports=function(originalArray){return aTypedArrayConstructor(speciesConstructor(originalArray,originalArray[TYPED_ARRAY_CONSTRUCTOR]))}},69711:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),id=0,postfix=Math.random(),toString=uncurryThis(1..toString);module.exports=function(key){return"Symbol("+(void 0===key?"":key)+")_"+toString(++id+postfix,36)}},43307:function(module,__unused_webpack_exports,__webpack_require__){var NATIVE_SYMBOL=__webpack_require__(30133);module.exports=NATIVE_SYMBOL&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(module,__unused_webpack_exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(19781),fails=__webpack_require__(47293);module.exports=DESCRIPTORS&&fails((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},48053:function(module,__unused_webpack_exports,__webpack_require__){var TypeError=__webpack_require__(17854).TypeError;module.exports=function(passed,required){if(passed<required)throw TypeError("Not enough arguments");return passed}},6061:function(__unused_webpack_module,exports,__webpack_require__){var wellKnownSymbol=__webpack_require__(5112);exports.f=wellKnownSymbol},5112:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),shared=__webpack_require__(72309),hasOwn=__webpack_require__(92597),uid=__webpack_require__(69711),NATIVE_SYMBOL=__webpack_require__(30133),USE_SYMBOL_AS_UID=__webpack_require__(43307),WellKnownSymbolsStore=shared("wks"),Symbol=global.Symbol,symbolFor=Symbol&&Symbol.for,createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol:Symbol&&Symbol.withoutSetter||uid;module.exports=function(name){if(!hasOwn(WellKnownSymbolsStore,name)||!NATIVE_SYMBOL&&"string"!=typeof WellKnownSymbolsStore[name]){var description="Symbol."+name;NATIVE_SYMBOL&&hasOwn(Symbol,name)?WellKnownSymbolsStore[name]=Symbol[name]:WellKnownSymbolsStore[name]=USE_SYMBOL_AS_UID&&symbolFor?symbolFor(description):createWellKnownSymbol(description)}return WellKnownSymbolsStore[name]}},81361:function(module){module.exports="\t\n\v\f\r \u2028\u2029\ufeff"},39575:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),uncurryThis=__webpack_require__(1702),fails=__webpack_require__(47293),ArrayBufferModule=__webpack_require__(13331),anObject=__webpack_require__(19670),toAbsoluteIndex=__webpack_require__(51400),toLength=__webpack_require__(17466),speciesConstructor=__webpack_require__(36707),ArrayBuffer=ArrayBufferModule.ArrayBuffer,DataView=ArrayBufferModule.DataView,DataViewPrototype=DataView.prototype,un$ArrayBufferSlice=uncurryThis(ArrayBuffer.prototype.slice),getUint8=uncurryThis(DataViewPrototype.getUint8),setUint8=uncurryThis(DataViewPrototype.setUint8);$({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:fails((function(){return!new ArrayBuffer(2).slice(1,void 0).byteLength}))},{slice:function slice(start,end){if(un$ArrayBufferSlice&&void 0===end)return un$ArrayBufferSlice(anObject(this),start);for(var length=anObject(this).byteLength,first=toAbsoluteIndex(start,length),fin=toAbsoluteIndex(void 0===end?length:end,length),result=new(speciesConstructor(this,ArrayBuffer))(toLength(fin-first)),viewSource=new DataView(this),viewTarget=new DataView(result),index=0;first<fin;)setUint8(viewTarget,index++,getUint8(viewSource,first++));return result}})},92222:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),global=__webpack_require__(17854),fails=__webpack_require__(47293),isArray=__webpack_require__(43157),isObject=__webpack_require__(70111),toObject=__webpack_require__(47908),lengthOfArrayLike=__webpack_require__(26244),createProperty=__webpack_require__(86135),arraySpeciesCreate=__webpack_require__(65417),arrayMethodHasSpeciesSupport=__webpack_require__(81194),wellKnownSymbol=__webpack_require__(5112),V8_VERSION=__webpack_require__(7392),IS_CONCAT_SPREADABLE=wellKnownSymbol("isConcatSpreadable"),TypeError=global.TypeError,IS_CONCAT_SPREADABLE_SUPPORT=V8_VERSION>=51||!fails((function(){var array=[];return array[IS_CONCAT_SPREADABLE]=!1,array.concat()[0]!==array})),SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("concat"),isConcatSpreadable=function(O){if(!isObject(O))return!1;var spreadable=O[IS_CONCAT_SPREADABLE];return void 0!==spreadable?!!spreadable:isArray(O)};$({target:"Array",proto:!0,forced:!IS_CONCAT_SPREADABLE_SUPPORT||!SPECIES_SUPPORT},{concat:function concat(arg){var i,k,length,len,E,O=toObject(this),A=arraySpeciesCreate(O,0),n=0;for(i=-1,length=arguments.length;i<length;i++)if(isConcatSpreadable(E=-1===i?O:arguments[i])){if(n+(len=lengthOfArrayLike(E))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(k=0;k<len;k++,n++)k in E&&createProperty(A,n,E[k])}else{if(n>=9007199254740991)throw TypeError("Maximum allowed index exceeded");createProperty(A,n++,E)}return A.length=n,A}})},26541:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),$every=__webpack_require__(42092).every;$({target:"Array",proto:!0,forced:!__webpack_require__(9341)("every")},{every:function every(callbackfn){return $every(this,callbackfn,arguments.length>1?arguments[1]:void 0)}})},43290:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),fill=__webpack_require__(21285),addToUnscopables=__webpack_require__(51223);$({target:"Array",proto:!0},{fill:fill}),addToUnscopables("fill")},57327:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),$filter=__webpack_require__(42092).filter;$({target:"Array",proto:!0,forced:!__webpack_require__(81194)("filter")},{filter:function filter(callbackfn){return $filter(this,callbackfn,arguments.length>1?arguments[1]:void 0)}})},89554:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),forEach=__webpack_require__(18533);$({target:"Array",proto:!0,forced:[].forEach!=forEach},{forEach:forEach})},91038:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),from=__webpack_require__(48457);$({target:"Array",stat:!0,forced:!__webpack_require__(17072)((function(iterable){Array.from(iterable)}))},{from:from})},26699:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),$includes=__webpack_require__(41318).includes,addToUnscopables=__webpack_require__(51223);$({target:"Array",proto:!0},{includes:function includes(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}}),addToUnscopables("includes")},82772:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),uncurryThis=__webpack_require__(1702),$IndexOf=__webpack_require__(41318).indexOf,arrayMethodIsStrict=__webpack_require__(9341),un$IndexOf=uncurryThis([].indexOf),NEGATIVE_ZERO=!!un$IndexOf&&1/un$IndexOf([1],1,-0)<0,STRICT_METHOD=arrayMethodIsStrict("indexOf");$({target:"Array",proto:!0,forced:NEGATIVE_ZERO||!STRICT_METHOD},{indexOf:function indexOf(searchElement){var fromIndex=arguments.length>1?arguments[1]:void 0;return NEGATIVE_ZERO?un$IndexOf(this,searchElement,fromIndex)||0:$IndexOf(this,searchElement,fromIndex)}})},66992:function(module,__unused_webpack_exports,__webpack_require__){var toIndexedObject=__webpack_require__(45656),addToUnscopables=__webpack_require__(51223),Iterators=__webpack_require__(97497),InternalStateModule=__webpack_require__(29909),defineProperty=__webpack_require__(3070).f,defineIterator=__webpack_require__(70654),IS_PURE=__webpack_require__(31913),DESCRIPTORS=__webpack_require__(19781),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("Array Iterator");module.exports=defineIterator(Array,"Array",(function(iterated,kind){setInternalState(this,{type:"Array Iterator",target:toIndexedObject(iterated),index:0,kind:kind})}),(function(){var state=getInternalState(this),target=state.target,kind=state.kind,index=state.index++;return!target||index>=target.length?(state.target=void 0,{value:void 0,done:!0}):"keys"==kind?{value:index,done:!1}:"values"==kind?{value:target[index],done:!1}:{value:[index,target[index]],done:!1}}),"values");var values=Iterators.Arguments=Iterators.Array;if(addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries"),!IS_PURE&&DESCRIPTORS&&"values"!==values.name)try{defineProperty(values,"name",{value:"values"})}catch(error){}},69600:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),uncurryThis=__webpack_require__(1702),IndexedObject=__webpack_require__(68361),toIndexedObject=__webpack_require__(45656),arrayMethodIsStrict=__webpack_require__(9341),un$Join=uncurryThis([].join),ES3_STRINGS=IndexedObject!=Object,STRICT_METHOD=arrayMethodIsStrict("join",",");$({target:"Array",proto:!0,forced:ES3_STRINGS||!STRICT_METHOD},{join:function join(separator){return un$Join(toIndexedObject(this),void 0===separator?",":separator)}})},94986:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),lastIndexOf=__webpack_require__(86583);$({target:"Array",proto:!0,forced:lastIndexOf!==[].lastIndexOf},{lastIndexOf:lastIndexOf})},21249:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),$map=__webpack_require__(42092).map;$({target:"Array",proto:!0,forced:!__webpack_require__(81194)("map")},{map:function map(callbackfn){return $map(this,callbackfn,arguments.length>1?arguments[1]:void 0)}})},85827:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),$reduce=__webpack_require__(53671).left,arrayMethodIsStrict=__webpack_require__(9341),CHROME_VERSION=__webpack_require__(7392),IS_NODE=__webpack_require__(35268);$({target:"Array",proto:!0,forced:!arrayMethodIsStrict("reduce")||!IS_NODE&&CHROME_VERSION>79&&CHROME_VERSION<83},{reduce:function reduce(callbackfn){var length=arguments.length;return $reduce(this,callbackfn,length,length>1?arguments[1]:void 0)}})},65069:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),uncurryThis=__webpack_require__(1702),isArray=__webpack_require__(43157),un$Reverse=uncurryThis([].reverse),test=[1,2];$({target:"Array",proto:!0,forced:String(test)===String(test.reverse())},{reverse:function reverse(){return isArray(this)&&(this.length=this.length),un$Reverse(this)}})},47042:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),global=__webpack_require__(17854),isArray=__webpack_require__(43157),isConstructor=__webpack_require__(4411),isObject=__webpack_require__(70111),toAbsoluteIndex=__webpack_require__(51400),lengthOfArrayLike=__webpack_require__(26244),toIndexedObject=__webpack_require__(45656),createProperty=__webpack_require__(86135),wellKnownSymbol=__webpack_require__(5112),arrayMethodHasSpeciesSupport=__webpack_require__(81194),un$Slice=__webpack_require__(50206),HAS_SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("slice"),SPECIES=wellKnownSymbol("species"),Array=global.Array,max=Math.max;$({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT},{slice:function slice(start,end){var Constructor,result,n,O=toIndexedObject(this),length=lengthOfArrayLike(O),k=toAbsoluteIndex(start,length),fin=toAbsoluteIndex(void 0===end?length:end,length);if(isArray(O)&&(Constructor=O.constructor,(isConstructor(Constructor)&&(Constructor===Array||isArray(Constructor.prototype))||isObject(Constructor)&&null===(Constructor=Constructor[SPECIES]))&&(Constructor=void 0),Constructor===Array||void 0===Constructor))return un$Slice(O,k,fin);for(result=new(void 0===Constructor?Array:Constructor)(max(fin-k,0)),n=0;k<fin;k++,n++)k in O&&createProperty(result,n,O[k]);return result.length=n,result}})},5212:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),$some=__webpack_require__(42092).some;$({target:"Array",proto:!0,forced:!__webpack_require__(9341)("some")},{some:function some(callbackfn){return $some(this,callbackfn,arguments.length>1?arguments[1]:void 0)}})},2707:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),uncurryThis=__webpack_require__(1702),aCallable=__webpack_require__(19662),toObject=__webpack_require__(47908),lengthOfArrayLike=__webpack_require__(26244),toString=__webpack_require__(41340),fails=__webpack_require__(47293),internalSort=__webpack_require__(94362),arrayMethodIsStrict=__webpack_require__(9341),FF=__webpack_require__(68886),IE_OR_EDGE=__webpack_require__(30256),V8=__webpack_require__(7392),WEBKIT=__webpack_require__(98008),test=[],un$Sort=uncurryThis(test.sort),push=uncurryThis(test.push),FAILS_ON_UNDEFINED=fails((function(){test.sort(void 0)})),FAILS_ON_NULL=fails((function(){test.sort(null)})),STRICT_METHOD=arrayMethodIsStrict("sort"),STABLE_SORT=!fails((function(){if(V8)return V8<70;if(!(FF&&FF>3)){if(IE_OR_EDGE)return!0;if(WEBKIT)return WEBKIT<603;var code,chr,value,index,result="";for(code=65;code<76;code++){switch(chr=String.fromCharCode(code),code){case 66:case 69:case 70:case 72:value=3;break;case 68:case 71:value=4;break;default:value=2}for(index=0;index<47;index++)test.push({k:chr+index,v:value})}for(test.sort((function(a,b){return b.v-a.v})),index=0;index<test.length;index++)chr=test[index].k.charAt(0),result.charAt(result.length-1)!==chr&&(result+=chr);return"DGBEFHACIJK"!==result}}));$({target:"Array",proto:!0,forced:FAILS_ON_UNDEFINED||!FAILS_ON_NULL||!STRICT_METHOD||!STABLE_SORT},{sort:function sort(comparefn){void 0!==comparefn&&aCallable(comparefn);var array=toObject(this);if(STABLE_SORT)return void 0===comparefn?un$Sort(array):un$Sort(array,comparefn);var itemsLength,index,items=[],arrayLength=lengthOfArrayLike(array);for(index=0;index<arrayLength;index++)index in array&&push(items,array[index]);for(internalSort(items,function(comparefn){return function(x,y){return void 0===y?-1:void 0===x?1:void 0!==comparefn?+comparefn(x,y)||0:toString(x)>toString(y)?1:-1}}(comparefn)),itemsLength=items.length,index=0;index<itemsLength;)array[index]=items[index++];for(;index<arrayLength;)delete array[index++];return array}})},40561:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),global=__webpack_require__(17854),toAbsoluteIndex=__webpack_require__(51400),toIntegerOrInfinity=__webpack_require__(19303),lengthOfArrayLike=__webpack_require__(26244),toObject=__webpack_require__(47908),arraySpeciesCreate=__webpack_require__(65417),createProperty=__webpack_require__(86135),HAS_SPECIES_SUPPORT=__webpack_require__(81194)("splice"),TypeError=global.TypeError,max=Math.max,min=Math.min;$({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT},{splice:function splice(start,deleteCount){var insertCount,actualDeleteCount,A,k,from,to,O=toObject(this),len=lengthOfArrayLike(O),actualStart=toAbsoluteIndex(start,len),argumentsLength=arguments.length;if(0===argumentsLength?insertCount=actualDeleteCount=0:1===argumentsLength?(insertCount=0,actualDeleteCount=len-actualStart):(insertCount=argumentsLength-2,actualDeleteCount=min(max(toIntegerOrInfinity(deleteCount),0),len-actualStart)),len+insertCount-actualDeleteCount>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(A=arraySpeciesCreate(O,actualDeleteCount),k=0;k<actualDeleteCount;k++)(from=actualStart+k)in O&&createProperty(A,k,O[from]);if(A.length=actualDeleteCount,insertCount<actualDeleteCount){for(k=actualStart;k<len-actualDeleteCount;k++)to=k+insertCount,(from=k+actualDeleteCount)in O?O[to]=O[from]:delete O[to];for(k=len;k>len-actualDeleteCount+insertCount;k--)delete O[k-1]}else if(insertCount>actualDeleteCount)for(k=len-actualDeleteCount;k>actualStart;k--)to=k+insertCount-1,(from=k+actualDeleteCount-1)in O?O[to]=O[from]:delete O[to];for(k=0;k<insertCount;k++)O[k+actualStart]=arguments[k+2];return O.length=len-actualDeleteCount+insertCount,A}})},28733:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),toISOString=__webpack_require__(85573);$({target:"Date",proto:!0,forced:Date.prototype.toISOString!==toISOString},{toISOString:toISOString})},68309:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(19781),FUNCTION_NAME_EXISTS=__webpack_require__(76530).EXISTS,uncurryThis=__webpack_require__(1702),defineProperty=__webpack_require__(3070).f,FunctionPrototype=Function.prototype,functionToString=uncurryThis(FunctionPrototype.toString),nameRE=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,regExpExec=uncurryThis(nameRE.exec);DESCRIPTORS&&!FUNCTION_NAME_EXISTS&&defineProperty(FunctionPrototype,"name",{configurable:!0,get:function(){try{return regExpExec(nameRE,functionToString(this))[1]}catch(error){return""}}})},35837:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(82109)({global:!0},{globalThis:__webpack_require__(17854)})},51532:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(77710)("Map",(function(init){return function Map(){return init(this,arguments.length?arguments[0]:void 0)}}),__webpack_require__(95631))},44914:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),log=Math.log,LN2=Math.LN2;$({target:"Math",stat:!0},{log2:function log2(x){return log(x)/LN2}})},9653:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(19781),global=__webpack_require__(17854),uncurryThis=__webpack_require__(1702),isForced=__webpack_require__(54705),redefine=__webpack_require__(31320),hasOwn=__webpack_require__(92597),inheritIfRequired=__webpack_require__(79587),isPrototypeOf=__webpack_require__(47976),isSymbol=__webpack_require__(52190),toPrimitive=__webpack_require__(57593),fails=__webpack_require__(47293),getOwnPropertyNames=__webpack_require__(8006).f,getOwnPropertyDescriptor=__webpack_require__(31236).f,defineProperty=__webpack_require__(3070).f,thisNumberValue=__webpack_require__(50863),trim=__webpack_require__(53111).trim,NativeNumber=global.Number,NumberPrototype=NativeNumber.prototype,TypeError=global.TypeError,arraySlice=uncurryThis("".slice),charCodeAt=uncurryThis("".charCodeAt),toNumeric=function(value){var primValue=toPrimitive(value,"number");return"bigint"==typeof primValue?primValue:toNumber(primValue)},toNumber=function(argument){var first,third,radix,maxCode,digits,length,index,code,it=toPrimitive(argument,"number");if(isSymbol(it))throw TypeError("Cannot convert a Symbol value to a number");if("string"==typeof it&&it.length>2)if(it=trim(it),43===(first=charCodeAt(it,0))||45===first){if(88===(third=charCodeAt(it,2))||120===third)return NaN}else if(48===first){switch(charCodeAt(it,1)){case 66:case 98:radix=2,maxCode=49;break;case 79:case 111:radix=8,maxCode=55;break;default:return+it}for(length=(digits=arraySlice(it,2)).length,index=0;index<length;index++)if((code=charCodeAt(digits,index))<48||code>maxCode)return NaN;return parseInt(digits,radix)}return+it};if(isForced("Number",!NativeNumber(" 0o1")||!NativeNumber("0b1")||NativeNumber("+0x1"))){for(var key,NumberWrapper=function Number(value){var n=arguments.length<1?0:NativeNumber(toNumeric(value)),dummy=this;return isPrototypeOf(NumberPrototype,dummy)&&fails((function(){thisNumberValue(dummy)}))?inheritIfRequired(Object(n),dummy,NumberWrapper):n},keys=DESCRIPTORS?getOwnPropertyNames(NativeNumber):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),j=0;keys.length>j;j++)hasOwn(NativeNumber,key=keys[j])&&!hasOwn(NumberWrapper,key)&&defineProperty(NumberWrapper,key,getOwnPropertyDescriptor(NativeNumber,key));NumberWrapper.prototype=NumberPrototype,NumberPrototype.constructor=NumberWrapper,redefine(global,"Number",NumberWrapper)}},33161:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(82109)({target:"Number",stat:!0},{isInteger:__webpack_require__(55988)})},19601:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),assign=__webpack_require__(21574);$({target:"Object",stat:!0,forced:Object.assign!==assign},{assign:assign})},69720:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),$entries=__webpack_require__(44699).entries;$({target:"Object",stat:!0},{entries:function entries(O){return $entries(O)}})},43371:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),FREEZING=__webpack_require__(76677),fails=__webpack_require__(47293),isObject=__webpack_require__(70111),onFreeze=__webpack_require__(62423).onFreeze,$freeze=Object.freeze;$({target:"Object",stat:!0,forced:fails((function(){$freeze(1)})),sham:!FREEZING},{freeze:function freeze(it){return $freeze&&isObject(it)?$freeze(onFreeze(it)):it}})},38559:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),iterate=__webpack_require__(20408),createProperty=__webpack_require__(86135);$({target:"Object",stat:!0},{fromEntries:function fromEntries(iterable){var obj={};return iterate(iterable,(function(k,v){createProperty(obj,k,v)}),{AS_ENTRIES:!0}),obj}})},38880:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),fails=__webpack_require__(47293),toIndexedObject=__webpack_require__(45656),nativeGetOwnPropertyDescriptor=__webpack_require__(31236).f,DESCRIPTORS=__webpack_require__(19781),FAILS_ON_PRIMITIVES=fails((function(){nativeGetOwnPropertyDescriptor(1)}));$({target:"Object",stat:!0,forced:!DESCRIPTORS||FAILS_ON_PRIMITIVES,sham:!DESCRIPTORS},{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(it,key){return nativeGetOwnPropertyDescriptor(toIndexedObject(it),key)}})},36210:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),fails=__webpack_require__(47293),getOwnPropertyNames=__webpack_require__(1156).f;$({target:"Object",stat:!0,forced:fails((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:getOwnPropertyNames})},30489:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),fails=__webpack_require__(47293),toObject=__webpack_require__(47908),nativeGetPrototypeOf=__webpack_require__(79518),CORRECT_PROTOTYPE_GETTER=__webpack_require__(49920);$({target:"Object",stat:!0,forced:fails((function(){nativeGetPrototypeOf(1)})),sham:!CORRECT_PROTOTYPE_GETTER},{getPrototypeOf:function getPrototypeOf(it){return nativeGetPrototypeOf(toObject(it))}})},43304:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(82109)({target:"Object",stat:!0},{is:__webpack_require__(81150)})},47941:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),toObject=__webpack_require__(47908),nativeKeys=__webpack_require__(81956);$({target:"Object",stat:!0,forced:__webpack_require__(47293)((function(){nativeKeys(1)}))},{keys:function keys(it){return nativeKeys(toObject(it))}})},41539:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var TO_STRING_TAG_SUPPORT=__webpack_require__(51694),redefine=__webpack_require__(31320),toString=__webpack_require__(90288);TO_STRING_TAG_SUPPORT||redefine(Object.prototype,"toString",toString,{unsafe:!0})},54678:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),$parseFloat=__webpack_require__(2814);$({global:!0,forced:parseFloat!=$parseFloat},{parseFloat:$parseFloat})},91058:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),$parseInt=__webpack_require__(83009);$({global:!0,forced:parseInt!=$parseInt},{parseInt:$parseInt})},88674:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var Internal,OwnPromiseCapability,PromiseWrapper,nativeThen,$=__webpack_require__(82109),IS_PURE=__webpack_require__(31913),global=__webpack_require__(17854),getBuiltIn=__webpack_require__(35005),call=__webpack_require__(46916),NativePromise=__webpack_require__(13366),redefine=__webpack_require__(31320),redefineAll=__webpack_require__(12248),setPrototypeOf=__webpack_require__(27674),setToStringTag=__webpack_require__(58003),setSpecies=__webpack_require__(96340),aCallable=__webpack_require__(19662),isCallable=__webpack_require__(60614),isObject=__webpack_require__(70111),anInstance=__webpack_require__(25787),inspectSource=__webpack_require__(42788),iterate=__webpack_require__(20408),checkCorrectnessOfIteration=__webpack_require__(17072),speciesConstructor=__webpack_require__(36707),task=__webpack_require__(20261).set,microtask=__webpack_require__(95948),promiseResolve=__webpack_require__(69478),hostReportErrors=__webpack_require__(842),newPromiseCapabilityModule=__webpack_require__(78523),perform=__webpack_require__(12534),Queue=__webpack_require__(18572),InternalStateModule=__webpack_require__(29909),isForced=__webpack_require__(54705),wellKnownSymbol=__webpack_require__(5112),IS_BROWSER=__webpack_require__(7871),IS_NODE=__webpack_require__(35268),V8_VERSION=__webpack_require__(7392),SPECIES=wellKnownSymbol("species"),PROMISE="Promise",getInternalState=InternalStateModule.getterFor(PROMISE),setInternalState=InternalStateModule.set,getInternalPromiseState=InternalStateModule.getterFor(PROMISE),NativePromisePrototype=NativePromise&&NativePromise.prototype,PromiseConstructor=NativePromise,PromisePrototype=NativePromisePrototype,TypeError=global.TypeError,document=global.document,process=global.process,newPromiseCapability=newPromiseCapabilityModule.f,newGenericPromiseCapability=newPromiseCapability,DISPATCH_EVENT=!!(document&&document.createEvent&&global.dispatchEvent),NATIVE_REJECTION_EVENT=isCallable(global.PromiseRejectionEvent),SUBCLASSING=!1,FORCED=isForced(PROMISE,(function(){var PROMISE_CONSTRUCTOR_SOURCE=inspectSource(PromiseConstructor),GLOBAL_CORE_JS_PROMISE=PROMISE_CONSTRUCTOR_SOURCE!==String(PromiseConstructor);if(!GLOBAL_CORE_JS_PROMISE&&66===V8_VERSION)return!0;if(IS_PURE&&!PromisePrototype.finally)return!0;if(V8_VERSION>=51&&/native code/.test(PROMISE_CONSTRUCTOR_SOURCE))return!1;var promise=new PromiseConstructor((function(resolve){resolve(1)})),FakePromise=function(exec){exec((function(){}),(function(){}))};return(promise.constructor={})[SPECIES]=FakePromise,!(SUBCLASSING=promise.then((function(){}))instanceof FakePromise)||!GLOBAL_CORE_JS_PROMISE&&IS_BROWSER&&!NATIVE_REJECTION_EVENT})),INCORRECT_ITERATION=FORCED||!checkCorrectnessOfIteration((function(iterable){PromiseConstructor.all(iterable).catch((function(){}))})),isThenable=function(it){var then;return!(!isObject(it)||!isCallable(then=it.then))&&then},callReaction=function(reaction,state){var result,then,exited,value=state.value,ok=1==state.state,handler=ok?reaction.ok:reaction.fail,resolve=reaction.resolve,reject=reaction.reject,domain=reaction.domain;try{handler?(ok||(2===state.rejection&&onHandleUnhandled(state),state.rejection=1),!0===handler?result=value:(domain&&domain.enter(),result=handler(value),domain&&(domain.exit(),exited=!0)),result===reaction.promise?reject(TypeError("Promise-chain cycle")):(then=isThenable(result))?call(then,result,resolve,reject):resolve(result)):reject(value)}catch(error){domain&&!exited&&domain.exit(),reject(error)}},notify=function(state,isReject){state.notified||(state.notified=!0,microtask((function(){for(var reaction,reactions=state.reactions;reaction=reactions.get();)callReaction(reaction,state);state.notified=!1,isReject&&!state.rejection&&onUnhandled(state)})))},dispatchEvent=function(name,promise,reason){var event,handler;DISPATCH_EVENT?((event=document.createEvent("Event")).promise=promise,event.reason=reason,event.initEvent(name,!1,!0),global.dispatchEvent(event)):event={promise:promise,reason:reason},!NATIVE_REJECTION_EVENT&&(handler=global["on"+name])?handler(event):"unhandledrejection"===name&&hostReportErrors("Unhandled promise rejection",reason)},onUnhandled=function(state){call(task,global,(function(){var result,promise=state.facade,value=state.value;if(isUnhandled(state)&&(result=perform((function(){IS_NODE?process.emit("unhandledRejection",value,promise):dispatchEvent("unhandledrejection",promise,value)})),state.rejection=IS_NODE||isUnhandled(state)?2:1,result.error))throw result.value}))},isUnhandled=function(state){return 1!==state.rejection&&!state.parent},onHandleUnhandled=function(state){call(task,global,(function(){var promise=state.facade;IS_NODE?process.emit("rejectionHandled",promise):dispatchEvent("rejectionhandled",promise,state.value)}))},bind=function(fn,state,unwrap){return function(value){fn(state,value,unwrap)}},internalReject=function(state,value,unwrap){state.done||(state.done=!0,unwrap&&(state=unwrap),state.value=value,state.state=2,notify(state,!0))},internalResolve=function(state,value,unwrap){if(!state.done){state.done=!0,unwrap&&(state=unwrap);try{if(state.facade===value)throw TypeError("Promise can't be resolved itself");var then=isThenable(value);then?microtask((function(){var wrapper={done:!1};try{call(then,value,bind(internalResolve,wrapper,state),bind(internalReject,wrapper,state))}catch(error){internalReject(wrapper,error,state)}})):(state.value=value,state.state=1,notify(state,!1))}catch(error){internalReject({done:!1},error,state)}}};if(FORCED&&(PromisePrototype=(PromiseConstructor=function Promise(executor){anInstance(this,PromisePrototype),aCallable(executor),call(Internal,this);var state=getInternalState(this);try{executor(bind(internalResolve,state),bind(internalReject,state))}catch(error){internalReject(state,error)}}).prototype,(Internal=function Promise(executor){setInternalState(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:new Queue,rejection:!1,state:0,value:void 0})}).prototype=redefineAll(PromisePrototype,{then:function then(onFulfilled,onRejected){var state=getInternalPromiseState(this),reaction=newPromiseCapability(speciesConstructor(this,PromiseConstructor));return state.parent=!0,reaction.ok=!isCallable(onFulfilled)||onFulfilled,reaction.fail=isCallable(onRejected)&&onRejected,reaction.domain=IS_NODE?process.domain:void 0,0==state.state?state.reactions.add(reaction):microtask((function(){callReaction(reaction,state)})),reaction.promise},catch:function(onRejected){return this.then(void 0,onRejected)}}),OwnPromiseCapability=function(){var promise=new Internal,state=getInternalState(promise);this.promise=promise,this.resolve=bind(internalResolve,state),this.reject=bind(internalReject,state)},newPromiseCapabilityModule.f=newPromiseCapability=function(C){return C===PromiseConstructor||C===PromiseWrapper?new OwnPromiseCapability(C):newGenericPromiseCapability(C)},!IS_PURE&&isCallable(NativePromise)&&NativePromisePrototype!==Object.prototype)){nativeThen=NativePromisePrototype.then,SUBCLASSING||(redefine(NativePromisePrototype,"then",(function then(onFulfilled,onRejected){var that=this;return new PromiseConstructor((function(resolve,reject){call(nativeThen,that,resolve,reject)})).then(onFulfilled,onRejected)}),{unsafe:!0}),redefine(NativePromisePrototype,"catch",PromisePrototype.catch,{unsafe:!0}));try{delete NativePromisePrototype.constructor}catch(error){}setPrototypeOf&&setPrototypeOf(NativePromisePrototype,PromisePrototype)}$({global:!0,wrap:!0,forced:FORCED},{Promise:PromiseConstructor}),setToStringTag(PromiseConstructor,PROMISE,!1,!0),setSpecies(PROMISE),PromiseWrapper=getBuiltIn(PROMISE),$({target:PROMISE,stat:!0,forced:FORCED},{reject:function reject(r){var capability=newPromiseCapability(this);return call(capability.reject,void 0,r),capability.promise}}),$({target:PROMISE,stat:!0,forced:IS_PURE||FORCED},{resolve:function resolve(x){return promiseResolve(IS_PURE&&this===PromiseWrapper?PromiseConstructor:this,x)}}),$({target:PROMISE,stat:!0,forced:INCORRECT_ITERATION},{all:function all(iterable){var C=this,capability=newPromiseCapability(C),resolve=capability.resolve,reject=capability.reject,result=perform((function(){var $promiseResolve=aCallable(C.resolve),values=[],counter=0,remaining=1;iterate(iterable,(function(promise){var index=counter++,alreadyCalled=!1;remaining++,call($promiseResolve,C,promise).then((function(value){alreadyCalled||(alreadyCalled=!0,values[index]=value,--remaining||resolve(values))}),reject)})),--remaining||resolve(values)}));return result.error&&reject(result.value),capability.promise},race:function race(iterable){var C=this,capability=newPromiseCapability(C),reject=capability.reject,result=perform((function(){var $promiseResolve=aCallable(C.resolve);iterate(iterable,(function(promise){call($promiseResolve,C,promise).then(capability.resolve,reject)}))}));return result.error&&reject(result.value),capability.promise}})},12419:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),getBuiltIn=__webpack_require__(35005),apply=__webpack_require__(22104),bind=__webpack_require__(27065),aConstructor=__webpack_require__(39483),anObject=__webpack_require__(19670),isObject=__webpack_require__(70111),create=__webpack_require__(70030),fails=__webpack_require__(47293),nativeConstruct=getBuiltIn("Reflect","construct"),ObjectPrototype=Object.prototype,push=[].push,NEW_TARGET_BUG=fails((function(){function F(){}return!(nativeConstruct((function(){}),[],F)instanceof F)})),ARGS_BUG=!fails((function(){nativeConstruct((function(){}))})),FORCED=NEW_TARGET_BUG||ARGS_BUG;$({target:"Reflect",stat:!0,forced:FORCED,sham:FORCED},{construct:function construct(Target,args){aConstructor(Target),anObject(args);var newTarget=arguments.length<3?Target:aConstructor(arguments[2]);if(ARGS_BUG&&!NEW_TARGET_BUG)return nativeConstruct(Target,args,newTarget);if(Target==newTarget){switch(args.length){case 0:return new Target;case 1:return new Target(args[0]);case 2:return new Target(args[0],args[1]);case 3:return new Target(args[0],args[1],args[2]);case 4:return new Target(args[0],args[1],args[2],args[3])}var $args=[null];return apply(push,$args,args),new(apply(bind,Target,$args))}var proto=newTarget.prototype,instance=create(isObject(proto)?proto:ObjectPrototype),result=apply(Target,instance,args);return isObject(result)?result:instance}})},69596:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),DESCRIPTORS=__webpack_require__(19781),anObject=__webpack_require__(19670),toPropertyKey=__webpack_require__(34948),definePropertyModule=__webpack_require__(3070);$({target:"Reflect",stat:!0,forced:__webpack_require__(47293)((function(){Reflect.defineProperty(definePropertyModule.f({},1,{value:1}),1,{value:2})})),sham:!DESCRIPTORS},{defineProperty:function defineProperty(target,propertyKey,attributes){anObject(target);var key=toPropertyKey(propertyKey);anObject(attributes);try{return definePropertyModule.f(target,key,attributes),!0}catch(error){return!1}}})},95683:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),DESCRIPTORS=__webpack_require__(19781),anObject=__webpack_require__(19670),getOwnPropertyDescriptorModule=__webpack_require__(31236);$({target:"Reflect",stat:!0,sham:!DESCRIPTORS},{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(target,propertyKey){return getOwnPropertyDescriptorModule.f(anObject(target),propertyKey)}})},74819:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),call=__webpack_require__(46916),isObject=__webpack_require__(70111),anObject=__webpack_require__(19670),isDataDescriptor=__webpack_require__(45032),getOwnPropertyDescriptorModule=__webpack_require__(31236),getPrototypeOf=__webpack_require__(79518);$({target:"Reflect",stat:!0},{get:function get(target,propertyKey){var descriptor,prototype,receiver=arguments.length<3?target:arguments[2];return anObject(target)===receiver?target[propertyKey]:(descriptor=getOwnPropertyDescriptorModule.f(target,propertyKey))?isDataDescriptor(descriptor)?descriptor.value:void 0===descriptor.get?void 0:call(descriptor.get,receiver):isObject(prototype=getPrototypeOf(target))?get(prototype,propertyKey,receiver):void 0}})},39532:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),anObject=__webpack_require__(19670),aPossiblePrototype=__webpack_require__(96077),objectSetPrototypeOf=__webpack_require__(27674);objectSetPrototypeOf&&$({target:"Reflect",stat:!0},{setPrototypeOf:function setPrototypeOf(target,proto){anObject(target),aPossiblePrototype(proto);try{return objectSetPrototypeOf(target,proto),!0}catch(error){return!1}}})},83593:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),call=__webpack_require__(46916),anObject=__webpack_require__(19670),isObject=__webpack_require__(70111),isDataDescriptor=__webpack_require__(45032),fails=__webpack_require__(47293),definePropertyModule=__webpack_require__(3070),getOwnPropertyDescriptorModule=__webpack_require__(31236),getPrototypeOf=__webpack_require__(79518),createPropertyDescriptor=__webpack_require__(79114);$({target:"Reflect",stat:!0,forced:fails((function(){var Constructor=function(){},object=definePropertyModule.f(new Constructor,"a",{configurable:!0});return!1!==Reflect.set(Constructor.prototype,"a",1,object)}))},{set:function set(target,propertyKey,V){var existingDescriptor,prototype,setter,receiver=arguments.length<4?target:arguments[3],ownDescriptor=getOwnPropertyDescriptorModule.f(anObject(target),propertyKey);if(!ownDescriptor){if(isObject(prototype=getPrototypeOf(target)))return set(prototype,propertyKey,V,receiver);ownDescriptor=createPropertyDescriptor(0)}if(isDataDescriptor(ownDescriptor)){if(!1===ownDescriptor.writable||!isObject(receiver))return!1;if(existingDescriptor=getOwnPropertyDescriptorModule.f(receiver,propertyKey)){if(existingDescriptor.get||existingDescriptor.set||!1===existingDescriptor.writable)return!1;existingDescriptor.value=V,definePropertyModule.f(receiver,propertyKey,existingDescriptor)}else definePropertyModule.f(receiver,propertyKey,createPropertyDescriptor(0,V))}else{if(void 0===(setter=ownDescriptor.set))return!1;call(setter,receiver,V)}return!0}})},24603:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(19781),global=__webpack_require__(17854),uncurryThis=__webpack_require__(1702),isForced=__webpack_require__(54705),inheritIfRequired=__webpack_require__(79587),createNonEnumerableProperty=__webpack_require__(68880),defineProperty=__webpack_require__(3070).f,getOwnPropertyNames=__webpack_require__(8006).f,isPrototypeOf=__webpack_require__(47976),isRegExp=__webpack_require__(47850),toString=__webpack_require__(41340),regExpFlags=__webpack_require__(67066),stickyHelpers=__webpack_require__(52999),redefine=__webpack_require__(31320),fails=__webpack_require__(47293),hasOwn=__webpack_require__(92597),enforceInternalState=__webpack_require__(29909).enforce,setSpecies=__webpack_require__(96340),wellKnownSymbol=__webpack_require__(5112),UNSUPPORTED_DOT_ALL=__webpack_require__(9441),UNSUPPORTED_NCG=__webpack_require__(38173),MATCH=wellKnownSymbol("match"),NativeRegExp=global.RegExp,RegExpPrototype=NativeRegExp.prototype,SyntaxError=global.SyntaxError,getFlags=uncurryThis(regExpFlags),exec=uncurryThis(RegExpPrototype.exec),charAt=uncurryThis("".charAt),replace=uncurryThis("".replace),stringIndexOf=uncurryThis("".indexOf),stringSlice=uncurryThis("".slice),IS_NCG=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,re1=/a/g,re2=/a/g,CORRECT_NEW=new NativeRegExp(re1)!==re1,MISSED_STICKY=stickyHelpers.MISSED_STICKY,UNSUPPORTED_Y=stickyHelpers.UNSUPPORTED_Y,BASE_FORCED=DESCRIPTORS&&(!CORRECT_NEW||MISSED_STICKY||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG||fails((function(){return re2[MATCH]=!1,NativeRegExp(re1)!=re1||NativeRegExp(re2)==re2||"/a/i"!=NativeRegExp(re1,"i")})));if(isForced("RegExp",BASE_FORCED)){for(var RegExpWrapper=function RegExp(pattern,flags){var rawFlags,dotAll,sticky,handled,result,state,thisIsRegExp=isPrototypeOf(RegExpPrototype,this),patternIsRegExp=isRegExp(pattern),flagsAreUndefined=void 0===flags,groups=[],rawPattern=pattern;if(!thisIsRegExp&&patternIsRegExp&&flagsAreUndefined&&pattern.constructor===RegExpWrapper)return pattern;if((patternIsRegExp||isPrototypeOf(RegExpPrototype,pattern))&&(pattern=pattern.source,flagsAreUndefined&&(flags="flags"in rawPattern?rawPattern.flags:getFlags(rawPattern))),pattern=void 0===pattern?"":toString(pattern),flags=void 0===flags?"":toString(flags),rawPattern=pattern,UNSUPPORTED_DOT_ALL&&"dotAll"in re1&&(dotAll=!!flags&&stringIndexOf(flags,"s")>-1)&&(flags=replace(flags,/s/g,"")),rawFlags=flags,MISSED_STICKY&&"sticky"in re1&&(sticky=!!flags&&stringIndexOf(flags,"y")>-1)&&UNSUPPORTED_Y&&(flags=replace(flags,/y/g,"")),UNSUPPORTED_NCG&&(pattern=(handled=function(string){for(var chr,length=string.length,index=0,result="",named=[],names={},brackets=!1,ncg=!1,groupid=0,groupname="";index<=length;index++){if("\\"===(chr=charAt(string,index)))chr+=charAt(string,++index);else if("]"===chr)brackets=!1;else if(!brackets)switch(!0){case"["===chr:brackets=!0;break;case"("===chr:exec(IS_NCG,stringSlice(string,index+1))&&(index+=2,ncg=!0),result+=chr,groupid++;continue;case">"===chr&&ncg:if(""===groupname||hasOwn(names,groupname))throw new SyntaxError("Invalid capture group name");names[groupname]=!0,named[named.length]=[groupname,groupid],ncg=!1,groupname="";continue}ncg?groupname+=chr:result+=chr}return[result,named]}(pattern))[0],groups=handled[1]),result=inheritIfRequired(NativeRegExp(pattern,flags),thisIsRegExp?this:RegExpPrototype,RegExpWrapper),(dotAll||sticky||groups.length)&&(state=enforceInternalState(result),dotAll&&(state.dotAll=!0,state.raw=RegExpWrapper(function(string){for(var chr,length=string.length,index=0,result="",brackets=!1;index<=length;index++)"\\"!==(chr=charAt(string,index))?brackets||"."!==chr?("["===chr?brackets=!0:"]"===chr&&(brackets=!1),result+=chr):result+="[\\s\\S]":result+=chr+charAt(string,++index);return result}(pattern),rawFlags)),sticky&&(state.sticky=!0),groups.length&&(state.groups=groups)),pattern!==rawPattern)try{createNonEnumerableProperty(result,"source",""===rawPattern?"(?:)":rawPattern)}catch(error){}return result},proxy=function(key){key in RegExpWrapper||defineProperty(RegExpWrapper,key,{configurable:!0,get:function(){return NativeRegExp[key]},set:function(it){NativeRegExp[key]=it}})},keys=getOwnPropertyNames(NativeRegExp),index=0;keys.length>index;)proxy(keys[index++]);RegExpPrototype.constructor=RegExpWrapper,RegExpWrapper.prototype=RegExpPrototype,redefine(global,"RegExp",RegExpWrapper)}setSpecies("RegExp")},74916:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),exec=__webpack_require__(22261);$({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec:exec})},39714:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),PROPER_FUNCTION_NAME=__webpack_require__(76530).PROPER,redefine=__webpack_require__(31320),anObject=__webpack_require__(19670),isPrototypeOf=__webpack_require__(47976),$toString=__webpack_require__(41340),fails=__webpack_require__(47293),regExpFlags=__webpack_require__(67066),RegExpPrototype=RegExp.prototype,n$ToString=RegExpPrototype.toString,getFlags=uncurryThis(regExpFlags),NOT_GENERIC=fails((function(){return"/a/b"!=n$ToString.call({source:"a",flags:"b"})})),INCORRECT_NAME=PROPER_FUNCTION_NAME&&"toString"!=n$ToString.name;(NOT_GENERIC||INCORRECT_NAME)&&redefine(RegExp.prototype,"toString",(function toString(){var R=anObject(this),p=$toString(R.source),rf=R.flags;return"/"+p+"/"+$toString(void 0===rf&&isPrototypeOf(RegExpPrototype,R)&&!("flags"in RegExpPrototype)?getFlags(R):rf)}),{unsafe:!0})},70189:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(77710)("Set",(function(init){return function Set(){return init(this,arguments.length?arguments[0]:void 0)}}),__webpack_require__(95631))},27852:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var descriptor,$=__webpack_require__(82109),uncurryThis=__webpack_require__(1702),getOwnPropertyDescriptor=__webpack_require__(31236).f,toLength=__webpack_require__(17466),toString=__webpack_require__(41340),notARegExp=__webpack_require__(3929),requireObjectCoercible=__webpack_require__(84488),correctIsRegExpLogic=__webpack_require__(84964),IS_PURE=__webpack_require__(31913),un$EndsWith=uncurryThis("".endsWith),slice=uncurryThis("".slice),min=Math.min,CORRECT_IS_REGEXP_LOGIC=correctIsRegExpLogic("endsWith");$({target:"String",proto:!0,forced:!!(IS_PURE||CORRECT_IS_REGEXP_LOGIC||(descriptor=getOwnPropertyDescriptor(String.prototype,"endsWith"),!descriptor||descriptor.writable))&&!CORRECT_IS_REGEXP_LOGIC},{endsWith:function endsWith(searchString){var that=toString(requireObjectCoercible(this));notARegExp(searchString);var endPosition=arguments.length>1?arguments[1]:void 0,len=that.length,end=void 0===endPosition?len:min(toLength(endPosition),len),search=toString(searchString);return un$EndsWith?un$EndsWith(that,search,end):slice(that,end-search.length,end)===search}})},32023:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),uncurryThis=__webpack_require__(1702),notARegExp=__webpack_require__(3929),requireObjectCoercible=__webpack_require__(84488),toString=__webpack_require__(41340),correctIsRegExpLogic=__webpack_require__(84964),stringIndexOf=uncurryThis("".indexOf);$({target:"String",proto:!0,forced:!correctIsRegExpLogic("includes")},{includes:function includes(searchString){return!!~stringIndexOf(toString(requireObjectCoercible(this)),toString(notARegExp(searchString)),arguments.length>1?arguments[1]:void 0)}})},78783:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var charAt=__webpack_require__(28710).charAt,toString=__webpack_require__(41340),InternalStateModule=__webpack_require__(29909),defineIterator=__webpack_require__(70654),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("String Iterator");defineIterator(String,"String",(function(iterated){setInternalState(this,{type:"String Iterator",string:toString(iterated),index:0})}),(function next(){var point,state=getInternalState(this),string=state.string,index=state.index;return index>=string.length?{value:void 0,done:!0}:(point=charAt(string,index),state.index+=point.length,{value:point,done:!1})}))},76373:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),global=__webpack_require__(17854),call=__webpack_require__(46916),uncurryThis=__webpack_require__(1702),createIteratorConstructor=__webpack_require__(24994),requireObjectCoercible=__webpack_require__(84488),toLength=__webpack_require__(17466),toString=__webpack_require__(41340),anObject=__webpack_require__(19670),classof=__webpack_require__(84326),isPrototypeOf=__webpack_require__(47976),isRegExp=__webpack_require__(47850),regExpFlags=__webpack_require__(67066),getMethod=__webpack_require__(58173),redefine=__webpack_require__(31320),fails=__webpack_require__(47293),wellKnownSymbol=__webpack_require__(5112),speciesConstructor=__webpack_require__(36707),advanceStringIndex=__webpack_require__(31530),regExpExec=__webpack_require__(97651),InternalStateModule=__webpack_require__(29909),IS_PURE=__webpack_require__(31913),MATCH_ALL=wellKnownSymbol("matchAll"),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("RegExp String Iterator"),RegExpPrototype=RegExp.prototype,TypeError=global.TypeError,getFlags=uncurryThis(regExpFlags),stringIndexOf=uncurryThis("".indexOf),un$MatchAll=uncurryThis("".matchAll),WORKS_WITH_NON_GLOBAL_REGEX=!!un$MatchAll&&!fails((function(){un$MatchAll("a",/./)})),$RegExpStringIterator=createIteratorConstructor((function RegExpStringIterator(regexp,string,$global,fullUnicode){setInternalState(this,{type:"RegExp String Iterator",regexp:regexp,string:string,global:$global,unicode:fullUnicode,done:!1})}),"RegExp String",(function next(){var state=getInternalState(this);if(state.done)return{value:void 0,done:!0};var R=state.regexp,S=state.string,match=regExpExec(R,S);return null===match?{value:void 0,done:state.done=!0}:state.global?(""===toString(match[0])&&(R.lastIndex=advanceStringIndex(S,toLength(R.lastIndex),state.unicode)),{value:match,done:!1}):(state.done=!0,{value:match,done:!1})})),$matchAll=function(string){var C,flagsValue,flags,matcher,$global,fullUnicode,R=anObject(this),S=toString(string);return C=speciesConstructor(R,RegExp),void 0===(flagsValue=R.flags)&&isPrototypeOf(RegExpPrototype,R)&&!("flags"in RegExpPrototype)&&(flagsValue=getFlags(R)),flags=void 0===flagsValue?"":toString(flagsValue),matcher=new C(C===RegExp?R.source:R,flags),$global=!!~stringIndexOf(flags,"g"),fullUnicode=!!~stringIndexOf(flags,"u"),matcher.lastIndex=toLength(R.lastIndex),new $RegExpStringIterator(matcher,S,$global,fullUnicode)};$({target:"String",proto:!0,forced:WORKS_WITH_NON_GLOBAL_REGEX},{matchAll:function matchAll(regexp){var flags,S,matcher,rx,O=requireObjectCoercible(this);if(null!=regexp){if(isRegExp(regexp)&&(flags=toString(requireObjectCoercible("flags"in RegExpPrototype?regexp.flags:getFlags(regexp))),!~stringIndexOf(flags,"g")))throw TypeError("`.matchAll` does not allow non-global regexes");if(WORKS_WITH_NON_GLOBAL_REGEX)return un$MatchAll(O,regexp);if(void 0===(matcher=getMethod(regexp,MATCH_ALL))&&IS_PURE&&"RegExp"==classof(regexp)&&(matcher=$matchAll),matcher)return call(matcher,regexp,O)}else if(WORKS_WITH_NON_GLOBAL_REGEX)return un$MatchAll(O,regexp);return S=toString(O),rx=new RegExp(regexp,"g"),IS_PURE?call($matchAll,rx,S):rx[MATCH_ALL](S)}}),IS_PURE||MATCH_ALL in RegExpPrototype||redefine(RegExpPrototype,MATCH_ALL,$matchAll)},4723:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__(46916),fixRegExpWellKnownSymbolLogic=__webpack_require__(27007),anObject=__webpack_require__(19670),toLength=__webpack_require__(17466),toString=__webpack_require__(41340),requireObjectCoercible=__webpack_require__(84488),getMethod=__webpack_require__(58173),advanceStringIndex=__webpack_require__(31530),regExpExec=__webpack_require__(97651);fixRegExpWellKnownSymbolLogic("match",(function(MATCH,nativeMatch,maybeCallNative){return[function match(regexp){var O=requireObjectCoercible(this),matcher=null==regexp?void 0:getMethod(regexp,MATCH);return matcher?call(matcher,regexp,O):new RegExp(regexp)[MATCH](toString(O))},function(string){var rx=anObject(this),S=toString(string),res=maybeCallNative(nativeMatch,rx,S);if(res.done)return res.value;if(!rx.global)return regExpExec(rx,S);var fullUnicode=rx.unicode;rx.lastIndex=0;for(var result,A=[],n=0;null!==(result=regExpExec(rx,S));){var matchStr=toString(result[0]);A[n]=matchStr,""===matchStr&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode)),n++}return 0===n?null:A}]}))},83112:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),$padStart=__webpack_require__(76650).start;$({target:"String",proto:!0,forced:__webpack_require__(54986)},{padStart:function padStart(maxLength){return $padStart(this,maxLength,arguments.length>1?arguments[1]:void 0)}})},68757:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),global=__webpack_require__(17854),call=__webpack_require__(46916),uncurryThis=__webpack_require__(1702),requireObjectCoercible=__webpack_require__(84488),isCallable=__webpack_require__(60614),isRegExp=__webpack_require__(47850),toString=__webpack_require__(41340),getMethod=__webpack_require__(58173),regExpFlags=__webpack_require__(67066),getSubstitution=__webpack_require__(10647),wellKnownSymbol=__webpack_require__(5112),IS_PURE=__webpack_require__(31913),REPLACE=wellKnownSymbol("replace"),RegExpPrototype=RegExp.prototype,TypeError=global.TypeError,getFlags=uncurryThis(regExpFlags),indexOf=uncurryThis("".indexOf),replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice),max=Math.max,stringIndexOf=function(string,searchValue,fromIndex){return fromIndex>string.length?-1:""===searchValue?fromIndex:indexOf(string,searchValue,fromIndex)};$({target:"String",proto:!0},{replaceAll:function replaceAll(searchValue,replaceValue){var IS_REG_EXP,flags,replacer,string,searchString,functionalReplace,searchLength,advanceBy,replacement,O=requireObjectCoercible(this),position=0,endOfLastMatch=0,result="";if(null!=searchValue){if((IS_REG_EXP=isRegExp(searchValue))&&(flags=toString(requireObjectCoercible("flags"in RegExpPrototype?searchValue.flags:getFlags(searchValue))),!~indexOf(flags,"g")))throw TypeError("`.replaceAll` does not allow non-global regexes");if(replacer=getMethod(searchValue,REPLACE))return call(replacer,searchValue,O,replaceValue);if(IS_PURE&&IS_REG_EXP)return replace(toString(O),searchValue,replaceValue)}for(string=toString(O),searchString=toString(searchValue),(functionalReplace=isCallable(replaceValue))||(replaceValue=toString(replaceValue)),searchLength=searchString.length,advanceBy=max(1,searchLength),position=stringIndexOf(string,searchString,0);-1!==position;)replacement=functionalReplace?toString(replaceValue(searchString,position,string)):getSubstitution(searchString,string,position,[],void 0,replaceValue),result+=stringSlice(string,endOfLastMatch,position)+replacement,endOfLastMatch=position+searchLength,position=stringIndexOf(string,searchString,position+advanceBy);return endOfLastMatch<string.length&&(result+=stringSlice(string,endOfLastMatch)),result}})},15306:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var apply=__webpack_require__(22104),call=__webpack_require__(46916),uncurryThis=__webpack_require__(1702),fixRegExpWellKnownSymbolLogic=__webpack_require__(27007),fails=__webpack_require__(47293),anObject=__webpack_require__(19670),isCallable=__webpack_require__(60614),toIntegerOrInfinity=__webpack_require__(19303),toLength=__webpack_require__(17466),toString=__webpack_require__(41340),requireObjectCoercible=__webpack_require__(84488),advanceStringIndex=__webpack_require__(31530),getMethod=__webpack_require__(58173),getSubstitution=__webpack_require__(10647),regExpExec=__webpack_require__(97651),REPLACE=__webpack_require__(5112)("replace"),max=Math.max,min=Math.min,concat=uncurryThis([].concat),push=uncurryThis([].push),stringIndexOf=uncurryThis("".indexOf),stringSlice=uncurryThis("".slice),maybeToString=function(it){return void 0===it?it:String(it)},REPLACE_KEEPS_$0="$0"==="a".replace(/./,"$0"),REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=!!/./[REPLACE]&&""===/./[REPLACE]("a","$0");fixRegExpWellKnownSymbolLogic("replace",(function(_,nativeReplace,maybeCallNative){var UNSAFE_SUBSTITUTE=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function replace(searchValue,replaceValue){var O=requireObjectCoercible(this),replacer=null==searchValue?void 0:getMethod(searchValue,REPLACE);return replacer?call(replacer,searchValue,O,replaceValue):call(nativeReplace,toString(O),searchValue,replaceValue)},function(string,replaceValue){var rx=anObject(this),S=toString(string);if("string"==typeof replaceValue&&-1===stringIndexOf(replaceValue,UNSAFE_SUBSTITUTE)&&-1===stringIndexOf(replaceValue,"$<")){var res=maybeCallNative(nativeReplace,rx,S,replaceValue);if(res.done)return res.value}var functionalReplace=isCallable(replaceValue);functionalReplace||(replaceValue=toString(replaceValue));var global=rx.global;if(global){var fullUnicode=rx.unicode;rx.lastIndex=0}for(var results=[];;){var result=regExpExec(rx,S);if(null===result)break;if(push(results,result),!global)break;""===toString(result[0])&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode))}for(var accumulatedResult="",nextSourcePosition=0,i=0;i<results.length;i++){for(var matched=toString((result=results[i])[0]),position=max(min(toIntegerOrInfinity(result.index),S.length),0),captures=[],j=1;j<result.length;j++)push(captures,maybeToString(result[j]));var namedCaptures=result.groups;if(functionalReplace){var replacerArgs=concat([matched],captures,position,S);void 0!==namedCaptures&&push(replacerArgs,namedCaptures);var replacement=toString(apply(replaceValue,void 0,replacerArgs))}else replacement=getSubstitution(matched,S,position,captures,namedCaptures,replaceValue);position>=nextSourcePosition&&(accumulatedResult+=stringSlice(S,nextSourcePosition,position)+replacement,nextSourcePosition=position+matched.length)}return accumulatedResult+stringSlice(S,nextSourcePosition)}]}),!!fails((function(){var re=/./;return re.exec=function(){var result=[];return result.groups={a:"7"},result},"7"!=="".replace(re,"$<a>")}))||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE)},23123:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var apply=__webpack_require__(22104),call=__webpack_require__(46916),uncurryThis=__webpack_require__(1702),fixRegExpWellKnownSymbolLogic=__webpack_require__(27007),isRegExp=__webpack_require__(47850),anObject=__webpack_require__(19670),requireObjectCoercible=__webpack_require__(84488),speciesConstructor=__webpack_require__(36707),advanceStringIndex=__webpack_require__(31530),toLength=__webpack_require__(17466),toString=__webpack_require__(41340),getMethod=__webpack_require__(58173),arraySlice=__webpack_require__(41589),callRegExpExec=__webpack_require__(97651),regexpExec=__webpack_require__(22261),stickyHelpers=__webpack_require__(52999),fails=__webpack_require__(47293),UNSUPPORTED_Y=stickyHelpers.UNSUPPORTED_Y,min=Math.min,$push=[].push,exec=uncurryThis(/./.exec),push=uncurryThis($push),stringSlice=uncurryThis("".slice);fixRegExpWellKnownSymbolLogic("split",(function(SPLIT,nativeSplit,maybeCallNative){var internalSplit;return internalSplit="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(separator,limit){var string=toString(requireObjectCoercible(this)),lim=void 0===limit?4294967295:limit>>>0;if(0===lim)return[];if(void 0===separator)return[string];if(!isRegExp(separator))return call(nativeSplit,string,separator,lim);for(var match,lastIndex,lastLength,output=[],flags=(separator.ignoreCase?"i":"")+(separator.multiline?"m":"")+(separator.unicode?"u":"")+(separator.sticky?"y":""),lastLastIndex=0,separatorCopy=new RegExp(separator.source,flags+"g");(match=call(regexpExec,separatorCopy,string))&&!((lastIndex=separatorCopy.lastIndex)>lastLastIndex&&(push(output,stringSlice(string,lastLastIndex,match.index)),match.length>1&&match.index<string.length&&apply($push,output,arraySlice(match,1)),lastLength=match[0].length,lastLastIndex=lastIndex,output.length>=lim));)separatorCopy.lastIndex===match.index&&separatorCopy.lastIndex++;return lastLastIndex===string.length?!lastLength&&exec(separatorCopy,"")||push(output,""):push(output,stringSlice(string,lastLastIndex)),output.length>lim?arraySlice(output,0,lim):output}:"0".split(void 0,0).length?function(separator,limit){return void 0===separator&&0===limit?[]:call(nativeSplit,this,separator,limit)}:nativeSplit,[function split(separator,limit){var O=requireObjectCoercible(this),splitter=null==separator?void 0:getMethod(separator,SPLIT);return splitter?call(splitter,separator,O,limit):call(internalSplit,toString(O),separator,limit)},function(string,limit){var rx=anObject(this),S=toString(string),res=maybeCallNative(internalSplit,rx,S,limit,internalSplit!==nativeSplit);if(res.done)return res.value;var C=speciesConstructor(rx,RegExp),unicodeMatching=rx.unicode,flags=(rx.ignoreCase?"i":"")+(rx.multiline?"m":"")+(rx.unicode?"u":"")+(UNSUPPORTED_Y?"g":"y"),splitter=new C(UNSUPPORTED_Y?"^(?:"+rx.source+")":rx,flags),lim=void 0===limit?4294967295:limit>>>0;if(0===lim)return[];if(0===S.length)return null===callRegExpExec(splitter,S)?[S]:[];for(var p=0,q=0,A=[];q<S.length;){splitter.lastIndex=UNSUPPORTED_Y?0:q;var e,z=callRegExpExec(splitter,UNSUPPORTED_Y?stringSlice(S,q):S);if(null===z||(e=min(toLength(splitter.lastIndex+(UNSUPPORTED_Y?q:0)),S.length))===p)q=advanceStringIndex(S,q,unicodeMatching);else{if(push(A,stringSlice(S,p,q)),A.length===lim)return A;for(var i=1;i<=z.length-1;i++)if(push(A,z[i]),A.length===lim)return A;q=p=e}}return push(A,stringSlice(S,p)),A}]}),!!fails((function(){var re=/(?:)/,originalExec=re.exec;re.exec=function(){return originalExec.apply(this,arguments)};var result="ab".split(re);return 2!==result.length||"a"!==result[0]||"b"!==result[1]})),UNSUPPORTED_Y)},23157:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var descriptor,$=__webpack_require__(82109),uncurryThis=__webpack_require__(1702),getOwnPropertyDescriptor=__webpack_require__(31236).f,toLength=__webpack_require__(17466),toString=__webpack_require__(41340),notARegExp=__webpack_require__(3929),requireObjectCoercible=__webpack_require__(84488),correctIsRegExpLogic=__webpack_require__(84964),IS_PURE=__webpack_require__(31913),un$StartsWith=uncurryThis("".startsWith),stringSlice=uncurryThis("".slice),min=Math.min,CORRECT_IS_REGEXP_LOGIC=correctIsRegExpLogic("startsWith");$({target:"String",proto:!0,forced:!!(IS_PURE||CORRECT_IS_REGEXP_LOGIC||(descriptor=getOwnPropertyDescriptor(String.prototype,"startsWith"),!descriptor||descriptor.writable))&&!CORRECT_IS_REGEXP_LOGIC},{startsWith:function startsWith(searchString){var that=toString(requireObjectCoercible(this));notARegExp(searchString);var index=toLength(min(arguments.length>1?arguments[1]:void 0,that.length)),search=toString(searchString);return un$StartsWith?un$StartsWith(that,search,index):stringSlice(that,index,index+search.length)===search}})},73210:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),$trim=__webpack_require__(53111).trim;$({target:"String",proto:!0,forced:__webpack_require__(76091)("trim")},{trim:function trim(){return $trim(this)}})},41817:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),DESCRIPTORS=__webpack_require__(19781),global=__webpack_require__(17854),uncurryThis=__webpack_require__(1702),hasOwn=__webpack_require__(92597),isCallable=__webpack_require__(60614),isPrototypeOf=__webpack_require__(47976),toString=__webpack_require__(41340),defineProperty=__webpack_require__(3070).f,copyConstructorProperties=__webpack_require__(99920),NativeSymbol=global.Symbol,SymbolPrototype=NativeSymbol&&NativeSymbol.prototype;if(DESCRIPTORS&&isCallable(NativeSymbol)&&(!("description"in SymbolPrototype)||void 0!==NativeSymbol().description)){var EmptyStringDescriptionStore={},SymbolWrapper=function Symbol(){var description=arguments.length<1||void 0===arguments[0]?void 0:toString(arguments[0]),result=isPrototypeOf(SymbolPrototype,this)?new NativeSymbol(description):void 0===description?NativeSymbol():NativeSymbol(description);return""===description&&(EmptyStringDescriptionStore[result]=!0),result};copyConstructorProperties(SymbolWrapper,NativeSymbol),SymbolWrapper.prototype=SymbolPrototype,SymbolPrototype.constructor=SymbolWrapper;var NATIVE_SYMBOL="Symbol(test)"==String(NativeSymbol("test")),symbolToString=uncurryThis(SymbolPrototype.toString),symbolValueOf=uncurryThis(SymbolPrototype.valueOf),regexp=/^Symbol\((.*)\)[^)]+$/,replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice);defineProperty(SymbolPrototype,"description",{configurable:!0,get:function description(){var symbol=symbolValueOf(this),string=symbolToString(symbol);if(hasOwn(EmptyStringDescriptionStore,symbol))return"";var desc=NATIVE_SYMBOL?stringSlice(string,7,-1):replace(string,regexp,"$1");return""===desc?void 0:desc}}),$({global:!0,forced:!0},{Symbol:SymbolWrapper})}},32165:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(97235)("iterator")},82526:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),global=__webpack_require__(17854),getBuiltIn=__webpack_require__(35005),apply=__webpack_require__(22104),call=__webpack_require__(46916),uncurryThis=__webpack_require__(1702),IS_PURE=__webpack_require__(31913),DESCRIPTORS=__webpack_require__(19781),NATIVE_SYMBOL=__webpack_require__(30133),fails=__webpack_require__(47293),hasOwn=__webpack_require__(92597),isArray=__webpack_require__(43157),isCallable=__webpack_require__(60614),isObject=__webpack_require__(70111),isPrototypeOf=__webpack_require__(47976),isSymbol=__webpack_require__(52190),anObject=__webpack_require__(19670),toObject=__webpack_require__(47908),toIndexedObject=__webpack_require__(45656),toPropertyKey=__webpack_require__(34948),$toString=__webpack_require__(41340),createPropertyDescriptor=__webpack_require__(79114),nativeObjectCreate=__webpack_require__(70030),objectKeys=__webpack_require__(81956),getOwnPropertyNamesModule=__webpack_require__(8006),getOwnPropertyNamesExternal=__webpack_require__(1156),getOwnPropertySymbolsModule=__webpack_require__(25181),getOwnPropertyDescriptorModule=__webpack_require__(31236),definePropertyModule=__webpack_require__(3070),definePropertiesModule=__webpack_require__(36048),propertyIsEnumerableModule=__webpack_require__(55296),arraySlice=__webpack_require__(50206),redefine=__webpack_require__(31320),shared=__webpack_require__(72309),sharedKey=__webpack_require__(6200),hiddenKeys=__webpack_require__(3501),uid=__webpack_require__(69711),wellKnownSymbol=__webpack_require__(5112),wrappedWellKnownSymbolModule=__webpack_require__(6061),defineWellKnownSymbol=__webpack_require__(97235),setToStringTag=__webpack_require__(58003),InternalStateModule=__webpack_require__(29909),$forEach=__webpack_require__(42092).forEach,HIDDEN=sharedKey("hidden"),TO_PRIMITIVE=wellKnownSymbol("toPrimitive"),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("Symbol"),ObjectPrototype=Object.prototype,$Symbol=global.Symbol,SymbolPrototype=$Symbol&&$Symbol.prototype,TypeError=global.TypeError,QObject=global.QObject,$stringify=getBuiltIn("JSON","stringify"),nativeGetOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,nativeDefineProperty=definePropertyModule.f,nativeGetOwnPropertyNames=getOwnPropertyNamesExternal.f,nativePropertyIsEnumerable=propertyIsEnumerableModule.f,push=uncurryThis([].push),AllSymbols=shared("symbols"),ObjectPrototypeSymbols=shared("op-symbols"),StringToSymbolRegistry=shared("string-to-symbol-registry"),SymbolToStringRegistry=shared("symbol-to-string-registry"),WellKnownSymbolsStore=shared("wks"),USE_SETTER=!QObject||!QObject.prototype||!QObject.prototype.findChild,setSymbolDescriptor=DESCRIPTORS&&fails((function(){return 7!=nativeObjectCreate(nativeDefineProperty({},"a",{get:function(){return nativeDefineProperty(this,"a",{value:7}).a}})).a}))?function(O,P,Attributes){var ObjectPrototypeDescriptor=nativeGetOwnPropertyDescriptor(ObjectPrototype,P);ObjectPrototypeDescriptor&&delete ObjectPrototype[P],nativeDefineProperty(O,P,Attributes),ObjectPrototypeDescriptor&&O!==ObjectPrototype&&nativeDefineProperty(ObjectPrototype,P,ObjectPrototypeDescriptor)}:nativeDefineProperty,wrap=function(tag,description){var symbol=AllSymbols[tag]=nativeObjectCreate(SymbolPrototype);return setInternalState(symbol,{type:"Symbol",tag:tag,description:description}),DESCRIPTORS||(symbol.description=description),symbol},$defineProperty=function defineProperty(O,P,Attributes){O===ObjectPrototype&&$defineProperty(ObjectPrototypeSymbols,P,Attributes),anObject(O);var key=toPropertyKey(P);return anObject(Attributes),hasOwn(AllSymbols,key)?(Attributes.enumerable?(hasOwn(O,HIDDEN)&&O[HIDDEN][key]&&(O[HIDDEN][key]=!1),Attributes=nativeObjectCreate(Attributes,{enumerable:createPropertyDescriptor(0,!1)})):(hasOwn(O,HIDDEN)||nativeDefineProperty(O,HIDDEN,createPropertyDescriptor(1,{})),O[HIDDEN][key]=!0),setSymbolDescriptor(O,key,Attributes)):nativeDefineProperty(O,key,Attributes)},$defineProperties=function defineProperties(O,Properties){anObject(O);var properties=toIndexedObject(Properties),keys=objectKeys(properties).concat($getOwnPropertySymbols(properties));return $forEach(keys,(function(key){DESCRIPTORS&&!call($propertyIsEnumerable,properties,key)||$defineProperty(O,key,properties[key])})),O},$propertyIsEnumerable=function propertyIsEnumerable(V){var P=toPropertyKey(V),enumerable=call(nativePropertyIsEnumerable,this,P);return!(this===ObjectPrototype&&hasOwn(AllSymbols,P)&&!hasOwn(ObjectPrototypeSymbols,P))&&(!(enumerable||!hasOwn(this,P)||!hasOwn(AllSymbols,P)||hasOwn(this,HIDDEN)&&this[HIDDEN][P])||enumerable)},$getOwnPropertyDescriptor=function getOwnPropertyDescriptor(O,P){var it=toIndexedObject(O),key=toPropertyKey(P);if(it!==ObjectPrototype||!hasOwn(AllSymbols,key)||hasOwn(ObjectPrototypeSymbols,key)){var descriptor=nativeGetOwnPropertyDescriptor(it,key);return!descriptor||!hasOwn(AllSymbols,key)||hasOwn(it,HIDDEN)&&it[HIDDEN][key]||(descriptor.enumerable=!0),descriptor}},$getOwnPropertyNames=function getOwnPropertyNames(O){var names=nativeGetOwnPropertyNames(toIndexedObject(O)),result=[];return $forEach(names,(function(key){hasOwn(AllSymbols,key)||hasOwn(hiddenKeys,key)||push(result,key)})),result},$getOwnPropertySymbols=function getOwnPropertySymbols(O){var IS_OBJECT_PROTOTYPE=O===ObjectPrototype,names=nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE?ObjectPrototypeSymbols:toIndexedObject(O)),result=[];return $forEach(names,(function(key){!hasOwn(AllSymbols,key)||IS_OBJECT_PROTOTYPE&&!hasOwn(ObjectPrototype,key)||push(result,AllSymbols[key])})),result};(NATIVE_SYMBOL||(redefine(SymbolPrototype=($Symbol=function Symbol(){if(isPrototypeOf(SymbolPrototype,this))throw TypeError("Symbol is not a constructor");var description=arguments.length&&void 0!==arguments[0]?$toString(arguments[0]):void 0,tag=uid(description),setter=function(value){this===ObjectPrototype&&call(setter,ObjectPrototypeSymbols,value),hasOwn(this,HIDDEN)&&hasOwn(this[HIDDEN],tag)&&(this[HIDDEN][tag]=!1),setSymbolDescriptor(this,tag,createPropertyDescriptor(1,value))};return DESCRIPTORS&&USE_SETTER&&setSymbolDescriptor(ObjectPrototype,tag,{configurable:!0,set:setter}),wrap(tag,description)}).prototype,"toString",(function toString(){return getInternalState(this).tag})),redefine($Symbol,"withoutSetter",(function(description){return wrap(uid(description),description)})),propertyIsEnumerableModule.f=$propertyIsEnumerable,definePropertyModule.f=$defineProperty,definePropertiesModule.f=$defineProperties,getOwnPropertyDescriptorModule.f=$getOwnPropertyDescriptor,getOwnPropertyNamesModule.f=getOwnPropertyNamesExternal.f=$getOwnPropertyNames,getOwnPropertySymbolsModule.f=$getOwnPropertySymbols,wrappedWellKnownSymbolModule.f=function(name){return wrap(wellKnownSymbol(name),name)},DESCRIPTORS&&(nativeDefineProperty(SymbolPrototype,"description",{configurable:!0,get:function description(){return getInternalState(this).description}}),IS_PURE||redefine(ObjectPrototype,"propertyIsEnumerable",$propertyIsEnumerable,{unsafe:!0}))),$({global:!0,wrap:!0,forced:!NATIVE_SYMBOL,sham:!NATIVE_SYMBOL},{Symbol:$Symbol}),$forEach(objectKeys(WellKnownSymbolsStore),(function(name){defineWellKnownSymbol(name)})),$({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL},{for:function(key){var string=$toString(key);if(hasOwn(StringToSymbolRegistry,string))return StringToSymbolRegistry[string];var symbol=$Symbol(string);return StringToSymbolRegistry[string]=symbol,SymbolToStringRegistry[symbol]=string,symbol},keyFor:function keyFor(sym){if(!isSymbol(sym))throw TypeError(sym+" is not a symbol");if(hasOwn(SymbolToStringRegistry,sym))return SymbolToStringRegistry[sym]},useSetter:function(){USE_SETTER=!0},useSimple:function(){USE_SETTER=!1}}),$({target:"Object",stat:!0,forced:!NATIVE_SYMBOL,sham:!DESCRIPTORS},{create:function create(O,Properties){return void 0===Properties?nativeObjectCreate(O):$defineProperties(nativeObjectCreate(O),Properties)},defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor}),$({target:"Object",stat:!0,forced:!NATIVE_SYMBOL},{getOwnPropertyNames:$getOwnPropertyNames,getOwnPropertySymbols:$getOwnPropertySymbols}),$({target:"Object",stat:!0,forced:fails((function(){getOwnPropertySymbolsModule.f(1)}))},{getOwnPropertySymbols:function getOwnPropertySymbols(it){return getOwnPropertySymbolsModule.f(toObject(it))}}),$stringify)&&$({target:"JSON",stat:!0,forced:!NATIVE_SYMBOL||fails((function(){var symbol=$Symbol();return"[null]"!=$stringify([symbol])||"{}"!=$stringify({a:symbol})||"{}"!=$stringify(Object(symbol))}))},{stringify:function stringify(it,replacer,space){var args=arraySlice(arguments),$replacer=replacer;if((isObject(replacer)||void 0!==it)&&!isSymbol(it))return isArray(replacer)||(replacer=function(key,value){if(isCallable($replacer)&&(value=call($replacer,this,key,value)),!isSymbol(value))return value}),args[1]=replacer,apply($stringify,null,args)}});if(!SymbolPrototype[TO_PRIMITIVE]){var valueOf=SymbolPrototype.valueOf;redefine(SymbolPrototype,TO_PRIMITIVE,(function(hint){return call(valueOf,this)}))}setToStringTag($Symbol,"Symbol"),hiddenKeys[HIDDEN]=!0},83510:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(97235)("replace")},92990:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),ArrayBufferViewCore=__webpack_require__(90260),u$ArrayCopyWithin=uncurryThis(__webpack_require__(1048)),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("copyWithin",(function copyWithin(target,start){return u$ArrayCopyWithin(aTypedArray(this),target,start,arguments.length>2?arguments[2]:void 0)}))},18927:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),$every=__webpack_require__(42092).every,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("every",(function every(callbackfn){return $every(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0)}))},33105:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),call=__webpack_require__(46916),$fill=__webpack_require__(21285),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("fill",(function fill(value){var length=arguments.length;return call($fill,aTypedArray(this),value,length>1?arguments[1]:void 0,length>2?arguments[2]:void 0)}))},35035:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),$filter=__webpack_require__(42092).filter,fromSpeciesAndList=__webpack_require__(43074),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("filter",(function filter(callbackfn){var list=$filter(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0);return fromSpeciesAndList(this,list)}))},7174:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),$findIndex=__webpack_require__(42092).findIndex,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("findIndex",(function findIndex(predicate){return $findIndex(aTypedArray(this),predicate,arguments.length>1?arguments[1]:void 0)}))},74345:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),$find=__webpack_require__(42092).find,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("find",(function find(predicate){return $find(aTypedArray(this),predicate,arguments.length>1?arguments[1]:void 0)}))},32846:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),$forEach=__webpack_require__(42092).forEach,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("forEach",(function forEach(callbackfn){$forEach(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0)}))},44731:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),$includes=__webpack_require__(41318).includes,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("includes",(function includes(searchElement){return $includes(aTypedArray(this),searchElement,arguments.length>1?arguments[1]:void 0)}))},77209:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),$indexOf=__webpack_require__(41318).indexOf,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("indexOf",(function indexOf(searchElement){return $indexOf(aTypedArray(this),searchElement,arguments.length>1?arguments[1]:void 0)}))},96319:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),fails=__webpack_require__(47293),uncurryThis=__webpack_require__(1702),ArrayBufferViewCore=__webpack_require__(90260),ArrayIterators=__webpack_require__(66992),ITERATOR=__webpack_require__(5112)("iterator"),Uint8Array=global.Uint8Array,arrayValues=uncurryThis(ArrayIterators.values),arrayKeys=uncurryThis(ArrayIterators.keys),arrayEntries=uncurryThis(ArrayIterators.entries),aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,TypedArrayPrototype=Uint8Array&&Uint8Array.prototype,GENERIC=!fails((function(){TypedArrayPrototype[ITERATOR].call([1])})),ITERATOR_IS_VALUES=!!TypedArrayPrototype&&TypedArrayPrototype.values&&TypedArrayPrototype[ITERATOR]===TypedArrayPrototype.values&&"values"===TypedArrayPrototype.values.name,typedArrayValues=function values(){return arrayValues(aTypedArray(this))};exportTypedArrayMethod("entries",(function entries(){return arrayEntries(aTypedArray(this))}),GENERIC),exportTypedArrayMethod("keys",(function keys(){return arrayKeys(aTypedArray(this))}),GENERIC),exportTypedArrayMethod("values",typedArrayValues,GENERIC||!ITERATOR_IS_VALUES,{name:"values"}),exportTypedArrayMethod(ITERATOR,typedArrayValues,GENERIC||!ITERATOR_IS_VALUES,{name:"values"})},58867:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),uncurryThis=__webpack_require__(1702),aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,$join=uncurryThis([].join);exportTypedArrayMethod("join",(function join(separator){return $join(aTypedArray(this),separator)}))},37789:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),apply=__webpack_require__(22104),$lastIndexOf=__webpack_require__(86583),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("lastIndexOf",(function lastIndexOf(searchElement){var length=arguments.length;return apply($lastIndexOf,aTypedArray(this),length>1?[searchElement,arguments[1]]:[searchElement])}))},33739:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),$map=__webpack_require__(42092).map,typedArraySpeciesConstructor=__webpack_require__(66304),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("map",(function map(mapfn){return $map(aTypedArray(this),mapfn,arguments.length>1?arguments[1]:void 0,(function(O,length){return new(typedArraySpeciesConstructor(O))(length)}))}))},14483:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),$reduceRight=__webpack_require__(53671).right,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("reduceRight",(function reduceRight(callbackfn){var length=arguments.length;return $reduceRight(aTypedArray(this),callbackfn,length,length>1?arguments[1]:void 0)}))},29368:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),$reduce=__webpack_require__(53671).left,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("reduce",(function reduce(callbackfn){var length=arguments.length;return $reduce(aTypedArray(this),callbackfn,length,length>1?arguments[1]:void 0)}))},12056:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,floor=Math.floor;exportTypedArrayMethod("reverse",(function reverse(){for(var value,length=aTypedArray(this).length,middle=floor(length/2),index=0;index<middle;)value=this[index],this[index++]=this[--length],this[length]=value;return this}))},3462:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),call=__webpack_require__(46916),ArrayBufferViewCore=__webpack_require__(90260),lengthOfArrayLike=__webpack_require__(26244),toOffset=__webpack_require__(84590),toIndexedObject=__webpack_require__(47908),fails=__webpack_require__(47293),RangeError=global.RangeError,Int8Array=global.Int8Array,Int8ArrayPrototype=Int8Array&&Int8Array.prototype,$set=Int8ArrayPrototype&&Int8ArrayPrototype.set,aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS=!fails((function(){var array=new Uint8ClampedArray(2);return call($set,array,{length:1,0:3},1),3!==array[1]})),TO_OBJECT_BUG=WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS&&ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS&&fails((function(){var array=new Int8Array(2);return array.set(1),array.set("2",1),0!==array[0]||2!==array[1]}));exportTypedArrayMethod("set",(function set(arrayLike){aTypedArray(this);var offset=toOffset(arguments.length>1?arguments[1]:void 0,1),src=toIndexedObject(arrayLike);if(WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS)return call($set,this,src,offset);var length=this.length,len=lengthOfArrayLike(src),index=0;if(len+offset>length)throw RangeError("Wrong length");for(;index<len;)this[offset+index]=src[index++]}),!WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS||TO_OBJECT_BUG)},30678:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),typedArraySpeciesConstructor=__webpack_require__(66304),fails=__webpack_require__(47293),arraySlice=__webpack_require__(50206),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("slice",(function slice(start,end){for(var list=arraySlice(aTypedArray(this),start,end),C=typedArraySpeciesConstructor(this),index=0,length=list.length,result=new C(length);length>index;)result[index]=list[index++];return result}),fails((function(){new Int8Array(1).slice()})))},27462:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),$some=__webpack_require__(42092).some,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("some",(function some(callbackfn){return $some(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0)}))},33824:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),uncurryThis=__webpack_require__(1702),fails=__webpack_require__(47293),aCallable=__webpack_require__(19662),internalSort=__webpack_require__(94362),ArrayBufferViewCore=__webpack_require__(90260),FF=__webpack_require__(68886),IE_OR_EDGE=__webpack_require__(30256),V8=__webpack_require__(7392),WEBKIT=__webpack_require__(98008),Array=global.Array,aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,Uint16Array=global.Uint16Array,un$Sort=Uint16Array&&uncurryThis(Uint16Array.prototype.sort),ACCEPT_INCORRECT_ARGUMENTS=!(!un$Sort||fails((function(){un$Sort(new Uint16Array(2),null)}))&&fails((function(){un$Sort(new Uint16Array(2),{})}))),STABLE_SORT=!!un$Sort&&!fails((function(){if(V8)return V8<74;if(FF)return FF<67;if(IE_OR_EDGE)return!0;if(WEBKIT)return WEBKIT<602;var index,mod,array=new Uint16Array(516),expected=Array(516);for(index=0;index<516;index++)mod=index%4,array[index]=515-index,expected[index]=index-2*mod+3;for(un$Sort(array,(function(a,b){return(a/4|0)-(b/4|0)})),index=0;index<516;index++)if(array[index]!==expected[index])return!0}));exportTypedArrayMethod("sort",(function sort(comparefn){return void 0!==comparefn&&aCallable(comparefn),STABLE_SORT?un$Sort(this,comparefn):internalSort(aTypedArray(this),function(comparefn){return function(x,y){return void 0!==comparefn?+comparefn(x,y)||0:y!=y?-1:x!=x?1:0===x&&0===y?1/x>0&&1/y<0?1:-1:x>y}}(comparefn))}),!STABLE_SORT||ACCEPT_INCORRECT_ARGUMENTS)},55021:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var ArrayBufferViewCore=__webpack_require__(90260),toLength=__webpack_require__(17466),toAbsoluteIndex=__webpack_require__(51400),typedArraySpeciesConstructor=__webpack_require__(66304),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("subarray",(function subarray(begin,end){var O=aTypedArray(this),length=O.length,beginIndex=toAbsoluteIndex(begin,length);return new(typedArraySpeciesConstructor(O))(O.buffer,O.byteOffset+beginIndex*O.BYTES_PER_ELEMENT,toLength((void 0===end?length:toAbsoluteIndex(end,length))-beginIndex))}))},12974:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),apply=__webpack_require__(22104),ArrayBufferViewCore=__webpack_require__(90260),fails=__webpack_require__(47293),arraySlice=__webpack_require__(50206),Int8Array=global.Int8Array,aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,$toLocaleString=[].toLocaleString,TO_LOCALE_STRING_BUG=!!Int8Array&&fails((function(){$toLocaleString.call(new Int8Array(1))}));exportTypedArrayMethod("toLocaleString",(function toLocaleString(){return apply($toLocaleString,TO_LOCALE_STRING_BUG?arraySlice(aTypedArray(this)):aTypedArray(this),arraySlice(arguments))}),fails((function(){return[1,2].toLocaleString()!=new Int8Array([1,2]).toLocaleString()}))||!fails((function(){Int8Array.prototype.toLocaleString.call([1,2])})))},15016:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var exportTypedArrayMethod=__webpack_require__(90260).exportTypedArrayMethod,fails=__webpack_require__(47293),global=__webpack_require__(17854),uncurryThis=__webpack_require__(1702),Uint8Array=global.Uint8Array,Uint8ArrayPrototype=Uint8Array&&Uint8Array.prototype||{},arrayToString=[].toString,join=uncurryThis([].join);fails((function(){arrayToString.call({})}))&&(arrayToString=function toString(){return join(this)});var IS_NOT_ARRAY_METHOD=Uint8ArrayPrototype.toString!=arrayToString;exportTypedArrayMethod("toString",arrayToString,IS_NOT_ARRAY_METHOD)},8255:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(19843)("Uint16",(function(init){return function Uint16Array(data,byteOffset,length){return init(this,data,byteOffset,length)}}))},82472:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(19843)("Uint8",(function(init){return function Uint8Array(data,byteOffset,length){return init(this,data,byteOffset,length)}}))},4129:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var InternalWeakMap,global=__webpack_require__(17854),uncurryThis=__webpack_require__(1702),redefineAll=__webpack_require__(12248),InternalMetadataModule=__webpack_require__(62423),collection=__webpack_require__(77710),collectionWeak=__webpack_require__(29320),isObject=__webpack_require__(70111),isExtensible=__webpack_require__(52050),enforceInternalState=__webpack_require__(29909).enforce,NATIVE_WEAK_MAP=__webpack_require__(68536),IS_IE11=!global.ActiveXObject&&"ActiveXObject"in global,wrapper=function(init){return function WeakMap(){return init(this,arguments.length?arguments[0]:void 0)}},$WeakMap=collection("WeakMap",wrapper,collectionWeak);if(NATIVE_WEAK_MAP&&IS_IE11){InternalWeakMap=collectionWeak.getConstructor(wrapper,"WeakMap",!0),InternalMetadataModule.enable();var WeakMapPrototype=$WeakMap.prototype,nativeDelete=uncurryThis(WeakMapPrototype.delete),nativeHas=uncurryThis(WeakMapPrototype.has),nativeGet=uncurryThis(WeakMapPrototype.get),nativeSet=uncurryThis(WeakMapPrototype.set);redefineAll(WeakMapPrototype,{delete:function(key){if(isObject(key)&&!isExtensible(key)){var state=enforceInternalState(this);return state.frozen||(state.frozen=new InternalWeakMap),nativeDelete(this,key)||state.frozen.delete(key)}return nativeDelete(this,key)},has:function has(key){if(isObject(key)&&!isExtensible(key)){var state=enforceInternalState(this);return state.frozen||(state.frozen=new InternalWeakMap),nativeHas(this,key)||state.frozen.has(key)}return nativeHas(this,key)},get:function get(key){if(isObject(key)&&!isExtensible(key)){var state=enforceInternalState(this);return state.frozen||(state.frozen=new InternalWeakMap),nativeHas(this,key)?nativeGet(this,key):state.frozen.get(key)}return nativeGet(this,key)},set:function set(key,value){if(isObject(key)&&!isExtensible(key)){var state=enforceInternalState(this);state.frozen||(state.frozen=new InternalWeakMap),nativeHas(this,key)?nativeSet(this,key,value):state.frozen.set(key,value)}else nativeSet(this,key,value);return this}})}},38478:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(77710)("WeakSet",(function(init){return function WeakSet(){return init(this,arguments.length?arguments[0]:void 0)}}),__webpack_require__(29320))},83475:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(19781),addToUnscopables=__webpack_require__(51223),toObject=__webpack_require__(47908),lengthOfArrayLike=__webpack_require__(26244),defineProperty=__webpack_require__(3070).f;DESCRIPTORS&&(defineProperty(Array.prototype,"lastIndex",{configurable:!0,get:function lastIndex(){var O=toObject(this),len=lengthOfArrayLike(O);return 0==len?0:len-1}}),addToUnscopables("lastIndex"))},65743:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(35837)},10072:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(82109)({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:__webpack_require__(34092)})},99137:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),anObject=__webpack_require__(19670),bind=__webpack_require__(49974),getMapIterator=__webpack_require__(54647),iterate=__webpack_require__(20408);$({target:"Map",proto:!0,real:!0,forced:!0},{every:function every(callbackfn){var map=anObject(this),iterator=getMapIterator(map),boundFunction=bind(callbackfn,arguments.length>1?arguments[1]:void 0);return!iterate(iterator,(function(key,value,stop){if(!boundFunction(value,key,map))return stop()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},71957:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),getBuiltIn=__webpack_require__(35005),bind=__webpack_require__(49974),call=__webpack_require__(46916),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670),speciesConstructor=__webpack_require__(36707),getMapIterator=__webpack_require__(54647),iterate=__webpack_require__(20408);$({target:"Map",proto:!0,real:!0,forced:!0},{filter:function filter(callbackfn){var map=anObject(this),iterator=getMapIterator(map),boundFunction=bind(callbackfn,arguments.length>1?arguments[1]:void 0),newMap=new(speciesConstructor(map,getBuiltIn("Map"))),setter=aCallable(newMap.set);return iterate(iterator,(function(key,value){boundFunction(value,key,map)&&call(setter,newMap,key,value)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),newMap}})},103:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),anObject=__webpack_require__(19670),bind=__webpack_require__(49974),getMapIterator=__webpack_require__(54647),iterate=__webpack_require__(20408);$({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function findKey(callbackfn){var map=anObject(this),iterator=getMapIterator(map),boundFunction=bind(callbackfn,arguments.length>1?arguments[1]:void 0);return iterate(iterator,(function(key,value,stop){if(boundFunction(value,key,map))return stop(key)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},96306:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),anObject=__webpack_require__(19670),bind=__webpack_require__(49974),getMapIterator=__webpack_require__(54647),iterate=__webpack_require__(20408);$({target:"Map",proto:!0,real:!0,forced:!0},{find:function find(callbackfn){var map=anObject(this),iterator=getMapIterator(map),boundFunction=bind(callbackfn,arguments.length>1?arguments[1]:void 0);return iterate(iterator,(function(key,value,stop){if(boundFunction(value,key,map))return stop(value)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},74592:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),anObject=__webpack_require__(19670),getMapIterator=__webpack_require__(54647),sameValueZero=__webpack_require__(46465),iterate=__webpack_require__(20408);$({target:"Map",proto:!0,real:!0,forced:!0},{includes:function includes(searchElement){return iterate(getMapIterator(anObject(this)),(function(key,value,stop){if(sameValueZero(value,searchElement))return stop()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},58276:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),anObject=__webpack_require__(19670),getMapIterator=__webpack_require__(54647),iterate=__webpack_require__(20408);$({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function keyOf(searchElement){return iterate(getMapIterator(anObject(this)),(function(key,value,stop){if(value===searchElement)return stop(key)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},35082:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),getBuiltIn=__webpack_require__(35005),bind=__webpack_require__(49974),call=__webpack_require__(46916),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670),speciesConstructor=__webpack_require__(36707),getMapIterator=__webpack_require__(54647),iterate=__webpack_require__(20408);$({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function mapKeys(callbackfn){var map=anObject(this),iterator=getMapIterator(map),boundFunction=bind(callbackfn,arguments.length>1?arguments[1]:void 0),newMap=new(speciesConstructor(map,getBuiltIn("Map"))),setter=aCallable(newMap.set);return iterate(iterator,(function(key,value){call(setter,newMap,boundFunction(value,key,map),value)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),newMap}})},12813:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),getBuiltIn=__webpack_require__(35005),bind=__webpack_require__(49974),call=__webpack_require__(46916),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670),speciesConstructor=__webpack_require__(36707),getMapIterator=__webpack_require__(54647),iterate=__webpack_require__(20408);$({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function mapValues(callbackfn){var map=anObject(this),iterator=getMapIterator(map),boundFunction=bind(callbackfn,arguments.length>1?arguments[1]:void 0),newMap=new(speciesConstructor(map,getBuiltIn("Map"))),setter=aCallable(newMap.set);return iterate(iterator,(function(key,value){call(setter,newMap,key,boundFunction(value,key,map))}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),newMap}})},18222:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670),iterate=__webpack_require__(20408);$({target:"Map",proto:!0,real:!0,forced:!0},{merge:function merge(iterable){for(var map=anObject(this),setter=aCallable(map.set),argumentsLength=arguments.length,i=0;i<argumentsLength;)iterate(arguments[i++],setter,{that:map,AS_ENTRIES:!0});return map}})},38563:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),global=__webpack_require__(17854),anObject=__webpack_require__(19670),aCallable=__webpack_require__(19662),getMapIterator=__webpack_require__(54647),iterate=__webpack_require__(20408),TypeError=global.TypeError;$({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function reduce(callbackfn){var map=anObject(this),iterator=getMapIterator(map),noInitial=arguments.length<2,accumulator=noInitial?void 0:arguments[1];if(aCallable(callbackfn),iterate(iterator,(function(key,value){noInitial?(noInitial=!1,accumulator=value):accumulator=callbackfn(accumulator,value,key,map)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),noInitial)throw TypeError("Reduce of empty map with no initial value");return accumulator}})},50336:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),anObject=__webpack_require__(19670),bind=__webpack_require__(49974),getMapIterator=__webpack_require__(54647),iterate=__webpack_require__(20408);$({target:"Map",proto:!0,real:!0,forced:!0},{some:function some(callbackfn){var map=anObject(this),iterator=getMapIterator(map),boundFunction=bind(callbackfn,arguments.length>1?arguments[1]:void 0);return iterate(iterator,(function(key,value,stop){if(boundFunction(value,key,map))return stop()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},7512:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),global=__webpack_require__(17854),call=__webpack_require__(46916),anObject=__webpack_require__(19670),aCallable=__webpack_require__(19662),TypeError=global.TypeError;$({target:"Map",proto:!0,real:!0,forced:!0},{update:function update(key,callback){var map=anObject(this),get=aCallable(map.get),has=aCallable(map.has),set=aCallable(map.set),length=arguments.length;aCallable(callback);var isPresentInMap=call(has,map,key);if(!isPresentInMap&&length<3)throw TypeError("Updating absent value");var value=isPresentInMap?call(get,map,key):aCallable(length>2?arguments[2]:void 0)(key,map);return call(set,map,key,callback(value,key,map)),map}})},88921:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(82109)({target:"Set",proto:!0,real:!0,forced:!0},{addAll:__webpack_require__(31501)})},96248:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(82109)({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:__webpack_require__(34092)})},13599:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),getBuiltIn=__webpack_require__(35005),call=__webpack_require__(46916),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670),speciesConstructor=__webpack_require__(36707),iterate=__webpack_require__(20408);$({target:"Set",proto:!0,real:!0,forced:!0},{difference:function difference(iterable){var set=anObject(this),newSet=new(speciesConstructor(set,getBuiltIn("Set")))(set),remover=aCallable(newSet.delete);return iterate(iterable,(function(value){call(remover,newSet,value)})),newSet}})},11477:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),anObject=__webpack_require__(19670),bind=__webpack_require__(49974),getSetIterator=__webpack_require__(96767),iterate=__webpack_require__(20408);$({target:"Set",proto:!0,real:!0,forced:!0},{every:function every(callbackfn){var set=anObject(this),iterator=getSetIterator(set),boundFunction=bind(callbackfn,arguments.length>1?arguments[1]:void 0);return!iterate(iterator,(function(value,stop){if(!boundFunction(value,value,set))return stop()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},64362:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),getBuiltIn=__webpack_require__(35005),call=__webpack_require__(46916),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670),bind=__webpack_require__(49974),speciesConstructor=__webpack_require__(36707),getSetIterator=__webpack_require__(96767),iterate=__webpack_require__(20408);$({target:"Set",proto:!0,real:!0,forced:!0},{filter:function filter(callbackfn){var set=anObject(this),iterator=getSetIterator(set),boundFunction=bind(callbackfn,arguments.length>1?arguments[1]:void 0),newSet=new(speciesConstructor(set,getBuiltIn("Set"))),adder=aCallable(newSet.add);return iterate(iterator,(function(value){boundFunction(value,value,set)&&call(adder,newSet,value)}),{IS_ITERATOR:!0}),newSet}})},15389:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),anObject=__webpack_require__(19670),bind=__webpack_require__(49974),getSetIterator=__webpack_require__(96767),iterate=__webpack_require__(20408);$({target:"Set",proto:!0,real:!0,forced:!0},{find:function find(callbackfn){var set=anObject(this),iterator=getSetIterator(set),boundFunction=bind(callbackfn,arguments.length>1?arguments[1]:void 0);return iterate(iterator,(function(value,stop){if(boundFunction(value,value,set))return stop(value)}),{IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},90401:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),getBuiltIn=__webpack_require__(35005),call=__webpack_require__(46916),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670),speciesConstructor=__webpack_require__(36707),iterate=__webpack_require__(20408);$({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function intersection(iterable){var set=anObject(this),newSet=new(speciesConstructor(set,getBuiltIn("Set"))),hasCheck=aCallable(set.has),adder=aCallable(newSet.add);return iterate(iterable,(function(value){call(hasCheck,set,value)&&call(adder,newSet,value)})),newSet}})},45164:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),call=__webpack_require__(46916),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670),iterate=__webpack_require__(20408);$({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function isDisjointFrom(iterable){var set=anObject(this),hasCheck=aCallable(set.has);return!iterate(iterable,(function(value,stop){if(!0===call(hasCheck,set,value))return stop()}),{INTERRUPTED:!0}).stopped}})},91238:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),getBuiltIn=__webpack_require__(35005),call=__webpack_require__(46916),aCallable=__webpack_require__(19662),isCallable=__webpack_require__(60614),anObject=__webpack_require__(19670),getIterator=__webpack_require__(18554),iterate=__webpack_require__(20408);$({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function isSubsetOf(iterable){var iterator=getIterator(this),otherSet=anObject(iterable),hasCheck=otherSet.has;return isCallable(hasCheck)||(otherSet=new(getBuiltIn("Set"))(iterable),hasCheck=aCallable(otherSet.has)),!iterate(iterator,(function(value,stop){if(!1===call(hasCheck,otherSet,value))return stop()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},54837:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),call=__webpack_require__(46916),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670),iterate=__webpack_require__(20408);$({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function isSupersetOf(iterable){var set=anObject(this),hasCheck=aCallable(set.has);return!iterate(iterable,(function(value,stop){if(!1===call(hasCheck,set,value))return stop()}),{INTERRUPTED:!0}).stopped}})},87485:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),uncurryThis=__webpack_require__(1702),anObject=__webpack_require__(19670),toString=__webpack_require__(41340),getSetIterator=__webpack_require__(96767),iterate=__webpack_require__(20408),arrayJoin=uncurryThis([].join),push=[].push;$({target:"Set",proto:!0,real:!0,forced:!0},{join:function join(separator){var set=anObject(this),iterator=getSetIterator(set),sep=void 0===separator?",":toString(separator),result=[];return iterate(iterator,push,{that:result,IS_ITERATOR:!0}),arrayJoin(result,sep)}})},56767:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),getBuiltIn=__webpack_require__(35005),bind=__webpack_require__(49974),call=__webpack_require__(46916),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670),speciesConstructor=__webpack_require__(36707),getSetIterator=__webpack_require__(96767),iterate=__webpack_require__(20408);$({target:"Set",proto:!0,real:!0,forced:!0},{map:function map(callbackfn){var set=anObject(this),iterator=getSetIterator(set),boundFunction=bind(callbackfn,arguments.length>1?arguments[1]:void 0),newSet=new(speciesConstructor(set,getBuiltIn("Set"))),adder=aCallable(newSet.add);return iterate(iterator,(function(value){call(adder,newSet,boundFunction(value,value,set))}),{IS_ITERATOR:!0}),newSet}})},76651:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),global=__webpack_require__(17854),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670),getSetIterator=__webpack_require__(96767),iterate=__webpack_require__(20408),TypeError=global.TypeError;$({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function reduce(callbackfn){var set=anObject(this),iterator=getSetIterator(set),noInitial=arguments.length<2,accumulator=noInitial?void 0:arguments[1];if(aCallable(callbackfn),iterate(iterator,(function(value){noInitial?(noInitial=!1,accumulator=value):accumulator=callbackfn(accumulator,value,value,set)}),{IS_ITERATOR:!0}),noInitial)throw TypeError("Reduce of empty set with no initial value");return accumulator}})},61437:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),anObject=__webpack_require__(19670),bind=__webpack_require__(49974),getSetIterator=__webpack_require__(96767),iterate=__webpack_require__(20408);$({target:"Set",proto:!0,real:!0,forced:!0},{some:function some(callbackfn){var set=anObject(this),iterator=getSetIterator(set),boundFunction=bind(callbackfn,arguments.length>1?arguments[1]:void 0);return iterate(iterator,(function(value,stop){if(boundFunction(value,value,set))return stop()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},35285:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),getBuiltIn=__webpack_require__(35005),call=__webpack_require__(46916),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670),speciesConstructor=__webpack_require__(36707),iterate=__webpack_require__(20408);$({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function symmetricDifference(iterable){var set=anObject(this),newSet=new(speciesConstructor(set,getBuiltIn("Set")))(set),remover=aCallable(newSet.delete),adder=aCallable(newSet.add);return iterate(iterable,(function(value){call(remover,newSet,value)||call(adder,newSet,value)})),newSet}})},39865:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),getBuiltIn=__webpack_require__(35005),aCallable=__webpack_require__(19662),anObject=__webpack_require__(19670),speciesConstructor=__webpack_require__(36707),iterate=__webpack_require__(20408);$({target:"Set",proto:!0,real:!0,forced:!0},{union:function union(iterable){var set=anObject(this),newSet=new(speciesConstructor(set,getBuiltIn("Set")))(set);return iterate(iterable,aCallable(newSet.add),{that:newSet}),newSet}})},13728:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(76373)},27207:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(68757)},78206:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(82109)({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:__webpack_require__(34092)})},43561:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(82109)({target:"WeakSet",proto:!0,real:!0,forced:!0},{addAll:__webpack_require__(31501)})},32049:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(82109)({target:"WeakSet",proto:!0,real:!0,forced:!0},{deleteAll:__webpack_require__(34092)})},54747:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),DOMIterables=__webpack_require__(48324),DOMTokenListPrototype=__webpack_require__(98509),forEach=__webpack_require__(18533),createNonEnumerableProperty=__webpack_require__(68880),handlePrototype=function(CollectionPrototype){if(CollectionPrototype&&CollectionPrototype.forEach!==forEach)try{createNonEnumerableProperty(CollectionPrototype,"forEach",forEach)}catch(error){CollectionPrototype.forEach=forEach}};for(var COLLECTION_NAME in DOMIterables)DOMIterables[COLLECTION_NAME]&&handlePrototype(global[COLLECTION_NAME]&&global[COLLECTION_NAME].prototype);handlePrototype(DOMTokenListPrototype)},33948:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),DOMIterables=__webpack_require__(48324),DOMTokenListPrototype=__webpack_require__(98509),ArrayIteratorMethods=__webpack_require__(66992),createNonEnumerableProperty=__webpack_require__(68880),wellKnownSymbol=__webpack_require__(5112),ITERATOR=wellKnownSymbol("iterator"),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(CollectionPrototype,COLLECTION_NAME){if(CollectionPrototype){if(CollectionPrototype[ITERATOR]!==ArrayValues)try{createNonEnumerableProperty(CollectionPrototype,ITERATOR,ArrayValues)}catch(error){CollectionPrototype[ITERATOR]=ArrayValues}if(CollectionPrototype[TO_STRING_TAG]||createNonEnumerableProperty(CollectionPrototype,TO_STRING_TAG,COLLECTION_NAME),DOMIterables[COLLECTION_NAME])for(var METHOD_NAME in ArrayIteratorMethods)if(CollectionPrototype[METHOD_NAME]!==ArrayIteratorMethods[METHOD_NAME])try{createNonEnumerableProperty(CollectionPrototype,METHOD_NAME,ArrayIteratorMethods[METHOD_NAME])}catch(error){CollectionPrototype[METHOD_NAME]=ArrayIteratorMethods[METHOD_NAME]}}};for(var COLLECTION_NAME in DOMIterables)handlePrototype(global[COLLECTION_NAME]&&global[COLLECTION_NAME].prototype,COLLECTION_NAME);handlePrototype(DOMTokenListPrototype,"DOMTokenList")},41637:function(module,__unused_webpack_exports,__webpack_require__){__webpack_require__(66992);var $=__webpack_require__(82109),global=__webpack_require__(17854),getBuiltIn=__webpack_require__(35005),call=__webpack_require__(46916),uncurryThis=__webpack_require__(1702),USE_NATIVE_URL=__webpack_require__(590),redefine=__webpack_require__(31320),redefineAll=__webpack_require__(12248),setToStringTag=__webpack_require__(58003),createIteratorConstructor=__webpack_require__(24994),InternalStateModule=__webpack_require__(29909),anInstance=__webpack_require__(25787),isCallable=__webpack_require__(60614),hasOwn=__webpack_require__(92597),bind=__webpack_require__(49974),classof=__webpack_require__(70648),anObject=__webpack_require__(19670),isObject=__webpack_require__(70111),$toString=__webpack_require__(41340),create=__webpack_require__(70030),createPropertyDescriptor=__webpack_require__(79114),getIterator=__webpack_require__(18554),getIteratorMethod=__webpack_require__(71246),validateArgumentsLength=__webpack_require__(48053),wellKnownSymbol=__webpack_require__(5112),arraySort=__webpack_require__(94362),ITERATOR=wellKnownSymbol("iterator"),setInternalState=InternalStateModule.set,getInternalParamsState=InternalStateModule.getterFor("URLSearchParams"),getInternalIteratorState=InternalStateModule.getterFor("URLSearchParamsIterator"),n$Fetch=getBuiltIn("fetch"),N$Request=getBuiltIn("Request"),Headers=getBuiltIn("Headers"),RequestPrototype=N$Request&&N$Request.prototype,HeadersPrototype=Headers&&Headers.prototype,RegExp=global.RegExp,TypeError=global.TypeError,decodeURIComponent=global.decodeURIComponent,encodeURIComponent=global.encodeURIComponent,charAt=uncurryThis("".charAt),join=uncurryThis([].join),push=uncurryThis([].push),replace=uncurryThis("".replace),shift=uncurryThis([].shift),splice=uncurryThis([].splice),split=uncurryThis("".split),stringSlice=uncurryThis("".slice),plus=/\+/g,sequences=Array(4),percentSequence=function(bytes){return sequences[bytes-1]||(sequences[bytes-1]=RegExp("((?:%[\\da-f]{2}){"+bytes+"})","gi"))},percentDecode=function(sequence){try{return decodeURIComponent(sequence)}catch(error){return sequence}},deserialize=function(it){var result=replace(it,plus," "),bytes=4;try{return decodeURIComponent(result)}catch(error){for(;bytes;)result=replace(result,percentSequence(bytes--),percentDecode);return result}},find=/[!'()~]|%20/g,replacements={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},replacer=function(match){return replacements[match]},serialize=function(it){return replace(encodeURIComponent(it),find,replacer)},URLSearchParamsIterator=createIteratorConstructor((function Iterator(params,kind){setInternalState(this,{type:"URLSearchParamsIterator",iterator:getIterator(getInternalParamsState(params).entries),kind:kind})}),"Iterator",(function next(){var state=getInternalIteratorState(this),kind=state.kind,step=state.iterator.next(),entry=step.value;return step.done||(step.value="keys"===kind?entry.key:"values"===kind?entry.value:[entry.key,entry.value]),step}),!0),URLSearchParamsState=function(init){this.entries=[],this.url=null,void 0!==init&&(isObject(init)?this.parseObject(init):this.parseQuery("string"==typeof init?"?"===charAt(init,0)?stringSlice(init,1):init:$toString(init)))};URLSearchParamsState.prototype={type:"URLSearchParams",bindURL:function(url){this.url=url,this.update()},parseObject:function(object){var iterator,next,step,entryIterator,entryNext,first,second,iteratorMethod=getIteratorMethod(object);if(iteratorMethod)for(next=(iterator=getIterator(object,iteratorMethod)).next;!(step=call(next,iterator)).done;){if(entryNext=(entryIterator=getIterator(anObject(step.value))).next,(first=call(entryNext,entryIterator)).done||(second=call(entryNext,entryIterator)).done||!call(entryNext,entryIterator).done)throw TypeError("Expected sequence with length 2");push(this.entries,{key:$toString(first.value),value:$toString(second.value)})}else for(var key in object)hasOwn(object,key)&&push(this.entries,{key:key,value:$toString(object[key])})},parseQuery:function(query){if(query)for(var attribute,entry,attributes=split(query,"&"),index=0;index<attributes.length;)(attribute=attributes[index++]).length&&(entry=split(attribute,"="),push(this.entries,{key:deserialize(shift(entry)),value:deserialize(join(entry,"="))}))},serialize:function(){for(var entry,entries=this.entries,result=[],index=0;index<entries.length;)entry=entries[index++],push(result,serialize(entry.key)+"="+serialize(entry.value));return join(result,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var URLSearchParamsConstructor=function URLSearchParams(){anInstance(this,URLSearchParamsPrototype);var init=arguments.length>0?arguments[0]:void 0;setInternalState(this,new URLSearchParamsState(init))},URLSearchParamsPrototype=URLSearchParamsConstructor.prototype;if(redefineAll(URLSearchParamsPrototype,{append:function append(name,value){validateArgumentsLength(arguments.length,2);var state=getInternalParamsState(this);push(state.entries,{key:$toString(name),value:$toString(value)}),state.updateURL()},delete:function(name){validateArgumentsLength(arguments.length,1);for(var state=getInternalParamsState(this),entries=state.entries,key=$toString(name),index=0;index<entries.length;)entries[index].key===key?splice(entries,index,1):index++;state.updateURL()},get:function get(name){validateArgumentsLength(arguments.length,1);for(var entries=getInternalParamsState(this).entries,key=$toString(name),index=0;index<entries.length;index++)if(entries[index].key===key)return entries[index].value;return null},getAll:function getAll(name){validateArgumentsLength(arguments.length,1);for(var entries=getInternalParamsState(this).entries,key=$toString(name),result=[],index=0;index<entries.length;index++)entries[index].key===key&&push(result,entries[index].value);return result},has:function has(name){validateArgumentsLength(arguments.length,1);for(var entries=getInternalParamsState(this).entries,key=$toString(name),index=0;index<entries.length;)if(entries[index++].key===key)return!0;return!1},set:function set(name,value){validateArgumentsLength(arguments.length,1);for(var entry,state=getInternalParamsState(this),entries=state.entries,found=!1,key=$toString(name),val=$toString(value),index=0;index<entries.length;index++)(entry=entries[index]).key===key&&(found?splice(entries,index--,1):(found=!0,entry.value=val));found||push(entries,{key:key,value:val}),state.updateURL()},sort:function sort(){var state=getInternalParamsState(this);arraySort(state.entries,(function(a,b){return a.key>b.key?1:-1})),state.updateURL()},forEach:function forEach(callback){for(var entry,entries=getInternalParamsState(this).entries,boundFunction=bind(callback,arguments.length>1?arguments[1]:void 0),index=0;index<entries.length;)boundFunction((entry=entries[index++]).value,entry.key,this)},keys:function keys(){return new URLSearchParamsIterator(this,"keys")},values:function values(){return new URLSearchParamsIterator(this,"values")},entries:function entries(){return new URLSearchParamsIterator(this,"entries")}},{enumerable:!0}),redefine(URLSearchParamsPrototype,ITERATOR,URLSearchParamsPrototype.entries,{name:"entries"}),redefine(URLSearchParamsPrototype,"toString",(function toString(){return getInternalParamsState(this).serialize()}),{enumerable:!0}),setToStringTag(URLSearchParamsConstructor,"URLSearchParams"),$({global:!0,forced:!USE_NATIVE_URL},{URLSearchParams:URLSearchParamsConstructor}),!USE_NATIVE_URL&&isCallable(Headers)){var headersHas=uncurryThis(HeadersPrototype.has),headersSet=uncurryThis(HeadersPrototype.set),wrapRequestOptions=function(init){if(isObject(init)){var headers,body=init.body;if("URLSearchParams"===classof(body))return headers=init.headers?new Headers(init.headers):new Headers,headersHas(headers,"content-type")||headersSet(headers,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),create(init,{body:createPropertyDescriptor(0,$toString(body)),headers:createPropertyDescriptor(0,headers)})}return init};if(isCallable(n$Fetch)&&$({global:!0,enumerable:!0,forced:!0},{fetch:function fetch(input){return n$Fetch(input,arguments.length>1?wrapRequestOptions(arguments[1]):{})}}),isCallable(N$Request)){var RequestConstructor=function Request(input){return anInstance(this,RequestPrototype),new N$Request(input,arguments.length>1?wrapRequestOptions(arguments[1]):{})};RequestPrototype.constructor=RequestConstructor,RequestConstructor.prototype=RequestPrototype,$({global:!0,forced:!0},{Request:RequestConstructor})}}module.exports={URLSearchParams:URLSearchParamsConstructor,getState:getInternalParamsState}},60285:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__(78783);var EOF,$=__webpack_require__(82109),DESCRIPTORS=__webpack_require__(19781),USE_NATIVE_URL=__webpack_require__(590),global=__webpack_require__(17854),bind=__webpack_require__(49974),uncurryThis=__webpack_require__(1702),defineProperties=__webpack_require__(36048).f,redefine=__webpack_require__(31320),anInstance=__webpack_require__(25787),hasOwn=__webpack_require__(92597),assign=__webpack_require__(21574),arrayFrom=__webpack_require__(48457),arraySlice=__webpack_require__(41589),codeAt=__webpack_require__(28710).codeAt,toASCII=__webpack_require__(33197),$toString=__webpack_require__(41340),setToStringTag=__webpack_require__(58003),validateArgumentsLength=__webpack_require__(48053),URLSearchParamsModule=__webpack_require__(41637),InternalStateModule=__webpack_require__(29909),setInternalState=InternalStateModule.set,getInternalURLState=InternalStateModule.getterFor("URL"),URLSearchParams=URLSearchParamsModule.URLSearchParams,getInternalSearchParamsState=URLSearchParamsModule.getState,NativeURL=global.URL,TypeError=global.TypeError,parseInt=global.parseInt,floor=Math.floor,pow=Math.pow,charAt=uncurryThis("".charAt),exec=uncurryThis(/./.exec),join=uncurryThis([].join),numberToString=uncurryThis(1..toString),pop=uncurryThis([].pop),push=uncurryThis([].push),replace=uncurryThis("".replace),shift=uncurryThis([].shift),split=uncurryThis("".split),stringSlice=uncurryThis("".slice),toLowerCase=uncurryThis("".toLowerCase),unshift=uncurryThis([].unshift),ALPHA=/[a-z]/i,ALPHANUMERIC=/[\d+-.a-z]/i,DIGIT=/\d/,HEX_START=/^0x/i,OCT=/^[0-7]+$/,DEC=/^\d+$/,HEX=/^[\da-f]+$/i,FORBIDDEN_HOST_CODE_POINT=/[\0\t\n\r #%/:<>?@[\\\]^|]/,FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT=/[\0\t\n\r #/:<>?@[\\\]^|]/,LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,TAB_AND_NEW_LINE=/[\t\n\r]/g,serializeHost=function(host){var result,index,compress,ignore0;if("number"==typeof host){for(result=[],index=0;index<4;index++)unshift(result,host%256),host=floor(host/256);return join(result,".")}if("object"==typeof host){for(result="",compress=function(ipv6){for(var maxIndex=null,maxLength=1,currStart=null,currLength=0,index=0;index<8;index++)0!==ipv6[index]?(currLength>maxLength&&(maxIndex=currStart,maxLength=currLength),currStart=null,currLength=0):(null===currStart&&(currStart=index),++currLength);return currLength>maxLength&&(maxIndex=currStart,maxLength=currLength),maxIndex}(host),index=0;index<8;index++)ignore0&&0===host[index]||(ignore0&&(ignore0=!1),compress===index?(result+=index?":":"::",ignore0=!0):(result+=numberToString(host[index],16),index<7&&(result+=":")));return"["+result+"]"}return host},C0ControlPercentEncodeSet={},fragmentPercentEncodeSet=assign({},C0ControlPercentEncodeSet,{" ":1,'"':1,"<":1,">":1,"`":1}),pathPercentEncodeSet=assign({},fragmentPercentEncodeSet,{"#":1,"?":1,"{":1,"}":1}),userinfoPercentEncodeSet=assign({},pathPercentEncodeSet,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),percentEncode=function(chr,set){var code=codeAt(chr,0);return code>32&&code<127&&!hasOwn(set,chr)?chr:encodeURIComponent(chr)},specialSchemes={ftp:21,file:null,http:80,https:443,ws:80,wss:443},isWindowsDriveLetter=function(string,normalized){var second;return 2==string.length&&exec(ALPHA,charAt(string,0))&&(":"==(second=charAt(string,1))||!normalized&&"|"==second)},startsWithWindowsDriveLetter=function(string){var third;return string.length>1&&isWindowsDriveLetter(stringSlice(string,0,2))&&(2==string.length||"/"===(third=charAt(string,2))||"\\"===third||"?"===third||"#"===third)},isSingleDot=function(segment){return"."===segment||"%2e"===toLowerCase(segment)},SCHEME_START={},SCHEME={},NO_SCHEME={},SPECIAL_RELATIVE_OR_AUTHORITY={},PATH_OR_AUTHORITY={},RELATIVE={},RELATIVE_SLASH={},SPECIAL_AUTHORITY_SLASHES={},SPECIAL_AUTHORITY_IGNORE_SLASHES={},AUTHORITY={},HOST={},HOSTNAME={},PORT={},FILE={},FILE_SLASH={},FILE_HOST={},PATH_START={},PATH={},CANNOT_BE_A_BASE_URL_PATH={},QUERY={},FRAGMENT={},URLState=function(url,isBase,base){var baseState,failure,searchParams,urlString=$toString(url);if(isBase){if(failure=this.parse(urlString))throw TypeError(failure);this.searchParams=null}else{if(void 0!==base&&(baseState=new URLState(base,!0)),failure=this.parse(urlString,null,baseState))throw TypeError(failure);(searchParams=getInternalSearchParamsState(new URLSearchParams)).bindURL(this),this.searchParams=searchParams}};URLState.prototype={type:"URL",parse:function(input,stateOverride,base){var codePoints,chr,bufferCodePoints,failure,segment,url=this,state=stateOverride||SCHEME_START,pointer=0,buffer="",seenAt=!1,seenBracket=!1,seenPasswordToken=!1;for(input=$toString(input),stateOverride||(url.scheme="",url.username="",url.password="",url.host=null,url.port=null,url.path=[],url.query=null,url.fragment=null,url.cannotBeABaseURL=!1,input=replace(input,LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE,"")),input=replace(input,TAB_AND_NEW_LINE,""),codePoints=arrayFrom(input);pointer<=codePoints.length;){switch(chr=codePoints[pointer],state){case SCHEME_START:if(!chr||!exec(ALPHA,chr)){if(stateOverride)return"Invalid scheme";state=NO_SCHEME;continue}buffer+=toLowerCase(chr),state=SCHEME;break;case SCHEME:if(chr&&(exec(ALPHANUMERIC,chr)||"+"==chr||"-"==chr||"."==chr))buffer+=toLowerCase(chr);else{if(":"!=chr){if(stateOverride)return"Invalid scheme";buffer="",state=NO_SCHEME,pointer=0;continue}if(stateOverride&&(url.isSpecial()!=hasOwn(specialSchemes,buffer)||"file"==buffer&&(url.includesCredentials()||null!==url.port)||"file"==url.scheme&&!url.host))return;if(url.scheme=buffer,stateOverride)return void(url.isSpecial()&&specialSchemes[url.scheme]==url.port&&(url.port=null));buffer="","file"==url.scheme?state=FILE:url.isSpecial()&&base&&base.scheme==url.scheme?state=SPECIAL_RELATIVE_OR_AUTHORITY:url.isSpecial()?state=SPECIAL_AUTHORITY_SLASHES:"/"==codePoints[pointer+1]?(state=PATH_OR_AUTHORITY,pointer++):(url.cannotBeABaseURL=!0,push(url.path,""),state=CANNOT_BE_A_BASE_URL_PATH)}break;case NO_SCHEME:if(!base||base.cannotBeABaseURL&&"#"!=chr)return"Invalid scheme";if(base.cannotBeABaseURL&&"#"==chr){url.scheme=base.scheme,url.path=arraySlice(base.path),url.query=base.query,url.fragment="",url.cannotBeABaseURL=!0,state=FRAGMENT;break}state="file"==base.scheme?FILE:RELATIVE;continue;case SPECIAL_RELATIVE_OR_AUTHORITY:if("/"!=chr||"/"!=codePoints[pointer+1]){state=RELATIVE;continue}state=SPECIAL_AUTHORITY_IGNORE_SLASHES,pointer++;break;case PATH_OR_AUTHORITY:if("/"==chr){state=AUTHORITY;break}state=PATH;continue;case RELATIVE:if(url.scheme=base.scheme,chr==EOF)url.username=base.username,url.password=base.password,url.host=base.host,url.port=base.port,url.path=arraySlice(base.path),url.query=base.query;else if("/"==chr||"\\"==chr&&url.isSpecial())state=RELATIVE_SLASH;else if("?"==chr)url.username=base.username,url.password=base.password,url.host=base.host,url.port=base.port,url.path=arraySlice(base.path),url.query="",state=QUERY;else{if("#"!=chr){url.username=base.username,url.password=base.password,url.host=base.host,url.port=base.port,url.path=arraySlice(base.path),url.path.length--,state=PATH;continue}url.username=base.username,url.password=base.password,url.host=base.host,url.port=base.port,url.path=arraySlice(base.path),url.query=base.query,url.fragment="",state=FRAGMENT}break;case RELATIVE_SLASH:if(!url.isSpecial()||"/"!=chr&&"\\"!=chr){if("/"!=chr){url.username=base.username,url.password=base.password,url.host=base.host,url.port=base.port,state=PATH;continue}state=AUTHORITY}else state=SPECIAL_AUTHORITY_IGNORE_SLASHES;break;case SPECIAL_AUTHORITY_SLASHES:if(state=SPECIAL_AUTHORITY_IGNORE_SLASHES,"/"!=chr||"/"!=charAt(buffer,pointer+1))continue;pointer++;break;case SPECIAL_AUTHORITY_IGNORE_SLASHES:if("/"!=chr&&"\\"!=chr){state=AUTHORITY;continue}break;case AUTHORITY:if("@"==chr){seenAt&&(buffer="%40"+buffer),seenAt=!0,bufferCodePoints=arrayFrom(buffer);for(var i=0;i<bufferCodePoints.length;i++){var codePoint=bufferCodePoints[i];if(":"!=codePoint||seenPasswordToken){var encodedCodePoints=percentEncode(codePoint,userinfoPercentEncodeSet);seenPasswordToken?url.password+=encodedCodePoints:url.username+=encodedCodePoints}else seenPasswordToken=!0}buffer=""}else if(chr==EOF||"/"==chr||"?"==chr||"#"==chr||"\\"==chr&&url.isSpecial()){if(seenAt&&""==buffer)return"Invalid authority";pointer-=arrayFrom(buffer).length+1,buffer="",state=HOST}else buffer+=chr;break;case HOST:case HOSTNAME:if(stateOverride&&"file"==url.scheme){state=FILE_HOST;continue}if(":"!=chr||seenBracket){if(chr==EOF||"/"==chr||"?"==chr||"#"==chr||"\\"==chr&&url.isSpecial()){if(url.isSpecial()&&""==buffer)return"Invalid host";if(stateOverride&&""==buffer&&(url.includesCredentials()||null!==url.port))return;if(failure=url.parseHost(buffer))return failure;if(buffer="",state=PATH_START,stateOverride)return;continue}"["==chr?seenBracket=!0:"]"==chr&&(seenBracket=!1),buffer+=chr}else{if(""==buffer)return"Invalid host";if(failure=url.parseHost(buffer))return failure;if(buffer="",state=PORT,stateOverride==HOSTNAME)return}break;case PORT:if(!exec(DIGIT,chr)){if(chr==EOF||"/"==chr||"?"==chr||"#"==chr||"\\"==chr&&url.isSpecial()||stateOverride){if(""!=buffer){var port=parseInt(buffer,10);if(port>65535)return"Invalid port";url.port=url.isSpecial()&&port===specialSchemes[url.scheme]?null:port,buffer=""}if(stateOverride)return;state=PATH_START;continue}return"Invalid port"}buffer+=chr;break;case FILE:if(url.scheme="file","/"==chr||"\\"==chr)state=FILE_SLASH;else{if(!base||"file"!=base.scheme){state=PATH;continue}if(chr==EOF)url.host=base.host,url.path=arraySlice(base.path),url.query=base.query;else if("?"==chr)url.host=base.host,url.path=arraySlice(base.path),url.query="",state=QUERY;else{if("#"!=chr){startsWithWindowsDriveLetter(join(arraySlice(codePoints,pointer),""))||(url.host=base.host,url.path=arraySlice(base.path),url.shortenPath()),state=PATH;continue}url.host=base.host,url.path=arraySlice(base.path),url.query=base.query,url.fragment="",state=FRAGMENT}}break;case FILE_SLASH:if("/"==chr||"\\"==chr){state=FILE_HOST;break}base&&"file"==base.scheme&&!startsWithWindowsDriveLetter(join(arraySlice(codePoints,pointer),""))&&(isWindowsDriveLetter(base.path[0],!0)?push(url.path,base.path[0]):url.host=base.host),state=PATH;continue;case FILE_HOST:if(chr==EOF||"/"==chr||"\\"==chr||"?"==chr||"#"==chr){if(!stateOverride&&isWindowsDriveLetter(buffer))state=PATH;else if(""==buffer){if(url.host="",stateOverride)return;state=PATH_START}else{if(failure=url.parseHost(buffer))return failure;if("localhost"==url.host&&(url.host=""),stateOverride)return;buffer="",state=PATH_START}continue}buffer+=chr;break;case PATH_START:if(url.isSpecial()){if(state=PATH,"/"!=chr&&"\\"!=chr)continue}else if(stateOverride||"?"!=chr)if(stateOverride||"#"!=chr){if(chr!=EOF&&(state=PATH,"/"!=chr))continue}else url.fragment="",state=FRAGMENT;else url.query="",state=QUERY;break;case PATH:if(chr==EOF||"/"==chr||"\\"==chr&&url.isSpecial()||!stateOverride&&("?"==chr||"#"==chr)){if(".."===(segment=toLowerCase(segment=buffer))||"%2e."===segment||".%2e"===segment||"%2e%2e"===segment?(url.shortenPath(),"/"==chr||"\\"==chr&&url.isSpecial()||push(url.path,"")):isSingleDot(buffer)?"/"==chr||"\\"==chr&&url.isSpecial()||push(url.path,""):("file"==url.scheme&&!url.path.length&&isWindowsDriveLetter(buffer)&&(url.host&&(url.host=""),buffer=charAt(buffer,0)+":"),push(url.path,buffer)),buffer="","file"==url.scheme&&(chr==EOF||"?"==chr||"#"==chr))for(;url.path.length>1&&""===url.path[0];)shift(url.path);"?"==chr?(url.query="",state=QUERY):"#"==chr&&(url.fragment="",state=FRAGMENT)}else buffer+=percentEncode(chr,pathPercentEncodeSet);break;case CANNOT_BE_A_BASE_URL_PATH:"?"==chr?(url.query="",state=QUERY):"#"==chr?(url.fragment="",state=FRAGMENT):chr!=EOF&&(url.path[0]+=percentEncode(chr,C0ControlPercentEncodeSet));break;case QUERY:stateOverride||"#"!=chr?chr!=EOF&&("'"==chr&&url.isSpecial()?url.query+="%27":url.query+="#"==chr?"%23":percentEncode(chr,C0ControlPercentEncodeSet)):(url.fragment="",state=FRAGMENT);break;case FRAGMENT:chr!=EOF&&(url.fragment+=percentEncode(chr,fragmentPercentEncodeSet))}pointer++}},parseHost:function(input){var result,codePoints,index;if("["==charAt(input,0)){if("]"!=charAt(input,input.length-1))return"Invalid host";if(!(result=function(input){var value,length,numbersSeen,ipv4Piece,number,swaps,swap,address=[0,0,0,0,0,0,0,0],pieceIndex=0,compress=null,pointer=0,chr=function(){return charAt(input,pointer)};if(":"==chr()){if(":"!=charAt(input,1))return;pointer+=2,compress=++pieceIndex}for(;chr();){if(8==pieceIndex)return;if(":"!=chr()){for(value=length=0;length<4&&exec(HEX,chr());)value=16*value+parseInt(chr(),16),pointer++,length++;if("."==chr()){if(0==length)return;if(pointer-=length,pieceIndex>6)return;for(numbersSeen=0;chr();){if(ipv4Piece=null,numbersSeen>0){if(!("."==chr()&&numbersSeen<4))return;pointer++}if(!exec(DIGIT,chr()))return;for(;exec(DIGIT,chr());){if(number=parseInt(chr(),10),null===ipv4Piece)ipv4Piece=number;else{if(0==ipv4Piece)return;ipv4Piece=10*ipv4Piece+number}if(ipv4Piece>255)return;pointer++}address[pieceIndex]=256*address[pieceIndex]+ipv4Piece,2!=++numbersSeen&&4!=numbersSeen||pieceIndex++}if(4!=numbersSeen)return;break}if(":"==chr()){if(pointer++,!chr())return}else if(chr())return;address[pieceIndex++]=value}else{if(null!==compress)return;pointer++,compress=++pieceIndex}}if(null!==compress)for(swaps=pieceIndex-compress,pieceIndex=7;0!=pieceIndex&&swaps>0;)swap=address[pieceIndex],address[pieceIndex--]=address[compress+swaps-1],address[compress+--swaps]=swap;else if(8!=pieceIndex)return;return address}(stringSlice(input,1,-1))))return"Invalid host";this.host=result}else if(this.isSpecial()){if(input=toASCII(input),exec(FORBIDDEN_HOST_CODE_POINT,input))return"Invalid host";if(null===(result=function(input){var partsLength,numbers,index,part,radix,number,ipv4,parts=split(input,".");if(parts.length&&""==parts[parts.length-1]&&parts.length--,(partsLength=parts.length)>4)return input;for(numbers=[],index=0;index<partsLength;index++){if(""==(part=parts[index]))return input;if(radix=10,part.length>1&&"0"==charAt(part,0)&&(radix=exec(HEX_START,part)?16:8,part=stringSlice(part,8==radix?1:2)),""===part)number=0;else{if(!exec(10==radix?DEC:8==radix?OCT:HEX,part))return input;number=parseInt(part,radix)}push(numbers,number)}for(index=0;index<partsLength;index++)if(number=numbers[index],index==partsLength-1){if(number>=pow(256,5-partsLength))return null}else if(number>255)return null;for(ipv4=pop(numbers),index=0;index<numbers.length;index++)ipv4+=numbers[index]*pow(256,3-index);return ipv4}(input)))return"Invalid host";this.host=result}else{if(exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT,input))return"Invalid host";for(result="",codePoints=arrayFrom(input),index=0;index<codePoints.length;index++)result+=percentEncode(codePoints[index],C0ControlPercentEncodeSet);this.host=result}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return hasOwn(specialSchemes,this.scheme)},shortenPath:function(){var path=this.path,pathSize=path.length;!pathSize||"file"==this.scheme&&1==pathSize&&isWindowsDriveLetter(path[0],!0)||path.length--},serialize:function(){var url=this,scheme=url.scheme,username=url.username,password=url.password,host=url.host,port=url.port,path=url.path,query=url.query,fragment=url.fragment,output=scheme+":";return null!==host?(output+="//",url.includesCredentials()&&(output+=username+(password?":"+password:"")+"@"),output+=serializeHost(host),null!==port&&(output+=":"+port)):"file"==scheme&&(output+="//"),output+=url.cannotBeABaseURL?path[0]:path.length?"/"+join(path,"/"):"",null!==query&&(output+="?"+query),null!==fragment&&(output+="#"+fragment),output},setHref:function(href){var failure=this.parse(href);if(failure)throw TypeError(failure);this.searchParams.update()},getOrigin:function(){var scheme=this.scheme,port=this.port;if("blob"==scheme)try{return new URLConstructor(scheme.path[0]).origin}catch(error){return"null"}return"file"!=scheme&&this.isSpecial()?scheme+"://"+serializeHost(this.host)+(null!==port?":"+port:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(protocol){this.parse($toString(protocol)+":",SCHEME_START)},getUsername:function(){return this.username},setUsername:function(username){var codePoints=arrayFrom($toString(username));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var i=0;i<codePoints.length;i++)this.username+=percentEncode(codePoints[i],userinfoPercentEncodeSet)}},getPassword:function(){return this.password},setPassword:function(password){var codePoints=arrayFrom($toString(password));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var i=0;i<codePoints.length;i++)this.password+=percentEncode(codePoints[i],userinfoPercentEncodeSet)}},getHost:function(){var host=this.host,port=this.port;return null===host?"":null===port?serializeHost(host):serializeHost(host)+":"+port},setHost:function(host){this.cannotBeABaseURL||this.parse(host,HOST)},getHostname:function(){var host=this.host;return null===host?"":serializeHost(host)},setHostname:function(hostname){this.cannotBeABaseURL||this.parse(hostname,HOSTNAME)},getPort:function(){var port=this.port;return null===port?"":$toString(port)},setPort:function(port){this.cannotHaveUsernamePasswordPort()||(""==(port=$toString(port))?this.port=null:this.parse(port,PORT))},getPathname:function(){var path=this.path;return this.cannotBeABaseURL?path[0]:path.length?"/"+join(path,"/"):""},setPathname:function(pathname){this.cannotBeABaseURL||(this.path=[],this.parse(pathname,PATH_START))},getSearch:function(){var query=this.query;return query?"?"+query:""},setSearch:function(search){""==(search=$toString(search))?this.query=null:("?"==charAt(search,0)&&(search=stringSlice(search,1)),this.query="",this.parse(search,QUERY)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var fragment=this.fragment;return fragment?"#"+fragment:""},setHash:function(hash){""!=(hash=$toString(hash))?("#"==charAt(hash,0)&&(hash=stringSlice(hash,1)),this.fragment="",this.parse(hash,FRAGMENT)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var URLConstructor=function URL(url){var that=anInstance(this,URLPrototype),base=validateArgumentsLength(arguments.length,1)>1?arguments[1]:void 0,state=setInternalState(that,new URLState(url,!1,base));DESCRIPTORS||(that.href=state.serialize(),that.origin=state.getOrigin(),that.protocol=state.getProtocol(),that.username=state.getUsername(),that.password=state.getPassword(),that.host=state.getHost(),that.hostname=state.getHostname(),that.port=state.getPort(),that.pathname=state.getPathname(),that.search=state.getSearch(),that.searchParams=state.getSearchParams(),that.hash=state.getHash())},URLPrototype=URLConstructor.prototype,accessorDescriptor=function(getter,setter){return{get:function(){return getInternalURLState(this)[getter]()},set:setter&&function(value){return getInternalURLState(this)[setter](value)},configurable:!0,enumerable:!0}};if(DESCRIPTORS&&defineProperties(URLPrototype,{href:accessorDescriptor("serialize","setHref"),origin:accessorDescriptor("getOrigin"),protocol:accessorDescriptor("getProtocol","setProtocol"),username:accessorDescriptor("getUsername","setUsername"),password:accessorDescriptor("getPassword","setPassword"),host:accessorDescriptor("getHost","setHost"),hostname:accessorDescriptor("getHostname","setHostname"),port:accessorDescriptor("getPort","setPort"),pathname:accessorDescriptor("getPathname","setPathname"),search:accessorDescriptor("getSearch","setSearch"),searchParams:accessorDescriptor("getSearchParams"),hash:accessorDescriptor("getHash","setHash")}),redefine(URLPrototype,"toJSON",(function toJSON(){return getInternalURLState(this).serialize()}),{enumerable:!0}),redefine(URLPrototype,"toString",(function toString(){return getInternalURLState(this).serialize()}),{enumerable:!0}),NativeURL){var nativeCreateObjectURL=NativeURL.createObjectURL,nativeRevokeObjectURL=NativeURL.revokeObjectURL;nativeCreateObjectURL&&redefine(URLConstructor,"createObjectURL",bind(nativeCreateObjectURL,NativeURL)),nativeRevokeObjectURL&&redefine(URLConstructor,"revokeObjectURL",bind(nativeRevokeObjectURL,NativeURL))}setToStringTag(URLConstructor,"URL"),$({global:!0,forced:!USE_NATIVE_URL,sham:!DESCRIPTORS},{URL:URLConstructor})},76393:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer,elliptic=__webpack_require__(86266),BN=__webpack_require__(13550);module.exports=function createECDH(curve){return new ECDH(curve)};var aliases={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function ECDH(curve){this.curveType=aliases[curve],this.curveType||(this.curveType={name:curve}),this.curve=new elliptic.ec(this.curveType.name),this.keys=void 0}function formatReturnValue(bn,enc,len){Array.isArray(bn)||(bn=bn.toArray());var buf=new Buffer(bn);if(len&&buf.length<len){var zeros=new Buffer(len-buf.length);zeros.fill(0),buf=Buffer.concat([zeros,buf])}return enc?buf.toString(enc):buf}aliases.p224=aliases.secp224r1,aliases.p256=aliases.secp256r1=aliases.prime256v1,aliases.p192=aliases.secp192r1=aliases.prime192v1,aliases.p384=aliases.secp384r1,aliases.p521=aliases.secp521r1,ECDH.prototype.generateKeys=function(enc,format){return this.keys=this.curve.genKeyPair(),this.getPublicKey(enc,format)},ECDH.prototype.computeSecret=function(other,inenc,enc){return inenc=inenc||"utf8",Buffer.isBuffer(other)||(other=new Buffer(other,inenc)),formatReturnValue(this.curve.keyFromPublic(other).getPublic().mul(this.keys.getPrivate()).getX(),enc,this.curveType.byteLength)},ECDH.prototype.getPublicKey=function(enc,format){var key=this.keys.getPublic("compressed"===format,!0);return"hybrid"===format&&(key[key.length-1]%2?key[0]=7:key[0]=6),formatReturnValue(key,enc)},ECDH.prototype.getPrivateKey=function(enc){return formatReturnValue(this.keys.getPrivate(),enc)},ECDH.prototype.setPublicKey=function(pub,enc){return enc=enc||"utf8",Buffer.isBuffer(pub)||(pub=new Buffer(pub,enc)),this.keys._importPublic(pub),this},ECDH.prototype.setPrivateKey=function(priv,enc){enc=enc||"utf8",Buffer.isBuffer(priv)||(priv=new Buffer(priv,enc));var _priv=new BN(priv);return _priv=_priv.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(_priv),this}},23482:function(module,__unused_webpack_exports,__webpack_require__){var inherits=__webpack_require__(35717),MD5=__webpack_require__(62318),RIPEMD160=__webpack_require__(79785),sha=__webpack_require__(89072),Base=__webpack_require__(71027);function Hash(hash){Base.call(this,"digest"),this._hash=hash}inherits(Hash,Base),Hash.prototype._update=function(data){this._hash.update(data)},Hash.prototype._final=function(){return this._hash.digest()},module.exports=function createHash(alg){return"md5"===(alg=alg.toLowerCase())?new MD5:"rmd160"===alg||"ripemd160"===alg?new RIPEMD160:new Hash(sha(alg))}},78028:function(module,__unused_webpack_exports,__webpack_require__){var MD5=__webpack_require__(62318);module.exports=function(buffer){return(new MD5).update(buffer).digest()}},58355:function(module,__unused_webpack_exports,__webpack_require__){var inherits=__webpack_require__(35717),Legacy=__webpack_require__(51031),Base=__webpack_require__(71027),Buffer=__webpack_require__(89509).Buffer,md5=__webpack_require__(78028),RIPEMD160=__webpack_require__(79785),sha=__webpack_require__(89072),ZEROS=Buffer.alloc(128);function Hmac(alg,key){Base.call(this,"digest"),"string"==typeof key&&(key=Buffer.from(key));var blocksize="sha512"===alg||"sha384"===alg?128:64;(this._alg=alg,this._key=key,key.length>blocksize)?key=("rmd160"===alg?new RIPEMD160:sha(alg)).update(key).digest():key.length<blocksize&&(key=Buffer.concat([key,ZEROS],blocksize));for(var ipad=this._ipad=Buffer.allocUnsafe(blocksize),opad=this._opad=Buffer.allocUnsafe(blocksize),i=0;i<blocksize;i++)ipad[i]=54^key[i],opad[i]=92^key[i];this._hash="rmd160"===alg?new RIPEMD160:sha(alg),this._hash.update(ipad)}inherits(Hmac,Base),Hmac.prototype._update=function(data){this._hash.update(data)},Hmac.prototype._final=function(){var h=this._hash.digest();return("rmd160"===this._alg?new RIPEMD160:sha(this._alg)).update(this._opad).update(h).digest()},module.exports=function createHmac(alg,key){return"rmd160"===(alg=alg.toLowerCase())||"ripemd160"===alg?new Hmac("rmd160",key):"md5"===alg?new Legacy(md5,key):new Hmac(alg,key)}},51031:function(module,__unused_webpack_exports,__webpack_require__){var inherits=__webpack_require__(35717),Buffer=__webpack_require__(89509).Buffer,Base=__webpack_require__(71027),ZEROS=Buffer.alloc(128);function Hmac(alg,key){Base.call(this,"digest"),"string"==typeof key&&(key=Buffer.from(key)),this._alg=alg,this._key=key,key.length>64?key=alg(key):key.length<64&&(key=Buffer.concat([key,ZEROS],64));for(var ipad=this._ipad=Buffer.allocUnsafe(64),opad=this._opad=Buffer.allocUnsafe(64),i=0;i<64;i++)ipad[i]=54^key[i],opad[i]=92^key[i];this._hash=[ipad]}inherits(Hmac,Base),Hmac.prototype._update=function(data){this._hash.push(data)},Hmac.prototype._final=function(){var h=this._alg(Buffer.concat(this._hash));return this._alg(Buffer.concat([this._opad,h]))},module.exports=Hmac},55835:function(__unused_webpack_module,exports,__webpack_require__){exports.randomBytes=exports.rng=exports.pseudoRandomBytes=exports.prng=__webpack_require__(61798),exports.createHash=exports.Hash=__webpack_require__(23482),exports.createHmac=exports.Hmac=__webpack_require__(58355);var algos=__webpack_require__(56042),algoKeys=Object.keys(algos),hashes=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(algoKeys);exports.getHashes=function(){return hashes};var p=__webpack_require__(25632);exports.pbkdf2=p.pbkdf2,exports.pbkdf2Sync=p.pbkdf2Sync;var aes=__webpack_require__(53614);exports.Cipher=aes.Cipher,exports.createCipher=aes.createCipher,exports.Cipheriv=aes.Cipheriv,exports.createCipheriv=aes.createCipheriv,exports.Decipher=aes.Decipher,exports.createDecipher=aes.createDecipher,exports.Decipheriv=aes.Decipheriv,exports.createDecipheriv=aes.createDecipheriv,exports.getCiphers=aes.getCiphers,exports.listCiphers=aes.listCiphers;var dh=__webpack_require__(62607);exports.DiffieHellmanGroup=dh.DiffieHellmanGroup,exports.createDiffieHellmanGroup=dh.createDiffieHellmanGroup,exports.getDiffieHellman=dh.getDiffieHellman,exports.createDiffieHellman=dh.createDiffieHellman,exports.DiffieHellman=dh.DiffieHellman;var sign=__webpack_require__(64743);exports.createSign=sign.createSign,exports.Sign=sign.Sign,exports.createVerify=sign.createVerify,exports.Verify=sign.Verify,exports.createECDH=__webpack_require__(76393);var publicEncrypt=__webpack_require__(7900);exports.publicEncrypt=publicEncrypt.publicEncrypt,exports.privateEncrypt=publicEncrypt.privateEncrypt,exports.publicDecrypt=publicEncrypt.publicDecrypt,exports.privateDecrypt=publicEncrypt.privateDecrypt;var rf=__webpack_require__(77963);exports.randomFill=rf.randomFill,exports.randomFillSync=rf.randomFillSync,exports.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},exports.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},62667:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={CSSRule:__webpack_require__(77965).CSSRule,CSSGroupingRule:__webpack_require__(18068).CSSGroupingRule,CSSConditionRule:function CSSConditionRule(){CSSOM.CSSGroupingRule.call(this),this.cssRules=[]}};CSSOM.CSSConditionRule.prototype=new CSSOM.CSSGroupingRule,CSSOM.CSSConditionRule.prototype.constructor=CSSOM.CSSConditionRule,CSSOM.CSSConditionRule.prototype.conditionText="",CSSOM.CSSConditionRule.prototype.cssText="",exports.CSSConditionRule=CSSOM.CSSConditionRule},37018:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={CSSRule:__webpack_require__(77965).CSSRule,MatcherList:__webpack_require__(59376).MatcherList,CSSDocumentRule:function CSSDocumentRule(){CSSOM.CSSRule.call(this),this.matcher=new CSSOM.MatcherList,this.cssRules=[]}};CSSOM.CSSDocumentRule.prototype=new CSSOM.CSSRule,CSSOM.CSSDocumentRule.prototype.constructor=CSSOM.CSSDocumentRule,CSSOM.CSSDocumentRule.prototype.type=10,Object.defineProperty(CSSOM.CSSDocumentRule.prototype,"cssText",{get:function(){for(var cssTexts=[],i=0,length=this.cssRules.length;i<length;i++)cssTexts.push(this.cssRules[i].cssText);return"@-moz-document "+this.matcher.matcherText+" {"+cssTexts.join("")+"}"}}),exports.CSSDocumentRule=CSSOM.CSSDocumentRule},98225:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={CSSStyleDeclaration:__webpack_require__(41066).CSSStyleDeclaration,CSSRule:__webpack_require__(77965).CSSRule,CSSFontFaceRule:function CSSFontFaceRule(){CSSOM.CSSRule.call(this),this.style=new CSSOM.CSSStyleDeclaration,this.style.parentRule=this}};CSSOM.CSSFontFaceRule.prototype=new CSSOM.CSSRule,CSSOM.CSSFontFaceRule.prototype.constructor=CSSOM.CSSFontFaceRule,CSSOM.CSSFontFaceRule.prototype.type=5,Object.defineProperty(CSSOM.CSSFontFaceRule.prototype,"cssText",{get:function(){return"@font-face {"+this.style.cssText+"}"}}),exports.CSSFontFaceRule=CSSOM.CSSFontFaceRule},18068:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={CSSRule:__webpack_require__(77965).CSSRule,CSSGroupingRule:function CSSGroupingRule(){CSSOM.CSSRule.call(this),this.cssRules=[]}};CSSOM.CSSGroupingRule.prototype=new CSSOM.CSSRule,CSSOM.CSSGroupingRule.prototype.constructor=CSSOM.CSSGroupingRule,CSSOM.CSSGroupingRule.prototype.insertRule=function insertRule(rule,index){if(index<0||index>this.cssRules.length)throw new RangeError("INDEX_SIZE_ERR");var cssRule=CSSOM.parse(rule).cssRules[0];return cssRule.parentRule=this,this.cssRules.splice(index,0,cssRule),index},CSSOM.CSSGroupingRule.prototype.deleteRule=function deleteRule(index){if(index<0||index>=this.cssRules.length)throw new RangeError("INDEX_SIZE_ERR");this.cssRules.splice(index,1)[0].parentRule=null},exports.CSSGroupingRule=CSSOM.CSSGroupingRule},61033:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={CSSRule:__webpack_require__(77965).CSSRule,CSSHostRule:function CSSHostRule(){CSSOM.CSSRule.call(this),this.cssRules=[]}};CSSOM.CSSHostRule.prototype=new CSSOM.CSSRule,CSSOM.CSSHostRule.prototype.constructor=CSSOM.CSSHostRule,CSSOM.CSSHostRule.prototype.type=1001,Object.defineProperty(CSSOM.CSSHostRule.prototype,"cssText",{get:function(){for(var cssTexts=[],i=0,length=this.cssRules.length;i<length;i++)cssTexts.push(this.cssRules[i].cssText);return"@host {"+cssTexts.join("")+"}"}}),exports.CSSHostRule=CSSOM.CSSHostRule},69128:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={CSSRule:__webpack_require__(77965).CSSRule,CSSStyleSheet:__webpack_require__(88647).CSSStyleSheet,MediaList:__webpack_require__(22815).MediaList,CSSImportRule:function CSSImportRule(){CSSOM.CSSRule.call(this),this.href="",this.media=new CSSOM.MediaList,this.styleSheet=new CSSOM.CSSStyleSheet}};CSSOM.CSSImportRule.prototype=new CSSOM.CSSRule,CSSOM.CSSImportRule.prototype.constructor=CSSOM.CSSImportRule,CSSOM.CSSImportRule.prototype.type=3,Object.defineProperty(CSSOM.CSSImportRule.prototype,"cssText",{get:function(){var mediaText=this.media.mediaText;return"@import url("+this.href+")"+(mediaText?" "+mediaText:"")+";"},set:function(cssText){for(var index,character,i=0,state="",buffer="";character=cssText.charAt(i);i++)switch(character){case" ":case"\t":case"\r":case"\n":case"\f":"after-import"===state?state="url":buffer+=character;break;case"@":state||cssText.indexOf("@import",i)!==i||(state="after-import",i+="import".length,buffer="");break;case"u":if("url"===state&&cssText.indexOf("url(",i)===i){if(-1===(index=cssText.indexOf(")",i+1)))throw i+': ")" not found';i+="url(".length;var url=cssText.slice(i,index);url[0]===url[url.length-1]&&('"'!==url[0]&&"'"!==url[0]||(url=url.slice(1,-1))),this.href=url,i=index,state="media"}break;case'"':if("url"===state){if(!(index=cssText.indexOf('"',i+1)))throw i+": '\"' not found";this.href=cssText.slice(i+1,index),i=index,state="media"}break;case"'":if("url"===state){if(!(index=cssText.indexOf("'",i+1)))throw i+': "\'" not found';this.href=cssText.slice(i+1,index),i=index,state="media"}break;case";":"media"===state&&buffer&&(this.media.mediaText=buffer.trim());break;default:"media"===state&&(buffer+=character)}}}),exports.CSSImportRule=CSSOM.CSSImportRule},61092:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={CSSRule:__webpack_require__(77965).CSSRule,CSSStyleDeclaration:__webpack_require__(41066).CSSStyleDeclaration,CSSKeyframeRule:function CSSKeyframeRule(){CSSOM.CSSRule.call(this),this.keyText="",this.style=new CSSOM.CSSStyleDeclaration,this.style.parentRule=this}};CSSOM.CSSKeyframeRule.prototype=new CSSOM.CSSRule,CSSOM.CSSKeyframeRule.prototype.constructor=CSSOM.CSSKeyframeRule,CSSOM.CSSKeyframeRule.prototype.type=8,Object.defineProperty(CSSOM.CSSKeyframeRule.prototype,"cssText",{get:function(){return this.keyText+" {"+this.style.cssText+"} "}}),exports.CSSKeyframeRule=CSSOM.CSSKeyframeRule},95782:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={CSSRule:__webpack_require__(77965).CSSRule,CSSKeyframesRule:function CSSKeyframesRule(){CSSOM.CSSRule.call(this),this.name="",this.cssRules=[]}};CSSOM.CSSKeyframesRule.prototype=new CSSOM.CSSRule,CSSOM.CSSKeyframesRule.prototype.constructor=CSSOM.CSSKeyframesRule,CSSOM.CSSKeyframesRule.prototype.type=7,Object.defineProperty(CSSOM.CSSKeyframesRule.prototype,"cssText",{get:function(){for(var cssTexts=[],i=0,length=this.cssRules.length;i<length;i++)cssTexts.push(" "+this.cssRules[i].cssText);return"@"+(this._vendorPrefix||"")+"keyframes "+this.name+" { \n"+cssTexts.join("\n")+"\n}"}}),exports.CSSKeyframesRule=CSSOM.CSSKeyframesRule},6049:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={CSSRule:__webpack_require__(77965).CSSRule,CSSGroupingRule:__webpack_require__(18068).CSSGroupingRule,CSSConditionRule:__webpack_require__(62667).CSSConditionRule,MediaList:__webpack_require__(22815).MediaList,CSSMediaRule:function CSSMediaRule(){CSSOM.CSSConditionRule.call(this),this.media=new CSSOM.MediaList}};CSSOM.CSSMediaRule.prototype=new CSSOM.CSSConditionRule,CSSOM.CSSMediaRule.prototype.constructor=CSSOM.CSSMediaRule,CSSOM.CSSMediaRule.prototype.type=4,Object.defineProperties(CSSOM.CSSMediaRule.prototype,{conditionText:{get:function(){return this.media.mediaText},set:function(value){this.media.mediaText=value},configurable:!0,enumerable:!0},cssText:{get:function(){for(var cssTexts=[],i=0,length=this.cssRules.length;i<length;i++)cssTexts.push(this.cssRules[i].cssText);return"@media "+this.media.mediaText+" {"+cssTexts.join("")+"}"},configurable:!0,enumerable:!0}}),exports.CSSMediaRule=CSSOM.CSSMediaRule},77965:function(__unused_webpack_module,exports){var CSSOM={CSSRule:function CSSRule(){this.parentRule=null,this.parentStyleSheet=null}};CSSOM.CSSRule.UNKNOWN_RULE=0,CSSOM.CSSRule.STYLE_RULE=1,CSSOM.CSSRule.CHARSET_RULE=2,CSSOM.CSSRule.IMPORT_RULE=3,CSSOM.CSSRule.MEDIA_RULE=4,CSSOM.CSSRule.FONT_FACE_RULE=5,CSSOM.CSSRule.PAGE_RULE=6,CSSOM.CSSRule.KEYFRAMES_RULE=7,CSSOM.CSSRule.KEYFRAME_RULE=8,CSSOM.CSSRule.MARGIN_RULE=9,CSSOM.CSSRule.NAMESPACE_RULE=10,CSSOM.CSSRule.COUNTER_STYLE_RULE=11,CSSOM.CSSRule.SUPPORTS_RULE=12,CSSOM.CSSRule.DOCUMENT_RULE=13,CSSOM.CSSRule.FONT_FEATURE_VALUES_RULE=14,CSSOM.CSSRule.VIEWPORT_RULE=15,CSSOM.CSSRule.REGION_STYLE_RULE=16,CSSOM.CSSRule.prototype={constructor:CSSOM.CSSRule},exports.CSSRule=CSSOM.CSSRule},41066:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={CSSStyleDeclaration:function CSSStyleDeclaration(){this.length=0,this.parentRule=null,this._importants={}}};CSSOM.CSSStyleDeclaration.prototype={constructor:CSSOM.CSSStyleDeclaration,getPropertyValue:function(name){return this[name]||""},setProperty:function(name,value,priority){this[name]?Array.prototype.indexOf.call(this,name)<0&&(this[this.length]=name,this.length++):(this[this.length]=name,this.length++);this[name]=value+"",this._importants[name]=priority},removeProperty:function(name){if(!(name in this))return"";var index=Array.prototype.indexOf.call(this,name);if(index<0)return"";var prevValue=this[name];return this[name]="",Array.prototype.splice.call(this,index,1),prevValue},getPropertyCSSValue:function(){},getPropertyPriority:function(name){return this._importants[name]||""},getPropertyShorthand:function(){},isPropertyImplicit:function(){},get cssText(){for(var properties=[],i=0,length=this.length;i<length;++i){var name=this[i],value=this.getPropertyValue(name),priority=this.getPropertyPriority(name);priority&&(priority=" !"+priority),properties[i]=name+": "+value+priority+";"}return properties.join(" ")},set cssText(text){var i,name;for(i=this.length;i--;)this[name=this[i]]="";Array.prototype.splice.call(this,0,this.length),this._importants={};var dummyRule=CSSOM.parse("#bogus{"+text+"}").cssRules[0].style,length=dummyRule.length;for(i=0;i<length;++i)name=dummyRule[i],this.setProperty(dummyRule[i],dummyRule.getPropertyValue(name),dummyRule.getPropertyPriority(name))}},exports.CSSStyleDeclaration=CSSOM.CSSStyleDeclaration,CSSOM.parse=__webpack_require__(36780).parse},85401:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={CSSStyleDeclaration:__webpack_require__(41066).CSSStyleDeclaration,CSSRule:__webpack_require__(77965).CSSRule,CSSStyleRule:function CSSStyleRule(){CSSOM.CSSRule.call(this),this.selectorText="",this.style=new CSSOM.CSSStyleDeclaration,this.style.parentRule=this}};CSSOM.CSSStyleRule.prototype=new CSSOM.CSSRule,CSSOM.CSSStyleRule.prototype.constructor=CSSOM.CSSStyleRule,CSSOM.CSSStyleRule.prototype.type=1,Object.defineProperty(CSSOM.CSSStyleRule.prototype,"cssText",{get:function(){return this.selectorText?this.selectorText+" {"+this.style.cssText+"}":""},set:function(cssText){var rule=CSSOM.CSSStyleRule.parse(cssText);this.style=rule.style,this.selectorText=rule.selectorText}}),CSSOM.CSSStyleRule.parse=function(ruleText){for(var index,name,character,i=0,state="selector",j=i,buffer="",SIGNIFICANT_WHITESPACE={selector:!0,value:!0},styleRule=new CSSOM.CSSStyleRule,priority="";character=ruleText.charAt(i);i++)switch(character){case" ":case"\t":case"\r":case"\n":case"\f":if(SIGNIFICANT_WHITESPACE[state])switch(ruleText.charAt(i-1)){case" ":case"\t":case"\r":case"\n":case"\f":break;default:buffer+=" "}break;case'"':if(j=i+1,!(index=ruleText.indexOf('"',j)+1))throw'" is missing';buffer+=ruleText.slice(i,index),i=index-1;break;case"'":if(j=i+1,!(index=ruleText.indexOf("'",j)+1))throw"' is missing";buffer+=ruleText.slice(i,index),i=index-1;break;case"/":if("*"===ruleText.charAt(i+1)){if(i+=2,-1===(index=ruleText.indexOf("*/",i)))throw new SyntaxError("Missing */");i=index+1}else buffer+=character;break;case"{":"selector"===state&&(styleRule.selectorText=buffer.trim(),buffer="",state="name");break;case":":"name"===state?(name=buffer.trim(),buffer="",state="value"):buffer+=character;break;case"!":"value"===state&&ruleText.indexOf("!important",i)===i?(priority="important",i+="important".length):buffer+=character;break;case";":"value"===state?(styleRule.style.setProperty(name,buffer.trim(),priority),priority="",buffer="",state="name"):buffer+=character;break;case"}":if("value"===state)styleRule.style.setProperty(name,buffer.trim(),priority),priority="",buffer="";else{if("name"===state)break;buffer+=character}state="selector";break;default:buffer+=character}return styleRule},exports.CSSStyleRule=CSSOM.CSSStyleRule},88647:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={StyleSheet:__webpack_require__(27485).StyleSheet,CSSStyleRule:__webpack_require__(85401).CSSStyleRule,CSSStyleSheet:function CSSStyleSheet(){CSSOM.StyleSheet.call(this),this.cssRules=[]}};CSSOM.CSSStyleSheet.prototype=new CSSOM.StyleSheet,CSSOM.CSSStyleSheet.prototype.constructor=CSSOM.CSSStyleSheet,CSSOM.CSSStyleSheet.prototype.insertRule=function(rule,index){if(index<0||index>this.cssRules.length)throw new RangeError("INDEX_SIZE_ERR");var cssRule=CSSOM.parse(rule).cssRules[0];return cssRule.parentStyleSheet=this,this.cssRules.splice(index,0,cssRule),index},CSSOM.CSSStyleSheet.prototype.deleteRule=function(index){if(index<0||index>=this.cssRules.length)throw new RangeError("INDEX_SIZE_ERR");this.cssRules.splice(index,1)},CSSOM.CSSStyleSheet.prototype.toString=function(){for(var result="",rules=this.cssRules,i=0;i<rules.length;i++)result+=rules[i].cssText+"\n";return result},exports.CSSStyleSheet=CSSOM.CSSStyleSheet,CSSOM.parse=__webpack_require__(36780).parse},20002:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={CSSRule:__webpack_require__(77965).CSSRule,CSSGroupingRule:__webpack_require__(18068).CSSGroupingRule,CSSConditionRule:__webpack_require__(62667).CSSConditionRule,CSSSupportsRule:function CSSSupportsRule(){CSSOM.CSSConditionRule.call(this)}};CSSOM.CSSSupportsRule.prototype=new CSSOM.CSSConditionRule,CSSOM.CSSSupportsRule.prototype.constructor=CSSOM.CSSSupportsRule,CSSOM.CSSSupportsRule.prototype.type=12,Object.defineProperty(CSSOM.CSSSupportsRule.prototype,"cssText",{get:function(){for(var cssTexts=[],i=0,length=this.cssRules.length;i<length;i++)cssTexts.push(this.cssRules[i].cssText);return"@supports "+this.conditionText+" {"+cssTexts.join("")+"}"}}),exports.CSSSupportsRule=CSSOM.CSSSupportsRule},68301:function(__unused_webpack_module,exports){var CSSOM={CSSValue:function CSSValue(){}};CSSOM.CSSValue.prototype={constructor:CSSOM.CSSValue,set cssText(text){var name=this._getConstructorName();throw new Error('DOMException: property "cssText" of "'+name+'" is readonly and can not be replaced with "'+text+'"!')},get cssText(){var name=this._getConstructorName();throw new Error('getter "cssText" of "'+name+'" is not implemented!')},_getConstructorName:function(){return this.constructor.toString().match(/function\s([^\(]+)/)[1]}},exports.CSSValue=CSSOM.CSSValue},7533:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={CSSValue:__webpack_require__(68301).CSSValue,CSSValueExpression:function CSSValueExpression(token,idx){this._token=token,this._idx=idx}};CSSOM.CSSValueExpression.prototype=new CSSOM.CSSValue,CSSOM.CSSValueExpression.prototype.constructor=CSSOM.CSSValueExpression,CSSOM.CSSValueExpression.prototype.parse=function(){for(var info,token=this._token,idx=this._idx,character="",expression="",error="",paren=[];;++idx){if(""===(character=token.charAt(idx))){error="css expression error: unfinished expression!";break}switch(character){case"(":paren.push(character),expression+=character;break;case")":paren.pop(character),expression+=character;break;case"/":(info=this._parseJSComment(token,idx))?info.error?error="css expression error: unfinished comment in expression!":idx=info.idx:(info=this._parseJSRexExp(token,idx))?(idx=info.idx,expression+=info.text):expression+=character;break;case"'":case'"':(info=this._parseJSString(token,idx,character))?(idx=info.idx,expression+=info.text):expression+=character;break;default:expression+=character}if(error)break;if(0===paren.length)break}return error?{error:error}:{idx:idx,expression:expression}},CSSOM.CSSValueExpression.prototype._parseJSComment=function(token,idx){var nextChar=token.charAt(idx+1);if("/"===nextChar||"*"===nextChar){var endIdx,commentEndChar,startIdx=idx;if("/"===nextChar?commentEndChar="\n":"*"===nextChar&&(commentEndChar="*/"),-1!==(endIdx=token.indexOf(commentEndChar,startIdx+1+1)))return{idx:endIdx=endIdx+commentEndChar.length-1,text:token.substring(idx,endIdx+1)};return{error:"css expression error: unfinished comment in expression!"}}return!1},CSSOM.CSSValueExpression.prototype._parseJSString=function(token,idx,sep){var endIdx=this._findMatchedIdx(token,idx,sep);return-1!==endIdx&&{idx:endIdx,text:token.substring(idx,endIdx+sep.length)}},CSSOM.CSSValueExpression.prototype._parseJSRexExp=function(token,idx){var before=token.substring(0,idx).replace(/\s+$/,"");if([/^$/,/\($/,/\[$/,/\!$/,/\+$/,/\-$/,/\*$/,/\/\s+/,/\%$/,/\=$/,/\>$/,/<$/,/\&$/,/\|$/,/\^$/,/\~$/,/\?$/,/\,$/,/delete$/,/in$/,/instanceof$/,/new$/,/typeof$/,/void$/].some((function(reg){return reg.test(before)}))){return this._parseJSString(token,idx,"/")}return!1},CSSOM.CSSValueExpression.prototype._findMatchedIdx=function(token,idx,sep){for(var endIdx,startIdx=idx;;){if(-1===(endIdx=token.indexOf(sep,startIdx+1))){endIdx=-1;break}var matched=token.substring(idx+1,endIdx).match(/\\+$/);if(!matched||matched[0]%2==0)break;startIdx=endIdx}return token.indexOf("\n",idx+1)<endIdx&&(endIdx=-1),endIdx},exports.CSSValueExpression=CSSOM.CSSValueExpression},59376:function(__unused_webpack_module,exports){var CSSOM={MatcherList:function MatcherList(){this.length=0}};CSSOM.MatcherList.prototype={constructor:CSSOM.MatcherList,get matcherText(){return Array.prototype.join.call(this,", ")},set matcherText(value){for(var values=value.split(","),length=this.length=values.length,i=0;i<length;i++)this[i]=values[i].trim()},appendMatcher:function(matcher){-1===Array.prototype.indexOf.call(this,matcher)&&(this[this.length]=matcher,this.length++)},deleteMatcher:function(matcher){var index=Array.prototype.indexOf.call(this,matcher);-1!==index&&Array.prototype.splice.call(this,index,1)}},exports.MatcherList=CSSOM.MatcherList},22815:function(__unused_webpack_module,exports){var CSSOM={MediaList:function MediaList(){this.length=0}};CSSOM.MediaList.prototype={constructor:CSSOM.MediaList,get mediaText(){return Array.prototype.join.call(this,", ")},set mediaText(value){for(var values=value.split(","),length=this.length=values.length,i=0;i<length;i++)this[i]=values[i].trim()},appendMedium:function(medium){-1===Array.prototype.indexOf.call(this,medium)&&(this[this.length]=medium,this.length++)},deleteMedium:function(medium){var index=Array.prototype.indexOf.call(this,medium);-1!==index&&Array.prototype.splice.call(this,index,1)}},exports.MediaList=CSSOM.MediaList},27485:function(__unused_webpack_module,exports){var CSSOM={StyleSheet:function StyleSheet(){this.parentStyleSheet=null}};exports.StyleSheet=CSSOM.StyleSheet},42447:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={CSSStyleSheet:__webpack_require__(88647).CSSStyleSheet,CSSRule:__webpack_require__(77965).CSSRule,CSSStyleRule:__webpack_require__(85401).CSSStyleRule,CSSGroupingRule:__webpack_require__(18068).CSSGroupingRule,CSSConditionRule:__webpack_require__(62667).CSSConditionRule,CSSMediaRule:__webpack_require__(6049).CSSMediaRule,CSSSupportsRule:__webpack_require__(20002).CSSSupportsRule,CSSStyleDeclaration:__webpack_require__(41066).CSSStyleDeclaration,CSSKeyframeRule:__webpack_require__(61092).CSSKeyframeRule,CSSKeyframesRule:__webpack_require__(95782).CSSKeyframesRule,clone:function clone(stylesheet){var cloned=new CSSOM.CSSStyleSheet,rules=stylesheet.cssRules;if(!rules)return cloned;for(var i=0,rulesLength=rules.length;i<rulesLength;i++){var rule=rules[i],ruleClone=cloned.cssRules[i]=new rule.constructor,style=rule.style;if(style){for(var styleClone=ruleClone.style=new CSSOM.CSSStyleDeclaration,j=0,styleLength=style.length;j<styleLength;j++){var name=styleClone[j]=style[j];styleClone[name]=style[name],styleClone._importants[name]=style.getPropertyPriority(name)}styleClone.length=style.length}rule.hasOwnProperty("keyText")&&(ruleClone.keyText=rule.keyText),rule.hasOwnProperty("selectorText")&&(ruleClone.selectorText=rule.selectorText),rule.hasOwnProperty("mediaText")&&(ruleClone.mediaText=rule.mediaText),rule.hasOwnProperty("conditionText")&&(ruleClone.conditionText=rule.conditionText),rule.hasOwnProperty("cssRules")&&(ruleClone.cssRules=clone(rule).cssRules)}return cloned}};exports.clone=CSSOM.clone},62725:function(__unused_webpack_module,exports,__webpack_require__){exports.CSSStyleDeclaration=__webpack_require__(41066).CSSStyleDeclaration,exports.CSSRule=__webpack_require__(77965).CSSRule,exports.CSSGroupingRule=__webpack_require__(18068).CSSGroupingRule,exports.CSSConditionRule=__webpack_require__(62667).CSSConditionRule,exports.CSSStyleRule=__webpack_require__(85401).CSSStyleRule,exports.MediaList=__webpack_require__(22815).MediaList,exports.CSSMediaRule=__webpack_require__(6049).CSSMediaRule,exports.CSSSupportsRule=__webpack_require__(20002).CSSSupportsRule,exports.CSSImportRule=__webpack_require__(69128).CSSImportRule,exports.CSSFontFaceRule=__webpack_require__(98225).CSSFontFaceRule,exports.CSSHostRule=__webpack_require__(61033).CSSHostRule,exports.StyleSheet=__webpack_require__(27485).StyleSheet,exports.CSSStyleSheet=__webpack_require__(88647).CSSStyleSheet,exports.CSSKeyframesRule=__webpack_require__(95782).CSSKeyframesRule,exports.CSSKeyframeRule=__webpack_require__(61092).CSSKeyframeRule,exports.MatcherList=__webpack_require__(59376).MatcherList,exports.CSSDocumentRule=__webpack_require__(37018).CSSDocumentRule,exports.CSSValue=__webpack_require__(68301).CSSValue,exports.CSSValueExpression=__webpack_require__(7533).CSSValueExpression,exports.parse=__webpack_require__(36780).parse,exports.clone=__webpack_require__(42447).clone},36780:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM={parse:function parse(token){for(var index,parentRule,prevScope,name,styleRule,mediaRule,supportsRule,importRule,fontFaceRule,keyframesRule,documentRule,hostRule,character,i=0,state="before-selector",buffer="",valueParenthesisDepth=0,SIGNIFICANT_WHITESPACE={selector:!0,value:!0,"value-parenthesis":!0,atRule:!0,"importRule-begin":!0,importRule:!0,atBlock:!0,conditionBlock:!0,"documentRule-begin":!0},styleSheet=new CSSOM.CSSStyleSheet,currentScope=styleSheet,ancestorRules=[],hasAncestors=!1,priority="",atKeyframesRegExp=/@(-(?:\w+-)+)?keyframes/g,parseError=function(message){var lines=token.substring(0,i).split("\n"),lineCount=lines.length,charCount=lines.pop().length+1,error=new Error(message+" (line "+lineCount+", char "+charCount+")");throw error.line=lineCount,error.char=charCount,error.styleSheet=styleSheet,error};character=token.charAt(i);i++)switch(character){case" ":case"\t":case"\r":case"\n":case"\f":SIGNIFICANT_WHITESPACE[state]&&(buffer+=character);break;case'"':index=i+1;do{(index=token.indexOf('"',index)+1)||parseError('Unmatched "')}while("\\"===token[index-2]);switch(buffer+=token.slice(i,index),i=index-1,state){case"before-value":state="value";break;case"importRule-begin":state="importRule"}break;case"'":index=i+1;do{(index=token.indexOf("'",index)+1)||parseError("Unmatched '")}while("\\"===token[index-2]);switch(buffer+=token.slice(i,index),i=index-1,state){case"before-value":state="value";break;case"importRule-begin":state="importRule"}break;case"/":"*"===token.charAt(i+1)?(i+=2,-1===(index=token.indexOf("*/",i))?parseError("Missing */"):i=index+1):buffer+=character,"importRule-begin"===state&&(buffer+=" ",state="importRule");break;case"@":if(token.indexOf("@-moz-document",i)===i){state="documentRule-begin",(documentRule=new CSSOM.CSSDocumentRule).__starts=i,i+="-moz-document".length,buffer="";break}if(token.indexOf("@media",i)===i){state="atBlock",(mediaRule=new CSSOM.CSSMediaRule).__starts=i,i+="media".length,buffer="";break}if(token.indexOf("@supports",i)===i){state="conditionBlock",(supportsRule=new CSSOM.CSSSupportsRule).__starts=i,i+="supports".length,buffer="";break}if(token.indexOf("@host",i)===i){state="hostRule-begin",i+="host".length,(hostRule=new CSSOM.CSSHostRule).__starts=i,buffer="";break}if(token.indexOf("@import",i)===i){state="importRule-begin",i+="import".length,buffer+="@import";break}if(token.indexOf("@font-face",i)===i){state="fontFaceRule-begin",i+="font-face".length,(fontFaceRule=new CSSOM.CSSFontFaceRule).__starts=i,buffer="";break}atKeyframesRegExp.lastIndex=i;var matchKeyframes=atKeyframesRegExp.exec(token);if(matchKeyframes&&matchKeyframes.index===i){state="keyframesRule-begin",(keyframesRule=new CSSOM.CSSKeyframesRule).__starts=i,keyframesRule._vendorPrefix=matchKeyframes[1],i+=matchKeyframes[0].length-1,buffer="";break}"selector"===state&&(state="atRule"),buffer+=character;break;case"{":"selector"===state||"atRule"===state?(styleRule.selectorText=buffer.trim(),styleRule.style.__starts=i,buffer="",state="before-name"):"atBlock"===state?(mediaRule.media.mediaText=buffer.trim(),parentRule&&ancestorRules.push(parentRule),currentScope=parentRule=mediaRule,mediaRule.parentStyleSheet=styleSheet,buffer="",state="before-selector"):"conditionBlock"===state?(supportsRule.conditionText=buffer.trim(),parentRule&&ancestorRules.push(parentRule),currentScope=parentRule=supportsRule,supportsRule.parentStyleSheet=styleSheet,buffer="",state="before-selector"):"hostRule-begin"===state?(parentRule&&ancestorRules.push(parentRule),currentScope=parentRule=hostRule,hostRule.parentStyleSheet=styleSheet,buffer="",state="before-selector"):"fontFaceRule-begin"===state?(parentRule&&(fontFaceRule.parentRule=parentRule),fontFaceRule.parentStyleSheet=styleSheet,styleRule=fontFaceRule,buffer="",state="before-name"):"keyframesRule-begin"===state?(keyframesRule.name=buffer.trim(),parentRule&&(ancestorRules.push(parentRule),keyframesRule.parentRule=parentRule),keyframesRule.parentStyleSheet=styleSheet,currentScope=parentRule=keyframesRule,buffer="",state="keyframeRule-begin"):"keyframeRule-begin"===state?((styleRule=new CSSOM.CSSKeyframeRule).keyText=buffer.trim(),styleRule.__starts=i,buffer="",state="before-name"):"documentRule-begin"===state&&(documentRule.matcher.matcherText=buffer.trim(),parentRule&&(ancestorRules.push(parentRule),documentRule.parentRule=parentRule),currentScope=parentRule=documentRule,documentRule.parentStyleSheet=styleSheet,buffer="",state="before-selector");break;case":":"name"===state?(name=buffer.trim(),buffer="",state="before-value"):buffer+=character;break;case"(":if("value"===state)if("expression"===buffer.trim()){var info=new CSSOM.CSSValueExpression(token,i).parse();info.error?parseError(info.error):(buffer+=info.expression,i=info.idx)}else state="value-parenthesis",valueParenthesisDepth=1,buffer+=character;else"value-parenthesis"===state?(valueParenthesisDepth++,buffer+=character):buffer+=character;break;case")":"value-parenthesis"===state&&0===--valueParenthesisDepth&&(state="value"),buffer+=character;break;case"!":"value"===state&&token.indexOf("!important",i)===i?(priority="important",i+="important".length):buffer+=character;break;case";":switch(state){case"value":styleRule.style.setProperty(name,buffer.trim(),priority),priority="",buffer="",state="before-name";break;case"atRule":buffer="",state="before-selector";break;case"importRule":(importRule=new CSSOM.CSSImportRule).parentStyleSheet=importRule.styleSheet.parentStyleSheet=styleSheet,importRule.cssText=buffer+character,styleSheet.cssRules.push(importRule),buffer="",state="before-selector";break;default:buffer+=character}break;case"}":switch(state){case"value":styleRule.style.setProperty(name,buffer.trim(),priority),priority="";case"before-name":case"name":styleRule.__ends=i+1,parentRule&&(styleRule.parentRule=parentRule),styleRule.parentStyleSheet=styleSheet,currentScope.cssRules.push(styleRule),buffer="",state=currentScope.constructor===CSSOM.CSSKeyframesRule?"keyframeRule-begin":"before-selector";break;case"keyframeRule-begin":case"before-selector":case"selector":for(parentRule||parseError("Unexpected }"),hasAncestors=ancestorRules.length>0;ancestorRules.length>0;){if("CSSMediaRule"===(parentRule=ancestorRules.pop()).constructor.name||"CSSSupportsRule"===parentRule.constructor.name){prevScope=currentScope,(currentScope=parentRule).cssRules.push(prevScope);break}0===ancestorRules.length&&(hasAncestors=!1)}hasAncestors||(currentScope.__ends=i+1,styleSheet.cssRules.push(currentScope),currentScope=styleSheet,parentRule=null),buffer="",state="before-selector"}break;default:switch(state){case"before-selector":state="selector",(styleRule=new CSSOM.CSSStyleRule).__starts=i;break;case"before-name":state="name";break;case"before-value":state="value";break;case"importRule-begin":state="importRule"}buffer+=character}return styleSheet}};exports.parse=CSSOM.parse,CSSOM.CSSStyleSheet=__webpack_require__(88647).CSSStyleSheet,CSSOM.CSSStyleRule=__webpack_require__(85401).CSSStyleRule,CSSOM.CSSImportRule=__webpack_require__(69128).CSSImportRule,CSSOM.CSSGroupingRule=__webpack_require__(18068).CSSGroupingRule,CSSOM.CSSMediaRule=__webpack_require__(6049).CSSMediaRule,CSSOM.CSSConditionRule=__webpack_require__(62667).CSSConditionRule,CSSOM.CSSSupportsRule=__webpack_require__(20002).CSSSupportsRule,CSSOM.CSSFontFaceRule=__webpack_require__(98225).CSSFontFaceRule,CSSOM.CSSHostRule=__webpack_require__(61033).CSSHostRule,CSSOM.CSSStyleDeclaration=__webpack_require__(41066).CSSStyleDeclaration,CSSOM.CSSKeyframeRule=__webpack_require__(61092).CSSKeyframeRule,CSSOM.CSSKeyframesRule=__webpack_require__(95782).CSSKeyframesRule,CSSOM.CSSValueExpression=__webpack_require__(7533).CSSValueExpression,CSSOM.CSSDocumentRule=__webpack_require__(37018).CSSDocumentRule},75063:function(__unused_webpack_module,exports,__webpack_require__){var CSSOM=__webpack_require__(62725),allProperties=__webpack_require__(77400),allExtraProperties=__webpack_require__(86682),implementedProperties=__webpack_require__(61894),{dashedToCamelCase:dashedToCamelCase}=__webpack_require__(66153),getBasicPropertyDescriptor=__webpack_require__(88301),CSSStyleDeclaration=function CSSStyleDeclaration(onChangeCallback){this._values={},this._importants={},this._length=0,this._onChange=onChangeCallback||function(){}};CSSStyleDeclaration.prototype={constructor:CSSStyleDeclaration,getPropertyValue:function(name){return this._values.hasOwnProperty(name)?this._values[name].toString():""},setProperty:function(name,value,priority){if(void 0!==value)if(null!==value&&""!==value)if(0===name.indexOf("--"))this._setProperty(name,value,priority);else{var lowercaseName=name.toLowerCase();(allProperties.has(lowercaseName)||allExtraProperties.has(lowercaseName))&&(this[lowercaseName]=value,this._importants[lowercaseName]=priority)}else this.removeProperty(name)},_setProperty:function(name,value,priority){if(void 0!==value)if(null!==value&&""!==value){if(this._values[name])Array.prototype.indexOf.call(this,name)<0&&(this[this._length]=name,this._length++);else this[this._length]=name,this._length++;this._values[name]=value,this._importants[name]=priority,this._onChange(this.cssText)}else this.removeProperty(name)},removeProperty:function(name){if(!this._values.hasOwnProperty(name))return"";var prevValue=this._values[name];delete this._values[name],delete this._importants[name];var index=Array.prototype.indexOf.call(this,name);return index<0||(Array.prototype.splice.call(this,index,1),this._onChange(this.cssText)),prevValue},getPropertyPriority:function(name){return this._importants[name]||""},getPropertyCSSValue:function(){},getPropertyShorthand:function(){},isPropertyImplicit:function(){},item:function(index){return(index=parseInt(index,10))<0||index>=this._length?"":this[index]}},Object.defineProperties(CSSStyleDeclaration.prototype,{cssText:{get:function(){var i,name,value,priority,properties=[];for(i=0;i<this._length;i++)name=this[i],value=this.getPropertyValue(name),""!==(priority=this.getPropertyPriority(name))&&(priority=" !"+priority),properties.push([name,": ",value,priority,";"].join(""));return properties.join(" ")},set:function(value){var i,dummyRule;this._values={},Array.prototype.splice.call(this,0,this._length),this._importants={};try{dummyRule=CSSOM.parse("#bogus{"+value+"}").cssRules[0].style}catch(err){return}var name,rule_length=dummyRule.length;for(i=0;i<rule_length;++i)name=dummyRule[i],this.setProperty(dummyRule[i],dummyRule.getPropertyValue(name),dummyRule.getPropertyPriority(name));this._onChange(this.cssText)},enumerable:!0,configurable:!0},parentRule:{get:function(){return null},enumerable:!0,configurable:!0},length:{get:function(){return this._length},set:function(value){var i;for(i=value;i<this._length;i++)delete this[i];this._length=value},enumerable:!0,configurable:!0}}),__webpack_require__(84697)(CSSStyleDeclaration.prototype),allProperties.forEach((function(property){if(!implementedProperties.has(property)){var declaration=getBasicPropertyDescriptor(property);Object.defineProperty(CSSStyleDeclaration.prototype,property,declaration),Object.defineProperty(CSSStyleDeclaration.prototype,dashedToCamelCase(property),declaration)}})),allExtraProperties.forEach((function(property){if(!implementedProperties.has(property)){var declaration=getBasicPropertyDescriptor(property);Object.defineProperty(CSSStyleDeclaration.prototype,property,declaration),Object.defineProperty(CSSStyleDeclaration.prototype,dashedToCamelCase(property),declaration)}})),exports.CSSStyleDeclaration=CSSStyleDeclaration},86682:function(module,__unused_webpack_exports,__webpack_require__){var allWebkitProperties=__webpack_require__(63948);module.exports=new Set(["background-position-x","background-position-y","background-repeat-x","background-repeat-y","color-interpolation","color-profile","color-rendering","css-float","enable-background","fill","fill-opacity","fill-rule","glyph-orientation-horizontal","image-rendering","kerning","marker","marker-end","marker-mid","marker-offset","marker-start","marks","pointer-events","shape-rendering","size","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-line-through","text-line-through-color","text-line-through-mode","text-line-through-style","text-line-through-width","text-overline","text-overline-color","text-overline-mode","text-overline-style","text-overline-width","text-rendering","text-underline","text-underline-color","text-underline-mode","text-underline-style","text-underline-width","unicode-range","vector-effect"].concat(allWebkitProperties))},77400:function(module){module.exports=new Set(["align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-overflow","block-size","bookmark-label","bookmark-level","bookmark-state","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-boundary","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","box-snap","break-after","break-before","break-inside","caption-side","caret","caret-color","caret-shape","chains","clear","clip","clip-path","clip-rule","color","color-adjust","color-interpolation-filters","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","continue","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","elevation","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","footnote-display","footnote-policy","forced-color-adjust","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphenate-limit-last","hyphenate-limit-lines","hyphenate-limit-zone","hyphens","image-orientation","image-rendering","image-resolution","initial-letters","initial-letters-align","initial-letters-wrap","inline-size","inline-sizing","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-clamp","line-grid","line-height","line-padding","line-snap","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marker-side","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-after","offset-anchor","offset-before","offset-distance","offset-end","offset-path","offset-position","offset-rotate","offset-start","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-block","overflow-inline","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","pitch","pitch-range","place-content","place-items","place-self","play-during","position","quotes","region-fragment","resize","rest","rest-after","rest-before","richness","right","row-gap","ruby-align","ruby-merge","ruby-position","running","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","spatial-navigation-action","spatial-navigation-contain","spatial-navigation-function","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-group-align","text-indent","text-justify","text-orientation","text-overflow","text-shadow","text-space-collapse","text-space-trim","text-spacing","text-transform","text-underline-position","text-wrap","top","transform","transform-box","transform-origin","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-boundary-detection","word-boundary-expansion","word-break","word-spacing","word-wrap","wrap-after","wrap-before","wrap-flow","wrap-inside","wrap-through","writing-mode","z-index"])},63948:function(module){module.exports=["animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","aspect-ratio","backface-visibility","background-clip","background-composite","background-origin","background-size","border-after","border-after-color","border-after-style","border-after-width","border-before","border-before-color","border-before-style","border-before-width","border-end","border-end-color","border-end-style","border-end-width","border-fit","border-horizontal-spacing","border-image","border-radius","border-start","border-start-color","border-start-style","border-start-width","border-vertical-spacing","box-align","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-reflect","box-shadow","color-correction","column-axis","column-break-after","column-break-before","column-break-inside","column-count","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","columns","column-span","column-width","filter","flex-align","flex-direction","flex-flow","flex-item-align","flex-line-pack","flex-order","flex-pack","flex-wrap","flow-from","flow-into","font-feature-settings","font-kerning","font-size-delta","font-smoothing","font-variant-ligatures","highlight","hyphenate-character","hyphenate-limit-after","hyphenate-limit-before","hyphenate-limit-lines","hyphens","line-align","line-box-contain","line-break","line-clamp","line-grid","line-snap","locale","logical-height","logical-width","margin-after","margin-after-collapse","margin-before","margin-before-collapse","margin-bottom-collapse","margin-collapse","margin-end","margin-start","margin-top-collapse","marquee","marquee-direction","marquee-increment","marquee-repetition","marquee-speed","marquee-style","mask","mask-attachment","mask-box-image","mask-box-image-outset","mask-box-image-repeat","mask-box-image-slice","mask-box-image-source","mask-box-image-width","mask-clip","mask-composite","mask-image","mask-origin","mask-position","mask-position-x","mask-position-y","mask-repeat","mask-repeat-x","mask-repeat-y","mask-size","match-nearest-mail-blockquote-color","max-logical-height","max-logical-width","min-logical-height","min-logical-width","nbsp-mode","overflow-scrolling","padding-after","padding-before","padding-end","padding-start","perspective","perspective-origin","perspective-origin-x","perspective-origin-y","print-color-adjust","region-break-after","region-break-before","region-break-inside","region-overflow","rtl-ordering","svg-shadow","tap-highlight-color","text-combine","text-decorations-in-effect","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-fill-color","text-orientation","text-security","text-size-adjust","text-stroke","text-stroke-color","text-stroke-width","transform","transform-origin","transform-origin-x","transform-origin-y","transform-origin-z","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","user-drag","user-modify","user-select","wrap","wrap-flow","wrap-margin","wrap-padding","wrap-shape-inside","wrap-shape-outside","wrap-through","writing-mode","zoom"].map((prop=>"webkit-"+prop))},14279:function(module){module.exports.POSITION_AT_SHORTHAND={first:0,second:1}},61894:function(module){var implementedProperties=new Set;implementedProperties.add("azimuth"),implementedProperties.add("background"),implementedProperties.add("background-attachment"),implementedProperties.add("background-color"),implementedProperties.add("background-image"),implementedProperties.add("background-position"),implementedProperties.add("background-repeat"),implementedProperties.add("border"),implementedProperties.add("border-bottom"),implementedProperties.add("border-bottom-color"),implementedProperties.add("border-bottom-style"),implementedProperties.add("border-bottom-width"),implementedProperties.add("border-collapse"),implementedProperties.add("border-color"),implementedProperties.add("border-left"),implementedProperties.add("border-left-color"),implementedProperties.add("border-left-style"),implementedProperties.add("border-left-width"),implementedProperties.add("border-right"),implementedProperties.add("border-right-color"),implementedProperties.add("border-right-style"),implementedProperties.add("border-right-width"),implementedProperties.add("border-spacing"),implementedProperties.add("border-style"),implementedProperties.add("border-top"),implementedProperties.add("border-top-color"),implementedProperties.add("border-top-style"),implementedProperties.add("border-top-width"),implementedProperties.add("border-width"),implementedProperties.add("bottom"),implementedProperties.add("clear"),implementedProperties.add("clip"),implementedProperties.add("color"),implementedProperties.add("css-float"),implementedProperties.add("flex"),implementedProperties.add("flex-basis"),implementedProperties.add("flex-grow"),implementedProperties.add("flex-shrink"),implementedProperties.add("float"),implementedProperties.add("flood-color"),implementedProperties.add("font"),implementedProperties.add("font-family"),implementedProperties.add("font-size"),implementedProperties.add("font-style"),implementedProperties.add("font-variant"),implementedProperties.add("font-weight"),implementedProperties.add("height"),implementedProperties.add("left"),implementedProperties.add("lighting-color"),implementedProperties.add("line-height"),implementedProperties.add("margin"),implementedProperties.add("margin-bottom"),implementedProperties.add("margin-left"),implementedProperties.add("margin-right"),implementedProperties.add("margin-top"),implementedProperties.add("opacity"),implementedProperties.add("outline-color"),implementedProperties.add("padding"),implementedProperties.add("padding-bottom"),implementedProperties.add("padding-left"),implementedProperties.add("padding-right"),implementedProperties.add("padding-top"),implementedProperties.add("right"),implementedProperties.add("stop-color"),implementedProperties.add("text-line-through-color"),implementedProperties.add("text-overline-color"),implementedProperties.add("text-underline-color"),implementedProperties.add("top"),implementedProperties.add("webkit-border-after-color"),implementedProperties.add("webkit-border-before-color"),implementedProperties.add("webkit-border-end-color"),implementedProperties.add("webkit-border-start-color"),implementedProperties.add("webkit-column-rule-color"),implementedProperties.add("webkit-match-nearest-mail-blockquote-color"),implementedProperties.add("webkit-tap-highlight-color"),implementedProperties.add("webkit-text-emphasis-color"),implementedProperties.add("webkit-text-fill-color"),implementedProperties.add("webkit-text-stroke-color"),implementedProperties.add("width"),module.exports=implementedProperties},66153:function(__unused_webpack_module,exports,__webpack_require__){const namedColors=__webpack_require__(3800),{hslToRgb:hslToRgb}=__webpack_require__(94260);exports.TYPES={INTEGER:1,NUMBER:2,LENGTH:3,PERCENT:4,URL:5,COLOR:6,STRING:7,ANGLE:8,KEYWORD:9,NULL_OR_EMPTY_STR:10,CALC:11};var integerRegEx=/^[-+]?[0-9]+$/,numberRegEx=/^[-+]?[0-9]*\.?[0-9]+$/,lengthRegEx=/^(0|[-+]?[0-9]*\.?[0-9]+(in|cm|em|mm|pt|pc|px|ex|rem|vh|vw|ch))$/,percentRegEx=/^[-+]?[0-9]*\.?[0-9]+%$/,urlRegEx=/^url\(\s*([^)]*)\s*\)$/,stringRegEx=/^("[^"]*"|'[^']*')$/,colorRegEx1=/^#([0-9a-fA-F]{3,4}){1,2}$/,colorRegEx2=/^rgb\(([^)]*)\)$/,colorRegEx3=/^rgba\(([^)]*)\)$/,calcRegEx=/^calc\(([^)]*)\)$/,colorRegEx4=/^hsla?\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*(,\s*(-?\d+|-?\d*.\d+)\s*)?\)/,angleRegEx=/^([-+]?[0-9]*\.?[0-9]+)(deg|grad|rad)$/;exports.valueType=function valueType(val){if(""===val||null===val)return exports.TYPES.NULL_OR_EMPTY_STR;if("number"==typeof val&&(val=val.toString()),"string"==typeof val){if(integerRegEx.test(val))return exports.TYPES.INTEGER;if(numberRegEx.test(val))return exports.TYPES.NUMBER;if(lengthRegEx.test(val))return exports.TYPES.LENGTH;if(percentRegEx.test(val))return exports.TYPES.PERCENT;if(urlRegEx.test(val))return exports.TYPES.URL;if(calcRegEx.test(val))return exports.TYPES.CALC;if(stringRegEx.test(val))return exports.TYPES.STRING;if(angleRegEx.test(val))return exports.TYPES.ANGLE;if(colorRegEx1.test(val))return exports.TYPES.COLOR;var parts,res=colorRegEx2.exec(val);if(null!==res){if(3!==(parts=res[1].split(/\s*,\s*/)).length)return;return parts.every(percentRegEx.test.bind(percentRegEx))||parts.every(integerRegEx.test.bind(integerRegEx))?exports.TYPES.COLOR:void 0}if(null!==(res=colorRegEx3.exec(val))){if(4!==(parts=res[1].split(/\s*,\s*/)).length)return;return(parts.slice(0,3).every(percentRegEx.test.bind(percentRegEx))||parts.slice(0,3).every(integerRegEx.test.bind(integerRegEx)))&&numberRegEx.test(parts[3])?exports.TYPES.COLOR:void 0}if(colorRegEx4.test(val))return exports.TYPES.COLOR;if(val=val.toLowerCase(),namedColors.includes(val))return exports.TYPES.COLOR;switch(val){case"activeborder":case"activecaption":case"appworkspace":case"background":case"buttonface":case"buttonhighlight":case"buttonshadow":case"buttontext":case"captiontext":case"graytext":case"highlight":case"highlighttext":case"inactiveborder":case"inactivecaption":case"inactivecaptiontext":case"infobackground":case"infotext":case"menu":case"menutext":case"scrollbar":case"threeddarkshadow":case"threedface":case"threedhighlight":case"threedlightshadow":case"threedshadow":case"window":case"windowframe":case"windowtext":return exports.TYPES.COLOR;default:return exports.TYPES.KEYWORD}}},exports.parseInteger=function parseInteger(val){var type=exports.valueType(val);return type===exports.TYPES.NULL_OR_EMPTY_STR?val:type===exports.TYPES.INTEGER?String(parseInt(val,10)):void 0},exports.parseNumber=function parseNumber(val){var type=exports.valueType(val);return type===exports.TYPES.NULL_OR_EMPTY_STR?val:type===exports.TYPES.NUMBER||type===exports.TYPES.INTEGER?String(parseFloat(val)):void 0},exports.parseLength=function parseLength(val){if(0===val||"0"===val)return"0px";var type=exports.valueType(val);return type===exports.TYPES.NULL_OR_EMPTY_STR||type===exports.TYPES.LENGTH?val:void 0},exports.parsePercent=function parsePercent(val){if(0===val||"0"===val)return"0%";var type=exports.valueType(val);return type===exports.TYPES.NULL_OR_EMPTY_STR||type===exports.TYPES.PERCENT?val:void 0},exports.parseMeasurement=function parseMeasurement(val){if(exports.valueType(val)===exports.TYPES.CALC)return val;var length=exports.parseLength(val);return void 0!==length?length:exports.parsePercent(val)},exports.parseUrl=function parseUrl(val){if(exports.valueType(val)===exports.TYPES.NULL_OR_EMPTY_STR)return val;var res=urlRegEx.exec(val);if(res){var str=res[1];if('"'!==str[0]&&"'"!==str[0]||str[0]===str[str.length-1]){var i;for('"'!==str[0]&&"'"!==str[0]||(str=str.substr(1,str.length-2)),i=0;i<str.length;i++)switch(str[i]){case"(":case")":case" ":case"\t":case"\n":case"'":case'"':return;case"\\":i++}return"url("+str+")"}}},exports.parseString=function parseString(val){var type=exports.valueType(val);if(type===exports.TYPES.NULL_OR_EMPTY_STR)return val;if(type===exports.TYPES.STRING){var i;for(i=1;i<val.length-1;i++)switch(val[i]){case val[0]:return;case"\\":for(i++;i<val.length-1&&/[0-9A-Fa-f]/.test(val[i]);)i++}if(!(i>=val.length))return val}},exports.parseColor=function parseColor(val){var type=exports.valueType(val);if(type===exports.TYPES.NULL_OR_EMPTY_STR)return val;var red,green,blue,hue,saturation,lightness,parts,alpha=1,res=colorRegEx1.exec(val);if(res){var defaultHex=val.substr(1),hex=val.substr(1);if(3!==hex.length&&4!==hex.length||(hex=hex[0]+hex[0]+hex[1]+hex[1]+hex[2]+hex[2],4===defaultHex.length&&(hex=hex+defaultHex[3]+defaultHex[3])),red=parseInt(hex.substr(0,2),16),green=parseInt(hex.substr(2,2),16),blue=parseInt(hex.substr(4,2),16),8===hex.length){var hexAlpha=hex.substr(6,2);return"rgba("+red+", "+green+", "+blue+", "+Number((parseInt(hexAlpha,16)/255).toFixed(3))+")"}return"rgb("+red+", "+green+", "+blue+")"}if(res=colorRegEx2.exec(val)){if(3!==(parts=res[1].split(/\s*,\s*/)).length)return;if(parts.every(percentRegEx.test.bind(percentRegEx)))red=Math.floor(255*parseFloat(parts[0].slice(0,-1))/100),green=Math.floor(255*parseFloat(parts[1].slice(0,-1))/100),blue=Math.floor(255*parseFloat(parts[2].slice(0,-1))/100);else{if(!parts.every(integerRegEx.test.bind(integerRegEx)))return;red=parseInt(parts[0],10),green=parseInt(parts[1],10),blue=parseInt(parts[2],10)}return"rgb("+(red=Math.min(255,Math.max(0,red)))+", "+(green=Math.min(255,Math.max(0,green)))+", "+(blue=Math.min(255,Math.max(0,blue)))+")"}if(res=colorRegEx3.exec(val)){if(4!==(parts=res[1].split(/\s*,\s*/)).length)return;if(parts.slice(0,3).every(percentRegEx.test.bind(percentRegEx)))red=Math.floor(255*parseFloat(parts[0].slice(0,-1))/100),green=Math.floor(255*parseFloat(parts[1].slice(0,-1))/100),blue=Math.floor(255*parseFloat(parts[2].slice(0,-1))/100),alpha=parseFloat(parts[3]);else{if(!parts.slice(0,3).every(integerRegEx.test.bind(integerRegEx)))return;red=parseInt(parts[0],10),green=parseInt(parts[1],10),blue=parseInt(parts[2],10),alpha=parseFloat(parts[3])}return isNaN(alpha)&&(alpha=1),red=Math.min(255,Math.max(0,red)),green=Math.min(255,Math.max(0,green)),blue=Math.min(255,Math.max(0,blue)),1===(alpha=Math.min(1,Math.max(0,alpha)))?"rgb("+red+", "+green+", "+blue+")":"rgba("+red+", "+green+", "+blue+", "+alpha+")"}if(res=colorRegEx4.exec(val)){const[,_hue,_saturation,_lightness,_alphaString=""]=res,_alpha=parseFloat(_alphaString.replace(",","").trim());if(!_hue||!_saturation||!_lightness)return;hue=parseFloat(_hue),saturation=parseInt(_saturation,10),lightness=parseInt(_lightness,10),_alpha&&numberRegEx.test(_alpha)&&(alpha=parseFloat(_alpha));const[r,g,b]=hslToRgb(hue,saturation/100,lightness/100);return _alphaString&&1!==alpha?"rgba("+r+", "+g+", "+b+", "+alpha+")":"rgb("+r+", "+g+", "+b+")"}return type===exports.TYPES.COLOR?val:void 0},exports.parseAngle=function parseAngle(val){var type=exports.valueType(val);if(type===exports.TYPES.NULL_OR_EMPTY_STR)return val;if(type===exports.TYPES.ANGLE){var res=angleRegEx.exec(val),flt=parseFloat(res[1]);for("rad"===res[2]?flt*=180/Math.PI:"grad"===res[2]&&(flt*=.9);flt<0;)flt+=360;for(;flt>360;)flt-=360;return flt+"deg"}},exports.parseKeyword=function parseKeyword(val,valid_keywords){var i,type=exports.valueType(val);if(type===exports.TYPES.NULL_OR_EMPTY_STR)return val;if(type===exports.TYPES.KEYWORD)for(val=val.toString().toLowerCase(),i=0;i<valid_keywords.length;i++)if(valid_keywords[i].toLowerCase()===val)return valid_keywords[i]};var dashedToCamelCase=function(dashed){var i,camel="",nextCap=!1;for(i=0;i<dashed.length;i++)"-"!==dashed[i]?(camel+=nextCap?dashed[i].toUpperCase():dashed[i],nextCap=!1):nextCap=!0;return camel};exports.dashedToCamelCase=dashedToCamelCase;var is_space=/\s/,opening_deliminators=['"',"'","("],closing_deliminators=['"',"'",")"],getParts=function(str){var i,opening_index,closing_index,deliminator_stack=[],length=str.length,parts=[],current_part="";for(i=0;i<length;i++)opening_index=opening_deliminators.indexOf(str[i]),closing_index=closing_deliminators.indexOf(str[i]),is_space.test(str[i])?0===deliminator_stack.length?(""!==current_part&&parts.push(current_part),current_part=""):current_part+=str[i]:"\\"===str[i]?current_part+=str[++i]:(current_part+=str[i],-1!==closing_index&&closing_index===deliminator_stack[deliminator_stack.length-1]?deliminator_stack.pop():-1!==opening_index&&deliminator_stack.push(opening_index));return""!==current_part&&parts.push(current_part),parts};exports.shorthandParser=function parse(v,shorthand_for){var obj={};if(exports.valueType(v)===exports.TYPES.NULL_OR_EMPTY_STR)return Object.keys(shorthand_for).forEach((function(property){obj[property]=""})),obj;if("number"==typeof v&&(v=v.toString()),"string"==typeof v){if("inherit"===v.toLowerCase())return{};var parts=getParts(v),valid=!0;if(parts.forEach((function(part,i){var part_valid=!1;Object.keys(shorthand_for).forEach((function(property){shorthand_for[property].isValid(part,i)&&(part_valid=!0,obj[property]=part)})),valid=valid&&part_valid})),valid)return obj}},exports.shorthandSetter=function(property,shorthand_for){return function(v){var obj=exports.shorthandParser(v,shorthand_for);if(void 0!==obj){Object.keys(obj).forEach((function(subprop){var camel=dashedToCamelCase(subprop);this[camel]=obj[subprop],obj[subprop]=this[camel],this.removeProperty(subprop),""!==obj[subprop]&&(this._values[subprop]=obj[subprop])}),this),Object.keys(shorthand_for).forEach((function(subprop){obj.hasOwnProperty(subprop)||(this.removeProperty(subprop),delete this._values[subprop])}),this),this.removeProperty(property);var calculated=exports.shorthandGetter(property,shorthand_for).call(this);""!==calculated&&this._setProperty(property,calculated)}}},exports.shorthandGetter=function(property,shorthand_for){return function(){return void 0!==this._values[property]?this.getPropertyValue(property):Object.keys(shorthand_for).map((function(subprop){return this.getPropertyValue(subprop)}),this).filter((function(value){return""!==value})).join(" ")}},exports.implicitSetter=function(property_before,property_after,isValid,parser){""!==(property_after=property_after||"")&&(property_after="-"+property_after);var part_names=["top","right","bottom","left"];return function(v){var parts;if(("number"==typeof v&&(v=v.toString()),"string"==typeof v)&&(!((parts="inherit"===v.toLowerCase()||""===v?[v]:getParts(v)).length<1||parts.length>4)&&parts.every(isValid))){parts=parts.map((function(part){return parser(part)})),this._setProperty(property_before+property_after,parts.join(" ")),1===parts.length&&(parts[1]=parts[0]),2===parts.length&&(parts[2]=parts[0]),3===parts.length&&(parts[3]=parts[1]);for(var i=0;i<4;i++){var property=property_before+"-"+part_names[i]+property_after;this.removeProperty(property),""!==parts[i]&&(this._values[property]=parts[i])}return v}}},exports.subImplicitSetter=function(prefix,part,isValid,parser){var property=prefix+"-"+part,subparts=[prefix+"-top",prefix+"-right",prefix+"-bottom",prefix+"-left"];return function(v){if("number"==typeof v&&(v=v.toString()),"string"==typeof v&&isValid(v)){v=parser(v),this._setProperty(property,v);for(var parts=[],i=0;i<4&&(null!=this._values[subparts[i]]&&""!==this._values[subparts[i]]);i++)parts.push(this._values[subparts[i]]);if(4===parts.length){for(i=0;i<4;i++)this.removeProperty(subparts[i]),this._values[subparts[i]]=parts[i];this._setProperty(prefix,parts.join(" "))}return v}}};var camel_to_dashed=/[A-Z]/g,first_segment=/^\([^-]\)-/,vendor_prefixes=["o","moz","ms","webkit"];exports.camelToDashed=function(camel_case){var match,dashed=camel_case.replace(camel_to_dashed,"-$&").toLowerCase();return(match=dashed.match(first_segment))&&-1!==vendor_prefixes.indexOf(match[1])&&(dashed="-"+dashed),dashed}},84697:function(module,__unused_webpack_exports,__webpack_require__){var azimuth_export_definition,backgroundColor_export_definition,external_dependency_parsers_0=__webpack_require__(66153),external_dependency_constants_1=__webpack_require__(14279);azimuth_export_definition={set:function(v){var valueType=external_dependency_parsers_0.valueType(v);if(valueType===external_dependency_parsers_0.TYPES.ANGLE)return this._setProperty("azimuth",external_dependency_parsers_0.parseAngle(v));if(valueType===external_dependency_parsers_0.TYPES.KEYWORD){var hasBehind,keywords=v.toLowerCase().trim().split(/\s+/);if(keywords.length>2)return;var behindIndex=keywords.indexOf("behind");if(hasBehind=-1!==behindIndex,2===keywords.length){if(!hasBehind)return;keywords.splice(behindIndex,1)}if("leftwards"===keywords[0]||"rightwards"===keywords[0]){if(hasBehind)return;return this._setProperty("azimuth",keywords[0])}if("behind"===keywords[0])return this._setProperty("azimuth","180deg");switch(keywords[0]){case"left-side":return this._setProperty("azimuth","270deg");case"far-left":return this._setProperty("azimuth",(hasBehind?240:300)+"deg");case"left":return this._setProperty("azimuth",(hasBehind?220:320)+"deg");case"center-left":return this._setProperty("azimuth",(hasBehind?200:340)+"deg");case"center":return this._setProperty("azimuth",(hasBehind?180:0)+"deg");case"center-right":return this._setProperty("azimuth",(hasBehind?160:20)+"deg");case"right":return this._setProperty("azimuth",(hasBehind?140:40)+"deg");case"far-right":return this._setProperty("azimuth",(hasBehind?120:60)+"deg");case"right-side":return this._setProperty("azimuth","90deg");default:return}}},get:function(){return this.getPropertyValue("azimuth")},enumerable:!0,configurable:!0};var backgroundImage_export_definition,backgroundRepeat_export_definition,backgroundAttachment_export_isValid,backgroundAttachment_export_definition,backgroundPosition_export_definition,background_export_definition,borderWidth_export_isValid,borderWidth_export_definition,backgroundColor_local_var_parse=function parse(v){var parsed=external_dependency_parsers_0.parseColor(v);return void 0!==parsed?parsed:external_dependency_parsers_0.valueType(v)!==external_dependency_parsers_0.TYPES.KEYWORD||"transparent"!==v.toLowerCase()&&"inherit"!==v.toLowerCase()?void 0:v},backgroundImage_local_var_parse=function parse(v){var parsed=external_dependency_parsers_0.parseUrl(v);return void 0!==parsed?parsed:external_dependency_parsers_0.valueType(v)!==external_dependency_parsers_0.TYPES.KEYWORD||"none"!==v.toLowerCase()&&"inherit"!==v.toLowerCase()?void 0:v},backgroundRepeat_local_var_parse=function parse(v){if(external_dependency_parsers_0.valueType(v)===external_dependency_parsers_0.TYPES.KEYWORD&&("repeat"===v.toLowerCase()||"repeat-x"===v.toLowerCase()||"repeat-y"===v.toLowerCase()||"no-repeat"===v.toLowerCase()||"inherit"===v.toLowerCase()))return v},backgroundAttachment_local_var_isValid=backgroundAttachment_export_isValid=function isValid(v){return external_dependency_parsers_0.valueType(v)===external_dependency_parsers_0.TYPES.KEYWORD&&("scroll"===v.toLowerCase()||"fixed"===v.toLowerCase()||"inherit"===v.toLowerCase())},backgroundPosition_local_var_valid_keywords=["top","center","bottom","left","right"],backgroundPosition_local_var_parse=function parse(v){if(""!==v&&null!==v){var parts=v.split(/\s+/);if(!(parts.length>2||parts.length<1)){var types=[];if(parts.forEach((function(part,index){types[index]=external_dependency_parsers_0.valueType(part)})),1===parts.length)return types[0]===external_dependency_parsers_0.TYPES.LENGTH||types[0]===external_dependency_parsers_0.TYPES.PERCENT?v:types[0]!==external_dependency_parsers_0.TYPES.KEYWORD||-1===backgroundPosition_local_var_valid_keywords.indexOf(v.toLowerCase())&&"inherit"!==v.toLowerCase()?void 0:v;if(!(types[0]!==external_dependency_parsers_0.TYPES.LENGTH&&types[0]!==external_dependency_parsers_0.TYPES.PERCENT||types[1]!==external_dependency_parsers_0.TYPES.LENGTH&&types[1]!==external_dependency_parsers_0.TYPES.PERCENT))return v;if(types[0]===external_dependency_parsers_0.TYPES.KEYWORD&&types[1]===external_dependency_parsers_0.TYPES.KEYWORD)return-1!==backgroundPosition_local_var_valid_keywords.indexOf(parts[0])&&-1!==backgroundPosition_local_var_valid_keywords.indexOf(parts[1])?v:void 0}}},background_local_var_shorthand_for={"background-color":{isValid:function isValid(v){return void 0!==backgroundColor_local_var_parse(v)},definition:backgroundColor_export_definition={set:function(v){var parsed=backgroundColor_local_var_parse(v);void 0!==parsed&&this._setProperty("background-color",parsed)},get:function(){return this.getPropertyValue("background-color")},enumerable:!0,configurable:!0}},"background-image":{isValid:function isValid(v){return void 0!==backgroundImage_local_var_parse(v)},definition:backgroundImage_export_definition={set:function(v){this._setProperty("background-image",backgroundImage_local_var_parse(v))},get:function(){return this.getPropertyValue("background-image")},enumerable:!0,configurable:!0}},"background-repeat":{isValid:function isValid(v){return void 0!==backgroundRepeat_local_var_parse(v)},definition:backgroundRepeat_export_definition={set:function(v){this._setProperty("background-repeat",backgroundRepeat_local_var_parse(v))},get:function(){return this.getPropertyValue("background-repeat")},enumerable:!0,configurable:!0}},"background-attachment":{isValid:backgroundAttachment_export_isValid,definition:backgroundAttachment_export_definition={set:function(v){backgroundAttachment_local_var_isValid(v)&&this._setProperty("background-attachment",v)},get:function(){return this.getPropertyValue("background-attachment")},enumerable:!0,configurable:!0}},"background-position":{isValid:function isValid(v){return void 0!==backgroundPosition_local_var_parse(v)},definition:backgroundPosition_export_definition={set:function(v){this._setProperty("background-position",backgroundPosition_local_var_parse(v))},get:function(){return this.getPropertyValue("background-position")},enumerable:!0,configurable:!0}}};background_export_definition={set:external_dependency_parsers_0.shorthandSetter("background",background_local_var_shorthand_for),get:external_dependency_parsers_0.shorthandGetter("background",background_local_var_shorthand_for),enumerable:!0,configurable:!0};var borderStyle_export_isValid,borderStyle_export_definition,borderWidth_local_var_widths=["thin","medium","thick"],borderWidth_local_var_isValid=borderWidth_export_isValid=function parse(v){return void 0!==external_dependency_parsers_0.parseLength(v)||"string"==typeof v&&(""===v||(v=v.toLowerCase(),-1!==borderWidth_local_var_widths.indexOf(v)))};borderWidth_export_definition={set:external_dependency_parsers_0.implicitSetter("border","width",borderWidth_local_var_isValid,(function(v){var length=external_dependency_parsers_0.parseLength(v);return void 0!==length?length:borderWidth_local_var_isValid(v)?v.toLowerCase():void 0})),get:function(){return this.getPropertyValue("border-width")},enumerable:!0,configurable:!0};var borderColor_export_isValid,borderColor_export_definition,borderStyle_local_var_styles=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"],borderStyle_local_var_isValid=borderStyle_export_isValid=function parse(v){return"string"==typeof v&&(""===v||-1!==borderStyle_local_var_styles.indexOf(v))};borderStyle_export_definition={set:external_dependency_parsers_0.implicitSetter("border","style",borderStyle_local_var_isValid,(function(v){if(borderStyle_local_var_isValid(v))return v.toLowerCase()})),get:function(){return this.getPropertyValue("border-style")},enumerable:!0,configurable:!0};var border_export_definition,borderColor_local_var_isValid=borderColor_export_isValid=function parse(v){return"string"==typeof v&&(""===v||"transparent"===v.toLowerCase()||external_dependency_parsers_0.valueType(v)===external_dependency_parsers_0.TYPES.COLOR)};borderColor_export_definition={set:external_dependency_parsers_0.implicitSetter("border","color",borderColor_local_var_isValid,(function(v){if(borderColor_local_var_isValid(v))return v.toLowerCase()})),get:function(){return this.getPropertyValue("border-color")},enumerable:!0,configurable:!0};var borderBottomWidth_export_isValid,borderBottomWidth_export_definition,border_local_var_shorthand_for={"border-width":{isValid:borderWidth_export_isValid,definition:borderWidth_export_definition},"border-style":{isValid:borderStyle_export_isValid,definition:borderStyle_export_definition},"border-color":{isValid:borderColor_export_isValid,definition:borderColor_export_definition}},border_local_var_myShorthandSetter=external_dependency_parsers_0.shorthandSetter("border",border_local_var_shorthand_for),border_local_var_myShorthandGetter=external_dependency_parsers_0.shorthandGetter("border",border_local_var_shorthand_for);border_export_definition={set:function(v){"none"===v.toString().toLowerCase()&&(v=""),border_local_var_myShorthandSetter.call(this,v),this.removeProperty("border-top"),this.removeProperty("border-left"),this.removeProperty("border-right"),this.removeProperty("border-bottom"),this._values["border-top"]=this._values.border,this._values["border-left"]=this._values.border,this._values["border-right"]=this._values.border,this._values["border-bottom"]=this._values.border},get:border_local_var_myShorthandGetter,enumerable:!0,configurable:!0};var borderBottomStyle_export_definition,borderBottomColor_export_isValid,borderBottomColor_export_definition,borderBottom_export_definition,borderCollapse_export_definition,borderBottomWidth_local_var_isValid=borderBottomWidth_export_isValid=borderWidth_export_isValid,borderBottomColor_local_var_isValid=borderBottomColor_export_isValid=borderColor_export_isValid,borderBottom_local_var_shorthand_for={"border-bottom-width":{isValid:borderBottomWidth_export_isValid,definition:borderBottomWidth_export_definition={set:function(v){borderBottomWidth_local_var_isValid(v)&&this._setProperty("border-bottom-width",v)},get:function(){return this.getPropertyValue("border-bottom-width")},enumerable:!0,configurable:!0}},"border-bottom-style":{isValid:borderStyle_export_isValid,definition:borderBottomStyle_export_definition={set:function(v){borderStyle_export_isValid(v)&&("none"===v.toLowerCase()&&(v="",this.removeProperty("border-bottom-width")),this._setProperty("border-bottom-style",v))},get:function(){return this.getPropertyValue("border-bottom-style")},enumerable:!0,configurable:!0}},"border-bottom-color":{isValid:borderBottomColor_export_isValid,definition:borderBottomColor_export_definition={set:function(v){borderBottomColor_local_var_isValid(v)&&this._setProperty("border-bottom-color",v)},get:function(){return this.getPropertyValue("border-bottom-color")},enumerable:!0,configurable:!0}}};borderBottom_export_definition={set:external_dependency_parsers_0.shorthandSetter("border-bottom",borderBottom_local_var_shorthand_for),get:external_dependency_parsers_0.shorthandGetter("border-bottom",borderBottom_local_var_shorthand_for),enumerable:!0,configurable:!0};var borderLeftWidth_export_isValid,borderLeftWidth_export_definition;borderCollapse_export_definition={set:function(v){this._setProperty("border-collapse",function parse(v){if(external_dependency_parsers_0.valueType(v)===external_dependency_parsers_0.TYPES.KEYWORD&&("collapse"===v.toLowerCase()||"separate"===v.toLowerCase()||"inherit"===v.toLowerCase()))return v}(v))},get:function(){return this.getPropertyValue("border-collapse")},enumerable:!0,configurable:!0};var borderLeftStyle_export_definition,borderLeftColor_export_isValid,borderLeftColor_export_definition,borderLeft_export_definition,borderRightWidth_export_isValid,borderRightWidth_export_definition,borderLeftWidth_local_var_isValid=borderLeftWidth_export_isValid=borderWidth_export_isValid,borderLeftColor_local_var_isValid=borderLeftColor_export_isValid=borderColor_export_isValid,borderLeft_local_var_shorthand_for={"border-left-width":{isValid:borderLeftWidth_export_isValid,definition:borderLeftWidth_export_definition={set:function(v){borderLeftWidth_local_var_isValid(v)&&this._setProperty("border-left-width",v)},get:function(){return this.getPropertyValue("border-left-width")},enumerable:!0,configurable:!0}},"border-left-style":{isValid:borderStyle_export_isValid,definition:borderLeftStyle_export_definition={set:function(v){borderStyle_export_isValid(v)&&("none"===v.toLowerCase()&&(v="",this.removeProperty("border-left-width")),this._setProperty("border-left-style",v))},get:function(){return this.getPropertyValue("border-left-style")},enumerable:!0,configurable:!0}},"border-left-color":{isValid:borderLeftColor_export_isValid,definition:borderLeftColor_export_definition={set:function(v){borderLeftColor_local_var_isValid(v)&&this._setProperty("border-left-color",v)},get:function(){return this.getPropertyValue("border-left-color")},enumerable:!0,configurable:!0}}};borderLeft_export_definition={set:external_dependency_parsers_0.shorthandSetter("border-left",borderLeft_local_var_shorthand_for),get:external_dependency_parsers_0.shorthandGetter("border-left",borderLeft_local_var_shorthand_for),enumerable:!0,configurable:!0};var borderRightStyle_export_definition,borderRightColor_export_isValid,borderRightColor_export_definition,borderRight_export_definition,borderSpacing_export_definition,borderRightWidth_local_var_isValid=borderRightWidth_export_isValid=borderWidth_export_isValid,borderRightColor_local_var_isValid=borderRightColor_export_isValid=borderColor_export_isValid,borderRight_local_var_shorthand_for={"border-right-width":{isValid:borderRightWidth_export_isValid,definition:borderRightWidth_export_definition={set:function(v){borderRightWidth_local_var_isValid(v)&&this._setProperty("border-right-width",v)},get:function(){return this.getPropertyValue("border-right-width")},enumerable:!0,configurable:!0}},"border-right-style":{isValid:borderStyle_export_isValid,definition:borderRightStyle_export_definition={set:function(v){borderStyle_export_isValid(v)&&("none"===v.toLowerCase()&&(v="",this.removeProperty("border-right-width")),this._setProperty("border-right-style",v))},get:function(){return this.getPropertyValue("border-right-style")},enumerable:!0,configurable:!0}},"border-right-color":{isValid:borderRightColor_export_isValid,definition:borderRightColor_export_definition={set:function(v){borderRightColor_local_var_isValid(v)&&this._setProperty("border-right-color",v)},get:function(){return this.getPropertyValue("border-right-color")},enumerable:!0,configurable:!0}}};borderRight_export_definition={set:external_dependency_parsers_0.shorthandSetter("border-right",borderRight_local_var_shorthand_for),get:external_dependency_parsers_0.shorthandGetter("border-right",borderRight_local_var_shorthand_for),enumerable:!0,configurable:!0};var borderTopWidth_export_definition,borderTopStyle_export_definition,borderTopColor_export_isValid,borderTopColor_export_definition;borderSpacing_export_definition={set:function(v){this._setProperty("border-spacing",function parse(v){if(""!==v&&null!==v){if(0===v)return"0px";if("inherit"===v.toLowerCase())return v;var parts=v.split(/\s+/);if(1===parts.length||2===parts.length)return parts.forEach((function(part){external_dependency_parsers_0.valueType(part),external_dependency_parsers_0.TYPES.LENGTH})),v}}(v))},get:function(){return this.getPropertyValue("border-spacing")},enumerable:!0,configurable:!0};var borderTop_export_definition,bottom_export_definition,clear_export_definition,borderTopColor_local_var_isValid=borderTopColor_export_isValid=borderColor_export_isValid,borderTop_local_var_shorthand_for={"border-top-width":{isValid:borderWidth_export_isValid,definition:borderTopWidth_export_definition={set:function(v){borderWidth_export_isValid(v)&&this._setProperty("border-top-width",v)},get:function(){return this.getPropertyValue("border-top-width")},enumerable:!0,configurable:!0}},"border-top-style":{isValid:borderStyle_export_isValid,definition:borderTopStyle_export_definition={set:function(v){borderStyle_export_isValid(v)&&("none"===v.toLowerCase()&&(v="",this.removeProperty("border-top-width")),this._setProperty("border-top-style",v))},get:function(){return this.getPropertyValue("border-top-style")},enumerable:!0,configurable:!0}},"border-top-color":{isValid:borderTopColor_export_isValid,definition:borderTopColor_export_definition={set:function(v){borderTopColor_local_var_isValid(v)&&this._setProperty("border-top-color",v)},get:function(){return this.getPropertyValue("border-top-color")},enumerable:!0,configurable:!0}}};borderTop_export_definition={set:external_dependency_parsers_0.shorthandSetter("border-top",borderTop_local_var_shorthand_for),get:external_dependency_parsers_0.shorthandGetter("border-top",borderTop_local_var_shorthand_for),enumerable:!0,configurable:!0},bottom_export_definition={set:function(v){this._setProperty("bottom",external_dependency_parsers_0.parseMeasurement(v))},get:function(){return this.getPropertyValue("bottom")},enumerable:!0,configurable:!0};var clip_export_definition,clear_local_var_clear_keywords=["none","left","right","both","inherit"];clear_export_definition={set:function(v){this._setProperty("clear",external_dependency_parsers_0.parseKeyword(v,clear_local_var_clear_keywords))},get:function(){return this.getPropertyValue("clear")},enumerable:!0,configurable:!0};var color_export_definition,cssFloat_export_definition,flexGrow_export_definition,flexShrink_export_definition,flexBasis_export_definition,flex_export_definition,clip_local_var_shape_regex=/^rect\((.*)\)$/i;function flexBasis_local_fn_parse(v){return"auto"===String(v).toLowerCase()?"auto":"inherit"===String(v).toLowerCase()?"inherit":external_dependency_parsers_0.parseMeasurement(v)}clip_export_definition={set:function(v){this._setProperty("clip",function(val){if(""===val||null===val)return val;if("string"==typeof val){if("auto"===(val=val.toLowerCase())||"inherit"===val)return val;var matches=val.match(clip_local_var_shape_regex);if(matches){var parts=matches[1].split(/\s*,\s*/);if(4===parts.length&&parts.every((function(part,index){var measurement=external_dependency_parsers_0.parseMeasurement(part);return parts[index]=measurement,void 0!==measurement})))return parts=parts.join(", "),val.replace(matches[1],parts)}}}(v))},get:function(){return this.getPropertyValue("clip")},enumerable:!0,configurable:!0},color_export_definition={set:function(v){this._setProperty("color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("color")},enumerable:!0,configurable:!0},cssFloat_export_definition={set:function(v){this._setProperty("float",v)},get:function(){return this.getPropertyValue("float")},enumerable:!0,configurable:!0};var float_export_definition,floodColor_export_definition,fontFamily_export_definition,flex_local_var_shorthand_for={"flex-grow":{isValid:function isValid(v,positionAtFlexShorthand){return void 0!==external_dependency_parsers_0.parseNumber(v)&&positionAtFlexShorthand===external_dependency_constants_1.POSITION_AT_SHORTHAND.first},definition:flexGrow_export_definition={set:function(v){this._setProperty("flex-grow",external_dependency_parsers_0.parseNumber(v))},get:function(){return this.getPropertyValue("flex-grow")},enumerable:!0,configurable:!0}},"flex-shrink":{isValid:function isValid(v,positionAtFlexShorthand){return void 0!==external_dependency_parsers_0.parseNumber(v)&&positionAtFlexShorthand===external_dependency_constants_1.POSITION_AT_SHORTHAND.second},definition:flexShrink_export_definition={set:function(v){this._setProperty("flex-shrink",external_dependency_parsers_0.parseNumber(v))},get:function(){return this.getPropertyValue("flex-shrink")},enumerable:!0,configurable:!0}},"flex-basis":{isValid:function isValid(v){return void 0!==flexBasis_local_fn_parse(v)},definition:flexBasis_export_definition={set:function(v){this._setProperty("flex-basis",flexBasis_local_fn_parse(v))},get:function(){return this.getPropertyValue("flex-basis")},enumerable:!0,configurable:!0}}},flex_local_var_myShorthandSetter=external_dependency_parsers_0.shorthandSetter("flex",flex_local_var_shorthand_for);flex_export_definition={set:function(v){var normalizedValue=String(v).trim().toLowerCase();if("none"!==normalizedValue){if("initial"!==normalizedValue)return"auto"===normalizedValue?(this.removeProperty("flex-grow"),this.removeProperty("flex-shrink"),void this.setProperty("flex-basis",normalizedValue)):void flex_local_var_myShorthandSetter.call(this,v);flex_local_var_myShorthandSetter.call(this,"0 1 auto")}else flex_local_var_myShorthandSetter.call(this,"0 0 auto")},get:external_dependency_parsers_0.shorthandGetter("flex",flex_local_var_shorthand_for),enumerable:!0,configurable:!0},float_export_definition={set:function(v){this._setProperty("float",v)},get:function(){return this.getPropertyValue("float")},enumerable:!0,configurable:!0},floodColor_export_definition={set:function(v){this._setProperty("flood-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("flood-color")},enumerable:!0,configurable:!0};var fontSize_export_definition,fontStyle_export_definition,fontFamily_local_var_partsRegEx=/\s*,\s*/,fontSize_local_var_absoluteSizes=["xx-small","x-small","small","medium","large","x-large","xx-large"],fontSize_local_var_relativeSizes=["larger","smaller"];var fontVariant_export_definition,fontWeight_export_definition,lineHeight_export_definition,font_export_definition,height_export_definition,left_export_definition,lightingColor_export_definition,margin_export_definition,margin_export_isValid,margin_export_parser,fontStyle_local_var_valid_styles=["normal","italic","oblique","inherit"],fontVariant_local_var_valid_variants=["normal","small-caps","inherit"],fontWeight_local_var_valid_weights=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900","inherit"],font_local_var_shorthand_for={"font-family":{isValid:function isValid(v){if(""===v||null===v)return!0;var i,type,parts=v.split(fontFamily_local_var_partsRegEx),len=parts.length;for(i=0;i<len;i++)if((type=external_dependency_parsers_0.valueType(parts[i]))===external_dependency_parsers_0.TYPES.STRING||type===external_dependency_parsers_0.TYPES.KEYWORD)return!0;return!1},definition:fontFamily_export_definition={set:function(v){this._setProperty("font-family",v)},get:function(){return this.getPropertyValue("font-family")},enumerable:!0,configurable:!0}},"font-size":{isValid:function(v){var type=external_dependency_parsers_0.valueType(v.toLowerCase());return type===external_dependency_parsers_0.TYPES.LENGTH||type===external_dependency_parsers_0.TYPES.PERCENT||type===external_dependency_parsers_0.TYPES.KEYWORD&&-1!==fontSize_local_var_absoluteSizes.indexOf(v.toLowerCase())||type===external_dependency_parsers_0.TYPES.KEYWORD&&-1!==fontSize_local_var_relativeSizes.indexOf(v.toLowerCase())},definition:fontSize_export_definition={set:function(v){this._setProperty("font-size",function fontSize_local_fn_parse(v){const valueAsString=String(v).toLowerCase();return fontSize_local_var_absoluteSizes.concat(fontSize_local_var_relativeSizes).some((stringValue=>stringValue.toLowerCase()===valueAsString))?valueAsString:external_dependency_parsers_0.parseMeasurement(v)}(v))},get:function(){return this.getPropertyValue("font-size")},enumerable:!0,configurable:!0}},"font-style":{isValid:function(v){return-1!==fontStyle_local_var_valid_styles.indexOf(v.toLowerCase())},definition:fontStyle_export_definition={set:function(v){this._setProperty("font-style",v)},get:function(){return this.getPropertyValue("font-style")},enumerable:!0,configurable:!0}},"font-variant":{isValid:function isValid(v){return-1!==fontVariant_local_var_valid_variants.indexOf(v.toLowerCase())},definition:fontVariant_export_definition={set:function(v){this._setProperty("font-variant",v)},get:function(){return this.getPropertyValue("font-variant")},enumerable:!0,configurable:!0}},"font-weight":{isValid:function isValid(v){return-1!==fontWeight_local_var_valid_weights.indexOf(v.toLowerCase())},definition:fontWeight_export_definition={set:function(v){this._setProperty("font-weight",v)},get:function(){return this.getPropertyValue("font-weight")},enumerable:!0,configurable:!0}},"line-height":{isValid:function isValid(v){var type=external_dependency_parsers_0.valueType(v);return type===external_dependency_parsers_0.TYPES.KEYWORD&&"normal"===v.toLowerCase()||"inherit"===v.toLowerCase()||type===external_dependency_parsers_0.TYPES.NUMBER||type===external_dependency_parsers_0.TYPES.LENGTH||type===external_dependency_parsers_0.TYPES.PERCENT},definition:lineHeight_export_definition={set:function(v){this._setProperty("line-height",v)},get:function(){return this.getPropertyValue("line-height")},enumerable:!0,configurable:!0}}},font_local_var_static_fonts=["caption","icon","menu","message-box","small-caption","status-bar","inherit"],font_local_var_setter=external_dependency_parsers_0.shorthandSetter("font",font_local_var_shorthand_for);font_export_definition={set:function(v){if(void 0!==external_dependency_parsers_0.shorthandParser(v,font_local_var_shorthand_for))return font_local_var_setter.call(this,v);external_dependency_parsers_0.valueType(v)===external_dependency_parsers_0.TYPES.KEYWORD&&-1!==font_local_var_static_fonts.indexOf(v.toLowerCase())&&this._setProperty("font",v)},get:external_dependency_parsers_0.shorthandGetter("font",font_local_var_shorthand_for),enumerable:!0,configurable:!0},height_export_definition={set:function(v){this._setProperty("height",function height_local_fn_parse(v){return"auto"===String(v).toLowerCase()?"auto":"inherit"===String(v).toLowerCase()?"inherit":external_dependency_parsers_0.parseMeasurement(v)}(v))},get:function(){return this.getPropertyValue("height")},enumerable:!0,configurable:!0},left_export_definition={set:function(v){this._setProperty("left",external_dependency_parsers_0.parseMeasurement(v))},get:function(){return this.getPropertyValue("left")},enumerable:!0,configurable:!0},lightingColor_export_definition={set:function(v){this._setProperty("lighting-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("lighting-color")},enumerable:!0,configurable:!0};var marginBottom_export_definition,marginLeft_export_definition,marginRight_export_definition,marginTop_export_definition,opacity_export_definition,outlineColor_export_definition,padding_export_definition,padding_export_isValid,padding_export_parser,margin_local_var_TYPES=external_dependency_parsers_0.TYPES,margin_local_var_isValid=function(v){if("auto"===v.toLowerCase())return!0;var type=external_dependency_parsers_0.valueType(v);return type===margin_local_var_TYPES.LENGTH||type===margin_local_var_TYPES.PERCENT||type===margin_local_var_TYPES.INTEGER&&("0"===v||0===v)},margin_local_var_parser=function(v){var V=v.toLowerCase();return"auto"===V?V:external_dependency_parsers_0.parseMeasurement(v)},margin_local_var_mySetter=external_dependency_parsers_0.implicitSetter("margin","",margin_local_var_isValid,margin_local_var_parser),margin_local_var_myGlobal=external_dependency_parsers_0.implicitSetter("margin","",(function(){return!0}),(function(v){return v}));margin_export_definition={set:function(v){if("number"==typeof v&&(v=String(v)),"string"==typeof v){var V=v.toLowerCase();switch(V){case"inherit":case"initial":case"unset":case"":margin_local_var_myGlobal.call(this,V);break;default:margin_local_var_mySetter.call(this,v)}}},get:function(){return this.getPropertyValue("margin")},enumerable:!0,configurable:!0},margin_export_isValid=margin_local_var_isValid,margin_export_parser=margin_local_var_parser,marginBottom_export_definition={set:external_dependency_parsers_0.subImplicitSetter("margin","bottom",margin_export_isValid,margin_export_parser),get:function(){return this.getPropertyValue("margin-bottom")},enumerable:!0,configurable:!0},marginLeft_export_definition={set:external_dependency_parsers_0.subImplicitSetter("margin","left",margin_export_isValid,margin_export_parser),get:function(){return this.getPropertyValue("margin-left")},enumerable:!0,configurable:!0},marginRight_export_definition={set:external_dependency_parsers_0.subImplicitSetter("margin","right",margin_export_isValid,margin_export_parser),get:function(){return this.getPropertyValue("margin-right")},enumerable:!0,configurable:!0},marginTop_export_definition={set:external_dependency_parsers_0.subImplicitSetter("margin","top",margin_export_isValid,margin_export_parser),get:function(){return this.getPropertyValue("margin-top")},enumerable:!0,configurable:!0},opacity_export_definition={set:function(v){this._setProperty("opacity",external_dependency_parsers_0.parseNumber(v))},get:function(){return this.getPropertyValue("opacity")},enumerable:!0,configurable:!0},outlineColor_export_definition={set:function(v){this._setProperty("outline-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("outline-color")},enumerable:!0,configurable:!0};var paddingBottom_export_definition,paddingLeft_export_definition,paddingRight_export_definition,paddingTop_export_definition,right_export_definition,stopColor_export_definition,textLineThroughColor_export_definition,textOverlineColor_export_definition,textUnderlineColor_export_definition,top_export_definition,webkitBorderAfterColor_export_definition,webkitBorderBeforeColor_export_definition,webkitBorderEndColor_export_definition,webkitBorderStartColor_export_definition,webkitColumnRuleColor_export_definition,webkitMatchNearestMailBlockquoteColor_export_definition,webkitTapHighlightColor_export_definition,webkitTextEmphasisColor_export_definition,webkitTextFillColor_export_definition,webkitTextStrokeColor_export_definition,width_export_definition,padding_local_var_TYPES=external_dependency_parsers_0.TYPES,padding_local_var_isValid=function(v){var type=external_dependency_parsers_0.valueType(v);return type===padding_local_var_TYPES.LENGTH||type===padding_local_var_TYPES.PERCENT||type===padding_local_var_TYPES.INTEGER&&("0"===v||0===v)},padding_local_var_parser=function(v){return external_dependency_parsers_0.parseMeasurement(v)},padding_local_var_mySetter=external_dependency_parsers_0.implicitSetter("padding","",padding_local_var_isValid,padding_local_var_parser),padding_local_var_myGlobal=external_dependency_parsers_0.implicitSetter("padding","",(function(){return!0}),(function(v){return v}));padding_export_definition={set:function(v){if("number"==typeof v&&(v=String(v)),"string"==typeof v){var V=v.toLowerCase();switch(V){case"inherit":case"initial":case"unset":case"":padding_local_var_myGlobal.call(this,V);break;default:padding_local_var_mySetter.call(this,v)}}},get:function(){return this.getPropertyValue("padding")},enumerable:!0,configurable:!0},padding_export_isValid=padding_local_var_isValid,padding_export_parser=padding_local_var_parser,paddingBottom_export_definition={set:external_dependency_parsers_0.subImplicitSetter("padding","bottom",padding_export_isValid,padding_export_parser),get:function(){return this.getPropertyValue("padding-bottom")},enumerable:!0,configurable:!0},paddingLeft_export_definition={set:external_dependency_parsers_0.subImplicitSetter("padding","left",padding_export_isValid,padding_export_parser),get:function(){return this.getPropertyValue("padding-left")},enumerable:!0,configurable:!0},paddingRight_export_definition={set:external_dependency_parsers_0.subImplicitSetter("padding","right",padding_export_isValid,padding_export_parser),get:function(){return this.getPropertyValue("padding-right")},enumerable:!0,configurable:!0},paddingTop_export_definition={set:external_dependency_parsers_0.subImplicitSetter("padding","top",padding_export_isValid,padding_export_parser),get:function(){return this.getPropertyValue("padding-top")},enumerable:!0,configurable:!0},right_export_definition={set:function(v){this._setProperty("right",external_dependency_parsers_0.parseMeasurement(v))},get:function(){return this.getPropertyValue("right")},enumerable:!0,configurable:!0},stopColor_export_definition={set:function(v){this._setProperty("stop-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("stop-color")},enumerable:!0,configurable:!0},textLineThroughColor_export_definition={set:function(v){this._setProperty("text-line-through-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("text-line-through-color")},enumerable:!0,configurable:!0},textOverlineColor_export_definition={set:function(v){this._setProperty("text-overline-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("text-overline-color")},enumerable:!0,configurable:!0},textUnderlineColor_export_definition={set:function(v){this._setProperty("text-underline-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("text-underline-color")},enumerable:!0,configurable:!0},top_export_definition={set:function(v){this._setProperty("top",external_dependency_parsers_0.parseMeasurement(v))},get:function(){return this.getPropertyValue("top")},enumerable:!0,configurable:!0},webkitBorderAfterColor_export_definition={set:function(v){this._setProperty("-webkit-border-after-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-border-after-color")},enumerable:!0,configurable:!0},webkitBorderBeforeColor_export_definition={set:function(v){this._setProperty("-webkit-border-before-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-border-before-color")},enumerable:!0,configurable:!0},webkitBorderEndColor_export_definition={set:function(v){this._setProperty("-webkit-border-end-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-border-end-color")},enumerable:!0,configurable:!0},webkitBorderStartColor_export_definition={set:function(v){this._setProperty("-webkit-border-start-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-border-start-color")},enumerable:!0,configurable:!0},webkitColumnRuleColor_export_definition={set:function(v){this._setProperty("-webkit-column-rule-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-column-rule-color")},enumerable:!0,configurable:!0},webkitMatchNearestMailBlockquoteColor_export_definition={set:function(v){this._setProperty("-webkit-match-nearest-mail-blockquote-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-match-nearest-mail-blockquote-color")},enumerable:!0,configurable:!0},webkitTapHighlightColor_export_definition={set:function(v){this._setProperty("-webkit-tap-highlight-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-tap-highlight-color")},enumerable:!0,configurable:!0},webkitTextEmphasisColor_export_definition={set:function(v){this._setProperty("-webkit-text-emphasis-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-text-emphasis-color")},enumerable:!0,configurable:!0},webkitTextFillColor_export_definition={set:function(v){this._setProperty("-webkit-text-fill-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-text-fill-color")},enumerable:!0,configurable:!0},webkitTextStrokeColor_export_definition={set:function(v){this._setProperty("-webkit-text-stroke-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-text-stroke-color")},enumerable:!0,configurable:!0},width_export_definition={set:function(v){this._setProperty("width",function width_local_fn_parse(v){return"auto"===String(v).toLowerCase()?"auto":"inherit"===String(v).toLowerCase()?"inherit":external_dependency_parsers_0.parseMeasurement(v)}(v))},get:function(){return this.getPropertyValue("width")},enumerable:!0,configurable:!0},module.exports=function(prototype){Object.defineProperties(prototype,{azimuth:azimuth_export_definition,backgroundColor:backgroundColor_export_definition,"background-color":backgroundColor_export_definition,backgroundImage:backgroundImage_export_definition,"background-image":backgroundImage_export_definition,backgroundRepeat:backgroundRepeat_export_definition,"background-repeat":backgroundRepeat_export_definition,backgroundAttachment:backgroundAttachment_export_definition,"background-attachment":backgroundAttachment_export_definition,backgroundPosition:backgroundPosition_export_definition,"background-position":backgroundPosition_export_definition,background:background_export_definition,borderWidth:borderWidth_export_definition,"border-width":borderWidth_export_definition,borderStyle:borderStyle_export_definition,"border-style":borderStyle_export_definition,borderColor:borderColor_export_definition,"border-color":borderColor_export_definition,border:border_export_definition,borderBottomWidth:borderBottomWidth_export_definition,"border-bottom-width":borderBottomWidth_export_definition,borderBottomStyle:borderBottomStyle_export_definition,"border-bottom-style":borderBottomStyle_export_definition,borderBottomColor:borderBottomColor_export_definition,"border-bottom-color":borderBottomColor_export_definition,borderBottom:borderBottom_export_definition,"border-bottom":borderBottom_export_definition,borderCollapse:borderCollapse_export_definition,"border-collapse":borderCollapse_export_definition,borderLeftWidth:borderLeftWidth_export_definition,"border-left-width":borderLeftWidth_export_definition,borderLeftStyle:borderLeftStyle_export_definition,"border-left-style":borderLeftStyle_export_definition,borderLeftColor:borderLeftColor_export_definition,"border-left-color":borderLeftColor_export_definition,borderLeft:borderLeft_export_definition,"border-left":borderLeft_export_definition,borderRightWidth:borderRightWidth_export_definition,"border-right-width":borderRightWidth_export_definition,borderRightStyle:borderRightStyle_export_definition,"border-right-style":borderRightStyle_export_definition,borderRightColor:borderRightColor_export_definition,"border-right-color":borderRightColor_export_definition,borderRight:borderRight_export_definition,"border-right":borderRight_export_definition,borderSpacing:borderSpacing_export_definition,"border-spacing":borderSpacing_export_definition,borderTopWidth:borderTopWidth_export_definition,"border-top-width":borderTopWidth_export_definition,borderTopStyle:borderTopStyle_export_definition,"border-top-style":borderTopStyle_export_definition,borderTopColor:borderTopColor_export_definition,"border-top-color":borderTopColor_export_definition,borderTop:borderTop_export_definition,"border-top":borderTop_export_definition,bottom:bottom_export_definition,clear:clear_export_definition,clip:clip_export_definition,color:color_export_definition,cssFloat:cssFloat_export_definition,"css-float":cssFloat_export_definition,flexGrow:flexGrow_export_definition,"flex-grow":flexGrow_export_definition,flexShrink:flexShrink_export_definition,"flex-shrink":flexShrink_export_definition,flexBasis:flexBasis_export_definition,"flex-basis":flexBasis_export_definition,flex:flex_export_definition,float:float_export_definition,floodColor:floodColor_export_definition,"flood-color":floodColor_export_definition,fontFamily:fontFamily_export_definition,"font-family":fontFamily_export_definition,fontSize:fontSize_export_definition,"font-size":fontSize_export_definition,fontStyle:fontStyle_export_definition,"font-style":fontStyle_export_definition,fontVariant:fontVariant_export_definition,"font-variant":fontVariant_export_definition,fontWeight:fontWeight_export_definition,"font-weight":fontWeight_export_definition,lineHeight:lineHeight_export_definition,"line-height":lineHeight_export_definition,font:font_export_definition,height:height_export_definition,left:left_export_definition,lightingColor:lightingColor_export_definition,"lighting-color":lightingColor_export_definition,margin:margin_export_definition,marginBottom:marginBottom_export_definition,"margin-bottom":marginBottom_export_definition,marginLeft:marginLeft_export_definition,"margin-left":marginLeft_export_definition,marginRight:marginRight_export_definition,"margin-right":marginRight_export_definition,marginTop:marginTop_export_definition,"margin-top":marginTop_export_definition,opacity:opacity_export_definition,outlineColor:outlineColor_export_definition,"outline-color":outlineColor_export_definition,padding:padding_export_definition,paddingBottom:paddingBottom_export_definition,"padding-bottom":paddingBottom_export_definition,paddingLeft:paddingLeft_export_definition,"padding-left":paddingLeft_export_definition,paddingRight:paddingRight_export_definition,"padding-right":paddingRight_export_definition,paddingTop:paddingTop_export_definition,"padding-top":paddingTop_export_definition,right:right_export_definition,stopColor:stopColor_export_definition,"stop-color":stopColor_export_definition,textLineThroughColor:textLineThroughColor_export_definition,"text-line-through-color":textLineThroughColor_export_definition,textOverlineColor:textOverlineColor_export_definition,"text-overline-color":textOverlineColor_export_definition,textUnderlineColor:textUnderlineColor_export_definition,"text-underline-color":textUnderlineColor_export_definition,top:top_export_definition,webkitBorderAfterColor:webkitBorderAfterColor_export_definition,"webkit-border-after-color":webkitBorderAfterColor_export_definition,webkitBorderBeforeColor:webkitBorderBeforeColor_export_definition,"webkit-border-before-color":webkitBorderBeforeColor_export_definition,webkitBorderEndColor:webkitBorderEndColor_export_definition,"webkit-border-end-color":webkitBorderEndColor_export_definition,webkitBorderStartColor:webkitBorderStartColor_export_definition,"webkit-border-start-color":webkitBorderStartColor_export_definition,webkitColumnRuleColor:webkitColumnRuleColor_export_definition,"webkit-column-rule-color":webkitColumnRuleColor_export_definition,webkitMatchNearestMailBlockquoteColor:webkitMatchNearestMailBlockquoteColor_export_definition,"webkit-match-nearest-mail-blockquote-color":webkitMatchNearestMailBlockquoteColor_export_definition,webkitTapHighlightColor:webkitTapHighlightColor_export_definition,"webkit-tap-highlight-color":webkitTapHighlightColor_export_definition,webkitTextEmphasisColor:webkitTextEmphasisColor_export_definition,"webkit-text-emphasis-color":webkitTextEmphasisColor_export_definition,webkitTextFillColor:webkitTextFillColor_export_definition,"webkit-text-fill-color":webkitTextFillColor_export_definition,webkitTextStrokeColor:webkitTextStrokeColor_export_definition,"webkit-text-stroke-color":webkitTextStrokeColor_export_definition,width:width_export_definition})}},94260:function(__unused_webpack_module,exports){const hueToRgb=(t1,t2,hue)=>(hue<0&&(hue+=6),hue>=6&&(hue-=6),hue<1?(t2-t1)*hue+t1:hue<3?t2:hue<4?(t2-t1)*(4-hue)+t1:t1);exports.hslToRgb=(hue,sat,light)=>{const t2=light<=.5?light*(sat+1):light+sat-light*sat,t1=2*light-t2,r=hueToRgb(t1,t2,hue+2),g=hueToRgb(t1,t2,hue),b=hueToRgb(t1,t2,hue-2);return[Math.round(255*r),Math.round(255*g),Math.round(255*b)]}},88301:function(module){module.exports=function getBasicPropertyDescriptor(name){return{set:function(v){this._setProperty(name,v)},get:function(){return this.getPropertyValue(name)},enumerable:!0,configurable:!0}}},61501:function(module,__unused_webpack_exports,__webpack_require__){const MIMEType=__webpack_require__(36766),{parseURL:parseURL,serializeURL:serializeURL,percentDecodeString:percentDecodeString}=__webpack_require__(77101),{stripLeadingAndTrailingASCIIWhitespace:stripLeadingAndTrailingASCIIWhitespace,isomorphicDecode:isomorphicDecode,forgivingBase64Decode:forgivingBase64Decode}=__webpack_require__(74065);module.exports=stringInput=>{const urlRecord=parseURL(stringInput);return null===urlRecord?null:module.exports.fromURLRecord(urlRecord)},module.exports.fromURLRecord=urlRecord=>{if("data"!==urlRecord.scheme)return null;const input=serializeURL(urlRecord,!0).substring("data:".length);let position=0,mimeType="";for(;position<input.length&&","!==input[position];)mimeType+=input[position],++position;if(mimeType=stripLeadingAndTrailingASCIIWhitespace(mimeType),position===input.length)return null;++position;const encodedBody=input.substring(position);let body=percentDecodeString(encodedBody);const mimeTypeBase64MatchResult=/(.*); *[Bb][Aa][Ss][Ee]64$/u.exec(mimeType);if(mimeTypeBase64MatchResult){const stringBody=isomorphicDecode(body);if(body=forgivingBase64Decode(stringBody),null===body)return null;mimeType=mimeTypeBase64MatchResult[1]}let mimeTypeRecord;mimeType.startsWith(";")&&(mimeType=`text/plain${mimeType}`);try{mimeTypeRecord=new MIMEType(mimeType)}catch(e){mimeTypeRecord=new MIMEType("text/plain;charset=US-ASCII")}return{mimeType:mimeTypeRecord,body:body}}},74065:function(__unused_webpack_module,exports,__webpack_require__){const{atob:atob}=__webpack_require__(9494);exports.stripLeadingAndTrailingASCIIWhitespace=string=>string.replace(/^[ \t\n\f\r]+/u,"").replace(/[ \t\n\f\r]+$/u,""),exports.isomorphicDecode=input=>Array.from(input,(byte=>String.fromCodePoint(byte))).join(""),exports.forgivingBase64Decode=data=>{const asString=atob(data);return null===asString?null:Uint8Array.from(asString,(c=>c.codePointAt(0)))}},11227:function(module,exports,__webpack_require__){var process=__webpack_require__(34155);exports.formatArgs=function formatArgs(args){if(args[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+args[0]+(this.useColors?"%c ":" ")+"+"+module.exports.humanize(this.diff),!this.useColors)return;const c="color: "+this.color;args.splice(1,0,c,"color: inherit");let index=0,lastC=0;args[0].replace(/%[a-zA-Z%]/g,(match=>{"%%"!==match&&(index++,"%c"===match&&(lastC=index))})),args.splice(lastC,0,c)},exports.save=function save(namespaces){try{namespaces?exports.storage.setItem("debug",namespaces):exports.storage.removeItem("debug")}catch(error){}},exports.load=function load(){let r;try{r=exports.storage.getItem("debug")}catch(error){}!r&&void 0!==process&&"env"in process&&(r=process.env.DEBUG);return r},exports.useColors=function useColors(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},exports.storage=function localstorage(){try{return localStorage}catch(error){}}(),exports.destroy=(()=>{let warned=!1;return()=>{warned||(warned=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),exports.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],exports.log=console.debug||console.log||(()=>{}),module.exports=__webpack_require__(82447)(exports);const{formatters:formatters}=module.exports;formatters.j=function(v){try{return JSON.stringify(v)}catch(error){return"[UnexpectedJSONParseError]: "+error.message}}},82447:function(module,__unused_webpack_exports,__webpack_require__){module.exports=function setup(env){function createDebug(namespace){let prevTime,namespacesCache,enabledCache,enableOverride=null;function debug(...args){if(!debug.enabled)return;const self=debug,curr=Number(new Date),ms=curr-(prevTime||curr);self.diff=ms,self.prev=prevTime,self.curr=curr,prevTime=curr,args[0]=createDebug.coerce(args[0]),"string"!=typeof args[0]&&args.unshift("%O");let index=0;args[0]=args[0].replace(/%([a-zA-Z%])/g,((match,format)=>{if("%%"===match)return"%";index++;const formatter=createDebug.formatters[format];if("function"==typeof formatter){const val=args[index];match=formatter.call(self,val),args.splice(index,1),index--}return match})),createDebug.formatArgs.call(self,args);(self.log||createDebug.log).apply(self,args)}return debug.namespace=namespace,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(namespace),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==enableOverride?enableOverride:(namespacesCache!==createDebug.namespaces&&(namespacesCache=createDebug.namespaces,enabledCache=createDebug.enabled(namespace)),enabledCache),set:v=>{enableOverride=v}}),"function"==typeof createDebug.init&&createDebug.init(debug),debug}function extend(namespace,delimiter){const newDebug=createDebug(this.namespace+(void 0===delimiter?":":delimiter)+namespace);return newDebug.log=this.log,newDebug}function toNamespace(regexp){return regexp.toString().substring(2,regexp.toString().length-2).replace(/\.\*\?$/,"*")}return createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=function coerce(val){if(val instanceof Error)return val.stack||val.message;return val},createDebug.disable=function disable(){const namespaces=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map((namespace=>"-"+namespace))].join(",");return createDebug.enable(""),namespaces},createDebug.enable=function enable(namespaces){let i;createDebug.save(namespaces),createDebug.namespaces=namespaces,createDebug.names=[],createDebug.skips=[];const split=("string"==typeof namespaces?namespaces:"").split(/[\s,]+/),len=split.length;for(i=0;i<len;i++)split[i]&&("-"===(namespaces=split[i].replace(/\*/g,".*?"))[0]?createDebug.skips.push(new RegExp("^"+namespaces.substr(1)+"$")):createDebug.names.push(new RegExp("^"+namespaces+"$")))},createDebug.enabled=function enabled(name){if("*"===name[name.length-1])return!0;let i,len;for(i=0,len=createDebug.skips.length;i<len;i++)if(createDebug.skips[i].test(name))return!1;for(i=0,len=createDebug.names.length;i<len;i++)if(createDebug.names[i].test(name))return!0;return!1},createDebug.humanize=__webpack_require__(57824),createDebug.destroy=function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(env).forEach((key=>{createDebug[key]=env[key]})),createDebug.names=[],createDebug.skips=[],createDebug.formatters={},createDebug.selectColor=function selectColor(namespace){let hash=0;for(let i=0;i<namespace.length;i++)hash=(hash<<5)-hash+namespace.charCodeAt(i),hash|=0;return createDebug.colors[Math.abs(hash)%createDebug.colors.length]},createDebug.enable(createDebug.load()),createDebug}},93776:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;!function(globalScope){var Decimal,inexact,quadrant,EXP_LIMIT=9e15,NUMERALS="0123456789abcdef",LN10="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",PI="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",DEFAULTS={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-EXP_LIMIT,maxE:EXP_LIMIT,crypto:!1},external=!0,invalidArgument="[DecimalError] Invalid argument: ",tag="[object Decimal]",mathfloor=Math.floor,mathpow=Math.pow,isBinary=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,isHex=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,isOctal=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,isDecimal=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,BASE=1e7,LN10_PRECISION=LN10.length-1,PI_PRECISION=PI.length-1,P={toStringTag:tag};function digitsToString(d){var i,k,ws,indexOfLastWord=d.length-1,str="",w=d[0];if(indexOfLastWord>0){for(str+=w,i=1;i<indexOfLastWord;i++)(k=7-(ws=d[i]+"").length)&&(str+=getZeroString(k)),str+=ws;(k=7-(ws=(w=d[i])+"").length)&&(str+=getZeroString(k))}else if(0===w)return"0";for(;w%10==0;)w/=10;return str+w}function checkInt32(i,min,max){if(i!==~~i||i<min||i>max)throw Error(invalidArgument+i)}function checkRoundingDigits(d,i,rm,repeating){var di,k,r,rd;for(k=d[0];k>=10;k/=10)--i;return--i<0?(i+=7,di=0):(di=Math.ceil((i+1)/7),i%=7),k=mathpow(10,7-i),rd=d[di]%k|0,null==repeating?i<3?(0==i?rd=rd/100|0:1==i&&(rd=rd/10|0),r=rm<4&&99999==rd||rm>3&&49999==rd||5e4==rd||0==rd):r=(rm<4&&rd+1==k||rm>3&&rd+1==k/2)&&(d[di+1]/k/100|0)==mathpow(10,i-2)-1||(rd==k/2||0==rd)&&0==(d[di+1]/k/100|0):i<4?(0==i?rd=rd/1e3|0:1==i?rd=rd/100|0:2==i&&(rd=rd/10|0),r=(repeating||rm<4)&&9999==rd||!repeating&&rm>3&&4999==rd):r=((repeating||rm<4)&&rd+1==k||!repeating&&rm>3&&rd+1==k/2)&&(d[di+1]/k/1e3|0)==mathpow(10,i-3)-1,r}function convertBase(str,baseIn,baseOut){for(var j,arrL,arr=[0],i=0,strL=str.length;i<strL;){for(arrL=arr.length;arrL--;)arr[arrL]*=baseIn;for(arr[0]+=NUMERALS.indexOf(str.charAt(i++)),j=0;j<arr.length;j++)arr[j]>baseOut-1&&(void 0===arr[j+1]&&(arr[j+1]=0),arr[j+1]+=arr[j]/baseOut|0,arr[j]%=baseOut)}return arr.reverse()}P.absoluteValue=P.abs=function(){var x=new this.constructor(this);return x.s<0&&(x.s=1),finalise(x)},P.ceil=function(){return finalise(new this.constructor(this),this.e+1,2)},P.clampedTo=P.clamp=function(min,max){var x=this,Ctor=x.constructor;if(min=new Ctor(min),max=new Ctor(max),!min.s||!max.s)return new Ctor(NaN);if(min.gt(max))throw Error(invalidArgument+max);return x.cmp(min)<0?min:x.cmp(max)>0?max:new Ctor(x)},P.comparedTo=P.cmp=function(y){var i,j,xdL,ydL,x=this,xd=x.d,yd=(y=new x.constructor(y)).d,xs=x.s,ys=y.s;if(!xd||!yd)return xs&&ys?xs!==ys?xs:xd===yd?0:!xd^xs<0?1:-1:NaN;if(!xd[0]||!yd[0])return xd[0]?xs:yd[0]?-ys:0;if(xs!==ys)return xs;if(x.e!==y.e)return x.e>y.e^xs<0?1:-1;for(i=0,j=(xdL=xd.length)<(ydL=yd.length)?xdL:ydL;i<j;++i)if(xd[i]!==yd[i])return xd[i]>yd[i]^xs<0?1:-1;return xdL===ydL?0:xdL>ydL^xs<0?1:-1},P.cosine=P.cos=function(){var pr,rm,x=this,Ctor=x.constructor;return x.d?x.d[0]?(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(x.e,x.sd())+7,Ctor.rounding=1,x=function cosine(Ctor,x){var k,len,y;if(x.isZero())return x;(len=x.d.length)<32?y=(1/tinyPow(4,k=Math.ceil(len/3))).toString():(k=16,y="2.3283064365386962890625e-10");Ctor.precision+=k,x=taylorSeries(Ctor,1,x.times(y),new Ctor(1));for(var i=k;i--;){var cos2x=x.times(x);x=cos2x.times(cos2x).minus(cos2x).times(8).plus(1)}return Ctor.precision-=k,x}(Ctor,toLessThanHalfPi(Ctor,x)),Ctor.precision=pr,Ctor.rounding=rm,finalise(2==quadrant||3==quadrant?x.neg():x,pr,rm,!0)):new Ctor(1):new Ctor(NaN)},P.cubeRoot=P.cbrt=function(){var e,m,n,r,rep,s,sd,t,t3,t3plusx,x=this,Ctor=x.constructor;if(!x.isFinite()||x.isZero())return new Ctor(x);for(external=!1,(s=x.s*mathpow(x.s*x,1/3))&&Math.abs(s)!=1/0?r=new Ctor(s.toString()):(n=digitsToString(x.d),(s=((e=x.e)-n.length+1)%3)&&(n+=1==s||-2==s?"0":"00"),s=mathpow(n,1/3),e=mathfloor((e+1)/3)-(e%3==(e<0?-1:2)),(r=new Ctor(n=s==1/0?"5e"+e:(n=s.toExponential()).slice(0,n.indexOf("e")+1)+e)).s=x.s),sd=(e=Ctor.precision)+3;;)if(t3plusx=(t3=(t=r).times(t).times(t)).plus(x),r=divide(t3plusx.plus(x).times(t),t3plusx.plus(t3),sd+2,1),digitsToString(t.d).slice(0,sd)===(n=digitsToString(r.d)).slice(0,sd)){if("9999"!=(n=n.slice(sd-3,sd+1))&&(rep||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(finalise(r,e+1,1),m=!r.times(r).times(r).eq(x));break}if(!rep&&(finalise(t,e+1,0),t.times(t).times(t).eq(x))){r=t;break}sd+=4,rep=1}return external=!0,finalise(r,e,Ctor.rounding,m)},P.decimalPlaces=P.dp=function(){var w,d=this.d,n=NaN;if(d){if(n=7*((w=d.length-1)-mathfloor(this.e/7)),w=d[w])for(;w%10==0;w/=10)n--;n<0&&(n=0)}return n},P.dividedBy=P.div=function(y){return divide(this,new this.constructor(y))},P.dividedToIntegerBy=P.divToInt=function(y){var Ctor=this.constructor;return finalise(divide(this,new Ctor(y),0,1,1),Ctor.precision,Ctor.rounding)},P.equals=P.eq=function(y){return 0===this.cmp(y)},P.floor=function(){return finalise(new this.constructor(this),this.e+1,3)},P.greaterThan=P.gt=function(y){return this.cmp(y)>0},P.greaterThanOrEqualTo=P.gte=function(y){var k=this.cmp(y);return 1==k||0===k},P.hyperbolicCosine=P.cosh=function(){var k,n,pr,rm,len,x=this,Ctor=x.constructor,one=new Ctor(1);if(!x.isFinite())return new Ctor(x.s?1/0:NaN);if(x.isZero())return one;pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(x.e,x.sd())+4,Ctor.rounding=1,(len=x.d.length)<32?n=(1/tinyPow(4,k=Math.ceil(len/3))).toString():(k=16,n="2.3283064365386962890625e-10"),x=taylorSeries(Ctor,1,x.times(n),new Ctor(1),!0);for(var cosh2_x,i=k,d8=new Ctor(8);i--;)cosh2_x=x.times(x),x=one.minus(cosh2_x.times(d8.minus(cosh2_x.times(d8))));return finalise(x,Ctor.precision=pr,Ctor.rounding=rm,!0)},P.hyperbolicSine=P.sinh=function(){var k,pr,rm,len,x=this,Ctor=x.constructor;if(!x.isFinite()||x.isZero())return new Ctor(x);if(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(x.e,x.sd())+4,Ctor.rounding=1,(len=x.d.length)<3)x=taylorSeries(Ctor,2,x,x,!0);else{k=(k=1.4*Math.sqrt(len))>16?16:0|k,x=taylorSeries(Ctor,2,x=x.times(1/tinyPow(5,k)),x,!0);for(var sinh2_x,d5=new Ctor(5),d16=new Ctor(16),d20=new Ctor(20);k--;)sinh2_x=x.times(x),x=x.times(d5.plus(sinh2_x.times(d16.times(sinh2_x).plus(d20))))}return Ctor.precision=pr,Ctor.rounding=rm,finalise(x,pr,rm,!0)},P.hyperbolicTangent=P.tanh=function(){var pr,rm,x=this,Ctor=x.constructor;return x.isFinite()?x.isZero()?new Ctor(x):(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+7,Ctor.rounding=1,divide(x.sinh(),x.cosh(),Ctor.precision=pr,Ctor.rounding=rm)):new Ctor(x.s)},P.inverseCosine=P.acos=function(){var halfPi,x=this,Ctor=x.constructor,k=x.abs().cmp(1),pr=Ctor.precision,rm=Ctor.rounding;return-1!==k?0===k?x.isNeg()?getPi(Ctor,pr,rm):new Ctor(0):new Ctor(NaN):x.isZero()?getPi(Ctor,pr+4,rm).times(.5):(Ctor.precision=pr+6,Ctor.rounding=1,x=x.asin(),halfPi=getPi(Ctor,pr+4,rm).times(.5),Ctor.precision=pr,Ctor.rounding=rm,halfPi.minus(x))},P.inverseHyperbolicCosine=P.acosh=function(){var pr,rm,x=this,Ctor=x.constructor;return x.lte(1)?new Ctor(x.eq(1)?0:NaN):x.isFinite()?(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(Math.abs(x.e),x.sd())+4,Ctor.rounding=1,external=!1,x=x.times(x).minus(1).sqrt().plus(x),external=!0,Ctor.precision=pr,Ctor.rounding=rm,x.ln()):new Ctor(x)},P.inverseHyperbolicSine=P.asinh=function(){var pr,rm,x=this,Ctor=x.constructor;return!x.isFinite()||x.isZero()?new Ctor(x):(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+2*Math.max(Math.abs(x.e),x.sd())+6,Ctor.rounding=1,external=!1,x=x.times(x).plus(1).sqrt().plus(x),external=!0,Ctor.precision=pr,Ctor.rounding=rm,x.ln())},P.inverseHyperbolicTangent=P.atanh=function(){var pr,rm,wpr,xsd,x=this,Ctor=x.constructor;return x.isFinite()?x.e>=0?new Ctor(x.abs().eq(1)?x.s/0:x.isZero()?x:NaN):(pr=Ctor.precision,rm=Ctor.rounding,xsd=x.sd(),Math.max(xsd,pr)<2*-x.e-1?finalise(new Ctor(x),pr,rm,!0):(Ctor.precision=wpr=xsd-x.e,x=divide(x.plus(1),new Ctor(1).minus(x),wpr+pr,1),Ctor.precision=pr+4,Ctor.rounding=1,x=x.ln(),Ctor.precision=pr,Ctor.rounding=rm,x.times(.5))):new Ctor(NaN)},P.inverseSine=P.asin=function(){var halfPi,k,pr,rm,x=this,Ctor=x.constructor;return x.isZero()?new Ctor(x):(k=x.abs().cmp(1),pr=Ctor.precision,rm=Ctor.rounding,-1!==k?0===k?((halfPi=getPi(Ctor,pr+4,rm).times(.5)).s=x.s,halfPi):new Ctor(NaN):(Ctor.precision=pr+6,Ctor.rounding=1,x=x.div(new Ctor(1).minus(x.times(x)).sqrt().plus(1)).atan(),Ctor.precision=pr,Ctor.rounding=rm,x.times(2)))},P.inverseTangent=P.atan=function(){var i,j,k,n,px,t,r,wpr,x2,x=this,Ctor=x.constructor,pr=Ctor.precision,rm=Ctor.rounding;if(x.isFinite()){if(x.isZero())return new Ctor(x);if(x.abs().eq(1)&&pr+4<=PI_PRECISION)return(r=getPi(Ctor,pr+4,rm).times(.25)).s=x.s,r}else{if(!x.s)return new Ctor(NaN);if(pr+4<=PI_PRECISION)return(r=getPi(Ctor,pr+4,rm).times(.5)).s=x.s,r}for(Ctor.precision=wpr=pr+10,Ctor.rounding=1,i=k=Math.min(28,wpr/7+2|0);i;--i)x=x.div(x.times(x).plus(1).sqrt().plus(1));for(external=!1,j=Math.ceil(wpr/7),n=1,x2=x.times(x),r=new Ctor(x),px=x;-1!==i;)if(px=px.times(x2),t=r.minus(px.div(n+=2)),px=px.times(x2),void 0!==(r=t.plus(px.div(n+=2))).d[j])for(i=j;r.d[i]===t.d[i]&&i--;);return k&&(r=r.times(2<<k-1)),external=!0,finalise(r,Ctor.precision=pr,Ctor.rounding=rm,!0)},P.isFinite=function(){return!!this.d},P.isInteger=P.isInt=function(){return!!this.d&&mathfloor(this.e/7)>this.d.length-2},P.isNaN=function(){return!this.s},P.isNegative=P.isNeg=function(){return this.s<0},P.isPositive=P.isPos=function(){return this.s>0},P.isZero=function(){return!!this.d&&0===this.d[0]},P.lessThan=P.lt=function(y){return this.cmp(y)<0},P.lessThanOrEqualTo=P.lte=function(y){return this.cmp(y)<1},P.logarithm=P.log=function(base){var isBase10,d,denominator,k,inf,num,sd,r,Ctor=this.constructor,pr=Ctor.precision,rm=Ctor.rounding;if(null==base)base=new Ctor(10),isBase10=!0;else{if(d=(base=new Ctor(base)).d,base.s<0||!d||!d[0]||base.eq(1))return new Ctor(NaN);isBase10=base.eq(10)}if(d=this.d,this.s<0||!d||!d[0]||this.eq(1))return new Ctor(d&&!d[0]?-1/0:1!=this.s?NaN:d?0:1/0);if(isBase10)if(d.length>1)inf=!0;else{for(k=d[0];k%10==0;)k/=10;inf=1!==k}if(external=!1,num=naturalLogarithm(this,sd=pr+5),denominator=isBase10?getLn10(Ctor,sd+10):naturalLogarithm(base,sd),checkRoundingDigits((r=divide(num,denominator,sd,1)).d,k=pr,rm))do{if(num=naturalLogarithm(this,sd+=10),denominator=isBase10?getLn10(Ctor,sd+10):naturalLogarithm(base,sd),r=divide(num,denominator,sd,1),!inf){+digitsToString(r.d).slice(k+1,k+15)+1==1e14&&(r=finalise(r,pr+1,0));break}}while(checkRoundingDigits(r.d,k+=10,rm));return external=!0,finalise(r,pr,rm)},P.minus=P.sub=function(y){var d,e,i,j,k,len,pr,rm,xd,xe,xLTy,yd,x=this,Ctor=x.constructor;if(y=new Ctor(y),!x.d||!y.d)return x.s&&y.s?x.d?y.s=-y.s:y=new Ctor(y.d||x.s!==y.s?x:NaN):y=new Ctor(NaN),y;if(x.s!=y.s)return y.s=-y.s,x.plus(y);if(xd=x.d,yd=y.d,pr=Ctor.precision,rm=Ctor.rounding,!xd[0]||!yd[0]){if(yd[0])y.s=-y.s;else{if(!xd[0])return new Ctor(3===rm?-0:0);y=new Ctor(x)}return external?finalise(y,pr,rm):y}if(e=mathfloor(y.e/7),xe=mathfloor(x.e/7),xd=xd.slice(),k=xe-e){for((xLTy=k<0)?(d=xd,k=-k,len=yd.length):(d=yd,e=xe,len=xd.length),k>(i=Math.max(Math.ceil(pr/7),len)+2)&&(k=i,d.length=1),d.reverse(),i=k;i--;)d.push(0);d.reverse()}else{for((xLTy=(i=xd.length)<(len=yd.length))&&(len=i),i=0;i<len;i++)if(xd[i]!=yd[i]){xLTy=xd[i]<yd[i];break}k=0}for(xLTy&&(d=xd,xd=yd,yd=d,y.s=-y.s),len=xd.length,i=yd.length-len;i>0;--i)xd[len++]=0;for(i=yd.length;i>k;){if(xd[--i]<yd[i]){for(j=i;j&&0===xd[--j];)xd[j]=BASE-1;--xd[j],xd[i]+=BASE}xd[i]-=yd[i]}for(;0===xd[--len];)xd.pop();for(;0===xd[0];xd.shift())--e;return xd[0]?(y.d=xd,y.e=getBase10Exponent(xd,e),external?finalise(y,pr,rm):y):new Ctor(3===rm?-0:0)},P.modulo=P.mod=function(y){var q,x=this,Ctor=x.constructor;return y=new Ctor(y),!x.d||!y.s||y.d&&!y.d[0]?new Ctor(NaN):!y.d||x.d&&!x.d[0]?finalise(new Ctor(x),Ctor.precision,Ctor.rounding):(external=!1,9==Ctor.modulo?(q=divide(x,y.abs(),0,3,1)).s*=y.s:q=divide(x,y,0,Ctor.modulo,1),q=q.times(y),external=!0,x.minus(q))},P.naturalExponential=P.exp=function(){return naturalExponential(this)},P.naturalLogarithm=P.ln=function(){return naturalLogarithm(this)},P.negated=P.neg=function(){var x=new this.constructor(this);return x.s=-x.s,finalise(x)},P.plus=P.add=function(y){var carry,d,e,i,k,len,pr,rm,xd,yd,x=this,Ctor=x.constructor;if(y=new Ctor(y),!x.d||!y.d)return x.s&&y.s?x.d||(y=new Ctor(y.d||x.s===y.s?x:NaN)):y=new Ctor(NaN),y;if(x.s!=y.s)return y.s=-y.s,x.minus(y);if(xd=x.d,yd=y.d,pr=Ctor.precision,rm=Ctor.rounding,!xd[0]||!yd[0])return yd[0]||(y=new Ctor(x)),external?finalise(y,pr,rm):y;if(k=mathfloor(x.e/7),e=mathfloor(y.e/7),xd=xd.slice(),i=k-e){for(i<0?(d=xd,i=-i,len=yd.length):(d=yd,e=k,len=xd.length),i>(len=(k=Math.ceil(pr/7))>len?k+1:len+1)&&(i=len,d.length=1),d.reverse();i--;)d.push(0);d.reverse()}for((len=xd.length)-(i=yd.length)<0&&(i=len,d=yd,yd=xd,xd=d),carry=0;i;)carry=(xd[--i]=xd[i]+yd[i]+carry)/BASE|0,xd[i]%=BASE;for(carry&&(xd.unshift(carry),++e),len=xd.length;0==xd[--len];)xd.pop();return y.d=xd,y.e=getBase10Exponent(xd,e),external?finalise(y,pr,rm):y},P.precision=P.sd=function(z){var k,x=this;if(void 0!==z&&z!==!!z&&1!==z&&0!==z)throw Error(invalidArgument+z);return x.d?(k=getPrecision(x.d),z&&x.e+1>k&&(k=x.e+1)):k=NaN,k},P.round=function(){var x=this,Ctor=x.constructor;return finalise(new Ctor(x),x.e+1,Ctor.rounding)},P.sine=P.sin=function(){var pr,rm,x=this,Ctor=x.constructor;return x.isFinite()?x.isZero()?new Ctor(x):(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(x.e,x.sd())+7,Ctor.rounding=1,x=function sine(Ctor,x){var k,len=x.d.length;if(len<3)return x.isZero()?x:taylorSeries(Ctor,2,x,x);k=(k=1.4*Math.sqrt(len))>16?16:0|k,x=x.times(1/tinyPow(5,k)),x=taylorSeries(Ctor,2,x,x);for(var sin2_x,d5=new Ctor(5),d16=new Ctor(16),d20=new Ctor(20);k--;)sin2_x=x.times(x),x=x.times(d5.plus(sin2_x.times(d16.times(sin2_x).minus(d20))));return x}(Ctor,toLessThanHalfPi(Ctor,x)),Ctor.precision=pr,Ctor.rounding=rm,finalise(quadrant>2?x.neg():x,pr,rm,!0)):new Ctor(NaN)},P.squareRoot=P.sqrt=function(){var m,n,sd,r,rep,t,x=this,d=x.d,e=x.e,s=x.s,Ctor=x.constructor;if(1!==s||!d||!d[0])return new Ctor(!s||s<0&&(!d||d[0])?NaN:d?x:1/0);for(external=!1,0==(s=Math.sqrt(+x))||s==1/0?(((n=digitsToString(d)).length+e)%2==0&&(n+="0"),s=Math.sqrt(n),e=mathfloor((e+1)/2)-(e<0||e%2),r=new Ctor(n=s==1/0?"5e"+e:(n=s.toExponential()).slice(0,n.indexOf("e")+1)+e)):r=new Ctor(s.toString()),sd=(e=Ctor.precision)+3;;)if(r=(t=r).plus(divide(x,t,sd+2,1)).times(.5),digitsToString(t.d).slice(0,sd)===(n=digitsToString(r.d)).slice(0,sd)){if("9999"!=(n=n.slice(sd-3,sd+1))&&(rep||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(finalise(r,e+1,1),m=!r.times(r).eq(x));break}if(!rep&&(finalise(t,e+1,0),t.times(t).eq(x))){r=t;break}sd+=4,rep=1}return external=!0,finalise(r,e,Ctor.rounding,m)},P.tangent=P.tan=function(){var pr,rm,x=this,Ctor=x.constructor;return x.isFinite()?x.isZero()?new Ctor(x):(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+10,Ctor.rounding=1,(x=x.sin()).s=1,x=divide(x,new Ctor(1).minus(x.times(x)).sqrt(),pr+10,0),Ctor.precision=pr,Ctor.rounding=rm,finalise(2==quadrant||4==quadrant?x.neg():x,pr,rm,!0)):new Ctor(NaN)},P.times=P.mul=function(y){var carry,e,i,k,r,rL,t,xdL,ydL,x=this,Ctor=x.constructor,xd=x.d,yd=(y=new Ctor(y)).d;if(y.s*=x.s,!(xd&&xd[0]&&yd&&yd[0]))return new Ctor(!y.s||xd&&!xd[0]&&!yd||yd&&!yd[0]&&!xd?NaN:xd&&yd?0*y.s:y.s/0);for(e=mathfloor(x.e/7)+mathfloor(y.e/7),(xdL=xd.length)<(ydL=yd.length)&&(r=xd,xd=yd,yd=r,rL=xdL,xdL=ydL,ydL=rL),r=[],i=rL=xdL+ydL;i--;)r.push(0);for(i=ydL;--i>=0;){for(carry=0,k=xdL+i;k>i;)t=r[k]+yd[i]*xd[k-i-1]+carry,r[k--]=t%BASE|0,carry=t/BASE|0;r[k]=(r[k]+carry)%BASE|0}for(;!r[--rL];)r.pop();return carry?++e:r.shift(),y.d=r,y.e=getBase10Exponent(r,e),external?finalise(y,Ctor.precision,Ctor.rounding):y},P.toBinary=function(sd,rm){return toStringBinary(this,2,sd,rm)},P.toDecimalPlaces=P.toDP=function(dp,rm){var x=this,Ctor=x.constructor;return x=new Ctor(x),void 0===dp?x:(checkInt32(dp,0,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),finalise(x,dp+x.e+1,rm))},P.toExponential=function(dp,rm){var str,x=this,Ctor=x.constructor;return void 0===dp?str=finiteToString(x,!0):(checkInt32(dp,0,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),str=finiteToString(x=finalise(new Ctor(x),dp+1,rm),!0,dp+1)),x.isNeg()&&!x.isZero()?"-"+str:str},P.toFixed=function(dp,rm){var str,y,x=this,Ctor=x.constructor;return void 0===dp?str=finiteToString(x):(checkInt32(dp,0,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),str=finiteToString(y=finalise(new Ctor(x),dp+x.e+1,rm),!1,dp+y.e+1)),x.isNeg()&&!x.isZero()?"-"+str:str},P.toFraction=function(maxD){var d,d0,d1,d2,e,k,n,n0,n1,pr,q,r,x=this,xd=x.d,Ctor=x.constructor;if(!xd)return new Ctor(x);if(n1=d0=new Ctor(1),d1=n0=new Ctor(0),k=(e=(d=new Ctor(d1)).e=getPrecision(xd)-x.e-1)%7,d.d[0]=mathpow(10,k<0?7+k:k),null==maxD)maxD=e>0?d:n1;else{if(!(n=new Ctor(maxD)).isInt()||n.lt(n1))throw Error(invalidArgument+n);maxD=n.gt(d)?e>0?d:n1:n}for(external=!1,n=new Ctor(digitsToString(xd)),pr=Ctor.precision,Ctor.precision=e=7*xd.length*2;q=divide(n,d,0,1,1),1!=(d2=d0.plus(q.times(d1))).cmp(maxD);)d0=d1,d1=d2,d2=n1,n1=n0.plus(q.times(d2)),n0=d2,d2=d,d=n.minus(q.times(d2)),n=d2;return d2=divide(maxD.minus(d0),d1,0,1,1),n0=n0.plus(d2.times(n1)),d0=d0.plus(d2.times(d1)),n0.s=n1.s=x.s,r=divide(n1,d1,e,1).minus(x).abs().cmp(divide(n0,d0,e,1).minus(x).abs())<1?[n1,d1]:[n0,d0],Ctor.precision=pr,external=!0,r},P.toHexadecimal=P.toHex=function(sd,rm){return toStringBinary(this,16,sd,rm)},P.toNearest=function(y,rm){var x=this,Ctor=x.constructor;if(x=new Ctor(x),null==y){if(!x.d)return x;y=new Ctor(1),rm=Ctor.rounding}else{if(y=new Ctor(y),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),!x.d)return y.s?x:y;if(!y.d)return y.s&&(y.s=x.s),y}return y.d[0]?(external=!1,x=divide(x,y,0,rm,1).times(y),external=!0,finalise(x)):(y.s=x.s,x=y),x},P.toNumber=function(){return+this},P.toOctal=function(sd,rm){return toStringBinary(this,8,sd,rm)},P.toPower=P.pow=function(y){var e,k,pr,r,rm,s,x=this,Ctor=x.constructor,yn=+(y=new Ctor(y));if(!(x.d&&y.d&&x.d[0]&&y.d[0]))return new Ctor(mathpow(+x,yn));if((x=new Ctor(x)).eq(1))return x;if(pr=Ctor.precision,rm=Ctor.rounding,y.eq(1))return finalise(x,pr,rm);if((e=mathfloor(y.e/7))>=y.d.length-1&&(k=yn<0?-yn:yn)<=9007199254740991)return r=intPow(Ctor,x,k,pr),y.s<0?new Ctor(1).div(r):finalise(r,pr,rm);if((s=x.s)<0){if(e<y.d.length-1)return new Ctor(NaN);if(0==(1&y.d[e])&&(s=1),0==x.e&&1==x.d[0]&&1==x.d.length)return x.s=s,x}return(e=0!=(k=mathpow(+x,yn))&&isFinite(k)?new Ctor(k+"").e:mathfloor(yn*(Math.log("0."+digitsToString(x.d))/Math.LN10+x.e+1)))>Ctor.maxE+1||e<Ctor.minE-1?new Ctor(e>0?s/0:0):(external=!1,Ctor.rounding=x.s=1,k=Math.min(12,(e+"").length),(r=naturalExponential(y.times(naturalLogarithm(x,pr+k)),pr)).d&&checkRoundingDigits((r=finalise(r,pr+5,1)).d,pr,rm)&&(e=pr+10,+digitsToString((r=finalise(naturalExponential(y.times(naturalLogarithm(x,e+k)),e),e+5,1)).d).slice(pr+1,pr+15)+1==1e14&&(r=finalise(r,pr+1,0))),r.s=s,external=!0,Ctor.rounding=rm,finalise(r,pr,rm))},P.toPrecision=function(sd,rm){var str,x=this,Ctor=x.constructor;return void 0===sd?str=finiteToString(x,x.e<=Ctor.toExpNeg||x.e>=Ctor.toExpPos):(checkInt32(sd,1,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),str=finiteToString(x=finalise(new Ctor(x),sd,rm),sd<=x.e||x.e<=Ctor.toExpNeg,sd)),x.isNeg()&&!x.isZero()?"-"+str:str},P.toSignificantDigits=P.toSD=function(sd,rm){var Ctor=this.constructor;return void 0===sd?(sd=Ctor.precision,rm=Ctor.rounding):(checkInt32(sd,1,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8)),finalise(new Ctor(this),sd,rm)},P.toString=function(){var x=this,Ctor=x.constructor,str=finiteToString(x,x.e<=Ctor.toExpNeg||x.e>=Ctor.toExpPos);return x.isNeg()&&!x.isZero()?"-"+str:str},P.truncated=P.trunc=function(){return finalise(new this.constructor(this),this.e+1,1)},P.valueOf=P.toJSON=function(){var x=this,Ctor=x.constructor,str=finiteToString(x,x.e<=Ctor.toExpNeg||x.e>=Ctor.toExpPos);return x.isNeg()?"-"+str:str};var divide=function(){function multiplyInteger(x,k,base){var temp,carry=0,i=x.length;for(x=x.slice();i--;)temp=x[i]*k+carry,x[i]=temp%base|0,carry=temp/base|0;return carry&&x.unshift(carry),x}function compare(a,b,aL,bL){var i,r;if(aL!=bL)r=aL>bL?1:-1;else for(i=r=0;i<aL;i++)if(a[i]!=b[i]){r=a[i]>b[i]?1:-1;break}return r}function subtract(a,b,aL,base){for(var i=0;aL--;)a[aL]-=i,i=a[aL]<b[aL]?1:0,a[aL]=i*base+a[aL]-b[aL];for(;!a[0]&&a.length>1;)a.shift()}return function(x,y,pr,rm,dp,base){var cmp,e,i,k,logBase,more,prod,prodL,q,qd,rem,remL,rem0,sd,t,xi,xL,yd0,yL,yz,Ctor=x.constructor,sign=x.s==y.s?1:-1,xd=x.d,yd=y.d;if(!(xd&&xd[0]&&yd&&yd[0]))return new Ctor(x.s&&y.s&&(xd?!yd||xd[0]!=yd[0]:yd)?xd&&0==xd[0]||!yd?0*sign:sign/0:NaN);for(base?(logBase=1,e=x.e-y.e):(base=BASE,logBase=7,e=mathfloor(x.e/logBase)-mathfloor(y.e/logBase)),yL=yd.length,xL=xd.length,qd=(q=new Ctor(sign)).d=[],i=0;yd[i]==(xd[i]||0);i++);if(yd[i]>(xd[i]||0)&&e--,null==pr?(sd=pr=Ctor.precision,rm=Ctor.rounding):sd=dp?pr+(x.e-y.e)+1:pr,sd<0)qd.push(1),more=!0;else{if(sd=sd/logBase+2|0,i=0,1==yL){for(k=0,yd=yd[0],sd++;(i<xL||k)&&sd--;i++)t=k*base+(xd[i]||0),qd[i]=t/yd|0,k=t%yd|0;more=k||i<xL}else{for((k=base/(yd[0]+1)|0)>1&&(yd=multiplyInteger(yd,k,base),xd=multiplyInteger(xd,k,base),yL=yd.length,xL=xd.length),xi=yL,remL=(rem=xd.slice(0,yL)).length;remL<yL;)rem[remL++]=0;(yz=yd.slice()).unshift(0),yd0=yd[0],yd[1]>=base/2&&++yd0;do{k=0,(cmp=compare(yd,rem,yL,remL))<0?(rem0=rem[0],yL!=remL&&(rem0=rem0*base+(rem[1]||0)),(k=rem0/yd0|0)>1?(k>=base&&(k=base-1),1==(cmp=compare(prod=multiplyInteger(yd,k,base),rem,prodL=prod.length,remL=rem.length))&&(k--,subtract(prod,yL<prodL?yz:yd,prodL,base))):(0==k&&(cmp=k=1),prod=yd.slice()),(prodL=prod.length)<remL&&prod.unshift(0),subtract(rem,prod,remL,base),-1==cmp&&(cmp=compare(yd,rem,yL,remL=rem.length))<1&&(k++,subtract(rem,yL<remL?yz:yd,remL,base)),remL=rem.length):0===cmp&&(k++,rem=[0]),qd[i++]=k,cmp&&rem[0]?rem[remL++]=xd[xi]||0:(rem=[xd[xi]],remL=1)}while((xi++<xL||void 0!==rem[0])&&sd--);more=void 0!==rem[0]}qd[0]||qd.shift()}if(1==logBase)q.e=e,inexact=more;else{for(i=1,k=qd[0];k>=10;k/=10)i++;q.e=i+e*logBase-1,finalise(q,dp?pr+q.e+1:pr,rm,more)}return q}}();function finalise(x,sd,rm,isTruncated){var digits,i,j,k,rd,roundUp,w,xd,xdi,Ctor=x.constructor;out:if(null!=sd){if(!(xd=x.d))return x;for(digits=1,k=xd[0];k>=10;k/=10)digits++;if((i=sd-digits)<0)i+=7,j=sd,rd=(w=xd[xdi=0])/mathpow(10,digits-j-1)%10|0;else if((xdi=Math.ceil((i+1)/7))>=(k=xd.length)){if(!isTruncated)break out;for(;k++<=xdi;)xd.push(0);w=rd=0,digits=1,j=(i%=7)-7+1}else{for(w=k=xd[xdi],digits=1;k>=10;k/=10)digits++;rd=(j=(i%=7)-7+digits)<0?0:w/mathpow(10,digits-j-1)%10|0}if(isTruncated=isTruncated||sd<0||void 0!==xd[xdi+1]||(j<0?w:w%mathpow(10,digits-j-1)),roundUp=rm<4?(rd||isTruncated)&&(0==rm||rm==(x.s<0?3:2)):rd>5||5==rd&&(4==rm||isTruncated||6==rm&&(i>0?j>0?w/mathpow(10,digits-j):0:xd[xdi-1])%10&1||rm==(x.s<0?8:7)),sd<1||!xd[0])return xd.length=0,roundUp?(sd-=x.e+1,xd[0]=mathpow(10,(7-sd%7)%7),x.e=-sd||0):xd[0]=x.e=0,x;if(0==i?(xd.length=xdi,k=1,xdi--):(xd.length=xdi+1,k=mathpow(10,7-i),xd[xdi]=j>0?(w/mathpow(10,digits-j)%mathpow(10,j)|0)*k:0),roundUp)for(;;){if(0==xdi){for(i=1,j=xd[0];j>=10;j/=10)i++;for(j=xd[0]+=k,k=1;j>=10;j/=10)k++;i!=k&&(x.e++,xd[0]==BASE&&(xd[0]=1));break}if(xd[xdi]+=k,xd[xdi]!=BASE)break;xd[xdi--]=0,k=1}for(i=xd.length;0===xd[--i];)xd.pop()}return external&&(x.e>Ctor.maxE?(x.d=null,x.e=NaN):x.e<Ctor.minE&&(x.e=0,x.d=[0])),x}function finiteToString(x,isExp,sd){if(!x.isFinite())return nonFiniteToString(x);var k,e=x.e,str=digitsToString(x.d),len=str.length;return isExp?(sd&&(k=sd-len)>0?str=str.charAt(0)+"."+str.slice(1)+getZeroString(k):len>1&&(str=str.charAt(0)+"."+str.slice(1)),str=str+(x.e<0?"e":"e+")+x.e):e<0?(str="0."+getZeroString(-e-1)+str,sd&&(k=sd-len)>0&&(str+=getZeroString(k))):e>=len?(str+=getZeroString(e+1-len),sd&&(k=sd-e-1)>0&&(str=str+"."+getZeroString(k))):((k=e+1)<len&&(str=str.slice(0,k)+"."+str.slice(k)),sd&&(k=sd-len)>0&&(e+1===len&&(str+="."),str+=getZeroString(k))),str}function getBase10Exponent(digits,e){var w=digits[0];for(e*=7;w>=10;w/=10)e++;return e}function getLn10(Ctor,sd,pr){if(sd>LN10_PRECISION)throw external=!0,pr&&(Ctor.precision=pr),Error("[DecimalError] Precision limit exceeded");return finalise(new Ctor(LN10),sd,1,!0)}function getPi(Ctor,sd,rm){if(sd>PI_PRECISION)throw Error("[DecimalError] Precision limit exceeded");return finalise(new Ctor(PI),sd,rm,!0)}function getPrecision(digits){var w=digits.length-1,len=7*w+1;if(w=digits[w]){for(;w%10==0;w/=10)len--;for(w=digits[0];w>=10;w/=10)len++}return len}function getZeroString(k){for(var zs="";k--;)zs+="0";return zs}function intPow(Ctor,x,n,pr){var isTruncated,r=new Ctor(1),k=Math.ceil(pr/7+4);for(external=!1;;){if(n%2&&truncate((r=r.times(x)).d,k)&&(isTruncated=!0),0===(n=mathfloor(n/2))){n=r.d.length-1,isTruncated&&0===r.d[n]&&++r.d[n];break}truncate((x=x.times(x)).d,k)}return external=!0,r}function isOdd(n){return 1&n.d[n.d.length-1]}function maxOrMin(Ctor,args,ltgt){for(var y,x=new Ctor(args[0]),i=0;++i<args.length;){if(!(y=new Ctor(args[i])).s){x=y;break}x[ltgt](y)&&(x=y)}return x}function naturalExponential(x,sd){var denominator,guard,j,pow,sum,t,wpr,rep=0,i=0,k=0,Ctor=x.constructor,rm=Ctor.rounding,pr=Ctor.precision;if(!x.d||!x.d[0]||x.e>17)return new Ctor(x.d?x.d[0]?x.s<0?0:1/0:1:x.s?x.s<0?0:x:NaN);for(null==sd?(external=!1,wpr=pr):wpr=sd,t=new Ctor(.03125);x.e>-2;)x=x.times(t),k+=5;for(wpr+=guard=Math.log(mathpow(2,k))/Math.LN10*2+5|0,denominator=pow=sum=new Ctor(1),Ctor.precision=wpr;;){if(pow=finalise(pow.times(x),wpr,1),denominator=denominator.times(++i),digitsToString((t=sum.plus(divide(pow,denominator,wpr,1))).d).slice(0,wpr)===digitsToString(sum.d).slice(0,wpr)){for(j=k;j--;)sum=finalise(sum.times(sum),wpr,1);if(null!=sd)return Ctor.precision=pr,sum;if(!(rep<3&&checkRoundingDigits(sum.d,wpr-guard,rm,rep)))return finalise(sum,Ctor.precision=pr,rm,external=!0);Ctor.precision=wpr+=10,denominator=pow=t=new Ctor(1),i=0,rep++}sum=t}}function naturalLogarithm(y,sd){var c,c0,denominator,e,numerator,rep,sum,t,wpr,x1,x2,n=1,x=y,xd=x.d,Ctor=x.constructor,rm=Ctor.rounding,pr=Ctor.precision;if(x.s<0||!xd||!xd[0]||!x.e&&1==xd[0]&&1==xd.length)return new Ctor(xd&&!xd[0]?-1/0:1!=x.s?NaN:xd?0:x);if(null==sd?(external=!1,wpr=pr):wpr=sd,Ctor.precision=wpr+=10,c0=(c=digitsToString(xd)).charAt(0),!(Math.abs(e=x.e)<15e14))return t=getLn10(Ctor,wpr+2,pr).times(e+""),x=naturalLogarithm(new Ctor(c0+"."+c.slice(1)),wpr-10).plus(t),Ctor.precision=pr,null==sd?finalise(x,pr,rm,external=!0):x;for(;c0<7&&1!=c0||1==c0&&c.charAt(1)>3;)c0=(c=digitsToString((x=x.times(y)).d)).charAt(0),n++;for(e=x.e,c0>1?(x=new Ctor("0."+c),e++):x=new Ctor(c0+"."+c.slice(1)),x1=x,sum=numerator=x=divide(x.minus(1),x.plus(1),wpr,1),x2=finalise(x.times(x),wpr,1),denominator=3;;){if(numerator=finalise(numerator.times(x2),wpr,1),digitsToString((t=sum.plus(divide(numerator,new Ctor(denominator),wpr,1))).d).slice(0,wpr)===digitsToString(sum.d).slice(0,wpr)){if(sum=sum.times(2),0!==e&&(sum=sum.plus(getLn10(Ctor,wpr+2,pr).times(e+""))),sum=divide(sum,new Ctor(n),wpr,1),null!=sd)return Ctor.precision=pr,sum;if(!checkRoundingDigits(sum.d,wpr-10,rm,rep))return finalise(sum,Ctor.precision=pr,rm,external=!0);Ctor.precision=wpr+=10,t=numerator=x=divide(x1.minus(1),x1.plus(1),wpr,1),x2=finalise(x.times(x),wpr,1),denominator=rep=1}sum=t,denominator+=2}}function nonFiniteToString(x){return String(x.s*x.s/0)}function parseDecimal(x,str){var e,i,len;for((e=str.indexOf("."))>-1&&(str=str.replace(".","")),(i=str.search(/e/i))>0?(e<0&&(e=i),e+=+str.slice(i+1),str=str.substring(0,i)):e<0&&(e=str.length),i=0;48===str.charCodeAt(i);i++);for(len=str.length;48===str.charCodeAt(len-1);--len);if(str=str.slice(i,len)){if(len-=i,x.e=e=e-i-1,x.d=[],i=(e+1)%7,e<0&&(i+=7),i<len){for(i&&x.d.push(+str.slice(0,i)),len-=7;i<len;)x.d.push(+str.slice(i,i+=7));i=7-(str=str.slice(i)).length}else i-=len;for(;i--;)str+="0";x.d.push(+str),external&&(x.e>x.constructor.maxE?(x.d=null,x.e=NaN):x.e<x.constructor.minE&&(x.e=0,x.d=[0]))}else x.e=0,x.d=[0];return x}function parseOther(x,str){var base,Ctor,divisor,i,isFloat,len,p,xd,xe;if(str.indexOf("_")>-1){if(str=str.replace(/(\d)_(?=\d)/g,"$1"),isDecimal.test(str))return parseDecimal(x,str)}else if("Infinity"===str||"NaN"===str)return+str||(x.s=NaN),x.e=NaN,x.d=null,x;if(isHex.test(str))base=16,str=str.toLowerCase();else if(isBinary.test(str))base=2;else{if(!isOctal.test(str))throw Error(invalidArgument+str);base=8}for((i=str.search(/p/i))>0?(p=+str.slice(i+1),str=str.substring(2,i)):str=str.slice(2),isFloat=(i=str.indexOf("."))>=0,Ctor=x.constructor,isFloat&&(i=(len=(str=str.replace(".","")).length)-i,divisor=intPow(Ctor,new Ctor(base),i,2*i)),i=xe=(xd=convertBase(str,base,BASE)).length-1;0===xd[i];--i)xd.pop();return i<0?new Ctor(0*x.s):(x.e=getBase10Exponent(xd,xe),x.d=xd,external=!1,isFloat&&(x=divide(x,divisor,4*len)),p&&(x=x.times(Math.abs(p)<54?mathpow(2,p):Decimal.pow(2,p))),external=!0,x)}function taylorSeries(Ctor,n,x,y,isHyperbolic){var j,t,u,x2,pr=Ctor.precision,k=Math.ceil(pr/7);for(external=!1,x2=x.times(x),u=new Ctor(y);;){if(t=divide(u.times(x2),new Ctor(n++*n++),pr,1),u=isHyperbolic?y.plus(t):y.minus(t),y=divide(t.times(x2),new Ctor(n++*n++),pr,1),void 0!==(t=u.plus(y)).d[k]){for(j=k;t.d[j]===u.d[j]&&j--;);if(-1==j)break}j=u,u=y,y=t,t=j}return external=!0,t.d.length=k+1,t}function tinyPow(b,e){for(var n=b;--e;)n*=b;return n}function toLessThanHalfPi(Ctor,x){var t,isNeg=x.s<0,pi=getPi(Ctor,Ctor.precision,1),halfPi=pi.times(.5);if((x=x.abs()).lte(halfPi))return quadrant=isNeg?4:1,x;if((t=x.divToInt(pi)).isZero())quadrant=isNeg?3:2;else{if((x=x.minus(t.times(pi))).lte(halfPi))return quadrant=isOdd(t)?isNeg?2:3:isNeg?4:1,x;quadrant=isOdd(t)?isNeg?1:4:isNeg?3:2}return x.minus(pi).abs()}function toStringBinary(x,baseOut,sd,rm){var base,e,i,k,len,roundUp,str,xd,y,Ctor=x.constructor,isExp=void 0!==sd;if(isExp?(checkInt32(sd,1,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8)):(sd=Ctor.precision,rm=Ctor.rounding),x.isFinite()){for(isExp?(base=2,16==baseOut?sd=4*sd-3:8==baseOut&&(sd=3*sd-2)):base=baseOut,(i=(str=finiteToString(x)).indexOf("."))>=0&&(str=str.replace(".",""),(y=new Ctor(1)).e=str.length-i,y.d=convertBase(finiteToString(y),10,base),y.e=y.d.length),e=len=(xd=convertBase(str,10,base)).length;0==xd[--len];)xd.pop();if(xd[0]){if(i<0?e--:((x=new Ctor(x)).d=xd,x.e=e,xd=(x=divide(x,y,sd,rm,0,base)).d,e=x.e,roundUp=inexact),i=xd[sd],k=base/2,roundUp=roundUp||void 0!==xd[sd+1],roundUp=rm<4?(void 0!==i||roundUp)&&(0===rm||rm===(x.s<0?3:2)):i>k||i===k&&(4===rm||roundUp||6===rm&&1&xd[sd-1]||rm===(x.s<0?8:7)),xd.length=sd,roundUp)for(;++xd[--sd]>base-1;)xd[sd]=0,sd||(++e,xd.unshift(1));for(len=xd.length;!xd[len-1];--len);for(i=0,str="";i<len;i++)str+=NUMERALS.charAt(xd[i]);if(isExp){if(len>1)if(16==baseOut||8==baseOut){for(i=16==baseOut?4:3,--len;len%i;len++)str+="0";for(len=(xd=convertBase(str,base,baseOut)).length;!xd[len-1];--len);for(i=1,str="1.";i<len;i++)str+=NUMERALS.charAt(xd[i])}else str=str.charAt(0)+"."+str.slice(1);str=str+(e<0?"p":"p+")+e}else if(e<0){for(;++e;)str="0"+str;str="0."+str}else if(++e>len)for(e-=len;e--;)str+="0";else e<len&&(str=str.slice(0,e)+"."+str.slice(e))}else str=isExp?"0p+0":"0";str=(16==baseOut?"0x":2==baseOut?"0b":8==baseOut?"0o":"")+str}else str=nonFiniteToString(x);return x.s<0?"-"+str:str}function truncate(arr,len){if(arr.length>len)return arr.length=len,!0}function abs(x){return new this(x).abs()}function acos(x){return new this(x).acos()}function acosh(x){return new this(x).acosh()}function add(x,y){return new this(x).plus(y)}function asin(x){return new this(x).asin()}function asinh(x){return new this(x).asinh()}function atan(x){return new this(x).atan()}function atanh(x){return new this(x).atanh()}function atan2(y,x){y=new this(y),x=new this(x);var r,pr=this.precision,rm=this.rounding,wpr=pr+4;return y.s&&x.s?y.d||x.d?!x.d||y.isZero()?(r=x.s<0?getPi(this,pr,rm):new this(0)).s=y.s:!y.d||x.isZero()?(r=getPi(this,wpr,1).times(.5)).s=y.s:x.s<0?(this.precision=wpr,this.rounding=1,r=this.atan(divide(y,x,wpr,1)),x=getPi(this,wpr,1),this.precision=pr,this.rounding=rm,r=y.s<0?r.minus(x):r.plus(x)):r=this.atan(divide(y,x,wpr,1)):(r=getPi(this,wpr,1).times(x.s>0?.25:.75)).s=y.s:r=new this(NaN),r}function cbrt(x){return new this(x).cbrt()}function ceil(x){return finalise(x=new this(x),x.e+1,2)}function clamp(x,min,max){return new this(x).clamp(min,max)}function config(obj){if(!obj||"object"!=typeof obj)throw Error("[DecimalError] Object expected");var i,p,v,useDefaults=!0===obj.defaults,ps=["precision",1,1e9,"rounding",0,8,"toExpNeg",-EXP_LIMIT,0,"toExpPos",0,EXP_LIMIT,"maxE",0,EXP_LIMIT,"minE",-EXP_LIMIT,0,"modulo",0,9];for(i=0;i<ps.length;i+=3)if(p=ps[i],useDefaults&&(this[p]=DEFAULTS[p]),void 0!==(v=obj[p])){if(!(mathfloor(v)===v&&v>=ps[i+1]&&v<=ps[i+2]))throw Error(invalidArgument+p+": "+v);this[p]=v}if(p="crypto",useDefaults&&(this[p]=DEFAULTS[p]),void 0!==(v=obj[p])){if(!0!==v&&!1!==v&&0!==v&&1!==v)throw Error(invalidArgument+p+": "+v);if(v){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error("[DecimalError] crypto unavailable");this[p]=!0}else this[p]=!1}return this}function cos(x){return new this(x).cos()}function cosh(x){return new this(x).cosh()}function div(x,y){return new this(x).div(y)}function exp(x){return new this(x).exp()}function floor(x){return finalise(x=new this(x),x.e+1,3)}function hypot(){var i,n,t=new this(0);for(external=!1,i=0;i<arguments.length;)if((n=new this(arguments[i++])).d)t.d&&(t=t.plus(n.times(n)));else{if(n.s)return external=!0,new this(1/0);t=n}return external=!0,t.sqrt()}function isDecimalInstance(obj){return obj instanceof Decimal||obj&&obj.toStringTag===tag||!1}function ln(x){return new this(x).ln()}function log(x,y){return new this(x).log(y)}function log2(x){return new this(x).log(2)}function log10(x){return new this(x).log(10)}function max(){return maxOrMin(this,arguments,"lt")}function min(){return maxOrMin(this,arguments,"gt")}function mod(x,y){return new this(x).mod(y)}function mul(x,y){return new this(x).mul(y)}function pow(x,y){return new this(x).pow(y)}function random(sd){var d,e,k,n,i=0,r=new this(1),rd=[];if(void 0===sd?sd=this.precision:checkInt32(sd,1,1e9),k=Math.ceil(sd/7),this.crypto)if(crypto.getRandomValues)for(d=crypto.getRandomValues(new Uint32Array(k));i<k;)(n=d[i])>=429e7?d[i]=crypto.getRandomValues(new Uint32Array(1))[0]:rd[i++]=n%1e7;else{if(!crypto.randomBytes)throw Error("[DecimalError] crypto unavailable");for(d=crypto.randomBytes(k*=4);i<k;)(n=d[i]+(d[i+1]<<8)+(d[i+2]<<16)+((127&d[i+3])<<24))>=214e7?crypto.randomBytes(4).copy(d,i):(rd.push(n%1e7),i+=4);i=k/4}else for(;i<k;)rd[i++]=1e7*Math.random()|0;for(sd%=7,(k=rd[--i])&&sd&&(n=mathpow(10,7-sd),rd[i]=(k/n|0)*n);0===rd[i];i--)rd.pop();if(i<0)e=0,rd=[0];else{for(e=-1;0===rd[0];e-=7)rd.shift();for(k=1,n=rd[0];n>=10;n/=10)k++;k<7&&(e-=7-k)}return r.e=e,r.d=rd,r}function round(x){return finalise(x=new this(x),x.e+1,this.rounding)}function sign(x){return(x=new this(x)).d?x.d[0]?x.s:0*x.s:x.s||NaN}function sin(x){return new this(x).sin()}function sinh(x){return new this(x).sinh()}function sqrt(x){return new this(x).sqrt()}function sub(x,y){return new this(x).sub(y)}function sum(){var i=0,args=arguments,x=new this(args[i]);for(external=!1;x.s&&++i<args.length;)x=x.plus(args[i]);return external=!0,finalise(x,this.precision,this.rounding)}function tan(x){return new this(x).tan()}function tanh(x){return new this(x).tanh()}function trunc(x){return finalise(x=new this(x),x.e+1,1)}(Decimal=function clone(obj){var i,p,ps;function Decimal(v){var e,i,t,x=this;if(!(x instanceof Decimal))return new Decimal(v);if(x.constructor=Decimal,isDecimalInstance(v))return x.s=v.s,void(external?!v.d||v.e>Decimal.maxE?(x.e=NaN,x.d=null):v.e<Decimal.minE?(x.e=0,x.d=[0]):(x.e=v.e,x.d=v.d.slice()):(x.e=v.e,x.d=v.d?v.d.slice():v.d));if("number"===(t=typeof v)){if(0===v)return x.s=1/v<0?-1:1,x.e=0,void(x.d=[0]);if(v<0?(v=-v,x.s=-1):x.s=1,v===~~v&&v<1e7){for(e=0,i=v;i>=10;i/=10)e++;return void(external?e>Decimal.maxE?(x.e=NaN,x.d=null):e<Decimal.minE?(x.e=0,x.d=[0]):(x.e=e,x.d=[v]):(x.e=e,x.d=[v]))}return 0*v!=0?(v||(x.s=NaN),x.e=NaN,void(x.d=null)):parseDecimal(x,v.toString())}if("string"!==t)throw Error(invalidArgument+v);return 45===(i=v.charCodeAt(0))?(v=v.slice(1),x.s=-1):(43===i&&(v=v.slice(1)),x.s=1),isDecimal.test(v)?parseDecimal(x,v):parseOther(x,v)}if(Decimal.prototype=P,Decimal.ROUND_UP=0,Decimal.ROUND_DOWN=1,Decimal.ROUND_CEIL=2,Decimal.ROUND_FLOOR=3,Decimal.ROUND_HALF_UP=4,Decimal.ROUND_HALF_DOWN=5,Decimal.ROUND_HALF_EVEN=6,Decimal.ROUND_HALF_CEIL=7,Decimal.ROUND_HALF_FLOOR=8,Decimal.EUCLID=9,Decimal.config=Decimal.set=config,Decimal.clone=clone,Decimal.isDecimal=isDecimalInstance,Decimal.abs=abs,Decimal.acos=acos,Decimal.acosh=acosh,Decimal.add=add,Decimal.asin=asin,Decimal.asinh=asinh,Decimal.atan=atan,Decimal.atanh=atanh,Decimal.atan2=atan2,Decimal.cbrt=cbrt,Decimal.ceil=ceil,Decimal.clamp=clamp,Decimal.cos=cos,Decimal.cosh=cosh,Decimal.div=div,Decimal.exp=exp,Decimal.floor=floor,Decimal.hypot=hypot,Decimal.ln=ln,Decimal.log=log,Decimal.log10=log10,Decimal.log2=log2,Decimal.max=max,Decimal.min=min,Decimal.mod=mod,Decimal.mul=mul,Decimal.pow=pow,Decimal.random=random,Decimal.round=round,Decimal.sign=sign,Decimal.sin=sin,Decimal.sinh=sinh,Decimal.sqrt=sqrt,Decimal.sub=sub,Decimal.sum=sum,Decimal.tan=tan,Decimal.tanh=tanh,Decimal.trunc=trunc,void 0===obj&&(obj={}),obj&&!0!==obj.defaults)for(ps=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],i=0;i<ps.length;)obj.hasOwnProperty(p=ps[i++])||(obj[p]=this[p]);return Decimal.config(obj),Decimal}(DEFAULTS)).prototype.constructor=Decimal,Decimal.default=Decimal.Decimal=Decimal,LN10=new Decimal(LN10),PI=new Decimal(PI),void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return Decimal}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}()},78310:function(module,__unused_webpack_exports,__webpack_require__){ +/*! + * deep-eql + * Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com> + * MIT Licensed + */ +var type=__webpack_require__(27013);function FakeMap(){this._key="chai/deep-eql__"+Math.random()+Date.now()}FakeMap.prototype={get:function getMap(key){return key[this._key]},set:function setMap(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this._key,{value:value,configurable:!0})}};var MemoizeMap="function"==typeof WeakMap?WeakMap:FakeMap; +/*! + * Check to see if the MemoizeMap has recorded a result of the two operands + * + * @param {Mixed} leftHandOperand + * @param {Mixed} rightHandOperand + * @param {MemoizeMap} memoizeMap + * @returns {Boolean|null} result +*/function memoizeCompare(leftHandOperand,rightHandOperand,memoizeMap){if(!memoizeMap||isPrimitive(leftHandOperand)||isPrimitive(rightHandOperand))return null;var leftHandMap=memoizeMap.get(leftHandOperand);if(leftHandMap){var result=leftHandMap.get(rightHandOperand);if("boolean"==typeof result)return result}return null} +/*! + * Set the result of the equality into the MemoizeMap + * + * @param {Mixed} leftHandOperand + * @param {Mixed} rightHandOperand + * @param {MemoizeMap} memoizeMap + * @param {Boolean} result +*/function memoizeSet(leftHandOperand,rightHandOperand,memoizeMap,result){if(memoizeMap&&!isPrimitive(leftHandOperand)&&!isPrimitive(rightHandOperand)){var leftHandMap=memoizeMap.get(leftHandOperand);leftHandMap?leftHandMap.set(rightHandOperand,result):((leftHandMap=new MemoizeMap).set(rightHandOperand,result),memoizeMap.set(leftHandOperand,leftHandMap))}} +/*! + * Primary Export + */function deepEqual(leftHandOperand,rightHandOperand,options){if(options&&options.comparator)return extensiveDeepEqual(leftHandOperand,rightHandOperand,options);var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);return null!==simpleResult?simpleResult:extensiveDeepEqual(leftHandOperand,rightHandOperand,options)}function simpleEqual(leftHandOperand,rightHandOperand){return leftHandOperand===rightHandOperand?0!==leftHandOperand||1/leftHandOperand==1/rightHandOperand:leftHandOperand!=leftHandOperand&&rightHandOperand!=rightHandOperand||!isPrimitive(leftHandOperand)&&!isPrimitive(rightHandOperand)&&null} +/*! + * The main logic of the `deepEqual` function. + * + * @param {Mixed} leftHandOperand + * @param {Mixed} rightHandOperand + * @param {Object} [options] (optional) Additional options + * @param {Array} [options.comparator] (optional) Override default algorithm, determining custom equality. + * @param {Array} [options.memoize] (optional) Provide a custom memoization object which will cache the results of + complex objects for a speed boost. By passing `false` you can disable memoization, but this will cause circular + references to blow the stack. + * @return {Boolean} equal match +*/function extensiveDeepEqual(leftHandOperand,rightHandOperand,options){(options=options||{}).memoize=!1!==options.memoize&&(options.memoize||new MemoizeMap);var comparator=options&&options.comparator,memoizeResultLeft=memoizeCompare(leftHandOperand,rightHandOperand,options.memoize);if(null!==memoizeResultLeft)return memoizeResultLeft;var memoizeResultRight=memoizeCompare(rightHandOperand,leftHandOperand,options.memoize);if(null!==memoizeResultRight)return memoizeResultRight;if(comparator){var comparatorResult=comparator(leftHandOperand,rightHandOperand);if(!1===comparatorResult||!0===comparatorResult)return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,comparatorResult),comparatorResult;var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);if(null!==simpleResult)return simpleResult}var leftHandType=type(leftHandOperand);if(leftHandType!==type(rightHandOperand))return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!1),!1;memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!0);var result=function extensiveDeepEqualByType(leftHandOperand,rightHandOperand,leftHandType,options){switch(leftHandType){case"String":case"Number":case"Boolean":case"Date":return deepEqual(leftHandOperand.valueOf(),rightHandOperand.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":case"Error":return leftHandOperand===rightHandOperand;case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return iterableEqual(leftHandOperand,rightHandOperand,options);case"RegExp": +/*! + * Compare two Regular Expressions for equality. + * + * @param {RegExp} leftHandOperand + * @param {RegExp} rightHandOperand + * @return {Boolean} result + */ +return function regexpEqual(leftHandOperand,rightHandOperand){return leftHandOperand.toString()===rightHandOperand.toString()} +/*! + * Compare two Sets/Maps for equality. Faster than other equality functions. + * + * @param {Set} leftHandOperand + * @param {Set} rightHandOperand + * @param {Object} [options] (Optional) + * @return {Boolean} result + */(leftHandOperand,rightHandOperand);case"Generator": +/*! + * Simple equality for generator objects such as those returned by generator functions. + * + * @param {Iterable} leftHandOperand + * @param {Iterable} rightHandOperand + * @param {Object} [options] (Optional) + * @return {Boolean} result + */ +return function generatorEqual(leftHandOperand,rightHandOperand,options){return iterableEqual(getGeneratorEntries(leftHandOperand),getGeneratorEntries(rightHandOperand),options)} +/*! + * Determine if the given object has an @@iterator function. + * + * @param {Object} target + * @return {Boolean} `true` if the object has an @@iterator function. + */(leftHandOperand,rightHandOperand,options);case"DataView":return iterableEqual(new Uint8Array(leftHandOperand.buffer),new Uint8Array(rightHandOperand.buffer),options);case"ArrayBuffer":return iterableEqual(new Uint8Array(leftHandOperand),new Uint8Array(rightHandOperand),options);case"Set":case"Map":return entriesEqual(leftHandOperand,rightHandOperand,options);default: +/*! + * Recursively check the equality of two Objects. Once basic sameness has been established it will defer to `deepEqual` + * for each enumerable key in the object. + * + * @param {Mixed} leftHandOperand + * @param {Mixed} rightHandOperand + * @param {Object} [options] (Optional) + * @return {Boolean} result + */ +return function objectEqual(leftHandOperand,rightHandOperand,options){var leftHandKeys=getEnumerableKeys(leftHandOperand),rightHandKeys=getEnumerableKeys(rightHandOperand);if(leftHandKeys.length&&leftHandKeys.length===rightHandKeys.length)return leftHandKeys.sort(),rightHandKeys.sort(),!1!==iterableEqual(leftHandKeys,rightHandKeys)&& +/*! + * Determines if two objects have matching values, given a set of keys. Defers to deepEqual for the equality check of + * each key. If any value of the given key is not equal, the function will return false (early). + * + * @param {Mixed} leftHandOperand + * @param {Mixed} rightHandOperand + * @param {Array} keys An array of keys to compare the values of leftHandOperand and rightHandOperand against + * @param {Object} [options] (Optional) + * @return {Boolean} result + */ +function keysEqual(leftHandOperand,rightHandOperand,keys,options){var length=keys.length;if(0===length)return!0;for(var i=0;i<length;i+=1)if(!1===deepEqual(leftHandOperand[keys[i]],rightHandOperand[keys[i]],options))return!1;return!0}(leftHandOperand,rightHandOperand,leftHandKeys,options);var leftHandEntries=getIteratorEntries(leftHandOperand),rightHandEntries=getIteratorEntries(rightHandOperand);if(leftHandEntries.length&&leftHandEntries.length===rightHandEntries.length)return leftHandEntries.sort(),rightHandEntries.sort(),iterableEqual(leftHandEntries,rightHandEntries,options);if(0===leftHandKeys.length&&0===leftHandEntries.length&&0===rightHandKeys.length&&0===rightHandEntries.length)return!0;return!1} +/*! + * Returns true if the argument is a primitive. + * + * This intentionally returns true for all objects that can be compared by reference, + * including functions and symbols. + * + * @param {Mixed} value + * @return {Boolean} result + */(leftHandOperand,rightHandOperand,options)}}(leftHandOperand,rightHandOperand,leftHandType,options);return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,result),result}function entriesEqual(leftHandOperand,rightHandOperand,options){if(leftHandOperand.size!==rightHandOperand.size)return!1;if(0===leftHandOperand.size)return!0;var leftHandItems=[],rightHandItems=[];return leftHandOperand.forEach((function gatherEntries(key,value){leftHandItems.push([key,value])})),rightHandOperand.forEach((function gatherEntries(key,value){rightHandItems.push([key,value])})),iterableEqual(leftHandItems.sort(),rightHandItems.sort(),options)} +/*! + * Simple equality for flat iterable objects such as Arrays, TypedArrays or Node.js buffers. + * + * @param {Iterable} leftHandOperand + * @param {Iterable} rightHandOperand + * @param {Object} [options] (Optional) + * @return {Boolean} result + */function iterableEqual(leftHandOperand,rightHandOperand,options){var length=leftHandOperand.length;if(length!==rightHandOperand.length)return!1;if(0===length)return!0;for(var index=-1;++index<length;)if(!1===deepEqual(leftHandOperand[index],rightHandOperand[index],options))return!1;return!0} +/*! + * Gets all iterator entries from the given Object. If the Object has no @@iterator function, returns an empty array. + * This will consume the iterator - which could have side effects depending on the @@iterator implementation. + * + * @param {Object} target + * @returns {Array} an array of entries from the @@iterator function + */ +function getIteratorEntries(target){if(function hasIteratorFunction(target){return"undefined"!=typeof Symbol&&"object"==typeof target&&void 0!==Symbol.iterator&&"function"==typeof target[Symbol.iterator]}(target))try{return getGeneratorEntries(target[Symbol.iterator]())}catch(iteratorError){return[]}return[]} +/*! + * Gets all entries from a Generator. This will consume the generator - which could have side effects. + * + * @param {Generator} target + * @returns {Array} an array of entries from the Generator. + */function getGeneratorEntries(generator){for(var generatorResult=generator.next(),accumulator=[generatorResult.value];!1===generatorResult.done;)generatorResult=generator.next(),accumulator.push(generatorResult.value);return accumulator} +/*! + * Gets all own and inherited enumerable keys from a target. + * + * @param {Object} target + * @returns {Array} an array of own and inherited enumerable keys from the target. + */function getEnumerableKeys(target){var keys=[];for(var key in target)keys.push(key);return keys}function isPrimitive(value){return null===value||"object"!=typeof value}module.exports=deepEqual,module.exports.MemoizeMap=MemoizeMap},4289:function(module,__unused_webpack_exports,__webpack_require__){var keys=__webpack_require__(82215),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr=Object.prototype.toString,concat=Array.prototype.concat,origDefineProperty=Object.defineProperty,supportsDescriptors=origDefineProperty&&function(){var obj={};try{for(var _ in origDefineProperty(obj,"x",{enumerable:!1,value:obj}),obj)return!1;return obj.x===obj}catch(e){return!1}}(),defineProperty=function(object,name,value,predicate){var fn;(!(name in object)||"function"==typeof(fn=predicate)&&"[object Function]"===toStr.call(fn)&&predicate())&&(supportsDescriptors?origDefineProperty(object,name,{configurable:!0,enumerable:!1,value:value,writable:!0}):object[name]=value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i<props.length;i+=1)defineProperty(object,props[i],map[props[i]],predicates[props[i]])};defineProperties.supportsDescriptors=!!supportsDescriptors,module.exports=defineProperties},15251:function(__unused_webpack_module,exports,__webpack_require__){exports.utils=__webpack_require__(11278),exports.Cipher=__webpack_require__(55756),exports.DES=__webpack_require__(70778),exports.CBC=__webpack_require__(39051),exports.EDE=__webpack_require__(50651)},39051:function(__unused_webpack_module,exports,__webpack_require__){var assert=__webpack_require__(79746),inherits=__webpack_require__(35717),proto={};function CBCState(iv){assert.equal(iv.length,8,"Invalid IV length"),this.iv=new Array(8);for(var i=0;i<this.iv.length;i++)this.iv[i]=iv[i]}exports.instantiate=function instantiate(Base){function CBC(options){Base.call(this,options),this._cbcInit()}inherits(CBC,Base);for(var keys=Object.keys(proto),i=0;i<keys.length;i++){var key=keys[i];CBC.prototype[key]=proto[key]}return CBC.create=function create(options){return new CBC(options)},CBC},proto._cbcInit=function _cbcInit(){var state=new CBCState(this.options.iv);this._cbcState=state},proto._update=function _update(inp,inOff,out,outOff){var state=this._cbcState,superProto=this.constructor.super_.prototype,iv=state.iv;if("encrypt"===this.type){for(var i=0;i<this.blockSize;i++)iv[i]^=inp[inOff+i];superProto._update.call(this,iv,0,out,outOff);for(i=0;i<this.blockSize;i++)iv[i]=out[outOff+i]}else{superProto._update.call(this,inp,inOff,out,outOff);for(i=0;i<this.blockSize;i++)out[outOff+i]^=iv[i];for(i=0;i<this.blockSize;i++)iv[i]=inp[inOff+i]}}},55756:function(module,__unused_webpack_exports,__webpack_require__){var assert=__webpack_require__(79746);function Cipher(options){this.options=options,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}module.exports=Cipher,Cipher.prototype._init=function _init(){},Cipher.prototype.update=function update(data){return 0===data.length?[]:"decrypt"===this.type?this._updateDecrypt(data):this._updateEncrypt(data)},Cipher.prototype._buffer=function _buffer(data,off){for(var min=Math.min(this.buffer.length-this.bufferOff,data.length-off),i=0;i<min;i++)this.buffer[this.bufferOff+i]=data[off+i];return this.bufferOff+=min,min},Cipher.prototype._flushBuffer=function _flushBuffer(out,off){return this._update(this.buffer,0,out,off),this.bufferOff=0,this.blockSize},Cipher.prototype._updateEncrypt=function _updateEncrypt(data){var inputOff=0,outputOff=0,count=(this.bufferOff+data.length)/this.blockSize|0,out=new Array(count*this.blockSize);0!==this.bufferOff&&(inputOff+=this._buffer(data,inputOff),this.bufferOff===this.buffer.length&&(outputOff+=this._flushBuffer(out,outputOff)));for(var max=data.length-(data.length-inputOff)%this.blockSize;inputOff<max;inputOff+=this.blockSize)this._update(data,inputOff,out,outputOff),outputOff+=this.blockSize;for(;inputOff<data.length;inputOff++,this.bufferOff++)this.buffer[this.bufferOff]=data[inputOff];return out},Cipher.prototype._updateDecrypt=function _updateDecrypt(data){for(var inputOff=0,outputOff=0,count=Math.ceil((this.bufferOff+data.length)/this.blockSize)-1,out=new Array(count*this.blockSize);count>0;count--)inputOff+=this._buffer(data,inputOff),outputOff+=this._flushBuffer(out,outputOff);return inputOff+=this._buffer(data,inputOff),out},Cipher.prototype.final=function final(buffer){var first,last;return buffer&&(first=this.update(buffer)),last="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),first?first.concat(last):last},Cipher.prototype._pad=function _pad(buffer,off){if(0===off)return!1;for(;off<buffer.length;)buffer[off++]=0;return!0},Cipher.prototype._finalEncrypt=function _finalEncrypt(){if(!this._pad(this.buffer,this.bufferOff))return[];var out=new Array(this.blockSize);return this._update(this.buffer,0,out,0),out},Cipher.prototype._unpad=function _unpad(buffer){return buffer},Cipher.prototype._finalDecrypt=function _finalDecrypt(){assert.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var out=new Array(this.blockSize);return this._flushBuffer(out,0),this._unpad(out)}},70778:function(module,__unused_webpack_exports,__webpack_require__){var assert=__webpack_require__(79746),inherits=__webpack_require__(35717),utils=__webpack_require__(11278),Cipher=__webpack_require__(55756);function DESState(){this.tmp=new Array(2),this.keys=null}function DES(options){Cipher.call(this,options);var state=new DESState;this._desState=state,this.deriveKeys(state,options.key)}inherits(DES,Cipher),module.exports=DES,DES.create=function create(options){return new DES(options)};var shiftTable=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];DES.prototype.deriveKeys=function deriveKeys(state,key){state.keys=new Array(32),assert.equal(key.length,this.blockSize,"Invalid key length");var kL=utils.readUInt32BE(key,0),kR=utils.readUInt32BE(key,4);utils.pc1(kL,kR,state.tmp,0),kL=state.tmp[0],kR=state.tmp[1];for(var i=0;i<state.keys.length;i+=2){var shift=shiftTable[i>>>1];kL=utils.r28shl(kL,shift),kR=utils.r28shl(kR,shift),utils.pc2(kL,kR,state.keys,i)}},DES.prototype._update=function _update(inp,inOff,out,outOff){var state=this._desState,l=utils.readUInt32BE(inp,inOff),r=utils.readUInt32BE(inp,inOff+4);utils.ip(l,r,state.tmp,0),l=state.tmp[0],r=state.tmp[1],"encrypt"===this.type?this._encrypt(state,l,r,state.tmp,0):this._decrypt(state,l,r,state.tmp,0),l=state.tmp[0],r=state.tmp[1],utils.writeUInt32BE(out,l,outOff),utils.writeUInt32BE(out,r,outOff+4)},DES.prototype._pad=function _pad(buffer,off){for(var value=buffer.length-off,i=off;i<buffer.length;i++)buffer[i]=value;return!0},DES.prototype._unpad=function _unpad(buffer){for(var pad=buffer[buffer.length-1],i=buffer.length-pad;i<buffer.length;i++)assert.equal(buffer[i],pad);return buffer.slice(0,buffer.length-pad)},DES.prototype._encrypt=function _encrypt(state,lStart,rStart,out,off){for(var l=lStart,r=rStart,i=0;i<state.keys.length;i+=2){var keyL=state.keys[i],keyR=state.keys[i+1];utils.expand(r,state.tmp,0),keyL^=state.tmp[0],keyR^=state.tmp[1];var s=utils.substitute(keyL,keyR),t=r;r=(l^utils.permute(s))>>>0,l=t}utils.rip(r,l,out,off)},DES.prototype._decrypt=function _decrypt(state,lStart,rStart,out,off){for(var l=rStart,r=lStart,i=state.keys.length-2;i>=0;i-=2){var keyL=state.keys[i],keyR=state.keys[i+1];utils.expand(l,state.tmp,0),keyL^=state.tmp[0],keyR^=state.tmp[1];var s=utils.substitute(keyL,keyR),t=l;l=(r^utils.permute(s))>>>0,r=t}utils.rip(l,r,out,off)}},50651:function(module,__unused_webpack_exports,__webpack_require__){var assert=__webpack_require__(79746),inherits=__webpack_require__(35717),Cipher=__webpack_require__(55756),DES=__webpack_require__(70778);function EDEState(type,key){assert.equal(key.length,24,"Invalid key length");var k1=key.slice(0,8),k2=key.slice(8,16),k3=key.slice(16,24);this.ciphers="encrypt"===type?[DES.create({type:"encrypt",key:k1}),DES.create({type:"decrypt",key:k2}),DES.create({type:"encrypt",key:k3})]:[DES.create({type:"decrypt",key:k3}),DES.create({type:"encrypt",key:k2}),DES.create({type:"decrypt",key:k1})]}function EDE(options){Cipher.call(this,options);var state=new EDEState(this.type,this.options.key);this._edeState=state}inherits(EDE,Cipher),module.exports=EDE,EDE.create=function create(options){return new EDE(options)},EDE.prototype._update=function _update(inp,inOff,out,outOff){var state=this._edeState;state.ciphers[0]._update(inp,inOff,out,outOff),state.ciphers[1]._update(out,outOff,out,outOff),state.ciphers[2]._update(out,outOff,out,outOff)},EDE.prototype._pad=DES.prototype._pad,EDE.prototype._unpad=DES.prototype._unpad},11278:function(__unused_webpack_module,exports){exports.readUInt32BE=function readUInt32BE(bytes,off){return(bytes[0+off]<<24|bytes[1+off]<<16|bytes[2+off]<<8|bytes[3+off])>>>0},exports.writeUInt32BE=function writeUInt32BE(bytes,value,off){bytes[0+off]=value>>>24,bytes[1+off]=value>>>16&255,bytes[2+off]=value>>>8&255,bytes[3+off]=255&value},exports.ip=function ip(inL,inR,out,off){for(var outL=0,outR=0,i=6;i>=0;i-=2){for(var j=0;j<=24;j+=8)outL<<=1,outL|=inR>>>j+i&1;for(j=0;j<=24;j+=8)outL<<=1,outL|=inL>>>j+i&1}for(i=6;i>=0;i-=2){for(j=1;j<=25;j+=8)outR<<=1,outR|=inR>>>j+i&1;for(j=1;j<=25;j+=8)outR<<=1,outR|=inL>>>j+i&1}out[off+0]=outL>>>0,out[off+1]=outR>>>0},exports.rip=function rip(inL,inR,out,off){for(var outL=0,outR=0,i=0;i<4;i++)for(var j=24;j>=0;j-=8)outL<<=1,outL|=inR>>>j+i&1,outL<<=1,outL|=inL>>>j+i&1;for(i=4;i<8;i++)for(j=24;j>=0;j-=8)outR<<=1,outR|=inR>>>j+i&1,outR<<=1,outR|=inL>>>j+i&1;out[off+0]=outL>>>0,out[off+1]=outR>>>0},exports.pc1=function pc1(inL,inR,out,off){for(var outL=0,outR=0,i=7;i>=5;i--){for(var j=0;j<=24;j+=8)outL<<=1,outL|=inR>>j+i&1;for(j=0;j<=24;j+=8)outL<<=1,outL|=inL>>j+i&1}for(j=0;j<=24;j+=8)outL<<=1,outL|=inR>>j+i&1;for(i=1;i<=3;i++){for(j=0;j<=24;j+=8)outR<<=1,outR|=inR>>j+i&1;for(j=0;j<=24;j+=8)outR<<=1,outR|=inL>>j+i&1}for(j=0;j<=24;j+=8)outR<<=1,outR|=inL>>j+i&1;out[off+0]=outL>>>0,out[off+1]=outR>>>0},exports.r28shl=function r28shl(num,shift){return num<<shift&268435455|num>>>28-shift};var pc2table=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];exports.pc2=function pc2(inL,inR,out,off){for(var outL=0,outR=0,len=pc2table.length>>>1,i=0;i<len;i++)outL<<=1,outL|=inL>>>pc2table[i]&1;for(i=len;i<pc2table.length;i++)outR<<=1,outR|=inR>>>pc2table[i]&1;out[off+0]=outL>>>0,out[off+1]=outR>>>0},exports.expand=function expand(r,out,off){var outL=0,outR=0;outL=(1&r)<<5|r>>>27;for(var i=23;i>=15;i-=4)outL<<=6,outL|=r>>>i&63;for(i=11;i>=3;i-=4)outR|=r>>>i&63,outR<<=6;outR|=(31&r)<<1|r>>>31,out[off+0]=outL>>>0,out[off+1]=outR>>>0};var sTable=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];exports.substitute=function substitute(inL,inR){for(var out=0,i=0;i<4;i++){out<<=4,out|=sTable[64*i+(inL>>>18-6*i&63)]}for(i=0;i<4;i++){out<<=4,out|=sTable[256+64*i+(inR>>>18-6*i&63)]}return out>>>0};var permuteTable=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];exports.permute=function permute(num){for(var out=0,i=0;i<permuteTable.length;i++)out<<=1,out|=num>>>permuteTable[i]&1;return out>>>0},exports.padSplit=function padSplit(num,size,group){for(var str=num.toString(2);str.length<size;)str="0"+str;for(var out=[],i=0;i<size;i+=group)out.push(str.slice(i,i+group));return out.join(" ")}},62607:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer,generatePrime=__webpack_require__(43590),primes=__webpack_require__(29799),DH=__webpack_require__(57426);var ENCODINGS={binary:!0,hex:!0,base64:!0};exports.DiffieHellmanGroup=exports.createDiffieHellmanGroup=exports.getDiffieHellman=function getDiffieHellman(mod){var prime=new Buffer(primes[mod].prime,"hex"),gen=new Buffer(primes[mod].gen,"hex");return new DH(prime,gen)},exports.createDiffieHellman=exports.DiffieHellman=function createDiffieHellman(prime,enc,generator,genc){return Buffer.isBuffer(enc)||void 0===ENCODINGS[enc]?createDiffieHellman(prime,"binary",enc,generator):(enc=enc||"binary",genc=genc||"binary",generator=generator||new Buffer([2]),Buffer.isBuffer(generator)||(generator=new Buffer(generator,genc)),"number"==typeof prime?new DH(generatePrime(prime,generator),generator,!0):(Buffer.isBuffer(prime)||(prime=new Buffer(prime,enc)),new DH(prime,generator,!0)))}},57426:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer,BN=__webpack_require__(13550),millerRabin=new(__webpack_require__(63047)),TWENTYFOUR=new BN(24),ELEVEN=new BN(11),TEN=new BN(10),THREE=new BN(3),SEVEN=new BN(7),primes=__webpack_require__(43590),randomBytes=__webpack_require__(61798);function setPublicKey(pub,enc){return enc=enc||"utf8",Buffer.isBuffer(pub)||(pub=new Buffer(pub,enc)),this._pub=new BN(pub),this}function setPrivateKey(priv,enc){return enc=enc||"utf8",Buffer.isBuffer(priv)||(priv=new Buffer(priv,enc)),this._priv=new BN(priv),this}module.exports=DH;var primeCache={};function DH(prime,generator,malleable){this.setGenerator(generator),this.__prime=new BN(prime),this._prime=BN.mont(this.__prime),this._primeLen=prime.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,malleable?(this.setPublicKey=setPublicKey,this.setPrivateKey=setPrivateKey):this._primeCode=8}function formatReturnValue(bn,enc){var buf=new Buffer(bn.toArray());return enc?buf.toString(enc):buf}Object.defineProperty(DH.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function checkPrime(prime,generator){var gen=generator.toString("hex"),hex=[gen,prime.toString(16)].join("_");if(hex in primeCache)return primeCache[hex];var rem,error=0;if(prime.isEven()||!primes.simpleSieve||!primes.fermatTest(prime)||!millerRabin.test(prime))return error+=1,error+="02"===gen||"05"===gen?8:4,primeCache[hex]=error,error;switch(millerRabin.test(prime.shrn(1))||(error+=2),gen){case"02":prime.mod(TWENTYFOUR).cmp(ELEVEN)&&(error+=8);break;case"05":(rem=prime.mod(TEN)).cmp(THREE)&&rem.cmp(SEVEN)&&(error+=8);break;default:error+=4}return primeCache[hex]=error,error}(this.__prime,this.__gen)),this._primeCode}}),DH.prototype.generateKeys=function(){return this._priv||(this._priv=new BN(randomBytes(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},DH.prototype.computeSecret=function(other){var secret=(other=(other=new BN(other)).toRed(this._prime)).redPow(this._priv).fromRed(),out=new Buffer(secret.toArray()),prime=this.getPrime();if(out.length<prime.length){var front=new Buffer(prime.length-out.length);front.fill(0),out=Buffer.concat([front,out])}return out},DH.prototype.getPublicKey=function getPublicKey(enc){return formatReturnValue(this._pub,enc)},DH.prototype.getPrivateKey=function getPrivateKey(enc){return formatReturnValue(this._priv,enc)},DH.prototype.getPrime=function(enc){return formatReturnValue(this.__prime,enc)},DH.prototype.getGenerator=function(enc){return formatReturnValue(this._gen,enc)},DH.prototype.setGenerator=function(gen,enc){return enc=enc||"utf8",Buffer.isBuffer(gen)||(gen=new Buffer(gen,enc)),this.__gen=gen,this._gen=new BN(gen),this}},43590:function(module,__unused_webpack_exports,__webpack_require__){var randomBytes=__webpack_require__(61798);module.exports=findPrime,findPrime.simpleSieve=simpleSieve,findPrime.fermatTest=fermatTest;var BN=__webpack_require__(13550),TWENTYFOUR=new BN(24),millerRabin=new(__webpack_require__(63047)),ONE=new BN(1),TWO=new BN(2),FIVE=new BN(5),TEN=(new BN(16),new BN(8),new BN(10)),THREE=new BN(3),ELEVEN=(new BN(7),new BN(11)),FOUR=new BN(4),primes=(new BN(12),null);function _getPrimes(){if(null!==primes)return primes;var res=[];res[0]=2;for(var i=1,k=3;k<1048576;k+=2){for(var sqrt=Math.ceil(Math.sqrt(k)),j=0;j<i&&res[j]<=sqrt&&k%res[j]!=0;j++);i!==j&&res[j]<=sqrt||(res[i++]=k)}return primes=res,res}function simpleSieve(p){for(var primes=_getPrimes(),i=0;i<primes.length;i++)if(0===p.modn(primes[i]))return 0===p.cmpn(primes[i]);return!0}function fermatTest(p){var red=BN.mont(p);return 0===TWO.toRed(red).redPow(p.subn(1)).fromRed().cmpn(1)}function findPrime(bits,gen){if(bits<16)return new BN(2===gen||5===gen?[140,123]:[140,39]);var num,n2;for(gen=new BN(gen);;){for(num=new BN(randomBytes(Math.ceil(bits/8)));num.bitLength()>bits;)num.ishrn(1);if(num.isEven()&&num.iadd(ONE),num.testn(1)||num.iadd(TWO),gen.cmp(TWO)){if(!gen.cmp(FIVE))for(;num.mod(TEN).cmp(THREE);)num.iadd(FOUR)}else for(;num.mod(TWENTYFOUR).cmp(ELEVEN);)num.iadd(FOUR);if(simpleSieve(n2=num.shrn(1))&&simpleSieve(num)&&fermatTest(n2)&&fermatTest(num)&&millerRabin.test(n2)&&millerRabin.test(num))return num}}},19741:function(__unused_webpack_module,exports,__webpack_require__){const legacyErrorCodes=__webpack_require__(34370),idlUtils=__webpack_require__(88925);exports.implementation=class DOMExceptionImpl{constructor(globalObject,[message,name]){this.name=name,this.message=message}get code(){return legacyErrorCodes[this.name]||0}},exports.init=impl=>{if(Error.captureStackTrace){const wrapper=idlUtils.wrapperForImpl(impl);Error.captureStackTrace(wrapper,wrapper.constructor)}}},34662:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(88925),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].DOMException.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'DOMException'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class DOMException{constructor(){const args=[];{let curArg=arguments[0];curArg=void 0!==curArg?conversions.DOMString(curArg,{context:"Failed to construct 'DOMException': parameter 1",globals:globalObject}):"",args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg?conversions.DOMString(curArg,{context:"Failed to construct 'DOMException': parameter 2",globals:globalObject}):"Error",args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of DOMException.");return esValue[implSymbol].name}get message(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get message' called on an object that is not a valid instance of DOMException.");return esValue[implSymbol].message}get code(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get code' called on an object that is not a valid instance of DOMException.");return esValue[implSymbol].code}}Object.defineProperties(DOMException.prototype,{name:{enumerable:!0},message:{enumerable:!0},code:{enumerable:!0},[Symbol.toStringTag]:{value:"DOMException",configurable:!0},INDEX_SIZE_ERR:{value:1,enumerable:!0},DOMSTRING_SIZE_ERR:{value:2,enumerable:!0},HIERARCHY_REQUEST_ERR:{value:3,enumerable:!0},WRONG_DOCUMENT_ERR:{value:4,enumerable:!0},INVALID_CHARACTER_ERR:{value:5,enumerable:!0},NO_DATA_ALLOWED_ERR:{value:6,enumerable:!0},NO_MODIFICATION_ALLOWED_ERR:{value:7,enumerable:!0},NOT_FOUND_ERR:{value:8,enumerable:!0},NOT_SUPPORTED_ERR:{value:9,enumerable:!0},INUSE_ATTRIBUTE_ERR:{value:10,enumerable:!0},INVALID_STATE_ERR:{value:11,enumerable:!0},SYNTAX_ERR:{value:12,enumerable:!0},INVALID_MODIFICATION_ERR:{value:13,enumerable:!0},NAMESPACE_ERR:{value:14,enumerable:!0},INVALID_ACCESS_ERR:{value:15,enumerable:!0},VALIDATION_ERR:{value:16,enumerable:!0},TYPE_MISMATCH_ERR:{value:17,enumerable:!0},SECURITY_ERR:{value:18,enumerable:!0},NETWORK_ERR:{value:19,enumerable:!0},ABORT_ERR:{value:20,enumerable:!0},URL_MISMATCH_ERR:{value:21,enumerable:!0},QUOTA_EXCEEDED_ERR:{value:22,enumerable:!0},TIMEOUT_ERR:{value:23,enumerable:!0},INVALID_NODE_TYPE_ERR:{value:24,enumerable:!0},DATA_CLONE_ERR:{value:25,enumerable:!0}}),Object.defineProperties(DOMException,{INDEX_SIZE_ERR:{value:1,enumerable:!0},DOMSTRING_SIZE_ERR:{value:2,enumerable:!0},HIERARCHY_REQUEST_ERR:{value:3,enumerable:!0},WRONG_DOCUMENT_ERR:{value:4,enumerable:!0},INVALID_CHARACTER_ERR:{value:5,enumerable:!0},NO_DATA_ALLOWED_ERR:{value:6,enumerable:!0},NO_MODIFICATION_ALLOWED_ERR:{value:7,enumerable:!0},NOT_FOUND_ERR:{value:8,enumerable:!0},NOT_SUPPORTED_ERR:{value:9,enumerable:!0},INUSE_ATTRIBUTE_ERR:{value:10,enumerable:!0},INVALID_STATE_ERR:{value:11,enumerable:!0},SYNTAX_ERR:{value:12,enumerable:!0},INVALID_MODIFICATION_ERR:{value:13,enumerable:!0},NAMESPACE_ERR:{value:14,enumerable:!0},INVALID_ACCESS_ERR:{value:15,enumerable:!0},VALIDATION_ERR:{value:16,enumerable:!0},TYPE_MISMATCH_ERR:{value:17,enumerable:!0},SECURITY_ERR:{value:18,enumerable:!0},NETWORK_ERR:{value:19,enumerable:!0},ABORT_ERR:{value:20,enumerable:!0},URL_MISMATCH_ERR:{value:21,enumerable:!0},QUOTA_EXCEEDED_ERR:{value:22,enumerable:!0},TIMEOUT_ERR:{value:23,enumerable:!0},INVALID_NODE_TYPE_ERR:{value:24,enumerable:!0},DATA_CLONE_ERR:{value:25,enumerable:!0}}),ctorRegistry.DOMException=DOMException,Object.defineProperty(globalObject,"DOMException",{configurable:!0,writable:!0,value:DOMException})};const Impl=__webpack_require__(19741)},88925:function(module,exports){const hasOwn=Function.prototype.call.bind(Object.prototype.hasOwnProperty);const wrapperSymbol=Symbol("wrapper"),implSymbol=Symbol("impl"),sameObjectCaches=Symbol("SameObject caches"),ctorRegistrySymbol=Symbol.for("[webidl2js] constructor registry"),AsyncIteratorPrototype=Object.getPrototypeOf(Object.getPrototypeOf((async function*(){})).prototype);function initCtorRegistry(globalObject){if(hasOwn(globalObject,ctorRegistrySymbol))return globalObject[ctorRegistrySymbol];const ctorRegistry=Object.create(null);ctorRegistry["%Object.prototype%"]=globalObject.Object.prototype,ctorRegistry["%IteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf((new globalObject.Array)[Symbol.iterator]()));try{ctorRegistry["%AsyncIteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf(globalObject.eval("(async function* () {})").prototype))}catch{ctorRegistry["%AsyncIteratorPrototype%"]=AsyncIteratorPrototype}return globalObject[ctorRegistrySymbol]=ctorRegistry,ctorRegistry}function wrapperForImpl(impl){return impl?impl[wrapperSymbol]:null}function implForWrapper(wrapper){return wrapper?wrapper[implSymbol]:null}const iterInternalSymbol=Symbol("internal");const byteLengthGetter=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get;const supportsPropertyIndex=Symbol("supports property index"),supportedPropertyIndices=Symbol("supported property indices"),supportsPropertyName=Symbol("supports property name"),supportedPropertyNames=Symbol("supported property names"),indexedGet=Symbol("indexed property get"),indexedSetNew=Symbol("indexed property set new"),indexedSetExisting=Symbol("indexed property set existing"),namedGet=Symbol("named property get"),namedSetNew=Symbol("named property set new"),namedSetExisting=Symbol("named property set existing"),namedDelete=Symbol("named property delete"),asyncIteratorNext=Symbol("async iterator get the next iteration result"),asyncIteratorReturn=Symbol("async iterator return steps"),asyncIteratorInit=Symbol("async iterator initialization steps"),asyncIteratorEOI=Symbol("async iterator end of iteration");module.exports={isObject:function isObject(value){return"object"==typeof value&&null!==value||"function"==typeof value},hasOwn:hasOwn,define:function define(target,source){for(const key of Reflect.ownKeys(source)){const descriptor=Reflect.getOwnPropertyDescriptor(source,key);if(descriptor&&!Reflect.defineProperty(target,key,descriptor))throw new TypeError(`Cannot redefine property: ${String(key)}`)}},newObjectInRealm:function newObjectInRealm(globalObject,object){const ctorRegistry=initCtorRegistry(globalObject);return Object.defineProperties(Object.create(ctorRegistry["%Object.prototype%"]),Object.getOwnPropertyDescriptors(object))},wrapperSymbol:wrapperSymbol,implSymbol:implSymbol,getSameObject:function getSameObject(wrapper,prop,creator){return wrapper[sameObjectCaches]||(wrapper[sameObjectCaches]=Object.create(null)),prop in wrapper[sameObjectCaches]||(wrapper[sameObjectCaches][prop]=creator()),wrapper[sameObjectCaches][prop]},ctorRegistrySymbol:ctorRegistrySymbol,initCtorRegistry:initCtorRegistry,wrapperForImpl:wrapperForImpl,implForWrapper:implForWrapper,tryWrapperForImpl:function tryWrapperForImpl(impl){const wrapper=wrapperForImpl(impl);return wrapper||impl},tryImplForWrapper:function tryImplForWrapper(wrapper){const impl=implForWrapper(wrapper);return impl||wrapper},iterInternalSymbol:iterInternalSymbol,isArrayBuffer:function isArrayBuffer(value){try{return byteLengthGetter.call(value),!0}catch(e){return!1}},isArrayIndexPropName:function isArrayIndexPropName(P){if("string"!=typeof P)return!1;const i=P>>>0;return i!==2**32-1&&P===`${i}`},supportsPropertyIndex:supportsPropertyIndex,supportedPropertyIndices:supportedPropertyIndices,supportsPropertyName:supportsPropertyName,supportedPropertyNames:supportedPropertyNames,indexedGet:indexedGet,indexedSetNew:indexedSetNew,indexedSetExisting:indexedSetExisting,namedGet:namedGet,namedSetNew:namedSetNew,namedSetExisting:namedSetExisting,namedDelete:namedDelete,asyncIteratorNext:asyncIteratorNext,asyncIteratorReturn:asyncIteratorReturn,asyncIteratorInit:asyncIteratorInit,asyncIteratorEOI:asyncIteratorEOI,iteratorResult:function iteratorResult([key,value],kind){let result;switch(kind){case"key":result=key;break;case"value":result=value;break;case"key+value":result=[key,value]}return{value:result,done:!1}}}},69026:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(34662);module.exports={...DOMException,install:function installOverride(globalObject,globalNames){if("function"!=typeof globalObject.Error)throw new Error("Internal error: Error constructor is not present on the given global object.");DOMException.install(globalObject,globalNames),Object.setPrototypeOf(globalObject.DOMException.prototype,globalObject.Error.prototype)}}},86266:function(__unused_webpack_module,exports,__webpack_require__){var elliptic=exports;elliptic.version=__webpack_require__(18597).i8,elliptic.utils=__webpack_require__(80953),elliptic.rand=__webpack_require__(29931),elliptic.curve=__webpack_require__(88254),elliptic.curves=__webpack_require__(45427),elliptic.ec=__webpack_require__(57954),elliptic.eddsa=__webpack_require__(65980)},4918:function(module,__unused_webpack_exports,__webpack_require__){var BN=__webpack_require__(13550),utils=__webpack_require__(80953),getNAF=utils.getNAF,getJSF=utils.getJSF,assert=utils.assert;function BaseCurve(type,conf){this.type=type,this.p=new BN(conf.p,16),this.red=conf.prime?BN.red(conf.prime):BN.mont(this.p),this.zero=new BN(0).toRed(this.red),this.one=new BN(1).toRed(this.red),this.two=new BN(2).toRed(this.red),this.n=conf.n&&new BN(conf.n,16),this.g=conf.g&&this.pointFromJSON(conf.g,conf.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var adjustCount=this.n&&this.p.div(this.n);!adjustCount||adjustCount.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function BasePoint(curve,type){this.curve=curve,this.type=type,this.precomputed=null}module.exports=BaseCurve,BaseCurve.prototype.point=function point(){throw new Error("Not implemented")},BaseCurve.prototype.validate=function validate(){throw new Error("Not implemented")},BaseCurve.prototype._fixedNafMul=function _fixedNafMul(p,k){assert(p.precomputed);var doubles=p._getDoubles(),naf=getNAF(k,1,this._bitLength),I=(1<<doubles.step+1)-(doubles.step%2==0?2:1);I/=3;var j,nafW,repr=[];for(j=0;j<naf.length;j+=doubles.step){nafW=0;for(var l=j+doubles.step-1;l>=j;l--)nafW=(nafW<<1)+naf[l];repr.push(nafW)}for(var a=this.jpoint(null,null,null),b=this.jpoint(null,null,null),i=I;i>0;i--){for(j=0;j<repr.length;j++)(nafW=repr[j])===i?b=b.mixedAdd(doubles.points[j]):nafW===-i&&(b=b.mixedAdd(doubles.points[j].neg()));a=a.add(b)}return a.toP()},BaseCurve.prototype._wnafMul=function _wnafMul(p,k){var w=4,nafPoints=p._getNAFPoints(w);w=nafPoints.wnd;for(var wnd=nafPoints.points,naf=getNAF(k,w,this._bitLength),acc=this.jpoint(null,null,null),i=naf.length-1;i>=0;i--){for(var l=0;i>=0&&0===naf[i];i--)l++;if(i>=0&&l++,acc=acc.dblp(l),i<0)break;var z=naf[i];assert(0!==z),acc="affine"===p.type?z>0?acc.mixedAdd(wnd[z-1>>1]):acc.mixedAdd(wnd[-z-1>>1].neg()):z>0?acc.add(wnd[z-1>>1]):acc.add(wnd[-z-1>>1].neg())}return"affine"===p.type?acc.toP():acc},BaseCurve.prototype._wnafMulAdd=function _wnafMulAdd(defW,points,coeffs,len,jacobianResult){var i,j,p,wndWidth=this._wnafT1,wnd=this._wnafT2,naf=this._wnafT3,max=0;for(i=0;i<len;i++){var nafPoints=(p=points[i])._getNAFPoints(defW);wndWidth[i]=nafPoints.wnd,wnd[i]=nafPoints.points}for(i=len-1;i>=1;i-=2){var a=i-1,b=i;if(1===wndWidth[a]&&1===wndWidth[b]){var comb=[points[a],null,null,points[b]];0===points[a].y.cmp(points[b].y)?(comb[1]=points[a].add(points[b]),comb[2]=points[a].toJ().mixedAdd(points[b].neg())):0===points[a].y.cmp(points[b].y.redNeg())?(comb[1]=points[a].toJ().mixedAdd(points[b]),comb[2]=points[a].add(points[b].neg())):(comb[1]=points[a].toJ().mixedAdd(points[b]),comb[2]=points[a].toJ().mixedAdd(points[b].neg()));var index=[-3,-1,-5,-7,0,7,5,1,3],jsf=getJSF(coeffs[a],coeffs[b]);for(max=Math.max(jsf[0].length,max),naf[a]=new Array(max),naf[b]=new Array(max),j=0;j<max;j++){var ja=0|jsf[0][j],jb=0|jsf[1][j];naf[a][j]=index[3*(ja+1)+(jb+1)],naf[b][j]=0,wnd[a]=comb}}else naf[a]=getNAF(coeffs[a],wndWidth[a],this._bitLength),naf[b]=getNAF(coeffs[b],wndWidth[b],this._bitLength),max=Math.max(naf[a].length,max),max=Math.max(naf[b].length,max)}var acc=this.jpoint(null,null,null),tmp=this._wnafT4;for(i=max;i>=0;i--){for(var k=0;i>=0;){var zero=!0;for(j=0;j<len;j++)tmp[j]=0|naf[j][i],0!==tmp[j]&&(zero=!1);if(!zero)break;k++,i--}if(i>=0&&k++,acc=acc.dblp(k),i<0)break;for(j=0;j<len;j++){var z=tmp[j];0!==z&&(z>0?p=wnd[j][z-1>>1]:z<0&&(p=wnd[j][-z-1>>1].neg()),acc="affine"===p.type?acc.mixedAdd(p):acc.add(p))}}for(i=0;i<len;i++)wnd[i]=null;return jacobianResult?acc:acc.toP()},BaseCurve.BasePoint=BasePoint,BasePoint.prototype.eq=function eq(){throw new Error("Not implemented")},BasePoint.prototype.validate=function validate(){return this.curve.validate(this)},BaseCurve.prototype.decodePoint=function decodePoint(bytes,enc){bytes=utils.toArray(bytes,enc);var len=this.p.byteLength();if((4===bytes[0]||6===bytes[0]||7===bytes[0])&&bytes.length-1==2*len)return 6===bytes[0]?assert(bytes[bytes.length-1]%2==0):7===bytes[0]&&assert(bytes[bytes.length-1]%2==1),this.point(bytes.slice(1,1+len),bytes.slice(1+len,1+2*len));if((2===bytes[0]||3===bytes[0])&&bytes.length-1===len)return this.pointFromX(bytes.slice(1,1+len),3===bytes[0]);throw new Error("Unknown point format")},BasePoint.prototype.encodeCompressed=function encodeCompressed(enc){return this.encode(enc,!0)},BasePoint.prototype._encode=function _encode(compact){var len=this.curve.p.byteLength(),x=this.getX().toArray("be",len);return compact?[this.getY().isEven()?2:3].concat(x):[4].concat(x,this.getY().toArray("be",len))},BasePoint.prototype.encode=function encode(enc,compact){return utils.encode(this._encode(compact),enc)},BasePoint.prototype.precompute=function precompute(power){if(this.precomputed)return this;var precomputed={doubles:null,naf:null,beta:null};return precomputed.naf=this._getNAFPoints(8),precomputed.doubles=this._getDoubles(4,power),precomputed.beta=this._getBeta(),this.precomputed=precomputed,this},BasePoint.prototype._hasDoubles=function _hasDoubles(k){if(!this.precomputed)return!1;var doubles=this.precomputed.doubles;return!!doubles&&doubles.points.length>=Math.ceil((k.bitLength()+1)/doubles.step)},BasePoint.prototype._getDoubles=function _getDoubles(step,power){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var doubles=[this],acc=this,i=0;i<power;i+=step){for(var j=0;j<step;j++)acc=acc.dbl();doubles.push(acc)}return{step:step,points:doubles}},BasePoint.prototype._getNAFPoints=function _getNAFPoints(wnd){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var res=[this],max=(1<<wnd)-1,dbl=1===max?null:this.dbl(),i=1;i<max;i++)res[i]=res[i-1].add(dbl);return{wnd:wnd,points:res}},BasePoint.prototype._getBeta=function _getBeta(){return null},BasePoint.prototype.dblp=function dblp(k){for(var r=this,i=0;i<k;i++)r=r.dbl();return r}},31138:function(module,__unused_webpack_exports,__webpack_require__){var utils=__webpack_require__(80953),BN=__webpack_require__(13550),inherits=__webpack_require__(35717),Base=__webpack_require__(4918),assert=utils.assert;function EdwardsCurve(conf){this.twisted=1!=(0|conf.a),this.mOneA=this.twisted&&-1==(0|conf.a),this.extended=this.mOneA,Base.call(this,"edwards",conf),this.a=new BN(conf.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new BN(conf.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new BN(conf.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),assert(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|conf.c)}function Point(curve,x,y,z,t){Base.BasePoint.call(this,curve,"projective"),null===x&&null===y&&null===z?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new BN(x,16),this.y=new BN(y,16),this.z=z?new BN(z,16):this.curve.one,this.t=t&&new BN(t,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}inherits(EdwardsCurve,Base),module.exports=EdwardsCurve,EdwardsCurve.prototype._mulA=function _mulA(num){return this.mOneA?num.redNeg():this.a.redMul(num)},EdwardsCurve.prototype._mulC=function _mulC(num){return this.oneC?num:this.c.redMul(num)},EdwardsCurve.prototype.jpoint=function jpoint(x,y,z,t){return this.point(x,y,z,t)},EdwardsCurve.prototype.pointFromX=function pointFromX(x,odd){(x=new BN(x,16)).red||(x=x.toRed(this.red));var x2=x.redSqr(),rhs=this.c2.redSub(this.a.redMul(x2)),lhs=this.one.redSub(this.c2.redMul(this.d).redMul(x2)),y2=rhs.redMul(lhs.redInvm()),y=y2.redSqrt();if(0!==y.redSqr().redSub(y2).cmp(this.zero))throw new Error("invalid point");var isOdd=y.fromRed().isOdd();return(odd&&!isOdd||!odd&&isOdd)&&(y=y.redNeg()),this.point(x,y)},EdwardsCurve.prototype.pointFromY=function pointFromY(y,odd){(y=new BN(y,16)).red||(y=y.toRed(this.red));var y2=y.redSqr(),lhs=y2.redSub(this.c2),rhs=y2.redMul(this.d).redMul(this.c2).redSub(this.a),x2=lhs.redMul(rhs.redInvm());if(0===x2.cmp(this.zero)){if(odd)throw new Error("invalid point");return this.point(this.zero,y)}var x=x2.redSqrt();if(0!==x.redSqr().redSub(x2).cmp(this.zero))throw new Error("invalid point");return x.fromRed().isOdd()!==odd&&(x=x.redNeg()),this.point(x,y)},EdwardsCurve.prototype.validate=function validate(point){if(point.isInfinity())return!0;point.normalize();var x2=point.x.redSqr(),y2=point.y.redSqr(),lhs=x2.redMul(this.a).redAdd(y2),rhs=this.c2.redMul(this.one.redAdd(this.d.redMul(x2).redMul(y2)));return 0===lhs.cmp(rhs)},inherits(Point,Base.BasePoint),EdwardsCurve.prototype.pointFromJSON=function pointFromJSON(obj){return Point.fromJSON(this,obj)},EdwardsCurve.prototype.point=function point(x,y,z,t){return new Point(this,x,y,z,t)},Point.fromJSON=function fromJSON(curve,obj){return new Point(curve,obj[0],obj[1],obj[2])},Point.prototype.inspect=function inspect(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},Point.prototype.isInfinity=function isInfinity(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},Point.prototype._extDbl=function _extDbl(){var a=this.x.redSqr(),b=this.y.redSqr(),c=this.z.redSqr();c=c.redIAdd(c);var d=this.curve._mulA(a),e=this.x.redAdd(this.y).redSqr().redISub(a).redISub(b),g=d.redAdd(b),f=g.redSub(c),h=d.redSub(b),nx=e.redMul(f),ny=g.redMul(h),nt=e.redMul(h),nz=f.redMul(g);return this.curve.point(nx,ny,nz,nt)},Point.prototype._projDbl=function _projDbl(){var nx,ny,nz,e,h,j,b=this.x.redAdd(this.y).redSqr(),c=this.x.redSqr(),d=this.y.redSqr();if(this.curve.twisted){var f=(e=this.curve._mulA(c)).redAdd(d);this.zOne?(nx=b.redSub(c).redSub(d).redMul(f.redSub(this.curve.two)),ny=f.redMul(e.redSub(d)),nz=f.redSqr().redSub(f).redSub(f)):(h=this.z.redSqr(),j=f.redSub(h).redISub(h),nx=b.redSub(c).redISub(d).redMul(j),ny=f.redMul(e.redSub(d)),nz=f.redMul(j))}else e=c.redAdd(d),h=this.curve._mulC(this.z).redSqr(),j=e.redSub(h).redSub(h),nx=this.curve._mulC(b.redISub(e)).redMul(j),ny=this.curve._mulC(e).redMul(c.redISub(d)),nz=e.redMul(j);return this.curve.point(nx,ny,nz)},Point.prototype.dbl=function dbl(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},Point.prototype._extAdd=function _extAdd(p){var a=this.y.redSub(this.x).redMul(p.y.redSub(p.x)),b=this.y.redAdd(this.x).redMul(p.y.redAdd(p.x)),c=this.t.redMul(this.curve.dd).redMul(p.t),d=this.z.redMul(p.z.redAdd(p.z)),e=b.redSub(a),f=d.redSub(c),g=d.redAdd(c),h=b.redAdd(a),nx=e.redMul(f),ny=g.redMul(h),nt=e.redMul(h),nz=f.redMul(g);return this.curve.point(nx,ny,nz,nt)},Point.prototype._projAdd=function _projAdd(p){var ny,nz,a=this.z.redMul(p.z),b=a.redSqr(),c=this.x.redMul(p.x),d=this.y.redMul(p.y),e=this.curve.d.redMul(c).redMul(d),f=b.redSub(e),g=b.redAdd(e),tmp=this.x.redAdd(this.y).redMul(p.x.redAdd(p.y)).redISub(c).redISub(d),nx=a.redMul(f).redMul(tmp);return this.curve.twisted?(ny=a.redMul(g).redMul(d.redSub(this.curve._mulA(c))),nz=f.redMul(g)):(ny=a.redMul(g).redMul(d.redSub(c)),nz=this.curve._mulC(f).redMul(g)),this.curve.point(nx,ny,nz)},Point.prototype.add=function add(p){return this.isInfinity()?p:p.isInfinity()?this:this.curve.extended?this._extAdd(p):this._projAdd(p)},Point.prototype.mul=function mul(k){return this._hasDoubles(k)?this.curve._fixedNafMul(this,k):this.curve._wnafMul(this,k)},Point.prototype.mulAdd=function mulAdd(k1,p,k2){return this.curve._wnafMulAdd(1,[this,p],[k1,k2],2,!1)},Point.prototype.jmulAdd=function jmulAdd(k1,p,k2){return this.curve._wnafMulAdd(1,[this,p],[k1,k2],2,!0)},Point.prototype.normalize=function normalize(){if(this.zOne)return this;var zi=this.z.redInvm();return this.x=this.x.redMul(zi),this.y=this.y.redMul(zi),this.t&&(this.t=this.t.redMul(zi)),this.z=this.curve.one,this.zOne=!0,this},Point.prototype.neg=function neg(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},Point.prototype.getX=function getX(){return this.normalize(),this.x.fromRed()},Point.prototype.getY=function getY(){return this.normalize(),this.y.fromRed()},Point.prototype.eq=function eq(other){return this===other||0===this.getX().cmp(other.getX())&&0===this.getY().cmp(other.getY())},Point.prototype.eqXToP=function eqXToP(x){var rx=x.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(rx))return!0;for(var xc=x.clone(),t=this.curve.redN.redMul(this.z);;){if(xc.iadd(this.curve.n),xc.cmp(this.curve.p)>=0)return!1;if(rx.redIAdd(t),0===this.x.cmp(rx))return!0}},Point.prototype.toP=Point.prototype.normalize,Point.prototype.mixedAdd=Point.prototype.add},88254:function(__unused_webpack_module,exports,__webpack_require__){var curve=exports;curve.base=__webpack_require__(4918),curve.short=__webpack_require__(6673),curve.mont=__webpack_require__(22881),curve.edwards=__webpack_require__(31138)},22881:function(module,__unused_webpack_exports,__webpack_require__){var BN=__webpack_require__(13550),inherits=__webpack_require__(35717),Base=__webpack_require__(4918),utils=__webpack_require__(80953);function MontCurve(conf){Base.call(this,"mont",conf),this.a=new BN(conf.a,16).toRed(this.red),this.b=new BN(conf.b,16).toRed(this.red),this.i4=new BN(4).toRed(this.red).redInvm(),this.two=new BN(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function Point(curve,x,z){Base.BasePoint.call(this,curve,"projective"),null===x&&null===z?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new BN(x,16),this.z=new BN(z,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}inherits(MontCurve,Base),module.exports=MontCurve,MontCurve.prototype.validate=function validate(point){var x=point.normalize().x,x2=x.redSqr(),rhs=x2.redMul(x).redAdd(x2.redMul(this.a)).redAdd(x);return 0===rhs.redSqrt().redSqr().cmp(rhs)},inherits(Point,Base.BasePoint),MontCurve.prototype.decodePoint=function decodePoint(bytes,enc){return this.point(utils.toArray(bytes,enc),1)},MontCurve.prototype.point=function point(x,z){return new Point(this,x,z)},MontCurve.prototype.pointFromJSON=function pointFromJSON(obj){return Point.fromJSON(this,obj)},Point.prototype.precompute=function precompute(){},Point.prototype._encode=function _encode(){return this.getX().toArray("be",this.curve.p.byteLength())},Point.fromJSON=function fromJSON(curve,obj){return new Point(curve,obj[0],obj[1]||curve.one)},Point.prototype.inspect=function inspect(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},Point.prototype.isInfinity=function isInfinity(){return 0===this.z.cmpn(0)},Point.prototype.dbl=function dbl(){var aa=this.x.redAdd(this.z).redSqr(),bb=this.x.redSub(this.z).redSqr(),c=aa.redSub(bb),nx=aa.redMul(bb),nz=c.redMul(bb.redAdd(this.curve.a24.redMul(c)));return this.curve.point(nx,nz)},Point.prototype.add=function add(){throw new Error("Not supported on Montgomery curve")},Point.prototype.diffAdd=function diffAdd(p,diff){var a=this.x.redAdd(this.z),b=this.x.redSub(this.z),c=p.x.redAdd(p.z),da=p.x.redSub(p.z).redMul(a),cb=c.redMul(b),nx=diff.z.redMul(da.redAdd(cb).redSqr()),nz=diff.x.redMul(da.redISub(cb).redSqr());return this.curve.point(nx,nz)},Point.prototype.mul=function mul(k){for(var t=k.clone(),a=this,b=this.curve.point(null,null),bits=[];0!==t.cmpn(0);t.iushrn(1))bits.push(t.andln(1));for(var i=bits.length-1;i>=0;i--)0===bits[i]?(a=a.diffAdd(b,this),b=b.dbl()):(b=a.diffAdd(b,this),a=a.dbl());return b},Point.prototype.mulAdd=function mulAdd(){throw new Error("Not supported on Montgomery curve")},Point.prototype.jumlAdd=function jumlAdd(){throw new Error("Not supported on Montgomery curve")},Point.prototype.eq=function eq(other){return 0===this.getX().cmp(other.getX())},Point.prototype.normalize=function normalize(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},Point.prototype.getX=function getX(){return this.normalize(),this.x.fromRed()}},6673:function(module,__unused_webpack_exports,__webpack_require__){var utils=__webpack_require__(80953),BN=__webpack_require__(13550),inherits=__webpack_require__(35717),Base=__webpack_require__(4918),assert=utils.assert;function ShortCurve(conf){Base.call(this,"short",conf),this.a=new BN(conf.a,16).toRed(this.red),this.b=new BN(conf.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(conf),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function Point(curve,x,y,isRed){Base.BasePoint.call(this,curve,"affine"),null===x&&null===y?(this.x=null,this.y=null,this.inf=!0):(this.x=new BN(x,16),this.y=new BN(y,16),isRed&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function JPoint(curve,x,y,z){Base.BasePoint.call(this,curve,"jacobian"),null===x&&null===y&&null===z?(this.x=this.curve.one,this.y=this.curve.one,this.z=new BN(0)):(this.x=new BN(x,16),this.y=new BN(y,16),this.z=new BN(z,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}inherits(ShortCurve,Base),module.exports=ShortCurve,ShortCurve.prototype._getEndomorphism=function _getEndomorphism(conf){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var beta,lambda;if(conf.beta)beta=new BN(conf.beta,16).toRed(this.red);else{var betas=this._getEndoRoots(this.p);beta=(beta=betas[0].cmp(betas[1])<0?betas[0]:betas[1]).toRed(this.red)}if(conf.lambda)lambda=new BN(conf.lambda,16);else{var lambdas=this._getEndoRoots(this.n);0===this.g.mul(lambdas[0]).x.cmp(this.g.x.redMul(beta))?lambda=lambdas[0]:(lambda=lambdas[1],assert(0===this.g.mul(lambda).x.cmp(this.g.x.redMul(beta))))}return{beta:beta,lambda:lambda,basis:conf.basis?conf.basis.map((function(vec){return{a:new BN(vec.a,16),b:new BN(vec.b,16)}})):this._getEndoBasis(lambda)}}},ShortCurve.prototype._getEndoRoots=function _getEndoRoots(num){var red=num===this.p?this.red:BN.mont(num),tinv=new BN(2).toRed(red).redInvm(),ntinv=tinv.redNeg(),s=new BN(3).toRed(red).redNeg().redSqrt().redMul(tinv);return[ntinv.redAdd(s).fromRed(),ntinv.redSub(s).fromRed()]},ShortCurve.prototype._getEndoBasis=function _getEndoBasis(lambda){for(var a0,b0,a1,b1,a2,b2,prevR,r,x,aprxSqrt=this.n.ushrn(Math.floor(this.n.bitLength()/2)),u=lambda,v=this.n.clone(),x1=new BN(1),y1=new BN(0),x2=new BN(0),y2=new BN(1),i=0;0!==u.cmpn(0);){var q=v.div(u);r=v.sub(q.mul(u)),x=x2.sub(q.mul(x1));var y=y2.sub(q.mul(y1));if(!a1&&r.cmp(aprxSqrt)<0)a0=prevR.neg(),b0=x1,a1=r.neg(),b1=x;else if(a1&&2==++i)break;prevR=r,v=u,u=r,x2=x1,x1=x,y2=y1,y1=y}a2=r.neg(),b2=x;var len1=a1.sqr().add(b1.sqr());return a2.sqr().add(b2.sqr()).cmp(len1)>=0&&(a2=a0,b2=b0),a1.negative&&(a1=a1.neg(),b1=b1.neg()),a2.negative&&(a2=a2.neg(),b2=b2.neg()),[{a:a1,b:b1},{a:a2,b:b2}]},ShortCurve.prototype._endoSplit=function _endoSplit(k){var basis=this.endo.basis,v1=basis[0],v2=basis[1],c1=v2.b.mul(k).divRound(this.n),c2=v1.b.neg().mul(k).divRound(this.n),p1=c1.mul(v1.a),p2=c2.mul(v2.a),q1=c1.mul(v1.b),q2=c2.mul(v2.b);return{k1:k.sub(p1).sub(p2),k2:q1.add(q2).neg()}},ShortCurve.prototype.pointFromX=function pointFromX(x,odd){(x=new BN(x,16)).red||(x=x.toRed(this.red));var y2=x.redSqr().redMul(x).redIAdd(x.redMul(this.a)).redIAdd(this.b),y=y2.redSqrt();if(0!==y.redSqr().redSub(y2).cmp(this.zero))throw new Error("invalid point");var isOdd=y.fromRed().isOdd();return(odd&&!isOdd||!odd&&isOdd)&&(y=y.redNeg()),this.point(x,y)},ShortCurve.prototype.validate=function validate(point){if(point.inf)return!0;var x=point.x,y=point.y,ax=this.a.redMul(x),rhs=x.redSqr().redMul(x).redIAdd(ax).redIAdd(this.b);return 0===y.redSqr().redISub(rhs).cmpn(0)},ShortCurve.prototype._endoWnafMulAdd=function _endoWnafMulAdd(points,coeffs,jacobianResult){for(var npoints=this._endoWnafT1,ncoeffs=this._endoWnafT2,i=0;i<points.length;i++){var split=this._endoSplit(coeffs[i]),p=points[i],beta=p._getBeta();split.k1.negative&&(split.k1.ineg(),p=p.neg(!0)),split.k2.negative&&(split.k2.ineg(),beta=beta.neg(!0)),npoints[2*i]=p,npoints[2*i+1]=beta,ncoeffs[2*i]=split.k1,ncoeffs[2*i+1]=split.k2}for(var res=this._wnafMulAdd(1,npoints,ncoeffs,2*i,jacobianResult),j=0;j<2*i;j++)npoints[j]=null,ncoeffs[j]=null;return res},inherits(Point,Base.BasePoint),ShortCurve.prototype.point=function point(x,y,isRed){return new Point(this,x,y,isRed)},ShortCurve.prototype.pointFromJSON=function pointFromJSON(obj,red){return Point.fromJSON(this,obj,red)},Point.prototype._getBeta=function _getBeta(){if(this.curve.endo){var pre=this.precomputed;if(pre&&pre.beta)return pre.beta;var beta=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(pre){var curve=this.curve,endoMul=function(p){return curve.point(p.x.redMul(curve.endo.beta),p.y)};pre.beta=beta,beta.precomputed={beta:null,naf:pre.naf&&{wnd:pre.naf.wnd,points:pre.naf.points.map(endoMul)},doubles:pre.doubles&&{step:pre.doubles.step,points:pre.doubles.points.map(endoMul)}}}return beta}},Point.prototype.toJSON=function toJSON(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},Point.fromJSON=function fromJSON(curve,obj,red){"string"==typeof obj&&(obj=JSON.parse(obj));var res=curve.point(obj[0],obj[1],red);if(!obj[2])return res;function obj2point(obj){return curve.point(obj[0],obj[1],red)}var pre=obj[2];return res.precomputed={beta:null,doubles:pre.doubles&&{step:pre.doubles.step,points:[res].concat(pre.doubles.points.map(obj2point))},naf:pre.naf&&{wnd:pre.naf.wnd,points:[res].concat(pre.naf.points.map(obj2point))}},res},Point.prototype.inspect=function inspect(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},Point.prototype.isInfinity=function isInfinity(){return this.inf},Point.prototype.add=function add(p){if(this.inf)return p;if(p.inf)return this;if(this.eq(p))return this.dbl();if(this.neg().eq(p))return this.curve.point(null,null);if(0===this.x.cmp(p.x))return this.curve.point(null,null);var c=this.y.redSub(p.y);0!==c.cmpn(0)&&(c=c.redMul(this.x.redSub(p.x).redInvm()));var nx=c.redSqr().redISub(this.x).redISub(p.x),ny=c.redMul(this.x.redSub(nx)).redISub(this.y);return this.curve.point(nx,ny)},Point.prototype.dbl=function dbl(){if(this.inf)return this;var ys1=this.y.redAdd(this.y);if(0===ys1.cmpn(0))return this.curve.point(null,null);var a=this.curve.a,x2=this.x.redSqr(),dyinv=ys1.redInvm(),c=x2.redAdd(x2).redIAdd(x2).redIAdd(a).redMul(dyinv),nx=c.redSqr().redISub(this.x.redAdd(this.x)),ny=c.redMul(this.x.redSub(nx)).redISub(this.y);return this.curve.point(nx,ny)},Point.prototype.getX=function getX(){return this.x.fromRed()},Point.prototype.getY=function getY(){return this.y.fromRed()},Point.prototype.mul=function mul(k){return k=new BN(k,16),this.isInfinity()?this:this._hasDoubles(k)?this.curve._fixedNafMul(this,k):this.curve.endo?this.curve._endoWnafMulAdd([this],[k]):this.curve._wnafMul(this,k)},Point.prototype.mulAdd=function mulAdd(k1,p2,k2){var points=[this,p2],coeffs=[k1,k2];return this.curve.endo?this.curve._endoWnafMulAdd(points,coeffs):this.curve._wnafMulAdd(1,points,coeffs,2)},Point.prototype.jmulAdd=function jmulAdd(k1,p2,k2){var points=[this,p2],coeffs=[k1,k2];return this.curve.endo?this.curve._endoWnafMulAdd(points,coeffs,!0):this.curve._wnafMulAdd(1,points,coeffs,2,!0)},Point.prototype.eq=function eq(p){return this===p||this.inf===p.inf&&(this.inf||0===this.x.cmp(p.x)&&0===this.y.cmp(p.y))},Point.prototype.neg=function neg(_precompute){if(this.inf)return this;var res=this.curve.point(this.x,this.y.redNeg());if(_precompute&&this.precomputed){var pre=this.precomputed,negate=function(p){return p.neg()};res.precomputed={naf:pre.naf&&{wnd:pre.naf.wnd,points:pre.naf.points.map(negate)},doubles:pre.doubles&&{step:pre.doubles.step,points:pre.doubles.points.map(negate)}}}return res},Point.prototype.toJ=function toJ(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},inherits(JPoint,Base.BasePoint),ShortCurve.prototype.jpoint=function jpoint(x,y,z){return new JPoint(this,x,y,z)},JPoint.prototype.toP=function toP(){if(this.isInfinity())return this.curve.point(null,null);var zinv=this.z.redInvm(),zinv2=zinv.redSqr(),ax=this.x.redMul(zinv2),ay=this.y.redMul(zinv2).redMul(zinv);return this.curve.point(ax,ay)},JPoint.prototype.neg=function neg(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},JPoint.prototype.add=function add(p){if(this.isInfinity())return p;if(p.isInfinity())return this;var pz2=p.z.redSqr(),z2=this.z.redSqr(),u1=this.x.redMul(pz2),u2=p.x.redMul(z2),s1=this.y.redMul(pz2.redMul(p.z)),s2=p.y.redMul(z2.redMul(this.z)),h=u1.redSub(u2),r=s1.redSub(s2);if(0===h.cmpn(0))return 0!==r.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var h2=h.redSqr(),h3=h2.redMul(h),v=u1.redMul(h2),nx=r.redSqr().redIAdd(h3).redISub(v).redISub(v),ny=r.redMul(v.redISub(nx)).redISub(s1.redMul(h3)),nz=this.z.redMul(p.z).redMul(h);return this.curve.jpoint(nx,ny,nz)},JPoint.prototype.mixedAdd=function mixedAdd(p){if(this.isInfinity())return p.toJ();if(p.isInfinity())return this;var z2=this.z.redSqr(),u1=this.x,u2=p.x.redMul(z2),s1=this.y,s2=p.y.redMul(z2).redMul(this.z),h=u1.redSub(u2),r=s1.redSub(s2);if(0===h.cmpn(0))return 0!==r.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var h2=h.redSqr(),h3=h2.redMul(h),v=u1.redMul(h2),nx=r.redSqr().redIAdd(h3).redISub(v).redISub(v),ny=r.redMul(v.redISub(nx)).redISub(s1.redMul(h3)),nz=this.z.redMul(h);return this.curve.jpoint(nx,ny,nz)},JPoint.prototype.dblp=function dblp(pow){if(0===pow)return this;if(this.isInfinity())return this;if(!pow)return this.dbl();var i;if(this.curve.zeroA||this.curve.threeA){var r=this;for(i=0;i<pow;i++)r=r.dbl();return r}var a=this.curve.a,tinv=this.curve.tinv,jx=this.x,jy=this.y,jz=this.z,jz4=jz.redSqr().redSqr(),jyd=jy.redAdd(jy);for(i=0;i<pow;i++){var jx2=jx.redSqr(),jyd2=jyd.redSqr(),jyd4=jyd2.redSqr(),c=jx2.redAdd(jx2).redIAdd(jx2).redIAdd(a.redMul(jz4)),t1=jx.redMul(jyd2),nx=c.redSqr().redISub(t1.redAdd(t1)),t2=t1.redISub(nx),dny=c.redMul(t2);dny=dny.redIAdd(dny).redISub(jyd4);var nz=jyd.redMul(jz);i+1<pow&&(jz4=jz4.redMul(jyd4)),jx=nx,jz=nz,jyd=dny}return this.curve.jpoint(jx,jyd.redMul(tinv),jz)},JPoint.prototype.dbl=function dbl(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},JPoint.prototype._zeroDbl=function _zeroDbl(){var nx,ny,nz;if(this.zOne){var xx=this.x.redSqr(),yy=this.y.redSqr(),yyyy=yy.redSqr(),s=this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy);s=s.redIAdd(s);var m=xx.redAdd(xx).redIAdd(xx),t=m.redSqr().redISub(s).redISub(s),yyyy8=yyyy.redIAdd(yyyy);yyyy8=(yyyy8=yyyy8.redIAdd(yyyy8)).redIAdd(yyyy8),nx=t,ny=m.redMul(s.redISub(t)).redISub(yyyy8),nz=this.y.redAdd(this.y)}else{var a=this.x.redSqr(),b=this.y.redSqr(),c=b.redSqr(),d=this.x.redAdd(b).redSqr().redISub(a).redISub(c);d=d.redIAdd(d);var e=a.redAdd(a).redIAdd(a),f=e.redSqr(),c8=c.redIAdd(c);c8=(c8=c8.redIAdd(c8)).redIAdd(c8),nx=f.redISub(d).redISub(d),ny=e.redMul(d.redISub(nx)).redISub(c8),nz=(nz=this.y.redMul(this.z)).redIAdd(nz)}return this.curve.jpoint(nx,ny,nz)},JPoint.prototype._threeDbl=function _threeDbl(){var nx,ny,nz;if(this.zOne){var xx=this.x.redSqr(),yy=this.y.redSqr(),yyyy=yy.redSqr(),s=this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy);s=s.redIAdd(s);var m=xx.redAdd(xx).redIAdd(xx).redIAdd(this.curve.a),t=m.redSqr().redISub(s).redISub(s);nx=t;var yyyy8=yyyy.redIAdd(yyyy);yyyy8=(yyyy8=yyyy8.redIAdd(yyyy8)).redIAdd(yyyy8),ny=m.redMul(s.redISub(t)).redISub(yyyy8),nz=this.y.redAdd(this.y)}else{var delta=this.z.redSqr(),gamma=this.y.redSqr(),beta=this.x.redMul(gamma),alpha=this.x.redSub(delta).redMul(this.x.redAdd(delta));alpha=alpha.redAdd(alpha).redIAdd(alpha);var beta4=beta.redIAdd(beta),beta8=(beta4=beta4.redIAdd(beta4)).redAdd(beta4);nx=alpha.redSqr().redISub(beta8),nz=this.y.redAdd(this.z).redSqr().redISub(gamma).redISub(delta);var ggamma8=gamma.redSqr();ggamma8=(ggamma8=(ggamma8=ggamma8.redIAdd(ggamma8)).redIAdd(ggamma8)).redIAdd(ggamma8),ny=alpha.redMul(beta4.redISub(nx)).redISub(ggamma8)}return this.curve.jpoint(nx,ny,nz)},JPoint.prototype._dbl=function _dbl(){var a=this.curve.a,jx=this.x,jy=this.y,jz=this.z,jz4=jz.redSqr().redSqr(),jx2=jx.redSqr(),jy2=jy.redSqr(),c=jx2.redAdd(jx2).redIAdd(jx2).redIAdd(a.redMul(jz4)),jxd4=jx.redAdd(jx),t1=(jxd4=jxd4.redIAdd(jxd4)).redMul(jy2),nx=c.redSqr().redISub(t1.redAdd(t1)),t2=t1.redISub(nx),jyd8=jy2.redSqr();jyd8=(jyd8=(jyd8=jyd8.redIAdd(jyd8)).redIAdd(jyd8)).redIAdd(jyd8);var ny=c.redMul(t2).redISub(jyd8),nz=jy.redAdd(jy).redMul(jz);return this.curve.jpoint(nx,ny,nz)},JPoint.prototype.trpl=function trpl(){if(!this.curve.zeroA)return this.dbl().add(this);var xx=this.x.redSqr(),yy=this.y.redSqr(),zz=this.z.redSqr(),yyyy=yy.redSqr(),m=xx.redAdd(xx).redIAdd(xx),mm=m.redSqr(),e=this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy),ee=(e=(e=(e=e.redIAdd(e)).redAdd(e).redIAdd(e)).redISub(mm)).redSqr(),t=yyyy.redIAdd(yyyy);t=(t=(t=t.redIAdd(t)).redIAdd(t)).redIAdd(t);var u=m.redIAdd(e).redSqr().redISub(mm).redISub(ee).redISub(t),yyu4=yy.redMul(u);yyu4=(yyu4=yyu4.redIAdd(yyu4)).redIAdd(yyu4);var nx=this.x.redMul(ee).redISub(yyu4);nx=(nx=nx.redIAdd(nx)).redIAdd(nx);var ny=this.y.redMul(u.redMul(t.redISub(u)).redISub(e.redMul(ee)));ny=(ny=(ny=ny.redIAdd(ny)).redIAdd(ny)).redIAdd(ny);var nz=this.z.redAdd(e).redSqr().redISub(zz).redISub(ee);return this.curve.jpoint(nx,ny,nz)},JPoint.prototype.mul=function mul(k,kbase){return k=new BN(k,kbase),this.curve._wnafMul(this,k)},JPoint.prototype.eq=function eq(p){if("affine"===p.type)return this.eq(p.toJ());if(this===p)return!0;var z2=this.z.redSqr(),pz2=p.z.redSqr();if(0!==this.x.redMul(pz2).redISub(p.x.redMul(z2)).cmpn(0))return!1;var z3=z2.redMul(this.z),pz3=pz2.redMul(p.z);return 0===this.y.redMul(pz3).redISub(p.y.redMul(z3)).cmpn(0)},JPoint.prototype.eqXToP=function eqXToP(x){var zs=this.z.redSqr(),rx=x.toRed(this.curve.red).redMul(zs);if(0===this.x.cmp(rx))return!0;for(var xc=x.clone(),t=this.curve.redN.redMul(zs);;){if(xc.iadd(this.curve.n),xc.cmp(this.curve.p)>=0)return!1;if(rx.redIAdd(t),0===this.x.cmp(rx))return!0}},JPoint.prototype.inspect=function inspect(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},JPoint.prototype.isInfinity=function isInfinity(){return 0===this.z.cmpn(0)}},45427:function(__unused_webpack_module,exports,__webpack_require__){var pre,curves=exports,hash=__webpack_require__(33715),curve=__webpack_require__(88254),assert=__webpack_require__(80953).assert;function PresetCurve(options){"short"===options.type?this.curve=new curve.short(options):"edwards"===options.type?this.curve=new curve.edwards(options):this.curve=new curve.mont(options),this.g=this.curve.g,this.n=this.curve.n,this.hash=options.hash,assert(this.g.validate(),"Invalid curve"),assert(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function defineCurve(name,options){Object.defineProperty(curves,name,{configurable:!0,enumerable:!0,get:function(){var curve=new PresetCurve(options);return Object.defineProperty(curves,name,{configurable:!0,enumerable:!0,value:curve}),curve}})}curves.PresetCurve=PresetCurve,defineCurve("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:hash.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),defineCurve("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:hash.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),defineCurve("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:hash.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),defineCurve("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:hash.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),defineCurve("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:hash.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),defineCurve("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:hash.sha256,gRed:!1,g:["9"]}),defineCurve("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:hash.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{pre=__webpack_require__(91037)}catch(e){pre=void 0}defineCurve("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:hash.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",pre]})},57954:function(module,__unused_webpack_exports,__webpack_require__){var BN=__webpack_require__(13550),HmacDRBG=__webpack_require__(2156),utils=__webpack_require__(80953),curves=__webpack_require__(45427),rand=__webpack_require__(29931),assert=utils.assert,KeyPair=__webpack_require__(31251),Signature=__webpack_require__(90611);function EC(options){if(!(this instanceof EC))return new EC(options);"string"==typeof options&&(assert(Object.prototype.hasOwnProperty.call(curves,options),"Unknown curve "+options),options=curves[options]),options instanceof curves.PresetCurve&&(options={curve:options}),this.curve=options.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=options.curve.g,this.g.precompute(options.curve.n.bitLength()+1),this.hash=options.hash||options.curve.hash}module.exports=EC,EC.prototype.keyPair=function keyPair(options){return new KeyPair(this,options)},EC.prototype.keyFromPrivate=function keyFromPrivate(priv,enc){return KeyPair.fromPrivate(this,priv,enc)},EC.prototype.keyFromPublic=function keyFromPublic(pub,enc){return KeyPair.fromPublic(this,pub,enc)},EC.prototype.genKeyPair=function genKeyPair(options){options||(options={});for(var drbg=new HmacDRBG({hash:this.hash,pers:options.pers,persEnc:options.persEnc||"utf8",entropy:options.entropy||rand(this.hash.hmacStrength),entropyEnc:options.entropy&&options.entropyEnc||"utf8",nonce:this.n.toArray()}),bytes=this.n.byteLength(),ns2=this.n.sub(new BN(2));;){var priv=new BN(drbg.generate(bytes));if(!(priv.cmp(ns2)>0))return priv.iaddn(1),this.keyFromPrivate(priv)}},EC.prototype._truncateToN=function _truncateToN(msg,truncOnly){var delta=8*msg.byteLength()-this.n.bitLength();return delta>0&&(msg=msg.ushrn(delta)),!truncOnly&&msg.cmp(this.n)>=0?msg.sub(this.n):msg},EC.prototype.sign=function sign(msg,key,enc,options){"object"==typeof enc&&(options=enc,enc=null),options||(options={}),key=this.keyFromPrivate(key,enc),msg=this._truncateToN(new BN(msg,16));for(var bytes=this.n.byteLength(),bkey=key.getPrivate().toArray("be",bytes),nonce=msg.toArray("be",bytes),drbg=new HmacDRBG({hash:this.hash,entropy:bkey,nonce:nonce,pers:options.pers,persEnc:options.persEnc||"utf8"}),ns1=this.n.sub(new BN(1)),iter=0;;iter++){var k=options.k?options.k(iter):new BN(drbg.generate(this.n.byteLength()));if(!((k=this._truncateToN(k,!0)).cmpn(1)<=0||k.cmp(ns1)>=0)){var kp=this.g.mul(k);if(!kp.isInfinity()){var kpX=kp.getX(),r=kpX.umod(this.n);if(0!==r.cmpn(0)){var s=k.invm(this.n).mul(r.mul(key.getPrivate()).iadd(msg));if(0!==(s=s.umod(this.n)).cmpn(0)){var recoveryParam=(kp.getY().isOdd()?1:0)|(0!==kpX.cmp(r)?2:0);return options.canonical&&s.cmp(this.nh)>0&&(s=this.n.sub(s),recoveryParam^=1),new Signature({r:r,s:s,recoveryParam:recoveryParam})}}}}}},EC.prototype.verify=function verify(msg,signature,key,enc){msg=this._truncateToN(new BN(msg,16)),key=this.keyFromPublic(key,enc);var r=(signature=new Signature(signature,"hex")).r,s=signature.s;if(r.cmpn(1)<0||r.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var p,sinv=s.invm(this.n),u1=sinv.mul(msg).umod(this.n),u2=sinv.mul(r).umod(this.n);return this.curve._maxwellTrick?!(p=this.g.jmulAdd(u1,key.getPublic(),u2)).isInfinity()&&p.eqXToP(r):!(p=this.g.mulAdd(u1,key.getPublic(),u2)).isInfinity()&&0===p.getX().umod(this.n).cmp(r)},EC.prototype.recoverPubKey=function(msg,signature,j,enc){assert((3&j)===j,"The recovery param is more than two bits"),signature=new Signature(signature,enc);var n=this.n,e=new BN(msg),r=signature.r,s=signature.s,isYOdd=1&j,isSecondKey=j>>1;if(r.cmp(this.curve.p.umod(this.curve.n))>=0&&isSecondKey)throw new Error("Unable to find sencond key candinate");r=isSecondKey?this.curve.pointFromX(r.add(this.curve.n),isYOdd):this.curve.pointFromX(r,isYOdd);var rInv=signature.r.invm(n),s1=n.sub(e).mul(rInv).umod(n),s2=s.mul(rInv).umod(n);return this.g.mulAdd(s1,r,s2)},EC.prototype.getKeyRecoveryParam=function(e,signature,Q,enc){if(null!==(signature=new Signature(signature,enc)).recoveryParam)return signature.recoveryParam;for(var i=0;i<4;i++){var Qprime;try{Qprime=this.recoverPubKey(e,signature,i)}catch(e){continue}if(Qprime.eq(Q))return i}throw new Error("Unable to find valid recovery factor")}},31251:function(module,__unused_webpack_exports,__webpack_require__){var BN=__webpack_require__(13550),assert=__webpack_require__(80953).assert;function KeyPair(ec,options){this.ec=ec,this.priv=null,this.pub=null,options.priv&&this._importPrivate(options.priv,options.privEnc),options.pub&&this._importPublic(options.pub,options.pubEnc)}module.exports=KeyPair,KeyPair.fromPublic=function fromPublic(ec,pub,enc){return pub instanceof KeyPair?pub:new KeyPair(ec,{pub:pub,pubEnc:enc})},KeyPair.fromPrivate=function fromPrivate(ec,priv,enc){return priv instanceof KeyPair?priv:new KeyPair(ec,{priv:priv,privEnc:enc})},KeyPair.prototype.validate=function validate(){var pub=this.getPublic();return pub.isInfinity()?{result:!1,reason:"Invalid public key"}:pub.validate()?pub.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},KeyPair.prototype.getPublic=function getPublic(compact,enc){return"string"==typeof compact&&(enc=compact,compact=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),enc?this.pub.encode(enc,compact):this.pub},KeyPair.prototype.getPrivate=function getPrivate(enc){return"hex"===enc?this.priv.toString(16,2):this.priv},KeyPair.prototype._importPrivate=function _importPrivate(key,enc){this.priv=new BN(key,enc||16),this.priv=this.priv.umod(this.ec.curve.n)},KeyPair.prototype._importPublic=function _importPublic(key,enc){if(key.x||key.y)return"mont"===this.ec.curve.type?assert(key.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||assert(key.x&&key.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(key.x,key.y));this.pub=this.ec.curve.decodePoint(key,enc)},KeyPair.prototype.derive=function derive(pub){return pub.validate()||assert(pub.validate(),"public point not validated"),pub.mul(this.priv).getX()},KeyPair.prototype.sign=function sign(msg,enc,options){return this.ec.sign(msg,this,enc,options)},KeyPair.prototype.verify=function verify(msg,signature){return this.ec.verify(msg,signature,this)},KeyPair.prototype.inspect=function inspect(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},90611:function(module,__unused_webpack_exports,__webpack_require__){var BN=__webpack_require__(13550),utils=__webpack_require__(80953),assert=utils.assert;function Signature(options,enc){if(options instanceof Signature)return options;this._importDER(options,enc)||(assert(options.r&&options.s,"Signature without r or s"),this.r=new BN(options.r,16),this.s=new BN(options.s,16),void 0===options.recoveryParam?this.recoveryParam=null:this.recoveryParam=options.recoveryParam)}function Position(){this.place=0}function getLength(buf,p){var initial=buf[p.place++];if(!(128&initial))return initial;var octetLen=15&initial;if(0===octetLen||octetLen>4)return!1;for(var val=0,i=0,off=p.place;i<octetLen;i++,off++)val<<=8,val|=buf[off],val>>>=0;return!(val<=127)&&(p.place=off,val)}function rmPadding(buf){for(var i=0,len=buf.length-1;!buf[i]&&!(128&buf[i+1])&&i<len;)i++;return 0===i?buf:buf.slice(i)}function constructLength(arr,len){if(len<128)arr.push(len);else{var octets=1+(Math.log(len)/Math.LN2>>>3);for(arr.push(128|octets);--octets;)arr.push(len>>>(octets<<3)&255);arr.push(len)}}module.exports=Signature,Signature.prototype._importDER=function _importDER(data,enc){data=utils.toArray(data,enc);var p=new Position;if(48!==data[p.place++])return!1;var len=getLength(data,p);if(!1===len)return!1;if(len+p.place!==data.length)return!1;if(2!==data[p.place++])return!1;var rlen=getLength(data,p);if(!1===rlen)return!1;var r=data.slice(p.place,rlen+p.place);if(p.place+=rlen,2!==data[p.place++])return!1;var slen=getLength(data,p);if(!1===slen)return!1;if(data.length!==slen+p.place)return!1;var s=data.slice(p.place,slen+p.place);if(0===r[0]){if(!(128&r[1]))return!1;r=r.slice(1)}if(0===s[0]){if(!(128&s[1]))return!1;s=s.slice(1)}return this.r=new BN(r),this.s=new BN(s),this.recoveryParam=null,!0},Signature.prototype.toDER=function toDER(enc){var r=this.r.toArray(),s=this.s.toArray();for(128&r[0]&&(r=[0].concat(r)),128&s[0]&&(s=[0].concat(s)),r=rmPadding(r),s=rmPadding(s);!(s[0]||128&s[1]);)s=s.slice(1);var arr=[2];constructLength(arr,r.length),(arr=arr.concat(r)).push(2),constructLength(arr,s.length);var backHalf=arr.concat(s),res=[48];return constructLength(res,backHalf.length),res=res.concat(backHalf),utils.encode(res,enc)}},65980:function(module,__unused_webpack_exports,__webpack_require__){var hash=__webpack_require__(33715),curves=__webpack_require__(45427),utils=__webpack_require__(80953),assert=utils.assert,parseBytes=utils.parseBytes,KeyPair=__webpack_require__(79087),Signature=__webpack_require__(23622);function EDDSA(curve){if(assert("ed25519"===curve,"only tested with ed25519 so far"),!(this instanceof EDDSA))return new EDDSA(curve);curve=curves[curve].curve,this.curve=curve,this.g=curve.g,this.g.precompute(curve.n.bitLength()+1),this.pointClass=curve.point().constructor,this.encodingLength=Math.ceil(curve.n.bitLength()/8),this.hash=hash.sha512}module.exports=EDDSA,EDDSA.prototype.sign=function sign(message,secret){message=parseBytes(message);var key=this.keyFromSecret(secret),r=this.hashInt(key.messagePrefix(),message),R=this.g.mul(r),Rencoded=this.encodePoint(R),s_=this.hashInt(Rencoded,key.pubBytes(),message).mul(key.priv()),S=r.add(s_).umod(this.curve.n);return this.makeSignature({R:R,S:S,Rencoded:Rencoded})},EDDSA.prototype.verify=function verify(message,sig,pub){message=parseBytes(message),sig=this.makeSignature(sig);var key=this.keyFromPublic(pub),h=this.hashInt(sig.Rencoded(),key.pubBytes(),message),SG=this.g.mul(sig.S());return sig.R().add(key.pub().mul(h)).eq(SG)},EDDSA.prototype.hashInt=function hashInt(){for(var hash=this.hash(),i=0;i<arguments.length;i++)hash.update(arguments[i]);return utils.intFromLE(hash.digest()).umod(this.curve.n)},EDDSA.prototype.keyFromPublic=function keyFromPublic(pub){return KeyPair.fromPublic(this,pub)},EDDSA.prototype.keyFromSecret=function keyFromSecret(secret){return KeyPair.fromSecret(this,secret)},EDDSA.prototype.makeSignature=function makeSignature(sig){return sig instanceof Signature?sig:new Signature(this,sig)},EDDSA.prototype.encodePoint=function encodePoint(point){var enc=point.getY().toArray("le",this.encodingLength);return enc[this.encodingLength-1]|=point.getX().isOdd()?128:0,enc},EDDSA.prototype.decodePoint=function decodePoint(bytes){var lastIx=(bytes=utils.parseBytes(bytes)).length-1,normed=bytes.slice(0,lastIx).concat(-129&bytes[lastIx]),xIsOdd=0!=(128&bytes[lastIx]),y=utils.intFromLE(normed);return this.curve.pointFromY(y,xIsOdd)},EDDSA.prototype.encodeInt=function encodeInt(num){return num.toArray("le",this.encodingLength)},EDDSA.prototype.decodeInt=function decodeInt(bytes){return utils.intFromLE(bytes)},EDDSA.prototype.isPoint=function isPoint(val){return val instanceof this.pointClass}},79087:function(module,__unused_webpack_exports,__webpack_require__){var utils=__webpack_require__(80953),assert=utils.assert,parseBytes=utils.parseBytes,cachedProperty=utils.cachedProperty;function KeyPair(eddsa,params){this.eddsa=eddsa,this._secret=parseBytes(params.secret),eddsa.isPoint(params.pub)?this._pub=params.pub:this._pubBytes=parseBytes(params.pub)}KeyPair.fromPublic=function fromPublic(eddsa,pub){return pub instanceof KeyPair?pub:new KeyPair(eddsa,{pub:pub})},KeyPair.fromSecret=function fromSecret(eddsa,secret){return secret instanceof KeyPair?secret:new KeyPair(eddsa,{secret:secret})},KeyPair.prototype.secret=function secret(){return this._secret},cachedProperty(KeyPair,"pubBytes",(function pubBytes(){return this.eddsa.encodePoint(this.pub())})),cachedProperty(KeyPair,"pub",(function pub(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),cachedProperty(KeyPair,"privBytes",(function privBytes(){var eddsa=this.eddsa,hash=this.hash(),lastIx=eddsa.encodingLength-1,a=hash.slice(0,eddsa.encodingLength);return a[0]&=248,a[lastIx]&=127,a[lastIx]|=64,a})),cachedProperty(KeyPair,"priv",(function priv(){return this.eddsa.decodeInt(this.privBytes())})),cachedProperty(KeyPair,"hash",(function hash(){return this.eddsa.hash().update(this.secret()).digest()})),cachedProperty(KeyPair,"messagePrefix",(function messagePrefix(){return this.hash().slice(this.eddsa.encodingLength)})),KeyPair.prototype.sign=function sign(message){return assert(this._secret,"KeyPair can only verify"),this.eddsa.sign(message,this)},KeyPair.prototype.verify=function verify(message,sig){return this.eddsa.verify(message,sig,this)},KeyPair.prototype.getSecret=function getSecret(enc){return assert(this._secret,"KeyPair is public only"),utils.encode(this.secret(),enc)},KeyPair.prototype.getPublic=function getPublic(enc){return utils.encode(this.pubBytes(),enc)},module.exports=KeyPair},23622:function(module,__unused_webpack_exports,__webpack_require__){var BN=__webpack_require__(13550),utils=__webpack_require__(80953),assert=utils.assert,cachedProperty=utils.cachedProperty,parseBytes=utils.parseBytes;function Signature(eddsa,sig){this.eddsa=eddsa,"object"!=typeof sig&&(sig=parseBytes(sig)),Array.isArray(sig)&&(sig={R:sig.slice(0,eddsa.encodingLength),S:sig.slice(eddsa.encodingLength)}),assert(sig.R&&sig.S,"Signature without R or S"),eddsa.isPoint(sig.R)&&(this._R=sig.R),sig.S instanceof BN&&(this._S=sig.S),this._Rencoded=Array.isArray(sig.R)?sig.R:sig.Rencoded,this._Sencoded=Array.isArray(sig.S)?sig.S:sig.Sencoded}cachedProperty(Signature,"S",(function S(){return this.eddsa.decodeInt(this.Sencoded())})),cachedProperty(Signature,"R",(function R(){return this.eddsa.decodePoint(this.Rencoded())})),cachedProperty(Signature,"Rencoded",(function Rencoded(){return this.eddsa.encodePoint(this.R())})),cachedProperty(Signature,"Sencoded",(function Sencoded(){return this.eddsa.encodeInt(this.S())})),Signature.prototype.toBytes=function toBytes(){return this.Rencoded().concat(this.Sencoded())},Signature.prototype.toHex=function toHex(){return utils.encode(this.toBytes(),"hex").toUpperCase()},module.exports=Signature},91037:function(module){module.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},80953:function(__unused_webpack_module,exports,__webpack_require__){var utils=exports,BN=__webpack_require__(13550),minAssert=__webpack_require__(79746),minUtils=__webpack_require__(34504);utils.assert=minAssert,utils.toArray=minUtils.toArray,utils.zero2=minUtils.zero2,utils.toHex=minUtils.toHex,utils.encode=minUtils.encode,utils.getNAF=function getNAF(num,w,bits){var naf=new Array(Math.max(num.bitLength(),bits)+1);naf.fill(0);for(var ws=1<<w+1,k=num.clone(),i=0;i<naf.length;i++){var z,mod=k.andln(ws-1);k.isOdd()?(z=mod>(ws>>1)-1?(ws>>1)-mod:mod,k.isubn(z)):z=0,naf[i]=z,k.iushrn(1)}return naf},utils.getJSF=function getJSF(k1,k2){var jsf=[[],[]];k1=k1.clone(),k2=k2.clone();for(var m8,d1=0,d2=0;k1.cmpn(-d1)>0||k2.cmpn(-d2)>0;){var u1,u2,m14=k1.andln(3)+d1&3,m24=k2.andln(3)+d2&3;3===m14&&(m14=-1),3===m24&&(m24=-1),u1=0==(1&m14)?0:3!==(m8=k1.andln(7)+d1&7)&&5!==m8||2!==m24?m14:-m14,jsf[0].push(u1),u2=0==(1&m24)?0:3!==(m8=k2.andln(7)+d2&7)&&5!==m8||2!==m14?m24:-m24,jsf[1].push(u2),2*d1===u1+1&&(d1=1-d1),2*d2===u2+1&&(d2=1-d2),k1.iushrn(1),k2.iushrn(1)}return jsf},utils.cachedProperty=function cachedProperty(obj,name,computer){var key="_"+name;obj.prototype[name]=function cachedProperty(){return void 0!==this[key]?this[key]:this[key]=computer.call(this)}},utils.parseBytes=function parseBytes(bytes){return"string"==typeof bytes?utils.toArray(bytes,"hex"):bytes},utils.intFromLE=function intFromLE(bytes){return new BN(bytes,"hex","le")}},8091:function(module){function assign(target,firstSource){if(null==target)throw new TypeError("Cannot convert first argument to object");for(var to=Object(target),i=1;i<arguments.length;i++){var nextSource=arguments[i];if(null!=nextSource)for(var keysArray=Object.keys(Object(nextSource)),nextIndex=0,len=keysArray.length;nextIndex<len;nextIndex++){var nextKey=keysArray[nextIndex],desc=Object.getOwnPropertyDescriptor(nextSource,nextKey);void 0!==desc&&desc.enumerable&&(to[nextKey]=nextSource[nextKey])}}return to}module.exports={assign:assign,polyfill:function polyfill(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:assign})}}},90312:function(__unused_webpack_module,exports,__webpack_require__){!function(){var Syntax,Precedence,BinaryPrecedence,SourceNode,estraverse,esutils,base,indent,json,renumber,hexadecimal,quotes,escapeless,newline,space,parentheses,semicolons,safeConcatenation,directive,extra,parse,sourceMap,sourceCode,preserveBlankLines,FORMAT_MINIFY,FORMAT_DEFAULTS;function isStatement(node){return CodeGenerator.Statement.hasOwnProperty(node.type)}estraverse=__webpack_require__(27085),esutils=__webpack_require__(649),Syntax=estraverse.Syntax,BinaryPrecedence={"||":(Precedence={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,LogicalOR:3,LogicalAND:4,BitwiseOR:5,BitwiseXOR:6,BitwiseAND:7,Equality:8,Relational:9,BitwiseSHIFT:10,Additive:11,Multiplicative:12,Exponentiation:13,Await:14,Unary:14,Postfix:15,OptionalChaining:16,Call:17,New:18,TaggedTemplate:19,Member:20,Primary:21}).LogicalOR,"&&":Precedence.LogicalAND,"|":Precedence.BitwiseOR,"^":Precedence.BitwiseXOR,"&":Precedence.BitwiseAND,"==":Precedence.Equality,"!=":Precedence.Equality,"===":Precedence.Equality,"!==":Precedence.Equality,is:Precedence.Equality,isnt:Precedence.Equality,"<":Precedence.Relational,">":Precedence.Relational,"<=":Precedence.Relational,">=":Precedence.Relational,in:Precedence.Relational,instanceof:Precedence.Relational,"<<":Precedence.BitwiseSHIFT,">>":Precedence.BitwiseSHIFT,">>>":Precedence.BitwiseSHIFT,"+":Precedence.Additive,"-":Precedence.Additive,"*":Precedence.Multiplicative,"%":Precedence.Multiplicative,"/":Precedence.Multiplicative,"**":Precedence.Exponentiation};function stringRepeat(str,num){var result="";for(num|=0;num>0;num>>>=1,str+=str)1&num&&(result+=str);return result}function endsWithLineTerminator(str){var len=str.length;return len&&esutils.code.isLineTerminator(str.charCodeAt(len-1))}function merge(target,override){var key;for(key in override)override.hasOwnProperty(key)&&(target[key]=override[key]);return target}function updateDeeply(target,override){var key,val;function isHashObject(target){return"object"==typeof target&&target instanceof Object&&!(target instanceof RegExp)}for(key in override)override.hasOwnProperty(key)&&(isHashObject(val=override[key])?isHashObject(target[key])?updateDeeply(target[key],val):target[key]=updateDeeply({},val):target[key]=val);return target}function escapeRegExpCharacter(ch,previousIsBackslash){return 8232==(-2&ch)?(previousIsBackslash?"u":"\\u")+(8232===ch?"2028":"2029"):10===ch||13===ch?(previousIsBackslash?"":"\\")+(10===ch?"n":"r"):String.fromCharCode(ch)}function escapeAllowedCharacter(code,next){var hex;return 8===code?"\\b":12===code?"\\f":9===code?"\\t":(hex=code.toString(16).toUpperCase(),json||code>255?"\\u"+"0000".slice(hex.length)+hex:0!==code||esutils.code.isDecimalDigit(next)?11===code?"\\x0B":"\\x"+"00".slice(hex.length)+hex:"\\0")}function escapeDisallowedCharacter(code){if(92===code)return"\\\\";if(10===code)return"\\n";if(13===code)return"\\r";if(8232===code)return"\\u2028";if(8233===code)return"\\u2029";throw new Error("Incorrectly classified character")}function flattenToString(arr){var i,iz,elem,result="";for(i=0,iz=arr.length;i<iz;++i)elem=arr[i],result+=Array.isArray(elem)?flattenToString(elem):elem;return result}function toSourceNodeWhenNeeded(generated,node){if(!sourceMap)return Array.isArray(generated)?flattenToString(generated):generated;if(null==node){if(generated instanceof SourceNode)return generated;node={}}return null==node.loc?new SourceNode(null,null,sourceMap,generated,node.name||null):new SourceNode(node.loc.start.line,node.loc.start.column,!0===sourceMap?node.loc.source||null:sourceMap,generated,node.name||null)}function noEmptySpace(){return space||" "}function join(left,right){var leftSource,rightSource,leftCharCode,rightCharCode;return 0===(leftSource=toSourceNodeWhenNeeded(left).toString()).length?[right]:0===(rightSource=toSourceNodeWhenNeeded(right).toString()).length?[left]:(leftCharCode=leftSource.charCodeAt(leftSource.length-1),rightCharCode=rightSource.charCodeAt(0),(43===leftCharCode||45===leftCharCode)&&leftCharCode===rightCharCode||esutils.code.isIdentifierPartES5(leftCharCode)&&esutils.code.isIdentifierPartES5(rightCharCode)||47===leftCharCode&&105===rightCharCode?[left,noEmptySpace(),right]:esutils.code.isWhiteSpace(leftCharCode)||esutils.code.isLineTerminator(leftCharCode)||esutils.code.isWhiteSpace(rightCharCode)||esutils.code.isLineTerminator(rightCharCode)?[left,right]:[left,space,right])}function addIndent(stmt){return[base,stmt]}function withIndent(fn){var previousBase;previousBase=base,fn(base+=indent),base=previousBase}function generateComment(comment,specialBase){if("Line"===comment.type){if(endsWithLineTerminator(comment.value))return"//"+comment.value;var result="//"+comment.value;return preserveBlankLines||(result+="\n"),result}return extra.format.indent.adjustMultilineComment&&/[\n\r]/.test(comment.value)?function adjustMultilineComment(value,specialBase){var array,i,len,line,j,spaces,previousBase,sn;for(array=value.split(/\r\n|[\r\n]/),spaces=Number.MAX_VALUE,i=1,len=array.length;i<len;++i){for(line=array[i],j=0;j<line.length&&esutils.code.isWhiteSpace(line.charCodeAt(j));)++j;spaces>j&&(spaces=j)}for(void 0!==specialBase?(previousBase=base,"*"===array[1][spaces]&&(specialBase+=" "),base=specialBase):(1&spaces&&--spaces,previousBase=base),i=1,len=array.length;i<len;++i)sn=toSourceNodeWhenNeeded(addIndent(array[i].slice(spaces))),array[i]=sourceMap?sn.join(""):sn;return base=previousBase,array.join("\n")}("/*"+comment.value+"*/",specialBase):"/*"+comment.value+"*/"}function addComments(stmt,result){var i,len,comment,save,tailingToStatement,specialBase,fragment,extRange,range,prevRange,prefix,count;if(stmt.leadingComments&&stmt.leadingComments.length>0){if(save=result,preserveBlankLines){for(result=[],extRange=(comment=stmt.leadingComments[0]).extendedRange,range=comment.range,(count=((prefix=sourceCode.substring(extRange[0],range[0])).match(/\n/g)||[]).length)>0?(result.push(stringRepeat("\n",count)),result.push(addIndent(generateComment(comment)))):(result.push(prefix),result.push(generateComment(comment))),prevRange=range,i=1,len=stmt.leadingComments.length;i<len;i++)range=(comment=stmt.leadingComments[i]).range,count=(sourceCode.substring(prevRange[1],range[0]).match(/\n/g)||[]).length,result.push(stringRepeat("\n",count)),result.push(addIndent(generateComment(comment))),prevRange=range;count=(sourceCode.substring(range[1],extRange[1]).match(/\n/g)||[]).length,result.push(stringRepeat("\n",count))}else for(comment=stmt.leadingComments[0],result=[],safeConcatenation&&stmt.type===Syntax.Program&&0===stmt.body.length&&result.push("\n"),result.push(generateComment(comment)),endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())||result.push("\n"),i=1,len=stmt.leadingComments.length;i<len;++i)endsWithLineTerminator(toSourceNodeWhenNeeded(fragment=[generateComment(comment=stmt.leadingComments[i])]).toString())||fragment.push("\n"),result.push(addIndent(fragment));result.push(addIndent(save))}if(stmt.trailingComments)if(preserveBlankLines)extRange=(comment=stmt.trailingComments[0]).extendedRange,range=comment.range,(count=((prefix=sourceCode.substring(extRange[0],range[0])).match(/\n/g)||[]).length)>0?(result.push(stringRepeat("\n",count)),result.push(addIndent(generateComment(comment)))):(result.push(prefix),result.push(generateComment(comment)));else for(tailingToStatement=!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString()),specialBase=stringRepeat(" ",function calculateSpaces(str){var i;for(i=str.length-1;i>=0&&!esutils.code.isLineTerminator(str.charCodeAt(i));--i);return str.length-1-i}(toSourceNodeWhenNeeded([base,result,indent]).toString())),i=0,len=stmt.trailingComments.length;i<len;++i)comment=stmt.trailingComments[i],tailingToStatement?(result=0===i?[result,indent]:[result,specialBase]).push(generateComment(comment,specialBase)):result=[result,addIndent(generateComment(comment))],i===len-1||endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())||(result=[result,"\n"]);return result}function generateBlankLines(start,end,result){var j,newlineCount=0;for(j=start;j<end;j++)"\n"===sourceCode[j]&&newlineCount++;for(j=1;j<newlineCount;j++)result.push(newline)}function parenthesize(text,current,should){return current<should?["(",text,")"]:text}function generateVerbatimString(string){var i,iz,result;for(i=1,iz=(result=string.split(/\r\n|\n/)).length;i<iz;i++)result[i]=newline+base+result[i];return result}function CodeGenerator(){}function generateIdentifier(node){return toSourceNodeWhenNeeded(node.name,node)}function generateAsyncPrefix(node,spaceRequired){return node.async?"async"+(spaceRequired?noEmptySpace():space):""}function generateStarSuffix(node){return node.generator&&!extra.moz.starlessGenerator?"*"+space:""}function generateMethodPrefix(prop){var func=prop.value,prefix="";return func.async&&(prefix+=generateAsyncPrefix(func,!prop.computed)),func.generator&&(prefix+=generateStarSuffix(func)?"*":""),prefix}function generateInternal(node){var codegen;if(codegen=new CodeGenerator,isStatement(node))return codegen.generateStatement(node,1);if(function isExpression(node){return CodeGenerator.Expression.hasOwnProperty(node.type)}(node))return codegen.generateExpression(node,Precedence.Sequence,7);throw new Error("Unknown node type: "+node.type)}CodeGenerator.prototype.maybeBlock=function(stmt,flags){var result,noLeadingComment,that=this;return noLeadingComment=!extra.comment||!stmt.leadingComments,stmt.type===Syntax.BlockStatement&&noLeadingComment?[space,this.generateStatement(stmt,flags)]:stmt.type===Syntax.EmptyStatement&&noLeadingComment?";":(withIndent((function(){result=[newline,addIndent(that.generateStatement(stmt,flags))]})),result)},CodeGenerator.prototype.maybeBlockSuffix=function(stmt,result){var ends=endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString());return stmt.type!==Syntax.BlockStatement||extra.comment&&stmt.leadingComments||ends?ends?[result,base]:[result,newline,base]:[result,space]},CodeGenerator.prototype.generatePattern=function(node,precedence,flags){return node.type===Syntax.Identifier?generateIdentifier(node):this.generateExpression(node,precedence,flags)},CodeGenerator.prototype.generateFunctionParams=function(node){var i,iz,result,hasDefault;if(hasDefault=!1,node.type!==Syntax.ArrowFunctionExpression||node.rest||node.defaults&&0!==node.defaults.length||1!==node.params.length||node.params[0].type!==Syntax.Identifier){for((result=node.type===Syntax.ArrowFunctionExpression?[generateAsyncPrefix(node,!1)]:[]).push("("),node.defaults&&(hasDefault=!0),i=0,iz=node.params.length;i<iz;++i)hasDefault&&node.defaults[i]?result.push(this.generateAssignment(node.params[i],node.defaults[i],"=",Precedence.Assignment,7)):result.push(this.generatePattern(node.params[i],Precedence.Assignment,7)),i+1<iz&&result.push(","+space);node.rest&&(node.params.length&&result.push(","+space),result.push("..."),result.push(generateIdentifier(node.rest))),result.push(")")}else result=[generateAsyncPrefix(node,!0),generateIdentifier(node.params[0])];return result},CodeGenerator.prototype.generateFunctionBody=function(node){var result,expr;return result=this.generateFunctionParams(node),node.type===Syntax.ArrowFunctionExpression&&(result.push(space),result.push("=>")),node.expression?(result.push(space),"{"===(expr=this.generateExpression(node.body,Precedence.Assignment,7)).toString().charAt(0)&&(expr=["(",expr,")"]),result.push(expr)):result.push(this.maybeBlock(node.body,9)),result},CodeGenerator.prototype.generateIterationForStatement=function(operator,stmt,flags){var result=["for"+(stmt.await?noEmptySpace()+"await":"")+space+"("],that=this;return withIndent((function(){stmt.left.type===Syntax.VariableDeclaration?withIndent((function(){result.push(stmt.left.kind+noEmptySpace()),result.push(that.generateStatement(stmt.left.declarations[0],0))})):result.push(that.generateExpression(stmt.left,Precedence.Call,7)),result=join(result,operator),result=[join(result,that.generateExpression(stmt.right,Precedence.Assignment,7)),")"]})),result.push(this.maybeBlock(stmt.body,flags)),result},CodeGenerator.prototype.generatePropertyKey=function(expr,computed){var result=[];return computed&&result.push("["),result.push(this.generateExpression(expr,Precedence.Assignment,7)),computed&&result.push("]"),result},CodeGenerator.prototype.generateAssignment=function(left,right,operator,precedence,flags){return Precedence.Assignment<precedence&&(flags|=1),parenthesize([this.generateExpression(left,Precedence.Call,flags),space+operator+space,this.generateExpression(right,Precedence.Assignment,flags)],Precedence.Assignment,precedence)},CodeGenerator.prototype.semicolon=function(flags){return!semicolons&&32&flags?"":";"},CodeGenerator.Statement={BlockStatement:function(stmt,flags){var range,content,result=["{",newline],that=this;return withIndent((function(){var i,iz,fragment,bodyFlags;for(0===stmt.body.length&&preserveBlankLines&&(range=stmt.range)[1]-range[0]>2&&("\n"===(content=sourceCode.substring(range[0]+1,range[1]-1))[0]&&(result=["{"]),result.push(content)),bodyFlags=1,8&flags&&(bodyFlags|=16),i=0,iz=stmt.body.length;i<iz;++i)preserveBlankLines&&(0===i&&(stmt.body[0].leadingComments&&(range=stmt.body[0].leadingComments[0].extendedRange,"\n"===(content=sourceCode.substring(range[0],range[1]))[0]&&(result=["{"])),stmt.body[0].leadingComments||generateBlankLines(stmt.range[0],stmt.body[0].range[0],result)),i>0&&(stmt.body[i-1].trailingComments||stmt.body[i].leadingComments||generateBlankLines(stmt.body[i-1].range[1],stmt.body[i].range[0],result))),i===iz-1&&(bodyFlags|=32),fragment=stmt.body[i].leadingComments&&preserveBlankLines?that.generateStatement(stmt.body[i],bodyFlags):addIndent(that.generateStatement(stmt.body[i],bodyFlags)),result.push(fragment),endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())||preserveBlankLines&&i<iz-1&&stmt.body[i+1].leadingComments||result.push(newline),preserveBlankLines&&i===iz-1&&(stmt.body[i].trailingComments||generateBlankLines(stmt.body[i].range[1],stmt.range[1],result))})),result.push(addIndent("}")),result},BreakStatement:function(stmt,flags){return stmt.label?"break "+stmt.label.name+this.semicolon(flags):"break"+this.semicolon(flags)},ContinueStatement:function(stmt,flags){return stmt.label?"continue "+stmt.label.name+this.semicolon(flags):"continue"+this.semicolon(flags)},ClassBody:function(stmt,flags){var result=["{",newline],that=this;return withIndent((function(indent){var i,iz;for(i=0,iz=stmt.body.length;i<iz;++i)result.push(indent),result.push(that.generateExpression(stmt.body[i],Precedence.Sequence,7)),i+1<iz&&result.push(newline)})),endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())||result.push(newline),result.push(base),result.push("}"),result},ClassDeclaration:function(stmt,flags){var result,fragment;return result=["class"],stmt.id&&(result=join(result,this.generateExpression(stmt.id,Precedence.Sequence,7))),stmt.superClass&&(fragment=join("extends",this.generateExpression(stmt.superClass,Precedence.Unary,7)),result=join(result,fragment)),result.push(space),result.push(this.generateStatement(stmt.body,33)),result},DirectiveStatement:function(stmt,flags){return extra.raw&&stmt.raw?stmt.raw+this.semicolon(flags):function escapeDirective(str){var i,iz,code,quote;for(quote="double"===quotes?'"':"'",i=0,iz=str.length;i<iz;++i){if(39===(code=str.charCodeAt(i))){quote='"';break}if(34===code){quote="'";break}92===code&&++i}return quote+str+quote}(stmt.directive)+this.semicolon(flags)},DoWhileStatement:function(stmt,flags){var result=join("do",this.maybeBlock(stmt.body,1));return join(result=this.maybeBlockSuffix(stmt.body,result),["while"+space+"(",this.generateExpression(stmt.test,Precedence.Sequence,7),")"+this.semicolon(flags)])},CatchClause:function(stmt,flags){var result,that=this;return withIndent((function(){var guard;stmt.param?(result=["catch"+space+"(",that.generateExpression(stmt.param,Precedence.Sequence,7),")"],stmt.guard&&(guard=that.generateExpression(stmt.guard,Precedence.Sequence,7),result.splice(2,0," if ",guard))):result=["catch"]})),result.push(this.maybeBlock(stmt.body,1)),result},DebuggerStatement:function(stmt,flags){return"debugger"+this.semicolon(flags)},EmptyStatement:function(stmt,flags){return";"},ExportDefaultDeclaration:function(stmt,flags){var bodyFlags,result=["export"];return bodyFlags=32&flags?33:1,result=join(result,"default"),result=isStatement(stmt.declaration)?join(result,this.generateStatement(stmt.declaration,bodyFlags)):join(result,this.generateExpression(stmt.declaration,Precedence.Assignment,7)+this.semicolon(flags))},ExportNamedDeclaration:function(stmt,flags){var bodyFlags,result=["export"],that=this;return bodyFlags=32&flags?33:1,stmt.declaration?join(result,this.generateStatement(stmt.declaration,bodyFlags)):(stmt.specifiers&&(0===stmt.specifiers.length?result=join(result,"{"+space+"}"):stmt.specifiers[0].type===Syntax.ExportBatchSpecifier?result=join(result,this.generateExpression(stmt.specifiers[0],Precedence.Sequence,7)):(result=join(result,"{"),withIndent((function(indent){var i,iz;for(result.push(newline),i=0,iz=stmt.specifiers.length;i<iz;++i)result.push(indent),result.push(that.generateExpression(stmt.specifiers[i],Precedence.Sequence,7)),i+1<iz&&result.push(","+newline)})),endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())||result.push(newline),result.push(base+"}")),stmt.source?result=join(result,["from"+space,this.generateExpression(stmt.source,Precedence.Sequence,7),this.semicolon(flags)]):result.push(this.semicolon(flags))),result)},ExportAllDeclaration:function(stmt,flags){return["export"+space,"*"+space,"from"+space,this.generateExpression(stmt.source,Precedence.Sequence,7),this.semicolon(flags)]},ExpressionStatement:function(stmt,flags){var result,fragment;return 123===(fragment=toSourceNodeWhenNeeded(result=[this.generateExpression(stmt.expression,Precedence.Sequence,7)]).toString()).charCodeAt(0)||function isClassPrefixed(fragment){var code;return"class"===fragment.slice(0,5)&&(123===(code=fragment.charCodeAt(5))||esutils.code.isWhiteSpace(code)||esutils.code.isLineTerminator(code))}(fragment)||function isFunctionPrefixed(fragment){var code;return"function"===fragment.slice(0,8)&&(40===(code=fragment.charCodeAt(8))||esutils.code.isWhiteSpace(code)||42===code||esutils.code.isLineTerminator(code))}(fragment)||function isAsyncPrefixed(fragment){var code,i,iz;if("async"!==fragment.slice(0,5))return!1;if(!esutils.code.isWhiteSpace(fragment.charCodeAt(5)))return!1;for(i=6,iz=fragment.length;i<iz&&esutils.code.isWhiteSpace(fragment.charCodeAt(i));++i);return i!==iz&&("function"===fragment.slice(i,i+8)&&(40===(code=fragment.charCodeAt(i+8))||esutils.code.isWhiteSpace(code)||42===code||esutils.code.isLineTerminator(code)))}(fragment)||directive&&16&flags&&stmt.expression.type===Syntax.Literal&&"string"==typeof stmt.expression.value?result=["(",result,")"+this.semicolon(flags)]:result.push(this.semicolon(flags)),result},ImportDeclaration:function(stmt,flags){var result,cursor,that=this;return 0===stmt.specifiers.length?["import",space,this.generateExpression(stmt.source,Precedence.Sequence,7),this.semicolon(flags)]:(result=["import"],cursor=0,stmt.specifiers[cursor].type===Syntax.ImportDefaultSpecifier&&(result=join(result,[this.generateExpression(stmt.specifiers[cursor],Precedence.Sequence,7)]),++cursor),stmt.specifiers[cursor]&&(0!==cursor&&result.push(","),stmt.specifiers[cursor].type===Syntax.ImportNamespaceSpecifier?result=join(result,[space,this.generateExpression(stmt.specifiers[cursor],Precedence.Sequence,7)]):(result.push(space+"{"),stmt.specifiers.length-cursor==1?(result.push(space),result.push(this.generateExpression(stmt.specifiers[cursor],Precedence.Sequence,7)),result.push(space+"}"+space)):(withIndent((function(indent){var i,iz;for(result.push(newline),i=cursor,iz=stmt.specifiers.length;i<iz;++i)result.push(indent),result.push(that.generateExpression(stmt.specifiers[i],Precedence.Sequence,7)),i+1<iz&&result.push(","+newline)})),endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())||result.push(newline),result.push(base+"}"+space)))),result=join(result,["from"+space,this.generateExpression(stmt.source,Precedence.Sequence,7),this.semicolon(flags)]))},VariableDeclarator:function(stmt,flags){var itemFlags=1&flags?7:6;return stmt.init?[this.generateExpression(stmt.id,Precedence.Assignment,itemFlags),space,"=",space,this.generateExpression(stmt.init,Precedence.Assignment,itemFlags)]:this.generatePattern(stmt.id,Precedence.Assignment,itemFlags)},VariableDeclaration:function(stmt,flags){var result,i,iz,node,bodyFlags,that=this;function block(){for(node=stmt.declarations[0],extra.comment&&node.leadingComments?(result.push("\n"),result.push(addIndent(that.generateStatement(node,bodyFlags)))):(result.push(noEmptySpace()),result.push(that.generateStatement(node,bodyFlags))),i=1,iz=stmt.declarations.length;i<iz;++i)node=stmt.declarations[i],extra.comment&&node.leadingComments?(result.push(","+newline),result.push(addIndent(that.generateStatement(node,bodyFlags)))):(result.push(","+space),result.push(that.generateStatement(node,bodyFlags)))}return result=[stmt.kind],bodyFlags=1&flags?1:0,stmt.declarations.length>1?withIndent(block):block(),result.push(this.semicolon(flags)),result},ThrowStatement:function(stmt,flags){return[join("throw",this.generateExpression(stmt.argument,Precedence.Sequence,7)),this.semicolon(flags)]},TryStatement:function(stmt,flags){var result,i,iz,guardedHandlers;if(result=["try",this.maybeBlock(stmt.block,1)],result=this.maybeBlockSuffix(stmt.block,result),stmt.handlers)for(i=0,iz=stmt.handlers.length;i<iz;++i)result=join(result,this.generateStatement(stmt.handlers[i],1)),(stmt.finalizer||i+1!==iz)&&(result=this.maybeBlockSuffix(stmt.handlers[i].body,result));else{for(i=0,iz=(guardedHandlers=stmt.guardedHandlers||[]).length;i<iz;++i)result=join(result,this.generateStatement(guardedHandlers[i],1)),(stmt.finalizer||i+1!==iz)&&(result=this.maybeBlockSuffix(guardedHandlers[i].body,result));if(stmt.handler)if(Array.isArray(stmt.handler))for(i=0,iz=stmt.handler.length;i<iz;++i)result=join(result,this.generateStatement(stmt.handler[i],1)),(stmt.finalizer||i+1!==iz)&&(result=this.maybeBlockSuffix(stmt.handler[i].body,result));else result=join(result,this.generateStatement(stmt.handler,1)),stmt.finalizer&&(result=this.maybeBlockSuffix(stmt.handler.body,result))}return stmt.finalizer&&(result=join(result,["finally",this.maybeBlock(stmt.finalizer,1)])),result},SwitchStatement:function(stmt,flags){var result,fragment,i,iz,bodyFlags,that=this;if(withIndent((function(){result=["switch"+space+"(",that.generateExpression(stmt.discriminant,Precedence.Sequence,7),")"+space+"{"+newline]})),stmt.cases)for(bodyFlags=1,i=0,iz=stmt.cases.length;i<iz;++i)i===iz-1&&(bodyFlags|=32),fragment=addIndent(this.generateStatement(stmt.cases[i],bodyFlags)),result.push(fragment),endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())||result.push(newline);return result.push(addIndent("}")),result},SwitchCase:function(stmt,flags){var result,fragment,i,iz,bodyFlags,that=this;return withIndent((function(){for(result=stmt.test?[join("case",that.generateExpression(stmt.test,Precedence.Sequence,7)),":"]:["default:"],i=0,(iz=stmt.consequent.length)&&stmt.consequent[0].type===Syntax.BlockStatement&&(fragment=that.maybeBlock(stmt.consequent[0],1),result.push(fragment),i=1),i===iz||endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())||result.push(newline),bodyFlags=1;i<iz;++i)i===iz-1&&32&flags&&(bodyFlags|=32),fragment=addIndent(that.generateStatement(stmt.consequent[i],bodyFlags)),result.push(fragment),i+1===iz||endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())||result.push(newline)})),result},IfStatement:function(stmt,flags){var result,bodyFlags,that=this;return withIndent((function(){result=["if"+space+"(",that.generateExpression(stmt.test,Precedence.Sequence,7),")"]})),bodyFlags=1,32&flags&&(bodyFlags|=32),stmt.alternate?(result.push(this.maybeBlock(stmt.consequent,1)),result=this.maybeBlockSuffix(stmt.consequent,result),result=stmt.alternate.type===Syntax.IfStatement?join(result,["else ",this.generateStatement(stmt.alternate,bodyFlags)]):join(result,join("else",this.maybeBlock(stmt.alternate,bodyFlags)))):result.push(this.maybeBlock(stmt.consequent,bodyFlags)),result},ForStatement:function(stmt,flags){var result,that=this;return withIndent((function(){result=["for"+space+"("],stmt.init?stmt.init.type===Syntax.VariableDeclaration?result.push(that.generateStatement(stmt.init,0)):(result.push(that.generateExpression(stmt.init,Precedence.Sequence,6)),result.push(";")):result.push(";"),stmt.test?(result.push(space),result.push(that.generateExpression(stmt.test,Precedence.Sequence,7)),result.push(";")):result.push(";"),stmt.update?(result.push(space),result.push(that.generateExpression(stmt.update,Precedence.Sequence,7)),result.push(")")):result.push(")")})),result.push(this.maybeBlock(stmt.body,32&flags?33:1)),result},ForInStatement:function(stmt,flags){return this.generateIterationForStatement("in",stmt,32&flags?33:1)},ForOfStatement:function(stmt,flags){return this.generateIterationForStatement("of",stmt,32&flags?33:1)},LabeledStatement:function(stmt,flags){return[stmt.label.name+":",this.maybeBlock(stmt.body,32&flags?33:1)]},Program:function(stmt,flags){var result,fragment,i,iz,bodyFlags;for(iz=stmt.body.length,result=[safeConcatenation&&iz>0?"\n":""],bodyFlags=17,i=0;i<iz;++i)safeConcatenation||i!==iz-1||(bodyFlags|=32),preserveBlankLines&&(0===i&&(stmt.body[0].leadingComments||generateBlankLines(stmt.range[0],stmt.body[i].range[0],result)),i>0&&(stmt.body[i-1].trailingComments||stmt.body[i].leadingComments||generateBlankLines(stmt.body[i-1].range[1],stmt.body[i].range[0],result))),fragment=addIndent(this.generateStatement(stmt.body[i],bodyFlags)),result.push(fragment),i+1<iz&&!endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())&&(preserveBlankLines&&stmt.body[i+1].leadingComments||result.push(newline)),preserveBlankLines&&i===iz-1&&(stmt.body[i].trailingComments||generateBlankLines(stmt.body[i].range[1],stmt.range[1],result));return result},FunctionDeclaration:function(stmt,flags){return[generateAsyncPrefix(stmt,!0),"function",generateStarSuffix(stmt)||noEmptySpace(),stmt.id?generateIdentifier(stmt.id):"",this.generateFunctionBody(stmt)]},ReturnStatement:function(stmt,flags){return stmt.argument?[join("return",this.generateExpression(stmt.argument,Precedence.Sequence,7)),this.semicolon(flags)]:["return"+this.semicolon(flags)]},WhileStatement:function(stmt,flags){var result,that=this;return withIndent((function(){result=["while"+space+"(",that.generateExpression(stmt.test,Precedence.Sequence,7),")"]})),result.push(this.maybeBlock(stmt.body,32&flags?33:1)),result},WithStatement:function(stmt,flags){var result,that=this;return withIndent((function(){result=["with"+space+"(",that.generateExpression(stmt.object,Precedence.Sequence,7),")"]})),result.push(this.maybeBlock(stmt.body,32&flags?33:1)),result}},merge(CodeGenerator.prototype,CodeGenerator.Statement),CodeGenerator.Expression={SequenceExpression:function(expr,precedence,flags){var result,i,iz;for(Precedence.Sequence<precedence&&(flags|=1),result=[],i=0,iz=expr.expressions.length;i<iz;++i)result.push(this.generateExpression(expr.expressions[i],Precedence.Assignment,flags)),i+1<iz&&result.push(","+space);return parenthesize(result,Precedence.Sequence,precedence)},AssignmentExpression:function(expr,precedence,flags){return this.generateAssignment(expr.left,expr.right,expr.operator,precedence,flags)},ArrowFunctionExpression:function(expr,precedence,flags){return parenthesize(this.generateFunctionBody(expr),Precedence.ArrowFunction,precedence)},ConditionalExpression:function(expr,precedence,flags){return Precedence.Conditional<precedence&&(flags|=1),parenthesize([this.generateExpression(expr.test,Precedence.LogicalOR,flags),space+"?"+space,this.generateExpression(expr.consequent,Precedence.Assignment,flags),space+":"+space,this.generateExpression(expr.alternate,Precedence.Assignment,flags)],Precedence.Conditional,precedence)},LogicalExpression:function(expr,precedence,flags){return this.BinaryExpression(expr,precedence,flags)},BinaryExpression:function(expr,precedence,flags){var result,leftPrecedence,rightPrecedence,currentPrecedence,fragment,leftSource;return currentPrecedence=BinaryPrecedence[expr.operator],leftPrecedence="**"===expr.operator?Precedence.Postfix:currentPrecedence,rightPrecedence="**"===expr.operator?currentPrecedence:currentPrecedence+1,currentPrecedence<precedence&&(flags|=1),result=47===(leftSource=(fragment=this.generateExpression(expr.left,leftPrecedence,flags)).toString()).charCodeAt(leftSource.length-1)&&esutils.code.isIdentifierPartES5(expr.operator.charCodeAt(0))?[fragment,noEmptySpace(),expr.operator]:join(fragment,expr.operator),fragment=this.generateExpression(expr.right,rightPrecedence,flags),"/"===expr.operator&&"/"===fragment.toString().charAt(0)||"<"===expr.operator.slice(-1)&&"!--"===fragment.toString().slice(0,3)?(result.push(noEmptySpace()),result.push(fragment)):result=join(result,fragment),"in"!==expr.operator||1&flags?parenthesize(result,currentPrecedence,precedence):["(",result,")"]},CallExpression:function(expr,precedence,flags){var result,i,iz;for(result=[this.generateExpression(expr.callee,Precedence.Call,3)],expr.optional&&result.push("?."),result.push("("),i=0,iz=expr.arguments.length;i<iz;++i)result.push(this.generateExpression(expr.arguments[i],Precedence.Assignment,7)),i+1<iz&&result.push(","+space);return result.push(")"),2&flags?parenthesize(result,Precedence.Call,precedence):["(",result,")"]},ChainExpression:function(expr,precedence,flags){return Precedence.OptionalChaining<precedence&&(flags|=2),parenthesize(this.generateExpression(expr.expression,Precedence.OptionalChaining,flags),Precedence.OptionalChaining,precedence)},NewExpression:function(expr,precedence,flags){var result,length,i,iz,itemFlags;if(length=expr.arguments.length,itemFlags=4&flags&&!parentheses&&0===length?5:1,result=join("new",this.generateExpression(expr.callee,Precedence.New,itemFlags)),!(4&flags)||parentheses||length>0){for(result.push("("),i=0,iz=length;i<iz;++i)result.push(this.generateExpression(expr.arguments[i],Precedence.Assignment,7)),i+1<iz&&result.push(","+space);result.push(")")}return parenthesize(result,Precedence.New,precedence)},MemberExpression:function(expr,precedence,flags){var result,fragment;return result=[this.generateExpression(expr.object,Precedence.Call,2&flags?3:1)],expr.computed?(expr.optional&&result.push("?."),result.push("["),result.push(this.generateExpression(expr.property,Precedence.Sequence,2&flags?7:5)),result.push("]")):(expr.optional||expr.object.type!==Syntax.Literal||"number"!=typeof expr.object.value||(fragment=toSourceNodeWhenNeeded(result).toString()).indexOf(".")<0&&!/[eExX]/.test(fragment)&&esutils.code.isDecimalDigit(fragment.charCodeAt(fragment.length-1))&&!(fragment.length>=2&&48===fragment.charCodeAt(0))&&result.push(" "),result.push(expr.optional?"?.":"."),result.push(generateIdentifier(expr.property))),parenthesize(result,Precedence.Member,precedence)},MetaProperty:function(expr,precedence,flags){var result;return(result=[]).push("string"==typeof expr.meta?expr.meta:generateIdentifier(expr.meta)),result.push("."),result.push("string"==typeof expr.property?expr.property:generateIdentifier(expr.property)),parenthesize(result,Precedence.Member,precedence)},UnaryExpression:function(expr,precedence,flags){var result,fragment,rightCharCode,leftSource,leftCharCode;return fragment=this.generateExpression(expr.argument,Precedence.Unary,7),""===space?result=join(expr.operator,fragment):(result=[expr.operator],expr.operator.length>2?result=join(result,fragment):(leftCharCode=(leftSource=toSourceNodeWhenNeeded(result).toString()).charCodeAt(leftSource.length-1),rightCharCode=fragment.toString().charCodeAt(0),(43===leftCharCode||45===leftCharCode)&&leftCharCode===rightCharCode||esutils.code.isIdentifierPartES5(leftCharCode)&&esutils.code.isIdentifierPartES5(rightCharCode)?(result.push(noEmptySpace()),result.push(fragment)):result.push(fragment))),parenthesize(result,Precedence.Unary,precedence)},YieldExpression:function(expr,precedence,flags){var result;return result=expr.delegate?"yield*":"yield",expr.argument&&(result=join(result,this.generateExpression(expr.argument,Precedence.Yield,7))),parenthesize(result,Precedence.Yield,precedence)},AwaitExpression:function(expr,precedence,flags){return parenthesize(join(expr.all?"await*":"await",this.generateExpression(expr.argument,Precedence.Await,7)),Precedence.Await,precedence)},UpdateExpression:function(expr,precedence,flags){return expr.prefix?parenthesize([expr.operator,this.generateExpression(expr.argument,Precedence.Unary,7)],Precedence.Unary,precedence):parenthesize([this.generateExpression(expr.argument,Precedence.Postfix,7),expr.operator],Precedence.Postfix,precedence)},FunctionExpression:function(expr,precedence,flags){var result=[generateAsyncPrefix(expr,!0),"function"];return expr.id?(result.push(generateStarSuffix(expr)||noEmptySpace()),result.push(generateIdentifier(expr.id))):result.push(generateStarSuffix(expr)||space),result.push(this.generateFunctionBody(expr)),result},ArrayPattern:function(expr,precedence,flags){return this.ArrayExpression(expr,precedence,flags,!0)},ArrayExpression:function(expr,precedence,flags,isPattern){var result,multiline,that=this;return expr.elements.length?(multiline=!isPattern&&expr.elements.length>1,result=["[",multiline?newline:""],withIndent((function(indent){var i,iz;for(i=0,iz=expr.elements.length;i<iz;++i)expr.elements[i]?(result.push(multiline?indent:""),result.push(that.generateExpression(expr.elements[i],Precedence.Assignment,7))):(multiline&&result.push(indent),i+1===iz&&result.push(",")),i+1<iz&&result.push(","+(multiline?newline:space))})),multiline&&!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())&&result.push(newline),result.push(multiline?base:""),result.push("]"),result):"[]"},RestElement:function(expr,precedence,flags){return"..."+this.generatePattern(expr.argument)},ClassExpression:function(expr,precedence,flags){var result,fragment;return result=["class"],expr.id&&(result=join(result,this.generateExpression(expr.id,Precedence.Sequence,7))),expr.superClass&&(fragment=join("extends",this.generateExpression(expr.superClass,Precedence.Unary,7)),result=join(result,fragment)),result.push(space),result.push(this.generateStatement(expr.body,33)),result},MethodDefinition:function(expr,precedence,flags){var result,fragment;return result=expr.static?["static"+space]:[],fragment="get"===expr.kind||"set"===expr.kind?[join(expr.kind,this.generatePropertyKey(expr.key,expr.computed)),this.generateFunctionBody(expr.value)]:[generateMethodPrefix(expr),this.generatePropertyKey(expr.key,expr.computed),this.generateFunctionBody(expr.value)],join(result,fragment)},Property:function(expr,precedence,flags){return"get"===expr.kind||"set"===expr.kind?[expr.kind,noEmptySpace(),this.generatePropertyKey(expr.key,expr.computed),this.generateFunctionBody(expr.value)]:expr.shorthand?"AssignmentPattern"===expr.value.type?this.AssignmentPattern(expr.value,Precedence.Sequence,7):this.generatePropertyKey(expr.key,expr.computed):expr.method?[generateMethodPrefix(expr),this.generatePropertyKey(expr.key,expr.computed),this.generateFunctionBody(expr.value)]:[this.generatePropertyKey(expr.key,expr.computed),":"+space,this.generateExpression(expr.value,Precedence.Assignment,7)]},ObjectExpression:function(expr,precedence,flags){var multiline,result,fragment,that=this;return expr.properties.length?(multiline=expr.properties.length>1,withIndent((function(){fragment=that.generateExpression(expr.properties[0],Precedence.Sequence,7)})),multiline||function hasLineTerminator(str){return/[\r\n]/g.test(str)}(toSourceNodeWhenNeeded(fragment).toString())?(withIndent((function(indent){var i,iz;if(result=["{",newline,indent,fragment],multiline)for(result.push(","+newline),i=1,iz=expr.properties.length;i<iz;++i)result.push(indent),result.push(that.generateExpression(expr.properties[i],Precedence.Sequence,7)),i+1<iz&&result.push(","+newline)})),endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())||result.push(newline),result.push(base),result.push("}"),result):["{",space,fragment,space,"}"]):"{}"},AssignmentPattern:function(expr,precedence,flags){return this.generateAssignment(expr.left,expr.right,"=",precedence,flags)},ObjectPattern:function(expr,precedence,flags){var result,i,iz,multiline,property,that=this;if(!expr.properties.length)return"{}";if(multiline=!1,1===expr.properties.length)(property=expr.properties[0]).type===Syntax.Property&&property.value.type!==Syntax.Identifier&&(multiline=!0);else for(i=0,iz=expr.properties.length;i<iz;++i)if((property=expr.properties[i]).type===Syntax.Property&&!property.shorthand){multiline=!0;break}return result=["{",multiline?newline:""],withIndent((function(indent){var i,iz;for(i=0,iz=expr.properties.length;i<iz;++i)result.push(multiline?indent:""),result.push(that.generateExpression(expr.properties[i],Precedence.Sequence,7)),i+1<iz&&result.push(","+(multiline?newline:space))})),multiline&&!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())&&result.push(newline),result.push(multiline?base:""),result.push("}"),result},ThisExpression:function(expr,precedence,flags){return"this"},Super:function(expr,precedence,flags){return"super"},Identifier:function(expr,precedence,flags){return generateIdentifier(expr)},ImportDefaultSpecifier:function(expr,precedence,flags){return generateIdentifier(expr.id||expr.local)},ImportNamespaceSpecifier:function(expr,precedence,flags){var result=["*"],id=expr.id||expr.local;return id&&result.push(space+"as"+noEmptySpace()+generateIdentifier(id)),result},ImportSpecifier:function(expr,precedence,flags){var imported=expr.imported,result=[imported.name],local=expr.local;return local&&local.name!==imported.name&&result.push(noEmptySpace()+"as"+noEmptySpace()+generateIdentifier(local)),result},ExportSpecifier:function(expr,precedence,flags){var local=expr.local,result=[local.name],exported=expr.exported;return exported&&exported.name!==local.name&&result.push(noEmptySpace()+"as"+noEmptySpace()+generateIdentifier(exported)),result},Literal:function(expr,precedence,flags){var raw;if(expr.hasOwnProperty("raw")&&parse&&extra.raw)try{if((raw=parse(expr.raw).body[0].expression).type===Syntax.Literal&&raw.value===expr.value)return expr.raw}catch(e){}return expr.regex?"/"+expr.regex.pattern+"/"+expr.regex.flags:null===expr.value?"null":"string"==typeof expr.value?function escapeString(str){var i,len,code,single,quote,result="",singleQuotes=0,doubleQuotes=0;for(i=0,len=str.length;i<len;++i){if(39===(code=str.charCodeAt(i)))++singleQuotes;else if(34===code)++doubleQuotes;else if(47===code&&json)result+="\\";else{if(esutils.code.isLineTerminator(code)||92===code){result+=escapeDisallowedCharacter(code);continue}if(!esutils.code.isIdentifierPartES5(code)&&(json&&code<32||!json&&!escapeless&&(code<32||code>126))){result+=escapeAllowedCharacter(code,str.charCodeAt(i+1));continue}}result+=String.fromCharCode(code)}if(quote=(single=!("double"===quotes||"auto"===quotes&&doubleQuotes<singleQuotes))?"'":'"',!(single?singleQuotes:doubleQuotes))return quote+result+quote;for(str=result,result=quote,i=0,len=str.length;i<len;++i)(39===(code=str.charCodeAt(i))&&single||34===code&&!single)&&(result+="\\"),result+=String.fromCharCode(code);return result+quote}(expr.value):"number"==typeof expr.value?function generateNumber(value){var result,point,temp,exponent,pos;if(value!=value)throw new Error("Numeric literal whose value is NaN");if(value<0||0===value&&1/value<0)throw new Error("Numeric literal whose value is negative");if(value===1/0)return json?"null":renumber?"1e400":"1e+400";if(result=""+value,!renumber||result.length<3)return result;for(point=result.indexOf("."),json||48!==result.charCodeAt(0)||1!==point||(point=0,result=result.slice(1)),temp=result,result=result.replace("e+","e"),exponent=0,(pos=temp.indexOf("e"))>0&&(exponent=+temp.slice(pos+1),temp=temp.slice(0,pos)),point>=0&&(exponent-=temp.length-point-1,temp=+(temp.slice(0,point)+temp.slice(point+1))+""),pos=0;48===temp.charCodeAt(temp.length+pos-1);)--pos;return 0!==pos&&(exponent-=pos,temp=temp.slice(0,pos)),0!==exponent&&(temp+="e"+exponent),(temp.length<result.length||hexadecimal&&value>1e12&&Math.floor(value)===value&&(temp="0x"+value.toString(16)).length<result.length)&&+temp===value&&(result=temp),result}(expr.value):"boolean"==typeof expr.value?expr.value?"true":"false":function generateRegExp(reg){var match,result,flags,i,iz,ch,characterInBrack,previousIsBackslash;if(result=reg.toString(),reg.source){if(!(match=result.match(/\/([^/]*)$/)))return result;for(flags=match[1],result="",characterInBrack=!1,previousIsBackslash=!1,i=0,iz=reg.source.length;i<iz;++i)ch=reg.source.charCodeAt(i),previousIsBackslash?(result+=escapeRegExpCharacter(ch,previousIsBackslash),previousIsBackslash=!1):(characterInBrack?93===ch&&(characterInBrack=!1):47===ch?result+="\\":91===ch&&(characterInBrack=!0),result+=escapeRegExpCharacter(ch,previousIsBackslash),previousIsBackslash=92===ch);return"/"+result+"/"+flags}return result}(expr.value)},GeneratorExpression:function(expr,precedence,flags){return this.ComprehensionExpression(expr,precedence,flags)},ComprehensionExpression:function(expr,precedence,flags){var result,i,iz,fragment,that=this;return result=expr.type===Syntax.GeneratorExpression?["("]:["["],extra.moz.comprehensionExpressionStartsWithAssignment&&(fragment=this.generateExpression(expr.body,Precedence.Assignment,7),result.push(fragment)),expr.blocks&&withIndent((function(){for(i=0,iz=expr.blocks.length;i<iz;++i)fragment=that.generateExpression(expr.blocks[i],Precedence.Sequence,7),i>0||extra.moz.comprehensionExpressionStartsWithAssignment?result=join(result,fragment):result.push(fragment)})),expr.filter&&(result=join(result,"if"+space),fragment=this.generateExpression(expr.filter,Precedence.Sequence,7),result=join(result,["(",fragment,")"])),extra.moz.comprehensionExpressionStartsWithAssignment||(fragment=this.generateExpression(expr.body,Precedence.Assignment,7),result=join(result,fragment)),result.push(expr.type===Syntax.GeneratorExpression?")":"]"),result},ComprehensionBlock:function(expr,precedence,flags){var fragment;return fragment=join(fragment=expr.left.type===Syntax.VariableDeclaration?[expr.left.kind,noEmptySpace(),this.generateStatement(expr.left.declarations[0],0)]:this.generateExpression(expr.left,Precedence.Call,7),expr.of?"of":"in"),fragment=join(fragment,this.generateExpression(expr.right,Precedence.Sequence,7)),["for"+space+"(",fragment,")"]},SpreadElement:function(expr,precedence,flags){return["...",this.generateExpression(expr.argument,Precedence.Assignment,7)]},TaggedTemplateExpression:function(expr,precedence,flags){var itemFlags=3;return 2&flags||(itemFlags=1),parenthesize([this.generateExpression(expr.tag,Precedence.Call,itemFlags),this.generateExpression(expr.quasi,Precedence.Primary,4)],Precedence.TaggedTemplate,precedence)},TemplateElement:function(expr,precedence,flags){return expr.value.raw},TemplateLiteral:function(expr,precedence,flags){var result,i,iz;for(result=["`"],i=0,iz=expr.quasis.length;i<iz;++i)result.push(this.generateExpression(expr.quasis[i],Precedence.Primary,7)),i+1<iz&&(result.push("${"+space),result.push(this.generateExpression(expr.expressions[i],Precedence.Sequence,7)),result.push(space+"}"));return result.push("`"),result},ModuleSpecifier:function(expr,precedence,flags){return this.Literal(expr,precedence,flags)},ImportExpression:function(expr,precedence,flag){return parenthesize(["import(",this.generateExpression(expr.source,Precedence.Assignment,7),")"],Precedence.Call,precedence)}},merge(CodeGenerator.prototype,CodeGenerator.Expression),CodeGenerator.prototype.generateExpression=function(expr,precedence,flags){var result,type;return type=expr.type||Syntax.Property,extra.verbatim&&expr.hasOwnProperty(extra.verbatim)?function generateVerbatim(expr,precedence){var verbatim;return toSourceNodeWhenNeeded("string"==typeof(verbatim=expr[extra.verbatim])?parenthesize(generateVerbatimString(verbatim),Precedence.Sequence,precedence):parenthesize(generateVerbatimString(verbatim.content),null!=verbatim.precedence?verbatim.precedence:Precedence.Sequence,precedence),expr)}(expr,precedence):(result=this[type](expr,precedence,flags),extra.comment&&(result=addComments(expr,result)),toSourceNodeWhenNeeded(result,expr))},CodeGenerator.prototype.generateStatement=function(stmt,flags){var result,fragment;return result=this[stmt.type](stmt,flags),extra.comment&&(result=addComments(stmt,result)),fragment=toSourceNodeWhenNeeded(result).toString(),stmt.type!==Syntax.Program||safeConcatenation||""!==newline||"\n"!==fragment.charAt(fragment.length-1)||(result=sourceMap?toSourceNodeWhenNeeded(result).replaceRight(/\s+$/,""):fragment.replace(/\s+$/,"")),toSourceNodeWhenNeeded(result,stmt)},FORMAT_MINIFY={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},FORMAT_DEFAULTS={indent:{style:" ",base:0,adjustMultilineComment:!1},newline:"\n",space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},exports.version=__webpack_require__(78531).version,exports.generate=function generate(node,options){var result,pair,defaultOptions={indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:"\n",space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null};return null!=options?("string"==typeof options.indent&&(defaultOptions.format.indent.style=options.indent),"number"==typeof options.base&&(defaultOptions.format.indent.base=options.base),options=updateDeeply(defaultOptions,options),indent=options.format.indent.style,base="string"==typeof options.base?options.base:stringRepeat(indent,options.format.indent.base)):(indent=(options=defaultOptions).format.indent.style,base=stringRepeat(indent,options.format.indent.base)),json=options.format.json,renumber=options.format.renumber,hexadecimal=!json&&options.format.hexadecimal,quotes=json?"double":options.format.quotes,escapeless=options.format.escapeless,newline=options.format.newline,space=options.format.space,options.format.compact&&(newline=space=indent=base=""),parentheses=options.format.parentheses,semicolons=options.format.semicolons,safeConcatenation=options.format.safeConcatenation,directive=options.directive,parse=json?null:options.parse,sourceMap=options.sourceMap,sourceCode=options.sourceCode,preserveBlankLines=options.format.preserveBlankLines&&null!==sourceCode,extra=options,sourceMap&&(SourceNode=exports.browser?__webpack_require__.g.sourceMap.SourceNode:__webpack_require__(49125).SourceNode),result=generateInternal(node),sourceMap?(pair=result.toStringWithSourceMap({file:options.file,sourceRoot:options.sourceMapRoot}),options.sourceContent&&pair.map.setSourceContent(options.sourceMap,options.sourceContent),options.sourceMapWithCode?pair:pair.map.toString()):(pair={code:result.toString(),map:null},options.sourceMapWithCode?pair:pair.code)},exports.attachComments=estraverse.attachComments,exports.Precedence=updateDeeply({},Precedence),exports.browser=!1,exports.FORMAT_MINIFY=FORMAT_MINIFY,exports.FORMAT_DEFAULTS=FORMAT_DEFAULTS}()},27085:function(__unused_webpack_module,exports){!function clone(exports){var Syntax,VisitorOption,VisitorKeys,BREAK,SKIP,REMOVE;function deepCopy(obj){var key,val,ret={};for(key in obj)obj.hasOwnProperty(key)&&(val=obj[key],ret[key]="object"==typeof val&&null!==val?deepCopy(val):val);return ret}function Reference(parent,key){this.parent=parent,this.key=key}function Element(node,path,wrap,ref){this.node=node,this.path=path,this.wrap=wrap,this.ref=ref}function Controller(){}function isNode(node){return null!=node&&("object"==typeof node&&"string"==typeof node.type)}function isProperty(nodeType,key){return(nodeType===Syntax.ObjectExpression||nodeType===Syntax.ObjectPattern)&&"properties"===key}function candidateExistsInLeaveList(leavelist,candidate){for(var i=leavelist.length-1;i>=0;--i)if(leavelist[i].node===candidate)return!0;return!1}function traverse(root,visitor){return(new Controller).traverse(root,visitor)}function extendCommentRange(comment,tokens){var target;return target=function upperBound(array,func){var diff,len,i,current;for(len=array.length,i=0;len;)func(array[current=i+(diff=len>>>1)])?len=diff:(i=current+1,len-=diff+1);return i}(tokens,(function search(token){return token.range[0]>comment.range[0]})),comment.extendedRange=[comment.range[0],comment.range[1]],target!==tokens.length&&(comment.extendedRange[1]=tokens[target].range[0]),(target-=1)>=0&&(comment.extendedRange[0]=tokens[target].range[1]),comment}return Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},VisitorKeys={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},VisitorOption={Break:BREAK={},Skip:SKIP={},Remove:REMOVE={}},Reference.prototype.replace=function replace(node){this.parent[this.key]=node},Reference.prototype.remove=function remove(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},Controller.prototype.path=function path(){var i,iz,j,jz,result;function addToPath(result,path){if(Array.isArray(path))for(j=0,jz=path.length;j<jz;++j)result.push(path[j]);else result.push(path)}if(!this.__current.path)return null;for(result=[],i=2,iz=this.__leavelist.length;i<iz;++i)addToPath(result,this.__leavelist[i].path);return addToPath(result,this.__current.path),result},Controller.prototype.type=function(){return this.current().type||this.__current.wrap},Controller.prototype.parents=function parents(){var i,iz,result;for(result=[],i=1,iz=this.__leavelist.length;i<iz;++i)result.push(this.__leavelist[i].node);return result},Controller.prototype.current=function current(){return this.__current.node},Controller.prototype.__execute=function __execute(callback,element){var previous,result;return result=void 0,previous=this.__current,this.__current=element,this.__state=null,callback&&(result=callback.call(this,element.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=previous,result},Controller.prototype.notify=function notify(flag){this.__state=flag},Controller.prototype.skip=function(){this.notify(SKIP)},Controller.prototype.break=function(){this.notify(BREAK)},Controller.prototype.remove=function(){this.notify(REMOVE)},Controller.prototype.__initialize=function(root,visitor){this.visitor=visitor,this.root=root,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,"iteration"===visitor.fallback?this.__fallback=Object.keys:"function"==typeof visitor.fallback&&(this.__fallback=visitor.fallback),this.__keys=VisitorKeys,visitor.keys&&(this.__keys=Object.assign(Object.create(this.__keys),visitor.keys))},Controller.prototype.traverse=function traverse(root,visitor){var worklist,leavelist,element,node,nodeType,ret,key,current,current2,candidates,candidate,sentinel;for(this.__initialize(root,visitor),sentinel={},worklist=this.__worklist,leavelist=this.__leavelist,worklist.push(new Element(root,null,null,null)),leavelist.push(new Element(null,null,null,null));worklist.length;)if((element=worklist.pop())!==sentinel){if(element.node){if(ret=this.__execute(visitor.enter,element),this.__state===BREAK||ret===BREAK)return;if(worklist.push(sentinel),leavelist.push(element),this.__state===SKIP||ret===SKIP)continue;if(nodeType=(node=element.node).type||element.wrap,!(candidates=this.__keys[nodeType])){if(!this.__fallback)throw new Error("Unknown node type "+nodeType+".");candidates=this.__fallback(node)}for(current=candidates.length;(current-=1)>=0;)if(candidate=node[key=candidates[current]])if(Array.isArray(candidate)){for(current2=candidate.length;(current2-=1)>=0;)if(candidate[current2]&&!candidateExistsInLeaveList(leavelist,candidate[current2])){if(isProperty(nodeType,candidates[current]))element=new Element(candidate[current2],[key,current2],"Property",null);else{if(!isNode(candidate[current2]))continue;element=new Element(candidate[current2],[key,current2],null,null)}worklist.push(element)}}else if(isNode(candidate)){if(candidateExistsInLeaveList(leavelist,candidate))continue;worklist.push(new Element(candidate,key,null,null))}}}else if(element=leavelist.pop(),ret=this.__execute(visitor.leave,element),this.__state===BREAK||ret===BREAK)return},Controller.prototype.replace=function replace(root,visitor){var worklist,leavelist,node,nodeType,target,element,current,current2,candidates,candidate,sentinel,outer,key;function removeElem(element){var i,key,nextElem,parent;if(element.ref.remove())for(key=element.ref.key,parent=element.ref.parent,i=worklist.length;i--;)if((nextElem=worklist[i]).ref&&nextElem.ref.parent===parent){if(nextElem.ref.key<key)break;--nextElem.ref.key}}for(this.__initialize(root,visitor),sentinel={},worklist=this.__worklist,leavelist=this.__leavelist,element=new Element(root,null,null,new Reference(outer={root:root},"root")),worklist.push(element),leavelist.push(element);worklist.length;)if((element=worklist.pop())!==sentinel){if(void 0!==(target=this.__execute(visitor.enter,element))&&target!==BREAK&&target!==SKIP&&target!==REMOVE&&(element.ref.replace(target),element.node=target),this.__state!==REMOVE&&target!==REMOVE||(removeElem(element),element.node=null),this.__state===BREAK||target===BREAK)return outer.root;if((node=element.node)&&(worklist.push(sentinel),leavelist.push(element),this.__state!==SKIP&&target!==SKIP)){if(nodeType=node.type||element.wrap,!(candidates=this.__keys[nodeType])){if(!this.__fallback)throw new Error("Unknown node type "+nodeType+".");candidates=this.__fallback(node)}for(current=candidates.length;(current-=1)>=0;)if(candidate=node[key=candidates[current]])if(Array.isArray(candidate)){for(current2=candidate.length;(current2-=1)>=0;)if(candidate[current2]){if(isProperty(nodeType,candidates[current]))element=new Element(candidate[current2],[key,current2],"Property",new Reference(candidate,current2));else{if(!isNode(candidate[current2]))continue;element=new Element(candidate[current2],[key,current2],null,new Reference(candidate,current2))}worklist.push(element)}}else isNode(candidate)&&worklist.push(new Element(candidate,key,null,new Reference(node,key)))}}else if(element=leavelist.pop(),void 0!==(target=this.__execute(visitor.leave,element))&&target!==BREAK&&target!==SKIP&&target!==REMOVE&&element.ref.replace(target),this.__state!==REMOVE&&target!==REMOVE||removeElem(element),this.__state===BREAK||target===BREAK)return outer.root;return outer.root},exports.Syntax=Syntax,exports.traverse=traverse,exports.replace=function replace(root,visitor){return(new Controller).replace(root,visitor)},exports.attachComments=function attachComments(tree,providedComments,tokens){var comment,len,i,cursor,comments=[];if(!tree.range)throw new Error("attachComments needs range information");if(!tokens.length){if(providedComments.length){for(i=0,len=providedComments.length;i<len;i+=1)(comment=deepCopy(providedComments[i])).extendedRange=[0,tree.range[0]],comments.push(comment);tree.leadingComments=comments}return tree}for(i=0,len=providedComments.length;i<len;i+=1)comments.push(extendCommentRange(deepCopy(providedComments[i]),tokens));return cursor=0,traverse(tree,{enter:function(node){for(var comment;cursor<comments.length&&!((comment=comments[cursor]).extendedRange[1]>node.range[0]);)comment.extendedRange[1]===node.range[0]?(node.leadingComments||(node.leadingComments=[]),node.leadingComments.push(comment),comments.splice(cursor,1)):cursor+=1;return cursor===comments.length?VisitorOption.Break:comments[cursor].extendedRange[0]>node.range[1]?VisitorOption.Skip:void 0}}),cursor=0,traverse(tree,{leave:function(node){for(var comment;cursor<comments.length&&(comment=comments[cursor],!(node.range[1]<comment.extendedRange[0]));)node.range[1]===comment.extendedRange[0]?(node.trailingComments||(node.trailingComments=[]),node.trailingComments.push(comment),comments.splice(cursor,1)):cursor+=1;return cursor===comments.length?VisitorOption.Break:comments[cursor].extendedRange[0]>node.range[1]?VisitorOption.Skip:void 0}}),tree},exports.VisitorKeys=VisitorKeys,exports.VisitorOption=VisitorOption,exports.Controller=Controller,exports.cloneEnvironment=function(){return clone({})},exports}(exports)},84974:function(module){!function(){function isStatement(node){if(null==node)return!1;switch(node.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function trailingStatement(node){switch(node.type){case"IfStatement":return null!=node.alternate?node.alternate:node.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return node.body}return null}module.exports={isExpression:function isExpression(node){if(null==node)return!1;switch(node.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:isStatement,isIterationStatement:function isIterationStatement(node){if(null==node)return!1;switch(node.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function isSourceElement(node){return isStatement(node)||null!=node&&"FunctionDeclaration"===node.type},isProblematicIfStatement:function isProblematicIfStatement(node){var current;if("IfStatement"!==node.type)return!1;if(null==node.alternate)return!1;current=node.consequent;do{if("IfStatement"===current.type&&null==current.alternate)return!0;current=trailingStatement(current)}while(current);return!1},trailingStatement:trailingStatement}}()},65619:function(module){!function(){var ES6Regex,ES5Regex,NON_ASCII_WHITESPACES,IDENTIFIER_START,IDENTIFIER_PART,ch;function fromCodePoint(cp){return cp<=65535?String.fromCharCode(cp):String.fromCharCode(Math.floor((cp-65536)/1024)+55296)+String.fromCharCode((cp-65536)%1024+56320)}for(ES5Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},ES6Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},NON_ASCII_WHITESPACES=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],IDENTIFIER_START=new Array(128),ch=0;ch<128;++ch)IDENTIFIER_START[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||36===ch||95===ch;for(IDENTIFIER_PART=new Array(128),ch=0;ch<128;++ch)IDENTIFIER_PART[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||ch>=48&&ch<=57||36===ch||95===ch;module.exports={isDecimalDigit:function isDecimalDigit(ch){return 48<=ch&&ch<=57},isHexDigit:function isHexDigit(ch){return 48<=ch&&ch<=57||97<=ch&&ch<=102||65<=ch&&ch<=70},isOctalDigit:function isOctalDigit(ch){return ch>=48&&ch<=55},isWhiteSpace:function isWhiteSpace(ch){return 32===ch||9===ch||11===ch||12===ch||160===ch||ch>=5760&&NON_ASCII_WHITESPACES.indexOf(ch)>=0},isLineTerminator:function isLineTerminator(ch){return 10===ch||13===ch||8232===ch||8233===ch},isIdentifierStartES5:function isIdentifierStartES5(ch){return ch<128?IDENTIFIER_START[ch]:ES5Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))},isIdentifierPartES5:function isIdentifierPartES5(ch){return ch<128?IDENTIFIER_PART[ch]:ES5Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))},isIdentifierStartES6:function isIdentifierStartES6(ch){return ch<128?IDENTIFIER_START[ch]:ES6Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))},isIdentifierPartES6:function isIdentifierPartES6(ch){return ch<128?IDENTIFIER_PART[ch]:ES6Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))}}}()},50702:function(module,__unused_webpack_exports,__webpack_require__){!function(){var code=__webpack_require__(65619);function isKeywordES5(id,strict){return!(!strict&&"yield"===id)&&isKeywordES6(id,strict)}function isKeywordES6(id,strict){if(strict&&function isStrictModeReservedWordES6(id){switch(id){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(id))return!0;switch(id.length){case 2:return"if"===id||"in"===id||"do"===id;case 3:return"var"===id||"for"===id||"new"===id||"try"===id;case 4:return"this"===id||"else"===id||"case"===id||"void"===id||"with"===id||"enum"===id;case 5:return"while"===id||"break"===id||"catch"===id||"throw"===id||"const"===id||"yield"===id||"class"===id||"super"===id;case 6:return"return"===id||"typeof"===id||"delete"===id||"switch"===id||"export"===id||"import"===id;case 7:return"default"===id||"finally"===id||"extends"===id;case 8:return"function"===id||"continue"===id||"debugger"===id;case 10:return"instanceof"===id;default:return!1}}function isReservedWordES5(id,strict){return"null"===id||"true"===id||"false"===id||isKeywordES5(id,strict)}function isReservedWordES6(id,strict){return"null"===id||"true"===id||"false"===id||isKeywordES6(id,strict)}function isIdentifierNameES5(id){var i,iz,ch;if(0===id.length)return!1;if(ch=id.charCodeAt(0),!code.isIdentifierStartES5(ch))return!1;for(i=1,iz=id.length;i<iz;++i)if(ch=id.charCodeAt(i),!code.isIdentifierPartES5(ch))return!1;return!0}function isIdentifierNameES6(id){var i,iz,ch,lowCh,check;if(0===id.length)return!1;for(check=code.isIdentifierStartES6,i=0,iz=id.length;i<iz;++i){if(55296<=(ch=id.charCodeAt(i))&&ch<=56319){if(++i>=iz)return!1;if(!(56320<=(lowCh=id.charCodeAt(i))&&lowCh<=57343))return!1;ch=1024*(ch-55296)+(lowCh-56320)+65536}if(!check(ch))return!1;check=code.isIdentifierPartES6}return!0}module.exports={isKeywordES5:isKeywordES5,isKeywordES6:isKeywordES6,isReservedWordES5:isReservedWordES5,isReservedWordES6:isReservedWordES6,isRestrictedWord:function isRestrictedWord(id){return"eval"===id||"arguments"===id},isIdentifierNameES5:isIdentifierNameES5,isIdentifierNameES6:isIdentifierNameES6,isIdentifierES5:function isIdentifierES5(id,strict){return isIdentifierNameES5(id)&&!isReservedWordES5(id,strict)},isIdentifierES6:function isIdentifierES6(id,strict){return isIdentifierNameES6(id)&&!isReservedWordES6(id,strict)}}}()},649:function(__unused_webpack_module,exports,__webpack_require__){exports.ast=__webpack_require__(84974),exports.code=__webpack_require__(65619),exports.keyword=__webpack_require__(50702)},17187:function(module){var ReflectOwnKeys,R="object"==typeof Reflect?Reflect:null,ReflectApply=R&&"function"==typeof R.apply?R.apply:function ReflectApply(target,receiver,args){return Function.prototype.apply.call(target,receiver,args)};ReflectOwnKeys=R&&"function"==typeof R.ownKeys?R.ownKeys:Object.getOwnPropertySymbols?function ReflectOwnKeys(target){return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target))}:function ReflectOwnKeys(target){return Object.getOwnPropertyNames(target)};var NumberIsNaN=Number.isNaN||function NumberIsNaN(value){return value!=value};function EventEmitter(){EventEmitter.init.call(this)}module.exports=EventEmitter,module.exports.once=function once(emitter,name){return new Promise((function(resolve,reject){function errorListener(err){emitter.removeListener(name,resolver),reject(err)}function resolver(){"function"==typeof emitter.removeListener&&emitter.removeListener("error",errorListener),resolve([].slice.call(arguments))}eventTargetAgnosticAddListener(emitter,name,resolver,{once:!0}),"error"!==name&&function addErrorHandlerIfEventEmitter(emitter,handler,flags){"function"==typeof emitter.on&&eventTargetAgnosticAddListener(emitter,"error",handler,flags)}(emitter,errorListener,{once:!0})}))},EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._eventsCount=0,EventEmitter.prototype._maxListeners=void 0;var defaultMaxListeners=10;function checkListener(listener){if("function"!=typeof listener)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof listener)}function _getMaxListeners(that){return void 0===that._maxListeners?EventEmitter.defaultMaxListeners:that._maxListeners}function _addListener(target,type,listener,prepend){var m,events,existing;if(checkListener(listener),void 0===(events=target._events)?(events=target._events=Object.create(null),target._eventsCount=0):(void 0!==events.newListener&&(target.emit("newListener",type,listener.listener?listener.listener:listener),events=target._events),existing=events[type]),void 0===existing)existing=events[type]=listener,++target._eventsCount;else if("function"==typeof existing?existing=events[type]=prepend?[listener,existing]:[existing,listener]:prepend?existing.unshift(listener):existing.push(listener),(m=_getMaxListeners(target))>0&&existing.length>m&&!existing.warned){existing.warned=!0;var w=new Error("Possible EventEmitter memory leak detected. "+existing.length+" "+String(type)+" listeners added. Use emitter.setMaxListeners() to increase limit");w.name="MaxListenersExceededWarning",w.emitter=target,w.type=type,w.count=existing.length,function ProcessEmitWarning(warning){console&&console.warn&&console.warn(warning)}(w)}return target}function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(target,type,listener){var state={fired:!1,wrapFn:void 0,target:target,type:type,listener:listener},wrapped=onceWrapper.bind(state);return wrapped.listener=listener,state.wrapFn=wrapped,wrapped}function _listeners(target,type,unwrap){var events=target._events;if(void 0===events)return[];var evlistener=events[type];return void 0===evlistener?[]:"function"==typeof evlistener?unwrap?[evlistener.listener||evlistener]:[evlistener]:unwrap?function unwrapListeners(arr){for(var ret=new Array(arr.length),i=0;i<ret.length;++i)ret[i]=arr[i].listener||arr[i];return ret}(evlistener):arrayClone(evlistener,evlistener.length)}function listenerCount(type){var events=this._events;if(void 0!==events){var evlistener=events[type];if("function"==typeof evlistener)return 1;if(void 0!==evlistener)return evlistener.length}return 0}function arrayClone(arr,n){for(var copy=new Array(n),i=0;i<n;++i)copy[i]=arr[i];return copy}function eventTargetAgnosticAddListener(emitter,name,listener,flags){if("function"==typeof emitter.on)flags.once?emitter.once(name,listener):emitter.on(name,listener);else{if("function"!=typeof emitter.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof emitter);emitter.addEventListener(name,(function wrapListener(arg){flags.once&&emitter.removeEventListener(name,wrapListener),listener(arg)}))}}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(arg){if("number"!=typeof arg||arg<0||NumberIsNaN(arg))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+arg+".");defaultMaxListeners=arg}}),EventEmitter.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},EventEmitter.prototype.setMaxListeners=function setMaxListeners(n){if("number"!=typeof n||n<0||NumberIsNaN(n))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+n+".");return this._maxListeners=n,this},EventEmitter.prototype.getMaxListeners=function getMaxListeners(){return _getMaxListeners(this)},EventEmitter.prototype.emit=function emit(type){for(var args=[],i=1;i<arguments.length;i++)args.push(arguments[i]);var doError="error"===type,events=this._events;if(void 0!==events)doError=doError&&void 0===events.error;else if(!doError)return!1;if(doError){var er;if(args.length>0&&(er=args[0]),er instanceof Error)throw er;var err=new Error("Unhandled error."+(er?" ("+er.message+")":""));throw err.context=er,err}var handler=events[type];if(void 0===handler)return!1;if("function"==typeof handler)ReflectApply(handler,this,args);else{var len=handler.length,listeners=arrayClone(handler,len);for(i=0;i<len;++i)ReflectApply(listeners[i],this,args)}return!0},EventEmitter.prototype.addListener=function addListener(type,listener){return _addListener(this,type,listener,!1)},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.prependListener=function prependListener(type,listener){return _addListener(this,type,listener,!0)},EventEmitter.prototype.once=function once(type,listener){return checkListener(listener),this.on(type,_onceWrap(this,type,listener)),this},EventEmitter.prototype.prependOnceListener=function prependOnceListener(type,listener){return checkListener(listener),this.prependListener(type,_onceWrap(this,type,listener)),this},EventEmitter.prototype.removeListener=function removeListener(type,listener){var list,events,position,i,originalListener;if(checkListener(listener),void 0===(events=this._events))return this;if(void 0===(list=events[type]))return this;if(list===listener||list.listener===listener)0==--this._eventsCount?this._events=Object.create(null):(delete events[type],events.removeListener&&this.emit("removeListener",type,list.listener||listener));else if("function"!=typeof list){for(position=-1,i=list.length-1;i>=0;i--)if(list[i]===listener||list[i].listener===listener){originalListener=list[i].listener,position=i;break}if(position<0)return this;0===position?list.shift():function spliceOne(list,index){for(;index+1<list.length;index++)list[index]=list[index+1];list.pop()}(list,position),1===list.length&&(events[type]=list[0]),void 0!==events.removeListener&&this.emit("removeListener",type,originalListener||listener)}return this},EventEmitter.prototype.off=EventEmitter.prototype.removeListener,EventEmitter.prototype.removeAllListeners=function removeAllListeners(type){var listeners,events,i;if(void 0===(events=this._events))return this;if(void 0===events.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==events[type]&&(0==--this._eventsCount?this._events=Object.create(null):delete events[type]),this;if(0===arguments.length){var key,keys=Object.keys(events);for(i=0;i<keys.length;++i)"removeListener"!==(key=keys[i])&&this.removeAllListeners(key);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(listeners=events[type]))this.removeListener(type,listeners);else if(void 0!==listeners)for(i=listeners.length-1;i>=0;i--)this.removeListener(type,listeners[i]);return this},EventEmitter.prototype.listeners=function listeners(type){return _listeners(this,type,!0)},EventEmitter.prototype.rawListeners=function rawListeners(type){return _listeners(this,type,!1)},EventEmitter.listenerCount=function(emitter,type){return"function"==typeof emitter.listenerCount?emitter.listenerCount(type):listenerCount.call(emitter,type)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function eventNames(){return this._eventsCount>0?ReflectOwnKeys(this._events):[]}},13048:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(89509).Buffer,MD5=__webpack_require__(62318);module.exports=function EVP_BytesToKey(password,salt,keyBits,ivLen){if(Buffer.isBuffer(password)||(password=Buffer.from(password,"binary")),salt&&(Buffer.isBuffer(salt)||(salt=Buffer.from(salt,"binary")),8!==salt.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var keyLen=keyBits/8,key=Buffer.alloc(keyLen),iv=Buffer.alloc(ivLen||0),tmp=Buffer.alloc(0);keyLen>0||ivLen>0;){var hash=new MD5;hash.update(tmp),hash.update(password),salt&&hash.update(salt),tmp=hash.digest();var used=0;if(keyLen>0){var keyStart=key.length-keyLen;used=Math.min(keyLen,tmp.length),tmp.copy(key,keyStart,0,used),keyLen-=used}if(used<tmp.length&&ivLen>0){var ivStart=iv.length-ivLen,length=Math.min(ivLen,tmp.length-used);tmp.copy(iv,ivStart,used,used+length),ivLen-=length}}return tmp.fill(0),{key:key,iv:iv}}},49804:function(module){var hasOwn=Object.prototype.hasOwnProperty,toString=Object.prototype.toString;module.exports=function forEach(obj,fn,ctx){if("[object Function]"!==toString.call(fn))throw new TypeError("iterator must be a function");var l=obj.length;if(l===+l)for(var i=0;i<l;i++)fn.call(ctx,obj[i],i,obj);else for(var k in obj)hasOwn.call(obj,k)&&fn.call(ctx,obj[k],k,obj)}},6230:function(module){module.exports="object"==typeof self?self.FormData:window.FormData},17648:function(module){var ERROR_MESSAGE="Function.prototype.bind called on incompatible ",slice=Array.prototype.slice,toStr=Object.prototype.toString;module.exports=function bind(that){var target=this;if("function"!=typeof target||"[object Function]"!==toStr.call(target))throw new TypeError(ERROR_MESSAGE+target);for(var bound,args=slice.call(arguments,1),binder=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))},boundLength=Math.max(0,target.length-args.length),boundArgs=[],i=0;i<boundLength;i++)boundArgs.push("$"+i);if(bound=Function("binder","return function ("+boundArgs.join(",")+"){ return binder.apply(this,arguments); }")(binder),target.prototype){var Empty=function Empty(){};Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null}return bound}},58612:function(module,__unused_webpack_exports,__webpack_require__){var implementation=__webpack_require__(17648);module.exports=Function.prototype.bind||implementation},37643:function(module){var toString=Function.prototype.toString,functionNameMatch=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/;module.exports=function getFuncName(aFunc){if("function"!=typeof aFunc)return null;var name="";if(void 0===Function.prototype.name&&void 0===aFunc.name){var match=toString.call(aFunc).match(functionNameMatch);match&&(name=match[1])}else name=aFunc.name;return name}},40210:function(module,__unused_webpack_exports,__webpack_require__){var $SyntaxError=SyntaxError,$Function=Function,$TypeError=TypeError,getEvalledConstructor=function(expressionSyntax){try{return $Function('"use strict"; return ('+expressionSyntax+").constructor;")()}catch(e){}},$gOPD=Object.getOwnPropertyDescriptor;if($gOPD)try{$gOPD({},"")}catch(e){$gOPD=null}var throwTypeError=function(){throw new $TypeError},ThrowTypeError=$gOPD?function(){try{return throwTypeError}catch(calleeThrows){try{return $gOPD(arguments,"callee").get}catch(gOPDthrows){return throwTypeError}}}():throwTypeError,hasSymbols=__webpack_require__(41405)(),getProto=Object.getPrototypeOf||function(x){return x.__proto__},needsEval={},TypedArray="undefined"==typeof Uint8Array?undefined:getProto(Uint8Array),INTRINSICS={"%AggregateError%":"undefined"==typeof AggregateError?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":"undefined"==typeof Atomics?undefined:Atomics,"%BigInt%":"undefined"==typeof BigInt?undefined:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?undefined:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?undefined:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":"undefined"==typeof Int8Array?undefined:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?undefined:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":"undefined"==typeof Map?undefined:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hasSymbols?getProto((new Map)[Symbol.iterator]()):undefined,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?undefined:Promise,"%Proxy%":"undefined"==typeof Proxy?undefined:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?undefined:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?undefined:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hasSymbols?getProto((new Set)[Symbol.iterator]()):undefined,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":"undefined"==typeof Uint8Array?undefined:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?undefined:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?undefined:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?undefined:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?undefined:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?undefined:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?undefined:WeakSet},doEval=function doEval(name){var value;if("%AsyncFunction%"===name)value=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===name)value=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===name)value=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===name){var fn=doEval("%AsyncGeneratorFunction%");fn&&(value=fn.prototype)}else if("%AsyncIteratorPrototype%"===name){var gen=doEval("%AsyncGenerator%");gen&&(value=getProto(gen.prototype))}return INTRINSICS[name]=value,value},LEGACY_ALIASES={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=__webpack_require__(58612),hasOwn=__webpack_require__(17642),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function stringToPath(string){var first=$strSlice(string,0,1),last=$strSlice(string,-1);if("%"===first&&"%"!==last)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===last&&"%"!==first)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result=[];return $replace(string,rePropName,(function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match})),result},getBaseIntrinsic=function getBaseIntrinsic(name,allowMissing){var alias,intrinsicName=name;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(intrinsicName="%"+(alias=LEGACY_ALIASES[intrinsicName])[0]+"%"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),void 0===value&&!allowMissing)throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!");return{alias:alias,name:intrinsicName,value:value}}throw new $SyntaxError("intrinsic "+name+" does not exist!")};module.exports=function GetIntrinsic(name,allowMissing){if("string"!=typeof name||0===name.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof allowMissing)throw new $TypeError('"allowMissing" argument must be a boolean');var parts=stringToPath(name),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i<parts.length;i+=1){var part=parts[i],first=$strSlice(part,0,1),last=$strSlice(part,-1);if(('"'===first||"'"===first||"`"===first||'"'===last||"'"===last||"`"===last)&&first!==last)throw new $SyntaxError("property names with quotes must have matching quotes");if("constructor"!==part&&isOwn||(skipFurtherCaching=!0),hasOwn(INTRINSICS,intrinsicRealName="%"+(intrinsicBaseName+="."+part)+"%"))value=INTRINSICS[intrinsicRealName];else if(null!=value){if(!(part in value)){if(!allowMissing)throw new $TypeError("base intrinsic for "+name+" exists, but the property is not available.");return}if($gOPD&&i+1>=parts.length){var desc=$gOPD(value,part);value=(isOwn=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:value[part]}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value)}}return value}},41405:function(module,__unused_webpack_exports,__webpack_require__){var origSymbol="undefined"!=typeof Symbol&&Symbol,hasSymbolSham=__webpack_require__(55419);module.exports=function hasNativeSymbols(){return"function"==typeof origSymbol&&("function"==typeof Symbol&&("symbol"==typeof origSymbol("foo")&&("symbol"==typeof Symbol("bar")&&hasSymbolSham())))}},55419:function(module){module.exports=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var obj={},sym=Symbol("test"),symObj=Object(sym);if("string"==typeof sym)return!1;if("[object Symbol]"!==Object.prototype.toString.call(sym))return!1;if("[object Symbol]"!==Object.prototype.toString.call(symObj))return!1;for(sym in obj[sym]=42,obj)return!1;if("function"==typeof Object.keys&&0!==Object.keys(obj).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(obj).length)return!1;var syms=Object.getOwnPropertySymbols(obj);if(1!==syms.length||syms[0]!==sym)return!1;if(!Object.prototype.propertyIsEnumerable.call(obj,sym))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var descriptor=Object.getOwnPropertyDescriptor(obj,sym);if(42!==descriptor.value||!0!==descriptor.enumerable)return!1}return!0}},96410:function(module,__unused_webpack_exports,__webpack_require__){var hasSymbols=__webpack_require__(55419);module.exports=function hasToStringTagShams(){return hasSymbols()&&!!Symbol.toStringTag}},17642:function(module,__unused_webpack_exports,__webpack_require__){var bind=__webpack_require__(58612);module.exports=bind.call(Function.call,Object.prototype.hasOwnProperty)},3349:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(89509).Buffer,Transform=__webpack_require__(88473).Transform;function HashBase(blockSize){Transform.call(this),this._block=Buffer.allocUnsafe(blockSize),this._blockSize=blockSize,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}__webpack_require__(35717)(HashBase,Transform),HashBase.prototype._transform=function(chunk,encoding,callback){var error=null;try{this.update(chunk,encoding)}catch(err){error=err}callback(error)},HashBase.prototype._flush=function(callback){var error=null;try{this.push(this.digest())}catch(err){error=err}callback(error)},HashBase.prototype.update=function(data,encoding){if(function throwIfNotStringOrBuffer(val,prefix){if(!Buffer.isBuffer(val)&&"string"!=typeof val)throw new TypeError(prefix+" must be a string or a buffer")}(data,"Data"),this._finalized)throw new Error("Digest already called");Buffer.isBuffer(data)||(data=Buffer.from(data,encoding));for(var block=this._block,offset=0;this._blockOffset+data.length-offset>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)block[i++]=data[offset++];this._update(),this._blockOffset=0}for(;offset<data.length;)block[this._blockOffset++]=data[offset++];for(var j=0,carry=8*data.length;carry>0;++j)this._length[j]+=carry,(carry=this._length[j]/4294967296|0)>0&&(this._length[j]-=4294967296*carry);return this},HashBase.prototype._update=function(){throw new Error("_update is not implemented")},HashBase.prototype.digest=function(encoding){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var digest=this._digest();void 0!==encoding&&(digest=digest.toString(encoding)),this._block.fill(0),this._blockOffset=0;for(var i=0;i<4;++i)this._length[i]=0;return digest},HashBase.prototype._digest=function(){throw new Error("_digest is not implemented")},module.exports=HashBase},33715:function(__unused_webpack_module,exports,__webpack_require__){var hash=exports;hash.utils=__webpack_require__(26436),hash.common=__webpack_require__(95772),hash.sha=__webpack_require__(89041),hash.ripemd=__webpack_require__(12949),hash.hmac=__webpack_require__(52344),hash.sha1=hash.sha.sha1,hash.sha256=hash.sha.sha256,hash.sha224=hash.sha.sha224,hash.sha384=hash.sha.sha384,hash.sha512=hash.sha.sha512,hash.ripemd160=hash.ripemd.ripemd160},95772:function(__unused_webpack_module,exports,__webpack_require__){var utils=__webpack_require__(26436),assert=__webpack_require__(79746);function BlockHash(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}exports.BlockHash=BlockHash,BlockHash.prototype.update=function update(msg,enc){if(msg=utils.toArray(msg,enc),this.pending?this.pending=this.pending.concat(msg):this.pending=msg,this.pendingTotal+=msg.length,this.pending.length>=this._delta8){var r=(msg=this.pending).length%this._delta8;this.pending=msg.slice(msg.length-r,msg.length),0===this.pending.length&&(this.pending=null),msg=utils.join32(msg,0,msg.length-r,this.endian);for(var i=0;i<msg.length;i+=this._delta32)this._update(msg,i,i+this._delta32)}return this},BlockHash.prototype.digest=function digest(enc){return this.update(this._pad()),assert(null===this.pending),this._digest(enc)},BlockHash.prototype._pad=function pad(){var len=this.pendingTotal,bytes=this._delta8,k=bytes-(len+this.padLength)%bytes,res=new Array(k+this.padLength);res[0]=128;for(var i=1;i<k;i++)res[i]=0;if(len<<=3,"big"===this.endian){for(var t=8;t<this.padLength;t++)res[i++]=0;res[i++]=0,res[i++]=0,res[i++]=0,res[i++]=0,res[i++]=len>>>24&255,res[i++]=len>>>16&255,res[i++]=len>>>8&255,res[i++]=255&len}else for(res[i++]=255&len,res[i++]=len>>>8&255,res[i++]=len>>>16&255,res[i++]=len>>>24&255,res[i++]=0,res[i++]=0,res[i++]=0,res[i++]=0,t=8;t<this.padLength;t++)res[i++]=0;return res}},52344:function(module,__unused_webpack_exports,__webpack_require__){var utils=__webpack_require__(26436),assert=__webpack_require__(79746);function Hmac(hash,key,enc){if(!(this instanceof Hmac))return new Hmac(hash,key,enc);this.Hash=hash,this.blockSize=hash.blockSize/8,this.outSize=hash.outSize/8,this.inner=null,this.outer=null,this._init(utils.toArray(key,enc))}module.exports=Hmac,Hmac.prototype._init=function init(key){key.length>this.blockSize&&(key=(new this.Hash).update(key).digest()),assert(key.length<=this.blockSize);for(var i=key.length;i<this.blockSize;i++)key.push(0);for(i=0;i<key.length;i++)key[i]^=54;for(this.inner=(new this.Hash).update(key),i=0;i<key.length;i++)key[i]^=106;this.outer=(new this.Hash).update(key)},Hmac.prototype.update=function update(msg,enc){return this.inner.update(msg,enc),this},Hmac.prototype.digest=function digest(enc){return this.outer.update(this.inner.digest()),this.outer.digest(enc)}},12949:function(__unused_webpack_module,exports,__webpack_require__){var utils=__webpack_require__(26436),common=__webpack_require__(95772),rotl32=utils.rotl32,sum32=utils.sum32,sum32_3=utils.sum32_3,sum32_4=utils.sum32_4,BlockHash=common.BlockHash;function RIPEMD160(){if(!(this instanceof RIPEMD160))return new RIPEMD160;BlockHash.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function f(j,x,y,z){return j<=15?x^y^z:j<=31?x&y|~x&z:j<=47?(x|~y)^z:j<=63?x&z|y&~z:x^(y|~z)}function K(j){return j<=15?0:j<=31?1518500249:j<=47?1859775393:j<=63?2400959708:2840853838}function Kh(j){return j<=15?1352829926:j<=31?1548603684:j<=47?1836072691:j<=63?2053994217:0}utils.inherits(RIPEMD160,BlockHash),exports.ripemd160=RIPEMD160,RIPEMD160.blockSize=512,RIPEMD160.outSize=160,RIPEMD160.hmacStrength=192,RIPEMD160.padLength=64,RIPEMD160.prototype._update=function update(msg,start){for(var A=this.h[0],B=this.h[1],C=this.h[2],D=this.h[3],E=this.h[4],Ah=A,Bh=B,Ch=C,Dh=D,Eh=E,j=0;j<80;j++){var T=sum32(rotl32(sum32_4(A,f(j,B,C,D),msg[r[j]+start],K(j)),s[j]),E);A=E,E=D,D=rotl32(C,10),C=B,B=T,T=sum32(rotl32(sum32_4(Ah,f(79-j,Bh,Ch,Dh),msg[rh[j]+start],Kh(j)),sh[j]),Eh),Ah=Eh,Eh=Dh,Dh=rotl32(Ch,10),Ch=Bh,Bh=T}T=sum32_3(this.h[1],C,Dh),this.h[1]=sum32_3(this.h[2],D,Eh),this.h[2]=sum32_3(this.h[3],E,Ah),this.h[3]=sum32_3(this.h[4],A,Bh),this.h[4]=sum32_3(this.h[0],B,Ch),this.h[0]=T},RIPEMD160.prototype._digest=function digest(enc){return"hex"===enc?utils.toHex32(this.h,"little"):utils.split32(this.h,"little")};var r=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],rh=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],s=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],sh=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},89041:function(__unused_webpack_module,exports,__webpack_require__){exports.sha1=__webpack_require__(84761),exports.sha224=__webpack_require__(10799),exports.sha256=__webpack_require__(89344),exports.sha384=__webpack_require__(80772),exports.sha512=__webpack_require__(45900)},84761:function(module,__unused_webpack_exports,__webpack_require__){var utils=__webpack_require__(26436),common=__webpack_require__(95772),shaCommon=__webpack_require__(37038),rotl32=utils.rotl32,sum32=utils.sum32,sum32_5=utils.sum32_5,ft_1=shaCommon.ft_1,BlockHash=common.BlockHash,sha1_K=[1518500249,1859775393,2400959708,3395469782];function SHA1(){if(!(this instanceof SHA1))return new SHA1;BlockHash.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}utils.inherits(SHA1,BlockHash),module.exports=SHA1,SHA1.blockSize=512,SHA1.outSize=160,SHA1.hmacStrength=80,SHA1.padLength=64,SHA1.prototype._update=function _update(msg,start){for(var W=this.W,i=0;i<16;i++)W[i]=msg[start+i];for(;i<W.length;i++)W[i]=rotl32(W[i-3]^W[i-8]^W[i-14]^W[i-16],1);var a=this.h[0],b=this.h[1],c=this.h[2],d=this.h[3],e=this.h[4];for(i=0;i<W.length;i++){var s=~~(i/20),t=sum32_5(rotl32(a,5),ft_1(s,b,c,d),e,W[i],sha1_K[s]);e=d,d=c,c=rotl32(b,30),b=a,a=t}this.h[0]=sum32(this.h[0],a),this.h[1]=sum32(this.h[1],b),this.h[2]=sum32(this.h[2],c),this.h[3]=sum32(this.h[3],d),this.h[4]=sum32(this.h[4],e)},SHA1.prototype._digest=function digest(enc){return"hex"===enc?utils.toHex32(this.h,"big"):utils.split32(this.h,"big")}},10799:function(module,__unused_webpack_exports,__webpack_require__){var utils=__webpack_require__(26436),SHA256=__webpack_require__(89344);function SHA224(){if(!(this instanceof SHA224))return new SHA224;SHA256.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}utils.inherits(SHA224,SHA256),module.exports=SHA224,SHA224.blockSize=512,SHA224.outSize=224,SHA224.hmacStrength=192,SHA224.padLength=64,SHA224.prototype._digest=function digest(enc){return"hex"===enc?utils.toHex32(this.h.slice(0,7),"big"):utils.split32(this.h.slice(0,7),"big")}},89344:function(module,__unused_webpack_exports,__webpack_require__){var utils=__webpack_require__(26436),common=__webpack_require__(95772),shaCommon=__webpack_require__(37038),assert=__webpack_require__(79746),sum32=utils.sum32,sum32_4=utils.sum32_4,sum32_5=utils.sum32_5,ch32=shaCommon.ch32,maj32=shaCommon.maj32,s0_256=shaCommon.s0_256,s1_256=shaCommon.s1_256,g0_256=shaCommon.g0_256,g1_256=shaCommon.g1_256,BlockHash=common.BlockHash,sha256_K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function SHA256(){if(!(this instanceof SHA256))return new SHA256;BlockHash.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=sha256_K,this.W=new Array(64)}utils.inherits(SHA256,BlockHash),module.exports=SHA256,SHA256.blockSize=512,SHA256.outSize=256,SHA256.hmacStrength=192,SHA256.padLength=64,SHA256.prototype._update=function _update(msg,start){for(var W=this.W,i=0;i<16;i++)W[i]=msg[start+i];for(;i<W.length;i++)W[i]=sum32_4(g1_256(W[i-2]),W[i-7],g0_256(W[i-15]),W[i-16]);var a=this.h[0],b=this.h[1],c=this.h[2],d=this.h[3],e=this.h[4],f=this.h[5],g=this.h[6],h=this.h[7];for(assert(this.k.length===W.length),i=0;i<W.length;i++){var T1=sum32_5(h,s1_256(e),ch32(e,f,g),this.k[i],W[i]),T2=sum32(s0_256(a),maj32(a,b,c));h=g,g=f,f=e,e=sum32(d,T1),d=c,c=b,b=a,a=sum32(T1,T2)}this.h[0]=sum32(this.h[0],a),this.h[1]=sum32(this.h[1],b),this.h[2]=sum32(this.h[2],c),this.h[3]=sum32(this.h[3],d),this.h[4]=sum32(this.h[4],e),this.h[5]=sum32(this.h[5],f),this.h[6]=sum32(this.h[6],g),this.h[7]=sum32(this.h[7],h)},SHA256.prototype._digest=function digest(enc){return"hex"===enc?utils.toHex32(this.h,"big"):utils.split32(this.h,"big")}},80772:function(module,__unused_webpack_exports,__webpack_require__){var utils=__webpack_require__(26436),SHA512=__webpack_require__(45900);function SHA384(){if(!(this instanceof SHA384))return new SHA384;SHA512.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}utils.inherits(SHA384,SHA512),module.exports=SHA384,SHA384.blockSize=1024,SHA384.outSize=384,SHA384.hmacStrength=192,SHA384.padLength=128,SHA384.prototype._digest=function digest(enc){return"hex"===enc?utils.toHex32(this.h.slice(0,12),"big"):utils.split32(this.h.slice(0,12),"big")}},45900:function(module,__unused_webpack_exports,__webpack_require__){var utils=__webpack_require__(26436),common=__webpack_require__(95772),assert=__webpack_require__(79746),rotr64_hi=utils.rotr64_hi,rotr64_lo=utils.rotr64_lo,shr64_hi=utils.shr64_hi,shr64_lo=utils.shr64_lo,sum64=utils.sum64,sum64_hi=utils.sum64_hi,sum64_lo=utils.sum64_lo,sum64_4_hi=utils.sum64_4_hi,sum64_4_lo=utils.sum64_4_lo,sum64_5_hi=utils.sum64_5_hi,sum64_5_lo=utils.sum64_5_lo,BlockHash=common.BlockHash,sha512_K=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function SHA512(){if(!(this instanceof SHA512))return new SHA512;BlockHash.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=sha512_K,this.W=new Array(160)}function ch64_hi(xh,xl,yh,yl,zh){var r=xh&yh^~xh&zh;return r<0&&(r+=4294967296),r}function ch64_lo(xh,xl,yh,yl,zh,zl){var r=xl&yl^~xl&zl;return r<0&&(r+=4294967296),r}function maj64_hi(xh,xl,yh,yl,zh){var r=xh&yh^xh&zh^yh&zh;return r<0&&(r+=4294967296),r}function maj64_lo(xh,xl,yh,yl,zh,zl){var r=xl&yl^xl&zl^yl&zl;return r<0&&(r+=4294967296),r}function s0_512_hi(xh,xl){var r=rotr64_hi(xh,xl,28)^rotr64_hi(xl,xh,2)^rotr64_hi(xl,xh,7);return r<0&&(r+=4294967296),r}function s0_512_lo(xh,xl){var r=rotr64_lo(xh,xl,28)^rotr64_lo(xl,xh,2)^rotr64_lo(xl,xh,7);return r<0&&(r+=4294967296),r}function s1_512_hi(xh,xl){var r=rotr64_hi(xh,xl,14)^rotr64_hi(xh,xl,18)^rotr64_hi(xl,xh,9);return r<0&&(r+=4294967296),r}function s1_512_lo(xh,xl){var r=rotr64_lo(xh,xl,14)^rotr64_lo(xh,xl,18)^rotr64_lo(xl,xh,9);return r<0&&(r+=4294967296),r}function g0_512_hi(xh,xl){var r=rotr64_hi(xh,xl,1)^rotr64_hi(xh,xl,8)^shr64_hi(xh,xl,7);return r<0&&(r+=4294967296),r}function g0_512_lo(xh,xl){var r=rotr64_lo(xh,xl,1)^rotr64_lo(xh,xl,8)^shr64_lo(xh,xl,7);return r<0&&(r+=4294967296),r}function g1_512_hi(xh,xl){var r=rotr64_hi(xh,xl,19)^rotr64_hi(xl,xh,29)^shr64_hi(xh,xl,6);return r<0&&(r+=4294967296),r}function g1_512_lo(xh,xl){var r=rotr64_lo(xh,xl,19)^rotr64_lo(xl,xh,29)^shr64_lo(xh,xl,6);return r<0&&(r+=4294967296),r}utils.inherits(SHA512,BlockHash),module.exports=SHA512,SHA512.blockSize=1024,SHA512.outSize=512,SHA512.hmacStrength=192,SHA512.padLength=128,SHA512.prototype._prepareBlock=function _prepareBlock(msg,start){for(var W=this.W,i=0;i<32;i++)W[i]=msg[start+i];for(;i<W.length;i+=2){var c0_hi=g1_512_hi(W[i-4],W[i-3]),c0_lo=g1_512_lo(W[i-4],W[i-3]),c1_hi=W[i-14],c1_lo=W[i-13],c2_hi=g0_512_hi(W[i-30],W[i-29]),c2_lo=g0_512_lo(W[i-30],W[i-29]),c3_hi=W[i-32],c3_lo=W[i-31];W[i]=sum64_4_hi(c0_hi,c0_lo,c1_hi,c1_lo,c2_hi,c2_lo,c3_hi,c3_lo),W[i+1]=sum64_4_lo(c0_hi,c0_lo,c1_hi,c1_lo,c2_hi,c2_lo,c3_hi,c3_lo)}},SHA512.prototype._update=function _update(msg,start){this._prepareBlock(msg,start);var W=this.W,ah=this.h[0],al=this.h[1],bh=this.h[2],bl=this.h[3],ch=this.h[4],cl=this.h[5],dh=this.h[6],dl=this.h[7],eh=this.h[8],el=this.h[9],fh=this.h[10],fl=this.h[11],gh=this.h[12],gl=this.h[13],hh=this.h[14],hl=this.h[15];assert(this.k.length===W.length);for(var i=0;i<W.length;i+=2){var c0_hi=hh,c0_lo=hl,c1_hi=s1_512_hi(eh,el),c1_lo=s1_512_lo(eh,el),c2_hi=ch64_hi(eh,el,fh,fl,gh),c2_lo=ch64_lo(eh,el,fh,fl,gh,gl),c3_hi=this.k[i],c3_lo=this.k[i+1],c4_hi=W[i],c4_lo=W[i+1],T1_hi=sum64_5_hi(c0_hi,c0_lo,c1_hi,c1_lo,c2_hi,c2_lo,c3_hi,c3_lo,c4_hi,c4_lo),T1_lo=sum64_5_lo(c0_hi,c0_lo,c1_hi,c1_lo,c2_hi,c2_lo,c3_hi,c3_lo,c4_hi,c4_lo);c0_hi=s0_512_hi(ah,al),c0_lo=s0_512_lo(ah,al),c1_hi=maj64_hi(ah,al,bh,bl,ch),c1_lo=maj64_lo(ah,al,bh,bl,ch,cl);var T2_hi=sum64_hi(c0_hi,c0_lo,c1_hi,c1_lo),T2_lo=sum64_lo(c0_hi,c0_lo,c1_hi,c1_lo);hh=gh,hl=gl,gh=fh,gl=fl,fh=eh,fl=el,eh=sum64_hi(dh,dl,T1_hi,T1_lo),el=sum64_lo(dl,dl,T1_hi,T1_lo),dh=ch,dl=cl,ch=bh,cl=bl,bh=ah,bl=al,ah=sum64_hi(T1_hi,T1_lo,T2_hi,T2_lo),al=sum64_lo(T1_hi,T1_lo,T2_hi,T2_lo)}sum64(this.h,0,ah,al),sum64(this.h,2,bh,bl),sum64(this.h,4,ch,cl),sum64(this.h,6,dh,dl),sum64(this.h,8,eh,el),sum64(this.h,10,fh,fl),sum64(this.h,12,gh,gl),sum64(this.h,14,hh,hl)},SHA512.prototype._digest=function digest(enc){return"hex"===enc?utils.toHex32(this.h,"big"):utils.split32(this.h,"big")}},37038:function(__unused_webpack_module,exports,__webpack_require__){var rotr32=__webpack_require__(26436).rotr32;function ch32(x,y,z){return x&y^~x&z}function maj32(x,y,z){return x&y^x&z^y&z}function p32(x,y,z){return x^y^z}exports.ft_1=function ft_1(s,x,y,z){return 0===s?ch32(x,y,z):1===s||3===s?p32(x,y,z):2===s?maj32(x,y,z):void 0},exports.ch32=ch32,exports.maj32=maj32,exports.p32=p32,exports.s0_256=function s0_256(x){return rotr32(x,2)^rotr32(x,13)^rotr32(x,22)},exports.s1_256=function s1_256(x){return rotr32(x,6)^rotr32(x,11)^rotr32(x,25)},exports.g0_256=function g0_256(x){return rotr32(x,7)^rotr32(x,18)^x>>>3},exports.g1_256=function g1_256(x){return rotr32(x,17)^rotr32(x,19)^x>>>10}},26436:function(__unused_webpack_module,exports,__webpack_require__){var assert=__webpack_require__(79746),inherits=__webpack_require__(35717);function isSurrogatePair(msg,i){return 55296==(64512&msg.charCodeAt(i))&&(!(i<0||i+1>=msg.length)&&56320==(64512&msg.charCodeAt(i+1)))}function htonl(w){return(w>>>24|w>>>8&65280|w<<8&16711680|(255&w)<<24)>>>0}function zero2(word){return 1===word.length?"0"+word:word}function zero8(word){return 7===word.length?"0"+word:6===word.length?"00"+word:5===word.length?"000"+word:4===word.length?"0000"+word:3===word.length?"00000"+word:2===word.length?"000000"+word:1===word.length?"0000000"+word:word}exports.inherits=inherits,exports.toArray=function toArray(msg,enc){if(Array.isArray(msg))return msg.slice();if(!msg)return[];var res=[];if("string"==typeof msg)if(enc){if("hex"===enc)for((msg=msg.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(msg="0"+msg),i=0;i<msg.length;i+=2)res.push(parseInt(msg[i]+msg[i+1],16))}else for(var p=0,i=0;i<msg.length;i++){var c=msg.charCodeAt(i);c<128?res[p++]=c:c<2048?(res[p++]=c>>6|192,res[p++]=63&c|128):isSurrogatePair(msg,i)?(c=65536+((1023&c)<<10)+(1023&msg.charCodeAt(++i)),res[p++]=c>>18|240,res[p++]=c>>12&63|128,res[p++]=c>>6&63|128,res[p++]=63&c|128):(res[p++]=c>>12|224,res[p++]=c>>6&63|128,res[p++]=63&c|128)}else for(i=0;i<msg.length;i++)res[i]=0|msg[i];return res},exports.toHex=function toHex(msg){for(var res="",i=0;i<msg.length;i++)res+=zero2(msg[i].toString(16));return res},exports.htonl=htonl,exports.toHex32=function toHex32(msg,endian){for(var res="",i=0;i<msg.length;i++){var w=msg[i];"little"===endian&&(w=htonl(w)),res+=zero8(w.toString(16))}return res},exports.zero2=zero2,exports.zero8=zero8,exports.join32=function join32(msg,start,end,endian){var len=end-start;assert(len%4==0);for(var res=new Array(len/4),i=0,k=start;i<res.length;i++,k+=4){var w;w="big"===endian?msg[k]<<24|msg[k+1]<<16|msg[k+2]<<8|msg[k+3]:msg[k+3]<<24|msg[k+2]<<16|msg[k+1]<<8|msg[k],res[i]=w>>>0}return res},exports.split32=function split32(msg,endian){for(var res=new Array(4*msg.length),i=0,k=0;i<msg.length;i++,k+=4){var m=msg[i];"big"===endian?(res[k]=m>>>24,res[k+1]=m>>>16&255,res[k+2]=m>>>8&255,res[k+3]=255&m):(res[k+3]=m>>>24,res[k+2]=m>>>16&255,res[k+1]=m>>>8&255,res[k]=255&m)}return res},exports.rotr32=function rotr32(w,b){return w>>>b|w<<32-b},exports.rotl32=function rotl32(w,b){return w<<b|w>>>32-b},exports.sum32=function sum32(a,b){return a+b>>>0},exports.sum32_3=function sum32_3(a,b,c){return a+b+c>>>0},exports.sum32_4=function sum32_4(a,b,c,d){return a+b+c+d>>>0},exports.sum32_5=function sum32_5(a,b,c,d,e){return a+b+c+d+e>>>0},exports.sum64=function sum64(buf,pos,ah,al){var bh=buf[pos],lo=al+buf[pos+1]>>>0,hi=(lo<al?1:0)+ah+bh;buf[pos]=hi>>>0,buf[pos+1]=lo},exports.sum64_hi=function sum64_hi(ah,al,bh,bl){return(al+bl>>>0<al?1:0)+ah+bh>>>0},exports.sum64_lo=function sum64_lo(ah,al,bh,bl){return al+bl>>>0},exports.sum64_4_hi=function sum64_4_hi(ah,al,bh,bl,ch,cl,dh,dl){var carry=0,lo=al;return carry+=(lo=lo+bl>>>0)<al?1:0,carry+=(lo=lo+cl>>>0)<cl?1:0,ah+bh+ch+dh+(carry+=(lo=lo+dl>>>0)<dl?1:0)>>>0},exports.sum64_4_lo=function sum64_4_lo(ah,al,bh,bl,ch,cl,dh,dl){return al+bl+cl+dl>>>0},exports.sum64_5_hi=function sum64_5_hi(ah,al,bh,bl,ch,cl,dh,dl,eh,el){var carry=0,lo=al;return carry+=(lo=lo+bl>>>0)<al?1:0,carry+=(lo=lo+cl>>>0)<cl?1:0,carry+=(lo=lo+dl>>>0)<dl?1:0,ah+bh+ch+dh+eh+(carry+=(lo=lo+el>>>0)<el?1:0)>>>0},exports.sum64_5_lo=function sum64_5_lo(ah,al,bh,bl,ch,cl,dh,dl,eh,el){return al+bl+cl+dl+el>>>0},exports.rotr64_hi=function rotr64_hi(ah,al,num){return(al<<32-num|ah>>>num)>>>0},exports.rotr64_lo=function rotr64_lo(ah,al,num){return(ah<<32-num|al>>>num)>>>0},exports.shr64_hi=function shr64_hi(ah,al,num){return ah>>>num},exports.shr64_lo=function shr64_lo(ah,al,num){return(ah<<32-num|al>>>num)>>>0}},2156:function(module,__unused_webpack_exports,__webpack_require__){var hash=__webpack_require__(33715),utils=__webpack_require__(34504),assert=__webpack_require__(79746);function HmacDRBG(options){if(!(this instanceof HmacDRBG))return new HmacDRBG(options);this.hash=options.hash,this.predResist=!!options.predResist,this.outLen=this.hash.outSize,this.minEntropy=options.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var entropy=utils.toArray(options.entropy,options.entropyEnc||"hex"),nonce=utils.toArray(options.nonce,options.nonceEnc||"hex"),pers=utils.toArray(options.pers,options.persEnc||"hex");assert(entropy.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(entropy,nonce,pers)}module.exports=HmacDRBG,HmacDRBG.prototype._init=function init(entropy,nonce,pers){var seed=entropy.concat(nonce).concat(pers);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(seed),this._reseed=1,this.reseedInterval=281474976710656},HmacDRBG.prototype._hmac=function hmac(){return new hash.hmac(this.hash,this.K)},HmacDRBG.prototype._update=function update(seed){var kmac=this._hmac().update(this.V).update([0]);seed&&(kmac=kmac.update(seed)),this.K=kmac.digest(),this.V=this._hmac().update(this.V).digest(),seed&&(this.K=this._hmac().update(this.V).update([1]).update(seed).digest(),this.V=this._hmac().update(this.V).digest())},HmacDRBG.prototype.reseed=function reseed(entropy,entropyEnc,add,addEnc){"string"!=typeof entropyEnc&&(addEnc=add,add=entropyEnc,entropyEnc=null),entropy=utils.toArray(entropy,entropyEnc),add=utils.toArray(add,addEnc),assert(entropy.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(entropy.concat(add||[])),this._reseed=1},HmacDRBG.prototype.generate=function generate(len,enc,add,addEnc){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof enc&&(addEnc=add,add=enc,enc=null),add&&(add=utils.toArray(add,addEnc||"hex"),this._update(add));for(var temp=[];temp.length<len;)this.V=this._hmac().update(this.V).digest(),temp=temp.concat(this.V);var res=temp.slice(0,len);return this._update(add),this._reseed++,utils.encode(res,enc)}},19274:function(module,__unused_webpack_exports,__webpack_require__){const whatwgEncoding=__webpack_require__(81479);function getAttribute(uint8Array,i,l){for(;i<l;i++){let c=uint8Array[i];if(isSpaceCharacter(c)||47===c)continue;if(62===c)break;let name="",value="";nameLoop:for(;i<l;i++){if(c=uint8Array[i],61===c&&""!==name){i++;break}if(isSpaceCharacter(c)){for(i++;i<l;i++)if(c=uint8Array[i],!isSpaceCharacter(c)){if(61!==c)return{attr:{name:name,value:value},i:i};i++;break nameLoop}break}if(47===c||62===c)return{attr:{name:name,value:value},i:i};name+=c>=65&&c<=90?String.fromCharCode(c+32):String.fromCharCode(c)}if(c=uint8Array[i],isSpaceCharacter(c))for(i++;i<l&&(c=uint8Array[i],isSpaceCharacter(c));i++);if(34===c||39===c){const quote=c;for(i++;i<l;i++){if(c=uint8Array[i],c===quote)return{attr:{name:name,value:value},i:++i};value+=c>=65&&c<=90?String.fromCharCode(c+32):String.fromCharCode(c)}}if(62===c)return{attr:{name:name,value:value},i:i};for(value+=c>=65&&c<=90?String.fromCharCode(c+32):String.fromCharCode(c),i++;i<l;i++){if(c=uint8Array[i],isSpaceCharacter(c)||62===c)return{attr:{name:name,value:value},i:i};value+=c>=65&&c<=90?String.fromCharCode(c+32):String.fromCharCode(c)}}return{i:i}}function extractCharacterEncodingFromMeta(string){let position=0;for(;;){const indexOfCharset=string.substring(position).search(/charset/iu);if(-1===indexOfCharset)return null;let subPosition=position+indexOfCharset+"charset".length;for(;isSpaceCharacter(string[subPosition].charCodeAt(0));)++subPosition;if("="===string[subPosition]){for(++subPosition;isSpaceCharacter(string[subPosition].charCodeAt(0));)++subPosition;position=subPosition;break}position=subPosition-1}if('"'===string[position]||"'"===string[position]){const nextIndex=string.indexOf(string[position],position+1);return-1!==nextIndex?whatwgEncoding.labelToName(string.substring(position+1,nextIndex)):null}if(string.length===position+1)return null;const indexOfASCIIWhitespaceOrSemicolon=string.substring(position+1).search(/\x09|\x0A|\x0C|\x0D|\x20|;/u),end=-1===indexOfASCIIWhitespaceOrSemicolon?string.length:position+indexOfASCIIWhitespaceOrSemicolon+1;return whatwgEncoding.labelToName(string.substring(position,end))}function isSpaceCharacter(c){return 9===c||10===c||12===c||13===c||32===c}module.exports=(uint8Array,{transportLayerEncodingLabel:transportLayerEncodingLabel,defaultEncoding:defaultEncoding="windows-1252"}={})=>{let encoding=whatwgEncoding.getBOMEncoding(uint8Array);return null===encoding&&void 0!==transportLayerEncodingLabel&&(encoding=whatwgEncoding.labelToName(transportLayerEncodingLabel)),null===encoding&&(encoding=function prescanMetaCharset(uint8Array){const l=Math.min(uint8Array.byteLength,1024);for(let i=0;i<l;i++){let c=uint8Array[i];if(60===c){const c1=uint8Array[i+1],c2=uint8Array[i+2],c3=uint8Array[i+3],c4=uint8Array[i+4],c5=uint8Array[i+5];if(33===c1&&45===c2&&45===c3)for(i+=4;i<l;i++){c=uint8Array[i];const cMinus1=uint8Array[i-1],cMinus2=uint8Array[i-2];if(62===c&&45===cMinus1&&45===cMinus2)break}else{if(!(77!==c1&&109!==c1||69!==c2&&101!==c2||84!==c3&&116!==c3||65!==c4&&97!==c4||!isSpaceCharacter(c5)&&47!==c5)){i+=6;const attributeList=new Set;let attrRes,gotPragma=!1,needPragma=null,charset=null;do{attrRes=getAttribute(uint8Array,i,l),attrRes.attr&&!attributeList.has(attrRes.attr.name)&&(attributeList.add(attrRes.attr.name),"http-equiv"===attrRes.attr.name?gotPragma="content-type"===attrRes.attr.value:"content"!==attrRes.attr.name||charset?"charset"===attrRes.attr.name&&(charset=whatwgEncoding.labelToName(attrRes.attr.value),needPragma=!1):(charset=extractCharacterEncodingFromMeta(attrRes.attr.value),null!==charset&&(needPragma=!0))),i=attrRes.i}while(attrRes.attr);if(null===needPragma)continue;if(!0===needPragma&&!1===gotPragma)continue;if(null===charset)continue;return"UTF-16LE"!==charset&&"UTF-16BE"!==charset||(charset="UTF-8"),"x-user-defined"===charset&&(charset="windows-1252"),charset}if(c1>=65&&c1<=90||c1>=97&&c1<=122){for(i+=2;i<l&&(c=uint8Array[i],!isSpaceCharacter(c)&&62!==c);i++);let attrRes;do{attrRes=getAttribute(uint8Array,i,l),i=attrRes.i}while(attrRes.attr)}else if(33===c1||47===c1||63===c1)for(i+=2;i<l&&(c=uint8Array[i],62!==c);i++);}}}return null}(uint8Array)),null===encoding&&(encoding=defaultEncoding),encoding}},78370:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer,__awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});const net_1=__importDefault(__webpack_require__(85456)),tls_1=__importDefault(__webpack_require__(18760)),url_1=__importDefault(__webpack_require__(8575)),debug_1=__importDefault(__webpack_require__(11227)),once_1=__importDefault(__webpack_require__(22046)),agent_base_1=__webpack_require__(88054),debug=(0,debug_1.default)("http-proxy-agent");class HttpProxyAgent extends agent_base_1.Agent{constructor(_opts){let opts;if(opts="string"==typeof _opts?url_1.default.parse(_opts):_opts,!opts)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");debug("Creating new HttpProxyAgent instance: %o",opts),super(opts);const proxy=Object.assign({},opts);this.secureProxy=opts.secureProxy||function isHTTPS(protocol){return"string"==typeof protocol&&/^https:?$/i.test(protocol)}(proxy.protocol),proxy.host=proxy.hostname||proxy.host,"string"==typeof proxy.port&&(proxy.port=parseInt(proxy.port,10)),!proxy.port&&proxy.host&&(proxy.port=this.secureProxy?443:80),proxy.host&&proxy.path&&(delete proxy.path,delete proxy.pathname),this.proxy=proxy}callback(req,opts){return __awaiter(this,void 0,void 0,(function*(){const{proxy:proxy,secureProxy:secureProxy}=this,parsed=url_1.default.parse(req.path);let socket;if(parsed.protocol||(parsed.protocol="http:"),parsed.hostname||(parsed.hostname=opts.hostname||opts.host||null),null==parsed.port&&(opts.port,1)&&(parsed.port=String(opts.port)),"80"===parsed.port&&(parsed.port=""),req.path=url_1.default.format(parsed),proxy.auth&&req.setHeader("Proxy-Authorization",`Basic ${Buffer.from(proxy.auth).toString("base64")}`),secureProxy?(debug("Creating `tls.Socket`: %o",proxy),socket=tls_1.default.connect(proxy)):(debug("Creating `net.Socket`: %o",proxy),socket=net_1.default.connect(proxy)),req._header){let first,endOfHeaders;debug("Regenerating stored HTTP header string for request"),req._header=null,req._implicitHeader(),req.output&&req.output.length>0?(debug("Patching connection write() output buffer with updated header"),first=req.output[0],endOfHeaders=first.indexOf("\r\n\r\n")+4,req.output[0]=req._header+first.substring(endOfHeaders),debug("Output buffer: %o",req.output)):req.outputData&&req.outputData.length>0&&(debug("Patching connection write() output buffer with updated header"),first=req.outputData[0].data,endOfHeaders=first.indexOf("\r\n\r\n")+4,req.outputData[0].data=req._header+first.substring(endOfHeaders),debug("Output buffer: %o",req.outputData[0].data))}return yield(0,once_1.default)(socket,"connect"),socket}))}}exports.default=HttpProxyAgent},39201:function(module,__unused_webpack_exports,__webpack_require__){const agent_1=(this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}})(__webpack_require__(78370));function createHttpProxyAgent(opts){return new agent_1.default(opts)}!function(createHttpProxyAgent){createHttpProxyAgent.HttpProxyAgent=agent_1.default,createHttpProxyAgent.prototype=agent_1.default.prototype}(createHttpProxyAgent||(createHttpProxyAgent={})),module.exports=createHttpProxyAgent},79267:function(module,__unused_webpack_exports,__webpack_require__){var http=__webpack_require__(8501),url=__webpack_require__(8575),https=module.exports;for(var key in http)http.hasOwnProperty(key)&&(https[key]=http[key]);function validateParams(params){if("string"==typeof params&&(params=url.parse(params)),params.protocol||(params.protocol="https:"),"https:"!==params.protocol)throw new Error('Protocol "'+params.protocol+'" not supported. Expected "https:"');return params}https.request=function(params,cb){return params=validateParams(params),http.request.call(this,params,cb)},https.get=function(params,cb){return params=validateParams(params),http.get.call(this,params,cb)}},39146:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer,__awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});const net_1=__importDefault(__webpack_require__(85456)),tls_1=__importDefault(__webpack_require__(18760)),url_1=__importDefault(__webpack_require__(8575)),assert_1=__importDefault(__webpack_require__(69282)),debug_1=__importDefault(__webpack_require__(11227)),agent_base_1=__webpack_require__(88054),parse_proxy_response_1=__importDefault(__webpack_require__(59829)),debug=debug_1.default("https-proxy-agent:agent");class HttpsProxyAgent extends agent_base_1.Agent{constructor(_opts){let opts;if(opts="string"==typeof _opts?url_1.default.parse(_opts):_opts,!opts)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");debug("creating new HttpsProxyAgent instance: %o",opts),super(opts);const proxy=Object.assign({},opts);this.secureProxy=opts.secureProxy||function isHTTPS(protocol){return"string"==typeof protocol&&/^https:?$/i.test(protocol)}(proxy.protocol),proxy.host=proxy.hostname||proxy.host,"string"==typeof proxy.port&&(proxy.port=parseInt(proxy.port,10)),!proxy.port&&proxy.host&&(proxy.port=this.secureProxy?443:80),this.secureProxy&&!("ALPNProtocols"in proxy)&&(proxy.ALPNProtocols=["http 1.1"]),proxy.host&&proxy.path&&(delete proxy.path,delete proxy.pathname),this.proxy=proxy}callback(req,opts){return __awaiter(this,void 0,void 0,(function*(){const{proxy:proxy,secureProxy:secureProxy}=this;let socket;secureProxy?(debug("Creating `tls.Socket`: %o",proxy),socket=tls_1.default.connect(proxy)):(debug("Creating `net.Socket`: %o",proxy),socket=net_1.default.connect(proxy));const headers=Object.assign({},proxy.headers);let payload=`CONNECT ${`${opts.host}:${opts.port}`} HTTP/1.1\r\n`;proxy.auth&&(headers["Proxy-Authorization"]=`Basic ${Buffer.from(proxy.auth).toString("base64")}`);let{host:host,port:port,secureEndpoint:secureEndpoint}=opts;(function isDefaultPort(port,secure){return Boolean(!secure&&80===port||secure&&443===port)})(port,secureEndpoint)||(host+=`:${port}`),headers.Host=host,headers.Connection="close";for(const name of Object.keys(headers))payload+=`${name}: ${headers[name]}\r\n`;const proxyResponsePromise=parse_proxy_response_1.default(socket);socket.write(`${payload}\r\n`);const{statusCode:statusCode,buffered:buffered}=yield proxyResponsePromise;if(200===statusCode){if(req.once("socket",resume),opts.secureEndpoint){const servername=opts.servername||opts.host;if(!servername)throw new Error('Could not determine "servername"');return debug("Upgrading socket connection to TLS"),tls_1.default.connect(Object.assign(Object.assign({},function omit(obj,...keys){const ret={};let key;for(key in obj)keys.includes(key)||(ret[key]=obj[key]);return ret}(opts,"host","hostname","path","port")),{socket:socket,servername:servername}))}return socket}socket.destroy();const fakeSocket=new net_1.default.Socket;return fakeSocket.readable=!0,req.once("socket",(s=>{debug("replaying proxy buffer for failed request"),assert_1.default(s.listenerCount("data")>0),s.push(buffered),s.push(null)})),fakeSocket}))}}function resume(socket){socket.resume()}exports.default=HttpsProxyAgent},26018:function(module,__unused_webpack_exports,__webpack_require__){const agent_1=(this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}})(__webpack_require__(39146));function createHttpsProxyAgent(opts){return new agent_1.default(opts)}!function(createHttpsProxyAgent){createHttpsProxyAgent.HttpsProxyAgent=agent_1.default,createHttpsProxyAgent.prototype=agent_1.default.prototype}(createHttpsProxyAgent||(createHttpsProxyAgent={})),module.exports=createHttpsProxyAgent},59829:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer,__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});const debug=__importDefault(__webpack_require__(11227)).default("https-proxy-agent:parse-proxy-response");exports.default=function parseProxyResponse(socket){return new Promise(((resolve,reject)=>{let buffersLength=0;const buffers=[];function read(){const b=socket.read();b?function ondata(b){buffers.push(b),buffersLength+=b.length;const buffered=Buffer.concat(buffers,buffersLength);if(-1===buffered.indexOf("\r\n\r\n"))return debug("have not received end of HTTP headers yet..."),void read();const firstLine=buffered.toString("ascii",0,buffered.indexOf("\r\n")),statusCode=+firstLine.split(" ")[1];debug("got proxy server response: %o",firstLine),resolve({statusCode:statusCode,buffered:buffered})}(b):socket.once("readable",read)}function onclose(err){debug("onclose had error %o",err)}function onend(){debug("onend")}function onerror(err){!function cleanup(){socket.removeListener("end",onend),socket.removeListener("error",onerror),socket.removeListener("close",onclose),socket.removeListener("readable",read)}(),debug("onerror %o",err),reject(err)}socket.on("error",onerror),socket.on("close",onclose),socket.on("end",onend),read()}))}},60688:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(2399).Buffer;exports._dbcs=DBCSCodec;for(var UNASSIGNED_NODE=new Array(256),i=0;i<256;i++)UNASSIGNED_NODE[i]=-1;function DBCSCodec(codecOptions,iconv){if(this.encodingName=codecOptions.encodingName,!codecOptions)throw new Error("DBCS codec is called without the data.");if(!codecOptions.table)throw new Error("Encoding '"+this.encodingName+"' has no data.");var mappingTable=codecOptions.table();this.decodeTables=[],this.decodeTables[0]=UNASSIGNED_NODE.slice(0),this.decodeTableSeq=[];for(var i=0;i<mappingTable.length;i++)this._addDecodeChunk(mappingTable[i]);if("function"==typeof codecOptions.gb18030){this.gb18030=codecOptions.gb18030();var commonThirdByteNodeIdx=this.decodeTables.length;this.decodeTables.push(UNASSIGNED_NODE.slice(0));var commonFourthByteNodeIdx=this.decodeTables.length;this.decodeTables.push(UNASSIGNED_NODE.slice(0));var firstByteNode=this.decodeTables[0];for(i=129;i<=254;i++)for(var secondByteNode=this.decodeTables[-1e3-firstByteNode[i]],j=48;j<=57;j++){if(-1===secondByteNode[j])secondByteNode[j]=-1e3-commonThirdByteNodeIdx;else if(secondByteNode[j]>-1e3)throw new Error("gb18030 decode tables conflict at byte 2");for(var thirdByteNode=this.decodeTables[-1e3-secondByteNode[j]],k=129;k<=254;k++){if(-1===thirdByteNode[k])thirdByteNode[k]=-1e3-commonFourthByteNodeIdx;else{if(thirdByteNode[k]===-1e3-commonFourthByteNodeIdx)continue;if(thirdByteNode[k]>-1e3)throw new Error("gb18030 decode tables conflict at byte 3")}for(var fourthByteNode=this.decodeTables[-1e3-thirdByteNode[k]],l=48;l<=57;l++)-1===fourthByteNode[l]&&(fourthByteNode[l]=-2)}}}this.defaultCharUnicode=iconv.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var skipEncodeChars={};if(codecOptions.encodeSkipVals)for(i=0;i<codecOptions.encodeSkipVals.length;i++){var val=codecOptions.encodeSkipVals[i];if("number"==typeof val)skipEncodeChars[val]=!0;else for(j=val.from;j<=val.to;j++)skipEncodeChars[j]=!0}if(this._fillEncodeTable(0,0,skipEncodeChars),codecOptions.encodeAdd)for(var uChar in codecOptions.encodeAdd)Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd,uChar)&&this._setEncodeChar(uChar.charCodeAt(0),codecOptions.encodeAdd[uChar]);this.defCharSB=this.encodeTable[0][iconv.defaultCharSingleByte.charCodeAt(0)],-1===this.defCharSB&&(this.defCharSB=this.encodeTable[0]["?"]),-1===this.defCharSB&&(this.defCharSB="?".charCodeAt(0))}function DBCSEncoder(options,codec){this.leadSurrogate=-1,this.seqObj=void 0,this.encodeTable=codec.encodeTable,this.encodeTableSeq=codec.encodeTableSeq,this.defaultCharSingleByte=codec.defCharSB,this.gb18030=codec.gb18030}function DBCSDecoder(options,codec){this.nodeIdx=0,this.prevBytes=[],this.decodeTables=codec.decodeTables,this.decodeTableSeq=codec.decodeTableSeq,this.defaultCharUnicode=codec.defaultCharUnicode,this.gb18030=codec.gb18030}function findIdx(table,val){if(table[0]>val)return-1;for(var l=0,r=table.length;l<r-1;){var mid=l+(r-l+1>>1);table[mid]<=val?l=mid:r=mid}return l}DBCSCodec.prototype.encoder=DBCSEncoder,DBCSCodec.prototype.decoder=DBCSDecoder,DBCSCodec.prototype._getDecodeTrieNode=function(addr){for(var bytes=[];addr>0;addr>>>=8)bytes.push(255&addr);0==bytes.length&&bytes.push(0);for(var node=this.decodeTables[0],i=bytes.length-1;i>0;i--){var val=node[bytes[i]];if(-1==val)node[bytes[i]]=-1e3-this.decodeTables.length,this.decodeTables.push(node=UNASSIGNED_NODE.slice(0));else{if(!(val<=-1e3))throw new Error("Overwrite byte in "+this.encodingName+", addr: "+addr.toString(16));node=this.decodeTables[-1e3-val]}}return node},DBCSCodec.prototype._addDecodeChunk=function(chunk){var curAddr=parseInt(chunk[0],16),writeTable=this._getDecodeTrieNode(curAddr);curAddr&=255;for(var k=1;k<chunk.length;k++){var part=chunk[k];if("string"==typeof part)for(var l=0;l<part.length;){var code=part.charCodeAt(l++);if(55296<=code&&code<56320){var codeTrail=part.charCodeAt(l++);if(!(56320<=codeTrail&&codeTrail<57344))throw new Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+chunk[0]);writeTable[curAddr++]=65536+1024*(code-55296)+(codeTrail-56320)}else if(4080<code&&code<=4095){for(var len=4095-code+2,seq=[],m=0;m<len;m++)seq.push(part.charCodeAt(l++));writeTable[curAddr++]=-10-this.decodeTableSeq.length,this.decodeTableSeq.push(seq)}else writeTable[curAddr++]=code}else{if("number"!=typeof part)throw new Error("Incorrect type '"+typeof part+"' given in "+this.encodingName+" at chunk "+chunk[0]);var charCode=writeTable[curAddr-1]+1;for(l=0;l<part;l++)writeTable[curAddr++]=charCode++}}if(curAddr>255)throw new Error("Incorrect chunk in "+this.encodingName+" at addr "+chunk[0]+": too long"+curAddr)},DBCSCodec.prototype._getEncodeBucket=function(uCode){var high=uCode>>8;return void 0===this.encodeTable[high]&&(this.encodeTable[high]=UNASSIGNED_NODE.slice(0)),this.encodeTable[high]},DBCSCodec.prototype._setEncodeChar=function(uCode,dbcsCode){var bucket=this._getEncodeBucket(uCode),low=255&uCode;bucket[low]<=-10?this.encodeTableSeq[-10-bucket[low]][-1]=dbcsCode:-1==bucket[low]&&(bucket[low]=dbcsCode)},DBCSCodec.prototype._setEncodeSequence=function(seq,dbcsCode){var node,uCode=seq[0],bucket=this._getEncodeBucket(uCode),low=255&uCode;bucket[low]<=-10?node=this.encodeTableSeq[-10-bucket[low]]:(node={},-1!==bucket[low]&&(node[-1]=bucket[low]),bucket[low]=-10-this.encodeTableSeq.length,this.encodeTableSeq.push(node));for(var j=1;j<seq.length-1;j++){var oldVal=node[uCode];"object"==typeof oldVal?node=oldVal:(node=node[uCode]={},void 0!==oldVal&&(node[-1]=oldVal))}node[uCode=seq[seq.length-1]]=dbcsCode},DBCSCodec.prototype._fillEncodeTable=function(nodeIdx,prefix,skipEncodeChars){for(var node=this.decodeTables[nodeIdx],hasValues=!1,subNodeEmpty={},i=0;i<256;i++){var uCode=node[i],mbCode=prefix+i;if(!skipEncodeChars[mbCode])if(uCode>=0)this._setEncodeChar(uCode,mbCode),hasValues=!0;else if(uCode<=-1e3){var subNodeIdx=-1e3-uCode;if(!subNodeEmpty[subNodeIdx]){var newPrefix=mbCode<<8>>>0;this._fillEncodeTable(subNodeIdx,newPrefix,skipEncodeChars)?hasValues=!0:subNodeEmpty[subNodeIdx]=!0}}else uCode<=-10&&(this._setEncodeSequence(this.decodeTableSeq[-10-uCode],mbCode),hasValues=!0)}return hasValues},DBCSEncoder.prototype.write=function(str){for(var newBuf=Buffer.alloc(str.length*(this.gb18030?4:3)),leadSurrogate=this.leadSurrogate,seqObj=this.seqObj,nextChar=-1,i=0,j=0;;){if(-1===nextChar){if(i==str.length)break;var uCode=str.charCodeAt(i++)}else{uCode=nextChar;nextChar=-1}if(55296<=uCode&&uCode<57344)if(uCode<56320){if(-1===leadSurrogate){leadSurrogate=uCode;continue}leadSurrogate=uCode,uCode=-1}else-1!==leadSurrogate?(uCode=65536+1024*(leadSurrogate-55296)+(uCode-56320),leadSurrogate=-1):uCode=-1;else-1!==leadSurrogate&&(nextChar=uCode,uCode=-1,leadSurrogate=-1);var dbcsCode=-1;if(void 0!==seqObj&&-1!=uCode){var resCode=seqObj[uCode];if("object"==typeof resCode){seqObj=resCode;continue}"number"==typeof resCode?dbcsCode=resCode:null==resCode&&void 0!==(resCode=seqObj[-1])&&(dbcsCode=resCode,nextChar=uCode),seqObj=void 0}else if(uCode>=0){var subtable=this.encodeTable[uCode>>8];if(void 0!==subtable&&(dbcsCode=subtable[255&uCode]),dbcsCode<=-10){seqObj=this.encodeTableSeq[-10-dbcsCode];continue}if(-1==dbcsCode&&this.gb18030){var idx=findIdx(this.gb18030.uChars,uCode);if(-1!=idx){dbcsCode=this.gb18030.gbChars[idx]+(uCode-this.gb18030.uChars[idx]);newBuf[j++]=129+Math.floor(dbcsCode/12600),dbcsCode%=12600,newBuf[j++]=48+Math.floor(dbcsCode/1260),dbcsCode%=1260,newBuf[j++]=129+Math.floor(dbcsCode/10),dbcsCode%=10,newBuf[j++]=48+dbcsCode;continue}}}-1===dbcsCode&&(dbcsCode=this.defaultCharSingleByte),dbcsCode<256?newBuf[j++]=dbcsCode:dbcsCode<65536?(newBuf[j++]=dbcsCode>>8,newBuf[j++]=255&dbcsCode):dbcsCode<16777216?(newBuf[j++]=dbcsCode>>16,newBuf[j++]=dbcsCode>>8&255,newBuf[j++]=255&dbcsCode):(newBuf[j++]=dbcsCode>>>24,newBuf[j++]=dbcsCode>>>16&255,newBuf[j++]=dbcsCode>>>8&255,newBuf[j++]=255&dbcsCode)}return this.seqObj=seqObj,this.leadSurrogate=leadSurrogate,newBuf.slice(0,j)},DBCSEncoder.prototype.end=function(){if(-1!==this.leadSurrogate||void 0!==this.seqObj){var newBuf=Buffer.alloc(10),j=0;if(this.seqObj){var dbcsCode=this.seqObj[-1];void 0!==dbcsCode&&(dbcsCode<256?newBuf[j++]=dbcsCode:(newBuf[j++]=dbcsCode>>8,newBuf[j++]=255&dbcsCode)),this.seqObj=void 0}return-1!==this.leadSurrogate&&(newBuf[j++]=this.defaultCharSingleByte,this.leadSurrogate=-1),newBuf.slice(0,j)}},DBCSEncoder.prototype.findIdx=findIdx,DBCSDecoder.prototype.write=function(buf){for(var newBuf=Buffer.alloc(2*buf.length),nodeIdx=this.nodeIdx,prevBytes=this.prevBytes,prevOffset=this.prevBytes.length,seqStart=-this.prevBytes.length,i=0,j=0;i<buf.length;i++){var uCode,curByte=i>=0?buf[i]:prevBytes[i+prevOffset];if((uCode=this.decodeTables[nodeIdx][curByte])>=0);else if(-1===uCode)uCode=this.defaultCharUnicode.charCodeAt(0),i=seqStart;else if(-2===uCode){if(i>=3)var ptr=12600*(buf[i-3]-129)+1260*(buf[i-2]-48)+10*(buf[i-1]-129)+(curByte-48);else ptr=12600*(prevBytes[i-3+prevOffset]-129)+1260*((i-2>=0?buf[i-2]:prevBytes[i-2+prevOffset])-48)+10*((i-1>=0?buf[i-1]:prevBytes[i-1+prevOffset])-129)+(curByte-48);var idx=findIdx(this.gb18030.gbChars,ptr);uCode=this.gb18030.uChars[idx]+ptr-this.gb18030.gbChars[idx]}else{if(uCode<=-1e3){nodeIdx=-1e3-uCode;continue}if(!(uCode<=-10))throw new Error("iconv-lite internal error: invalid decoding table value "+uCode+" at "+nodeIdx+"/"+curByte);for(var seq=this.decodeTableSeq[-10-uCode],k=0;k<seq.length-1;k++)uCode=seq[k],newBuf[j++]=255&uCode,newBuf[j++]=uCode>>8;uCode=seq[seq.length-1]}if(uCode>=65536){var uCodeLead=55296|(uCode-=65536)>>10;newBuf[j++]=255&uCodeLead,newBuf[j++]=uCodeLead>>8,uCode=56320|1023&uCode}newBuf[j++]=255&uCode,newBuf[j++]=uCode>>8,nodeIdx=0,seqStart=i+1}return this.nodeIdx=nodeIdx,this.prevBytes=seqStart>=0?Array.prototype.slice.call(buf,seqStart):prevBytes.slice(seqStart+prevOffset).concat(Array.prototype.slice.call(buf)),newBuf.slice(0,j).toString("ucs2")},DBCSDecoder.prototype.end=function(){for(var ret="";this.prevBytes.length>0;){ret+=this.defaultCharUnicode;var bytesArr=this.prevBytes.slice(1);this.prevBytes=[],this.nodeIdx=0,bytesArr.length>0&&(ret+=this.write(bytesArr))}return this.prevBytes=[],this.nodeIdx=0,ret}},55990:function(module,__unused_webpack_exports,__webpack_require__){module.exports={shiftjis:{type:"_dbcs",table:function(){return __webpack_require__(27014)},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return __webpack_require__(31532)},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return __webpack_require__(13336)}},gbk:{type:"_dbcs",table:function(){return __webpack_require__(13336).concat(__webpack_require__(44346))}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return __webpack_require__(13336).concat(__webpack_require__(44346))},gb18030:function(){return __webpack_require__(36258)},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return __webpack_require__(77348)}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return __webpack_require__(74284)}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return __webpack_require__(74284).concat(__webpack_require__(63480))},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}},46934:function(__unused_webpack_module,exports,__webpack_require__){for(var modules=[__webpack_require__(1025),__webpack_require__(17688),__webpack_require__(91279),__webpack_require__(20758),__webpack_require__(59068),__webpack_require__(20288),__webpack_require__(67018),__webpack_require__(60688),__webpack_require__(55990)],i=0;i<modules.length;i++){var module=modules[i];for(var enc in module)Object.prototype.hasOwnProperty.call(module,enc)&&(exports[enc]=module[enc])}},1025:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(2399).Buffer;function InternalCodec(codecOptions,iconv){this.enc=codecOptions.encodingName,this.bomAware=codecOptions.bomAware,"base64"===this.enc?this.encoder=InternalEncoderBase64:"cesu8"===this.enc&&(this.enc="utf8",this.encoder=InternalEncoderCesu8,"💩"!==Buffer.from("eda0bdedb2a9","hex").toString()&&(this.decoder=InternalDecoderCesu8,this.defaultCharUnicode=iconv.defaultCharUnicode))}module.exports={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:InternalCodec},InternalCodec.prototype.encoder=InternalEncoder,InternalCodec.prototype.decoder=InternalDecoder;var StringDecoder=__webpack_require__(32553).s;function InternalDecoder(options,codec){this.decoder=new StringDecoder(codec.enc)}function InternalEncoder(options,codec){this.enc=codec.enc}function InternalEncoderBase64(options,codec){this.prevStr=""}function InternalEncoderCesu8(options,codec){}function InternalDecoderCesu8(options,codec){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=codec.defaultCharUnicode}StringDecoder.prototype.end||(StringDecoder.prototype.end=function(){}),InternalDecoder.prototype.write=function(buf){return Buffer.isBuffer(buf)||(buf=Buffer.from(buf)),this.decoder.write(buf)},InternalDecoder.prototype.end=function(){return this.decoder.end()},InternalEncoder.prototype.write=function(str){return Buffer.from(str,this.enc)},InternalEncoder.prototype.end=function(){},InternalEncoderBase64.prototype.write=function(str){var completeQuads=(str=this.prevStr+str).length-str.length%4;return this.prevStr=str.slice(completeQuads),str=str.slice(0,completeQuads),Buffer.from(str,"base64")},InternalEncoderBase64.prototype.end=function(){return Buffer.from(this.prevStr,"base64")},InternalEncoderCesu8.prototype.write=function(str){for(var buf=Buffer.alloc(3*str.length),bufIdx=0,i=0;i<str.length;i++){var charCode=str.charCodeAt(i);charCode<128?buf[bufIdx++]=charCode:charCode<2048?(buf[bufIdx++]=192+(charCode>>>6),buf[bufIdx++]=128+(63&charCode)):(buf[bufIdx++]=224+(charCode>>>12),buf[bufIdx++]=128+(charCode>>>6&63),buf[bufIdx++]=128+(63&charCode))}return buf.slice(0,bufIdx)},InternalEncoderCesu8.prototype.end=function(){},InternalDecoderCesu8.prototype.write=function(buf){for(var acc=this.acc,contBytes=this.contBytes,accBytes=this.accBytes,res="",i=0;i<buf.length;i++){var curByte=buf[i];128!=(192&curByte)?(contBytes>0&&(res+=this.defaultCharUnicode,contBytes=0),curByte<128?res+=String.fromCharCode(curByte):curByte<224?(acc=31&curByte,contBytes=1,accBytes=1):curByte<240?(acc=15&curByte,contBytes=2,accBytes=1):res+=this.defaultCharUnicode):contBytes>0?(acc=acc<<6|63&curByte,accBytes++,0===--contBytes&&(res+=2===accBytes&&acc<128&&acc>0||3===accBytes&&acc<2048?this.defaultCharUnicode:String.fromCharCode(acc))):res+=this.defaultCharUnicode}return this.acc=acc,this.contBytes=contBytes,this.accBytes=accBytes,res},InternalDecoderCesu8.prototype.end=function(){var res=0;return this.contBytes>0&&(res+=this.defaultCharUnicode),res}},59068:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(2399).Buffer;function SBCSCodec(codecOptions,iconv){if(!codecOptions)throw new Error("SBCS codec is called without the data.");if(!codecOptions.chars||128!==codecOptions.chars.length&&256!==codecOptions.chars.length)throw new Error("Encoding '"+codecOptions.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(128===codecOptions.chars.length){for(var asciiString="",i=0;i<128;i++)asciiString+=String.fromCharCode(i);codecOptions.chars=asciiString+codecOptions.chars}this.decodeBuf=Buffer.from(codecOptions.chars,"ucs2");var encodeBuf=Buffer.alloc(65536,iconv.defaultCharSingleByte.charCodeAt(0));for(i=0;i<codecOptions.chars.length;i++)encodeBuf[codecOptions.chars.charCodeAt(i)]=i;this.encodeBuf=encodeBuf}function SBCSEncoder(options,codec){this.encodeBuf=codec.encodeBuf}function SBCSDecoder(options,codec){this.decodeBuf=codec.decodeBuf}exports._sbcs=SBCSCodec,SBCSCodec.prototype.encoder=SBCSEncoder,SBCSCodec.prototype.decoder=SBCSDecoder,SBCSEncoder.prototype.write=function(str){for(var buf=Buffer.alloc(str.length),i=0;i<str.length;i++)buf[i]=this.encodeBuf[str.charCodeAt(i)];return buf},SBCSEncoder.prototype.end=function(){},SBCSDecoder.prototype.write=function(buf){for(var decodeBuf=this.decodeBuf,newBuf=Buffer.alloc(2*buf.length),idx1=0,idx2=0,i=0;i<buf.length;i++)idx1=2*buf[i],newBuf[idx2=2*i]=decodeBuf[idx1],newBuf[idx2+1]=decodeBuf[idx1+1];return newBuf.toString("ucs2")},SBCSDecoder.prototype.end=function(){}},67018:function(module){module.exports={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת���"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œں ،¢£¤¥¦§¨©ھ«¬®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûüے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:" ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:" Ą˘Ł¤ĽŚ§¨ŠŞŤŹŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:" Ħ˘£¤�Ĥ§¨İŞĞĴ�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:" ĄĸŖ¤Ĩϧ¨ŠĒĢŦޝ°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:" ЁЂЃЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:" ���¤�������،�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:" ‘’£€₯¦§¨©ͺ«¬�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:" �¢£¤¥¦§¨©×«¬®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת���"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:" ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:" ĄĒĢĪĨͧĻĐŠŦŽŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:" กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:" ”¢£¤„¦§Ø©Ŗ«¬®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:" Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:" ¡¢£€¥Š§š©ª«¬®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:" ĄąŁ€„Чš©Ș«ŹźŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�"},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:" ¡¢£¤¥¦§¨©ª«¬®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:" ЁЂҐЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:" ¡¢£¤¥¦§œ©ª«¬®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:" ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€…‘’“”•–— กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:" ¡¢£€¥¦§œ©ª«¬®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\ufeff–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:" �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:"\0ÚỤỪỬỮ\b\t\n\v\f\rỨỰỲỶỸÝỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ"},georgianacademy:{type:"_sbcs",chars:"‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:"\0ẲẴẪ\b\t\n\v\f\rỶỸỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ"},iso646cn:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},iso646jp:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},hproman8:{type:"_sbcs",chars:" ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}},20288:function(module){module.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"éâàçêëèïîّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}},91279:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(2399).Buffer;function Utf16BECodec(){}function Utf16BEEncoder(){}function Utf16BEDecoder(){this.overflowByte=-1}function Utf16Codec(codecOptions,iconv){this.iconv=iconv}function Utf16Encoder(options,codec){void 0===(options=options||{}).addBOM&&(options.addBOM=!0),this.encoder=codec.iconv.getEncoder("utf-16le",options)}function Utf16Decoder(options,codec){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=options||{},this.iconv=codec.iconv}function detectEncoding(bufs,defaultEncoding){var b=[],charsProcessed=0,asciiCharsLE=0,asciiCharsBE=0;outer_loop:for(var i=0;i<bufs.length;i++)for(var buf=bufs[i],j=0;j<buf.length;j++)if(b.push(buf[j]),2===b.length){if(0===charsProcessed){if(255===b[0]&&254===b[1])return"utf-16le";if(254===b[0]&&255===b[1])return"utf-16be"}if(0===b[0]&&0!==b[1]&&asciiCharsBE++,0!==b[0]&&0===b[1]&&asciiCharsLE++,b.length=0,++charsProcessed>=100)break outer_loop}return asciiCharsBE>asciiCharsLE?"utf-16be":asciiCharsBE<asciiCharsLE?"utf-16le":defaultEncoding||"utf-16le"}exports.utf16be=Utf16BECodec,Utf16BECodec.prototype.encoder=Utf16BEEncoder,Utf16BECodec.prototype.decoder=Utf16BEDecoder,Utf16BECodec.prototype.bomAware=!0,Utf16BEEncoder.prototype.write=function(str){for(var buf=Buffer.from(str,"ucs2"),i=0;i<buf.length;i+=2){var tmp=buf[i];buf[i]=buf[i+1],buf[i+1]=tmp}return buf},Utf16BEEncoder.prototype.end=function(){},Utf16BEDecoder.prototype.write=function(buf){if(0==buf.length)return"";var buf2=Buffer.alloc(buf.length+1),i=0,j=0;for(-1!==this.overflowByte&&(buf2[0]=buf[0],buf2[1]=this.overflowByte,i=1,j=2);i<buf.length-1;i+=2,j+=2)buf2[j]=buf[i+1],buf2[j+1]=buf[i];return this.overflowByte=i==buf.length-1?buf[buf.length-1]:-1,buf2.slice(0,j).toString("ucs2")},Utf16BEDecoder.prototype.end=function(){this.overflowByte=-1},exports.utf16=Utf16Codec,Utf16Codec.prototype.encoder=Utf16Encoder,Utf16Codec.prototype.decoder=Utf16Decoder,Utf16Encoder.prototype.write=function(str){return this.encoder.write(str)},Utf16Encoder.prototype.end=function(){return this.encoder.end()},Utf16Decoder.prototype.write=function(buf){if(!this.decoder){if(this.initialBufs.push(buf),this.initialBufsLen+=buf.length,this.initialBufsLen<16)return"";var encoding=detectEncoding(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(encoding,this.options);for(var resStr="",i=0;i<this.initialBufs.length;i++)resStr+=this.decoder.write(this.initialBufs[i]);return this.initialBufs.length=this.initialBufsLen=0,resStr}return this.decoder.write(buf)},Utf16Decoder.prototype.end=function(){if(!this.decoder){var encoding=detectEncoding(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(encoding,this.options);for(var resStr="",i=0;i<this.initialBufs.length;i++)resStr+=this.decoder.write(this.initialBufs[i]);var trail=this.decoder.end();return trail&&(resStr+=trail),this.initialBufs.length=this.initialBufsLen=0,resStr}return this.decoder.end()}},17688:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(2399).Buffer;function Utf32Codec(codecOptions,iconv){this.iconv=iconv,this.bomAware=!0,this.isLE=codecOptions.isLE}function Utf32Encoder(options,codec){this.isLE=codec.isLE,this.highSurrogate=0}function Utf32Decoder(options,codec){this.isLE=codec.isLE,this.badChar=codec.iconv.defaultCharUnicode.charCodeAt(0),this.overflow=[]}function _writeCodepoint(dst,offset,codepoint,badChar){if((codepoint<0||codepoint>1114111)&&(codepoint=badChar),codepoint>=65536){var high=55296|(codepoint-=65536)>>10;dst[offset++]=255&high,dst[offset++]=high>>8;codepoint=56320|1023&codepoint}return dst[offset++]=255&codepoint,dst[offset++]=codepoint>>8,offset}function Utf32AutoCodec(options,iconv){this.iconv=iconv}function Utf32AutoEncoder(options,codec){void 0===(options=options||{}).addBOM&&(options.addBOM=!0),this.encoder=codec.iconv.getEncoder(options.defaultEncoding||"utf-32le",options)}function Utf32AutoDecoder(options,codec){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=options||{},this.iconv=codec.iconv}function detectEncoding(bufs,defaultEncoding){var b=[],charsProcessed=0,invalidLE=0,invalidBE=0,bmpCharsLE=0,bmpCharsBE=0;outer_loop:for(var i=0;i<bufs.length;i++)for(var buf=bufs[i],j=0;j<buf.length;j++)if(b.push(buf[j]),4===b.length){if(0===charsProcessed){if(255===b[0]&&254===b[1]&&0===b[2]&&0===b[3])return"utf-32le";if(0===b[0]&&0===b[1]&&254===b[2]&&255===b[3])return"utf-32be"}if((0!==b[0]||b[1]>16)&&invalidBE++,(0!==b[3]||b[2]>16)&&invalidLE++,0!==b[0]||0!==b[1]||0===b[2]&&0===b[3]||bmpCharsBE++,0===b[0]&&0===b[1]||0!==b[2]||0!==b[3]||bmpCharsLE++,b.length=0,++charsProcessed>=100)break outer_loop}return bmpCharsBE-invalidBE>bmpCharsLE-invalidLE?"utf-32be":bmpCharsBE-invalidBE<bmpCharsLE-invalidLE?"utf-32le":defaultEncoding||"utf-32le"}exports._utf32=Utf32Codec,exports.utf32le={type:"_utf32",isLE:!0},exports.utf32be={type:"_utf32",isLE:!1},exports.ucs4le="utf32le",exports.ucs4be="utf32be",Utf32Codec.prototype.encoder=Utf32Encoder,Utf32Codec.prototype.decoder=Utf32Decoder,Utf32Encoder.prototype.write=function(str){for(var src=Buffer.from(str,"ucs2"),dst=Buffer.alloc(2*src.length),write32=this.isLE?dst.writeUInt32LE:dst.writeUInt32BE,offset=0,i=0;i<src.length;i+=2){var code=src.readUInt16LE(i),isHighSurrogate=55296<=code&&code<56320,isLowSurrogate=56320<=code&&code<57344;if(this.highSurrogate){if(!isHighSurrogate&&isLowSurrogate){var codepoint=65536+(this.highSurrogate-55296<<10|code-56320);write32.call(dst,codepoint,offset),offset+=4,this.highSurrogate=0;continue}write32.call(dst,this.highSurrogate,offset),offset+=4}isHighSurrogate?this.highSurrogate=code:(write32.call(dst,code,offset),offset+=4,this.highSurrogate=0)}return offset<dst.length&&(dst=dst.slice(0,offset)),dst},Utf32Encoder.prototype.end=function(){if(this.highSurrogate){var buf=Buffer.alloc(4);return this.isLE?buf.writeUInt32LE(this.highSurrogate,0):buf.writeUInt32BE(this.highSurrogate,0),this.highSurrogate=0,buf}},Utf32Decoder.prototype.write=function(src){if(0===src.length)return"";var i=0,codepoint=0,dst=Buffer.alloc(src.length+4),offset=0,isLE=this.isLE,overflow=this.overflow,badChar=this.badChar;if(overflow.length>0){for(;i<src.length&&overflow.length<4;i++)overflow.push(src[i]);4===overflow.length&&(codepoint=isLE?overflow[i]|overflow[i+1]<<8|overflow[i+2]<<16|overflow[i+3]<<24:overflow[i+3]|overflow[i+2]<<8|overflow[i+1]<<16|overflow[i]<<24,overflow.length=0,offset=_writeCodepoint(dst,offset,codepoint,badChar))}for(;i<src.length-3;i+=4)offset=_writeCodepoint(dst,offset,codepoint=isLE?src[i]|src[i+1]<<8|src[i+2]<<16|src[i+3]<<24:src[i+3]|src[i+2]<<8|src[i+1]<<16|src[i]<<24,badChar);for(;i<src.length;i++)overflow.push(src[i]);return dst.slice(0,offset).toString("ucs2")},Utf32Decoder.prototype.end=function(){this.overflow.length=0},exports.utf32=Utf32AutoCodec,exports.ucs4="utf32",Utf32AutoCodec.prototype.encoder=Utf32AutoEncoder,Utf32AutoCodec.prototype.decoder=Utf32AutoDecoder,Utf32AutoEncoder.prototype.write=function(str){return this.encoder.write(str)},Utf32AutoEncoder.prototype.end=function(){return this.encoder.end()},Utf32AutoDecoder.prototype.write=function(buf){if(!this.decoder){if(this.initialBufs.push(buf),this.initialBufsLen+=buf.length,this.initialBufsLen<32)return"";var encoding=detectEncoding(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(encoding,this.options);for(var resStr="",i=0;i<this.initialBufs.length;i++)resStr+=this.decoder.write(this.initialBufs[i]);return this.initialBufs.length=this.initialBufsLen=0,resStr}return this.decoder.write(buf)},Utf32AutoDecoder.prototype.end=function(){if(!this.decoder){var encoding=detectEncoding(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(encoding,this.options);for(var resStr="",i=0;i<this.initialBufs.length;i++)resStr+=this.decoder.write(this.initialBufs[i]);var trail=this.decoder.end();return trail&&(resStr+=trail),this.initialBufs.length=this.initialBufsLen=0,resStr}return this.decoder.end()}},20758:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(2399).Buffer;function Utf7Codec(codecOptions,iconv){this.iconv=iconv}exports.utf7=Utf7Codec,exports.unicode11utf7="utf7",Utf7Codec.prototype.encoder=Utf7Encoder,Utf7Codec.prototype.decoder=Utf7Decoder,Utf7Codec.prototype.bomAware=!0;var nonDirectChars=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function Utf7Encoder(options,codec){this.iconv=codec.iconv}function Utf7Decoder(options,codec){this.iconv=codec.iconv,this.inBase64=!1,this.base64Accum=""}Utf7Encoder.prototype.write=function(str){return Buffer.from(str.replace(nonDirectChars,function(chunk){return"+"+("+"===chunk?"":this.iconv.encode(chunk,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))},Utf7Encoder.prototype.end=function(){};for(var base64Regex=/[A-Za-z0-9\/+]/,base64Chars=[],i=0;i<256;i++)base64Chars[i]=base64Regex.test(String.fromCharCode(i));var plusChar="+".charCodeAt(0),minusChar="-".charCodeAt(0),andChar="&".charCodeAt(0);function Utf7IMAPCodec(codecOptions,iconv){this.iconv=iconv}function Utf7IMAPEncoder(options,codec){this.iconv=codec.iconv,this.inBase64=!1,this.base64Accum=Buffer.alloc(6),this.base64AccumIdx=0}function Utf7IMAPDecoder(options,codec){this.iconv=codec.iconv,this.inBase64=!1,this.base64Accum=""}Utf7Decoder.prototype.write=function(buf){for(var res="",lastI=0,inBase64=this.inBase64,base64Accum=this.base64Accum,i=0;i<buf.length;i++)if(inBase64){if(!base64Chars[buf[i]]){if(i==lastI&&buf[i]==minusChar)res+="+";else{var b64str=base64Accum+this.iconv.decode(buf.slice(lastI,i),"ascii");res+=this.iconv.decode(Buffer.from(b64str,"base64"),"utf16-be")}buf[i]!=minusChar&&i--,lastI=i+1,inBase64=!1,base64Accum=""}}else buf[i]==plusChar&&(res+=this.iconv.decode(buf.slice(lastI,i),"ascii"),lastI=i+1,inBase64=!0);if(inBase64){var canBeDecoded=(b64str=base64Accum+this.iconv.decode(buf.slice(lastI),"ascii")).length-b64str.length%8;base64Accum=b64str.slice(canBeDecoded),b64str=b64str.slice(0,canBeDecoded),res+=this.iconv.decode(Buffer.from(b64str,"base64"),"utf16-be")}else res+=this.iconv.decode(buf.slice(lastI),"ascii");return this.inBase64=inBase64,this.base64Accum=base64Accum,res},Utf7Decoder.prototype.end=function(){var res="";return this.inBase64&&this.base64Accum.length>0&&(res=this.iconv.decode(Buffer.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",res},exports.utf7imap=Utf7IMAPCodec,Utf7IMAPCodec.prototype.encoder=Utf7IMAPEncoder,Utf7IMAPCodec.prototype.decoder=Utf7IMAPDecoder,Utf7IMAPCodec.prototype.bomAware=!0,Utf7IMAPEncoder.prototype.write=function(str){for(var inBase64=this.inBase64,base64Accum=this.base64Accum,base64AccumIdx=this.base64AccumIdx,buf=Buffer.alloc(5*str.length+10),bufIdx=0,i=0;i<str.length;i++){var uChar=str.charCodeAt(i);32<=uChar&&uChar<=126?(inBase64&&(base64AccumIdx>0&&(bufIdx+=buf.write(base64Accum.slice(0,base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),bufIdx),base64AccumIdx=0),buf[bufIdx++]=minusChar,inBase64=!1),inBase64||(buf[bufIdx++]=uChar,uChar===andChar&&(buf[bufIdx++]=minusChar))):(inBase64||(buf[bufIdx++]=andChar,inBase64=!0),inBase64&&(base64Accum[base64AccumIdx++]=uChar>>8,base64Accum[base64AccumIdx++]=255&uChar,base64AccumIdx==base64Accum.length&&(bufIdx+=buf.write(base64Accum.toString("base64").replace(/\//g,","),bufIdx),base64AccumIdx=0)))}return this.inBase64=inBase64,this.base64AccumIdx=base64AccumIdx,buf.slice(0,bufIdx)},Utf7IMAPEncoder.prototype.end=function(){var buf=Buffer.alloc(10),bufIdx=0;return this.inBase64&&(this.base64AccumIdx>0&&(bufIdx+=buf.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),bufIdx),this.base64AccumIdx=0),buf[bufIdx++]=minusChar,this.inBase64=!1),buf.slice(0,bufIdx)};var base64IMAPChars=base64Chars.slice();base64IMAPChars[",".charCodeAt(0)]=!0,Utf7IMAPDecoder.prototype.write=function(buf){for(var res="",lastI=0,inBase64=this.inBase64,base64Accum=this.base64Accum,i=0;i<buf.length;i++)if(inBase64){if(!base64IMAPChars[buf[i]]){if(i==lastI&&buf[i]==minusChar)res+="&";else{var b64str=base64Accum+this.iconv.decode(buf.slice(lastI,i),"ascii").replace(/,/g,"/");res+=this.iconv.decode(Buffer.from(b64str,"base64"),"utf16-be")}buf[i]!=minusChar&&i--,lastI=i+1,inBase64=!1,base64Accum=""}}else buf[i]==andChar&&(res+=this.iconv.decode(buf.slice(lastI,i),"ascii"),lastI=i+1,inBase64=!0);if(inBase64){var canBeDecoded=(b64str=base64Accum+this.iconv.decode(buf.slice(lastI),"ascii").replace(/,/g,"/")).length-b64str.length%8;base64Accum=b64str.slice(canBeDecoded),b64str=b64str.slice(0,canBeDecoded),res+=this.iconv.decode(Buffer.from(b64str,"base64"),"utf16-be")}else res+=this.iconv.decode(buf.slice(lastI),"ascii");return this.inBase64=inBase64,this.base64Accum=base64Accum,res},Utf7IMAPDecoder.prototype.end=function(){var res="";return this.inBase64&&this.base64Accum.length>0&&(res=this.iconv.decode(Buffer.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",res}},65395:function(__unused_webpack_module,exports){function PrependBOMWrapper(encoder,options){this.encoder=encoder,this.addBOM=!0}function StripBOMWrapper(decoder,options){this.decoder=decoder,this.pass=!1,this.options=options||{}}exports.PrependBOM=PrependBOMWrapper,PrependBOMWrapper.prototype.write=function(str){return this.addBOM&&(str="\ufeff"+str,this.addBOM=!1),this.encoder.write(str)},PrependBOMWrapper.prototype.end=function(){return this.encoder.end()},exports.StripBOM=StripBOMWrapper,StripBOMWrapper.prototype.write=function(buf){var res=this.decoder.write(buf);return this.pass||!res||("\ufeff"===res[0]&&(res=res.slice(1),"function"==typeof this.options.stripBOM&&this.options.stripBOM()),this.pass=!0),res},StripBOMWrapper.prototype.end=function(){return this.decoder.end()}},4914:function(module,__unused_webpack_exports,__webpack_require__){var stream_module,Buffer=__webpack_require__(2399).Buffer,bomHandling=__webpack_require__(65395),iconv=module.exports;iconv.encodings=null,iconv.defaultCharUnicode="�",iconv.defaultCharSingleByte="?",iconv.encode=function encode(str,encoding,options){str=""+(str||"");var encoder=iconv.getEncoder(encoding,options),res=encoder.write(str),trail=encoder.end();return trail&&trail.length>0?Buffer.concat([res,trail]):res},iconv.decode=function decode(buf,encoding,options){"string"==typeof buf&&(iconv.skipDecodeWarning||(console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),iconv.skipDecodeWarning=!0),buf=Buffer.from(""+(buf||""),"binary"));var decoder=iconv.getDecoder(encoding,options),res=decoder.write(buf),trail=decoder.end();return trail?res+trail:res},iconv.encodingExists=function encodingExists(enc){try{return iconv.getCodec(enc),!0}catch(e){return!1}},iconv.toEncoding=iconv.encode,iconv.fromEncoding=iconv.decode,iconv._codecDataCache={},iconv.getCodec=function getCodec(encoding){iconv.encodings||(iconv.encodings=__webpack_require__(46934));for(var enc=iconv._canonicalizeEncoding(encoding),codecOptions={};;){var codec=iconv._codecDataCache[enc];if(codec)return codec;var codecDef=iconv.encodings[enc];switch(typeof codecDef){case"string":enc=codecDef;break;case"object":for(var key in codecDef)codecOptions[key]=codecDef[key];codecOptions.encodingName||(codecOptions.encodingName=enc),enc=codecDef.type;break;case"function":return codecOptions.encodingName||(codecOptions.encodingName=enc),codec=new codecDef(codecOptions,iconv),iconv._codecDataCache[codecOptions.encodingName]=codec,codec;default:throw new Error("Encoding not recognized: '"+encoding+"' (searched as: '"+enc+"')")}}},iconv._canonicalizeEncoding=function(encoding){return(""+encoding).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")},iconv.getEncoder=function getEncoder(encoding,options){var codec=iconv.getCodec(encoding),encoder=new codec.encoder(options,codec);return codec.bomAware&&options&&options.addBOM&&(encoder=new bomHandling.PrependBOM(encoder,options)),encoder},iconv.getDecoder=function getDecoder(encoding,options){var codec=iconv.getCodec(encoding),decoder=new codec.decoder(options,codec);return!codec.bomAware||options&&!1===options.stripBOM||(decoder=new bomHandling.StripBOM(decoder,options)),decoder},iconv.enableStreamingAPI=function enableStreamingAPI(stream_module){if(!iconv.supportsStreams){var streams=__webpack_require__(38044)(stream_module);iconv.IconvLiteEncoderStream=streams.IconvLiteEncoderStream,iconv.IconvLiteDecoderStream=streams.IconvLiteDecoderStream,iconv.encodeStream=function encodeStream(encoding,options){return new iconv.IconvLiteEncoderStream(iconv.getEncoder(encoding,options),options)},iconv.decodeStream=function decodeStream(encoding,options){return new iconv.IconvLiteDecoderStream(iconv.getDecoder(encoding,options),options)},iconv.supportsStreams=!0}};try{stream_module=__webpack_require__(25832)}catch(e){}stream_module&&stream_module.Transform?iconv.enableStreamingAPI(stream_module):iconv.encodeStream=iconv.decodeStream=function(){throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}},38044:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(2399).Buffer;module.exports=function(stream_module){var Transform=stream_module.Transform;function IconvLiteEncoderStream(conv,options){this.conv=conv,(options=options||{}).decodeStrings=!1,Transform.call(this,options)}function IconvLiteDecoderStream(conv,options){this.conv=conv,(options=options||{}).encoding=this.encoding="utf8",Transform.call(this,options)}return IconvLiteEncoderStream.prototype=Object.create(Transform.prototype,{constructor:{value:IconvLiteEncoderStream}}),IconvLiteEncoderStream.prototype._transform=function(chunk,encoding,done){if("string"!=typeof chunk)return done(new Error("Iconv encoding stream needs strings as its input."));try{var res=this.conv.write(chunk);res&&res.length&&this.push(res),done()}catch(e){done(e)}},IconvLiteEncoderStream.prototype._flush=function(done){try{var res=this.conv.end();res&&res.length&&this.push(res),done()}catch(e){done(e)}},IconvLiteEncoderStream.prototype.collect=function(cb){var chunks=[];return this.on("error",cb),this.on("data",(function(chunk){chunks.push(chunk)})),this.on("end",(function(){cb(null,Buffer.concat(chunks))})),this},IconvLiteDecoderStream.prototype=Object.create(Transform.prototype,{constructor:{value:IconvLiteDecoderStream}}),IconvLiteDecoderStream.prototype._transform=function(chunk,encoding,done){if(!(Buffer.isBuffer(chunk)||chunk instanceof Uint8Array))return done(new Error("Iconv decoding stream needs buffers as its input."));try{var res=this.conv.write(chunk);res&&res.length&&this.push(res,this.encoding),done()}catch(e){done(e)}},IconvLiteDecoderStream.prototype._flush=function(done){try{var res=this.conv.end();res&&res.length&&this.push(res,this.encoding),done()}catch(e){done(e)}},IconvLiteDecoderStream.prototype.collect=function(cb){var res="";return this.on("error",cb),this.on("data",(function(chunk){res+=chunk})),this.on("end",(function(){cb(null,res)})),this},{IconvLiteEncoderStream:IconvLiteEncoderStream,IconvLiteDecoderStream:IconvLiteDecoderStream}}},80645:function(__unused_webpack_module,exports){ +/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ +exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=8*nBytes-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=256*e+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=256*m+buffer[offset+i],i+=d,nBits-=8);if(0===e)e=1-eBias;else{if(e===eMax)return m?NaN:1/0*(s?-1:1);m+=Math.pow(2,mLen),e-=eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)},exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=8*nBytes-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=23===mLen?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||0===value&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),(value+=e+eBias>=1?rt/c:rt*Math.pow(2,1-eBias))*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e+=eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=255&m,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=255&e,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=128*s}},35717:function(module){"function"==typeof Object.create?module.exports=function inherits(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}))}:module.exports=function inherits(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}}},82584:function(module,__unused_webpack_exports,__webpack_require__){var hasToStringTag=__webpack_require__(96410)(),$toString=__webpack_require__(21924)("Object.prototype.toString"),isStandardArguments=function isArguments(value){return!(hasToStringTag&&value&&"object"==typeof value&&Symbol.toStringTag in value)&&"[object Arguments]"===$toString(value)},isLegacyArguments=function isArguments(value){return!!isStandardArguments(value)||null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Array]"!==$toString(value)&&"[object Function]"===$toString(value.callee)},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments},48662:function(module,__unused_webpack_exports,__webpack_require__){var GeneratorFunction,toStr=Object.prototype.toString,fnToStr=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag=__webpack_require__(96410)(),getProto=Object.getPrototypeOf;module.exports=function isGeneratorFunction(fn){if("function"!=typeof fn)return!1;if(isFnRegex.test(fnToStr.call(fn)))return!0;if(!hasToStringTag)return"[object GeneratorFunction]"===toStr.call(fn);if(!getProto)return!1;if(void 0===GeneratorFunction){var generatorFunc=function(){if(!hasToStringTag)return!1;try{return Function("return function*() {}")()}catch(e){}}();GeneratorFunction=!!generatorFunc&&getProto(generatorFunc)}return getProto(fn)===GeneratorFunction}},98611:function(module){module.exports=function isNaN(value){return value!=value}},20360:function(module,__unused_webpack_exports,__webpack_require__){var callBind=__webpack_require__(55559),define=__webpack_require__(4289),implementation=__webpack_require__(98611),getPolyfill=__webpack_require__(29415),shim=__webpack_require__(23194),polyfill=callBind(getPolyfill(),Number);define(polyfill,{getPolyfill:getPolyfill,implementation:implementation,shim:shim}),module.exports=polyfill},29415:function(module,__unused_webpack_exports,__webpack_require__){var implementation=__webpack_require__(98611);module.exports=function getPolyfill(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:implementation}},23194:function(module,__unused_webpack_exports,__webpack_require__){var define=__webpack_require__(4289),getPolyfill=__webpack_require__(29415);module.exports=function shimNumberIsNaN(){var polyfill=getPolyfill();return define(Number,{isNaN:polyfill},{isNaN:function testIsNaN(){return Number.isNaN!==polyfill}}),polyfill}},40720:function(module){var regex=/^[a-z](?:[\.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*-(?:[\x2D\.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/;module.exports=function(string){return regex.test(string)}},85692:function(module,__unused_webpack_exports,__webpack_require__){var forEach=__webpack_require__(49804),availableTypedArrays=__webpack_require__(63083),callBound=__webpack_require__(21924),$toString=callBound("Object.prototype.toString"),hasToStringTag=__webpack_require__(96410)(),g="undefined"==typeof globalThis?__webpack_require__.g:globalThis,typedArrays=availableTypedArrays(),$indexOf=callBound("Array.prototype.indexOf",!0)||function indexOf(array,value){for(var i=0;i<array.length;i+=1)if(array[i]===value)return i;return-1},$slice=callBound("String.prototype.slice"),toStrTags={},gOPD=__webpack_require__(20882),getPrototypeOf=Object.getPrototypeOf;hasToStringTag&&gOPD&&getPrototypeOf&&forEach(typedArrays,(function(typedArray){var arr=new g[typedArray];if(Symbol.toStringTag in arr){var proto=getPrototypeOf(arr),descriptor=gOPD(proto,Symbol.toStringTag);if(!descriptor){var superProto=getPrototypeOf(proto);descriptor=gOPD(superProto,Symbol.toStringTag)}toStrTags[typedArray]=descriptor.get}}));module.exports=function isTypedArray(value){if(!value||"object"!=typeof value)return!1;if(!hasToStringTag||!(Symbol.toStringTag in value)){var tag=$slice($toString(value),8,-1);return $indexOf(typedArrays,tag)>-1}return!!gOPD&&function tryAllTypedArrays(value){var anyTrue=!1;return forEach(toStrTags,(function(getter,typedArray){if(!anyTrue)try{anyTrue=getter.call(value)===typedArray}catch(e){}})),anyTrue}(value)}},38868:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer;const path=__webpack_require__(26470),fs=__webpack_require__(99927).promises,vm=__webpack_require__(53113),toughCookie=__webpack_require__(47857),sniffHTMLEncoding=__webpack_require__(19274),whatwgURL=__webpack_require__(77101),whatwgEncoding=__webpack_require__(81479),{URL:URL}=__webpack_require__(77101),MIMEType=__webpack_require__(36766),idlUtils=__webpack_require__(80421),VirtualConsole=__webpack_require__(96784),{createWindow:createWindow}=__webpack_require__(61170),{parseIntoDocument:parseIntoDocument}=__webpack_require__(63770),{fragmentSerialization:fragmentSerialization}=__webpack_require__(72481),ResourceLoader=__webpack_require__(32638),NoOpResourceLoader=__webpack_require__(75217);class CookieJar extends toughCookie.CookieJar{constructor(store,options){super(store,{looseMode:!0,...options})}}const window=Symbol("window");let sharedFragmentDocument=null;class JSDOM{constructor(input="",options={}){const mimeType=new MIMEType(void 0===options.contentType?"text/html":options.contentType),{html:html,encoding:encoding}=function normalizeHTML(html,mimeType){let encoding="UTF-8";ArrayBuffer.isView(html)?html=Buffer.from(html.buffer,html.byteOffset,html.byteLength):html instanceof ArrayBuffer&&(html=Buffer.from(html));Buffer.isBuffer(html)?(encoding=sniffHTMLEncoding(html,{defaultEncoding:mimeType.isXML()?"UTF-8":"windows-1252",transportLayerEncodingLabel:mimeType.parameters.get("charset")}),html=whatwgEncoding.decode(html,encoding)):html=String(html);return{html:html,encoding:encoding}}(input,mimeType);options=function transformOptions(options,encoding,mimeType){const transformed={windowOptions:{url:"about:blank",referrer:"",contentType:"text/html",parsingMode:"html",parseOptions:{sourceCodeLocationInfo:!1,scriptingEnabled:!1},runScripts:void 0,encoding:encoding,pretendToBeVisual:!1,storageQuota:5e6,resourceLoader:void 0,virtualConsole:void 0,cookieJar:void 0},beforeParse(){}};if(!mimeType.isHTML()&&!mimeType.isXML())throw new RangeError(`The given content type of "${options.contentType}" was not a HTML or XML content type`);transformed.windowOptions.contentType=mimeType.essence,transformed.windowOptions.parsingMode=mimeType.isHTML()?"html":"xml",void 0!==options.url&&(transformed.windowOptions.url=new URL(options.url).href);void 0!==options.referrer&&(transformed.windowOptions.referrer=new URL(options.referrer).href);if(options.includeNodeLocations){if("xml"===transformed.windowOptions.parsingMode)throw new TypeError("Cannot set includeNodeLocations to true with an XML content type");transformed.windowOptions.parseOptions={sourceCodeLocationInfo:!0}}if(transformed.windowOptions.cookieJar=void 0===options.cookieJar?new CookieJar:options.cookieJar,transformed.windowOptions.virtualConsole=void 0===options.virtualConsole?(new VirtualConsole).sendTo(console):options.virtualConsole,!(transformed.windowOptions.virtualConsole instanceof VirtualConsole))throw new TypeError("virtualConsole must be an instance of VirtualConsole");if(transformed.windowOptions.resourceLoader=resourcesToResourceLoader(options.resources),void 0!==options.runScripts)if(transformed.windowOptions.runScripts=String(options.runScripts),"dangerously"===transformed.windowOptions.runScripts)transformed.windowOptions.parseOptions.scriptingEnabled=!0;else if("outside-only"!==transformed.windowOptions.runScripts)throw new RangeError('runScripts must be undefined, "dangerously", or "outside-only"');void 0!==options.beforeParse&&(transformed.beforeParse=options.beforeParse);void 0!==options.pretendToBeVisual&&(transformed.windowOptions.pretendToBeVisual=Boolean(options.pretendToBeVisual));void 0!==options.storageQuota&&(transformed.windowOptions.storageQuota=Number(options.storageQuota));return transformed}(options,encoding,mimeType),this[window]=createWindow(options.windowOptions);const documentImpl=idlUtils.implForWrapper(this[window]._document);options.beforeParse(this[window]._globalProxy),parseIntoDocument(html,documentImpl),documentImpl.close()}get window(){return this[window]._globalProxy}get virtualConsole(){return this[window]._virtualConsole}get cookieJar(){return idlUtils.implForWrapper(this[window]._document)._cookieJar}serialize(){return fragmentSerialization(idlUtils.implForWrapper(this[window]._document),{requireWellFormed:!1})}nodeLocation(node){if(!idlUtils.implForWrapper(this[window]._document)._parseOptions.sourceCodeLocationInfo)throw new Error("Location information was not saved for this jsdom. Use includeNodeLocations during creation.");return idlUtils.implForWrapper(node).sourceCodeLocation}getInternalVMContext(){if(!vm.isContext(this[window]))throw new TypeError("This jsdom was not configured to allow script running. Use the runScripts option during creation.");return this[window]}reconfigure(settings){if("windowTop"in settings&&(this[window]._top=settings.windowTop),"url"in settings){const document=idlUtils.implForWrapper(this[window]._document),url=whatwgURL.parseURL(settings.url);if(null===url)throw new TypeError(`Could not parse "${settings.url}" as a URL`);document._URL=url,document._origin=whatwgURL.serializeURLOrigin(document._URL)}}static fragment(string=""){sharedFragmentDocument||(sharedFragmentDocument=(new JSDOM).window.document);const template=sharedFragmentDocument.createElement("template");return template.innerHTML=string,template.content}static fromURL(url,options={}){return Promise.resolve().then((()=>{const parsedURL=new URL(url),originalHash=parsedURL.hash;parsedURL.hash="",url=parsedURL.href;const resourceLoader=resourcesToResourceLoader((options=function normalizeFromURLOptions(options){if(void 0!==options.url)throw new TypeError("Cannot supply a url option when using fromURL");if(void 0!==options.contentType)throw new TypeError("Cannot supply a contentType option when using fromURL");const normalized={...options};void 0!==options.referrer&&(normalized.referrer=new URL(options.referrer).href);void 0===options.cookieJar&&(normalized.cookieJar=new CookieJar);return normalized}(options)).resources),req=(resourceLoader.constructor===NoOpResourceLoader?new ResourceLoader:resourceLoader).fetch(url,{accept:"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",cookieJar:options.cookieJar,referrer:options.referrer});return req.then((body=>{const res=req.response;return options=Object.assign(options,{url:req.href+originalHash,contentType:res.headers["content-type"],referrer:req.getHeader("referer")}),new JSDOM(body,options)}))}))}static async fromFile(filename,options={}){options=function normalizeFromFileOptions(filename,options){const normalized={...options};if(void 0===normalized.contentType){const extname=path.extname(filename);".xhtml"!==extname&&".xht"!==extname&&".xml"!==extname||(normalized.contentType="application/xhtml+xml")}void 0===normalized.url&&(normalized.url=new URL("file:"+path.resolve(filename)));return normalized}(filename,options);const buffer=await fs.readFile(filename);return new JSDOM(buffer,options)}}function resourcesToResourceLoader(resources){switch(resources){case void 0:return new NoOpResourceLoader;case"usable":return new ResourceLoader;default:if(!(resources instanceof ResourceLoader))throw new TypeError("resources must be an instance of ResourceLoader");return resources}}exports.JSDOM=JSDOM,exports.VirtualConsole=VirtualConsole,exports.CookieJar=CookieJar,exports.ResourceLoader=ResourceLoader,exports.toughCookie=toughCookie},61170:function(__unused_webpack_module,exports,__webpack_require__){var process=__webpack_require__(34155);const vm=__webpack_require__(53113),webIDLConversions=__webpack_require__(10993),{CSSStyleDeclaration:CSSStyleDeclaration}=__webpack_require__(75063),{Performance:RawPerformance}=__webpack_require__(83993),notImplemented=__webpack_require__(30566),{installInterfaces:installInterfaces}=__webpack_require__(3164),{define:define,mixin:mixin}=__webpack_require__(54641),Element=__webpack_require__(61157),EventTarget=__webpack_require__(70462),EventHandlerNonNull=__webpack_require__(65685),IDLFunction=__webpack_require__(29111),OnBeforeUnloadEventHandlerNonNull=__webpack_require__(91983),OnErrorEventHandlerNonNull=__webpack_require__(39017),{fireAPageTransitionEvent:fireAPageTransitionEvent}=__webpack_require__(76688),namedPropertiesWindow=__webpack_require__(55111),postMessage=__webpack_require__(94612),DOMException=__webpack_require__(69026),{btoa:btoa,atob:atob}=__webpack_require__(9494),idlUtils=__webpack_require__(80421),WebSocketImpl=__webpack_require__(74417).implementation,BarProp=__webpack_require__(55290),documents=__webpack_require__(29437),External=__webpack_require__(77883),Navigator=__webpack_require__(84122),Performance=__webpack_require__(89321),Screen=__webpack_require__(65807),Storage=__webpack_require__(20641),Selection=__webpack_require__(43018),reportException=__webpack_require__(9400),{getCurrentEventHandlerValue:getCurrentEventHandlerValue}=__webpack_require__(90653),{fireAnEvent:fireAnEvent}=__webpack_require__(96799),SessionHistory=__webpack_require__(28499),{forEachMatchingSheetRuleOfElement:forEachMatchingSheetRuleOfElement,getResolvedValue:getResolvedValue,propertiesWithResolvedValueImplemented:propertiesWithResolvedValueImplemented,SHADOW_DOM_PSEUDO_REGEXP:SHADOW_DOM_PSEUDO_REGEXP}=__webpack_require__(131),CustomElementRegistry=__webpack_require__(15381),jsGlobals=__webpack_require__(40264),GlobalEventHandlersImpl=__webpack_require__(76115).implementation,WindowEventHandlersImpl=__webpack_require__(89756).implementation,events=new Set(["abort","autocomplete","autocompleteerror","blur","cancel","canplay","canplaythrough","change","click","close","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","focus","input","invalid","keydown","keypress","keyup","load","loadeddata","loadedmetadata","loadstart","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","wheel","pause","play","playing","progress","ratechange","reset","resize","scroll","securitypolicyviolation","seeked","seeking","select","sort","stalled","submit","suspend","timeupdate","toggle","volumechange","waiting","afterprint","beforeprint","hashchange","languagechange","message","messageerror","offline","online","pagehide","pageshow","popstate","rejectionhandled","storage","unhandledrejection","unload"]);exports.createWindow=function(options){return new Window(options)};const jsGlobalEntriesToInstall=Object.entries(jsGlobals).filter((([name])=>name in __webpack_require__.g));function setupWindow(windowInstance,{runScripts:runScripts}){if("outside-only"===runScripts||"dangerously"===runScripts){!function contextifyWindow(window){if(vm.isContext(window))return;vm.createContext(window)}(windowInstance);for(const[globalName,globalPropDesc]of jsGlobalEntriesToInstall){const propDesc={...globalPropDesc,value:vm.runInContext(globalName,windowInstance)};Object.defineProperty(windowInstance,globalName,propDesc)}}else for(const[globalName,globalPropDesc]of jsGlobalEntriesToInstall){const propDesc={...globalPropDesc,value:__webpack_require__.g[globalName]};Object.defineProperty(windowInstance,globalName,propDesc)}installInterfaces(windowInstance,["Window"]);const EventTargetConstructor=windowInstance.EventTarget,windowConstructor=function Window(){throw new TypeError("Illegal constructor")};Object.setPrototypeOf(windowConstructor,EventTargetConstructor),Object.defineProperty(windowInstance,"Window",{configurable:!0,writable:!0,value:windowConstructor});const windowPrototype=Object.create(EventTargetConstructor.prototype);Object.defineProperties(windowPrototype,{constructor:{value:windowConstructor,writable:!0,configurable:!0},[Symbol.toStringTag]:{value:"Window",configurable:!0}}),windowConstructor.prototype=windowPrototype,Object.setPrototypeOf(windowInstance,windowPrototype),EventTarget.setup(windowInstance,windowInstance),mixin(windowInstance,WindowEventHandlersImpl.prototype),mixin(windowInstance,GlobalEventHandlersImpl.prototype),windowInstance._initGlobalEvents(),Object.defineProperty(windowInstance,"onbeforeunload",{configurable:!0,enumerable:!0,get(){return idlUtils.tryWrapperForImpl(getCurrentEventHandlerValue(this,"beforeunload"))},set(V){V=idlUtils.isObject(V)?OnBeforeUnloadEventHandlerNonNull.convert(windowInstance,V,{context:"Failed to set the 'onbeforeunload' property on 'Window': The provided value"}):null,this._setEventHandlerFor("beforeunload",V)}}),Object.defineProperty(windowInstance,"onerror",{configurable:!0,enumerable:!0,get(){return idlUtils.tryWrapperForImpl(getCurrentEventHandlerValue(this,"error"))},set(V){V=idlUtils.isObject(V)?OnErrorEventHandlerNonNull.convert(windowInstance,V,{context:"Failed to set the 'onerror' property on 'Window': The provided value"}):null,this._setEventHandlerFor("error",V)}});for(const event of events)Object.defineProperty(windowInstance,`on${event}`,{configurable:!0,enumerable:!0,get(){return idlUtils.tryWrapperForImpl(getCurrentEventHandlerValue(this,event))},set(V){V=idlUtils.isObject(V)?EventHandlerNonNull.convert(windowInstance,V,{context:`Failed to set the 'on${event}' property on 'Window': The provided value`}):null,this._setEventHandlerFor(event,V)}});windowInstance._globalObject=windowInstance}function Window(options){setupWindow(this,{runScripts:options.runScripts});const rawPerformance=new RawPerformance,windowInitialized=rawPerformance.now(),window=this;if(this._resourceLoader=options.resourceLoader,this._globalProxy=this,Object.defineProperty(idlUtils.implForWrapper(this),idlUtils.wrapperSymbol,{get:()=>this._globalProxy}),this._document=documents.createWrapper(window,{parsingMode:options.parsingMode,contentType:options.contentType,encoding:options.encoding,cookieJar:options.cookieJar,url:options.url,lastModified:options.lastModified,referrer:options.referrer,parseOptions:options.parseOptions,defaultView:this._globalProxy,global:this,parentOrigin:options.parentOrigin},{alwaysUseDocumentClass:!0}),vm.isContext(window)){idlUtils.implForWrapper(window._document)._defaultView=window._globalProxy=vm.runInContext("this",window)}const documentOrigin=idlUtils.implForWrapper(this._document)._origin;this._origin=documentOrigin,this._sessionHistory=new SessionHistory({document:idlUtils.implForWrapper(this._document),url:idlUtils.implForWrapper(this._document)._URL,stateObject:null},this),this._virtualConsole=options.virtualConsole,this._runScripts=options.runScripts,this._parent=this._top=this._globalProxy,this._frameElement=null,this._length=0,this._currentEvent=void 0,this._pretendToBeVisual=options.pretendToBeVisual,this._storageQuota=options.storageQuota,options.commonForOrigin&&options.commonForOrigin[documentOrigin]?this._commonForOrigin=options.commonForOrigin:this._commonForOrigin={[documentOrigin]:{localStorageArea:new Map,sessionStorageArea:new Map,windowsInSameOrigin:[this]}},this._currentOriginData=this._commonForOrigin[documentOrigin],this._localStorage=Storage.create(window,[],{associatedWindow:this,storageArea:this._currentOriginData.localStorageArea,type:"localStorage",url:this._document.documentURI,storageQuota:this._storageQuota}),this._sessionStorage=Storage.create(window,[],{associatedWindow:this,storageArea:this._currentOriginData.sessionStorageArea,type:"sessionStorage",url:this._document.documentURI,storageQuota:this._storageQuota}),this._selection=Selection.createImpl(window),this.getSelection=function(){return window._selection};const locationbar=BarProp.create(window),menubar=BarProp.create(window),personalbar=BarProp.create(window),scrollbars=BarProp.create(window),statusbar=BarProp.create(window),toolbar=BarProp.create(window),external=External.create(window),navigator=Navigator.create(window,[],{userAgent:this._resourceLoader._userAgent}),performance=Performance.create(window,[],{rawPerformance:rawPerformance}),screen=Screen.create(window),customElementRegistry=CustomElementRegistry.create(window);define(this,{get length(){return window._length},get window(){return window._globalProxy},get frameElement(){return idlUtils.wrapperForImpl(window._frameElement)},get frames(){return window._globalProxy},get self(){return window._globalProxy},get parent(){return window._parent},get top(){return window._top},get document(){return window._document},get external(){return external},get location(){return idlUtils.wrapperForImpl(idlUtils.implForWrapper(window._document)._location)},get history(){return idlUtils.wrapperForImpl(idlUtils.implForWrapper(window._document)._history)},get navigator(){return navigator},get locationbar(){return locationbar},get menubar(){return menubar},get personalbar(){return personalbar},get scrollbars(){return scrollbars},get statusbar(){return statusbar},get toolbar(){return toolbar},get performance(){return performance},get screen(){return screen},get origin(){return window._origin},set origin(value){Object.defineProperty(this,"origin",{value:value,writable:!0,enumerable:!0,configurable:!0})},get localStorage(){if("null"===idlUtils.implForWrapper(this._document)._origin)throw DOMException.create(window,["localStorage is not available for opaque origins","SecurityError"]);return this._localStorage},get sessionStorage(){if("null"===idlUtils.implForWrapper(this._document)._origin)throw DOMException.create(window,["sessionStorage is not available for opaque origins","SecurityError"]);return this._sessionStorage},get customElements(){return customElementRegistry},get event(){return window._currentEvent?idlUtils.wrapperForImpl(window._currentEvent):void 0},set event(value){Object.defineProperty(window,"event",{configurable:!0,enumerable:!0,writable:!0,value:value})}}),namedPropertiesWindow.initializeWindow(this,this._globalProxy);const listOfActiveTimers=new Map;let latestTimerId=0;function timerInitializationSteps(handler,timeout,args,{methodContext:methodContext,repeat:repeat,previousHandle:previousHandle}){if(!methodContext._document)return 0;const methodContextProxy=methodContext._globalProxy,handle=void 0!==previousHandle?previousHandle:++latestTimerId;timeout<0&&(timeout=0);const nodejsTimer=setTimeout((function task(){if(listOfActiveTimers.has(handle)){try{"function"==typeof handler?handler.apply(methodContextProxy,args):"dangerously"===window._runScripts&&vm.runInContext(handler,window,{filename:window.location.href,displayErrors:!1})}catch(e){reportException(window,e,window.location.href)}listOfActiveTimers.has(handle)&&(repeat?timerInitializationSteps(handler,timeout,args,{methodContext:methodContext,repeat:!0,previousHandle:handle}):listOfActiveTimers.delete(handle))}}),timeout);return listOfActiveTimers.set(handle,nodejsTimer),handle}this.setTimeout=function(handler,timeout=0,...args){return"function"!=typeof handler&&(handler=webIDLConversions.DOMString(handler)),timerInitializationSteps(handler,timeout=webIDLConversions.long(timeout),args,{methodContext:window,repeat:!1})},this.setInterval=function(handler,timeout=0,...args){return"function"!=typeof handler&&(handler=webIDLConversions.DOMString(handler)),timerInitializationSteps(handler,timeout=webIDLConversions.long(timeout),args,{methodContext:window,repeat:!0})},this.clearTimeout=function(handle=0){handle=webIDLConversions.long(handle);const nodejsTimer=listOfActiveTimers.get(handle);nodejsTimer&&(clearTimeout(nodejsTimer),listOfActiveTimers.delete(handle))},this.clearInterval=function(handle=0){handle=webIDLConversions.long(handle);const nodejsTimer=listOfActiveTimers.get(handle);nodejsTimer&&(clearTimeout(nodejsTimer),listOfActiveTimers.delete(handle))},this.queueMicrotask=function(callback){callback=IDLFunction.convert(this,callback),queueMicrotask((()=>{try{callback()}catch(e){reportException(window,e,window.location.href)}}))};let animationFrameCallbackId=0;const mapOfAnimationFrameCallbacks=new Map;let animationFrameNodejsInterval=null,numberOfOngoingAnimationFrameCallbacks=0;if(this._pretendToBeVisual){function runAnimationFrameCallbacks(now){const callbackHandles=[...mapOfAnimationFrameCallbacks.keys()];for(const handle of callbackHandles)if(mapOfAnimationFrameCallbacks.has(handle)){const callback=mapOfAnimationFrameCallbacks.get(handle);removeAnimationFrameCallback(handle);try{callback(now)}catch(e){reportException(window,e,window.location.href)}}}function removeAnimationFrameCallback(handle){mapOfAnimationFrameCallbacks.has(handle)&&(--numberOfOngoingAnimationFrameCallbacks,0===numberOfOngoingAnimationFrameCallbacks&&clearInterval(animationFrameNodejsInterval)),mapOfAnimationFrameCallbacks.delete(handle)}this.requestAnimationFrame=function(callback){callback=IDLFunction.convert(this,callback);const handle=++animationFrameCallbackId;return mapOfAnimationFrameCallbacks.set(handle,callback),++numberOfOngoingAnimationFrameCallbacks,1===numberOfOngoingAnimationFrameCallbacks&&(animationFrameNodejsInterval=setInterval((()=>{runAnimationFrameCallbacks(rawPerformance.now()-windowInitialized)}),1e3/60)),handle},this.cancelAnimationFrame=function(handle){removeAnimationFrameCallback(handle=webIDLConversions["unsigned long"](handle))}}function Option(text,value,defaultSelected,selected){void 0===text&&(text=""),text=webIDLConversions.DOMString(text),void 0!==value&&(value=webIDLConversions.DOMString(value)),defaultSelected=webIDLConversions.boolean(defaultSelected),selected=webIDLConversions.boolean(selected);const option=window._document.createElement("option"),impl=idlUtils.implForWrapper(option);return""!==text&&(impl.text=text),void 0!==value&&impl.setAttributeNS(null,"value",value),defaultSelected&&impl.setAttributeNS(null,"selected",""),impl._selectedness=selected,option}function Image(...args){const img=window._document.createElement("img"),impl=idlUtils.implForWrapper(img);return args.length>0&&impl.setAttributeNS(null,"width",String(args[0])),args.length>1&&impl.setAttributeNS(null,"height",String(args[1])),img}function Audio(src){const audio=window._document.createElement("audio"),impl=idlUtils.implForWrapper(audio);return impl.setAttributeNS(null,"preload","auto"),void 0!==src&&impl.setAttributeNS(null,"src",String(src)),audio}function wrapConsoleMethod(method){return(...args)=>{window._virtualConsole.emit(method,...args)}}function notImplementedMethod(name){return function(){notImplemented(name,window)}}Object.defineProperty(Option,"prototype",{value:this.HTMLOptionElement.prototype,configurable:!1,enumerable:!1,writable:!1}),Object.defineProperty(window,"Option",{value:Option,configurable:!0,enumerable:!1,writable:!0}),Object.defineProperty(Image,"prototype",{value:this.HTMLImageElement.prototype,configurable:!1,enumerable:!1,writable:!1}),Object.defineProperty(window,"Image",{value:Image,configurable:!0,enumerable:!1,writable:!0}),Object.defineProperty(Audio,"prototype",{value:this.HTMLAudioElement.prototype,configurable:!1,enumerable:!1,writable:!1}),Object.defineProperty(window,"Audio",{value:Audio,configurable:!0,enumerable:!1,writable:!0}),this.postMessage=postMessage(window),this.atob=function(str){const result=atob(str);if(null===result)throw DOMException.create(window,["The string to be decoded contains invalid characters.","InvalidCharacterError"]);return result},this.btoa=function(str){const result=btoa(str);if(null===result)throw DOMException.create(window,["The string to be encoded contains invalid characters.","InvalidCharacterError"]);return result},this.stop=function(){const manager=idlUtils.implForWrapper(this._document)._requestManager;manager&&manager.close()},this.close=function(){for(let i=0;i<this.length;++i)this[i].close();if(idlUtils.implForWrapper(this)._eventListeners=Object.create(null),this._document){this._document.body&&(this._document.body.innerHTML=""),this._document.close&&(idlUtils.implForWrapper(this._document)._eventListeners=Object.create(null),this._document.close());const doc=idlUtils.implForWrapper(this._document);doc._requestManager&&doc._requestManager.close(),delete this._document}!function stopAllTimers(){for(const nodejsTimer of listOfActiveTimers.values())clearTimeout(nodejsTimer);listOfActiveTimers.clear(),clearInterval(animationFrameNodejsInterval)}(),WebSocketImpl.cleanUpWindow(this)},this.getComputedStyle=function(elt,pseudoElt){if(elt=Element.convert(this,elt),null!=pseudoElt&&(pseudoElt=webIDLConversions.DOMString(pseudoElt)),null!=pseudoElt&&""!==pseudoElt){if(SHADOW_DOM_PSEUDO_REGEXP.test(pseudoElt))throw new TypeError("Tried to get the computed style of a Shadow DOM pseudo-element.");notImplemented("window.computedStyle(elt, pseudoElt)",this)}const declaration=new CSSStyleDeclaration,{forEach:forEach}=Array.prototype,{style:style}=elt;forEachMatchingSheetRuleOfElement(elt,(rule=>{forEach.call(rule.style,(property=>{declaration.setProperty(property,rule.style.getPropertyValue(property),rule.style.getPropertyPriority(property))}))}));const declarations=Object.keys(propertiesWithResolvedValueImplemented);return forEach.call(declarations,(property=>{declaration.setProperty(property,getResolvedValue(elt,property))})),forEach.call(style,(property=>{declaration.setProperty(property,style.getPropertyValue(property),style.getPropertyPriority(property))})),declaration},this.getSelection=function(){return window._document.getSelection()},this.captureEvents=function(){},this.releaseEvents=function(){},this.console={assert:wrapConsoleMethod("assert"),clear:wrapConsoleMethod("clear"),count:wrapConsoleMethod("count"),countReset:wrapConsoleMethod("countReset"),debug:wrapConsoleMethod("debug"),dir:wrapConsoleMethod("dir"),dirxml:wrapConsoleMethod("dirxml"),error:wrapConsoleMethod("error"),group:wrapConsoleMethod("group"),groupCollapsed:wrapConsoleMethod("groupCollapsed"),groupEnd:wrapConsoleMethod("groupEnd"),info:wrapConsoleMethod("info"),log:wrapConsoleMethod("log"),table:wrapConsoleMethod("table"),time:wrapConsoleMethod("time"),timeLog:wrapConsoleMethod("timeLog"),timeEnd:wrapConsoleMethod("timeEnd"),trace:wrapConsoleMethod("trace"),warn:wrapConsoleMethod("warn")},define(this,{name:"",status:"",devicePixelRatio:1,innerWidth:1024,innerHeight:768,outerWidth:1024,outerHeight:768,pageXOffset:0,pageYOffset:0,screenX:0,screenLeft:0,screenY:0,screenTop:0,scrollX:0,scrollY:0,alert:notImplementedMethod("window.alert"),blur:notImplementedMethod("window.blur"),confirm:notImplementedMethod("window.confirm"),focus:notImplementedMethod("window.focus"),moveBy:notImplementedMethod("window.moveBy"),moveTo:notImplementedMethod("window.moveTo"),open:notImplementedMethod("window.open"),print:notImplementedMethod("window.print"),prompt:notImplementedMethod("window.prompt"),resizeBy:notImplementedMethod("window.resizeBy"),resizeTo:notImplementedMethod("window.resizeTo"),scroll:notImplementedMethod("window.scroll"),scrollBy:notImplementedMethod("window.scrollBy"),scrollTo:notImplementedMethod("window.scrollTo")}),process.nextTick((()=>{window.document&&("complete"===window.document.readyState?fireAnEvent("load",window,void 0,{},!0):window.document.addEventListener("load",(()=>{if(fireAnEvent("load",window,void 0,{},!0),!window._document)return;const documentImpl=idlUtils.implForWrapper(window._document);documentImpl._pageShowingFlag||(documentImpl._pageShowingFlag=!0,fireAPageTransitionEvent("pageshow",window,!1))})))}))}},39765:function(module){module.exports='\n/*\n * The default style sheet used to render HTML.\n *\n * Copyright (C) 2000 Lars Knoll (knoll@kde.org)\n * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Library General Public License for more details.\n *\n * You should have received a copy of the GNU Library General Public License\n * along with this library; see the file COPYING.LIB. If not, write to\n * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n * Boston, MA 02110-1301, USA.\n *\n */\n\n@namespace "http://www.w3.org/1999/xhtml";\n\nhtml {\n display: block\n}\n\n:root {\n scroll-blocks-on: start-touch wheel-event\n}\n\n/* children of the <head> element all have display:none */\nhead {\n display: none\n}\n\nmeta {\n display: none\n}\n\ntitle {\n display: none\n}\n\nlink {\n display: none\n}\n\nstyle {\n display: none\n}\n\nscript {\n display: none\n}\n\n/* generic block-level elements */\n\nbody {\n display: block;\n margin: 8px\n}\n\np {\n display: block;\n -webkit-margin-before: 1__qem;\n -webkit-margin-after: 1__qem;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n}\n\ndiv {\n display: block\n}\n\nlayer {\n display: block\n}\n\narticle, aside, footer, header, hgroup, main, nav, section {\n display: block\n}\n\nmarquee {\n display: inline-block;\n}\n\naddress {\n display: block\n}\n\nblockquote {\n display: block;\n -webkit-margin-before: 1__qem;\n -webkit-margin-after: 1em;\n -webkit-margin-start: 40px;\n -webkit-margin-end: 40px;\n}\n\nfigcaption {\n display: block\n}\n\nfigure {\n display: block;\n -webkit-margin-before: 1em;\n -webkit-margin-after: 1em;\n -webkit-margin-start: 40px;\n -webkit-margin-end: 40px;\n}\n\nq {\n display: inline\n}\n\n/* nwmatcher does not support ::before and ::after, so we can\'t render q\ncorrectly: https://html.spec.whatwg.org/multipage/rendering.html#phrasing-content-3\nTODO: add q::before and q::after selectors\n*/\n\ncenter {\n display: block;\n /* special centering to be able to emulate the html4/netscape behaviour */\n text-align: -webkit-center\n}\n\nhr {\n display: block;\n -webkit-margin-before: 0.5em;\n -webkit-margin-after: 0.5em;\n -webkit-margin-start: auto;\n -webkit-margin-end: auto;\n border-style: inset;\n border-width: 1px;\n box-sizing: border-box\n}\n\nmap {\n display: inline\n}\n\nvideo {\n object-fit: contain;\n}\n\n/* heading elements */\n\nh1 {\n display: block;\n font-size: 2em;\n -webkit-margin-before: 0.67__qem;\n -webkit-margin-after: 0.67em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n font-weight: bold\n}\n\narticle h1,\naside h1,\nnav h1,\nsection h1 {\n font-size: 1.5em;\n -webkit-margin-before: 0.83__qem;\n -webkit-margin-after: 0.83em;\n}\n\narticle article h1,\narticle aside h1,\narticle nav h1,\narticle section h1,\naside article h1,\naside aside h1,\naside nav h1,\naside section h1,\nnav article h1,\nnav aside h1,\nnav nav h1,\nnav section h1,\nsection article h1,\nsection aside h1,\nsection nav h1,\nsection section h1 {\n font-size: 1.17em;\n -webkit-margin-before: 1__qem;\n -webkit-margin-after: 1em;\n}\n\n/* Remaining selectors are deleted because nwmatcher does not support\n:matches() and expanding the selectors manually would be far too verbose.\nAlso see https://html.spec.whatwg.org/multipage/rendering.html#sections-and-headings\nTODO: rewrite to use :matches() when nwmatcher supports it.\n*/\n\nh2 {\n display: block;\n font-size: 1.5em;\n -webkit-margin-before: 0.83__qem;\n -webkit-margin-after: 0.83em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n font-weight: bold\n}\n\nh3 {\n display: block;\n font-size: 1.17em;\n -webkit-margin-before: 1__qem;\n -webkit-margin-after: 1em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n font-weight: bold\n}\n\nh4 {\n display: block;\n -webkit-margin-before: 1.33__qem;\n -webkit-margin-after: 1.33em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n font-weight: bold\n}\n\nh5 {\n display: block;\n font-size: .83em;\n -webkit-margin-before: 1.67__qem;\n -webkit-margin-after: 1.67em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n font-weight: bold\n}\n\nh6 {\n display: block;\n font-size: .67em;\n -webkit-margin-before: 2.33__qem;\n -webkit-margin-after: 2.33em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n font-weight: bold\n}\n\n/* tables */\n\ntable {\n display: table;\n border-collapse: separate;\n border-spacing: 2px;\n border-color: gray\n}\n\nthead {\n display: table-header-group;\n vertical-align: middle;\n border-color: inherit\n}\n\ntbody {\n display: table-row-group;\n vertical-align: middle;\n border-color: inherit\n}\n\ntfoot {\n display: table-footer-group;\n vertical-align: middle;\n border-color: inherit\n}\n\n/* for tables without table section elements (can happen with XHTML or dynamically created tables) */\ntable > tr {\n vertical-align: middle;\n}\n\ncol {\n display: table-column\n}\n\ncolgroup {\n display: table-column-group\n}\n\ntr {\n display: table-row;\n vertical-align: inherit;\n border-color: inherit\n}\n\ntd, th {\n display: table-cell;\n vertical-align: inherit\n}\n\nth {\n font-weight: bold\n}\n\ncaption {\n display: table-caption;\n text-align: -webkit-center\n}\n\n/* lists */\n\nul, menu, dir {\n display: block;\n list-style-type: disc;\n -webkit-margin-before: 1__qem;\n -webkit-margin-after: 1em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n -webkit-padding-start: 40px\n}\n\nol {\n display: block;\n list-style-type: decimal;\n -webkit-margin-before: 1__qem;\n -webkit-margin-after: 1em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n -webkit-padding-start: 40px\n}\n\nli {\n display: list-item;\n text-align: -webkit-match-parent;\n}\n\nul ul, ol ul {\n list-style-type: circle\n}\n\nol ol ul, ol ul ul, ul ol ul, ul ul ul {\n list-style-type: square\n}\n\ndd {\n display: block;\n -webkit-margin-start: 40px\n}\n\ndl {\n display: block;\n -webkit-margin-before: 1__qem;\n -webkit-margin-after: 1em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n}\n\ndt {\n display: block\n}\n\nol ul, ul ol, ul ul, ol ol {\n -webkit-margin-before: 0;\n -webkit-margin-after: 0\n}\n\n/* form elements */\n\nform {\n display: block;\n margin-top: 0__qem;\n}\n\nlabel {\n cursor: default;\n}\n\nlegend {\n display: block;\n -webkit-padding-start: 2px;\n -webkit-padding-end: 2px;\n border: none\n}\n\nfieldset {\n display: block;\n -webkit-margin-start: 2px;\n -webkit-margin-end: 2px;\n -webkit-padding-before: 0.35em;\n -webkit-padding-start: 0.75em;\n -webkit-padding-end: 0.75em;\n -webkit-padding-after: 0.625em;\n border: 2px groove ThreeDFace;\n min-width: -webkit-min-content;\n}\n\nbutton {\n -webkit-appearance: button;\n}\n\n/* Form controls don\'t go vertical. */\ninput, textarea, select, button, meter, progress {\n -webkit-writing-mode: horizontal-tb !important;\n}\n\ninput, textarea, select, button {\n margin: 0__qem;\n font: -webkit-small-control;\n text-rendering: auto; /* FIXME: Remove when tabs work with optimizeLegibility. */\n color: initial;\n letter-spacing: normal;\n word-spacing: normal;\n line-height: normal;\n text-transform: none;\n text-indent: 0;\n text-shadow: none;\n display: inline-block;\n text-align: start;\n}\n\n/* TODO: Add " i" to attribute matchers to support case-insensitive matching */\ninput[type="hidden"] {\n display: none\n}\n\ninput {\n -webkit-appearance: textfield;\n padding: 1px;\n background-color: white;\n border: 2px inset;\n -webkit-rtl-ordering: logical;\n -webkit-user-select: text;\n cursor: auto;\n}\n\ninput[type="search"] {\n -webkit-appearance: searchfield;\n box-sizing: border-box;\n}\n\nselect {\n border-radius: 5px;\n}\n\ntextarea {\n -webkit-appearance: textarea;\n background-color: white;\n border: 1px solid;\n -webkit-rtl-ordering: logical;\n -webkit-user-select: text;\n flex-direction: column;\n resize: auto;\n cursor: auto;\n padding: 2px;\n white-space: pre-wrap;\n word-wrap: break-word;\n}\n\ninput[type="password"] {\n -webkit-text-security: disc !important;\n}\n\ninput[type="hidden"], input[type="image"], input[type="file"] {\n -webkit-appearance: initial;\n padding: initial;\n background-color: initial;\n border: initial;\n}\n\ninput[type="file"] {\n align-items: baseline;\n color: inherit;\n text-align: start !important;\n}\n\ninput[type="radio"], input[type="checkbox"] {\n margin: 3px 0.5ex;\n padding: initial;\n background-color: initial;\n border: initial;\n}\n\ninput[type="button"], input[type="submit"], input[type="reset"] {\n -webkit-appearance: push-button;\n -webkit-user-select: none;\n white-space: pre\n}\n\ninput[type="button"], input[type="submit"], input[type="reset"], button {\n align-items: flex-start;\n text-align: center;\n cursor: default;\n color: ButtonText;\n padding: 2px 6px 3px 6px;\n border: 2px outset ButtonFace;\n background-color: ButtonFace;\n box-sizing: border-box\n}\n\ninput[type="range"] {\n -webkit-appearance: slider-horizontal;\n padding: initial;\n border: initial;\n margin: 2px;\n color: #909090;\n}\n\ninput[type="button"]:disabled, input[type="submit"]:disabled, input[type="reset"]:disabled,\nbutton:disabled, select:disabled, optgroup:disabled, option:disabled,\nselect[disabled]>option {\n color: GrayText\n}\n\ninput[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active, button:active {\n border-style: inset\n}\n\ninput[type="button"]:active:disabled, input[type="submit"]:active:disabled, input[type="reset"]:active:disabled, button:active:disabled {\n border-style: outset\n}\n\ndatalist {\n display: none\n}\n\narea {\n display: inline;\n cursor: pointer;\n}\n\nparam {\n display: none\n}\n\ninput[type="checkbox"] {\n -webkit-appearance: checkbox;\n box-sizing: border-box;\n}\n\ninput[type="radio"] {\n -webkit-appearance: radio;\n box-sizing: border-box;\n}\n\ninput[type="color"] {\n -webkit-appearance: square-button;\n width: 44px;\n height: 23px;\n background-color: ButtonFace;\n /* Same as native_theme_base. */\n border: 1px #a9a9a9 solid;\n padding: 1px 2px;\n}\n\ninput[type="color"][list] {\n -webkit-appearance: menulist;\n width: 88px;\n height: 23px\n}\n\nselect {\n -webkit-appearance: menulist;\n box-sizing: border-box;\n align-items: center;\n border: 1px solid;\n white-space: pre;\n -webkit-rtl-ordering: logical;\n color: black;\n background-color: white;\n cursor: default;\n}\n\noptgroup {\n font-weight: bolder;\n display: block;\n}\n\noption {\n font-weight: normal;\n display: block;\n padding: 0 2px 1px 2px;\n white-space: pre;\n min-height: 1.2em;\n}\n\noutput {\n display: inline;\n}\n\n/* meter */\n\nmeter {\n -webkit-appearance: meter;\n box-sizing: border-box;\n display: inline-block;\n height: 1em;\n width: 5em;\n vertical-align: -0.2em;\n}\n\n/* progress */\n\nprogress {\n -webkit-appearance: progress-bar;\n box-sizing: border-box;\n display: inline-block;\n height: 1em;\n width: 10em;\n vertical-align: -0.2em;\n}\n\n/* inline elements */\n\nu, ins {\n text-decoration: underline\n}\n\nstrong, b {\n font-weight: bold\n}\n\ni, cite, em, var, address, dfn {\n font-style: italic\n}\n\ntt, code, kbd, samp {\n font-family: monospace\n}\n\npre, xmp, plaintext, listing {\n display: block;\n font-family: monospace;\n white-space: pre;\n margin: 1__qem 0\n}\n\nmark {\n background-color: yellow;\n color: black\n}\n\nbig {\n font-size: larger\n}\n\nsmall {\n font-size: smaller\n}\n\ns, strike, del {\n text-decoration: line-through\n}\n\nsub {\n vertical-align: sub;\n font-size: smaller\n}\n\nsup {\n vertical-align: super;\n font-size: smaller\n}\n\nnobr {\n white-space: nowrap\n}\n\n/* states */\n\n:focus {\n outline: auto 5px -webkit-focus-ring-color\n}\n\n/* Read-only text fields do not show a focus ring but do still receive focus */\nhtml:focus, body:focus, input[readonly]:focus {\n outline: none\n}\n\nembed:focus, iframe:focus, object:focus {\n outline: none\n}\n\ninput:focus, textarea:focus, select:focus {\n outline-offset: -2px\n}\n\ninput[type="button"]:focus,\ninput[type="checkbox"]:focus,\ninput[type="file"]:focus,\ninput[type="hidden"]:focus,\ninput[type="image"]:focus,\ninput[type="radio"]:focus,\ninput[type="reset"]:focus,\ninput[type="search"]:focus,\ninput[type="submit"]:focus {\n outline-offset: 0\n}\n\n/* HTML5 ruby elements */\n\nruby, rt {\n text-indent: 0; /* blocks used for ruby rendering should not trigger this */\n}\n\nrt {\n line-height: normal;\n -webkit-text-emphasis: none;\n}\n\nruby > rt {\n display: block;\n font-size: 50%;\n text-align: start;\n}\n\nruby > rp {\n display: none;\n}\n\n/* other elements */\n\nnoframes {\n display: none\n}\n\nframeset, frame {\n display: block\n}\n\nframeset {\n border-color: inherit\n}\n\niframe {\n border: 2px inset\n}\n\ndetails {\n display: block\n}\n\nsummary {\n display: block\n}\n\ntemplate {\n display: none\n}\n\nbdi, output {\n unicode-bidi: -webkit-isolate;\n}\n\nbdo {\n unicode-bidi: bidi-override;\n}\n\ntextarea[dir=auto] {\n unicode-bidi: -webkit-plaintext;\n}\n\ndialog:not([open]) {\n display: none\n}\n\ndialog {\n position: absolute;\n left: 0;\n right: 0;\n width: -webkit-fit-content;\n height: -webkit-fit-content;\n margin: auto;\n border: solid;\n padding: 1em;\n background: white;\n color: black\n}\n\n[hidden] {\n display: none\n}\n\n/* noscript is handled internally, as it depends on settings. */\n\n'},30566:function(module){module.exports=function(nameForErrorMessage,window){if(!window)return;const error=new Error(`Not implemented: ${nameForErrorMessage}`);error.type="not implemented",window._virtualConsole.emit("jsdomError",error)}},99281:function(module,__unused_webpack_exports,__webpack_require__){const parse5=__webpack_require__(42394),{createElement:createElement}=__webpack_require__(42018),{HTML_NS:HTML_NS}=__webpack_require__(65676),DocumentType=__webpack_require__(6558),DocumentFragment=__webpack_require__(35968),Text=__webpack_require__(86112),Comment=__webpack_require__(56445),attributes=__webpack_require__(91742),nodeTypes=__webpack_require__(51445),serializationAdapter=__webpack_require__(80228),{customElementReactionsStack:customElementReactionsStack,invokeCEReactions:invokeCEReactions,lookupCEDefinition:lookupCEDefinition}=__webpack_require__(31720),OpenElementStack=__webpack_require__(46519),openElementStackOriginalPush=OpenElementStack.prototype.push;OpenElementStack.prototype.push=function(...args){openElementStackOriginalPush.apply(this,args),this.treeAdapter._currentElement=this.current;const after=this.items[this.stackTop];after._pushedOnStackOfOpenElements&&after._pushedOnStackOfOpenElements()};const openElementStackOriginalPop=OpenElementStack.prototype.pop;OpenElementStack.prototype.pop=function(...args){const before=this.items[this.stackTop];openElementStackOriginalPop.apply(this,args),this.treeAdapter._currentElement=this.current,before._poppedOffStackOfOpenElements&&before._poppedOffStackOfOpenElements()};class JSDOMParse5Adapter{constructor(documentImpl,options={}){this._documentImpl=documentImpl,this._globalObject=documentImpl._globalObject,this._fragment=options.fragment||!1,this._currentElement=void 0}_ownerDocument(){const{_currentElement:_currentElement}=this;return _currentElement?"template"===_currentElement.localName&&_currentElement.namespaceURI===HTML_NS?_currentElement.content._ownerDocument:_currentElement._ownerDocument:this._documentImpl}createDocument(){return this._documentImpl}createDocumentFragment(){const ownerDocument=this._ownerDocument();return DocumentFragment.createImpl(this._globalObject,[],{ownerDocument:ownerDocument})}createElement(localName,namespace,attrs){const ownerDocument=this._ownerDocument(),isAttribute=attrs.find((attr=>"is"===attr.name)),isValue=isAttribute?isAttribute.value:null;let willExecuteScript=!1;null===lookupCEDefinition(ownerDocument,namespace,localName)||this._fragment||(willExecuteScript=!0),willExecuteScript&&(ownerDocument._throwOnDynamicMarkupInsertionCounter++,customElementReactionsStack.push([]));const element=createElement(ownerDocument,localName,namespace,null,isValue,willExecuteScript);if(this.adoptAttributes(element,attrs),willExecuteScript){const queue=customElementReactionsStack.pop();invokeCEReactions(queue),ownerDocument._throwOnDynamicMarkupInsertionCounter--}return"_parserInserted"in element&&(element._parserInserted=!0),element}createCommentNode(data){const ownerDocument=this._ownerDocument();return Comment.createImpl(this._globalObject,[],{data:data,ownerDocument:ownerDocument})}appendChild(parentNode,newNode){parentNode._append(newNode)}insertBefore(parentNode,newNode,referenceNode){parentNode._insert(newNode,referenceNode)}setTemplateContent(templateElement,contentFragment){const{_ownerDocument:_ownerDocument,_host:_host}=templateElement._templateContents;contentFragment._ownerDocument=_ownerDocument,contentFragment._host=_host,templateElement._templateContents=contentFragment}setDocumentType(document,name,publicId,systemId){const ownerDocument=this._ownerDocument(),documentType=DocumentType.createImpl(this._globalObject,[],{name:name,publicId:publicId,systemId:systemId,ownerDocument:ownerDocument});document._append(documentType)}setDocumentMode(document,mode){document._mode=mode}detachNode(node){node.remove()}insertText(parentNode,text){const{lastChild:lastChild}=parentNode;if(lastChild&&lastChild.nodeType===nodeTypes.TEXT_NODE)lastChild.data+=text;else{const ownerDocument=this._ownerDocument(),textNode=Text.createImpl(this._globalObject,[],{data:text,ownerDocument:ownerDocument});parentNode._append(textNode)}}insertTextBefore(parentNode,text,referenceNode){const{previousSibling:previousSibling}=referenceNode;if(previousSibling&&previousSibling.nodeType===nodeTypes.TEXT_NODE)previousSibling.data+=text;else{const ownerDocument=this._ownerDocument(),textNode=Text.createImpl(this._globalObject,[],{data:text,ownerDocument:ownerDocument});parentNode._append(textNode,referenceNode)}}adoptAttributes(element,attrs){for(const attr of attrs){const prefix=""===attr.prefix?null:attr.prefix;attributes.setAttributeValue(element,attr.name,attr.value,prefix,attr.namespace)}}}Object.assign(JSDOMParse5Adapter.prototype,serializationAdapter),module.exports={parseFragment:function parseFragment(markup,contextElement){const ownerDocument="template"===contextElement.localName&&contextElement.namespaceURI===HTML_NS?contextElement.content._ownerDocument:contextElement._ownerDocument,config={...ownerDocument._parseOptions,sourceCodeLocationInfo:!1,treeAdapter:new JSDOMParse5Adapter(ownerDocument,{fragment:!0})};return parse5.parseFragment(contextElement,markup,config)},parseIntoDocument:function parseIntoDocument(markup,ownerDocument){const config={...ownerDocument._parseOptions,treeAdapter:new JSDOMParse5Adapter(ownerDocument)};return parse5.parse(markup,config)}}},63770:function(module,__unused_webpack_exports,__webpack_require__){const xmlParser=__webpack_require__(14270),htmlParser=__webpack_require__(99281);module.exports={parseFragment:function parseFragment(markup,contextElement){const{_parsingMode:_parsingMode}=contextElement._ownerDocument;let parseAlgorithm;return"html"===_parsingMode?parseAlgorithm=htmlParser.parseFragment:"xml"===_parsingMode&&(parseAlgorithm=xmlParser.parseFragment),parseAlgorithm(markup,contextElement)},parseIntoDocument:function parseIntoDocument(markup,ownerDocument){const{_parsingMode:_parsingMode}=ownerDocument;let parseAlgorithm;return"html"===_parsingMode?parseAlgorithm=htmlParser.parseIntoDocument:"xml"===_parsingMode&&(parseAlgorithm=xmlParser.parseIntoDocument),parseAlgorithm(markup,ownerDocument)}}},14270:function(module,__unused_webpack_exports,__webpack_require__){const{SaxesParser:SaxesParser}=__webpack_require__(92208),DOMException=__webpack_require__(69026),{createElement:createElement}=__webpack_require__(42018),DocumentFragment=__webpack_require__(35968),DocumentType=__webpack_require__(6558),CDATASection=__webpack_require__(66019),Comment=__webpack_require__(56445),ProcessingInstruction=__webpack_require__(69699),Text=__webpack_require__(86112),attributes=__webpack_require__(91742),{HTML_NS:HTML_NS}=__webpack_require__(65676),HTML5_DOCTYPE=/<!doctype html>/i,PUBLIC_DOCTYPE=/<!doctype\s+([^\s]+)\s+public\s+"([^"]+)"\s+"([^"]+)"/i,SYSTEM_DOCTYPE=/<!doctype\s+([^\s]+)\s+system\s+"([^"]+)"/i,CUSTOM_NAME_DOCTYPE=/<!doctype\s+([^\s>]+)/i;function createDocumentType(globalObject,ownerDocument,name,publicId,systemId){return DocumentType.createImpl(globalObject,[],{ownerDocument:ownerDocument,name:name,publicId:publicId,systemId:systemId})}function isHTMLTemplateElement(element){return"template"===element.tagName&&element.namespaceURI===HTML_NS}function createParser(rootNode,globalObject,saxesOptions){const parser=new SaxesParser({...saxesOptions,xmlns:!0,defaultXMLVersion:"1.0",forceXMLVersion:!0}),openStack=[rootNode];function getOwnerDocument(){const currentElement=openStack[openStack.length-1];return isHTMLTemplateElement(currentElement)?currentElement._templateContents._ownerDocument:currentElement._ownerDocument}function appendChild(child){const parentElement=openStack[openStack.length-1];isHTMLTemplateElement(parentElement)?parentElement._templateContents._insert(child,null):parentElement._insert(child,null)}return parser.on("text",saxesOptions.fragment?data=>{const ownerDocument=getOwnerDocument();appendChild(Text.createImpl(globalObject,[],{data:data,ownerDocument:ownerDocument}))}:data=>{if(openStack.length>1){const ownerDocument=getOwnerDocument();appendChild(Text.createImpl(globalObject,[],{data:data,ownerDocument:ownerDocument}))}}),parser.on("cdata",(data=>{const ownerDocument=getOwnerDocument();appendChild(CDATASection.createImpl(globalObject,[],{data:data,ownerDocument:ownerDocument}))})),parser.on("opentag",(tag=>{const{local:tagLocal,attributes:tagAttributes}=tag,ownerDocument=getOwnerDocument(),tagNamespace=""===tag.uri?null:tag.uri,tagPrefix=""===tag.prefix?null:tag.prefix,isValue=void 0===tagAttributes.is?null:tagAttributes.is.value,elem=createElement(ownerDocument,tagLocal,tagNamespace,tagPrefix,isValue,!0);"script"===tagLocal&&tagNamespace===HTML_NS&&(elem._parserInserted=!0);for(const key of Object.keys(tagAttributes)){const{prefix:prefix,local:local,uri:uri,value:value}=tagAttributes[key];attributes.setAttributeValue(elem,local,value,""===prefix?null:prefix,""===uri?null:uri)}appendChild(elem),openStack.push(elem)})),parser.on("closetag",(()=>{const elem=openStack.pop();"script"===elem.localName&&elem.namespaceURI===HTML_NS&&elem._eval()})),parser.on("comment",(data=>{const ownerDocument=getOwnerDocument();appendChild(Comment.createImpl(globalObject,[],{data:data,ownerDocument:ownerDocument}))})),parser.on("processinginstruction",(({target:target,body:body})=>{const ownerDocument=getOwnerDocument();appendChild(ProcessingInstruction.createImpl(globalObject,[],{target:target,data:body,ownerDocument:ownerDocument}))})),parser.on("doctype",(dt=>{const ownerDocument=getOwnerDocument();appendChild(function parseDocType(globalObject,ownerDocument,html){if(HTML5_DOCTYPE.test(html))return createDocumentType(globalObject,ownerDocument,"html","","");const publicPieces=PUBLIC_DOCTYPE.exec(html);if(publicPieces)return createDocumentType(globalObject,ownerDocument,publicPieces[1],publicPieces[2],publicPieces[3]);const systemPieces=SYSTEM_DOCTYPE.exec(html);return systemPieces?createDocumentType(globalObject,ownerDocument,systemPieces[1],"",systemPieces[2]):createDocumentType(globalObject,ownerDocument,CUSTOM_NAME_DOCTYPE.exec(html)[1]||"html","","")}(globalObject,ownerDocument,`<!doctype ${dt}>`));const entityMatcher=/<!ENTITY ([^ ]+) "([^"]+)">/g;let result;for(;result=entityMatcher.exec(dt);){const[,name,value]=result;name in parser.ENTITIES||(parser.ENTITIES[name]=value)}})),parser.on("error",(err=>{throw DOMException.create(globalObject,[err.message,"SyntaxError"])})),parser}module.exports={parseFragment:function parseFragment(markup,contextElement){const{_globalObject:_globalObject,_ownerDocument:_ownerDocument}=contextElement,fragment=DocumentFragment.createImpl(_globalObject,[],{ownerDocument:_ownerDocument});return createParser(fragment,_globalObject,{fragment:!0,resolvePrefix:prefix=>contextElement.lookupNamespaceURI(prefix)||void 0}).write(markup).close(),fragment},parseIntoDocument:function parseIntoDocument(markup,ownerDocument){const{_globalObject:_globalObject}=ownerDocument;return createParser(ownerDocument,_globalObject,{fileName:ownerDocument.location&&ownerDocument.location.href}).write(markup).close(),ownerDocument}}},62497:function(module){class QueueItem{constructor(onLoad,onError,dependentItem){this.onLoad=onLoad,this.onError=onError,this.data=null,this.error=null,this.dependentItem=dependentItem}}module.exports=class AsyncResourceQueue{constructor(){this.items=new Set,this.dependentItems=new Set}count(){return this.items.size+this.dependentItems.size}_notify(){this._listener&&this._listener()}_check(item){let promise;item.onError&&item.error?promise=item.onError(item.error):item.onLoad&&item.data&&(promise=item.onLoad(item.data)),promise.then((()=>{this.items.delete(item),this.dependentItems.delete(item),0===this.count()&&this._notify()}))}setListener(listener){this._listener=listener}push(request,onLoad,onError,dependentItem){const q=this,item=new QueueItem(onLoad,onError,dependentItem);return q.items.add(item),request.then((data=>(item.data=data,dependentItem&&!dependentItem.finished?(q.dependentItems.add(item),q.items.delete(item)):onLoad?q._check(item):(q.items.delete(item),0===q.count()&&q._notify(),null)))).catch((err=>(item.error=err,dependentItem&&!dependentItem.finished?(q.dependentItems.add(item),q.items.delete(item)):onError?q._check(item):(q.items.delete(item),0===q.count()&&q._notify(),null))))}notifyItem(syncItem){for(const item of this.dependentItems)item.dependentItem===syncItem&&this._check(item)}}},75217:function(module,__unused_webpack_exports,__webpack_require__){const ResourceLoader=__webpack_require__(32638);module.exports=class NoOpResourceLoader extends ResourceLoader{fetch(){return null}}},90416:function(module,__unused_webpack_exports,__webpack_require__){const idlUtils=__webpack_require__(80421),{fireAnEvent:fireAnEvent}=__webpack_require__(96799);module.exports=class PerDocumentResourceLoader{constructor(document){this._document=document,this._defaultEncoding=document._encoding,this._resourceLoader=document._defaultView?document._defaultView._resourceLoader:null,this._requestManager=document._requestManager,this._queue=document._queue,this._deferQueue=document._deferQueue,this._asyncQueue=document._asyncQueue}fetch(url,{element:element,onLoad:onLoad,onError:onError}){const request=this._resourceLoader.fetch(url,{cookieJar:this._document._cookieJar,element:idlUtils.wrapperForImpl(element),referrer:this._document.URL});if(null===request)return null;this._requestManager.add(request);const onErrorWrapped=error=>{this._requestManager.remove(request),onError&&onError(error),fireAnEvent("error",element);const err=new Error(`Could not load ${element.localName}: "${url}"`);return err.type="resource loading",err.detail=error,this._document._defaultView._virtualConsole.emit("jsdomError",err),Promise.resolve()},onLoadWrapped=data=>{this._requestManager.remove(request),this._addCookies(url,request.response?request.response.headers:{});try{const result=onLoad?onLoad(data):void 0;return Promise.resolve(result).then((()=>(fireAnEvent("load",element),Promise.resolve()))).catch((err=>onErrorWrapped(err)))}catch(err){return onErrorWrapped(err)}};return"script"===element.localName&&element.hasAttributeNS(null,"async")?this._asyncQueue.push(request,onLoadWrapped,onErrorWrapped,this._queue.getLastScript()):"script"===element.localName&&element.hasAttributeNS(null,"defer")?this._deferQueue.push(request,onLoadWrapped,onErrorWrapped,!1,element):this._queue.push(request,onLoadWrapped,onErrorWrapped,!1,element),request}_addCookies(url,headers){let cookies=headers["set-cookie"];cookies&&(Array.isArray(cookies)||(cookies=[cookies]),cookies.forEach((cookie=>{this._document._cookieJar.setCookieSync(cookie,url,{http:!0,ignoreError:!0})})))}}},78589:function(module){module.exports=class RequestManager{constructor(){this.openedRequests=[]}add(req){this.openedRequests.push(req)}remove(req){const idx=this.openedRequests.indexOf(req);-1!==idx&&this.openedRequests.splice(idx,1)}close(){for(const openedRequest of this.openedRequests)openedRequest.abort();this.openedRequests=[]}size(){return this.openedRequests.length}}},32638:function(module,__unused_webpack_exports,__webpack_require__){var process=__webpack_require__(34155),Buffer=__webpack_require__(48764).Buffer;const fs=__webpack_require__(51459),{fileURLToPath:fileURLToPath}=__webpack_require__(8575),{parseURL:parseURL}=__webpack_require__(77101),dataURLFromRecord=__webpack_require__(61501).fromURLRecord,packageVersion=__webpack_require__(89244).i8,agentFactory=__webpack_require__(77470),Request=__webpack_require__(65111),IS_BROWSER="[object process]"!==Object.prototype.toString.call(process);module.exports=class ResourceLoader{constructor({strictSSL:strictSSL=!0,proxy:proxy,userAgent:userAgent=`Mozilla/5.0 (${process.platform||"unknown OS"}) AppleWebKit/537.36 (KHTML, like Gecko) jsdom/${packageVersion}`}={}){this._strictSSL=strictSSL,this._proxy=proxy,this._userAgent=userAgent}_readDataURL(urlRecord){const dataURL=dataURLFromRecord(urlRecord);let timeoutId;const promise=new Promise((resolve=>{timeoutId=setTimeout(resolve,0,Buffer.from(dataURL.body))}));return promise.abort=()=>{void 0!==timeoutId&&clearTimeout(timeoutId)},promise}_readFile(filePath){let readableStream,abort;const promise=new Promise(((resolve,reject)=>{readableStream=fs.createReadStream(filePath);let data=Buffer.alloc(0);abort=reject,readableStream.on("error",reject),readableStream.on("data",(chunk=>{data=Buffer.concat([data,chunk])})),readableStream.on("end",(()=>{resolve(data)}))}));return promise.abort=()=>{readableStream.destroy();const error=new Error("request canceled by user");error.isAbortError=!0,abort(error)},promise}fetch(urlString,{accept:accept,cookieJar:cookieJar,referrer:referrer}={}){const url=parseURL(urlString);if(!url)return Promise.reject(new Error(`Tried to fetch invalid URL ${urlString}`));switch(url.scheme){case"data":return this._readDataURL(url);case"http":case"https":{const agents=agentFactory(this._proxy,this._strictSSL),headers={"User-Agent":this._userAgent,"Accept-Language":"en","Accept-Encoding":"gzip",Accept:accept||"*/*"};referrer&&!IS_BROWSER&&(headers.Referer=referrer);const requestClient=new Request(urlString,{followRedirects:!0,cookieJar:cookieJar,agents:agents},{headers:headers}),promise=new Promise(((resolve,reject)=>{const accumulated=[];requestClient.once("response",(res=>{promise.response=res;const{statusCode:statusCode}=res;(statusCode<200||statusCode>299)&&(requestClient.abort(),reject(new Error(`Resource was not loaded. Status: ${statusCode}`)))})),requestClient.on("data",(chunk=>{accumulated.push(chunk)})),requestClient.on("end",(()=>resolve(Buffer.concat(accumulated)))),requestClient.on("error",reject)}));return requestClient.on("end",(()=>{promise.href=requestClient.currentURL})),promise.abort=requestClient.abort.bind(requestClient),promise.getHeader=name=>headers[name]||requestClient.getHeader(name),requestClient.end(),promise}case"file":try{return this._readFile(fileURLToPath(urlString))}catch(e){return Promise.reject(e)}default:return Promise.reject(new Error(`Tried to fetch URL ${urlString} with invalid scheme ${url.scheme}`))}}}},39269:function(module){module.exports=class ResourceQueue{constructor({paused:paused,asyncQueue:asyncQueue}={}){this.paused=Boolean(paused),this._asyncQueue=asyncQueue}getLastScript(){let head=this.tail;for(;head;){if(head.isScript)return head;head=head.prev}return null}_moreScripts(){let found=!1,head=this.tail;for(;head&&!found;)found=head.isScript,head=head.prev;return found}_notify(){this._listener&&this._listener()}setListener(listener){this._listener=listener}push(request,onLoad,onError,keepLast,element){const isScript=!!element&&"script"===element.localName;if(!request){if(isScript&&!this._moreScripts())return onLoad();request=Promise.resolve()}const q=this,item={isScript:isScript,err:null,element:element,fired:!1,data:null,keepLast:keepLast,prev:q.tail,check(){if(!q.paused&&!this.prev&&this.fired){let promise;this.err&&onError&&(promise=onError(this.err)),!this.err&&onLoad&&(promise=onLoad(this.data)),Promise.resolve(promise).then((()=>{this.next?(this.next.prev=null,this.next.check()):(q.tail=null,q._notify()),this.finished=!0,q._asyncQueue&&q._asyncQueue.notifyItem(this)}))}}};return q.tail?q.tail.keepLast?(q.tail.prev&&(q.tail.prev.next=item),item.prev=q.tail.prev,q.tail.prev=item,item.next=q.tail):(q.tail.next=item,q.tail=item):q.tail=item,request.then((data=>{item.fired=1,item.data=data,item.check()})).catch((err=>{item.fired=!0,item.err=err,item.check()}))}resume(){if(!this.paused)return;this.paused=!1;let head=this.tail;for(;head&&head.prev;)head=head.prev;head&&head.check()}}},40851:function(__unused_webpack_module,exports,__webpack_require__){const cssom=__webpack_require__(62725),cssstyle=__webpack_require__(75063);exports.addToCore=core=>{core.StyleSheet=cssom.StyleSheet,core.MediaList=cssom.MediaList,core.CSSStyleSheet=cssom.CSSStyleSheet,core.CSSRule=cssom.CSSRule,core.CSSStyleRule=cssom.CSSStyleRule,core.CSSMediaRule=cssom.CSSMediaRule,core.CSSImportRule=cssom.CSSImportRule,core.CSSStyleDeclaration=cssstyle.CSSStyleDeclaration}},16872:function(module){module.exports=core=>{var xpath={};function getNodeName(nodeOrAttr){return"Attr"===nodeOrAttr.constructor.name?nodeOrAttr.name:nodeOrAttr.nodeName}var ncNameChars,qNameChars,re,Stream=xpath.Stream=function Stream(str){this.original=this.str=str,this.peeked=null,this.prev=null,this.prevprev=null};Stream.prototype={peek:function(){if(this.peeked)return this.peeked;var m=this.re.exec(this.str);return m?(this.str=this.str.substr(m[0].length),this.peeked=m[1]):null},peek2:function(){this.peek();var m=this.re.exec(this.str);return m?m[1]:null},pop:function(){var r=this.peek();return this.peeked=null,this.prevprev=this.prev,this.prev=r,r},trypop:function(tokens){var tok=this.peek();if(tok===tokens)return this.pop();if(Array.isArray(tokens))for(var i=0;i<tokens.length;++i){if(tokens[i]==tok)return this.pop()}},trypopfuncname:function(){var tok=this.peek();if(!this.isQnameRe.test(tok))return null;switch(tok){case"comment":case"text":case"processing-instruction":case"node":return null}return"("!=this.peek2()?null:this.pop()},trypopaxisname:function(){switch(this.peek()){case"ancestor":case"ancestor-or-self":case"attribute":case"child":case"descendant":case"descendant-or-self":case"following":case"following-sibling":case"namespace":case"parent":case"preceding":case"preceding-sibling":case"self":if("::"==this.peek2())return this.pop()}return null},trypopnametest:function(){var tok=this.peek();return"*"===tok||this.startsWithNcNameRe.test(tok)?this.pop():null},trypopliteral:function(){var tok=this.peek();if(null==tok)return null;var first=tok.charAt(0),last=tok.charAt(tok.length-1);return'"'===first&&'"'===last||"'"===first&&"'"===last?(this.pop(),tok.substr(1,tok.length-2)):void 0},trypopnumber:function(){var tok=this.peek();return this.isNumberRe.test(tok)?parseFloat(this.pop()):null},trypopvarref:function(){var tok=this.peek();return null==tok?null:"$"===tok.charAt(0)?this.pop().substr(1):null},position:function(){return this.original.length-this.str.length}},qNameChars=(ncNameChars="[A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�][A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�\\-\\.0-9·̀-ͯ‿-⁀]*")+"(?::"+ncNameChars+")?",re=new RegExp("^[ \t\r\n]*([0-9]+(?:\\.[0-9]*)?|\\.[0-9]+|\\.\\.|[\\(\\)\\[\\].@,]|::|\\*|[A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�][A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�\\-\\.0-9·̀-ͯ‿-⁀]*:\\*|[A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�][A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�\\-\\.0-9·̀-ͯ‿-⁀]*(?::[A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�][A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�\\-\\.0-9·̀-ͯ‿-⁀]*)?|and|or|mod|div|//|!=|<=|>=|[*/|+\\-=<>]|\"[^\"]*\"|'[^']*'|\\$[A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�][A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�\\-\\.0-9·̀-ͯ‿-⁀]*(?::[A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�][A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�\\-\\.0-9·̀-ͯ‿-⁀]*)?)"),Stream.prototype.re=re,Stream.prototype.startsWithNcNameRe=new RegExp("^"+ncNameChars),Stream.prototype.isQnameRe=new RegExp("^"+qNameChars+"$"),Stream.prototype.isNumberRe=new RegExp("^[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+$");var parse=xpath.parse=function parse(stream,a){for(var x,r=orExpr(stream,a),unparsed=[];x=stream.pop();)unparsed.push(x);if(unparsed.length)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Unparsed tokens: "+unparsed.join(" "));return r};function binaryL(subExpr,stream,a,ops){var op,lhs=subExpr(stream,a);if(null==lhs)return null;for(;op=stream.trypop(ops);){var rhs=subExpr(stream,a);if(null==rhs)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected something after "+op);lhs=a.node(op,lhs,rhs)}return lhs}function locationPath(stream,a){return function absoluteLocationPath(stream,a){var op=stream.peek();return"/"===op||"//"===op?relativeLocationPath(a.node("Root"),stream,a,!0):null}(stream,a)||relativeLocationPath(null,stream,a)}function relativeLocationPath(lhs,stream,a,isOnlyRootOk){if(null==lhs&&null==(lhs=step(stream,a)))return lhs;for(var op;op=stream.trypop(["/","//"]);){"//"===op&&(lhs=a.node("/",lhs,a.node("Axis","descendant-or-self","node",void 0)));var rhs=step(stream,a);if(null==rhs&&"/"===op&&isOnlyRootOk)return lhs;if(isOnlyRootOk=!1,null==rhs)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected step after "+op);lhs=a.node("/",lhs,rhs)}return lhs}function step(stream,a){var abbrStep=stream.trypop([".",".."]);if("."===abbrStep)return a.node("Axis","self","node");if(".."===abbrStep)return a.node("Axis","parent","node");var nodeName,axis=function axisSpecifier(stream,a){if(null!=stream.trypop("@"))return"attribute";var axisName=stream.trypopaxisname();if(null!=axisName){if(null==stream.trypop("::"))throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Should not happen. Should be ::.");return axisName}}(stream),nodeType=function nodeTypeTest(stream,a){if("("!==stream.peek2())return null;var type=stream.trypop(["comment","text","processing-instruction","node"]);if(null!=type){if(null==stream.trypop("("))throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Should not happen.");if("processing-instruction"==type&&stream.trypopliteral(),null==stream.trypop(")"))throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected close parens.");return type}}(stream);if(null==nodeType&&(nodeName=function nodeNameTest(stream,a){var name=stream.trypopnametest();return null!=name?name:null}(stream)),null==axis&&null==nodeType&&null==nodeName)return null;if(null==nodeType&&null==nodeName)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected nodeTest after axisSpecifier "+axis);null==axis&&(axis="child"),null==nodeType&&(nodeType="attribute"===axis?"attribute":"namespace"===axis?"namespace":"element");for(var pred,lhs=a.node("Axis",axis,nodeType,nodeName);null!=(pred=predicate(lhs,stream,a));)lhs=pred;return lhs}function predicate(lhs,stream,a){if(null==stream.trypop("["))return null;var expr=orExpr(stream,a);if(null==expr)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected expression after [");if(null==stream.trypop("]"))throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected ] after expression.");return a.node("Predicate",lhs,expr)}function primaryExpr(stream,a){var x=stream.trypopliteral();if(null==x&&(x=stream.trypopnumber()),null!=x)return x;var varRef=stream.trypopvarref();if(null!=varRef)return a.node("VariableReference",varRef);var funCall=function functionCall(stream,a){var name=stream.trypopfuncname(stream,a);if(null==name)return null;if(null==stream.trypop("("))throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected ( ) after function name.");var params=[],first=!0;for(;null==stream.trypop(")");){if(!first&&null==stream.trypop(","))throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected , between arguments of the function.");first=!1;var param=orExpr(stream,a);if(null==param)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected expression as argument of function.");params.push(param)}return a.node("FunctionCall",name,params)}(stream,a);if(null!=funCall)return funCall;if(stream.trypop("(")){var e=orExpr(stream,a);if(null==e)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected expression after (.");if(null==stream.trypop(")"))throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected ) after expression.");return e}return null}function pathExpr(stream,a){var filter=function filterExpr(stream,a){var primary=primaryExpr(stream,a);if(null==primary)return null;var pred,lhs=primary;for(;null!=(pred=predicate(lhs,stream,a));)lhs=pred;return lhs}(stream,a);if(null==filter){var loc=locationPath(stream,a);if(null==loc)throw new Error;return a.node("PathExpr",loc)}var rel=relativeLocationPath(filter,stream,a,!1);return filter===rel?rel:a.node("PathExpr",rel)}function orExpr(stream,a){stream.peeked,stream.str;var r=binaryL(andExpr,stream,a,"or");stream.peeked,stream.str;return r}function andExpr(stream,a){return binaryL(equalityExpr,stream,a,"and")}function equalityExpr(stream,a){return binaryL(relationalExpr,stream,a,["=","!="])}function relationalExpr(stream,a){return binaryL(additiveExpr,stream,a,["<",">","<=",">="])}function additiveExpr(stream,a){return binaryL(multiplicativeExpr,stream,a,["+","-"])}function multiplicativeExpr(stream,a){return binaryL(unaryExpr,stream,a,["*","div","mod"])}function unaryExpr(stream,a){if(stream.trypop("-")){var e=unaryExpr(stream,a);if(null==e)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected unary expression after -");return a.node("UnaryMinus",e)}return function unionExpr(stream,a){return binaryL(pathExpr,stream,a,"|")}(stream,a)}var astFactory={node:function(){return Array.prototype.slice.call(arguments)}};function NodeMultiSet(isReverseAxis){this.nodes=[],this.pos=[],this.lasts=[],this.nextPos=[],this.seriesIndexes=[],this.isReverseAxis=isReverseAxis,this._pushToNodes=isReverseAxis?Array.prototype.unshift:Array.prototype.push}function NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase){this.nodeTypeNum=nodeTypeNum,this.nodeName=nodeName,this.shouldLowerCase=shouldLowerCase,this.nodeNameTest=null==nodeName?this._alwaysTrue:shouldLowerCase?this._nodeNameLowerCaseEquals:this._nodeNameEquals}function followingSiblingHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,shift,peek,followingNode,andSelf,isReverseAxis){for(var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase),nodeMultiSet=new NodeMultiSet(isReverseAxis);0<nodeList.length;){var node=shift.call(nodeList);console.assert(null!=node),node=followingNode(node),nodeMultiSet.pushSeries();for(var numPushed=1;null!=node;)!andSelf&&matcher.matches(node)&&nodeMultiSet.addNode(node),node===peek.call(nodeList)&&(shift.call(nodeList),nodeMultiSet.pushSeries(),numPushed++),andSelf&&matcher.matches(node)&&nodeMultiSet.addNode(node),node=followingNode(node);for(;0<numPushed--;)nodeMultiSet.popSeries()}return nodeMultiSet}function followingNonDescendantNode(node){if(node.ownerElement){if(node.ownerElement.firstChild)return node.ownerElement.firstChild;node=node.ownerElement}do{if(node.nextSibling)return node.nextSibling}while(node=node.parentNode);return null}function followingNode(node){if(node.ownerElement&&(node=node.ownerElement),null!=node.firstChild)return node.firstChild;do{if(null!=node.nextSibling)return node.nextSibling;node=node.parentNode}while(node);return null}function precedingNode(node){if(node.ownerElement)return node.ownerElement;if(null!=node.previousSibling){for(node=node.previousSibling;null!=node.lastChild;)node=node.lastChild;return node}return null!=node.parentNode?node.parentNode:null}function descendantDfs(nodeMultiSet,node,remaining,matcher,andSelf,attrIndices,attrNodes){for(;0<remaining.length&&null!=remaining[0].ownerElement;){var attr=remaining.shift();andSelf&&matcher.matches(attr)&&(attrNodes.push(attr),attrIndices.push(nodeMultiSet.nodes.length))}null==node||andSelf||matcher.matches(node)&&nodeMultiSet.addNode(node);var pushed=!1;if(null==node){if(0===remaining.length)return;node=remaining.shift(),nodeMultiSet.pushSeries(),pushed=!0}else 0<remaining.length&&node===remaining[0]&&(nodeMultiSet.pushSeries(),pushed=!0,remaining.shift());andSelf&&matcher.matches(node)&&nodeMultiSet.addNode(node);for(var nodeList=node.childNodes,j=0;j<nodeList.length;++j){descendantDfs(nodeMultiSet,nodeList[j],remaining,matcher,andSelf,attrIndices,attrNodes)}pushed&&nodeMultiSet.popSeries()}function descenantHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,andSelf){for(var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase),nodeMultiSet=new NodeMultiSet(!1),attrIndices=[],attrNodes=[];0<nodeList.length;)descendantDfs(nodeMultiSet,null,nodeList,matcher,andSelf,attrIndices,attrNodes);nodeMultiSet.finalize();for(var i=attrNodes.length-1;i>=0;--i)nodeMultiSet.nodes.splice(attrIndices[i],attrIndices[i],attrNodes[i]),nodeMultiSet.pos.splice(attrIndices[i],attrIndices[i],[1]),nodeMultiSet.lasts.splice(attrIndices[i],attrIndices[i],[1]);return nodeMultiSet}function ancestorHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,andSelf){for(var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase),ancestors=[],i=0;i<nodeList.length;++i){for(var node=nodeList[i],isFirst=!0,a=[];null!=node;)isFirst&&!andSelf||matcher.matches(node)&&a.push(node),isFirst=!1,node=node.parentNode||node.ownerElement;0<a.length&&ancestors.push(a)}var lasts=[];for(i=0;i<ancestors.length;++i)lasts.push(ancestors[i].length);new NodeMultiSet(!0);for(var newCtx={nodes:[],pos:[],lasts:[]};0<ancestors.length;){var pos=[ancestors[0].length],last=[lasts[0]];for(node=ancestors[0].pop(),i=ancestors.length-1;i>0;--i)node===ancestors[i][ancestors[i].length-1]&&(pos.push(ancestors[i].length),last.push(lasts[i]),ancestors[i].pop(),0===ancestors[i].length&&(ancestors.splice(i,i+1),lasts.splice(i,i+1)));0===ancestors[0].length&&(ancestors.shift(),lasts.shift()),newCtx.nodes.push(node),newCtx.pos.push(pos),newCtx.lasts.push(last)}return newCtx}function addressVector(node){var r=[node];for(null!=node.ownerElement&&(node=node.ownerElement,r.push(-1));null!=node;){for(var i=0;null!=node.previousSibling;)node=node.previousSibling,i++;r.push(i),node=node.parentNode}return r}function addressComparator(a,b){var c,minlen=Math.min(a.length-1,b.length-1),alen=a.length,blen=b.length;if(a[0]===b[0])return 0;for(var i=0;i<minlen&&0===(c=a[alen-i-1]-b[blen-i-1]);++i);return null!=c&&0!==c||(c=alen-blen),0===c&&(c=getNodeName(a)-getNodeName(b)),0===c&&(c=1),c}NodeMultiSet.prototype={pushSeries:function pushSeries(){this.nextPos.push(1),this.seriesIndexes.push(this.nodes.length)},popSeries:function popSeries(){console.assert(0<this.nextPos.length,this.nextPos);for(var last=this.nextPos.pop()-1,indexInPos=this.nextPos.length,seriesBeginIndex=this.seriesIndexes.pop(),seriesEndIndex=this.nodes.length,i=seriesBeginIndex;i<seriesEndIndex;++i)console.assert(indexInPos<this.lasts[i].length),console.assert(void 0===this.lasts[i][indexInPos]),this.lasts[i][indexInPos]=last},finalize:function(){if(null==this.nextPos)return this;console.assert(0===this.nextPos.length);for(var lastsJSON=JSON.stringify(this.lasts),i=0;i<this.lasts.length;++i)for(var j=0;j<this.lasts[i].length;++j)console.assert(null!=this.lasts[i][j],i+","+j+":"+lastsJSON);return this.pushSeries=this.popSeries=this.addNode=function(){throw new Error("Already finalized.")},this},addNode:function addNode(node){console.assert(node),this._pushToNodes.call(this.nodes,node),this._pushToNodes.call(this.pos,this.nextPos.slice()),this._pushToNodes.call(this.lasts,new Array(this.nextPos.length));for(var i=0;i<this.nextPos.length;++i)this.nextPos[i]++},simplify:function(){return this.finalize(),{nodes:this.nodes,pos:this.pos,lasts:this.lasts}}},NodeMatcher.prototype={matches:function matches(node){return!(0!==this.nodeTypeNum&&!this._nodeTypeMatches(node))&&this.nodeNameTest(getNodeName(node))},_nodeTypeMatches(nodeOrAttr){return"Attr"===nodeOrAttr.constructor.name&&2===this.nodeTypeNum||nodeOrAttr.nodeType===this.nodeTypeNum},_alwaysTrue:function(name){return!0},_nodeNameEquals:function _nodeNameEquals(name){return this.nodeName===name},_nodeNameLowerCaseEquals:function _nodeNameLowerCaseEquals(name){return this.nodeName===name.toLowerCase()}};var sortUniqDocumentOrder=xpath.sortUniqDocumentOrder=function(nodes){for(var a=[],i=0;i<nodes.length;i++){var v=addressVector(nodes[i]);a.push(v)}a.sort(addressComparator);var b=[];for(i=0;i<a.length;i++)0<i&&a[i][0]===a[i-1][0]||b.push(a[i][0]);return b};function mergeNodeLists(x,y){var a,b,aanc,banc,r=[];if("object"!=typeof x)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Invalid LHS for | operator (expected node-set): "+x);if("object"!=typeof y)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Invalid LHS for | operator (expected node-set): "+y);for(;null==a&&null!=(a=x.shift())&&(aanc=addressVector(a)),null==b&&null!=(b=y.shift())&&(banc=addressVector(b)),null!=a&&null!=b;){var c=addressComparator(aanc,banc);c<0?(r.push(a),a=null,aanc=null):c>0?(r.push(b),b=null,banc=null):getNodeName(a)<getNodeName(b)?(r.push(a),a=null,aanc=null):getNodeName(a)>getNodeName(b)||a!==b?(r.push(b),b=null,banc=null):(console.assert(a===b,c),b=null,banc=null)}for(;a;)r.push(a),a=x.shift();for(;b;)r.push(b),b=y.shift();return r}function comparisonHelper(test,x,y,isNumericComparison){var coersion;if(coersion=isNumericComparison?fn.number:"boolean"==typeof x||"boolean"==typeof y?fn.boolean:"number"==typeof x||"number"==typeof y?fn.number:fn.string,"object"==typeof x&&"object"==typeof y){for(var i=0;i<x.nodes.length;++i)for(var xi=coersion({nodes:[x.nodes[i]]}),j=0;j<y.nodes.length;++j){if(test(xi,coersion({nodes:[y.nodes[j]]})))return!0}return!1}if("object"==typeof x&&x.nodes&&x.nodes.length){for(i=0;i<x.nodes.length;++i){if(test(xi=coersion({nodes:[x.nodes[i]]}),coersion(y)))return!0}return!1}if("object"==typeof y&&x.nodes&&x.nodes.length){for(i=0;i<x.nodes.length;++i){var yi=coersion({nodes:[y.nodes[i]]});if(test(coersion(x),yi))return!0}return!1}return test(coersion(x),coersion(y))}var axes=xpath.axes={ancestor:function ancestor(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return ancestorHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,!1)},"ancestor-or-self":function ancestorOrSelf(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return ancestorHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,!0)},attribute:function attribute(nodeList,nodeTypeNum,nodeName,shouldLowerCase){var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase),nodeMultiSet=new NodeMultiSet(!1);if(null!=nodeName)for(var i=0;i<nodeList.length;++i){if(null!=(node=nodeList[i]).getAttributeNode)null!=(attr=node.getAttributeNode(nodeName))&&matcher.matches(attr)&&(nodeMultiSet.pushSeries(),nodeMultiSet.addNode(attr),nodeMultiSet.popSeries())}else for(i=0;i<nodeList.length;++i){var node;if(null!=(node=nodeList[i]).attributes){nodeMultiSet.pushSeries();for(var j=0;j<node.attributes.length;j++){var attr=node.attributes[j];matcher.matches(attr)&&nodeMultiSet.addNode(attr)}nodeMultiSet.popSeries()}}return nodeMultiSet.finalize()},child:function child(nodeList,nodeTypeNum,nodeName,shouldLowerCase){for(var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase),nodeMultiSet=new NodeMultiSet(!1),i=0;i<nodeList.length;++i){var n=nodeList[i];if(!n.ownerElement&&n.childNodes){nodeMultiSet.pushSeries();for(var childList=1===nodeTypeNum&&null!=n.children?n.children:n.childNodes,j=0;j<childList.length;++j){var child=childList[j];matcher.matches(child)&&nodeMultiSet.addNode(child)}nodeMultiSet.popSeries()}}return nodeMultiSet.finalize(),function sortNodeMultiSet(nodeMultiSet){for(var a=[],i=0;i<nodeMultiSet.nodes.length;i++){var v=addressVector(nodeMultiSet.nodes[i]);a.push({v:v,n:nodeMultiSet.nodes[i],p:nodeMultiSet.pos[i],l:nodeMultiSet.lasts[i]})}a.sort((function compare(x,y){return addressComparator(x.v,y.v)}));var r={nodes:[],pos:[],lasts:[]};for(i=0;i<a.length;++i)r.nodes.push(a[i].n),r.pos.push(a[i].p),r.lasts.push(a[i].l);return r}(nodeMultiSet)},descendant:function descenant(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return descenantHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,!1)},"descendant-or-self":function descenantOrSelf(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return descenantHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,!0)},following:function following(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return function followingHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase){for(var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase),nodeMultiSet=new NodeMultiSet(!1),cursor=nodeList[0],unorderedFollowingStarts=[],i=0;i<nodeList.length;i++){var start=followingNonDescendantNode(nodeList[i]);start&&unorderedFollowingStarts.push(start)}if(0===unorderedFollowingStarts.length)return{nodes:[]};for(var started=0;cursor=followingNode(cursor);){for(i=unorderedFollowingStarts.length-1;i>=0;i--)cursor===unorderedFollowingStarts[i]&&(nodeMultiSet.pushSeries(),unorderedFollowingStarts.splice(i,i+1),started++);started&&matcher.matches(cursor)&&nodeMultiSet.addNode(cursor)}for(console.assert(0===unorderedFollowingStarts.length),i=0;i<started;i++)nodeMultiSet.popSeries();return nodeMultiSet.finalize()}(nodeList,nodeTypeNum,nodeName,shouldLowerCase)},"following-sibling":function followingSibling(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return followingSiblingHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,Array.prototype.shift,(function(){return this[0]}),(function(node){return node.nextSibling}))},namespace:function namespace(nodeList,nodeTypeNum,nodeName,shouldLowerCase){},parent:function parent(nodeList,nodeTypeNum,nodeName,shouldLowerCase){for(var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase),nodes=[],pos=[],i=0;i<nodeList.length;++i){var parent=nodeList[i].parentNode||nodeList[i].ownerElement;null!=parent&&(matcher.matches(parent)&&(nodes.length>0&&parent===nodes[nodes.length-1]||(nodes.push(parent),pos.push([1]))))}return{nodes:nodes,pos:pos,lasts:pos}},preceding:function preceding(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return function precedingHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase){var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase),cursor=nodeList.pop();if(null==cursor)return{nodes:{}};for(var r={nodes:[],pos:[],lasts:[]},nextParents=[cursor.parentNode||cursor.ownerElement],nextPos=[1];cursor=precedingNode(cursor);){cursor===nodeList[nodeList.length-1]&&(nextParents.push(nodeList.pop()),nextPos.push(1));var pos,matches=matcher.matches(cursor),someoneUsed=!1;matches&&(pos=nextPos.slice());for(var i=0;i<nextParents.length;++i)cursor===nextParents[i]?(nextParents[i]=cursor.parentNode||cursor.ownerElement,matches&&(pos[i]=null)):matches&&(pos[i]=nextPos[i]++,someoneUsed=!0);someoneUsed&&(r.nodes.unshift(cursor),r.pos.unshift(pos))}for(i=0;i<r.pos.length;++i){var lasts=[];r.lasts.push(lasts);for(var j=r.pos[i].length-1;j>=0;j--)null==r.pos[i][j]?r.pos[i].splice(j,j+1):lasts.unshift(nextPos[j]-1)}return r}(nodeList,nodeTypeNum,nodeName,shouldLowerCase)},"preceding-sibling":function precedingSibling(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return followingSiblingHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,Array.prototype.pop,(function(){return this[this.length-1]}),(function(node){return node.previousSibling}),!1,!0)},self:function self(nodeList,nodeTypeNum,nodeName,shouldLowerCase){for(var nodes=[],pos=[],matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase),i=0;i<nodeList.length;++i)matcher.matches(nodeList[i])&&(nodes.push(nodeList[i]),pos.push([1]));return{nodes:nodes,pos:pos,lasts:pos}}},fn={number:function number(optObject){return"number"==typeof optObject?optObject:"string"==typeof optObject?parseFloat(optObject):"boolean"==typeof optObject?+optObject:fn.number(fn.string.call(this,optObject))},string:function string(optObject){return null==optObject?fn.string(this):"string"==typeof optObject||"boolean"==typeof optObject||"number"==typeof optObject?""+optObject:0==optObject.nodes.length?"":null!=optObject.nodes[0].textContent?optObject.nodes[0].textContent:optObject.nodes[0].nodeValue},boolean:function booleanVal(x){return"object"==typeof x?x.nodes.length>0:!!x},last:function last(){return console.assert(Array.isArray(this.pos)),console.assert(Array.isArray(this.lasts)),console.assert(1===this.pos.length),console.assert(1===this.lasts.length),console.assert(1===this.lasts[0].length),this.lasts[0][0]},position:function position(){return console.assert(Array.isArray(this.pos)),console.assert(Array.isArray(this.lasts)),console.assert(1===this.pos.length),console.assert(1===this.lasts.length),console.assert(1===this.pos[0].length),this.pos[0][0]},count:function count(nodeSet){if("object"!=typeof nodeSet)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Function count(node-set) got wrong argument type: "+nodeSet);return nodeSet.nodes.length},id:function id(object){var ids,r={nodes:[]},doc=this.nodes[0].ownerDocument||this.nodes[0];if(console.assert(doc),"object"==typeof object){ids=[];for(var i=0;i<object.nodes.length;++i){var idNode=object.nodes[i],a=fn.string({nodes:[idNode]}).split(/[ \t\r\n]+/g);Array.prototype.push.apply(ids,a)}}else{ids=a=fn.string(object).split(/[ \t\r\n]+/g)}for(i=0;i<ids.length;++i){var id=ids[i];if(0!==id.length){var node=doc.getElementById(id);null!=node&&r.nodes.push(node)}}return r.nodes=sortUniqDocumentOrder(r.nodes),r},"local-name":function(nodeSet){if(null==nodeSet)return fn.name(this);if(null==nodeSet.nodes)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"argument to name() must be a node-set. got "+nodeSet);return nodeSet.nodes[0].localName},"namespace-uri":function(nodeSet){throw new Error("not implemented yet")},name:function(nodeSet){if(null==nodeSet)return fn.name(this);if(null==nodeSet.nodes)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"argument to name() must be a node-set. got "+nodeSet);return nodeSet.nodes[0].name},concat:function concat(x){for(var l=[],i=0;i<arguments.length;++i)l.push(fn.string(arguments[i]));return l.join("")},"starts-with":function startsWith(a,b){var as=fn.string(a),bs=fn.string(b);return as.substr(0,bs.length)===bs},contains:function contains(a,b){var as=fn.string(a),bs=fn.string(b);return-1!==as.indexOf(bs)},"substring-before":function substringBefore(a,b){var as=fn.string(a),bs=fn.string(b),i=as.indexOf(bs);return-1===i?"":as.substr(0,i)},"substring-after":function substringBefore(a,b){var as=fn.string(a),bs=fn.string(b),i=as.indexOf(bs);return-1===i?"":as.substr(i+bs.length)},substring:function substring(string,start,optEnd){if(null==string||null==start)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Must be at least 2 arguments to string()");var sString=fn.string(string),iStart=fn.round(start),iEnd=null==optEnd?null:fn.round(optEnd);return null==iEnd?sString.substr(iStart-1):sString.substr(iStart-1,iEnd)},"string-length":function stringLength(optString){return fn.string.call(this,optString).length},"normalize-space":function normalizeSpace(optString){return fn.string.call(this,optString).replace(/[ \t\r\n]+/g," ").replace(/^ | $/g,"")},translate:function translate(string,from,to){for(var sString=fn.string.call(this,string),sFrom=fn.string(from),sTo=fn.string(to),eachCharRe=[],map={},i=0;i<sFrom.length;++i){var c=sFrom.charAt(i);map[c]=sTo.charAt(i),eachCharRe.push(c.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"))}var re=new RegExp(eachCharRe.join("|"),"g");return sString.replace(re,(function(c){return map[c]}))},not:function not(x){return!fn.boolean(x)},true:function trueVal(){return!0},false:function falseVal(){return!1},lang:function lang(string){throw new Error("Not implemented")},sum:function sum(optNodeSet){if(null==optNodeSet)return fn.sum(this);for(var sum=0,i=0;i<optNodeSet.nodes.length;++i){var node=optNodeSet.nodes[i];sum+=fn.number({nodes:[node]})}return sum},floor:function floor(number){return Math.floor(fn.number(number))},ceiling:function ceiling(number){return Math.ceil(fn.number(number))},round:function round(number){return Math.round(fn.number(number))}},more={UnaryMinus:function(x){return-fn.number(x)},"+":function(x,y){return fn.number(x)+fn.number(y)},"-":function(x,y){return fn.number(x)-fn.number(y)},"*":function(x,y){return fn.number(x)*fn.number(y)},div:function(x,y){return fn.number(x)/fn.number(y)},mod:function(x,y){return fn.number(x)%fn.number(y)},"<":function(x,y){return comparisonHelper((function(x,y){return fn.number(x)<fn.number(y)}),x,y,!0)},"<=":function(x,y){return comparisonHelper((function(x,y){return fn.number(x)<=fn.number(y)}),x,y,!0)},">":function(x,y){return comparisonHelper((function(x,y){return fn.number(x)>fn.number(y)}),x,y,!0)},">=":function(x,y){return comparisonHelper((function(x,y){return fn.number(x)>=fn.number(y)}),x,y,!0)},and:function(x,y){return fn.boolean(x)&&fn.boolean(y)},or:function(x,y){return fn.boolean(x)||fn.boolean(y)},"|":function(x,y){return{nodes:mergeNodeLists(x.nodes,y.nodes)}},"=":function(x,y){if("object"==typeof x&&"object"==typeof y){for(var aMap={},i=0;i<x.nodes.length;++i){aMap[fn.string({nodes:[x.nodes[i]]})]=!0}for(i=0;i<y.nodes.length;++i){if(aMap[fn.string({nodes:[y.nodes[i]]})])return!0}return!1}return comparisonHelper((function(x,y){return x===y}),x,y)},"!=":function(x,y){if("object"==typeof x&&"object"==typeof y){if(0===x.nodes.length||0===y.nodes.length)return!1;for(var aMap={},i=0;i<x.nodes.length;++i){aMap[fn.string({nodes:[x.nodes[i]]})]=!0}for(i=0;i<y.nodes.length;++i){if(!aMap[fn.string({nodes:[y.nodes[i]]})])return!0}return!1}return comparisonHelper((function(x,y){return x!==y}),x,y)}},nodeTypes=xpath.nodeTypes={node:0,attribute:2,comment:8,text:3,"processing-instruction":7,element:1},Evaluator=(xpath.stringifyObject=function stringifyObject(ctx){var seenKey="seen"+Math.floor(1e9*Math.random());return JSON.stringify(function helper(ctx){if(Array.isArray(ctx))return ctx.map((function(x){return helper(x)}));if("object"!=typeof ctx)return ctx;if(null==ctx)return ctx;if(null!=ctx.outerHTML)return ctx.outerHTML;if(null!=ctx.nodeValue)return ctx.nodeName+"="+ctx.nodeValue;if(ctx[seenKey])return"[circular]";ctx[seenKey]=!0;var nicer={};for(var key in ctx)if(seenKey!==key)try{nicer[key]=helper(ctx[key])}catch(e){nicer[key]="[exception: "+e.message+"]"}return delete ctx[seenKey],nicer}(ctx))},xpath.Evaluator=function Evaluator(doc){this.doc=doc});Evaluator.prototype={val:function val(ast,ctx){if(console.assert(ctx.nodes),"number"==typeof ast||"string"==typeof ast)return ast;if(more[ast[0]]){for(var evaluatedParams=[],i=1;i<ast.length;++i)evaluatedParams.push(this.val(ast[i],ctx));return r=more[ast[0]].apply(ctx,evaluatedParams)}switch(ast[0]){case"Root":return{nodes:[this.doc]};case"FunctionCall":var functionName=ast[1],functionParams=ast[2];if(null==fn[functionName])throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Unknown function: "+functionName);for(evaluatedParams=[],i=0;i<functionParams.length;++i)evaluatedParams.push(this.val(functionParams[i],ctx));return r=fn[functionName].apply(ctx,evaluatedParams);case"Predicate":var ret={nodes:[]},contexts=function eachContext(nodeMultiSet){for(var r=[],i=0;i<nodeMultiSet.nodes.length;i++){var node=nodeMultiSet.nodes[i];if(nodeMultiSet.pos)for(var j=0;j<nodeMultiSet.pos[i].length;++j)r.push({nodes:[node],pos:[[nodeMultiSet.pos[i][j]]],lasts:[[nodeMultiSet.lasts[i][j]]]});else r.push({nodes:[node],pos:[[i+1]],lasts:[[nodeMultiSet.nodes.length]]})}return r}(lhs=this.val(ast[1],ctx));for(i=0;i<contexts.length;++i){var singleNodeSet=contexts[i],rhs=this.val(ast[2],singleNodeSet);if("number"==typeof rhs?rhs===singleNodeSet.pos[0][0]:fn.boolean(rhs)){var node=singleNodeSet.nodes[0];for(ret.nodes.push(node);i+1<contexts.length&&node===contexts[i+1].nodes[0];)i++}}return ret;case"PathExpr":var x=this.val(ast[1],ctx);return x.finalize?{nodes:x.nodes}:x;case"/":var lhs=this.val(ast[1],ctx);console.assert(null!=lhs);var r=this.val(ast[2],lhs);return console.assert(null!=r),r;case"Axis":var axis=ast[1],nodeType=ast[2],nodeTypeNum=nodeTypes[nodeType],nodeName=ast[3]?ast[3].toLowerCase():ast[3];if(nodeName="*"===nodeName?null:nodeName,"object"!=typeof ctx)return{nodes:[],pos:[]};var nodeList=ctx.nodes.slice();return r=axes[axis](nodeList,nodeTypeNum,nodeName,true)}}};xpath.evaluate=function evaluate(expr,doc,context){var stream=new Stream(expr),ast=parse(stream,astFactory);return new Evaluator(doc).val(ast,{nodes:[context]})};var XPathException=xpath.XPathException=function XPathException(code,message){var e=new Error(message);return e.name="XPathException",e.code=code,e};XPathException.INVALID_EXPRESSION_ERR=51,XPathException.TYPE_ERR=52;var XPathEvaluator=xpath.XPathEvaluator=function XPathEvaluator(){};XPathEvaluator.prototype={createExpression:function(expression,resolver){return new XPathExpression(expression,resolver)},createNSResolver:function(nodeResolver){},evaluate:function evaluate(expression,contextNode,resolver,type,result){return new XPathExpression(expression,resolver).evaluate(contextNode,type,result)}};var XPathExpression=xpath.XPathExpression=function XPathExpression(expression,resolver,optDoc){var stream=new Stream(expression);this._ast=parse(stream,astFactory),this._doc=optDoc};XPathExpression.prototype={evaluate:function evaluate(contextNode,type,result){if(null==contextNode.nodeType)throw new Error("bad argument (expected context node): "+contextNode);var doc=contextNode.ownerDocument||contextNode;if(null!=this._doc&&this._doc!==doc)throw new core.DOMException(core.DOMException.WRONG_DOCUMENT_ERR,"The document must be the same as the context node's document.");var value=new Evaluator(doc).val(this._ast,{nodes:[contextNode]});if(XPathResult.NUMBER_TYPE===type)value=fn.number(value);else if(XPathResult.STRING_TYPE===type)value=fn.string(value);else if(XPathResult.BOOLEAN_TYPE===type)value=fn.boolean(value);else{if(XPathResult.ANY_TYPE!==type&&XPathResult.UNORDERED_NODE_ITERATOR_TYPE!==type&&XPathResult.ORDERED_NODE_ITERATOR_TYPE!==type&&XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE!==type&&XPathResult.ORDERED_NODE_SNAPSHOT_TYPE!==type&&XPathResult.ANY_UNORDERED_NODE_TYPE!==type&&XPathResult.FIRST_ORDERED_NODE_TYPE!==type)throw new core.DOMException(core.DOMException.NOT_SUPPORTED_ERR,"You must provide an XPath result type (0=any).");if(XPathResult.ANY_TYPE!==type&&"object"!=typeof value)throw new XPathException(XPathException.TYPE_ERR,"Value should be a node-set: "+value)}return new XPathResult(doc,value,type)}};var XPathResult=xpath.XPathResult=function XPathResult(doc,value,resultType){this._value=value,this._resultType=resultType,this._i=0};XPathResult.ANY_TYPE=0,XPathResult.NUMBER_TYPE=1,XPathResult.STRING_TYPE=2,XPathResult.BOOLEAN_TYPE=3,XPathResult.UNORDERED_NODE_ITERATOR_TYPE=4,XPathResult.ORDERED_NODE_ITERATOR_TYPE=5,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE=6,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE=7,XPathResult.ANY_UNORDERED_NODE_TYPE=8,XPathResult.FIRST_ORDERED_NODE_TYPE=9;var proto={get resultType(){if(this._resultType)return this._resultType;switch(typeof this._value){case"number":return XPathResult.NUMBER_TYPE;case"string":return XPathResult.STRING_TYPE;case"boolean":return XPathResult.BOOLEAN_TYPE;default:return XPathResult.UNORDERED_NODE_ITERATOR_TYPE}},get numberValue(){if(XPathResult.NUMBER_TYPE!==this.resultType)throw new XPathException(XPathException.TYPE_ERR,"You should have asked for a NUMBER_TYPE.");return this._value},get stringValue(){if(XPathResult.STRING_TYPE!==this.resultType)throw new XPathException(XPathException.TYPE_ERR,"You should have asked for a STRING_TYPE.");return this._value},get booleanValue(){if(XPathResult.BOOLEAN_TYPE!==this.resultType)throw new XPathException(XPathException.TYPE_ERR,"You should have asked for a BOOLEAN_TYPE.");return this._value},get singleNodeValue(){if(XPathResult.ANY_UNORDERED_NODE_TYPE!==this.resultType&&XPathResult.FIRST_ORDERED_NODE_TYPE!==this.resultType)throw new XPathException(XPathException.TYPE_ERR,"You should have asked for a FIRST_ORDERED_NODE_TYPE.");return this._value.nodes[0]||null},get invalidIteratorState(){return(XPathResult.UNORDERED_NODE_ITERATOR_TYPE===this.resultType||XPathResult.ORDERED_NODE_ITERATOR_TYPE===this.resultType)&&!!this._invalidated},get snapshotLength(){if(XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE!==this.resultType&&XPathResult.ORDERED_NODE_SNAPSHOT_TYPE!==this.resultType)throw new XPathException(XPathException.TYPE_ERR,"You should have asked for a ORDERED_NODE_SNAPSHOT_TYPE.");return this._value.nodes.length},iterateNext:function iterateNext(){if(XPathResult.UNORDERED_NODE_ITERATOR_TYPE!==this.resultType&&XPathResult.ORDERED_NODE_ITERATOR_TYPE!==this.resultType)throw new XPathException(XPathException.TYPE_ERR,"You should have asked for a ORDERED_NODE_ITERATOR_TYPE.");if(this.invalidIteratorState)throw new core.DOMException(core.DOMException.INVALID_STATE_ERR,"The document has been mutated since the result was returned");return this._value.nodes[this._i++]||null},snapshotItem:function snapshotItem(index){if(XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE!==this.resultType&&XPathResult.ORDERED_NODE_SNAPSHOT_TYPE!==this.resultType)throw new XPathException(XPathException.TYPE_ERR,"You should have asked for a ORDERED_NODE_SNAPSHOT_TYPE.");return this._value.nodes[index]||null}};return XPathResult.prototype=Object.create(XPathResult,Object.keys(proto).reduce((function(descriptors,name){return descriptors[name]=Object.getOwnPropertyDescriptor(proto,name),descriptors}),{constructor:{value:XPathResult,writable:!0,configurable:!0}})),core.XPathException=XPathException,core.XPathExpression=XPathExpression,core.XPathResult=XPathResult,core.XPathEvaluator=XPathEvaluator,core.Document.prototype.createExpression=XPathEvaluator.prototype.createExpression,core.Document.prototype.createNSResolver=XPathEvaluator.prototype.createNSResolver,core.Document.prototype.evaluate=XPathEvaluator.prototype.evaluate,xpath}},82094:function(module,__unused_webpack_exports,__webpack_require__){const AbortSignal=__webpack_require__(91330);module.exports={implementation:class AbortControllerImpl{constructor(globalObject){this.signal=AbortSignal.createImpl(globalObject,[])}abort(reason){this.signal._signalAbort(reason)}}}},12340:function(module,__unused_webpack_exports,__webpack_require__){const{setupForSimpleEventAccessors:setupForSimpleEventAccessors}=__webpack_require__(90653),{fireAnEvent:fireAnEvent}=__webpack_require__(96799),EventTargetImpl=__webpack_require__(98998).implementation,AbortSignal=__webpack_require__(91330),DOMException=__webpack_require__(69026);class AbortSignalImpl extends EventTargetImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._ownerDocument=globalObject.document,this.reason=void 0,this.abortAlgorithms=new Set}get aborted(){return void 0!==this.reason}static abort(globalObject,reason){const abortSignal=AbortSignal.createImpl(globalObject,[]);return abortSignal.reason=void 0!==reason?reason:DOMException.create(globalObject,["The operation was aborted.","AbortError"]),abortSignal}_signalAbort(reason){if(!this.aborted){this.reason=void 0!==reason?reason:DOMException.create(this._globalObject,["The operation was aborted.","AbortError"]);for(const algorithm of this.abortAlgorithms)algorithm();this.abortAlgorithms.clear(),fireAnEvent("abort",this)}}_addAlgorithm(algorithm){this.aborted||this.abortAlgorithms.add(algorithm)}_removeAlgorithm(algorithm){this.abortAlgorithms.delete(algorithm)}}setupForSimpleEventAccessors(AbortSignalImpl.prototype,["abort"]),module.exports={implementation:AbortSignalImpl}},91742:function(__unused_webpack_module,exports,__webpack_require__){const DOMException=__webpack_require__(69026),{HTML_NS:HTML_NS}=__webpack_require__(65676),{asciiLowercase:asciiLowercase}=__webpack_require__(27896),{queueAttributeMutationRecord:queueAttributeMutationRecord}=__webpack_require__(1367),{enqueueCECallbackReaction:enqueueCECallbackReaction}=__webpack_require__(31720);exports.hasAttribute=function(element,A){return element._attributeList.includes(A)},exports.hasAttributeByName=function(element,name){return element._attributesByNameMap.has(name)},exports.hasAttributeByNameNS=function(element,namespace,localName){return element._attributeList.some((attribute=>attribute._localName===localName&&attribute._namespace===namespace))},exports.changeAttribute=(element,attribute,value)=>{const{_localName:_localName,_namespace:_namespace,_value:_value}=attribute;queueAttributeMutationRecord(element,_localName,_namespace,_value),"custom"===element._ceState&&enqueueCECallbackReaction(element,"attributeChangedCallback",[_localName,_value,value,_namespace]),attribute._value=value,element._attrModified(attribute._qualifiedName,value,_value)},exports.appendAttribute=function(element,attribute){const{_localName:_localName,_namespace:_namespace,_value:_value}=attribute;queueAttributeMutationRecord(element,_localName,_namespace,null),"custom"===element._ceState&&enqueueCECallbackReaction(element,"attributeChangedCallback",[_localName,null,_value,_namespace]);element._attributeList.push(attribute),attribute._element=element;const name=attribute._qualifiedName,cache=element._attributesByNameMap;let entry=cache.get(name);entry||(entry=[],cache.set(name,entry)),entry.push(attribute),element._attrModified(name,_value,null)},exports.removeAttribute=function(element,attribute){const{_localName:_localName,_namespace:_namespace,_value:_value}=attribute;queueAttributeMutationRecord(element,_localName,_namespace,_value),"custom"===element._ceState&&enqueueCECallbackReaction(element,"attributeChangedCallback",[_localName,_value,null,_namespace]);const attributeList=element._attributeList;for(let i=0;i<attributeList.length;++i)if(attributeList[i]===attribute){attributeList.splice(i,1),attribute._element=null;const name=attribute._qualifiedName,cache=element._attributesByNameMap,entry=cache.get(name);return entry.splice(entry.indexOf(attribute),1),0===entry.length&&cache.delete(name),void element._attrModified(name,null,attribute._value)}},exports.replaceAttribute=function(element,oldAttr,newAttr){const{_localName:_localName,_namespace:_namespace,_value:_value}=oldAttr;queueAttributeMutationRecord(element,_localName,_namespace,_value),"custom"===element._ceState&&enqueueCECallbackReaction(element,"attributeChangedCallback",[_localName,_value,newAttr._value,_namespace]);const attributeList=element._attributeList;for(let i=0;i<attributeList.length;++i)if(attributeList[i]===oldAttr){attributeList.splice(i,1,newAttr),oldAttr._element=null,newAttr._element=element;const name=newAttr._qualifiedName,cache=element._attributesByNameMap;let entry=cache.get(name);return entry||(entry=[],cache.set(name,entry)),entry.splice(entry.indexOf(oldAttr),1,newAttr),void element._attrModified(name,newAttr._value,oldAttr._value)}},exports.getAttributeByName=function(element,name){element._namespaceURI===HTML_NS&&"html"===element._ownerDocument._parsingMode&&(name=asciiLowercase(name));const entry=element._attributesByNameMap.get(name);return entry?entry[0]:null},exports.getAttributeByNameNS=function(element,namespace,localName){""===namespace&&(namespace=null);const attributeList=element._attributeList;for(let i=0;i<attributeList.length;++i){const attr=attributeList[i];if(attr._namespace===namespace&&attr._localName===localName)return attr}return null},exports.getAttributeValue=function(element,localName){const attr=exports.getAttributeByNameNS(element,null,localName);return attr?attr._value:""},exports.getAttributeValueNS=function(element,namespace,localName){const attr=exports.getAttributeByNameNS(element,namespace,localName);return attr?attr._value:""},exports.setAttribute=function(element,attr){if(null!==attr._element&&attr._element!==element)throw DOMException.create(element._globalObject,["The attribute is in use.","InUseAttributeError"]);const oldAttr=exports.getAttributeByNameNS(element,attr._namespace,attr._localName);return oldAttr===attr?attr:(null!==oldAttr?exports.replaceAttribute(element,oldAttr,attr):exports.appendAttribute(element,attr),oldAttr)},exports.setAttributeValue=function(element,localName,value,prefix,namespace){void 0===prefix&&(prefix=null),void 0===namespace&&(namespace=null);const attribute=exports.getAttributeByNameNS(element,namespace,localName);if(null!==attribute)exports.changeAttribute(element,attribute,value);else{const newAttribute=element._ownerDocument._createAttribute({namespace:namespace,namespacePrefix:prefix,localName:localName,value:value});exports.appendAttribute(element,newAttribute)}},exports.setAnExistingAttributeValue=(attribute,value)=>{const element=attribute._element;null===element?attribute._value=value:exports.changeAttribute(element,attribute,value)},exports.removeAttributeByName=function(element,name){const attr=exports.getAttributeByName(element,name);return null!==attr&&exports.removeAttribute(element,attr),attr},exports.removeAttributeByNameNS=function(element,namespace,localName){const attr=exports.getAttributeByNameNS(element,namespace,localName);return null!==attr&&exports.removeAttribute(element,attr),attr},exports.attributeNames=function(element){return element._attributeList.map((a=>a._qualifiedName))},exports.hasAttributes=function(element){return element._attributeList.length>0}},8611:function(__unused_webpack_module,exports,__webpack_require__){const{setAnExistingAttributeValue:setAnExistingAttributeValue}=__webpack_require__(91742),NodeImpl=__webpack_require__(16614).implementation,{ATTRIBUTE_NODE:ATTRIBUTE_NODE}=__webpack_require__(51445);exports.implementation=class AttrImpl extends NodeImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._namespace=void 0!==privateData.namespace?privateData.namespace:null,this._namespacePrefix=void 0!==privateData.namespacePrefix?privateData.namespacePrefix:null,this._localName=privateData.localName,this._value=void 0!==privateData.value?privateData.value:"",this._element=void 0!==privateData.element?privateData.element:null,this.nodeType=ATTRIBUTE_NODE,this.specified=!0}get namespaceURI(){return this._namespace}get prefix(){return this._namespacePrefix}get localName(){return this._localName}get name(){return this._qualifiedName}get nodeName(){return this._qualifiedName}get value(){return this._value}set value(value){setAnExistingAttributeValue(this,value)}get ownerElement(){return this._element}get _qualifiedName(){return null===this._namespacePrefix?this._localName:this._namespacePrefix+":"+this._localName}}},54759:function(__unused_webpack_module,exports,__webpack_require__){const DOMException=__webpack_require__(69026),idlUtils=__webpack_require__(80421),attributes=__webpack_require__(91742),{HTML_NS:HTML_NS}=__webpack_require__(65676);exports.implementation=class NamedNodeMapImpl{constructor(globalObject,args,privateData){this._element=privateData.element,this._globalObject=globalObject}get _attributeList(){return this._element._attributeList}get[idlUtils.supportedPropertyIndices](){return this._attributeList.keys()}get length(){return this._attributeList.length}item(index){return index>=this._attributeList.length?null:this._attributeList[index]}get[idlUtils.supportedPropertyNames](){const names=new Set(this._attributeList.map((a=>a._qualifiedName))),el=this._element;if(el._namespaceURI===HTML_NS&&"html"===el._ownerDocument._parsingMode)for(const name of names){name.toLowerCase()!==name&&names.delete(name)}return names}getNamedItem(qualifiedName){return attributes.getAttributeByName(this._element,qualifiedName)}getNamedItemNS(namespace,localName){return attributes.getAttributeByNameNS(this._element,namespace,localName)}setNamedItem(attr){return attributes.setAttribute(this._element,attr)}setNamedItemNS(attr){return attributes.setAttribute(this._element,attr)}removeNamedItem(qualifiedName){const attr=attributes.removeAttributeByName(this._element,qualifiedName);if(null===attr)throw DOMException.create(this._globalObject,["Tried to remove an attribute that was not present","NotFoundError"]);return attr}removeNamedItemNS(namespace,localName){const attr=attributes.removeAttributeByNameNS(this._element,namespace,localName);if(null===attr)throw DOMException.create(this._globalObject,["Tried to remove an attribute that was not present","NotFoundError"]);return attr}}},77006:function(__unused_webpack_module,exports,__webpack_require__){const ValidityState=__webpack_require__(64428),{isDisabled:isDisabled}=__webpack_require__(8860),{closest:closest}=__webpack_require__(22537),{fireAnEvent:fireAnEvent}=__webpack_require__(96799);exports.i=class DefaultConstraintValidationImpl{get willValidate(){return this._isCandidateForConstraintValidation()}get validity(){return this._validity||(this._validity=ValidityState.createImpl(this._globalObject,[],{element:this})),this._validity}checkValidity(){return!this._isCandidateForConstraintValidation()||(!!this._satisfiesConstraints()||(fireAnEvent("invalid",this,void 0,{cancelable:!0}),!1))}setCustomValidity(message){this._customValidityErrorMessage=message}reportValidity(){return this.checkValidity()}get validationMessage(){const{validity:validity}=this;if(!this._isCandidateForConstraintValidation()||this._satisfiesConstraints())return"";return validity.customError?this._customValidityErrorMessage:"Constraints not satisfied"}_isCandidateForConstraintValidation(){return!isDisabled(this)&&null===closest(this,"datalist")&&!this._barredFromConstraintValidationSpecialization()}_isBarredFromConstraintValidation(){return!this._isCandidateForConstraintValidation()}_satisfiesConstraints(){return this.validity.valid}}},22601:function(__unused_webpack_module,exports){exports.implementation=class ValidityStateImpl{constructor(globalObject,args,privateData){const{element:element,state:state={}}=privateData;this._element=element,this._state=state}get badInput(){return this._failsConstraint("badInput")}get customError(){return""!==this._element._customValidityErrorMessage}get patternMismatch(){return this._failsConstraint("patternMismatch")}get rangeOverflow(){return this._failsConstraint("rangeOverflow")}get rangeUnderflow(){return this._failsConstraint("rangeUnderflow")}get stepMismatch(){return this._failsConstraint("stepMismatch")}get tooLong(){return this._failsConstraint("tooLong")}get tooShort(){return this._failsConstraint("tooShort")}get typeMismatch(){return this._failsConstraint("typeMismatch")}get valueMissing(){return this._failsConstraint("valueMissing")}_failsConstraint(method){const validationMethod=this._state[method];return!!validationMethod&&validationMethod()}get valid(){return!(this.badInput||this.valueMissing||this.customError||this.patternMismatch||this.rangeOverflow||this.rangeUnderflow||this.stepMismatch||this.tooLong||this.tooShort||this.typeMismatch)}}},97361:function(__unused_webpack_module,exports,__webpack_require__){const idlUtils=__webpack_require__(80421);exports.implementation=class StyleSheetList{constructor(){this._list=[]}get length(){return this._list.length}item(index){const result=this._list[index];return void 0!==result?result:null}get[idlUtils.supportedPropertyIndices](){return this._list.keys()}_add(sheet){const{_list:_list}=this;_list.includes(sheet)||_list.push(sheet)}_remove(sheet){const{_list:_list}=this,index=_list.indexOf(sheet);index>=0&&_list.splice(index,1)}}},3654:function(module,__unused_webpack_exports,__webpack_require__){const webIDLConversions=__webpack_require__(10993),DOMException=__webpack_require__(69026),NODE_TYPE=__webpack_require__(51445),{HTML_NS:HTML_NS}=__webpack_require__(65676),{getHTMLElementInterface:getHTMLElementInterface}=__webpack_require__(42018),{shadowIncludingInclusiveDescendantsIterator:shadowIncludingInclusiveDescendantsIterator}=__webpack_require__(96671),{isValidCustomElementName:isValidCustomElementName,tryUpgradeElement:tryUpgradeElement,enqueueCEUpgradeReaction:enqueueCEUpgradeReaction}=__webpack_require__(31720),idlUtils=__webpack_require__(80421),IDLFunction=__webpack_require__(29111),HTMLUnknownElement=__webpack_require__(24209),LIFECYCLE_CALLBACKS=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];function convertToSequenceDOMString(obj){if(!obj||!obj[Symbol.iterator])throw new TypeError("Invalid Sequence");return Array.from(obj).map(webIDLConversions.DOMString)}module.exports={implementation:class CustomElementRegistryImpl{constructor(globalObject){this._customElementDefinitions=[],this._elementDefinitionIsRunning=!1,this._whenDefinedPromiseMap=Object.create(null),this._globalObject=globalObject}define(name,constructor,options){const{_globalObject:_globalObject}=this,ctor=constructor.objectReference;if(!function isConstructor(value){if("function"!=typeof value)return!1;try{return new new Proxy(value,{construct:()=>({})}),!0}catch{return!1}}(ctor))throw new TypeError("Constructor argument is not a constructor.");if(!isValidCustomElementName(name))throw DOMException.create(_globalObject,["Name argument is not a valid custom element name.","SyntaxError"]);if(this._customElementDefinitions.some((entry=>entry.name===name)))throw DOMException.create(_globalObject,["This name has already been registered in the registry.","NotSupportedError"]);if(this._customElementDefinitions.some((entry=>entry.objectReference===ctor)))throw DOMException.create(_globalObject,["This constructor has already been registered in the registry.","NotSupportedError"]);let localName=name,extendsOption=null;if(void 0!==options&&options.extends&&(extendsOption=options.extends),null!==extendsOption){if(isValidCustomElementName(extendsOption))throw DOMException.create(_globalObject,["Option extends value can't be a valid custom element name.","NotSupportedError"]);if(getHTMLElementInterface(extendsOption)===HTMLUnknownElement)throw DOMException.create(_globalObject,[`${extendsOption} is an HTMLUnknownElement.`,"NotSupportedError"]);localName=extendsOption}if(this._elementDefinitionIsRunning)throw DOMException.create(_globalObject,["Invalid nested custom element definition.","NotSupportedError"]);this._elementDefinitionIsRunning=!0;let disableShadow=!1,observedAttributes=[];const lifecycleCallbacks={connectedCallback:null,disconnectedCallback:null,adoptedCallback:null,attributeChangedCallback:null};let caughtError;try{const{prototype:prototype}=ctor;if("object"!=typeof prototype)throw new TypeError("Invalid constructor prototype.");for(const callbackName of LIFECYCLE_CALLBACKS){const callbackValue=prototype[callbackName];void 0!==callbackValue&&(lifecycleCallbacks[callbackName]=IDLFunction.convert(_globalObject,callbackValue,{context:`The lifecycle callback "${callbackName}"`}))}if(null!==lifecycleCallbacks.attributeChangedCallback){const observedAttributesIterable=ctor.observedAttributes;void 0!==observedAttributesIterable&&(observedAttributes=convertToSequenceDOMString(observedAttributesIterable))}let disabledFeatures=[];const disabledFeaturesIterable=ctor.disabledFeatures;disabledFeaturesIterable&&(disabledFeatures=convertToSequenceDOMString(disabledFeaturesIterable)),disableShadow=disabledFeatures.includes("shadow")}catch(err){caughtError=err}finally{this._elementDefinitionIsRunning=!1}if(void 0!==caughtError)throw caughtError;const definition={name:name,localName:localName,constructor:constructor,objectReference:ctor,observedAttributes:observedAttributes,lifecycleCallbacks:lifecycleCallbacks,disableShadow:disableShadow,constructionStack:[]};this._customElementDefinitions.push(definition);const document=idlUtils.implForWrapper(this._globalObject._document),upgradeCandidates=[];for(const candidate of shadowIncludingInclusiveDescendantsIterator(document))candidate._namespaceURI!==HTML_NS||candidate._localName!==localName||null!==extendsOption&&candidate._isValue!==name||upgradeCandidates.push(candidate);for(const upgradeCandidate of upgradeCandidates)enqueueCEUpgradeReaction(upgradeCandidate,definition);void 0!==this._whenDefinedPromiseMap[name]&&(this._whenDefinedPromiseMap[name].resolve(ctor),delete this._whenDefinedPromiseMap[name])}get(name){const definition=this._customElementDefinitions.find((entry=>entry.name===name));return definition&&definition.objectReference}whenDefined(name){if(!isValidCustomElementName(name))return Promise.reject(DOMException.create(this._globalObject,["Name argument is not a valid custom element name.","SyntaxError"]));const alreadyRegistered=this._customElementDefinitions.find((entry=>entry.name===name));if(alreadyRegistered)return Promise.resolve(alreadyRegistered.objectReference);if(void 0===this._whenDefinedPromiseMap[name]){let resolve;const promise=new Promise((r=>{resolve=r}));this._whenDefinedPromiseMap[name]={promise:promise,resolve:resolve}}return this._whenDefinedPromiseMap[name].promise}upgrade(root){for(const candidate of shadowIncludingInclusiveDescendantsIterator(root))candidate.nodeType===NODE_TYPE.ELEMENT_NODE&&tryUpgradeElement(candidate)}}}},29437:function(__unused_webpack_module,exports,__webpack_require__){const XMLDocument=__webpack_require__(98151),Document=__webpack_require__(87417),{wrapperForImpl:wrapperForImpl}=__webpack_require__(80421);exports.createImpl=(globalObject,options,{alwaysUseDocumentClass:alwaysUseDocumentClass=!1}={})=>"xml"!==options.parsingMode||alwaysUseDocumentClass?Document.createImpl(globalObject,[],{options:options}):XMLDocument.createImpl(globalObject,[],{options:options}),exports.createWrapper=(...args)=>wrapperForImpl(exports.createImpl(...args))},43897:function(__unused_webpack_module,exports,__webpack_require__){const{parseIntoDocument:parseIntoDocument}=__webpack_require__(63770),Document=__webpack_require__(87417);exports.implementation=class DOMParserImpl{constructor(globalObject){this._globalObject=globalObject}parseFromString(string,contentType){switch(String(contentType)){case"text/html":return this.createScriptingDisabledDocument("html",contentType,string);case"text/xml":case"application/xml":case"application/xhtml+xml":case"image/svg+xml":try{return this.createScriptingDisabledDocument("xml",contentType,string)}catch(error){const document=this.createScriptingDisabledDocument("xml",contentType),element=document.createElementNS("http://www.mozilla.org/newlayout/xml/parsererror.xml","parsererror");return element.textContent=error.message,document.appendChild(element),document}default:throw new TypeError("Invalid contentType")}}createScriptingDisabledDocument(parsingMode,contentType,string){const document=Document.createImpl(this._globalObject,[],{options:{parsingMode:parsingMode,encoding:"UTF-8",contentType:contentType,readyState:"complete",scriptingDisabled:!0}});return void 0!==string&&parseIntoDocument(string,document),document}}},51525:function(__unused_webpack_module,exports,__webpack_require__){const{parseFragment:parseFragment}=__webpack_require__(63770),{HTML_NS:HTML_NS}=__webpack_require__(65676),{isShadowRoot:isShadowRoot}=__webpack_require__(96671),NODE_TYPE=__webpack_require__(51445),{fragmentSerialization:fragmentSerialization}=__webpack_require__(72481);exports.i=class InnerHTMLImpl{get innerHTML(){return fragmentSerialization(this,{requireWellFormed:!0,globalObject:this._globalObject})}set innerHTML(markup){const contextElement=isShadowRoot(this)?this.host:this,fragment=parseFragment(markup,contextElement);let contextObject=this;this.nodeType===NODE_TYPE.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI===HTML_NS&&(contextObject=this._templateContents),contextObject._replaceAll(fragment)}}},7646:function(__unused_webpack_module,exports,__webpack_require__){const serialize=__webpack_require__(67768),DOMException=__webpack_require__(69026),utils=__webpack_require__(80421);exports.implementation=class XMLSerializerImpl{constructor(globalObject){this._globalObject=globalObject}serializeToString(root){try{return serialize(utils.wrapperForImpl(root),{requireWellFormed:!1})}catch(e){throw DOMException.create(this._globalObject,[e.message,"InvalidStateError"])}}}},80228:function(__unused_webpack_module,exports,__webpack_require__){const nodeTypes=__webpack_require__(51445),{domSymbolTree:domSymbolTree}=__webpack_require__(15415);exports.getFirstChild=node=>node.firstChild,exports.getChildNodes=node=>node.childNodesForSerializing||domSymbolTree.childrenToArray(node),exports.getParentNode=node=>node.parentNode,exports.getAttrList=element=>{const attributeList=[...element._attributeList];return element._isValue&&attributeList.every((attr=>"is"!==attr.name))&&attributeList.unshift({name:"is",namespace:null,prefix:null,value:element._isValue}),attributeList},exports.getTagName=element=>element._qualifiedName,exports.getNamespaceURI=element=>element.namespaceURI,exports.getTextNodeContent=exports.getCommentNodeContent=node=>node.data,exports.getDocumentTypeNodeName=node=>node.name,exports.getDocumentTypeNodePublicId=node=>node.publicId,exports.getDocumentTypeNodeSystemId=node=>node.systemId,exports.getTemplateContent=templateElement=>templateElement._templateContents,exports.getDocumentMode=document=>document._mode,exports.isTextNode=node=>node.nodeType===nodeTypes.TEXT_NODE,exports.isCommentNode=node=>node.nodeType===nodeTypes.COMMENT_NODE,exports.isDocumentTypeNode=node=>node.nodeType===nodeTypes.DOCUMENT_TYPE_NODE,exports.isElementNode=node=>node.nodeType===nodeTypes.ELEMENT_NODE,exports.setNodeSourceCodeLocation=(node,location)=>{node.sourceCodeLocation=location},exports.getNodeSourceCodeLocation=node=>node.sourceCodeLocation,exports.updateNodeSourceCodeLocation=(node,endLocation)=>{Object.assign(node.sourceCodeLocation,endLocation)}},72481:function(module,__unused_webpack_exports,__webpack_require__){const produceXMLSerialization=__webpack_require__(67768),parse5=__webpack_require__(42394),DOMException=__webpack_require__(69026),utils=__webpack_require__(80421),treeAdapter=__webpack_require__(80228),NODE_TYPE=__webpack_require__(51445),NAMESPACES=__webpack_require__(65676);module.exports.fragmentSerialization=(node,{requireWellFormed:requireWellFormed,globalObject:globalObject})=>{if("html"===(node.nodeType===NODE_TYPE.DOCUMENT_NODE?node:node._ownerDocument)._parsingMode)return function htmlSerialization(node){return node.nodeType===NODE_TYPE.ELEMENT_NODE&&node.namespaceURI===NAMESPACES.HTML_NS&&"TEMPLATE"===node.tagName&&(node=node.content),parse5.serialize(node,{treeAdapter:treeAdapter})}(node);const childNodes=node.childNodesForSerializing||node.childNodes;try{let serialized="";for(let i=0;i<childNodes.length;++i)serialized+=produceXMLSerialization(utils.wrapperForImpl(childNodes[i]||childNodes.item(i)),{requireWellFormed:requireWellFormed});return serialized}catch(e){throw DOMException.create(globalObject,[e.message,"InvalidStateError"])}}},79045:function(__unused_webpack_module,exports,__webpack_require__){const EventImpl=__webpack_require__(74089).implementation,CloseEventInit=__webpack_require__(60667);class CloseEventImpl extends EventImpl{}CloseEventImpl.defaultInit=CloseEventInit.convert(void 0,void 0),exports.implementation=CloseEventImpl},85715:function(module,__unused_webpack_exports,__webpack_require__){const UIEventImpl=__webpack_require__(28079).implementation,CompositionEventInit=__webpack_require__(47802);class CompositionEventImpl extends UIEventImpl{initCompositionEvent(type,bubbles,cancelable,view,data){this._dispatchFlag||(this.initUIEvent(type,bubbles,cancelable,view,0),this.data=data)}}CompositionEventImpl.defaultInit=CompositionEventInit.convert(void 0,void 0),module.exports={implementation:CompositionEventImpl}},18015:function(module,__unused_webpack_exports,__webpack_require__){const EventImpl=__webpack_require__(74089).implementation,CustomEventInit=__webpack_require__(20186);class CustomEventImpl extends EventImpl{initCustomEvent(type,bubbles,cancelable,detail){this._dispatchFlag||(this.initEvent(type,bubbles,cancelable),this.detail=detail)}}CustomEventImpl.defaultInit=CustomEventInit.convert(void 0,void 0),module.exports={implementation:CustomEventImpl}},68302:function(module,__unused_webpack_exports,__webpack_require__){const EventImpl=__webpack_require__(74089).implementation,ErrorEventInit=__webpack_require__(9475);class ErrorEventImpl extends EventImpl{}ErrorEventImpl.defaultInit=ErrorEventInit.convert(void 0,void 0),module.exports={implementation:ErrorEventImpl}},74089:function(module,__unused_webpack_exports,__webpack_require__){const idlUtils=__webpack_require__(80421),EventInit=__webpack_require__(75061);class EventImpl{constructor(globalObject,args,privateData){const[type,eventInitDict=this.constructor.defaultInit]=args;this.type=type,this.bubbles=!1,this.cancelable=!1;for(const key in eventInitDict)key in this.constructor.defaultInit&&(this[key]=eventInitDict[key]);for(const key in this.constructor.defaultInit)key in this||(this[key]=this.constructor.defaultInit[key]);this.target=null,this.currentTarget=null,this.eventPhase=0,this._globalObject=globalObject,this._initializedFlag=!0,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._dispatchFlag=!1,this._path=[],this.isTrusted=privateData.isTrusted||!1,this.timeStamp=Date.now()}_setTheCanceledFlag(){this.cancelable&&!this._inPassiveListenerFlag&&(this._canceledFlag=!0)}get srcElement(){return this.target}get returnValue(){return!this._canceledFlag}set returnValue(v){!1===v&&this._setTheCanceledFlag()}get defaultPrevented(){return this._canceledFlag}stopPropagation(){this._stopPropagationFlag=!0}get cancelBubble(){return this._stopPropagationFlag}set cancelBubble(v){v&&(this._stopPropagationFlag=!0)}stopImmediatePropagation(){this._stopPropagationFlag=!0,this._stopImmediatePropagationFlag=!0}preventDefault(){this._setTheCanceledFlag()}composedPath(){const composedPath=[],{currentTarget:currentTarget,_path:path}=this;if(0===path.length)return composedPath;composedPath.push(currentTarget);let currentTargetIndex=0,currentTargetHiddenSubtreeLevel=0;for(let index=path.length-1;index>=0;index--){const{item:item,rootOfClosedTree:rootOfClosedTree,slotInClosedTree:slotInClosedTree}=path[index];if(rootOfClosedTree&¤tTargetHiddenSubtreeLevel++,item===idlUtils.implForWrapper(currentTarget)){currentTargetIndex=index;break}slotInClosedTree&¤tTargetHiddenSubtreeLevel--}let currentHiddenLevel=currentTargetHiddenSubtreeLevel,maxHiddenLevel=currentTargetHiddenSubtreeLevel;for(let i=currentTargetIndex-1;i>=0;i--){const{item:item,rootOfClosedTree:rootOfClosedTree,slotInClosedTree:slotInClosedTree}=path[i];rootOfClosedTree&¤tHiddenLevel++,currentHiddenLevel<=maxHiddenLevel&&composedPath.unshift(idlUtils.wrapperForImpl(item)),slotInClosedTree&&(currentHiddenLevel--,currentHiddenLevel<maxHiddenLevel&&(maxHiddenLevel=currentHiddenLevel))}currentHiddenLevel=currentTargetHiddenSubtreeLevel,maxHiddenLevel=currentTargetHiddenSubtreeLevel;for(let index=currentTargetIndex+1;index<path.length;index++){const{item:item,rootOfClosedTree:rootOfClosedTree,slotInClosedTree:slotInClosedTree}=path[index];slotInClosedTree&¤tHiddenLevel++,currentHiddenLevel<=maxHiddenLevel&&composedPath.push(idlUtils.wrapperForImpl(item)),rootOfClosedTree&&(currentHiddenLevel--,currentHiddenLevel<maxHiddenLevel&&(maxHiddenLevel=currentHiddenLevel))}return composedPath}_initialize(type,bubbles,cancelable){this.type=type,this._initializedFlag=!0,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this.isTrusted=!1,this.target=null,this.bubbles=bubbles,this.cancelable=cancelable}initEvent(type,bubbles,cancelable){this._dispatchFlag||this._initialize(type,bubbles,cancelable)}}EventImpl.defaultInit=EventInit.convert(void 0,void 0),module.exports={implementation:EventImpl}},53397:function(__unused_webpack_module,exports){exports.i=class EventModifierMixinImpl{getModifierState(keyArg){return Boolean(this[`modifier${keyArg}`])}}},98998:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),reportException=__webpack_require__(9400),idlUtils=__webpack_require__(80421),{nodeRoot:nodeRoot}=__webpack_require__(23809),{isNode:isNode,isShadowRoot:isShadowRoot,isSlotable:isSlotable,getEventTargetParent:getEventTargetParent,isShadowInclusiveAncestor:isShadowInclusiveAncestor,retarget:retarget}=__webpack_require__(96671),MouseEvent=__webpack_require__(89057),EVENT_PHASE_NONE=0,EVENT_PHASE_CAPTURING_PHASE=1,EVENT_PHASE_AT_TARGET=2,EVENT_PHASE_BUBBLING_PHASE=3;function invokeEventListeners(struct,eventImpl,phase){for(let i=eventImpl._path.indexOf(struct);i>=0;i--){const t=eventImpl._path[i];if(t.target){eventImpl.target=t.target;break}}if(eventImpl.relatedTarget=idlUtils.wrapperForImpl(struct.relatedTarget),eventImpl._stopPropagationFlag)return;eventImpl.currentTarget=idlUtils.wrapperForImpl(struct.item);!function innerInvokeEventListeners(eventImpl,listeners,phase,itemInShadowTree){let found=!1;const{type:type,target:target}=eventImpl,wrapper=idlUtils.wrapperForImpl(target);if(!listeners||!listeners[type])return found;const handlers=listeners[type].slice();for(let i=0;i<handlers.length;i++){const listener=handlers[i],{capture:capture,once:once,passive:passive}=listener.options;if(!listeners[type].includes(listener))continue;if(found=!0,"capturing"===phase&&!capture||"bubbling"===phase&&capture)continue;once&&listeners[type].splice(listeners[type].indexOf(listener),1);let currentEvent,window=null;wrapper&&wrapper._document?window=wrapper:target._ownerDocument?window=target._ownerDocument._defaultView:wrapper._ownerDocument&&(window=wrapper._ownerDocument._defaultView),window&&(currentEvent=window._currentEvent,itemInShadowTree||(window._currentEvent=eventImpl)),passive&&(eventImpl._inPassiveListenerFlag=!0);try{listener.callback.call(eventImpl.currentTarget,eventImpl)}catch(e){window&&reportException(window,e)}if(eventImpl._inPassiveListenerFlag=!1,window&&(window._currentEvent=currentEvent),eventImpl._stopImmediatePropagationFlag)return found}return found}(eventImpl,struct.item._eventListeners,phase,struct.itemInShadowTree)}function normalizeEventHandlerOptions(options,defaultBoolKeys){const returnValue={};if("boolean"==typeof options||null==options)return returnValue.capture=Boolean(options),returnValue;"object"!=typeof options&&(returnValue.capture=Boolean(options),defaultBoolKeys=defaultBoolKeys.filter((k=>"capture"!==k)));for(const key of defaultBoolKeys)returnValue[key]=Boolean(options[key]);return returnValue}function appendToEventPath(eventImpl,target,targetOverride,relatedTarget,touchTargets,slotInClosedTree){const itemInShadowTree=isNode(target)&&isShadowRoot(nodeRoot(target)),rootOfClosedTree=isShadowRoot(target)&&"closed"===target.mode;eventImpl._path.push({item:target,itemInShadowTree:itemInShadowTree,target:targetOverride,relatedTarget:relatedTarget,touchTargets:touchTargets,rootOfClosedTree:rootOfClosedTree,slotInClosedTree:slotInClosedTree})}module.exports={implementation:class EventTargetImpl{constructor(globalObject){this._globalObject=globalObject,this._eventListeners=Object.create(null)}addEventListener(type,callback,options){if(options=normalizeEventHandlerOptions(options,["capture","once","passive"]),null!==callback){this._eventListeners[type]||(this._eventListeners[type]=[]);for(let i=0;i<this._eventListeners[type].length;++i){const listener=this._eventListeners[type][i];if(listener.callback.objectReference===callback.objectReference&&listener.options.capture===options.capture)return}this._eventListeners[type].push({callback:callback,options:options})}}removeEventListener(type,callback,options){if(options=normalizeEventHandlerOptions(options,["capture"]),null!==callback&&this._eventListeners[type])for(let i=0;i<this._eventListeners[type].length;++i){const listener=this._eventListeners[type][i];if(listener.callback.objectReference===callback.objectReference&&listener.options.capture===options.capture){this._eventListeners[type].splice(i,1);break}}}dispatchEvent(eventImpl){if(eventImpl._dispatchFlag||!eventImpl._initializedFlag)throw DOMException.create(this._globalObject,["Tried to dispatch an uninitialized event","InvalidStateError"]);if(eventImpl.eventPhase!==EVENT_PHASE_NONE)throw DOMException.create(this._globalObject,["Tried to dispatch a dispatching event","InvalidStateError"]);return eventImpl.isTrusted=!1,this._dispatch(eventImpl)}_getTheParent(){return null}_dispatch(eventImpl,legacyTargetOverrideFlag){let targetImpl=this,clearTargets=!1,activationTarget=null;eventImpl._dispatchFlag=!0;const targetOverride=legacyTargetOverrideFlag?idlUtils.implForWrapper(targetImpl._globalObject._document):targetImpl;let relatedTarget=retarget(eventImpl.relatedTarget,targetImpl);if(targetImpl!==relatedTarget||targetImpl===eventImpl.relatedTarget){const touchTargets=[];appendToEventPath(eventImpl,targetImpl,targetOverride,relatedTarget,touchTargets,!1);const isActivationEvent=MouseEvent.isImpl(eventImpl)&&"click"===eventImpl.type;isActivationEvent&&targetImpl._hasActivationBehavior&&(activationTarget=targetImpl);let slotInClosedTree=!1,slotable=isSlotable(targetImpl)&&targetImpl._assignedSlot?targetImpl:null,parent=getEventTargetParent(targetImpl,eventImpl);for(;null!==parent;){if(null!==slotable){if("slot"!==parent.localName)throw new Error("JSDOM Internal Error: Expected parent to be a Slot");slotable=null;const parentRoot=nodeRoot(parent);isShadowRoot(parentRoot)&&"closed"===parentRoot.mode&&(slotInClosedTree=!0)}isSlotable(parent)&&parent._assignedSlot&&(slotable=parent),relatedTarget=retarget(eventImpl.relatedTarget,parent),isNode(parent)&&isShadowInclusiveAncestor(nodeRoot(targetImpl),parent)||"Window"===idlUtils.wrapperForImpl(parent).constructor.name?(isActivationEvent&&eventImpl.bubbles&&null===activationTarget&&parent._hasActivationBehavior&&(activationTarget=parent),appendToEventPath(eventImpl,parent,null,relatedTarget,touchTargets,slotInClosedTree)):parent===relatedTarget?parent=null:(targetImpl=parent,isActivationEvent&&null===activationTarget&&targetImpl._hasActivationBehavior&&(activationTarget=targetImpl),appendToEventPath(eventImpl,parent,targetImpl,relatedTarget,touchTargets,slotInClosedTree)),null!==parent&&(parent=getEventTargetParent(parent,eventImpl)),slotInClosedTree=!1}let clearTargetsStructIndex=-1;for(let i=eventImpl._path.length-1;i>=0&&-1===clearTargetsStructIndex;i--)null!==eventImpl._path[i].target&&(clearTargetsStructIndex=i);const clearTargetsStruct=eventImpl._path[clearTargetsStructIndex];clearTargets=isNode(clearTargetsStruct.target)&&isShadowRoot(nodeRoot(clearTargetsStruct.target))||isNode(clearTargetsStruct.relatedTarget)&&isShadowRoot(nodeRoot(clearTargetsStruct.relatedTarget)),null!==activationTarget&&activationTarget._legacyPreActivationBehavior&&activationTarget._legacyPreActivationBehavior();for(let i=eventImpl._path.length-1;i>=0;--i){const struct=eventImpl._path[i];null!==struct.target?eventImpl.eventPhase=EVENT_PHASE_AT_TARGET:eventImpl.eventPhase=EVENT_PHASE_CAPTURING_PHASE,invokeEventListeners(struct,eventImpl,"capturing")}for(let i=0;i<eventImpl._path.length;i++){const struct=eventImpl._path[i];if(null!==struct.target)eventImpl.eventPhase=EVENT_PHASE_AT_TARGET;else{if(!eventImpl.bubbles)continue;eventImpl.eventPhase=EVENT_PHASE_BUBBLING_PHASE}invokeEventListeners(struct,eventImpl,"bubbling")}}return eventImpl.eventPhase=EVENT_PHASE_NONE,eventImpl.currentTarget=null,eventImpl._path=[],eventImpl._dispatchFlag=!1,eventImpl._stopPropagationFlag=!1,eventImpl._stopImmediatePropagationFlag=!1,clearTargets&&(eventImpl.target=null,eventImpl.relatedTarget=null),null!==activationTarget&&(eventImpl._canceledFlag?activationTarget._legacyCanceledActivationBehavior&&activationTarget._legacyCanceledActivationBehavior():activationTarget._activationBehavior(eventImpl)),!eventImpl._canceledFlag}}}},86995:function(__unused_webpack_module,exports,__webpack_require__){const UIEventImpl=__webpack_require__(28079).implementation,FocusEventInit=__webpack_require__(32001);class FocusEventImpl extends UIEventImpl{}FocusEventImpl.defaultInit=FocusEventInit.convert(void 0,void 0),exports.implementation=FocusEventImpl},33184:function(module,__unused_webpack_exports,__webpack_require__){const EventImpl=__webpack_require__(74089).implementation,HashChangeEventInit=__webpack_require__(77541);class HashChangeEventImpl extends EventImpl{}HashChangeEventImpl.defaultInit=HashChangeEventInit.convert(void 0,void 0),module.exports={implementation:HashChangeEventImpl}},82891:function(module,__unused_webpack_exports,__webpack_require__){const UIEventImpl=__webpack_require__(28079).implementation,InputEventInit=__webpack_require__(93793);class InputEventImpl extends UIEventImpl{}InputEventImpl.defaultInit=InputEventInit.convert(void 0,void 0),module.exports={implementation:InputEventImpl}},59174:function(module,__unused_webpack_exports,__webpack_require__){const{mixin:mixin}=__webpack_require__(54641),EventModifierMixinImpl=__webpack_require__(53397).i,UIEventImpl=__webpack_require__(28079).implementation,KeyboardEventInit=__webpack_require__(39207);class KeyboardEventImpl extends UIEventImpl{initKeyboardEvent(type,bubbles,cancelable,view,key,location,ctrlKey,altKey,shiftKey,metaKey){this._dispatchFlag||(this.initUIEvent(type,bubbles,cancelable,view,0),this.key=key,this.location=location,this.ctrlKey=ctrlKey,this.altKey=altKey,this.shiftKey=shiftKey,this.metaKey=metaKey)}}mixin(KeyboardEventImpl.prototype,EventModifierMixinImpl.prototype),KeyboardEventImpl.defaultInit=KeyboardEventInit.convert(void 0,void 0),module.exports={implementation:KeyboardEventImpl}},35532:function(module,__unused_webpack_exports,__webpack_require__){const EventImpl=__webpack_require__(74089).implementation,MessageEventInit=__webpack_require__(78339);class MessageEventImpl extends EventImpl{initMessageEvent(type,bubbles,cancelable,data,origin,lastEventId,source,ports){this._dispatchFlag||(this.initEvent(type,bubbles,cancelable),this.data=data,this.origin=origin,this.lastEventId=lastEventId,this.source=source,this.ports=ports)}}MessageEventImpl.defaultInit=MessageEventInit.convert(void 0,void 0),module.exports={implementation:MessageEventImpl}},58747:function(module,__unused_webpack_exports,__webpack_require__){const{mixin:mixin}=__webpack_require__(54641),EventModifierMixinImpl=__webpack_require__(53397).i,UIEventImpl=__webpack_require__(28079).implementation,MouseEventInit=__webpack_require__(72669);class MouseEventImpl extends UIEventImpl{initMouseEvent(type,bubbles,cancelable,view,detail,screenX,screenY,clientX,clientY,ctrlKey,altKey,shiftKey,metaKey,button,relatedTarget){this._dispatchFlag||(this.initUIEvent(type,bubbles,cancelable,view,detail),this.screenX=screenX,this.screenY=screenY,this.clientX=clientX,this.clientY=clientY,this.ctrlKey=ctrlKey,this.altKey=altKey,this.shiftKey=shiftKey,this.metaKey=metaKey,this.button=button,this.relatedTarget=relatedTarget)}}mixin(MouseEventImpl.prototype,EventModifierMixinImpl.prototype),MouseEventImpl.defaultInit=MouseEventInit.convert(void 0,void 0),module.exports={implementation:MouseEventImpl}},9090:function(__unused_webpack_module,exports,__webpack_require__){const EventImpl=__webpack_require__(74089).implementation,PageTransitionEventInit=__webpack_require__(6610);class PageTransitionEventImpl extends EventImpl{initPageTransitionEvent(type,bubbles,cancelable,persisted){this._dispatchFlag||(this.initEvent(type,bubbles,cancelable),this.persisted=persisted)}}PageTransitionEventImpl.defaultInit=PageTransitionEventInit.convert(void 0,void 0),exports.implementation=PageTransitionEventImpl},28318:function(__unused_webpack_module,exports,__webpack_require__){const EventImpl=__webpack_require__(74089).implementation,PopStateEventInit=__webpack_require__(96793);class PopStateEventImpl extends EventImpl{}PopStateEventImpl.defaultInit=PopStateEventInit.convert(void 0,void 0),exports.implementation=PopStateEventImpl},45126:function(module,__unused_webpack_exports,__webpack_require__){const EventImpl=__webpack_require__(74089).implementation,ProgressEventInit=__webpack_require__(13099);class ProgressEventImpl extends EventImpl{}ProgressEventImpl.defaultInit=ProgressEventInit.convert(void 0,void 0),module.exports={implementation:ProgressEventImpl}},11454:function(module,__unused_webpack_exports,__webpack_require__){const EventImpl=__webpack_require__(74089).implementation,StorageEventInit=__webpack_require__(94930);class StorageEventImpl extends EventImpl{initStorageEvent(type,bubbles,cancelable,key,oldValue,newValue,url,storageArea){this._dispatchFlag||(this.initEvent(type,bubbles,cancelable),this.key=key,this.oldValue=oldValue,this.newValue=newValue,this.url=url,this.storageArea=storageArea)}}StorageEventImpl.defaultInit=StorageEventInit.convert(void 0,void 0),module.exports={implementation:StorageEventImpl}},36517:function(module,__unused_webpack_exports,__webpack_require__){const UIEventImpl=__webpack_require__(28079).implementation,TouchEventInit=__webpack_require__(50466);class TouchEventImpl extends UIEventImpl{}TouchEventImpl.defaultInit=TouchEventInit.convert(void 0,void 0),module.exports={implementation:TouchEventImpl}},28079:function(module,__unused_webpack_exports,__webpack_require__){const idlUtils=__webpack_require__(80421),UIEventInit=__webpack_require__(33032),EventImpl=__webpack_require__(74089).implementation;function isWindow(val){if("object"!=typeof val)return!1;const wrapper=idlUtils.wrapperForImpl(val);return"object"==typeof wrapper?wrapper===wrapper._globalProxy:isWindow(idlUtils.implForWrapper(val))}class UIEventImpl extends EventImpl{constructor(globalObject,args,privateData){const eventInitDict=args[1];if(eventInitDict&&null!==eventInitDict.view&&void 0!==eventInitDict.view&&!isWindow(eventInitDict.view))throw new TypeError(`Failed to construct '${new.target.name.replace(/Impl$/,"")}': member view is not of type Window.`);super(globalObject,args,privateData)}initUIEvent(type,bubbles,cancelable,view,detail){if(null!==view&&!isWindow(view))throw new TypeError(`Failed to execute 'initUIEvent' on '${this.constructor.name.replace(/Impl$/,"")}': parameter 4 is not of type 'Window'.`);this._dispatchFlag||(this.initEvent(type,bubbles,cancelable),this.view=view,this.detail=detail)}}UIEventImpl.defaultInit=UIEventInit.convert(void 0,void 0),module.exports={implementation:UIEventImpl}},58790:function(module,__unused_webpack_exports,__webpack_require__){const MouseEventImpl=__webpack_require__(58747).implementation,WheelEventInit=__webpack_require__(9911);class WheelEventImpl extends MouseEventImpl{}WheelEventImpl.defaultInit=WheelEventInit.convert(void 0,void 0),module.exports={implementation:WheelEventImpl}},5442:function(__unused_webpack_module,exports,__webpack_require__){const{isForbidden:isForbidden,isForbiddenResponse:isForbiddenResponse,isPrivilegedNoCORSRequest:isPrivilegedNoCORSRequest,isNoCORSSafelistedRequest:isNoCORSSafelistedRequest,isCORSWhitelisted:isCORSWhitelisted}=__webpack_require__(48166),HeaderList=__webpack_require__(37895);function assertName(name){if(!name.match(/^[!#$%&'*+\-.^`|~\w]+$/))throw new TypeError("name is invalid")}function assertValue(value){if(value.match(/[\0\r\n]/))throw new TypeError("value is invalid")}function normalizeValue(potentialValue){return potentialValue.replace(/^[\n\r\t ]+|[\n\r\t ]+$/g,"")}class HeadersImpl{constructor(globalObject,args){this.guard="none",this.headersList=new HeaderList,args[0]&&this._fill(args[0])}_fill(init){if(Array.isArray(init))for(const header of init){if(2!==header.length)throw new TypeError("init is invalid");this.append(header[0],header[1])}else for(const key of Object.keys(init))this.append(key,init[key])}has(name){return assertName(name),this.headersList.contains(name)}get(name){return assertName(name),this.headersList.get(name)}_removePrivilegedNoCORSHeaders(){this.headersList.delete("range")}append(name,value){switch(value=normalizeValue(value),assertName(name),assertValue(value),this.guard){case"immutable":throw new TypeError("Headers is immutable");case"request":if(isForbidden(name))return;break;case"request-no-cors":{let temporaryValue=this.get(name);if(null===temporaryValue?temporaryValue=value:temporaryValue+=`, ${value}`,!isCORSWhitelisted(name,value))return;break}case"response":if(isForbiddenResponse(name))return}this.headersList.append(name,value),this._removePrivilegedNoCORSHeaders()}set(name,value){switch(value=normalizeValue(value),assertName(name),assertValue(value),this.guard){case"immutable":throw new TypeError("Headers is immutable");case"request":if(isForbidden(name))return;break;case"request-no-cors":if(!isCORSWhitelisted(name,value))return;break;case"response":if(isForbiddenResponse(name))return}this.headersList.set(name,value),this._removePrivilegedNoCORSHeaders()}delete(name){switch(assertName(name),this.guard){case"immutable":throw new TypeError("Headers is immutable");case"request":if(isForbidden(name))return;break;case"request-no-cors":if(!isNoCORSSafelistedRequest(name)&&!isPrivilegedNoCORSRequest(name))return;break;case"response":if(isForbiddenResponse(name))return}this.headersList.delete(name),this._removePrivilegedNoCORSHeaders()}*[Symbol.iterator](){for(const header of this.headersList.sortAndCombine())yield header}}exports.implementation=HeadersImpl},37895:function(module){module.exports=class HeaderList{constructor(){this.headers=new Map}append(name,value){const existing=this.headers.get(name.toLowerCase());existing?(name=existing[0].name,existing.push({name:name,value:value})):this.headers.set(name.toLowerCase(),[{name:name,value:value}])}contains(name){return this.headers.has(name.toLowerCase())}get(name){name=name.toLowerCase();const values=this.headers.get(name);return values?values.map((h=>h.value)).join(", "):null}delete(name){this.headers.delete(name.toLowerCase())}set(name,value){const lowerName=name.toLowerCase();this.headers.delete(lowerName),this.headers.set(lowerName,[{name:name,value:value}])}sortAndCombine(){return[...this.headers.keys()].sort().map((n=>[n,this.get(n)]))}}},48166:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer;const MIMEType=__webpack_require__(36766),PRIVILEGED_NO_CORS_REQUEST=new Set(["range"]);const NO_CORS_SAFELISTED_REQUEST=new Set(["accept","accept-language","content-language","content-type"]);const FORBIDDEN=new Set(["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]);const FORBIDDEN_RESPONSE=new Set(["set-cookie","set-cookie2"]);const CORS_UNSAFE_BYTE=/[\x00-\x08\x0A-\x1F"():<>?@[\\\]{}\x7F]/;module.exports={isPrivilegedNoCORSRequest:function isPrivilegedNoCORSRequest(name){return PRIVILEGED_NO_CORS_REQUEST.has(name.toLowerCase())},isNoCORSSafelistedRequest:function isNoCORSSafelistedRequest(name){return NO_CORS_SAFELISTED_REQUEST.has(name.toLowerCase())},isForbidden:function isForbidden(name){return name=name.toLowerCase(),FORBIDDEN.has(name)||name.startsWith("proxy-")||name.startsWith("sec-")},isForbiddenResponse:function isForbiddenResponse(name){return FORBIDDEN_RESPONSE.has(name.toLowerCase())},isCORSWhitelisted:function isCORSWhitelisted(name,value){switch(name=name.toLowerCase()){case"accept":if(value.match(CORS_UNSAFE_BYTE))return!1;break;case"accept-language":case"content-language":if(value.match(/[^\x30-\x39\x41-\x5A\x61-\x7A *,\-.;=]/))return!1;break;case"content-type":{if(value.match(CORS_UNSAFE_BYTE))return!1;const mimeType=MIMEType.parse(value);if(null===mimeType)return!1;if(!["application/x-www-form-urlencoded","multipart/form-data","text/plain"].includes(mimeType.essence))return!1;break}default:return!1}return!(Buffer.from(value).length>128)}}},70744:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer;const Blob=__webpack_require__(86545),{isArrayBuffer:isArrayBuffer}=__webpack_require__(80421);function convertLineEndingsToNative(s){return s.replace(/\r\n|\r|\n/g,"\n")}exports.implementation=class BlobImpl{constructor(globalObject,args){const parts=args[0],properties=args[1],buffers=[];if(void 0!==parts)for(const part of parts){let buffer;if(isArrayBuffer(part))buffer=Buffer.from(part);else if(ArrayBuffer.isView(part))buffer=Buffer.from(part.buffer,part.byteOffset,part.byteLength);else if(Blob.isImpl(part))buffer=part._buffer;else{let s=part;"native"===properties.endings&&(s=convertLineEndingsToNative(part)),buffer=Buffer.from(s)}buffers.push(buffer)}this._buffer=Buffer.concat(buffers),this._globalObject=globalObject,this.type=properties.type,/[^\u0020-\u007E]/.test(this.type)?this.type="":this.type=this.type.toLowerCase()}get size(){return this._buffer.length}slice(start,end,contentType){const{size:size}=this;let relativeStart,relativeEnd,relativeContentType;relativeStart=void 0===start?0:start<0?Math.max(size+start,0):Math.min(start,size),relativeEnd=void 0===end?size:end<0?Math.max(size+end,0):Math.min(end,size),relativeContentType=void 0===contentType?"":contentType;const span=Math.max(relativeEnd-relativeStart,0),slicedBuffer=this._buffer.slice(relativeStart,relativeStart+span),blob=Blob.createImpl(this._globalObject,[[],{type:relativeContentType}],{});return blob._buffer=slicedBuffer,blob}}},89212:function(__unused_webpack_module,exports,__webpack_require__){const BlobImpl=__webpack_require__(70744).implementation;exports.implementation=class FileImpl extends BlobImpl{constructor(globalObject,[fileBits,fileName,options],privateData){super(globalObject,[fileBits,options],privateData),this.name=fileName,this.lastModified="lastModified"in options?options.lastModified:Date.now()}}},94356:function(__unused_webpack_module,exports,__webpack_require__){const idlUtils=__webpack_require__(80421);exports.implementation=class FileListImpl extends Array{constructor(){super(0)}item(index){return this[index]||null}get[idlUtils.supportedPropertyIndices](){return this.keys()}}},65144:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer;const whatwgEncoding=__webpack_require__(81479),MIMEType=__webpack_require__(36766),DOMException=__webpack_require__(69026),EventTargetImpl=__webpack_require__(98998).implementation,ProgressEvent=__webpack_require__(49363),{setupForSimpleEventAccessors:setupForSimpleEventAccessors}=__webpack_require__(90653),{fireAnEvent:fireAnEvent}=__webpack_require__(96799),{copyToArrayBufferInNewRealm:copyToArrayBufferInNewRealm}=__webpack_require__(51206),READY_STATES=Object.freeze({EMPTY:0,LOADING:1,DONE:2});class FileReaderImpl extends EventTargetImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this.error=null,this.readyState=READY_STATES.EMPTY,this.result=null,this._globalObject=globalObject,this._ownerDocument=globalObject.document,this._terminated=!1}readAsArrayBuffer(file){this._readFile(file,"buffer")}readAsBinaryString(file){this._readFile(file,"binaryString")}readAsDataURL(file){this._readFile(file,"dataURL")}readAsText(file,encoding){this._readFile(file,"text",whatwgEncoding.labelToName(encoding)||"UTF-8")}abort(){this.readyState!==READY_STATES.EMPTY&&this.readyState!==READY_STATES.DONE?(this.readyState===READY_STATES.LOADING&&(this.readyState=READY_STATES.DONE,this.result=null),this._terminated=!0,this._fireProgressEvent("abort"),this._fireProgressEvent("loadend")):this.result=null}_fireProgressEvent(name,props){fireAnEvent(name,this,ProgressEvent,props)}_readFile(file,format,encoding){if(this.readyState===READY_STATES.LOADING)throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);this.readyState=READY_STATES.LOADING,setImmediate((()=>{if(this._terminated)return void(this._terminated=!1);this._fireProgressEvent("loadstart");let data=file._buffer;data||(data=Buffer.alloc(0)),this._fireProgressEvent("progress",{lengthComputable:!isNaN(file.size),total:file.size,loaded:data.length}),setImmediate((()=>{if(this._terminated)this._terminated=!1;else{switch(format){case"binaryString":this.result=data.toString("binary");break;case"dataURL":{const contentType=MIMEType.parse(file.type)||"application/octet-stream";this.result=`data:${contentType};base64,${data.toString("base64")}`;break}case"text":this.result=whatwgEncoding.decode(data,encoding);break;case"buffer":default:this.result=copyToArrayBufferInNewRealm(data,this._globalObject)}this.readyState=READY_STATES.DONE,this._fireProgressEvent("load"),this._fireProgressEvent("loadend")}}))}))}}setupForSimpleEventAccessors(FileReaderImpl.prototype,["loadstart","progress","load","abort","error","loadend"]),exports.implementation=FileReaderImpl},90531:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].AbortController.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'AbortController'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class AbortController{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,void 0)}abort(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'abort' called on an object that is not a valid instance of AbortController.");const args=[];{let curArg=arguments[0];void 0!==curArg&&(curArg=conversions.any(curArg,{context:"Failed to execute 'abort' on 'AbortController': parameter 1",globals:globalObject})),args.push(curArg)}return esValue[implSymbol].abort(...args)}get signal(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get signal' called on an object that is not a valid instance of AbortController.");return utils.getSameObject(this,"signal",(()=>utils.tryWrapperForImpl(esValue[implSymbol].signal)))}}Object.defineProperties(AbortController.prototype,{abort:{enumerable:!0},signal:{enumerable:!0},[Symbol.toStringTag]:{value:"AbortController",configurable:!0}}),ctorRegistry.AbortController=AbortController,Object.defineProperty(globalObject,"AbortController",{configurable:!0,writable:!0,value:AbortController})};const Impl=__webpack_require__(82094)},91330:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),EventHandlerNonNull=__webpack_require__(65685),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,EventTarget=__webpack_require__(70462);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].AbortSignal.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'AbortSignal'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{EventTarget._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class AbortSignal extends globalObject.EventTarget{constructor(){throw new globalObject.TypeError("Illegal constructor")}get aborted(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get aborted' called on an object that is not a valid instance of AbortSignal.");return esValue[implSymbol].aborted}get reason(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get reason' called on an object that is not a valid instance of AbortSignal.");return esValue[implSymbol].reason}get onabort(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onabort' called on an object that is not a valid instance of AbortSignal.");return utils.tryWrapperForImpl(esValue[implSymbol].onabort)}set onabort(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onabort' called on an object that is not a valid instance of AbortSignal.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onabort' property on 'AbortSignal': The provided value"}):null,esValue[implSymbol].onabort=V}static abort(){const args=[];{let curArg=arguments[0];void 0!==curArg&&(curArg=conversions.any(curArg,{context:"Failed to execute 'abort' on 'AbortSignal': parameter 1",globals:globalObject})),args.push(curArg)}return utils.tryWrapperForImpl(Impl.implementation.abort(globalObject,...args))}}Object.defineProperties(AbortSignal.prototype,{aborted:{enumerable:!0},reason:{enumerable:!0},onabort:{enumerable:!0},[Symbol.toStringTag]:{value:"AbortSignal",configurable:!0}}),Object.defineProperties(AbortSignal,{abort:{enumerable:!0}}),ctorRegistry.AbortSignal=AbortSignal,Object.defineProperty(globalObject,"AbortSignal",{configurable:!0,writable:!0,value:AbortSignal})};const Impl=__webpack_require__(12340)},20229:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].AbstractRange.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'AbstractRange'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class AbstractRange{constructor(){throw new globalObject.TypeError("Illegal constructor")}get startContainer(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get startContainer' called on an object that is not a valid instance of AbstractRange.");return utils.tryWrapperForImpl(esValue[implSymbol].startContainer)}get startOffset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get startOffset' called on an object that is not a valid instance of AbstractRange.");return esValue[implSymbol].startOffset}get endContainer(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get endContainer' called on an object that is not a valid instance of AbstractRange.");return utils.tryWrapperForImpl(esValue[implSymbol].endContainer)}get endOffset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get endOffset' called on an object that is not a valid instance of AbstractRange.");return esValue[implSymbol].endOffset}get collapsed(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get collapsed' called on an object that is not a valid instance of AbstractRange.");return esValue[implSymbol].collapsed}}Object.defineProperties(AbstractRange.prototype,{startContainer:{enumerable:!0},startOffset:{enumerable:!0},endContainer:{enumerable:!0},endOffset:{enumerable:!0},collapsed:{enumerable:!0},[Symbol.toStringTag]:{value:"AbstractRange",configurable:!0}}),ctorRegistry.AbstractRange=AbstractRange,Object.defineProperty(globalObject,"AbstractRange",{configurable:!0,writable:!0,value:AbstractRange})};const Impl=__webpack_require__(41120)},32633:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),EventListenerOptions=(__webpack_require__(80421),__webpack_require__(32212));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{EventListenerOptions._convertInherit(globalObject,obj,ret,{context:context});{const key="once";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'once' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="passive";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'passive' that",globals:globalObject}),ret[key]=value):ret[key]=!1}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},85601:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993);__webpack_require__(80421);exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{{const key="flatten";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'flatten' that",globals:globalObject}),ret[key]=value):ret[key]=!1}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},97499:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Node=__webpack_require__(47462);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Attr.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Attr'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Node._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Attr extends globalObject.Node{constructor(){throw new globalObject.TypeError("Illegal constructor")}get namespaceURI(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get namespaceURI' called on an object that is not a valid instance of Attr.");return esValue[implSymbol].namespaceURI}get prefix(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get prefix' called on an object that is not a valid instance of Attr.");return esValue[implSymbol].prefix}get localName(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get localName' called on an object that is not a valid instance of Attr.");return esValue[implSymbol].localName}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of Attr.");return esValue[implSymbol].name}get value(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get value' called on an object that is not a valid instance of Attr.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set value' called on an object that is not a valid instance of Attr.");V=conversions.DOMString(V,{context:"Failed to set the 'value' property on 'Attr': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].value=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get ownerElement(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ownerElement' called on an object that is not a valid instance of Attr.");return utils.tryWrapperForImpl(esValue[implSymbol].ownerElement)}get specified(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get specified' called on an object that is not a valid instance of Attr.");return esValue[implSymbol].specified}}Object.defineProperties(Attr.prototype,{namespaceURI:{enumerable:!0},prefix:{enumerable:!0},localName:{enumerable:!0},name:{enumerable:!0},value:{enumerable:!0},ownerElement:{enumerable:!0},specified:{enumerable:!0},[Symbol.toStringTag]:{value:"Attr",configurable:!0}}),ctorRegistry.Attr=Attr,Object.defineProperty(globalObject,"Attr",{configurable:!0,writable:!0,value:Attr})};const Impl=__webpack_require__(8611)},55290:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].BarProp.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'BarProp'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class BarProp{constructor(){throw new globalObject.TypeError("Illegal constructor")}get visible(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get visible' called on an object that is not a valid instance of BarProp.");return esValue[implSymbol].visible}}Object.defineProperties(BarProp.prototype,{visible:{enumerable:!0},[Symbol.toStringTag]:{value:"BarProp",configurable:!0}}),ctorRegistry.BarProp=BarProp,Object.defineProperty(globalObject,"BarProp",{configurable:!0,writable:!0,value:BarProp})};const Impl=__webpack_require__(72855)},44231:function(__unused_webpack_module,exports){const enumerationValues=new Set(["blob","arraybuffer"]);exports.enumerationValues=enumerationValues,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{const string=`${value}`;if(!enumerationValues.has(string))throw new globalObject.TypeError(`${context} '${string}' is not a valid enumeration value for BinaryType`);return string}},86545:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),BlobPropertyBag=__webpack_require__(94530),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Blob.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Blob'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Blob{constructor(){const args=[];{let curArg=arguments[0];if(void 0!==curArg){if(!utils.isObject(curArg))throw new globalObject.TypeError("Failed to construct 'Blob': parameter 1 is not an iterable object.");{const V=[],tmp=curArg;for(let nextItem of tmp)exports.is(nextItem)?nextItem=utils.implForWrapper(nextItem):utils.isArrayBuffer(nextItem)||ArrayBuffer.isView(nextItem)||(nextItem=conversions.USVString(nextItem,{context:"Failed to construct 'Blob': parameter 1's element",globals:globalObject})),V.push(nextItem);curArg=V}}args.push(curArg)}{let curArg=arguments[1];curArg=BlobPropertyBag.convert(globalObject,curArg,{context:"Failed to construct 'Blob': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}slice(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'slice' called on an object that is not a valid instance of Blob.");const args=[];{let curArg=arguments[0];void 0!==curArg&&(curArg=conversions["long long"](curArg,{context:"Failed to execute 'slice' on 'Blob': parameter 1",globals:globalObject,clamp:!0})),args.push(curArg)}{let curArg=arguments[1];void 0!==curArg&&(curArg=conversions["long long"](curArg,{context:"Failed to execute 'slice' on 'Blob': parameter 2",globals:globalObject,clamp:!0})),args.push(curArg)}{let curArg=arguments[2];void 0!==curArg&&(curArg=conversions.DOMString(curArg,{context:"Failed to execute 'slice' on 'Blob': parameter 3",globals:globalObject})),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].slice(...args))}get size(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get size' called on an object that is not a valid instance of Blob.");return esValue[implSymbol].size}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of Blob.");return esValue[implSymbol].type}}Object.defineProperties(Blob.prototype,{slice:{enumerable:!0},size:{enumerable:!0},type:{enumerable:!0},[Symbol.toStringTag]:{value:"Blob",configurable:!0}}),ctorRegistry.Blob=Blob,Object.defineProperty(globalObject,"Blob",{configurable:!0,writable:!0,value:Blob})};const Impl=__webpack_require__(70744)},841:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421);exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if("function"!=typeof value)throw new globalObject.TypeError(context+" is not a function");function invokeTheCallbackFunction(blob){const thisArg=utils.tryWrapperForImpl(this);let callResult;blob=utils.tryWrapperForImpl(blob),callResult=Reflect.apply(value,thisArg,[blob])}return invokeTheCallbackFunction.construct=blob=>{blob=utils.tryWrapperForImpl(blob);Reflect.construct(value,[blob])},invokeTheCallbackFunction[utils.wrapperSymbol]=value,invokeTheCallbackFunction.objectReference=value,invokeTheCallbackFunction}},94530:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),EndingType=(__webpack_require__(80421),__webpack_require__(64949));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{{const key="endings";let value=null==obj?void 0:obj[key];void 0!==value?(value=EndingType.convert(globalObject,value,{context:context+" has member 'endings' that"}),ret[key]=value):ret[key]="transparent"}{const key="type";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.DOMString(value,{context:context+" has member 'type' that",globals:globalObject}),ret[key]=value):ret[key]=""}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},66019:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Text=__webpack_require__(86112);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].CDATASection.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'CDATASection'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Text._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class CDATASection extends globalObject.Text{constructor(){throw new globalObject.TypeError("Illegal constructor")}}Object.defineProperties(CDATASection.prototype,{[Symbol.toStringTag]:{value:"CDATASection",configurable:!0}}),ctorRegistry.CDATASection=CDATASection,Object.defineProperty(globalObject,"CDATASection",{configurable:!0,writable:!0,value:CDATASection})};const Impl=__webpack_require__(73355)},93324:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),Node=__webpack_require__(47462),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].CharacterData.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'CharacterData'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Node._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class CharacterData extends globalObject.Node{constructor(){throw new globalObject.TypeError("Illegal constructor")}substringData(offset,count){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'substringData' called on an object that is not a valid instance of CharacterData.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'substringData' on 'CharacterData': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'substringData' on 'CharacterData': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'substringData' on 'CharacterData': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].substringData(...args)}appendData(data){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'appendData' called on an object that is not a valid instance of CharacterData.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'appendData' on 'CharacterData': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'appendData' on 'CharacterData': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].appendData(...args)}insertData(offset,data){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'insertData' called on an object that is not a valid instance of CharacterData.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'insertData' on 'CharacterData': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'insertData' on 'CharacterData': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'insertData' on 'CharacterData': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].insertData(...args)}deleteData(offset,count){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'deleteData' called on an object that is not a valid instance of CharacterData.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'deleteData' on 'CharacterData': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'deleteData' on 'CharacterData': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'deleteData' on 'CharacterData': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].deleteData(...args)}replaceData(offset,count,data){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'replaceData' called on an object that is not a valid instance of CharacterData.");if(arguments.length<3)throw new globalObject.TypeError(`Failed to execute 'replaceData' on 'CharacterData': 3 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'replaceData' on 'CharacterData': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'replaceData' on 'CharacterData': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'replaceData' on 'CharacterData': parameter 3",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].replaceData(...args)}before(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'before' called on an object that is not a valid instance of CharacterData.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'before' on 'CharacterData': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].before(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}after(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'after' called on an object that is not a valid instance of CharacterData.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'after' on 'CharacterData': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].after(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}replaceWith(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'replaceWith' called on an object that is not a valid instance of CharacterData.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'replaceWith' on 'CharacterData': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].replaceWith(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}remove(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'remove' called on an object that is not a valid instance of CharacterData.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].remove()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get data(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get data' called on an object that is not a valid instance of CharacterData.");return esValue[implSymbol].data}set data(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set data' called on an object that is not a valid instance of CharacterData.");V=conversions.DOMString(V,{context:"Failed to set the 'data' property on 'CharacterData': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),esValue[implSymbol].data=V}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of CharacterData.");return esValue[implSymbol].length}get previousElementSibling(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get previousElementSibling' called on an object that is not a valid instance of CharacterData.");return utils.tryWrapperForImpl(esValue[implSymbol].previousElementSibling)}get nextElementSibling(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get nextElementSibling' called on an object that is not a valid instance of CharacterData.");return utils.tryWrapperForImpl(esValue[implSymbol].nextElementSibling)}}Object.defineProperties(CharacterData.prototype,{substringData:{enumerable:!0},appendData:{enumerable:!0},insertData:{enumerable:!0},deleteData:{enumerable:!0},replaceData:{enumerable:!0},before:{enumerable:!0},after:{enumerable:!0},replaceWith:{enumerable:!0},remove:{enumerable:!0},data:{enumerable:!0},length:{enumerable:!0},previousElementSibling:{enumerable:!0},nextElementSibling:{enumerable:!0},[Symbol.toStringTag]:{value:"CharacterData",configurable:!0},[Symbol.unscopables]:{value:{before:!0,after:!0,replaceWith:!0,remove:!0,__proto__:null},configurable:!0}}),ctorRegistry.CharacterData=CharacterData,Object.defineProperty(globalObject,"CharacterData",{configurable:!0,writable:!0,value:CharacterData})};const Impl=__webpack_require__(83562)},28793:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),CloseEventInit=__webpack_require__(60667),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Event=__webpack_require__(6776);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].CloseEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'CloseEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class CloseEvent extends globalObject.Event{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'CloseEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'CloseEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=CloseEventInit.convert(globalObject,curArg,{context:"Failed to construct 'CloseEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get wasClean(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get wasClean' called on an object that is not a valid instance of CloseEvent.");return esValue[implSymbol].wasClean}get code(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get code' called on an object that is not a valid instance of CloseEvent.");return esValue[implSymbol].code}get reason(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get reason' called on an object that is not a valid instance of CloseEvent.");return esValue[implSymbol].reason}}Object.defineProperties(CloseEvent.prototype,{wasClean:{enumerable:!0},code:{enumerable:!0},reason:{enumerable:!0},[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0}}),ctorRegistry.CloseEvent=CloseEvent,Object.defineProperty(globalObject,"CloseEvent",{configurable:!0,writable:!0,value:CloseEvent})};const Impl=__webpack_require__(79045)},60667:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),EventInit=(__webpack_require__(80421),__webpack_require__(75061));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="code";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions["unsigned short"](value,{context:context+" has member 'code' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="reason";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.USVString(value,{context:context+" has member 'reason' that",globals:globalObject}),ret[key]=value):ret[key]=""}{const key="wasClean";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'wasClean' that",globals:globalObject}),ret[key]=value):ret[key]=!1}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},56445:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,CharacterData=__webpack_require__(93324);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Comment.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Comment'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{CharacterData._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Comment extends globalObject.CharacterData{constructor(){const args=[];{let curArg=arguments[0];curArg=void 0!==curArg?conversions.DOMString(curArg,{context:"Failed to construct 'Comment': parameter 1",globals:globalObject}):"",args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}}Object.defineProperties(Comment.prototype,{[Symbol.toStringTag]:{value:"Comment",configurable:!0}}),ctorRegistry.Comment=Comment,Object.defineProperty(globalObject,"Comment",{configurable:!0,writable:!0,value:Comment})};const Impl=__webpack_require__(59941)},3217:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),CompositionEventInit=__webpack_require__(47802),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,UIEvent=__webpack_require__(9973);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].CompositionEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'CompositionEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{UIEvent._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class CompositionEvent extends globalObject.UIEvent{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'CompositionEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'CompositionEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=CompositionEventInit.convert(globalObject,curArg,{context:"Failed to construct 'CompositionEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}initCompositionEvent(typeArg){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'initCompositionEvent' called on an object that is not a valid instance of CompositionEvent.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'initCompositionEvent' on 'CompositionEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'initCompositionEvent' on 'CompositionEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initCompositionEvent' on 'CompositionEvent': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initCompositionEvent' on 'CompositionEvent': parameter 3",globals:globalObject}),args.push(curArg)}{let curArg=arguments[3];curArg=void 0!==curArg?null==curArg?null:utils.tryImplForWrapper(curArg):null,args.push(curArg)}{let curArg=arguments[4];curArg=void 0!==curArg?conversions.DOMString(curArg,{context:"Failed to execute 'initCompositionEvent' on 'CompositionEvent': parameter 5",globals:globalObject}):"",args.push(curArg)}return esValue[implSymbol].initCompositionEvent(...args)}get data(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get data' called on an object that is not a valid instance of CompositionEvent.");return esValue[implSymbol].data}}Object.defineProperties(CompositionEvent.prototype,{initCompositionEvent:{enumerable:!0},data:{enumerable:!0},[Symbol.toStringTag]:{value:"CompositionEvent",configurable:!0}}),ctorRegistry.CompositionEvent=CompositionEvent,Object.defineProperty(globalObject,"CompositionEvent",{configurable:!0,writable:!0,value:CompositionEvent})};const Impl=__webpack_require__(85715)},47802:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),UIEventInit=(__webpack_require__(80421),__webpack_require__(33032));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{UIEventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="data";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.DOMString(value,{context:context+" has member 'data' that",globals:globalObject}),ret[key]=value):ret[key]=""}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},50834:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421);exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if("function"!=typeof value)throw new globalObject.TypeError(context+" is not a function");function invokeTheCallbackFunction(){const thisArg=utils.tryWrapperForImpl(this);let callResult;return callResult=Reflect.apply(value,thisArg,[]),callResult=conversions.any(callResult,{context:context,globals:globalObject}),callResult}return invokeTheCallbackFunction.construct=()=>{let callResult=Reflect.construct(value,[]);return callResult=conversions.any(callResult,{context:context,globals:globalObject}),callResult},invokeTheCallbackFunction[utils.wrapperSymbol]=value,invokeTheCallbackFunction.objectReference=value,invokeTheCallbackFunction}},15381:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),CustomElementConstructor=__webpack_require__(50834),ElementDefinitionOptions=__webpack_require__(1994),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,Node=__webpack_require__(47462),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].CustomElementRegistry.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'CustomElementRegistry'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class CustomElementRegistry{constructor(){throw new globalObject.TypeError("Illegal constructor")}define(name,constructor){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'define' called on an object that is not a valid instance of CustomElementRegistry.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'define' on 'CustomElementRegistry': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'define' on 'CustomElementRegistry': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=CustomElementConstructor.convert(globalObject,curArg,{context:"Failed to execute 'define' on 'CustomElementRegistry': parameter 2"}),args.push(curArg)}{let curArg=arguments[2];curArg=ElementDefinitionOptions.convert(globalObject,curArg,{context:"Failed to execute 'define' on 'CustomElementRegistry': parameter 3"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].define(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get' called on an object that is not a valid instance of CustomElementRegistry.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'get' on 'CustomElementRegistry': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'get' on 'CustomElementRegistry': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].get(...args)}whenDefined(name){try{const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'whenDefined' called on an object that is not a valid instance of CustomElementRegistry.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'whenDefined' on 'CustomElementRegistry': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'whenDefined' on 'CustomElementRegistry': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].whenDefined(...args))}catch(e){return globalObject.Promise.reject(e)}}upgrade(root){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'upgrade' called on an object that is not a valid instance of CustomElementRegistry.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'upgrade' on 'CustomElementRegistry': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'upgrade' on 'CustomElementRegistry': parameter 1"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].upgrade(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(CustomElementRegistry.prototype,{define:{enumerable:!0},get:{enumerable:!0},whenDefined:{enumerable:!0},upgrade:{enumerable:!0},[Symbol.toStringTag]:{value:"CustomElementRegistry",configurable:!0}}),ctorRegistry.CustomElementRegistry=CustomElementRegistry,Object.defineProperty(globalObject,"CustomElementRegistry",{configurable:!0,writable:!0,value:CustomElementRegistry})};const Impl=__webpack_require__(3654)},25355:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),CustomEventInit=__webpack_require__(20186),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Event=__webpack_require__(6776);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].CustomEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'CustomEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class CustomEvent extends globalObject.Event{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'CustomEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'CustomEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=CustomEventInit.convert(globalObject,curArg,{context:"Failed to construct 'CustomEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}initCustomEvent(type){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'initCustomEvent' called on an object that is not a valid instance of CustomEvent.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'initCustomEvent' on 'CustomEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'initCustomEvent' on 'CustomEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initCustomEvent' on 'CustomEvent': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initCustomEvent' on 'CustomEvent': parameter 3",globals:globalObject}),args.push(curArg)}{let curArg=arguments[3];curArg=void 0!==curArg?conversions.any(curArg,{context:"Failed to execute 'initCustomEvent' on 'CustomEvent': parameter 4",globals:globalObject}):null,args.push(curArg)}return esValue[implSymbol].initCustomEvent(...args)}get detail(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get detail' called on an object that is not a valid instance of CustomEvent.");return esValue[implSymbol].detail}}Object.defineProperties(CustomEvent.prototype,{initCustomEvent:{enumerable:!0},detail:{enumerable:!0},[Symbol.toStringTag]:{value:"CustomEvent",configurable:!0}}),ctorRegistry.CustomEvent=CustomEvent,Object.defineProperty(globalObject,"CustomEvent",{configurable:!0,writable:!0,value:CustomEvent})};const Impl=__webpack_require__(18015)},20186:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),EventInit=(__webpack_require__(80421),__webpack_require__(75061));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="detail";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.any(value,{context:context+" has member 'detail' that",globals:globalObject}),ret[key]=value):ret[key]=null}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},94992:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),DocumentType=__webpack_require__(6558),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].DOMImplementation.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'DOMImplementation'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class DOMImplementation{constructor(){throw new globalObject.TypeError("Illegal constructor")}createDocumentType(qualifiedName,publicId,systemId){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createDocumentType' called on an object that is not a valid instance of DOMImplementation.");if(arguments.length<3)throw new globalObject.TypeError(`Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createDocumentType' on 'DOMImplementation': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createDocumentType' on 'DOMImplementation': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createDocumentType' on 'DOMImplementation': parameter 3",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createDocumentType(...args))}createDocument(namespace,qualifiedName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createDocument' called on an object that is not a valid instance of DOMImplementation.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'createDocument' on 'DOMImplementation': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'createDocument' on 'DOMImplementation': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createDocument' on 'DOMImplementation': parameter 2",globals:globalObject,treatNullAsEmptyString:!0}),args.push(curArg)}{let curArg=arguments[2];curArg=void 0!==curArg?null==curArg?null:DocumentType.convert(globalObject,curArg,{context:"Failed to execute 'createDocument' on 'DOMImplementation': parameter 3"}):null,args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createDocument(...args))}createHTMLDocument(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createHTMLDocument' called on an object that is not a valid instance of DOMImplementation.");const args=[];{let curArg=arguments[0];void 0!==curArg&&(curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createHTMLDocument' on 'DOMImplementation': parameter 1",globals:globalObject})),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createHTMLDocument(...args))}hasFeature(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'hasFeature' called on an object that is not a valid instance of DOMImplementation.");return esValue[implSymbol].hasFeature()}}Object.defineProperties(DOMImplementation.prototype,{createDocumentType:{enumerable:!0},createDocument:{enumerable:!0},createHTMLDocument:{enumerable:!0},hasFeature:{enumerable:!0},[Symbol.toStringTag]:{value:"DOMImplementation",configurable:!0}}),ctorRegistry.DOMImplementation=DOMImplementation,Object.defineProperty(globalObject,"DOMImplementation",{configurable:!0,writable:!0,value:DOMImplementation})};const Impl=__webpack_require__(79220)},76384:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),SupportedType=__webpack_require__(75384),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].DOMParser.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'DOMParser'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class DOMParser{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,void 0)}parseFromString(str,type){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'parseFromString' called on an object that is not a valid instance of DOMParser.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'parseFromString' on 'DOMParser': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'parseFromString' on 'DOMParser': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=SupportedType.convert(globalObject,curArg,{context:"Failed to execute 'parseFromString' on 'DOMParser': parameter 2"}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].parseFromString(...args))}}Object.defineProperties(DOMParser.prototype,{parseFromString:{enumerable:!0},[Symbol.toStringTag]:{value:"DOMParser",configurable:!0}}),ctorRegistry.DOMParser=DOMParser,Object.defineProperty(globalObject,"DOMParser",{configurable:!0,writable:!0,value:DOMParser})};const Impl=__webpack_require__(43897)},84098:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].DOMStringMap.prototype),Object.create(proto)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);return void 0===proxyHandler&&(proxyHandler=new ProxyHandler(globalObject),proxyHandlerCache.set(globalObject,proxyHandler)),new Proxy(wrapper,proxyHandler)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'DOMStringMap'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),(wrapper=makeProxy(wrapper,globalObject))[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{let wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper=makeProxy(wrapper,globalObject),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class DOMStringMap{constructor(){throw new globalObject.TypeError("Illegal constructor")}}Object.defineProperties(DOMStringMap.prototype,{[Symbol.toStringTag]:{value:"DOMStringMap",configurable:!0}}),ctorRegistry.DOMStringMap=DOMStringMap,Object.defineProperty(globalObject,"DOMStringMap",{configurable:!0,writable:!0,value:DOMStringMap})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if("symbol"==typeof P)return Reflect.get(target,P,receiver);const desc=this.getOwnPropertyDescriptor(target,P);if(void 0===desc){if(null===Object.getPrototypeOf(target))return;return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set)return desc.value;const getter=desc.get;return void 0!==getter?Reflect.apply(getter,receiver,[]):void 0}has(target,P){if("symbol"==typeof P)return Reflect.has(target,P);if(void 0!==this.getOwnPropertyDescriptor(target,P))return!0;const parent=Object.getPrototypeOf(target);return null!==parent&&Reflect.has(parent,P)}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyNames])utils.hasOwn(target,key)||keys.add(`${key}`);for(const key of Reflect.ownKeys(target))keys.add(key);return[...keys]}getOwnPropertyDescriptor(target,P){if("symbol"==typeof P)return Reflect.getOwnPropertyDescriptor(target,P);const namedValue=target[implSymbol][utils.namedGet](P);return void 0===namedValue||utils.hasOwn(target,P)?Reflect.getOwnPropertyDescriptor(target,P):{writable:!0,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(namedValue)}}set(target,P,V,receiver){if("symbol"==typeof P)return Reflect.set(target,P,V,receiver);if(target[implSymbol][utils.wrapperSymbol]===receiver){const globalObject=this._globalObject;if("string"==typeof P){let namedValue=V;namedValue=conversions.DOMString(namedValue,{context:"Failed to set the '"+P+"' property on 'DOMStringMap': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{!(void 0!==target[implSymbol][utils.namedGet](P))?target[implSymbol][utils.namedSetNew](P,namedValue):target[implSymbol][utils.namedSetExisting](P,namedValue)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}return!0}}let ownDesc;if(void 0===ownDesc&&(ownDesc=Reflect.getOwnPropertyDescriptor(target,P)),void 0===ownDesc){const parent=Reflect.getPrototypeOf(target);if(null!==parent)return Reflect.set(parent,P,V,receiver);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:void 0}}if(!ownDesc.writable)return!1;if(!utils.isObject(receiver))return!1;const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(void 0!==existingDesc){if(existingDesc.get||existingDesc.set)return!1;if(!existingDesc.writable)return!1;valueDesc={value:V}}else valueDesc={writable:!0,enumerable:!0,configurable:!0,value:V};return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if("symbol"==typeof P)return Reflect.defineProperty(target,P,desc);const globalObject=this._globalObject;if(desc.get||desc.set)return!1;let namedValue=desc.value;namedValue=conversions.DOMString(namedValue,{context:"Failed to set the '"+P+"' property on 'DOMStringMap': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{!(void 0!==target[implSymbol][utils.namedGet](P))?target[implSymbol][utils.namedSetNew](P,namedValue):target[implSymbol][utils.namedSetExisting](P,namedValue)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}return!0}deleteProperty(target,P){if("symbol"==typeof P)return Reflect.deleteProperty(target,P);const globalObject=this._globalObject;if(void 0!==target[implSymbol][utils.namedGet](P)&&!utils.hasOwn(target,P)){ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return target[implSymbol][utils.namedDelete](P),!0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}return Reflect.deleteProperty(target,P)}preventExtensions(){return!1}}const Impl=__webpack_require__(45442)},33858:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].DOMTokenList.prototype),Object.create(proto)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);return void 0===proxyHandler&&(proxyHandler=new ProxyHandler(globalObject),proxyHandlerCache.set(globalObject,proxyHandler)),new Proxy(wrapper,proxyHandler)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'DOMTokenList'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),(wrapper=makeProxy(wrapper,globalObject))[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{let wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper=makeProxy(wrapper,globalObject),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class DOMTokenList{constructor(){throw new globalObject.TypeError("Illegal constructor")}item(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'item' called on an object that is not a valid instance of DOMTokenList.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'item' on 'DOMTokenList': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'DOMTokenList': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].item(...args)}contains(token){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'contains' called on an object that is not a valid instance of DOMTokenList.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'contains' on 'DOMTokenList': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'contains' on 'DOMTokenList': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].contains(...args)}add(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'add' called on an object that is not a valid instance of DOMTokenList.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'add' on 'DOMTokenList': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].add(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}remove(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'remove' called on an object that is not a valid instance of DOMTokenList.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'remove' on 'DOMTokenList': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].remove(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}toggle(token){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'toggle' called on an object that is not a valid instance of DOMTokenList.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'toggle' on 'DOMTokenList': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'toggle' on 'DOMTokenList': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];void 0!==curArg&&(curArg=conversions.boolean(curArg,{context:"Failed to execute 'toggle' on 'DOMTokenList': parameter 2",globals:globalObject})),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].toggle(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}replace(token,newToken){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'replace' called on an object that is not a valid instance of DOMTokenList.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'replace' on 'DOMTokenList': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'replace' on 'DOMTokenList': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'replace' on 'DOMTokenList': parameter 2",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].replace(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}supports(token){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'supports' called on an object that is not a valid instance of DOMTokenList.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'supports' on 'DOMTokenList': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'supports' on 'DOMTokenList': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].supports(...args)}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of DOMTokenList.");return esValue[implSymbol].length}get value(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get value' called on an object that is not a valid instance of DOMTokenList.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set value' called on an object that is not a valid instance of DOMTokenList.");V=conversions.DOMString(V,{context:"Failed to set the 'value' property on 'DOMTokenList': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].value=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}toString(){const esValue=this;if(!exports.is(esValue))throw new globalObject.TypeError("'toString' called on an object that is not a valid instance of DOMTokenList.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(DOMTokenList.prototype,{item:{enumerable:!0},contains:{enumerable:!0},add:{enumerable:!0},remove:{enumerable:!0},toggle:{enumerable:!0},replace:{enumerable:!0},supports:{enumerable:!0},length:{enumerable:!0},value:{enumerable:!0},toString:{enumerable:!0},[Symbol.toStringTag]:{value:"DOMTokenList",configurable:!0},[Symbol.iterator]:{value:globalObject.Array.prototype[Symbol.iterator],configurable:!0,writable:!0},keys:{value:globalObject.Array.prototype.keys,configurable:!0,enumerable:!0,writable:!0},values:{value:globalObject.Array.prototype.values,configurable:!0,enumerable:!0,writable:!0},entries:{value:globalObject.Array.prototype.entries,configurable:!0,enumerable:!0,writable:!0},forEach:{value:globalObject.Array.prototype.forEach,configurable:!0,enumerable:!0,writable:!0}}),ctorRegistry.DOMTokenList=DOMTokenList,Object.defineProperty(globalObject,"DOMTokenList",{configurable:!0,writable:!0,value:DOMTokenList})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if("symbol"==typeof P)return Reflect.get(target,P,receiver);const desc=this.getOwnPropertyDescriptor(target,P);if(void 0===desc){if(null===Object.getPrototypeOf(target))return;return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set)return desc.value;const getter=desc.get;return void 0!==getter?Reflect.apply(getter,receiver,[]):void 0}has(target,P){if("symbol"==typeof P)return Reflect.has(target,P);if(void 0!==this.getOwnPropertyDescriptor(target,P))return!0;const parent=Object.getPrototypeOf(target);return null!==parent&&Reflect.has(parent,P)}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices])keys.add(`${key}`);for(const key of Reflect.ownKeys(target))keys.add(key);return[...keys]}getOwnPropertyDescriptor(target,P){if("symbol"==typeof P)return Reflect.getOwnPropertyDescriptor(target,P);let ignoreNamedProps=!1;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);if(null!==indexedValue)return{writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)};ignoreNamedProps=!0}return Reflect.getOwnPropertyDescriptor(target,P)}set(target,P,V,receiver){if("symbol"==typeof P)return Reflect.set(target,P,V,receiver);if(target[implSymbol][utils.wrapperSymbol]===receiver){this._globalObject}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);null!==indexedValue&&(ownDesc={writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)})}if(void 0===ownDesc&&(ownDesc=Reflect.getOwnPropertyDescriptor(target,P)),void 0===ownDesc){const parent=Reflect.getPrototypeOf(target);if(null!==parent)return Reflect.set(parent,P,V,receiver);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:void 0}}if(!ownDesc.writable)return!1;if(!utils.isObject(receiver))return!1;const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(void 0!==existingDesc){if(existingDesc.get||existingDesc.set)return!1;if(!existingDesc.writable)return!1;valueDesc={value:V}}else valueDesc={writable:!0,enumerable:!0,configurable:!0,value:V};return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if("symbol"==typeof P)return Reflect.defineProperty(target,P,desc);this._globalObject;return!utils.isArrayIndexPropName(P)&&Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if("symbol"==typeof P)return Reflect.deleteProperty(target,P);this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(null!==target[implSymbol].item(index))}return Reflect.deleteProperty(target,P)}preventExtensions(){return!1}}const Impl=__webpack_require__(83860)},87417:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),ElementCreationOptions=__webpack_require__(46636),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,Node=__webpack_require__(47462),NodeFilter=__webpack_require__(20138),HTMLElement=__webpack_require__(12028),EventHandlerNonNull=__webpack_require__(65685),OnErrorEventHandlerNonNull=__webpack_require__(39017),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Document.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Document'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Node._internalSetup(wrapper,globalObject),utils.define(wrapper,function getUnforgeables(globalObject){let unforgeables=unforgeablesMap.get(globalObject);return void 0===unforgeables&&(unforgeables=Object.create(null),utils.define(unforgeables,{get location(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get location' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].location)},set location(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set location' called on an object that is not a valid instance of Document.");const Q=esValue.location;if(!utils.isObject(Q))throw new globalObject.TypeError("Property 'location' is not an object");Reflect.set(Q,"href",V)}}),Object.defineProperties(unforgeables,{location:{configurable:!1}}),unforgeablesMap.set(globalObject,unforgeables)),unforgeables}(globalObject))},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const unforgeablesMap=new WeakMap,exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Document extends globalObject.Node{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,void 0)}getElementsByTagName(qualifiedName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getElementsByTagName' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getElementsByTagName' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getElementsByTagName' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByTagName(...args))}getElementsByTagNameNS(namespace,localName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getElementsByTagNameNS' called on an object that is not a valid instance of Document.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'getElementsByTagNameNS' on 'Document': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'getElementsByTagNameNS' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getElementsByTagNameNS' on 'Document': parameter 2",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByTagNameNS(...args))}getElementsByClassName(classNames){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getElementsByClassName' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getElementsByClassName' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getElementsByClassName' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByClassName(...args))}createElement(localName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createElement' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'createElement' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createElement' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];void 0!==curArg&&(curArg=null==curArg?ElementCreationOptions.convert(globalObject,curArg,{context:"Failed to execute 'createElement' on 'Document': parameter 2"}):utils.isObject(curArg)?ElementCreationOptions.convert(globalObject,curArg,{context:"Failed to execute 'createElement' on 'Document': parameter 2 dictionary"}):conversions.DOMString(curArg,{context:"Failed to execute 'createElement' on 'Document': parameter 2",globals:globalObject})),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].createElement(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}createElementNS(namespace,qualifiedName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createElementNS' called on an object that is not a valid instance of Document.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'createElementNS' on 'Document': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'createElementNS' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createElementNS' on 'Document': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];void 0!==curArg&&(curArg=null==curArg?ElementCreationOptions.convert(globalObject,curArg,{context:"Failed to execute 'createElementNS' on 'Document': parameter 3"}):utils.isObject(curArg)?ElementCreationOptions.convert(globalObject,curArg,{context:"Failed to execute 'createElementNS' on 'Document': parameter 3 dictionary"}):conversions.DOMString(curArg,{context:"Failed to execute 'createElementNS' on 'Document': parameter 3",globals:globalObject})),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].createElementNS(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}createDocumentFragment(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createDocumentFragment' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].createDocumentFragment())}createTextNode(data){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createTextNode' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'createTextNode' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createTextNode' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createTextNode(...args))}createCDATASection(data){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createCDATASection' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'createCDATASection' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createCDATASection' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createCDATASection(...args))}createComment(data){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createComment' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'createComment' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createComment' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createComment(...args))}createProcessingInstruction(target,data){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createProcessingInstruction' called on an object that is not a valid instance of Document.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'createProcessingInstruction' on 'Document': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createProcessingInstruction' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createProcessingInstruction' on 'Document': parameter 2",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createProcessingInstruction(...args))}importNode(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'importNode' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'importNode' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'importNode' on 'Document': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'importNode' on 'Document': parameter 2",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].importNode(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}adoptNode(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'adoptNode' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'adoptNode' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'adoptNode' on 'Document': parameter 1"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].adoptNode(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}createAttribute(localName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createAttribute' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'createAttribute' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createAttribute' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createAttribute(...args))}createAttributeNS(namespace,qualifiedName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createAttributeNS' called on an object that is not a valid instance of Document.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'createAttributeNS' on 'Document': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'createAttributeNS' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createAttributeNS' on 'Document': parameter 2",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createAttributeNS(...args))}createEvent(interface_){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createEvent' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'createEvent' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createEvent' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createEvent(...args))}createRange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createRange' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].createRange())}createNodeIterator(root){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createNodeIterator' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'createNodeIterator' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'createNodeIterator' on 'Document': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg?conversions["unsigned long"](curArg,{context:"Failed to execute 'createNodeIterator' on 'Document': parameter 2",globals:globalObject}):4294967295,args.push(curArg)}{let curArg=arguments[2];curArg=void 0!==curArg?null==curArg?null:NodeFilter.convert(globalObject,curArg,{context:"Failed to execute 'createNodeIterator' on 'Document': parameter 3"}):null,args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createNodeIterator(...args))}createTreeWalker(root){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createTreeWalker' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'createTreeWalker' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'createTreeWalker' on 'Document': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg?conversions["unsigned long"](curArg,{context:"Failed to execute 'createTreeWalker' on 'Document': parameter 2",globals:globalObject}):4294967295,args.push(curArg)}{let curArg=arguments[2];curArg=void 0!==curArg?null==curArg?null:NodeFilter.convert(globalObject,curArg,{context:"Failed to execute 'createTreeWalker' on 'Document': parameter 3"}):null,args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createTreeWalker(...args))}getElementsByName(elementName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getElementsByName' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getElementsByName' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getElementsByName' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByName(...args))}open(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'open' called on an object that is not a valid instance of Document.");const args=[];{let curArg=arguments[0];curArg=void 0!==curArg?conversions.DOMString(curArg,{context:"Failed to execute 'open' on 'Document': parameter 1",globals:globalObject}):"text/html",args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg?conversions.DOMString(curArg,{context:"Failed to execute 'open' on 'Document': parameter 2",globals:globalObject}):"",args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].open(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}close(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'close' called on an object that is not a valid instance of Document.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].close()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}write(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'write' called on an object that is not a valid instance of Document.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'write' on 'Document': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].write(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}writeln(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'writeln' called on an object that is not a valid instance of Document.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'writeln' on 'Document': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].writeln(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}hasFocus(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'hasFocus' called on an object that is not a valid instance of Document.");return esValue[implSymbol].hasFocus()}clear(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'clear' called on an object that is not a valid instance of Document.");return esValue[implSymbol].clear()}captureEvents(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'captureEvents' called on an object that is not a valid instance of Document.");return esValue[implSymbol].captureEvents()}releaseEvents(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'releaseEvents' called on an object that is not a valid instance of Document.");return esValue[implSymbol].releaseEvents()}getSelection(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getSelection' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].getSelection())}getElementById(elementId){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getElementById' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getElementById' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getElementById' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementById(...args))}prepend(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'prepend' called on an object that is not a valid instance of Document.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'prepend' on 'Document': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].prepend(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}append(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'append' called on an object that is not a valid instance of Document.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'append' on 'Document': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].append(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}replaceChildren(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'replaceChildren' called on an object that is not a valid instance of Document.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'replaceChildren' on 'Document': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].replaceChildren(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}querySelector(selectors){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'querySelector' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'querySelector' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'querySelector' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].querySelector(...args))}querySelectorAll(selectors){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'querySelectorAll' called on an object that is not a valid instance of Document.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'querySelectorAll' on 'Document': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'querySelectorAll' on 'Document': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].querySelectorAll(...args))}get implementation(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get implementation' called on an object that is not a valid instance of Document.");return utils.getSameObject(this,"implementation",(()=>utils.tryWrapperForImpl(esValue[implSymbol].implementation)))}get URL(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get URL' called on an object that is not a valid instance of Document.");return esValue[implSymbol].URL}get documentURI(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get documentURI' called on an object that is not a valid instance of Document.");return esValue[implSymbol].documentURI}get compatMode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get compatMode' called on an object that is not a valid instance of Document.");return esValue[implSymbol].compatMode}get characterSet(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get characterSet' called on an object that is not a valid instance of Document.");return esValue[implSymbol].characterSet}get charset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get charset' called on an object that is not a valid instance of Document.");return esValue[implSymbol].charset}get inputEncoding(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get inputEncoding' called on an object that is not a valid instance of Document.");return esValue[implSymbol].inputEncoding}get contentType(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get contentType' called on an object that is not a valid instance of Document.");return esValue[implSymbol].contentType}get doctype(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get doctype' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].doctype)}get documentElement(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get documentElement' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].documentElement)}get referrer(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get referrer' called on an object that is not a valid instance of Document.");return esValue[implSymbol].referrer}get cookie(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get cookie' called on an object that is not a valid instance of Document.");return esValue[implSymbol].cookie}set cookie(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set cookie' called on an object that is not a valid instance of Document.");V=conversions.USVString(V,{context:"Failed to set the 'cookie' property on 'Document': The provided value",globals:globalObject}),esValue[implSymbol].cookie=V}get lastModified(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get lastModified' called on an object that is not a valid instance of Document.");return esValue[implSymbol].lastModified}get readyState(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get readyState' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].readyState)}get title(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get title' called on an object that is not a valid instance of Document.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].title}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set title(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set title' called on an object that is not a valid instance of Document.");V=conversions.DOMString(V,{context:"Failed to set the 'title' property on 'Document': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].title=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get dir(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get dir' called on an object that is not a valid instance of Document.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].dir}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set dir(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set dir' called on an object that is not a valid instance of Document.");V=conversions.DOMString(V,{context:"Failed to set the 'dir' property on 'Document': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].dir=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get body(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get body' called on an object that is not a valid instance of Document.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].body)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set body(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set body' called on an object that is not a valid instance of Document.");V=null==V?null:HTMLElement.convert(globalObject,V,{context:"Failed to set the 'body' property on 'Document': The provided value"}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].body=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get head(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get head' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].head)}get images(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get images' called on an object that is not a valid instance of Document.");return utils.getSameObject(this,"images",(()=>utils.tryWrapperForImpl(esValue[implSymbol].images)))}get embeds(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get embeds' called on an object that is not a valid instance of Document.");return utils.getSameObject(this,"embeds",(()=>utils.tryWrapperForImpl(esValue[implSymbol].embeds)))}get plugins(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get plugins' called on an object that is not a valid instance of Document.");return utils.getSameObject(this,"plugins",(()=>utils.tryWrapperForImpl(esValue[implSymbol].plugins)))}get links(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get links' called on an object that is not a valid instance of Document.");return utils.getSameObject(this,"links",(()=>utils.tryWrapperForImpl(esValue[implSymbol].links)))}get forms(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get forms' called on an object that is not a valid instance of Document.");return utils.getSameObject(this,"forms",(()=>utils.tryWrapperForImpl(esValue[implSymbol].forms)))}get scripts(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get scripts' called on an object that is not a valid instance of Document.");return utils.getSameObject(this,"scripts",(()=>utils.tryWrapperForImpl(esValue[implSymbol].scripts)))}get currentScript(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get currentScript' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].currentScript)}get defaultView(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get defaultView' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].defaultView)}get onreadystatechange(){const esValue=null!=this?this:globalObject;if(exports.is(esValue))return utils.tryWrapperForImpl(esValue[implSymbol].onreadystatechange)}set onreadystatechange(V){const esValue=null!=this?this:globalObject;exports.is(esValue)&&(V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onreadystatechange' property on 'Document': The provided value"}):null,esValue[implSymbol].onreadystatechange=V)}get anchors(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get anchors' called on an object that is not a valid instance of Document.");return utils.getSameObject(this,"anchors",(()=>utils.tryWrapperForImpl(esValue[implSymbol].anchors)))}get applets(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get applets' called on an object that is not a valid instance of Document.");return utils.getSameObject(this,"applets",(()=>utils.tryWrapperForImpl(esValue[implSymbol].applets)))}get styleSheets(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get styleSheets' called on an object that is not a valid instance of Document.");return utils.getSameObject(this,"styleSheets",(()=>utils.tryWrapperForImpl(esValue[implSymbol].styleSheets)))}get hidden(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hidden' called on an object that is not a valid instance of Document.");return esValue[implSymbol].hidden}get visibilityState(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get visibilityState' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].visibilityState)}get onvisibilitychange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onvisibilitychange' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onvisibilitychange)}set onvisibilitychange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onvisibilitychange' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onvisibilitychange' property on 'Document': The provided value"}):null,esValue[implSymbol].onvisibilitychange=V}get onabort(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onabort' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onabort)}set onabort(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onabort' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onabort' property on 'Document': The provided value"}):null,esValue[implSymbol].onabort=V}get onauxclick(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onauxclick' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onauxclick)}set onauxclick(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onauxclick' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onauxclick' property on 'Document': The provided value"}):null,esValue[implSymbol].onauxclick=V}get onblur(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onblur' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onblur)}set onblur(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onblur' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onblur' property on 'Document': The provided value"}):null,esValue[implSymbol].onblur=V}get oncancel(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncancel' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].oncancel)}set oncancel(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncancel' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncancel' property on 'Document': The provided value"}):null,esValue[implSymbol].oncancel=V}get oncanplay(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncanplay' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].oncanplay)}set oncanplay(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncanplay' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncanplay' property on 'Document': The provided value"}):null,esValue[implSymbol].oncanplay=V}get oncanplaythrough(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncanplaythrough' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].oncanplaythrough)}set oncanplaythrough(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncanplaythrough' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncanplaythrough' property on 'Document': The provided value"}):null,esValue[implSymbol].oncanplaythrough=V}get onchange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onchange' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onchange)}set onchange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onchange' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onchange' property on 'Document': The provided value"}):null,esValue[implSymbol].onchange=V}get onclick(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onclick' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onclick)}set onclick(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onclick' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onclick' property on 'Document': The provided value"}):null,esValue[implSymbol].onclick=V}get onclose(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onclose' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onclose)}set onclose(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onclose' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onclose' property on 'Document': The provided value"}):null,esValue[implSymbol].onclose=V}get oncontextmenu(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncontextmenu' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].oncontextmenu)}set oncontextmenu(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncontextmenu' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncontextmenu' property on 'Document': The provided value"}):null,esValue[implSymbol].oncontextmenu=V}get oncuechange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncuechange' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].oncuechange)}set oncuechange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncuechange' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncuechange' property on 'Document': The provided value"}):null,esValue[implSymbol].oncuechange=V}get ondblclick(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondblclick' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].ondblclick)}set ondblclick(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondblclick' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondblclick' property on 'Document': The provided value"}):null,esValue[implSymbol].ondblclick=V}get ondrag(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondrag' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].ondrag)}set ondrag(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondrag' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondrag' property on 'Document': The provided value"}):null,esValue[implSymbol].ondrag=V}get ondragend(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragend' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragend)}set ondragend(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragend' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragend' property on 'Document': The provided value"}):null,esValue[implSymbol].ondragend=V}get ondragenter(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragenter' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragenter)}set ondragenter(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragenter' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragenter' property on 'Document': The provided value"}):null,esValue[implSymbol].ondragenter=V}get ondragleave(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragleave' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragleave)}set ondragleave(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragleave' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragleave' property on 'Document': The provided value"}):null,esValue[implSymbol].ondragleave=V}get ondragover(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragover' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragover)}set ondragover(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragover' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragover' property on 'Document': The provided value"}):null,esValue[implSymbol].ondragover=V}get ondragstart(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragstart' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragstart)}set ondragstart(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragstart' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragstart' property on 'Document': The provided value"}):null,esValue[implSymbol].ondragstart=V}get ondrop(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondrop' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].ondrop)}set ondrop(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondrop' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondrop' property on 'Document': The provided value"}):null,esValue[implSymbol].ondrop=V}get ondurationchange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondurationchange' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].ondurationchange)}set ondurationchange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondurationchange' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondurationchange' property on 'Document': The provided value"}):null,esValue[implSymbol].ondurationchange=V}get onemptied(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onemptied' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onemptied)}set onemptied(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onemptied' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onemptied' property on 'Document': The provided value"}):null,esValue[implSymbol].onemptied=V}get onended(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onended' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onended)}set onended(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onended' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onended' property on 'Document': The provided value"}):null,esValue[implSymbol].onended=V}get onerror(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onerror' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onerror)}set onerror(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onerror' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?OnErrorEventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onerror' property on 'Document': The provided value"}):null,esValue[implSymbol].onerror=V}get onfocus(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onfocus' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onfocus)}set onfocus(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onfocus' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onfocus' property on 'Document': The provided value"}):null,esValue[implSymbol].onfocus=V}get oninput(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oninput' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].oninput)}set oninput(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oninput' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oninput' property on 'Document': The provided value"}):null,esValue[implSymbol].oninput=V}get oninvalid(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oninvalid' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].oninvalid)}set oninvalid(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oninvalid' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oninvalid' property on 'Document': The provided value"}):null,esValue[implSymbol].oninvalid=V}get onkeydown(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onkeydown' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onkeydown)}set onkeydown(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onkeydown' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onkeydown' property on 'Document': The provided value"}):null,esValue[implSymbol].onkeydown=V}get onkeypress(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onkeypress' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onkeypress)}set onkeypress(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onkeypress' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onkeypress' property on 'Document': The provided value"}):null,esValue[implSymbol].onkeypress=V}get onkeyup(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onkeyup' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onkeyup)}set onkeyup(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onkeyup' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onkeyup' property on 'Document': The provided value"}):null,esValue[implSymbol].onkeyup=V}get onload(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onload' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onload)}set onload(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onload' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onload' property on 'Document': The provided value"}):null,esValue[implSymbol].onload=V}get onloadeddata(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadeddata' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadeddata)}set onloadeddata(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadeddata' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadeddata' property on 'Document': The provided value"}):null,esValue[implSymbol].onloadeddata=V}get onloadedmetadata(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadedmetadata' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadedmetadata)}set onloadedmetadata(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadedmetadata' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadedmetadata' property on 'Document': The provided value"}):null,esValue[implSymbol].onloadedmetadata=V}get onloadend(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadend' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadend)}set onloadend(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadend' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadend' property on 'Document': The provided value"}):null,esValue[implSymbol].onloadend=V}get onloadstart(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadstart' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadstart)}set onloadstart(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadstart' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadstart' property on 'Document': The provided value"}):null,esValue[implSymbol].onloadstart=V}get onmousedown(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmousedown' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onmousedown)}set onmousedown(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmousedown' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmousedown' property on 'Document': The provided value"}):null,esValue[implSymbol].onmousedown=V}get onmouseenter(){const esValue=null!=this?this:globalObject;if(exports.is(esValue))return utils.tryWrapperForImpl(esValue[implSymbol].onmouseenter)}set onmouseenter(V){const esValue=null!=this?this:globalObject;exports.is(esValue)&&(V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseenter' property on 'Document': The provided value"}):null,esValue[implSymbol].onmouseenter=V)}get onmouseleave(){const esValue=null!=this?this:globalObject;if(exports.is(esValue))return utils.tryWrapperForImpl(esValue[implSymbol].onmouseleave)}set onmouseleave(V){const esValue=null!=this?this:globalObject;exports.is(esValue)&&(V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseleave' property on 'Document': The provided value"}):null,esValue[implSymbol].onmouseleave=V)}get onmousemove(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmousemove' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onmousemove)}set onmousemove(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmousemove' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmousemove' property on 'Document': The provided value"}):null,esValue[implSymbol].onmousemove=V}get onmouseout(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmouseout' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onmouseout)}set onmouseout(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmouseout' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseout' property on 'Document': The provided value"}):null,esValue[implSymbol].onmouseout=V}get onmouseover(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmouseover' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onmouseover)}set onmouseover(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmouseover' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseover' property on 'Document': The provided value"}):null,esValue[implSymbol].onmouseover=V}get onmouseup(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmouseup' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onmouseup)}set onmouseup(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmouseup' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseup' property on 'Document': The provided value"}):null,esValue[implSymbol].onmouseup=V}get onwheel(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onwheel' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onwheel)}set onwheel(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onwheel' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onwheel' property on 'Document': The provided value"}):null,esValue[implSymbol].onwheel=V}get onpause(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onpause' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onpause)}set onpause(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onpause' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onpause' property on 'Document': The provided value"}):null,esValue[implSymbol].onpause=V}get onplay(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onplay' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onplay)}set onplay(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onplay' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onplay' property on 'Document': The provided value"}):null,esValue[implSymbol].onplay=V}get onplaying(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onplaying' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onplaying)}set onplaying(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onplaying' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onplaying' property on 'Document': The provided value"}):null,esValue[implSymbol].onplaying=V}get onprogress(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onprogress' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onprogress)}set onprogress(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onprogress' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onprogress' property on 'Document': The provided value"}):null,esValue[implSymbol].onprogress=V}get onratechange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onratechange' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onratechange)}set onratechange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onratechange' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onratechange' property on 'Document': The provided value"}):null,esValue[implSymbol].onratechange=V}get onreset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onreset' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onreset)}set onreset(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onreset' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onreset' property on 'Document': The provided value"}):null,esValue[implSymbol].onreset=V}get onresize(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onresize' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onresize)}set onresize(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onresize' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onresize' property on 'Document': The provided value"}):null,esValue[implSymbol].onresize=V}get onscroll(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onscroll' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onscroll)}set onscroll(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onscroll' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onscroll' property on 'Document': The provided value"}):null,esValue[implSymbol].onscroll=V}get onsecuritypolicyviolation(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onsecuritypolicyviolation' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onsecuritypolicyviolation)}set onsecuritypolicyviolation(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onsecuritypolicyviolation' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onsecuritypolicyviolation' property on 'Document': The provided value"}):null,esValue[implSymbol].onsecuritypolicyviolation=V}get onseeked(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onseeked' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onseeked)}set onseeked(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onseeked' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onseeked' property on 'Document': The provided value"}):null,esValue[implSymbol].onseeked=V}get onseeking(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onseeking' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onseeking)}set onseeking(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onseeking' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onseeking' property on 'Document': The provided value"}):null,esValue[implSymbol].onseeking=V}get onselect(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onselect' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onselect)}set onselect(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onselect' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onselect' property on 'Document': The provided value"}):null,esValue[implSymbol].onselect=V}get onstalled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onstalled' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onstalled)}set onstalled(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onstalled' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onstalled' property on 'Document': The provided value"}):null,esValue[implSymbol].onstalled=V}get onsubmit(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onsubmit' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onsubmit)}set onsubmit(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onsubmit' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onsubmit' property on 'Document': The provided value"}):null,esValue[implSymbol].onsubmit=V}get onsuspend(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onsuspend' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onsuspend)}set onsuspend(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onsuspend' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onsuspend' property on 'Document': The provided value"}):null,esValue[implSymbol].onsuspend=V}get ontimeupdate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ontimeupdate' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].ontimeupdate)}set ontimeupdate(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ontimeupdate' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ontimeupdate' property on 'Document': The provided value"}):null,esValue[implSymbol].ontimeupdate=V}get ontoggle(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ontoggle' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].ontoggle)}set ontoggle(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ontoggle' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ontoggle' property on 'Document': The provided value"}):null,esValue[implSymbol].ontoggle=V}get onvolumechange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onvolumechange' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onvolumechange)}set onvolumechange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onvolumechange' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onvolumechange' property on 'Document': The provided value"}):null,esValue[implSymbol].onvolumechange=V}get onwaiting(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onwaiting' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].onwaiting)}set onwaiting(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onwaiting' called on an object that is not a valid instance of Document.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onwaiting' property on 'Document': The provided value"}):null,esValue[implSymbol].onwaiting=V}get activeElement(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get activeElement' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].activeElement)}get children(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get children' called on an object that is not a valid instance of Document.");return utils.getSameObject(this,"children",(()=>utils.tryWrapperForImpl(esValue[implSymbol].children)))}get firstElementChild(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get firstElementChild' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].firstElementChild)}get lastElementChild(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get lastElementChild' called on an object that is not a valid instance of Document.");return utils.tryWrapperForImpl(esValue[implSymbol].lastElementChild)}get childElementCount(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get childElementCount' called on an object that is not a valid instance of Document.");return esValue[implSymbol].childElementCount}}Object.defineProperties(Document.prototype,{getElementsByTagName:{enumerable:!0},getElementsByTagNameNS:{enumerable:!0},getElementsByClassName:{enumerable:!0},createElement:{enumerable:!0},createElementNS:{enumerable:!0},createDocumentFragment:{enumerable:!0},createTextNode:{enumerable:!0},createCDATASection:{enumerable:!0},createComment:{enumerable:!0},createProcessingInstruction:{enumerable:!0},importNode:{enumerable:!0},adoptNode:{enumerable:!0},createAttribute:{enumerable:!0},createAttributeNS:{enumerable:!0},createEvent:{enumerable:!0},createRange:{enumerable:!0},createNodeIterator:{enumerable:!0},createTreeWalker:{enumerable:!0},getElementsByName:{enumerable:!0},open:{enumerable:!0},close:{enumerable:!0},write:{enumerable:!0},writeln:{enumerable:!0},hasFocus:{enumerable:!0},clear:{enumerable:!0},captureEvents:{enumerable:!0},releaseEvents:{enumerable:!0},getSelection:{enumerable:!0},getElementById:{enumerable:!0},prepend:{enumerable:!0},append:{enumerable:!0},replaceChildren:{enumerable:!0},querySelector:{enumerable:!0},querySelectorAll:{enumerable:!0},implementation:{enumerable:!0},URL:{enumerable:!0},documentURI:{enumerable:!0},compatMode:{enumerable:!0},characterSet:{enumerable:!0},charset:{enumerable:!0},inputEncoding:{enumerable:!0},contentType:{enumerable:!0},doctype:{enumerable:!0},documentElement:{enumerable:!0},referrer:{enumerable:!0},cookie:{enumerable:!0},lastModified:{enumerable:!0},readyState:{enumerable:!0},title:{enumerable:!0},dir:{enumerable:!0},body:{enumerable:!0},head:{enumerable:!0},images:{enumerable:!0},embeds:{enumerable:!0},plugins:{enumerable:!0},links:{enumerable:!0},forms:{enumerable:!0},scripts:{enumerable:!0},currentScript:{enumerable:!0},defaultView:{enumerable:!0},onreadystatechange:{enumerable:!0},anchors:{enumerable:!0},applets:{enumerable:!0},styleSheets:{enumerable:!0},hidden:{enumerable:!0},visibilityState:{enumerable:!0},onvisibilitychange:{enumerable:!0},onabort:{enumerable:!0},onauxclick:{enumerable:!0},onblur:{enumerable:!0},oncancel:{enumerable:!0},oncanplay:{enumerable:!0},oncanplaythrough:{enumerable:!0},onchange:{enumerable:!0},onclick:{enumerable:!0},onclose:{enumerable:!0},oncontextmenu:{enumerable:!0},oncuechange:{enumerable:!0},ondblclick:{enumerable:!0},ondrag:{enumerable:!0},ondragend:{enumerable:!0},ondragenter:{enumerable:!0},ondragleave:{enumerable:!0},ondragover:{enumerable:!0},ondragstart:{enumerable:!0},ondrop:{enumerable:!0},ondurationchange:{enumerable:!0},onemptied:{enumerable:!0},onended:{enumerable:!0},onerror:{enumerable:!0},onfocus:{enumerable:!0},oninput:{enumerable:!0},oninvalid:{enumerable:!0},onkeydown:{enumerable:!0},onkeypress:{enumerable:!0},onkeyup:{enumerable:!0},onload:{enumerable:!0},onloadeddata:{enumerable:!0},onloadedmetadata:{enumerable:!0},onloadend:{enumerable:!0},onloadstart:{enumerable:!0},onmousedown:{enumerable:!0},onmouseenter:{enumerable:!0},onmouseleave:{enumerable:!0},onmousemove:{enumerable:!0},onmouseout:{enumerable:!0},onmouseover:{enumerable:!0},onmouseup:{enumerable:!0},onwheel:{enumerable:!0},onpause:{enumerable:!0},onplay:{enumerable:!0},onplaying:{enumerable:!0},onprogress:{enumerable:!0},onratechange:{enumerable:!0},onreset:{enumerable:!0},onresize:{enumerable:!0},onscroll:{enumerable:!0},onsecuritypolicyviolation:{enumerable:!0},onseeked:{enumerable:!0},onseeking:{enumerable:!0},onselect:{enumerable:!0},onstalled:{enumerable:!0},onsubmit:{enumerable:!0},onsuspend:{enumerable:!0},ontimeupdate:{enumerable:!0},ontoggle:{enumerable:!0},onvolumechange:{enumerable:!0},onwaiting:{enumerable:!0},activeElement:{enumerable:!0},children:{enumerable:!0},firstElementChild:{enumerable:!0},lastElementChild:{enumerable:!0},childElementCount:{enumerable:!0},[Symbol.toStringTag]:{value:"Document",configurable:!0},[Symbol.unscopables]:{value:{prepend:!0,append:!0,replaceChildren:!0,__proto__:null},configurable:!0}}),ctorRegistry.Document=Document,Object.defineProperty(globalObject,"Document",{configurable:!0,writable:!0,value:Document})};const Impl=__webpack_require__(61531)},35968:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),Node=__webpack_require__(47462),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].DocumentFragment.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'DocumentFragment'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Node._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class DocumentFragment extends globalObject.Node{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,void 0)}getElementById(elementId){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getElementById' called on an object that is not a valid instance of DocumentFragment.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getElementById' on 'DocumentFragment': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getElementById' on 'DocumentFragment': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementById(...args))}prepend(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'prepend' called on an object that is not a valid instance of DocumentFragment.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'prepend' on 'DocumentFragment': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].prepend(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}append(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'append' called on an object that is not a valid instance of DocumentFragment.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'append' on 'DocumentFragment': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].append(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}replaceChildren(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'replaceChildren' called on an object that is not a valid instance of DocumentFragment.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'replaceChildren' on 'DocumentFragment': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].replaceChildren(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}querySelector(selectors){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'querySelector' called on an object that is not a valid instance of DocumentFragment.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'querySelector' on 'DocumentFragment': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'querySelector' on 'DocumentFragment': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].querySelector(...args))}querySelectorAll(selectors){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'querySelectorAll' called on an object that is not a valid instance of DocumentFragment.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'querySelectorAll' on 'DocumentFragment': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'querySelectorAll' on 'DocumentFragment': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].querySelectorAll(...args))}get children(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get children' called on an object that is not a valid instance of DocumentFragment.");return utils.getSameObject(this,"children",(()=>utils.tryWrapperForImpl(esValue[implSymbol].children)))}get firstElementChild(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get firstElementChild' called on an object that is not a valid instance of DocumentFragment.");return utils.tryWrapperForImpl(esValue[implSymbol].firstElementChild)}get lastElementChild(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get lastElementChild' called on an object that is not a valid instance of DocumentFragment.");return utils.tryWrapperForImpl(esValue[implSymbol].lastElementChild)}get childElementCount(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get childElementCount' called on an object that is not a valid instance of DocumentFragment.");return esValue[implSymbol].childElementCount}}Object.defineProperties(DocumentFragment.prototype,{getElementById:{enumerable:!0},prepend:{enumerable:!0},append:{enumerable:!0},replaceChildren:{enumerable:!0},querySelector:{enumerable:!0},querySelectorAll:{enumerable:!0},children:{enumerable:!0},firstElementChild:{enumerable:!0},lastElementChild:{enumerable:!0},childElementCount:{enumerable:!0},[Symbol.toStringTag]:{value:"DocumentFragment",configurable:!0},[Symbol.unscopables]:{value:{prepend:!0,append:!0,replaceChildren:!0,__proto__:null},configurable:!0}}),ctorRegistry.DocumentFragment=DocumentFragment,Object.defineProperty(globalObject,"DocumentFragment",{configurable:!0,writable:!0,value:DocumentFragment})};const Impl=__webpack_require__(34059)},6558:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),Node=__webpack_require__(47462),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].DocumentType.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'DocumentType'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Node._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class DocumentType extends globalObject.Node{constructor(){throw new globalObject.TypeError("Illegal constructor")}before(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'before' called on an object that is not a valid instance of DocumentType.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'before' on 'DocumentType': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].before(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}after(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'after' called on an object that is not a valid instance of DocumentType.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'after' on 'DocumentType': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].after(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}replaceWith(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'replaceWith' called on an object that is not a valid instance of DocumentType.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'replaceWith' on 'DocumentType': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].replaceWith(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}remove(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'remove' called on an object that is not a valid instance of DocumentType.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].remove()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of DocumentType.");return esValue[implSymbol].name}get publicId(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get publicId' called on an object that is not a valid instance of DocumentType.");return esValue[implSymbol].publicId}get systemId(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get systemId' called on an object that is not a valid instance of DocumentType.");return esValue[implSymbol].systemId}}Object.defineProperties(DocumentType.prototype,{before:{enumerable:!0},after:{enumerable:!0},replaceWith:{enumerable:!0},remove:{enumerable:!0},name:{enumerable:!0},publicId:{enumerable:!0},systemId:{enumerable:!0},[Symbol.toStringTag]:{value:"DocumentType",configurable:!0},[Symbol.unscopables]:{value:{before:!0,after:!0,replaceWith:!0,remove:!0,__proto__:null},configurable:!0}}),ctorRegistry.DocumentType=DocumentType,Object.defineProperty(globalObject,"DocumentType",{configurable:!0,writable:!0,value:DocumentType})};const Impl=__webpack_require__(24815)},61157:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,Attr=__webpack_require__(97499),ShadowRootInit=__webpack_require__(55749),Node=__webpack_require__(47462),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Element.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Element'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Node._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Element extends globalObject.Node{constructor(){throw new globalObject.TypeError("Illegal constructor")}hasAttributes(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'hasAttributes' called on an object that is not a valid instance of Element.");return esValue[implSymbol].hasAttributes()}getAttributeNames(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getAttributeNames' called on an object that is not a valid instance of Element.");return utils.tryWrapperForImpl(esValue[implSymbol].getAttributeNames())}getAttribute(qualifiedName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getAttribute' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getAttribute' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getAttribute' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].getAttribute(...args)}getAttributeNS(namespace,localName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getAttributeNS' called on an object that is not a valid instance of Element.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'getAttributeNS' on 'Element': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'getAttributeNS' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getAttributeNS' on 'Element': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].getAttributeNS(...args)}setAttribute(qualifiedName,value){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setAttribute' called on an object that is not a valid instance of Element.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'setAttribute' on 'Element': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setAttribute' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setAttribute' on 'Element': parameter 2",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].setAttribute(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}setAttributeNS(namespace,qualifiedName,value){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setAttributeNS' called on an object that is not a valid instance of Element.");if(arguments.length<3)throw new globalObject.TypeError(`Failed to execute 'setAttributeNS' on 'Element': 3 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'setAttributeNS' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setAttributeNS' on 'Element': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setAttributeNS' on 'Element': parameter 3",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].setAttributeNS(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}removeAttribute(qualifiedName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'removeAttribute' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'removeAttribute' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'removeAttribute' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].removeAttribute(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}removeAttributeNS(namespace,localName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'removeAttributeNS' called on an object that is not a valid instance of Element.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'removeAttributeNS' on 'Element': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'removeAttributeNS' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'removeAttributeNS' on 'Element': parameter 2",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].removeAttributeNS(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}toggleAttribute(qualifiedName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'toggleAttribute' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'toggleAttribute' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'toggleAttribute' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];void 0!==curArg&&(curArg=conversions.boolean(curArg,{context:"Failed to execute 'toggleAttribute' on 'Element': parameter 2",globals:globalObject})),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].toggleAttribute(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}hasAttribute(qualifiedName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'hasAttribute' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'hasAttribute' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'hasAttribute' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].hasAttribute(...args)}hasAttributeNS(namespace,localName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'hasAttributeNS' called on an object that is not a valid instance of Element.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'hasAttributeNS' on 'Element': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'hasAttributeNS' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'hasAttributeNS' on 'Element': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].hasAttributeNS(...args)}getAttributeNode(qualifiedName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getAttributeNode' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getAttributeNode' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getAttributeNode' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getAttributeNode(...args))}getAttributeNodeNS(namespace,localName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getAttributeNodeNS' called on an object that is not a valid instance of Element.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'getAttributeNodeNS' on 'Element': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'getAttributeNodeNS' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getAttributeNodeNS' on 'Element': parameter 2",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getAttributeNodeNS(...args))}setAttributeNode(attr){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setAttributeNode' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setAttributeNode' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Attr.convert(globalObject,curArg,{context:"Failed to execute 'setAttributeNode' on 'Element': parameter 1"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].setAttributeNode(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}setAttributeNodeNS(attr){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setAttributeNodeNS' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setAttributeNodeNS' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Attr.convert(globalObject,curArg,{context:"Failed to execute 'setAttributeNodeNS' on 'Element': parameter 1"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].setAttributeNodeNS(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}removeAttributeNode(attr){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'removeAttributeNode' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'removeAttributeNode' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Attr.convert(globalObject,curArg,{context:"Failed to execute 'removeAttributeNode' on 'Element': parameter 1"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].removeAttributeNode(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}attachShadow(init){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'attachShadow' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'attachShadow' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=ShadowRootInit.convert(globalObject,curArg,{context:"Failed to execute 'attachShadow' on 'Element': parameter 1"}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].attachShadow(...args))}closest(selectors){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'closest' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'closest' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'closest' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].closest(...args))}matches(selectors){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'matches' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'matches' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'matches' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].matches(...args)}webkitMatchesSelector(selectors){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'webkitMatchesSelector' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'webkitMatchesSelector' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'webkitMatchesSelector' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].webkitMatchesSelector(...args)}getElementsByTagName(qualifiedName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getElementsByTagName' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getElementsByTagName' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getElementsByTagName' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByTagName(...args))}getElementsByTagNameNS(namespace,localName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getElementsByTagNameNS' called on an object that is not a valid instance of Element.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'getElementsByTagNameNS' on 'Element': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'getElementsByTagNameNS' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getElementsByTagNameNS' on 'Element': parameter 2",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByTagNameNS(...args))}getElementsByClassName(classNames){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getElementsByClassName' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getElementsByClassName' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getElementsByClassName' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByClassName(...args))}insertAdjacentElement(where,element){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'insertAdjacentElement' called on an object that is not a valid instance of Element.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'insertAdjacentElement' on 'Element': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'insertAdjacentElement' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=exports.convert(globalObject,curArg,{context:"Failed to execute 'insertAdjacentElement' on 'Element': parameter 2"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].insertAdjacentElement(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}insertAdjacentText(where,data){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'insertAdjacentText' called on an object that is not a valid instance of Element.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'insertAdjacentText' on 'Element': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'insertAdjacentText' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'insertAdjacentText' on 'Element': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].insertAdjacentText(...args)}insertAdjacentHTML(position,text){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'insertAdjacentHTML' called on an object that is not a valid instance of Element.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'insertAdjacentHTML' on 'Element': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'insertAdjacentHTML' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'insertAdjacentHTML' on 'Element': parameter 2",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].insertAdjacentHTML(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}getClientRects(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getClientRects' called on an object that is not a valid instance of Element.");return utils.tryWrapperForImpl(esValue[implSymbol].getClientRects())}getBoundingClientRect(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getBoundingClientRect' called on an object that is not a valid instance of Element.");return utils.tryWrapperForImpl(esValue[implSymbol].getBoundingClientRect())}before(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'before' called on an object that is not a valid instance of Element.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'before' on 'Element': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].before(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}after(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'after' called on an object that is not a valid instance of Element.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'after' on 'Element': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].after(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}replaceWith(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'replaceWith' called on an object that is not a valid instance of Element.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'replaceWith' on 'Element': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].replaceWith(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}remove(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'remove' called on an object that is not a valid instance of Element.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].remove()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}prepend(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'prepend' called on an object that is not a valid instance of Element.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'prepend' on 'Element': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].prepend(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}append(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'append' called on an object that is not a valid instance of Element.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'append' on 'Element': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].append(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}replaceChildren(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'replaceChildren' called on an object that is not a valid instance of Element.");const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=Node.is(curArg)?utils.implForWrapper(curArg):conversions.DOMString(curArg,{context:"Failed to execute 'replaceChildren' on 'Element': parameter "+(i+1),globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].replaceChildren(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}querySelector(selectors){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'querySelector' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'querySelector' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'querySelector' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].querySelector(...args))}querySelectorAll(selectors){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'querySelectorAll' called on an object that is not a valid instance of Element.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'querySelectorAll' on 'Element': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'querySelectorAll' on 'Element': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].querySelectorAll(...args))}get namespaceURI(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get namespaceURI' called on an object that is not a valid instance of Element.");return esValue[implSymbol].namespaceURI}get prefix(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get prefix' called on an object that is not a valid instance of Element.");return esValue[implSymbol].prefix}get localName(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get localName' called on an object that is not a valid instance of Element.");return esValue[implSymbol].localName}get tagName(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get tagName' called on an object that is not a valid instance of Element.");return esValue[implSymbol].tagName}get id(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get id' called on an object that is not a valid instance of Element.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"id");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set id(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set id' called on an object that is not a valid instance of Element.");V=conversions.DOMString(V,{context:"Failed to set the 'id' property on 'Element': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"id",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get className(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get className' called on an object that is not a valid instance of Element.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"class");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set className(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set className' called on an object that is not a valid instance of Element.");V=conversions.DOMString(V,{context:"Failed to set the 'className' property on 'Element': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"class",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get classList(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get classList' called on an object that is not a valid instance of Element.");return utils.getSameObject(this,"classList",(()=>utils.tryWrapperForImpl(esValue[implSymbol].classList)))}set classList(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set classList' called on an object that is not a valid instance of Element.");const Q=esValue.classList;if(!utils.isObject(Q))throw new globalObject.TypeError("Property 'classList' is not an object");Reflect.set(Q,"value",V)}get slot(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get slot' called on an object that is not a valid instance of Element.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"slot");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set slot(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set slot' called on an object that is not a valid instance of Element.");V=conversions.DOMString(V,{context:"Failed to set the 'slot' property on 'Element': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"slot",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get attributes(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get attributes' called on an object that is not a valid instance of Element.");return utils.getSameObject(this,"attributes",(()=>utils.tryWrapperForImpl(esValue[implSymbol].attributes)))}get shadowRoot(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get shadowRoot' called on an object that is not a valid instance of Element.");return utils.tryWrapperForImpl(esValue[implSymbol].shadowRoot)}get outerHTML(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get outerHTML' called on an object that is not a valid instance of Element.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].outerHTML}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set outerHTML(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set outerHTML' called on an object that is not a valid instance of Element.");V=conversions.DOMString(V,{context:"Failed to set the 'outerHTML' property on 'Element': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].outerHTML=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get scrollTop(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get scrollTop' called on an object that is not a valid instance of Element.");return esValue[implSymbol].scrollTop}set scrollTop(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set scrollTop' called on an object that is not a valid instance of Element.");V=conversions["unrestricted double"](V,{context:"Failed to set the 'scrollTop' property on 'Element': The provided value",globals:globalObject}),esValue[implSymbol].scrollTop=V}get scrollLeft(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get scrollLeft' called on an object that is not a valid instance of Element.");return esValue[implSymbol].scrollLeft}set scrollLeft(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set scrollLeft' called on an object that is not a valid instance of Element.");V=conversions["unrestricted double"](V,{context:"Failed to set the 'scrollLeft' property on 'Element': The provided value",globals:globalObject}),esValue[implSymbol].scrollLeft=V}get scrollWidth(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get scrollWidth' called on an object that is not a valid instance of Element.");return esValue[implSymbol].scrollWidth}get scrollHeight(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get scrollHeight' called on an object that is not a valid instance of Element.");return esValue[implSymbol].scrollHeight}get clientTop(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get clientTop' called on an object that is not a valid instance of Element.");return esValue[implSymbol].clientTop}get clientLeft(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get clientLeft' called on an object that is not a valid instance of Element.");return esValue[implSymbol].clientLeft}get clientWidth(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get clientWidth' called on an object that is not a valid instance of Element.");return esValue[implSymbol].clientWidth}get clientHeight(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get clientHeight' called on an object that is not a valid instance of Element.");return esValue[implSymbol].clientHeight}get innerHTML(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get innerHTML' called on an object that is not a valid instance of Element.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].innerHTML}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set innerHTML(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set innerHTML' called on an object that is not a valid instance of Element.");V=conversions.DOMString(V,{context:"Failed to set the 'innerHTML' property on 'Element': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].innerHTML=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get previousElementSibling(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get previousElementSibling' called on an object that is not a valid instance of Element.");return utils.tryWrapperForImpl(esValue[implSymbol].previousElementSibling)}get nextElementSibling(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get nextElementSibling' called on an object that is not a valid instance of Element.");return utils.tryWrapperForImpl(esValue[implSymbol].nextElementSibling)}get children(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get children' called on an object that is not a valid instance of Element.");return utils.getSameObject(this,"children",(()=>utils.tryWrapperForImpl(esValue[implSymbol].children)))}get firstElementChild(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get firstElementChild' called on an object that is not a valid instance of Element.");return utils.tryWrapperForImpl(esValue[implSymbol].firstElementChild)}get lastElementChild(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get lastElementChild' called on an object that is not a valid instance of Element.");return utils.tryWrapperForImpl(esValue[implSymbol].lastElementChild)}get childElementCount(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get childElementCount' called on an object that is not a valid instance of Element.");return esValue[implSymbol].childElementCount}get assignedSlot(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get assignedSlot' called on an object that is not a valid instance of Element.");return utils.tryWrapperForImpl(esValue[implSymbol].assignedSlot)}}Object.defineProperties(Element.prototype,{hasAttributes:{enumerable:!0},getAttributeNames:{enumerable:!0},getAttribute:{enumerable:!0},getAttributeNS:{enumerable:!0},setAttribute:{enumerable:!0},setAttributeNS:{enumerable:!0},removeAttribute:{enumerable:!0},removeAttributeNS:{enumerable:!0},toggleAttribute:{enumerable:!0},hasAttribute:{enumerable:!0},hasAttributeNS:{enumerable:!0},getAttributeNode:{enumerable:!0},getAttributeNodeNS:{enumerable:!0},setAttributeNode:{enumerable:!0},setAttributeNodeNS:{enumerable:!0},removeAttributeNode:{enumerable:!0},attachShadow:{enumerable:!0},closest:{enumerable:!0},matches:{enumerable:!0},webkitMatchesSelector:{enumerable:!0},getElementsByTagName:{enumerable:!0},getElementsByTagNameNS:{enumerable:!0},getElementsByClassName:{enumerable:!0},insertAdjacentElement:{enumerable:!0},insertAdjacentText:{enumerable:!0},insertAdjacentHTML:{enumerable:!0},getClientRects:{enumerable:!0},getBoundingClientRect:{enumerable:!0},before:{enumerable:!0},after:{enumerable:!0},replaceWith:{enumerable:!0},remove:{enumerable:!0},prepend:{enumerable:!0},append:{enumerable:!0},replaceChildren:{enumerable:!0},querySelector:{enumerable:!0},querySelectorAll:{enumerable:!0},namespaceURI:{enumerable:!0},prefix:{enumerable:!0},localName:{enumerable:!0},tagName:{enumerable:!0},id:{enumerable:!0},className:{enumerable:!0},classList:{enumerable:!0},slot:{enumerable:!0},attributes:{enumerable:!0},shadowRoot:{enumerable:!0},outerHTML:{enumerable:!0},scrollTop:{enumerable:!0},scrollLeft:{enumerable:!0},scrollWidth:{enumerable:!0},scrollHeight:{enumerable:!0},clientTop:{enumerable:!0},clientLeft:{enumerable:!0},clientWidth:{enumerable:!0},clientHeight:{enumerable:!0},innerHTML:{enumerable:!0},previousElementSibling:{enumerable:!0},nextElementSibling:{enumerable:!0},children:{enumerable:!0},firstElementChild:{enumerable:!0},lastElementChild:{enumerable:!0},childElementCount:{enumerable:!0},assignedSlot:{enumerable:!0},[Symbol.toStringTag]:{value:"Element",configurable:!0},[Symbol.unscopables]:{value:{slot:!0,before:!0,after:!0,replaceWith:!0,remove:!0,prepend:!0,append:!0,replaceChildren:!0,__proto__:null},configurable:!0}}),ctorRegistry.Element=Element,Object.defineProperty(globalObject,"Element",{configurable:!0,writable:!0,value:Element})};const Impl=__webpack_require__(54067)},46636:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993);__webpack_require__(80421);exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{{const key="is";let value=null==obj?void 0:obj[key];void 0!==value&&(value=conversions.DOMString(value,{context:context+" has member 'is' that",globals:globalObject}),ret[key]=value)}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},1994:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993);__webpack_require__(80421);exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{{const key="extends";let value=null==obj?void 0:obj[key];void 0!==value&&(value=conversions.DOMString(value,{context:context+" has member 'extends' that",globals:globalObject}),ret[key]=value)}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},64949:function(__unused_webpack_module,exports){const enumerationValues=new Set(["transparent","native"]);exports.enumerationValues=enumerationValues,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{const string=`${value}`;if(!enumerationValues.has(string))throw new globalObject.TypeError(`${context} '${string}' is not a valid enumeration value for EndingType`);return string}},27195:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),ErrorEventInit=__webpack_require__(9475),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Event=__webpack_require__(6776);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].ErrorEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'ErrorEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class ErrorEvent extends globalObject.Event{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'ErrorEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'ErrorEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=ErrorEventInit.convert(globalObject,curArg,{context:"Failed to construct 'ErrorEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get message(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get message' called on an object that is not a valid instance of ErrorEvent.");return esValue[implSymbol].message}get filename(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get filename' called on an object that is not a valid instance of ErrorEvent.");return esValue[implSymbol].filename}get lineno(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get lineno' called on an object that is not a valid instance of ErrorEvent.");return esValue[implSymbol].lineno}get colno(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get colno' called on an object that is not a valid instance of ErrorEvent.");return esValue[implSymbol].colno}get error(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get error' called on an object that is not a valid instance of ErrorEvent.");return esValue[implSymbol].error}}Object.defineProperties(ErrorEvent.prototype,{message:{enumerable:!0},filename:{enumerable:!0},lineno:{enumerable:!0},colno:{enumerable:!0},error:{enumerable:!0},[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0}}),ctorRegistry.ErrorEvent=ErrorEvent,Object.defineProperty(globalObject,"ErrorEvent",{configurable:!0,writable:!0,value:ErrorEvent})};const Impl=__webpack_require__(68302)},9475:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),EventInit=(__webpack_require__(80421),__webpack_require__(75061));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="colno";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions["unsigned long"](value,{context:context+" has member 'colno' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="error";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.any(value,{context:context+" has member 'error' that",globals:globalObject}),ret[key]=value):ret[key]=null}{const key="filename";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.USVString(value,{context:context+" has member 'filename' that",globals:globalObject}),ret[key]=value):ret[key]=""}{const key="lineno";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions["unsigned long"](value,{context:context+" has member 'lineno' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="message";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.DOMString(value,{context:context+" has member 'message' that",globals:globalObject}),ret[key]=value):ret[key]=""}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},6776:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),EventInit=__webpack_require__(75061),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Event.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Event'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{utils.define(wrapper,function getUnforgeables(globalObject){let unforgeables=unforgeablesMap.get(globalObject);return void 0===unforgeables&&(unforgeables=Object.create(null),utils.define(unforgeables,{get isTrusted(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get isTrusted' called on an object that is not a valid instance of Event.");return esValue[implSymbol].isTrusted}}),Object.defineProperties(unforgeables,{isTrusted:{configurable:!1}}),unforgeablesMap.set(globalObject,unforgeables)),unforgeables}(globalObject))},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const unforgeablesMap=new WeakMap,exposed=new Set(["Window","Worker","AudioWorklet"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Event{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'Event': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'Event': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=EventInit.convert(globalObject,curArg,{context:"Failed to construct 'Event': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}composedPath(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'composedPath' called on an object that is not a valid instance of Event.");return utils.tryWrapperForImpl(esValue[implSymbol].composedPath())}stopPropagation(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'stopPropagation' called on an object that is not a valid instance of Event.");return esValue[implSymbol].stopPropagation()}stopImmediatePropagation(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'stopImmediatePropagation' called on an object that is not a valid instance of Event.");return esValue[implSymbol].stopImmediatePropagation()}preventDefault(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'preventDefault' called on an object that is not a valid instance of Event.");return esValue[implSymbol].preventDefault()}initEvent(type){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'initEvent' called on an object that is not a valid instance of Event.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'initEvent' on 'Event': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'initEvent' on 'Event': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initEvent' on 'Event': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initEvent' on 'Event': parameter 3",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].initEvent(...args)}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of Event.");return esValue[implSymbol].type}get target(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get target' called on an object that is not a valid instance of Event.");return utils.tryWrapperForImpl(esValue[implSymbol].target)}get srcElement(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get srcElement' called on an object that is not a valid instance of Event.");return utils.tryWrapperForImpl(esValue[implSymbol].srcElement)}get currentTarget(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get currentTarget' called on an object that is not a valid instance of Event.");return utils.tryWrapperForImpl(esValue[implSymbol].currentTarget)}get eventPhase(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get eventPhase' called on an object that is not a valid instance of Event.");return esValue[implSymbol].eventPhase}get cancelBubble(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get cancelBubble' called on an object that is not a valid instance of Event.");return esValue[implSymbol].cancelBubble}set cancelBubble(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set cancelBubble' called on an object that is not a valid instance of Event.");V=conversions.boolean(V,{context:"Failed to set the 'cancelBubble' property on 'Event': The provided value",globals:globalObject}),esValue[implSymbol].cancelBubble=V}get bubbles(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get bubbles' called on an object that is not a valid instance of Event.");return esValue[implSymbol].bubbles}get cancelable(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get cancelable' called on an object that is not a valid instance of Event.");return esValue[implSymbol].cancelable}get returnValue(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get returnValue' called on an object that is not a valid instance of Event.");return esValue[implSymbol].returnValue}set returnValue(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set returnValue' called on an object that is not a valid instance of Event.");V=conversions.boolean(V,{context:"Failed to set the 'returnValue' property on 'Event': The provided value",globals:globalObject}),esValue[implSymbol].returnValue=V}get defaultPrevented(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get defaultPrevented' called on an object that is not a valid instance of Event.");return esValue[implSymbol].defaultPrevented}get composed(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get composed' called on an object that is not a valid instance of Event.");return esValue[implSymbol].composed}get timeStamp(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get timeStamp' called on an object that is not a valid instance of Event.");return esValue[implSymbol].timeStamp}}Object.defineProperties(Event.prototype,{composedPath:{enumerable:!0},stopPropagation:{enumerable:!0},stopImmediatePropagation:{enumerable:!0},preventDefault:{enumerable:!0},initEvent:{enumerable:!0},type:{enumerable:!0},target:{enumerable:!0},srcElement:{enumerable:!0},currentTarget:{enumerable:!0},eventPhase:{enumerable:!0},cancelBubble:{enumerable:!0},bubbles:{enumerable:!0},cancelable:{enumerable:!0},returnValue:{enumerable:!0},defaultPrevented:{enumerable:!0},composed:{enumerable:!0},timeStamp:{enumerable:!0},[Symbol.toStringTag]:{value:"Event",configurable:!0},NONE:{value:0,enumerable:!0},CAPTURING_PHASE:{value:1,enumerable:!0},AT_TARGET:{value:2,enumerable:!0},BUBBLING_PHASE:{value:3,enumerable:!0}}),Object.defineProperties(Event,{NONE:{value:0,enumerable:!0},CAPTURING_PHASE:{value:1,enumerable:!0},AT_TARGET:{value:2,enumerable:!0},BUBBLING_PHASE:{value:3,enumerable:!0}}),ctorRegistry.Event=Event,Object.defineProperty(globalObject,"Event",{configurable:!0,writable:!0,value:Event})};const Impl=__webpack_require__(74089)},65685:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421);exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{function invokeTheCallbackFunction(event){const thisArg=utils.tryWrapperForImpl(this);let callResult;return"function"==typeof value&&(event=utils.tryWrapperForImpl(event),callResult=Reflect.apply(value,thisArg,[event])),callResult=conversions.any(callResult,{context:context,globals:globalObject}),callResult}return invokeTheCallbackFunction.construct=event=>{event=utils.tryWrapperForImpl(event);let callResult=Reflect.construct(value,[event]);return callResult=conversions.any(callResult,{context:context,globals:globalObject}),callResult},invokeTheCallbackFunction[utils.wrapperSymbol]=value,invokeTheCallbackFunction.objectReference=value,invokeTheCallbackFunction}},75061:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993);__webpack_require__(80421);exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{{const key="bubbles";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'bubbles' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="cancelable";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'cancelable' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="composed";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'composed' that",globals:globalObject}),ret[key]=value):ret[key]=!1}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},1301:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421);exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(!utils.isObject(value))throw new globalObject.TypeError(`${context} is not an object.`);function callTheUserObjectsOperation(event){let thisArg=utils.tryWrapperForImpl(this),O=value,X=O;if("function"!=typeof O){if(X=O.handleEvent,"function"!=typeof X)throw new globalObject.TypeError(`${context} does not correctly implement EventListener.`);thisArg=O}event=utils.tryWrapperForImpl(event);Reflect.apply(X,thisArg,[event])}return callTheUserObjectsOperation[utils.wrapperSymbol]=value,callTheUserObjectsOperation.objectReference=value,callTheUserObjectsOperation},exports.install=(globalObject,globalNames)=>{}},32212:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993);__webpack_require__(80421);exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{{const key="capture";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'capture' that",globals:globalObject}),ret[key]=value):ret[key]=!1}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},25150:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),UIEventInit=(__webpack_require__(80421),__webpack_require__(33032));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{UIEventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="altKey";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'altKey' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="ctrlKey";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'ctrlKey' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="metaKey";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'metaKey' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="modifierAltGraph";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'modifierAltGraph' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="modifierCapsLock";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'modifierCapsLock' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="modifierFn";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'modifierFn' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="modifierFnLock";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'modifierFnLock' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="modifierHyper";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'modifierHyper' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="modifierNumLock";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'modifierNumLock' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="modifierScrollLock";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'modifierScrollLock' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="modifierSuper";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'modifierSuper' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="modifierSymbol";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'modifierSymbol' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="modifierSymbolLock";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'modifierSymbolLock' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="shiftKey";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'shiftKey' that",globals:globalObject}),ret[key]=value):ret[key]=!1}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},70462:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),EventListener=__webpack_require__(1301),AddEventListenerOptions=__webpack_require__(32633),EventListenerOptions=__webpack_require__(32212),Event=__webpack_require__(6776),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].EventTarget.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'EventTarget'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker","AudioWorklet"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class EventTarget{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,void 0)}addEventListener(type,callback){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'addEventListener' called on an object that is not a valid instance of EventTarget.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'addEventListener' on 'EventTarget': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'addEventListener' on 'EventTarget': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=null==curArg?null:EventListener.convert(globalObject,curArg,{context:"Failed to execute 'addEventListener' on 'EventTarget': parameter 2"}),args.push(curArg)}{let curArg=arguments[2];void 0!==curArg&&(curArg=null==curArg?AddEventListenerOptions.convert(globalObject,curArg,{context:"Failed to execute 'addEventListener' on 'EventTarget': parameter 3"}):utils.isObject(curArg)?AddEventListenerOptions.convert(globalObject,curArg,{context:"Failed to execute 'addEventListener' on 'EventTarget': parameter 3 dictionary"}):conversions.boolean(curArg,{context:"Failed to execute 'addEventListener' on 'EventTarget': parameter 3",globals:globalObject})),args.push(curArg)}return esValue[implSymbol].addEventListener(...args)}removeEventListener(type,callback){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'removeEventListener' called on an object that is not a valid instance of EventTarget.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'removeEventListener' on 'EventTarget': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'removeEventListener' on 'EventTarget': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=null==curArg?null:EventListener.convert(globalObject,curArg,{context:"Failed to execute 'removeEventListener' on 'EventTarget': parameter 2"}),args.push(curArg)}{let curArg=arguments[2];void 0!==curArg&&(curArg=null==curArg?EventListenerOptions.convert(globalObject,curArg,{context:"Failed to execute 'removeEventListener' on 'EventTarget': parameter 3"}):utils.isObject(curArg)?EventListenerOptions.convert(globalObject,curArg,{context:"Failed to execute 'removeEventListener' on 'EventTarget': parameter 3 dictionary"}):conversions.boolean(curArg,{context:"Failed to execute 'removeEventListener' on 'EventTarget': parameter 3",globals:globalObject})),args.push(curArg)}return esValue[implSymbol].removeEventListener(...args)}dispatchEvent(event){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'dispatchEvent' called on an object that is not a valid instance of EventTarget.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'dispatchEvent' on 'EventTarget': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Event.convert(globalObject,curArg,{context:"Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1"}),args.push(curArg)}return esValue[implSymbol].dispatchEvent(...args)}}Object.defineProperties(EventTarget.prototype,{addEventListener:{enumerable:!0},removeEventListener:{enumerable:!0},dispatchEvent:{enumerable:!0},[Symbol.toStringTag]:{value:"EventTarget",configurable:!0}}),ctorRegistry.EventTarget=EventTarget,Object.defineProperty(globalObject,"EventTarget",{configurable:!0,writable:!0,value:EventTarget})};const Impl=__webpack_require__(98998)},77883:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].External.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'External'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class External{constructor(){throw new globalObject.TypeError("Illegal constructor")}AddSearchProvider(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'AddSearchProvider' called on an object that is not a valid instance of External.");return esValue[implSymbol].AddSearchProvider()}IsSearchProviderInstalled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'IsSearchProviderInstalled' called on an object that is not a valid instance of External.");return esValue[implSymbol].IsSearchProviderInstalled()}}Object.defineProperties(External.prototype,{AddSearchProvider:{enumerable:!0},IsSearchProviderInstalled:{enumerable:!0},[Symbol.toStringTag]:{value:"External",configurable:!0}}),ctorRegistry.External=External,Object.defineProperty(globalObject,"External",{configurable:!0,writable:!0,value:External})};const Impl=__webpack_require__(35981)},68610:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),Blob=__webpack_require__(86545),FilePropertyBag=__webpack_require__(81670),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].File.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'File'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Blob._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class File extends globalObject.Blob{constructor(fileBits,fileName){if(arguments.length<2)throw new globalObject.TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];if(!utils.isObject(curArg))throw new globalObject.TypeError("Failed to construct 'File': parameter 1 is not an iterable object.");{const V=[],tmp=curArg;for(let nextItem of tmp)Blob.is(nextItem)?nextItem=utils.implForWrapper(nextItem):utils.isArrayBuffer(nextItem)||ArrayBuffer.isView(nextItem)||(nextItem=conversions.USVString(nextItem,{context:"Failed to construct 'File': parameter 1's element",globals:globalObject})),V.push(nextItem);curArg=V}args.push(curArg)}{let curArg=arguments[1];curArg=conversions.USVString(curArg,{context:"Failed to construct 'File': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=FilePropertyBag.convert(globalObject,curArg,{context:"Failed to construct 'File': parameter 3"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of File.");return esValue[implSymbol].name}get lastModified(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get lastModified' called on an object that is not a valid instance of File.");return esValue[implSymbol].lastModified}}Object.defineProperties(File.prototype,{name:{enumerable:!0},lastModified:{enumerable:!0},[Symbol.toStringTag]:{value:"File",configurable:!0}}),ctorRegistry.File=File,Object.defineProperty(globalObject,"File",{configurable:!0,writable:!0,value:File})};const Impl=__webpack_require__(89212)},47951:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].FileList.prototype),Object.create(proto)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);return void 0===proxyHandler&&(proxyHandler=new ProxyHandler(globalObject),proxyHandlerCache.set(globalObject,proxyHandler)),new Proxy(wrapper,proxyHandler)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'FileList'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),(wrapper=makeProxy(wrapper,globalObject))[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{let wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper=makeProxy(wrapper,globalObject),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class FileList{constructor(){throw new globalObject.TypeError("Illegal constructor")}item(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'item' called on an object that is not a valid instance of FileList.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'item' on 'FileList': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'FileList': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of FileList.");return esValue[implSymbol].length}}Object.defineProperties(FileList.prototype,{item:{enumerable:!0},length:{enumerable:!0},[Symbol.toStringTag]:{value:"FileList",configurable:!0},[Symbol.iterator]:{value:globalObject.Array.prototype[Symbol.iterator],configurable:!0,writable:!0}}),ctorRegistry.FileList=FileList,Object.defineProperty(globalObject,"FileList",{configurable:!0,writable:!0,value:FileList})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if("symbol"==typeof P)return Reflect.get(target,P,receiver);const desc=this.getOwnPropertyDescriptor(target,P);if(void 0===desc){if(null===Object.getPrototypeOf(target))return;return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set)return desc.value;const getter=desc.get;return void 0!==getter?Reflect.apply(getter,receiver,[]):void 0}has(target,P){if("symbol"==typeof P)return Reflect.has(target,P);if(void 0!==this.getOwnPropertyDescriptor(target,P))return!0;const parent=Object.getPrototypeOf(target);return null!==parent&&Reflect.has(parent,P)}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices])keys.add(`${key}`);for(const key of Reflect.ownKeys(target))keys.add(key);return[...keys]}getOwnPropertyDescriptor(target,P){if("symbol"==typeof P)return Reflect.getOwnPropertyDescriptor(target,P);let ignoreNamedProps=!1;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);if(null!==indexedValue)return{writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)};ignoreNamedProps=!0}return Reflect.getOwnPropertyDescriptor(target,P)}set(target,P,V,receiver){if("symbol"==typeof P)return Reflect.set(target,P,V,receiver);if(target[implSymbol][utils.wrapperSymbol]===receiver){this._globalObject}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);null!==indexedValue&&(ownDesc={writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)})}if(void 0===ownDesc&&(ownDesc=Reflect.getOwnPropertyDescriptor(target,P)),void 0===ownDesc){const parent=Reflect.getPrototypeOf(target);if(null!==parent)return Reflect.set(parent,P,V,receiver);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:void 0}}if(!ownDesc.writable)return!1;if(!utils.isObject(receiver))return!1;const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(void 0!==existingDesc){if(existingDesc.get||existingDesc.set)return!1;if(!existingDesc.writable)return!1;valueDesc={value:V}}else valueDesc={writable:!0,enumerable:!0,configurable:!0,value:V};return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if("symbol"==typeof P)return Reflect.defineProperty(target,P,desc);this._globalObject;return!utils.isArrayIndexPropName(P)&&Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if("symbol"==typeof P)return Reflect.deleteProperty(target,P);this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(null!==target[implSymbol].item(index))}return Reflect.deleteProperty(target,P)}preventExtensions(){return!1}}const Impl=__webpack_require__(94356)},81670:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),BlobPropertyBag=(__webpack_require__(80421),__webpack_require__(94530));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{BlobPropertyBag._convertInherit(globalObject,obj,ret,{context:context});{const key="lastModified";let value=null==obj?void 0:obj[key];void 0!==value&&(value=conversions["long long"](value,{context:context+" has member 'lastModified' that",globals:globalObject}),ret[key]=value)}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},23666:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),Blob=__webpack_require__(86545),EventHandlerNonNull=__webpack_require__(65685),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,EventTarget=__webpack_require__(70462);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].FileReader.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'FileReader'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{EventTarget._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class FileReader extends globalObject.EventTarget{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,void 0)}readAsArrayBuffer(blob){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'readAsArrayBuffer' called on an object that is not a valid instance of FileReader.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'readAsArrayBuffer' on 'FileReader': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Blob.convert(globalObject,curArg,{context:"Failed to execute 'readAsArrayBuffer' on 'FileReader': parameter 1"}),args.push(curArg)}return esValue[implSymbol].readAsArrayBuffer(...args)}readAsBinaryString(blob){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'readAsBinaryString' called on an object that is not a valid instance of FileReader.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'readAsBinaryString' on 'FileReader': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Blob.convert(globalObject,curArg,{context:"Failed to execute 'readAsBinaryString' on 'FileReader': parameter 1"}),args.push(curArg)}return esValue[implSymbol].readAsBinaryString(...args)}readAsText(blob){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'readAsText' called on an object that is not a valid instance of FileReader.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'readAsText' on 'FileReader': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Blob.convert(globalObject,curArg,{context:"Failed to execute 'readAsText' on 'FileReader': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];void 0!==curArg&&(curArg=conversions.DOMString(curArg,{context:"Failed to execute 'readAsText' on 'FileReader': parameter 2",globals:globalObject})),args.push(curArg)}return esValue[implSymbol].readAsText(...args)}readAsDataURL(blob){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'readAsDataURL' called on an object that is not a valid instance of FileReader.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'readAsDataURL' on 'FileReader': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Blob.convert(globalObject,curArg,{context:"Failed to execute 'readAsDataURL' on 'FileReader': parameter 1"}),args.push(curArg)}return esValue[implSymbol].readAsDataURL(...args)}abort(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'abort' called on an object that is not a valid instance of FileReader.");return esValue[implSymbol].abort()}get readyState(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get readyState' called on an object that is not a valid instance of FileReader.");return esValue[implSymbol].readyState}get result(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get result' called on an object that is not a valid instance of FileReader.");return utils.tryWrapperForImpl(esValue[implSymbol].result)}get error(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get error' called on an object that is not a valid instance of FileReader.");return utils.tryWrapperForImpl(esValue[implSymbol].error)}get onloadstart(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadstart' called on an object that is not a valid instance of FileReader.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadstart)}set onloadstart(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadstart' called on an object that is not a valid instance of FileReader.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadstart' property on 'FileReader': The provided value"}):null,esValue[implSymbol].onloadstart=V}get onprogress(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onprogress' called on an object that is not a valid instance of FileReader.");return utils.tryWrapperForImpl(esValue[implSymbol].onprogress)}set onprogress(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onprogress' called on an object that is not a valid instance of FileReader.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onprogress' property on 'FileReader': The provided value"}):null,esValue[implSymbol].onprogress=V}get onload(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onload' called on an object that is not a valid instance of FileReader.");return utils.tryWrapperForImpl(esValue[implSymbol].onload)}set onload(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onload' called on an object that is not a valid instance of FileReader.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onload' property on 'FileReader': The provided value"}):null,esValue[implSymbol].onload=V}get onabort(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onabort' called on an object that is not a valid instance of FileReader.");return utils.tryWrapperForImpl(esValue[implSymbol].onabort)}set onabort(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onabort' called on an object that is not a valid instance of FileReader.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onabort' property on 'FileReader': The provided value"}):null,esValue[implSymbol].onabort=V}get onerror(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onerror' called on an object that is not a valid instance of FileReader.");return utils.tryWrapperForImpl(esValue[implSymbol].onerror)}set onerror(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onerror' called on an object that is not a valid instance of FileReader.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onerror' property on 'FileReader': The provided value"}):null,esValue[implSymbol].onerror=V}get onloadend(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadend' called on an object that is not a valid instance of FileReader.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadend)}set onloadend(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadend' called on an object that is not a valid instance of FileReader.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadend' property on 'FileReader': The provided value"}):null,esValue[implSymbol].onloadend=V}}Object.defineProperties(FileReader.prototype,{readAsArrayBuffer:{enumerable:!0},readAsBinaryString:{enumerable:!0},readAsText:{enumerable:!0},readAsDataURL:{enumerable:!0},abort:{enumerable:!0},readyState:{enumerable:!0},result:{enumerable:!0},error:{enumerable:!0},onloadstart:{enumerable:!0},onprogress:{enumerable:!0},onload:{enumerable:!0},onabort:{enumerable:!0},onerror:{enumerable:!0},onloadend:{enumerable:!0},[Symbol.toStringTag]:{value:"FileReader",configurable:!0},EMPTY:{value:0,enumerable:!0},LOADING:{value:1,enumerable:!0},DONE:{value:2,enumerable:!0}}),Object.defineProperties(FileReader,{EMPTY:{value:0,enumerable:!0},LOADING:{value:1,enumerable:!0},DONE:{value:2,enumerable:!0}}),ctorRegistry.FileReader=FileReader,Object.defineProperty(globalObject,"FileReader",{configurable:!0,writable:!0,value:FileReader})};const Impl=__webpack_require__(65144)},81950:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),FocusEventInit=__webpack_require__(32001),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,UIEvent=__webpack_require__(9973);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].FocusEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'FocusEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{UIEvent._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class FocusEvent extends globalObject.UIEvent{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'FocusEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'FocusEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=FocusEventInit.convert(globalObject,curArg,{context:"Failed to construct 'FocusEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get relatedTarget(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get relatedTarget' called on an object that is not a valid instance of FocusEvent.");return utils.tryWrapperForImpl(esValue[implSymbol].relatedTarget)}}Object.defineProperties(FocusEvent.prototype,{relatedTarget:{enumerable:!0},[Symbol.toStringTag]:{value:"FocusEvent",configurable:!0}}),ctorRegistry.FocusEvent=FocusEvent,Object.defineProperty(globalObject,"FocusEvent",{configurable:!0,writable:!0,value:FocusEvent})};const Impl=__webpack_require__(86995)},32001:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993),__webpack_require__(80421);const EventTarget=__webpack_require__(70462),UIEventInit=__webpack_require__(33032);exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{UIEventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="relatedTarget";let value=null==obj?void 0:obj[key];void 0!==value?(value=null==value?null:EventTarget.convert(globalObject,value,{context:context+" has member 'relatedTarget' that"}),ret[key]=value):ret[key]=null}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},24373:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLFormElement=__webpack_require__(39624),Blob=__webpack_require__(86545),Function=__webpack_require__(29111),newObjectInRealm=utils.newObjectInRealm,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].FormData.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'FormData'.`)},exports.createDefaultIterator=(globalObject,target,kind)=>{const iteratorPrototype=globalObject[ctorRegistrySymbol]["FormData Iterator"],iterator=Object.create(iteratorPrototype);return Object.defineProperty(iterator,utils.iterInternalSymbol,{value:{target:target,kind:kind,index:0},configurable:!0}),iterator},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class FormData{constructor(){const args=[];{let curArg=arguments[0];void 0!==curArg&&(curArg=HTMLFormElement.convert(globalObject,curArg,{context:"Failed to construct 'FormData': parameter 1"})),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}append(name,value){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'append' called on an object that is not a valid instance of FormData.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'append' on 'FormData': 2 arguments required, but only ${arguments.length} present.`);const args=[];switch(arguments.length){case 2:{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'append' on 'FormData': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];if(Blob.is(curArg)){let curArg=arguments[1];curArg=Blob.convert(globalObject,curArg,{context:"Failed to execute 'append' on 'FormData': parameter 2"}),args.push(curArg)}else{let curArg=arguments[1];curArg=conversions.USVString(curArg,{context:"Failed to execute 'append' on 'FormData': parameter 2",globals:globalObject}),args.push(curArg)}}break;default:{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'append' on 'FormData': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=Blob.convert(globalObject,curArg,{context:"Failed to execute 'append' on 'FormData': parameter 2"}),args.push(curArg)}{let curArg=arguments[2];void 0!==curArg&&(curArg=conversions.USVString(curArg,{context:"Failed to execute 'append' on 'FormData': parameter 3",globals:globalObject})),args.push(curArg)}}return esValue[implSymbol].append(...args)}delete(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'delete' called on an object that is not a valid instance of FormData.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'delete' on 'FormData': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'delete' on 'FormData': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].delete(...args)}get(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get' called on an object that is not a valid instance of FormData.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'get' on 'FormData': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'get' on 'FormData': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].get(...args))}getAll(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getAll' called on an object that is not a valid instance of FormData.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getAll' on 'FormData': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'getAll' on 'FormData': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getAll(...args))}has(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'has' called on an object that is not a valid instance of FormData.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'has' on 'FormData': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'has' on 'FormData': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].has(...args)}set(name,value){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set' called on an object that is not a valid instance of FormData.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'set' on 'FormData': 2 arguments required, but only ${arguments.length} present.`);const args=[];switch(arguments.length){case 2:{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'set' on 'FormData': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];if(Blob.is(curArg)){let curArg=arguments[1];curArg=Blob.convert(globalObject,curArg,{context:"Failed to execute 'set' on 'FormData': parameter 2"}),args.push(curArg)}else{let curArg=arguments[1];curArg=conversions.USVString(curArg,{context:"Failed to execute 'set' on 'FormData': parameter 2",globals:globalObject}),args.push(curArg)}}break;default:{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'set' on 'FormData': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=Blob.convert(globalObject,curArg,{context:"Failed to execute 'set' on 'FormData': parameter 2"}),args.push(curArg)}{let curArg=arguments[2];void 0!==curArg&&(curArg=conversions.USVString(curArg,{context:"Failed to execute 'set' on 'FormData': parameter 3",globals:globalObject})),args.push(curArg)}}return esValue[implSymbol].set(...args)}keys(){if(!exports.is(this))throw new globalObject.TypeError("'keys' called on an object that is not a valid instance of FormData.");return exports.createDefaultIterator(globalObject,this,"key")}values(){if(!exports.is(this))throw new globalObject.TypeError("'values' called on an object that is not a valid instance of FormData.");return exports.createDefaultIterator(globalObject,this,"value")}entries(){if(!exports.is(this))throw new globalObject.TypeError("'entries' called on an object that is not a valid instance of FormData.");return exports.createDefaultIterator(globalObject,this,"key+value")}forEach(callback){if(!exports.is(this))throw new globalObject.TypeError("'forEach' called on an object that is not a valid instance of FormData.");if(arguments.length<1)throw new globalObject.TypeError("Failed to execute 'forEach' on 'iterable': 1 argument required, but only 0 present.");callback=Function.convert(globalObject,callback,{context:"Failed to execute 'forEach' on 'iterable': The callback provided as parameter 1"});const thisArg=arguments[1];let pairs=Array.from(this[implSymbol]),i=0;for(;i<pairs.length;){const[key,value]=pairs[i].map(utils.tryWrapperForImpl);callback.call(thisArg,value,key,this),pairs=Array.from(this[implSymbol]),i++}}}Object.defineProperties(FormData.prototype,{append:{enumerable:!0},delete:{enumerable:!0},get:{enumerable:!0},getAll:{enumerable:!0},has:{enumerable:!0},set:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0},forEach:{enumerable:!0},[Symbol.toStringTag]:{value:"FormData",configurable:!0},[Symbol.iterator]:{value:FormData.prototype.entries,configurable:!0,writable:!0}}),ctorRegistry.FormData=FormData,ctorRegistry["FormData Iterator"]=Object.create(ctorRegistry["%IteratorPrototype%"],{[Symbol.toStringTag]:{configurable:!0,value:"FormData Iterator"}}),utils.define(ctorRegistry["FormData Iterator"],{next(){const internal=this&&this[utils.iterInternalSymbol];if(!internal)throw new globalObject.TypeError("next() called on a value that is not a FormData iterator object");const{target:target,kind:kind,index:index}=internal,values=Array.from(target[implSymbol]);if(index>=values.length)return newObjectInRealm(globalObject,{value:void 0,done:!0});const pair=values[index];return internal.index=index+1,newObjectInRealm(globalObject,utils.iteratorResult(pair.map(utils.tryWrapperForImpl),kind))}}),Object.defineProperty(globalObject,"FormData",{configurable:!0,writable:!0,value:FormData})};const Impl=__webpack_require__(47304)},29111:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421);exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if("function"!=typeof value)throw new globalObject.TypeError(context+" is not a function");function invokeTheCallbackFunction(...args){const thisArg=utils.tryWrapperForImpl(this);let callResult;for(let i=0;i<args.length;i++)args[i]=utils.tryWrapperForImpl(args[i]);return callResult=Reflect.apply(value,thisArg,args),callResult=conversions.any(callResult,{context:context,globals:globalObject}),callResult}return invokeTheCallbackFunction.construct=(...args)=>{for(let i=0;i<args.length;i++)args[i]=utils.tryWrapperForImpl(args[i]);let callResult=Reflect.construct(value,args);return callResult=conversions.any(callResult,{context:context,globals:globalObject}),callResult},invokeTheCallbackFunction[utils.wrapperSymbol]=value,invokeTheCallbackFunction.objectReference=value,invokeTheCallbackFunction}},84908:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993);__webpack_require__(80421);exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{{const key="composed";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'composed' that",globals:globalObject}),ret[key]=value):ret[key]=!1}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},12629:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLAnchorElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLAnchorElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLAnchorElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLAnchorElement",new.target)}get target(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get target' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"target");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set target(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set target' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.DOMString(V,{context:"Failed to set the 'target' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"target",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get download(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get download' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"download");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set download(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set download' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.DOMString(V,{context:"Failed to set the 'download' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"download",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rel(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rel' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"rel");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rel(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set rel' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.DOMString(V,{context:"Failed to set the 'rel' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"rel",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get relList(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get relList' called on an object that is not a valid instance of HTMLAnchorElement.");return utils.getSameObject(this,"relList",(()=>utils.tryWrapperForImpl(esValue[implSymbol].relList)))}set relList(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set relList' called on an object that is not a valid instance of HTMLAnchorElement.");const Q=esValue.relList;if(!utils.isObject(Q))throw new globalObject.TypeError("Property 'relList' is not an object");Reflect.set(Q,"value",V)}get hreflang(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hreflang' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"hreflang");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hreflang(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set hreflang' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.DOMString(V,{context:"Failed to set the 'hreflang' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"hreflang",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set type' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.DOMString(V,{context:"Failed to set the 'type' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get text(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get text' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].text}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set text(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set text' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.DOMString(V,{context:"Failed to set the 'text' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].text=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get coords(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get coords' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"coords");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set coords(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set coords' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.DOMString(V,{context:"Failed to set the 'coords' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"coords",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get charset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get charset' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"charset");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set charset(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set charset' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.DOMString(V,{context:"Failed to set the 'charset' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"charset",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rev(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rev' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"rev");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rev(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set rev' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.DOMString(V,{context:"Failed to set the 'rev' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"rev",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get shape(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get shape' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"shape");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set shape(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set shape' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.DOMString(V,{context:"Failed to set the 'shape' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"shape",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get href(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get href' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].href}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set href(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set href' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.USVString(V,{context:"Failed to set the 'href' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].href=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}toString(){const esValue=this;if(!exports.is(esValue))throw new globalObject.TypeError("'toString' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].href}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get origin(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get origin' called on an object that is not a valid instance of HTMLAnchorElement.");return esValue[implSymbol].origin}get protocol(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get protocol' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].protocol}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set protocol(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set protocol' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.USVString(V,{context:"Failed to set the 'protocol' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].protocol=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get username(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get username' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].username}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set username(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set username' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.USVString(V,{context:"Failed to set the 'username' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].username=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get password(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get password' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].password}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set password(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set password' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.USVString(V,{context:"Failed to set the 'password' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].password=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get host(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get host' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].host}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set host(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set host' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.USVString(V,{context:"Failed to set the 'host' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].host=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hostname(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hostname' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hostname}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hostname(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set hostname' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.USVString(V,{context:"Failed to set the 'hostname' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].hostname=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get port(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get port' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].port}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set port(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set port' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.USVString(V,{context:"Failed to set the 'port' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].port=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get pathname(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get pathname' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].pathname}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set pathname(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set pathname' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.USVString(V,{context:"Failed to set the 'pathname' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].pathname=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get search(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get search' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].search}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set search(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set search' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.USVString(V,{context:"Failed to set the 'search' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].search=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hash(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hash' called on an object that is not a valid instance of HTMLAnchorElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hash}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hash(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set hash' called on an object that is not a valid instance of HTMLAnchorElement.");V=conversions.USVString(V,{context:"Failed to set the 'hash' property on 'HTMLAnchorElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].hash=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLAnchorElement.prototype,{target:{enumerable:!0},download:{enumerable:!0},rel:{enumerable:!0},relList:{enumerable:!0},hreflang:{enumerable:!0},type:{enumerable:!0},text:{enumerable:!0},coords:{enumerable:!0},charset:{enumerable:!0},name:{enumerable:!0},rev:{enumerable:!0},shape:{enumerable:!0},href:{enumerable:!0},toString:{enumerable:!0},origin:{enumerable:!0},protocol:{enumerable:!0},username:{enumerable:!0},password:{enumerable:!0},host:{enumerable:!0},hostname:{enumerable:!0},port:{enumerable:!0},pathname:{enumerable:!0},search:{enumerable:!0},hash:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLAnchorElement",configurable:!0}}),ctorRegistry.HTMLAnchorElement=HTMLAnchorElement,Object.defineProperty(globalObject,"HTMLAnchorElement",{configurable:!0,writable:!0,value:HTMLAnchorElement})};const Impl=__webpack_require__(26994)},42601:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLAreaElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLAreaElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLAreaElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLAreaElement",new.target)}get alt(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get alt' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"alt");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set alt(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set alt' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'alt' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"alt",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get coords(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get coords' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"coords");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set coords(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set coords' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'coords' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"coords",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get shape(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get shape' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"shape");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set shape(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set shape' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'shape' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"shape",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get target(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get target' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"target");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set target(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set target' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'target' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"target",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rel(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rel' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"rel");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rel(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set rel' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'rel' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"rel",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get relList(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get relList' called on an object that is not a valid instance of HTMLAreaElement.");return utils.getSameObject(this,"relList",(()=>utils.tryWrapperForImpl(esValue[implSymbol].relList)))}set relList(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set relList' called on an object that is not a valid instance of HTMLAreaElement.");const Q=esValue.relList;if(!utils.isObject(Q))throw new globalObject.TypeError("Property 'relList' is not an object");Reflect.set(Q,"value",V)}get noHref(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get noHref' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"nohref")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set noHref(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set noHref' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.boolean(V,{context:"Failed to set the 'noHref' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"nohref",""):esValue[implSymbol].removeAttributeNS(null,"nohref")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get href(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get href' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].href}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set href(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set href' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.USVString(V,{context:"Failed to set the 'href' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].href=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}toString(){const esValue=this;if(!exports.is(esValue))throw new globalObject.TypeError("'toString' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].href}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get origin(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get origin' called on an object that is not a valid instance of HTMLAreaElement.");return esValue[implSymbol].origin}get protocol(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get protocol' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].protocol}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set protocol(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set protocol' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.USVString(V,{context:"Failed to set the 'protocol' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].protocol=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get username(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get username' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].username}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set username(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set username' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.USVString(V,{context:"Failed to set the 'username' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].username=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get password(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get password' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].password}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set password(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set password' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.USVString(V,{context:"Failed to set the 'password' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].password=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get host(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get host' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].host}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set host(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set host' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.USVString(V,{context:"Failed to set the 'host' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].host=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hostname(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hostname' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hostname}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hostname(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set hostname' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.USVString(V,{context:"Failed to set the 'hostname' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].hostname=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get port(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get port' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].port}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set port(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set port' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.USVString(V,{context:"Failed to set the 'port' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].port=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get pathname(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get pathname' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].pathname}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set pathname(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set pathname' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.USVString(V,{context:"Failed to set the 'pathname' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].pathname=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get search(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get search' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].search}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set search(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set search' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.USVString(V,{context:"Failed to set the 'search' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].search=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hash(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hash' called on an object that is not a valid instance of HTMLAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hash}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hash(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set hash' called on an object that is not a valid instance of HTMLAreaElement.");V=conversions.USVString(V,{context:"Failed to set the 'hash' property on 'HTMLAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].hash=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLAreaElement.prototype,{alt:{enumerable:!0},coords:{enumerable:!0},shape:{enumerable:!0},target:{enumerable:!0},rel:{enumerable:!0},relList:{enumerable:!0},noHref:{enumerable:!0},href:{enumerable:!0},toString:{enumerable:!0},origin:{enumerable:!0},protocol:{enumerable:!0},username:{enumerable:!0},password:{enumerable:!0},host:{enumerable:!0},hostname:{enumerable:!0},port:{enumerable:!0},pathname:{enumerable:!0},search:{enumerable:!0},hash:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLAreaElement",configurable:!0}}),ctorRegistry.HTMLAreaElement=HTMLAreaElement,Object.defineProperty(globalObject,"HTMLAreaElement",{configurable:!0,writable:!0,value:HTMLAreaElement})};const Impl=__webpack_require__(49348)},52301:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLMediaElement=__webpack_require__(39548);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLAudioElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLAudioElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLMediaElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLAudioElement extends globalObject.HTMLMediaElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLAudioElement",new.target)}}Object.defineProperties(HTMLAudioElement.prototype,{[Symbol.toStringTag]:{value:"HTMLAudioElement",configurable:!0}}),ctorRegistry.HTMLAudioElement=HTMLAudioElement,Object.defineProperty(globalObject,"HTMLAudioElement",{configurable:!0,writable:!0,value:HTMLAudioElement})};const Impl=__webpack_require__(63523)},72780:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLBRElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLBRElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLBRElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLBRElement",new.target)}get clear(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get clear' called on an object that is not a valid instance of HTMLBRElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"clear");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set clear(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set clear' called on an object that is not a valid instance of HTMLBRElement.");V=conversions.DOMString(V,{context:"Failed to set the 'clear' property on 'HTMLBRElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"clear",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLBRElement.prototype,{clear:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLBRElement",configurable:!0}}),ctorRegistry.HTMLBRElement=HTMLBRElement,Object.defineProperty(globalObject,"HTMLBRElement",{configurable:!0,writable:!0,value:HTMLBRElement})};const Impl=__webpack_require__(92825)},43246:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLBaseElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLBaseElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLBaseElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLBaseElement",new.target)}get href(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get href' called on an object that is not a valid instance of HTMLBaseElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].href}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set href(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set href' called on an object that is not a valid instance of HTMLBaseElement.");V=conversions.USVString(V,{context:"Failed to set the 'href' property on 'HTMLBaseElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].href=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get target(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get target' called on an object that is not a valid instance of HTMLBaseElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"target");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set target(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set target' called on an object that is not a valid instance of HTMLBaseElement.");V=conversions.DOMString(V,{context:"Failed to set the 'target' property on 'HTMLBaseElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"target",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLBaseElement.prototype,{href:{enumerable:!0},target:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLBaseElement",configurable:!0}}),ctorRegistry.HTMLBaseElement=HTMLBaseElement,Object.defineProperty(globalObject,"HTMLBaseElement",{configurable:!0,writable:!0,value:HTMLBaseElement})};const Impl=__webpack_require__(43107)},7246:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,EventHandlerNonNull=__webpack_require__(65685),OnBeforeUnloadEventHandlerNonNull=__webpack_require__(91983),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLBodyElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLBodyElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLBodyElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLBodyElement",new.target)}get text(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get text' called on an object that is not a valid instance of HTMLBodyElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"text");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set text(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set text' called on an object that is not a valid instance of HTMLBodyElement.");V=conversions.DOMString(V,{context:"Failed to set the 'text' property on 'HTMLBodyElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"text",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get link(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get link' called on an object that is not a valid instance of HTMLBodyElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"link");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set link(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set link' called on an object that is not a valid instance of HTMLBodyElement.");V=conversions.DOMString(V,{context:"Failed to set the 'link' property on 'HTMLBodyElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"link",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vLink(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get vLink' called on an object that is not a valid instance of HTMLBodyElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"vlink");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vLink(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set vLink' called on an object that is not a valid instance of HTMLBodyElement.");V=conversions.DOMString(V,{context:"Failed to set the 'vLink' property on 'HTMLBodyElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"vlink",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get aLink(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get aLink' called on an object that is not a valid instance of HTMLBodyElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"alink");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set aLink(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set aLink' called on an object that is not a valid instance of HTMLBodyElement.");V=conversions.DOMString(V,{context:"Failed to set the 'aLink' property on 'HTMLBodyElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"alink",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get bgColor(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get bgColor' called on an object that is not a valid instance of HTMLBodyElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"bgcolor");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set bgColor(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set bgColor' called on an object that is not a valid instance of HTMLBodyElement.");V=conversions.DOMString(V,{context:"Failed to set the 'bgColor' property on 'HTMLBodyElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"bgcolor",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get background(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get background' called on an object that is not a valid instance of HTMLBodyElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"background");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set background(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set background' called on an object that is not a valid instance of HTMLBodyElement.");V=conversions.DOMString(V,{context:"Failed to set the 'background' property on 'HTMLBodyElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"background",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get onafterprint(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onafterprint' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onafterprint)}set onafterprint(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onafterprint' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onafterprint' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onafterprint=V}get onbeforeprint(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onbeforeprint' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onbeforeprint)}set onbeforeprint(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onbeforeprint' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onbeforeprint' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onbeforeprint=V}get onbeforeunload(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onbeforeunload' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onbeforeunload)}set onbeforeunload(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onbeforeunload' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?OnBeforeUnloadEventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onbeforeunload' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onbeforeunload=V}get onhashchange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onhashchange' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onhashchange)}set onhashchange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onhashchange' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onhashchange' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onhashchange=V}get onlanguagechange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onlanguagechange' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onlanguagechange)}set onlanguagechange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onlanguagechange' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onlanguagechange' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onlanguagechange=V}get onmessage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmessage' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmessage)}set onmessage(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmessage' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmessage' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onmessage=V}get onmessageerror(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmessageerror' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmessageerror)}set onmessageerror(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmessageerror' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmessageerror' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onmessageerror=V}get onoffline(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onoffline' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onoffline)}set onoffline(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onoffline' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onoffline' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onoffline=V}get ononline(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ononline' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ononline)}set ononline(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ononline' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ononline' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].ononline=V}get onpagehide(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onpagehide' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onpagehide)}set onpagehide(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onpagehide' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onpagehide' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onpagehide=V}get onpageshow(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onpageshow' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onpageshow)}set onpageshow(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onpageshow' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onpageshow' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onpageshow=V}get onpopstate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onpopstate' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onpopstate)}set onpopstate(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onpopstate' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onpopstate' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onpopstate=V}get onrejectionhandled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onrejectionhandled' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onrejectionhandled)}set onrejectionhandled(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onrejectionhandled' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onrejectionhandled' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onrejectionhandled=V}get onstorage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onstorage' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onstorage)}set onstorage(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onstorage' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onstorage' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onstorage=V}get onunhandledrejection(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onunhandledrejection' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onunhandledrejection)}set onunhandledrejection(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onunhandledrejection' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onunhandledrejection' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onunhandledrejection=V}get onunload(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onunload' called on an object that is not a valid instance of HTMLBodyElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onunload)}set onunload(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onunload' called on an object that is not a valid instance of HTMLBodyElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onunload' property on 'HTMLBodyElement': The provided value"}):null,esValue[implSymbol].onunload=V}}Object.defineProperties(HTMLBodyElement.prototype,{text:{enumerable:!0},link:{enumerable:!0},vLink:{enumerable:!0},aLink:{enumerable:!0},bgColor:{enumerable:!0},background:{enumerable:!0},onafterprint:{enumerable:!0},onbeforeprint:{enumerable:!0},onbeforeunload:{enumerable:!0},onhashchange:{enumerable:!0},onlanguagechange:{enumerable:!0},onmessage:{enumerable:!0},onmessageerror:{enumerable:!0},onoffline:{enumerable:!0},ononline:{enumerable:!0},onpagehide:{enumerable:!0},onpageshow:{enumerable:!0},onpopstate:{enumerable:!0},onrejectionhandled:{enumerable:!0},onstorage:{enumerable:!0},onunhandledrejection:{enumerable:!0},onunload:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLBodyElement",configurable:!0}}),ctorRegistry.HTMLBodyElement=HTMLBodyElement,Object.defineProperty(globalObject,"HTMLBodyElement",{configurable:!0,writable:!0,value:HTMLBodyElement})};const Impl=__webpack_require__(27407)},15039:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLButtonElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLButtonElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLButtonElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLButtonElement",new.target)}checkValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'checkValidity' called on an object that is not a valid instance of HTMLButtonElement.");return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'reportValidity' called on an object that is not a valid instance of HTMLButtonElement.");return esValue[implSymbol].reportValidity()}setCustomValidity(error){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setCustomValidity' called on an object that is not a valid instance of HTMLButtonElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setCustomValidity' on 'HTMLButtonElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setCustomValidity' on 'HTMLButtonElement': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].setCustomValidity(...args)}get autofocus(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get autofocus' called on an object that is not a valid instance of HTMLButtonElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"autofocus")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set autofocus(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set autofocus' called on an object that is not a valid instance of HTMLButtonElement.");V=conversions.boolean(V,{context:"Failed to set the 'autofocus' property on 'HTMLButtonElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"autofocus",""):esValue[implSymbol].removeAttributeNS(null,"autofocus")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get disabled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get disabled' called on an object that is not a valid instance of HTMLButtonElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set disabled(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set disabled' called on an object that is not a valid instance of HTMLButtonElement.");V=conversions.boolean(V,{context:"Failed to set the 'disabled' property on 'HTMLButtonElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"disabled",""):esValue[implSymbol].removeAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get form(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get form' called on an object that is not a valid instance of HTMLButtonElement.");return utils.tryWrapperForImpl(esValue[implSymbol].form)}get formNoValidate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get formNoValidate' called on an object that is not a valid instance of HTMLButtonElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"formnovalidate")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set formNoValidate(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set formNoValidate' called on an object that is not a valid instance of HTMLButtonElement.");V=conversions.boolean(V,{context:"Failed to set the 'formNoValidate' property on 'HTMLButtonElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"formnovalidate",""):esValue[implSymbol].removeAttributeNS(null,"formnovalidate")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get formTarget(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get formTarget' called on an object that is not a valid instance of HTMLButtonElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"formtarget");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set formTarget(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set formTarget' called on an object that is not a valid instance of HTMLButtonElement.");V=conversions.DOMString(V,{context:"Failed to set the 'formTarget' property on 'HTMLButtonElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"formtarget",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLButtonElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLButtonElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLButtonElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLButtonElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].type}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set type' called on an object that is not a valid instance of HTMLButtonElement.");V=conversions.DOMString(V,{context:"Failed to set the 'type' property on 'HTMLButtonElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].type=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get value(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get value' called on an object that is not a valid instance of HTMLButtonElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"value");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set value' called on an object that is not a valid instance of HTMLButtonElement.");V=conversions.DOMString(V,{context:"Failed to set the 'value' property on 'HTMLButtonElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"value",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get willValidate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get willValidate' called on an object that is not a valid instance of HTMLButtonElement.");return esValue[implSymbol].willValidate}get validity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get validity' called on an object that is not a valid instance of HTMLButtonElement.");return utils.tryWrapperForImpl(esValue[implSymbol].validity)}get validationMessage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get validationMessage' called on an object that is not a valid instance of HTMLButtonElement.");return esValue[implSymbol].validationMessage}get labels(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get labels' called on an object that is not a valid instance of HTMLButtonElement.");return utils.tryWrapperForImpl(esValue[implSymbol].labels)}}Object.defineProperties(HTMLButtonElement.prototype,{checkValidity:{enumerable:!0},reportValidity:{enumerable:!0},setCustomValidity:{enumerable:!0},autofocus:{enumerable:!0},disabled:{enumerable:!0},form:{enumerable:!0},formNoValidate:{enumerable:!0},formTarget:{enumerable:!0},name:{enumerable:!0},type:{enumerable:!0},value:{enumerable:!0},willValidate:{enumerable:!0},validity:{enumerable:!0},validationMessage:{enumerable:!0},labels:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLButtonElement",configurable:!0}}),ctorRegistry.HTMLButtonElement=HTMLButtonElement,Object.defineProperty(globalObject,"HTMLButtonElement",{configurable:!0,writable:!0,value:HTMLButtonElement})};const Impl=__webpack_require__(36497)},84677:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,BlobCallback=__webpack_require__(841),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLCanvasElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLCanvasElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLCanvasElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLCanvasElement",new.target)}getContext(contextId){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getContext' called on an object that is not a valid instance of HTMLCanvasElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getContext' on 'HTMLCanvasElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getContext' on 'HTMLCanvasElement': parameter 1",globals:globalObject}),args.push(curArg)}for(let i=1;i<arguments.length;i++){let curArg=arguments[i];curArg=conversions.any(curArg,{context:"Failed to execute 'getContext' on 'HTMLCanvasElement': parameter "+(i+1),globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getContext(...args))}toDataURL(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'toDataURL' called on an object that is not a valid instance of HTMLCanvasElement.");const args=[];{let curArg=arguments[0];void 0!==curArg&&(curArg=conversions.DOMString(curArg,{context:"Failed to execute 'toDataURL' on 'HTMLCanvasElement': parameter 1",globals:globalObject})),args.push(curArg)}{let curArg=arguments[1];void 0!==curArg&&(curArg=conversions.any(curArg,{context:"Failed to execute 'toDataURL' on 'HTMLCanvasElement': parameter 2",globals:globalObject})),args.push(curArg)}return esValue[implSymbol].toDataURL(...args)}toBlob(callback){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'toBlob' called on an object that is not a valid instance of HTMLCanvasElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'toBlob' on 'HTMLCanvasElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=BlobCallback.convert(globalObject,curArg,{context:"Failed to execute 'toBlob' on 'HTMLCanvasElement': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];void 0!==curArg&&(curArg=conversions.DOMString(curArg,{context:"Failed to execute 'toBlob' on 'HTMLCanvasElement': parameter 2",globals:globalObject})),args.push(curArg)}{let curArg=arguments[2];void 0!==curArg&&(curArg=conversions.any(curArg,{context:"Failed to execute 'toBlob' on 'HTMLCanvasElement': parameter 3",globals:globalObject})),args.push(curArg)}return esValue[implSymbol].toBlob(...args)}get width(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get width' called on an object that is not a valid instance of HTMLCanvasElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].width}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set width' called on an object that is not a valid instance of HTMLCanvasElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'width' property on 'HTMLCanvasElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].width=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get height' called on an object that is not a valid instance of HTMLCanvasElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].height}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set height' called on an object that is not a valid instance of HTMLCanvasElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'height' property on 'HTMLCanvasElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].height=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLCanvasElement.prototype,{getContext:{enumerable:!0},toDataURL:{enumerable:!0},toBlob:{enumerable:!0},width:{enumerable:!0},height:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLCanvasElement",configurable:!0}}),ctorRegistry.HTMLCanvasElement=HTMLCanvasElement,Object.defineProperty(globalObject,"HTMLCanvasElement",{configurable:!0,writable:!0,value:HTMLCanvasElement})};const Impl=__webpack_require__(52570)},76270:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLCollection.prototype),Object.create(proto)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);return void 0===proxyHandler&&(proxyHandler=new ProxyHandler(globalObject),proxyHandlerCache.set(globalObject,proxyHandler)),new Proxy(wrapper,proxyHandler)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLCollection'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),(wrapper=makeProxy(wrapper,globalObject))[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{let wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper=makeProxy(wrapper,globalObject),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLCollection{constructor(){throw new globalObject.TypeError("Illegal constructor")}item(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'item' called on an object that is not a valid instance of HTMLCollection.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'item' on 'HTMLCollection': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'HTMLCollection': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}namedItem(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'namedItem' called on an object that is not a valid instance of HTMLCollection.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'namedItem' on 'HTMLCollection': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'namedItem' on 'HTMLCollection': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].namedItem(...args))}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of HTMLCollection.");return esValue[implSymbol].length}}Object.defineProperties(HTMLCollection.prototype,{item:{enumerable:!0},namedItem:{enumerable:!0},length:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLCollection",configurable:!0},[Symbol.iterator]:{value:globalObject.Array.prototype[Symbol.iterator],configurable:!0,writable:!0}}),ctorRegistry.HTMLCollection=HTMLCollection,Object.defineProperty(globalObject,"HTMLCollection",{configurable:!0,writable:!0,value:HTMLCollection})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if("symbol"==typeof P)return Reflect.get(target,P,receiver);const desc=this.getOwnPropertyDescriptor(target,P);if(void 0===desc){if(null===Object.getPrototypeOf(target))return;return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set)return desc.value;const getter=desc.get;return void 0!==getter?Reflect.apply(getter,receiver,[]):void 0}has(target,P){if("symbol"==typeof P)return Reflect.has(target,P);if(void 0!==this.getOwnPropertyDescriptor(target,P))return!0;const parent=Object.getPrototypeOf(target);return null!==parent&&Reflect.has(parent,P)}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices])keys.add(`${key}`);for(const key of target[implSymbol][utils.supportedPropertyNames])key in target||keys.add(`${key}`);for(const key of Reflect.ownKeys(target))keys.add(key);return[...keys]}getOwnPropertyDescriptor(target,P){if("symbol"==typeof P)return Reflect.getOwnPropertyDescriptor(target,P);let ignoreNamedProps=!1;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);if(null!==indexedValue)return{writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)};ignoreNamedProps=!0}const namedValue=target[implSymbol].namedItem(P);return null===namedValue||P in target||ignoreNamedProps?Reflect.getOwnPropertyDescriptor(target,P):{writable:!1,enumerable:!1,configurable:!0,value:utils.tryWrapperForImpl(namedValue)}}set(target,P,V,receiver){if("symbol"==typeof P)return Reflect.set(target,P,V,receiver);if(target[implSymbol][utils.wrapperSymbol]===receiver){this._globalObject}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);null!==indexedValue&&(ownDesc={writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)})}if(void 0===ownDesc&&(ownDesc=Reflect.getOwnPropertyDescriptor(target,P)),void 0===ownDesc){const parent=Reflect.getPrototypeOf(target);if(null!==parent)return Reflect.set(parent,P,V,receiver);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:void 0}}if(!ownDesc.writable)return!1;if(!utils.isObject(receiver))return!1;const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(void 0!==existingDesc){if(existingDesc.get||existingDesc.set)return!1;if(!existingDesc.writable)return!1;valueDesc={value:V}}else valueDesc={writable:!0,enumerable:!0,configurable:!0,value:V};return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if("symbol"==typeof P)return Reflect.defineProperty(target,P,desc);this._globalObject;if(utils.isArrayIndexPropName(P))return!1;if(!utils.hasOwn(target,P)){if(!!(null!==target[implSymbol].namedItem(P)))return!1}return Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if("symbol"==typeof P)return Reflect.deleteProperty(target,P);this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(null!==target[implSymbol].item(index))}return(null===target[implSymbol].namedItem(P)||P in target)&&Reflect.deleteProperty(target,P)}preventExtensions(){return!1}}const Impl=__webpack_require__(19745)},9549:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLDListElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLDListElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLDListElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLDListElement",new.target)}get compact(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get compact' called on an object that is not a valid instance of HTMLDListElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set compact(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set compact' called on an object that is not a valid instance of HTMLDListElement.");V=conversions.boolean(V,{context:"Failed to set the 'compact' property on 'HTMLDListElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"compact",""):esValue[implSymbol].removeAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLDListElement.prototype,{compact:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLDListElement",configurable:!0}}),ctorRegistry.HTMLDListElement=HTMLDListElement,Object.defineProperty(globalObject,"HTMLDListElement",{configurable:!0,writable:!0,value:HTMLDListElement})};const Impl=__webpack_require__(9722)},25655:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLDataElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLDataElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLDataElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLDataElement",new.target)}get value(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get value' called on an object that is not a valid instance of HTMLDataElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"value");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set value' called on an object that is not a valid instance of HTMLDataElement.");V=conversions.DOMString(V,{context:"Failed to set the 'value' property on 'HTMLDataElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"value",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLDataElement.prototype,{value:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLDataElement",configurable:!0}}),ctorRegistry.HTMLDataElement=HTMLDataElement,Object.defineProperty(globalObject,"HTMLDataElement",{configurable:!0,writable:!0,value:HTMLDataElement})};const Impl=__webpack_require__(16401)},66443:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLDataListElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLDataListElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLDataListElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLDataListElement",new.target)}get options(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get options' called on an object that is not a valid instance of HTMLDataListElement.");return utils.getSameObject(this,"options",(()=>utils.tryWrapperForImpl(esValue[implSymbol].options)))}}Object.defineProperties(HTMLDataListElement.prototype,{options:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLDataListElement",configurable:!0}}),ctorRegistry.HTMLDataListElement=HTMLDataListElement,Object.defineProperty(globalObject,"HTMLDataListElement",{configurable:!0,writable:!0,value:HTMLDataListElement})};const Impl=__webpack_require__(4068)},46975:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLDetailsElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLDetailsElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLDetailsElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLDetailsElement",new.target)}get open(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get open' called on an object that is not a valid instance of HTMLDetailsElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"open")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set open(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set open' called on an object that is not a valid instance of HTMLDetailsElement.");V=conversions.boolean(V,{context:"Failed to set the 'open' property on 'HTMLDetailsElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"open",""):esValue[implSymbol].removeAttributeNS(null,"open")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLDetailsElement.prototype,{open:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLDetailsElement",configurable:!0}}),ctorRegistry.HTMLDetailsElement=HTMLDetailsElement,Object.defineProperty(globalObject,"HTMLDetailsElement",{configurable:!0,writable:!0,value:HTMLDetailsElement})};const Impl=__webpack_require__(35841)},84543:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLDialogElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLDialogElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLDialogElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLDialogElement",new.target)}get open(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get open' called on an object that is not a valid instance of HTMLDialogElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"open")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set open(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set open' called on an object that is not a valid instance of HTMLDialogElement.");V=conversions.boolean(V,{context:"Failed to set the 'open' property on 'HTMLDialogElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"open",""):esValue[implSymbol].removeAttributeNS(null,"open")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLDialogElement.prototype,{open:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLDialogElement",configurable:!0}}),ctorRegistry.HTMLDialogElement=HTMLDialogElement,Object.defineProperty(globalObject,"HTMLDialogElement",{configurable:!0,writable:!0,value:HTMLDialogElement})};const Impl=__webpack_require__(224)},39658:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLDirectoryElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLDirectoryElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLDirectoryElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLDirectoryElement",new.target)}get compact(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get compact' called on an object that is not a valid instance of HTMLDirectoryElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set compact(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set compact' called on an object that is not a valid instance of HTMLDirectoryElement.");V=conversions.boolean(V,{context:"Failed to set the 'compact' property on 'HTMLDirectoryElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"compact",""):esValue[implSymbol].removeAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLDirectoryElement.prototype,{compact:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLDirectoryElement",configurable:!0}}),ctorRegistry.HTMLDirectoryElement=HTMLDirectoryElement,Object.defineProperty(globalObject,"HTMLDirectoryElement",{configurable:!0,writable:!0,value:HTMLDirectoryElement})};const Impl=__webpack_require__(63008)},43268:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLDivElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLDivElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLDivElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLDivElement",new.target)}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLDivElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLDivElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLDivElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLDivElement.prototype,{align:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLDivElement",configurable:!0}}),ctorRegistry.HTMLDivElement=HTMLDivElement,Object.defineProperty(globalObject,"HTMLDivElement",{configurable:!0,writable:!0,value:HTMLDivElement})};const Impl=__webpack_require__(20920)},12028:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,EventHandlerNonNull=__webpack_require__(65685),OnErrorEventHandlerNonNull=__webpack_require__(39017),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Element=__webpack_require__(61157);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Element._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLElement extends globalObject.Element{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLElement",new.target)}click(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'click' called on an object that is not a valid instance of HTMLElement.");return esValue[implSymbol].click()}focus(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'focus' called on an object that is not a valid instance of HTMLElement.");return esValue[implSymbol].focus()}blur(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'blur' called on an object that is not a valid instance of HTMLElement.");return esValue[implSymbol].blur()}get title(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get title' called on an object that is not a valid instance of HTMLElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"title");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set title(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set title' called on an object that is not a valid instance of HTMLElement.");V=conversions.DOMString(V,{context:"Failed to set the 'title' property on 'HTMLElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"title",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get lang(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get lang' called on an object that is not a valid instance of HTMLElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"lang");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set lang(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set lang' called on an object that is not a valid instance of HTMLElement.");V=conversions.DOMString(V,{context:"Failed to set the 'lang' property on 'HTMLElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"lang",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get translate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get translate' called on an object that is not a valid instance of HTMLElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].translate}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set translate(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set translate' called on an object that is not a valid instance of HTMLElement.");V=conversions.boolean(V,{context:"Failed to set the 'translate' property on 'HTMLElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].translate=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get dir(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get dir' called on an object that is not a valid instance of HTMLElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].dir}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set dir(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set dir' called on an object that is not a valid instance of HTMLElement.");V=conversions.DOMString(V,{context:"Failed to set the 'dir' property on 'HTMLElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].dir=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hidden(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hidden' called on an object that is not a valid instance of HTMLElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"hidden")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hidden(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set hidden' called on an object that is not a valid instance of HTMLElement.");V=conversions.boolean(V,{context:"Failed to set the 'hidden' property on 'HTMLElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"hidden",""):esValue[implSymbol].removeAttributeNS(null,"hidden")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get accessKey(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get accessKey' called on an object that is not a valid instance of HTMLElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"accesskey");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set accessKey(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set accessKey' called on an object that is not a valid instance of HTMLElement.");V=conversions.DOMString(V,{context:"Failed to set the 'accessKey' property on 'HTMLElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"accesskey",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get draggable(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get draggable' called on an object that is not a valid instance of HTMLElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].draggable}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set draggable(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set draggable' called on an object that is not a valid instance of HTMLElement.");V=conversions.boolean(V,{context:"Failed to set the 'draggable' property on 'HTMLElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].draggable=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get offsetParent(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get offsetParent' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].offsetParent)}get offsetTop(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get offsetTop' called on an object that is not a valid instance of HTMLElement.");return esValue[implSymbol].offsetTop}get offsetLeft(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get offsetLeft' called on an object that is not a valid instance of HTMLElement.");return esValue[implSymbol].offsetLeft}get offsetWidth(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get offsetWidth' called on an object that is not a valid instance of HTMLElement.");return esValue[implSymbol].offsetWidth}get offsetHeight(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get offsetHeight' called on an object that is not a valid instance of HTMLElement.");return esValue[implSymbol].offsetHeight}get style(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get style' called on an object that is not a valid instance of HTMLElement.");return utils.getSameObject(this,"style",(()=>utils.tryWrapperForImpl(esValue[implSymbol].style)))}set style(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set style' called on an object that is not a valid instance of HTMLElement.");const Q=esValue.style;if(!utils.isObject(Q))throw new globalObject.TypeError("Property 'style' is not an object");Reflect.set(Q,"cssText",V)}get onabort(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onabort' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onabort)}set onabort(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onabort' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onabort' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onabort=V}get onauxclick(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onauxclick' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onauxclick)}set onauxclick(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onauxclick' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onauxclick' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onauxclick=V}get onblur(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onblur' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onblur)}set onblur(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onblur' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onblur' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onblur=V}get oncancel(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncancel' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].oncancel)}set oncancel(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncancel' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncancel' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].oncancel=V}get oncanplay(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncanplay' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].oncanplay)}set oncanplay(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncanplay' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncanplay' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].oncanplay=V}get oncanplaythrough(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncanplaythrough' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].oncanplaythrough)}set oncanplaythrough(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncanplaythrough' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncanplaythrough' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].oncanplaythrough=V}get onchange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onchange' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onchange)}set onchange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onchange' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onchange' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onchange=V}get onclick(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onclick' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onclick)}set onclick(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onclick' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onclick' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onclick=V}get onclose(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onclose' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onclose)}set onclose(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onclose' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onclose' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onclose=V}get oncontextmenu(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncontextmenu' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].oncontextmenu)}set oncontextmenu(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncontextmenu' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncontextmenu' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].oncontextmenu=V}get oncuechange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncuechange' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].oncuechange)}set oncuechange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncuechange' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncuechange' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].oncuechange=V}get ondblclick(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondblclick' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondblclick)}set ondblclick(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondblclick' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondblclick' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].ondblclick=V}get ondrag(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondrag' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondrag)}set ondrag(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondrag' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondrag' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].ondrag=V}get ondragend(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragend' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragend)}set ondragend(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragend' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragend' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].ondragend=V}get ondragenter(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragenter' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragenter)}set ondragenter(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragenter' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragenter' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].ondragenter=V}get ondragleave(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragleave' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragleave)}set ondragleave(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragleave' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragleave' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].ondragleave=V}get ondragover(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragover' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragover)}set ondragover(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragover' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragover' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].ondragover=V}get ondragstart(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragstart' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragstart)}set ondragstart(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragstart' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragstart' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].ondragstart=V}get ondrop(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondrop' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondrop)}set ondrop(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondrop' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondrop' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].ondrop=V}get ondurationchange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondurationchange' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondurationchange)}set ondurationchange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondurationchange' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondurationchange' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].ondurationchange=V}get onemptied(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onemptied' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onemptied)}set onemptied(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onemptied' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onemptied' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onemptied=V}get onended(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onended' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onended)}set onended(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onended' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onended' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onended=V}get onerror(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onerror' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onerror)}set onerror(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onerror' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?OnErrorEventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onerror' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onerror=V}get onfocus(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onfocus' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onfocus)}set onfocus(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onfocus' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onfocus' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onfocus=V}get oninput(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oninput' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].oninput)}set oninput(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oninput' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oninput' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].oninput=V}get oninvalid(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oninvalid' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].oninvalid)}set oninvalid(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oninvalid' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oninvalid' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].oninvalid=V}get onkeydown(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onkeydown' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onkeydown)}set onkeydown(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onkeydown' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onkeydown' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onkeydown=V}get onkeypress(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onkeypress' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onkeypress)}set onkeypress(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onkeypress' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onkeypress' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onkeypress=V}get onkeyup(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onkeyup' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onkeyup)}set onkeyup(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onkeyup' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onkeyup' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onkeyup=V}get onload(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onload' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onload)}set onload(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onload' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onload' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onload=V}get onloadeddata(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadeddata' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadeddata)}set onloadeddata(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadeddata' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadeddata' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onloadeddata=V}get onloadedmetadata(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadedmetadata' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadedmetadata)}set onloadedmetadata(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadedmetadata' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadedmetadata' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onloadedmetadata=V}get onloadend(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadend' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadend)}set onloadend(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadend' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadend' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onloadend=V}get onloadstart(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadstart' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadstart)}set onloadstart(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadstart' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadstart' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onloadstart=V}get onmousedown(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmousedown' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmousedown)}set onmousedown(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmousedown' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmousedown' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onmousedown=V}get onmouseenter(){const esValue=null!=this?this:globalObject;if(exports.is(esValue))return utils.tryWrapperForImpl(esValue[implSymbol].onmouseenter)}set onmouseenter(V){const esValue=null!=this?this:globalObject;exports.is(esValue)&&(V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseenter' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onmouseenter=V)}get onmouseleave(){const esValue=null!=this?this:globalObject;if(exports.is(esValue))return utils.tryWrapperForImpl(esValue[implSymbol].onmouseleave)}set onmouseleave(V){const esValue=null!=this?this:globalObject;exports.is(esValue)&&(V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseleave' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onmouseleave=V)}get onmousemove(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmousemove' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmousemove)}set onmousemove(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmousemove' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmousemove' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onmousemove=V}get onmouseout(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmouseout' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmouseout)}set onmouseout(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmouseout' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseout' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onmouseout=V}get onmouseover(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmouseover' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmouseover)}set onmouseover(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmouseover' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseover' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onmouseover=V}get onmouseup(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmouseup' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmouseup)}set onmouseup(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmouseup' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseup' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onmouseup=V}get onwheel(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onwheel' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onwheel)}set onwheel(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onwheel' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onwheel' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onwheel=V}get onpause(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onpause' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onpause)}set onpause(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onpause' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onpause' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onpause=V}get onplay(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onplay' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onplay)}set onplay(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onplay' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onplay' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onplay=V}get onplaying(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onplaying' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onplaying)}set onplaying(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onplaying' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onplaying' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onplaying=V}get onprogress(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onprogress' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onprogress)}set onprogress(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onprogress' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onprogress' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onprogress=V}get onratechange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onratechange' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onratechange)}set onratechange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onratechange' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onratechange' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onratechange=V}get onreset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onreset' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onreset)}set onreset(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onreset' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onreset' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onreset=V}get onresize(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onresize' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onresize)}set onresize(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onresize' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onresize' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onresize=V}get onscroll(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onscroll' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onscroll)}set onscroll(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onscroll' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onscroll' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onscroll=V}get onsecuritypolicyviolation(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onsecuritypolicyviolation' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onsecuritypolicyviolation)}set onsecuritypolicyviolation(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onsecuritypolicyviolation' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onsecuritypolicyviolation' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onsecuritypolicyviolation=V}get onseeked(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onseeked' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onseeked)}set onseeked(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onseeked' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onseeked' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onseeked=V}get onseeking(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onseeking' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onseeking)}set onseeking(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onseeking' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onseeking' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onseeking=V}get onselect(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onselect' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onselect)}set onselect(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onselect' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onselect' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onselect=V}get onstalled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onstalled' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onstalled)}set onstalled(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onstalled' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onstalled' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onstalled=V}get onsubmit(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onsubmit' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onsubmit)}set onsubmit(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onsubmit' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onsubmit' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onsubmit=V}get onsuspend(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onsuspend' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onsuspend)}set onsuspend(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onsuspend' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onsuspend' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onsuspend=V}get ontimeupdate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ontimeupdate' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ontimeupdate)}set ontimeupdate(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ontimeupdate' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ontimeupdate' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].ontimeupdate=V}get ontoggle(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ontoggle' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ontoggle)}set ontoggle(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ontoggle' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ontoggle' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].ontoggle=V}get onvolumechange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onvolumechange' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onvolumechange)}set onvolumechange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onvolumechange' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onvolumechange' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onvolumechange=V}get onwaiting(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onwaiting' called on an object that is not a valid instance of HTMLElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onwaiting)}set onwaiting(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onwaiting' called on an object that is not a valid instance of HTMLElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onwaiting' property on 'HTMLElement': The provided value"}):null,esValue[implSymbol].onwaiting=V}get dataset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get dataset' called on an object that is not a valid instance of HTMLElement.");return utils.getSameObject(this,"dataset",(()=>utils.tryWrapperForImpl(esValue[implSymbol].dataset)))}get nonce(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get nonce' called on an object that is not a valid instance of HTMLElement.");const value=esValue[implSymbol].getAttributeNS(null,"nonce");return null===value?"":value}set nonce(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set nonce' called on an object that is not a valid instance of HTMLElement.");V=conversions.DOMString(V,{context:"Failed to set the 'nonce' property on 'HTMLElement': The provided value",globals:globalObject}),esValue[implSymbol].setAttributeNS(null,"nonce",V)}get tabIndex(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get tabIndex' called on an object that is not a valid instance of HTMLElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].tabIndex}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set tabIndex(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set tabIndex' called on an object that is not a valid instance of HTMLElement.");V=conversions.long(V,{context:"Failed to set the 'tabIndex' property on 'HTMLElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].tabIndex=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLElement.prototype,{click:{enumerable:!0},focus:{enumerable:!0},blur:{enumerable:!0},title:{enumerable:!0},lang:{enumerable:!0},translate:{enumerable:!0},dir:{enumerable:!0},hidden:{enumerable:!0},accessKey:{enumerable:!0},draggable:{enumerable:!0},offsetParent:{enumerable:!0},offsetTop:{enumerable:!0},offsetLeft:{enumerable:!0},offsetWidth:{enumerable:!0},offsetHeight:{enumerable:!0},style:{enumerable:!0},onabort:{enumerable:!0},onauxclick:{enumerable:!0},onblur:{enumerable:!0},oncancel:{enumerable:!0},oncanplay:{enumerable:!0},oncanplaythrough:{enumerable:!0},onchange:{enumerable:!0},onclick:{enumerable:!0},onclose:{enumerable:!0},oncontextmenu:{enumerable:!0},oncuechange:{enumerable:!0},ondblclick:{enumerable:!0},ondrag:{enumerable:!0},ondragend:{enumerable:!0},ondragenter:{enumerable:!0},ondragleave:{enumerable:!0},ondragover:{enumerable:!0},ondragstart:{enumerable:!0},ondrop:{enumerable:!0},ondurationchange:{enumerable:!0},onemptied:{enumerable:!0},onended:{enumerable:!0},onerror:{enumerable:!0},onfocus:{enumerable:!0},oninput:{enumerable:!0},oninvalid:{enumerable:!0},onkeydown:{enumerable:!0},onkeypress:{enumerable:!0},onkeyup:{enumerable:!0},onload:{enumerable:!0},onloadeddata:{enumerable:!0},onloadedmetadata:{enumerable:!0},onloadend:{enumerable:!0},onloadstart:{enumerable:!0},onmousedown:{enumerable:!0},onmouseenter:{enumerable:!0},onmouseleave:{enumerable:!0},onmousemove:{enumerable:!0},onmouseout:{enumerable:!0},onmouseover:{enumerable:!0},onmouseup:{enumerable:!0},onwheel:{enumerable:!0},onpause:{enumerable:!0},onplay:{enumerable:!0},onplaying:{enumerable:!0},onprogress:{enumerable:!0},onratechange:{enumerable:!0},onreset:{enumerable:!0},onresize:{enumerable:!0},onscroll:{enumerable:!0},onsecuritypolicyviolation:{enumerable:!0},onseeked:{enumerable:!0},onseeking:{enumerable:!0},onselect:{enumerable:!0},onstalled:{enumerable:!0},onsubmit:{enumerable:!0},onsuspend:{enumerable:!0},ontimeupdate:{enumerable:!0},ontoggle:{enumerable:!0},onvolumechange:{enumerable:!0},onwaiting:{enumerable:!0},dataset:{enumerable:!0},nonce:{enumerable:!0},tabIndex:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLElement",configurable:!0}}),ctorRegistry.HTMLElement=HTMLElement,Object.defineProperty(globalObject,"HTMLElement",{configurable:!0,writable:!0,value:HTMLElement})};const Impl=__webpack_require__(74289)},79700:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,parseURLToResultingURLRecord_helpers_document_base_url=__webpack_require__(33282).parseURLToResultingURLRecord,serializeURLwhatwg_url=__webpack_require__(77101).serializeURL,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLEmbedElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLEmbedElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLEmbedElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLEmbedElement",new.target)}get src(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get src' called on an object that is not a valid instance of HTMLEmbedElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set src' called on an object that is not a valid instance of HTMLEmbedElement.");V=conversions.USVString(V,{context:"Failed to set the 'src' property on 'HTMLEmbedElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLEmbedElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set type' called on an object that is not a valid instance of HTMLEmbedElement.");V=conversions.DOMString(V,{context:"Failed to set the 'type' property on 'HTMLEmbedElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get width' called on an object that is not a valid instance of HTMLEmbedElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set width' called on an object that is not a valid instance of HTMLEmbedElement.");V=conversions.DOMString(V,{context:"Failed to set the 'width' property on 'HTMLEmbedElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get height' called on an object that is not a valid instance of HTMLEmbedElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"height");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set height' called on an object that is not a valid instance of HTMLEmbedElement.");V=conversions.DOMString(V,{context:"Failed to set the 'height' property on 'HTMLEmbedElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"height",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLEmbedElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLEmbedElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLEmbedElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLEmbedElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLEmbedElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLEmbedElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLEmbedElement.prototype,{src:{enumerable:!0},type:{enumerable:!0},width:{enumerable:!0},height:{enumerable:!0},align:{enumerable:!0},name:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLEmbedElement",configurable:!0}}),ctorRegistry.HTMLEmbedElement=HTMLEmbedElement,Object.defineProperty(globalObject,"HTMLEmbedElement",{configurable:!0,writable:!0,value:HTMLEmbedElement})};const Impl=__webpack_require__(16030)},4024:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLFieldSetElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLFieldSetElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLFieldSetElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLFieldSetElement",new.target)}checkValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'checkValidity' called on an object that is not a valid instance of HTMLFieldSetElement.");return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'reportValidity' called on an object that is not a valid instance of HTMLFieldSetElement.");return esValue[implSymbol].reportValidity()}setCustomValidity(error){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setCustomValidity' called on an object that is not a valid instance of HTMLFieldSetElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setCustomValidity' on 'HTMLFieldSetElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setCustomValidity' on 'HTMLFieldSetElement': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].setCustomValidity(...args)}get disabled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get disabled' called on an object that is not a valid instance of HTMLFieldSetElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set disabled(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set disabled' called on an object that is not a valid instance of HTMLFieldSetElement.");V=conversions.boolean(V,{context:"Failed to set the 'disabled' property on 'HTMLFieldSetElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"disabled",""):esValue[implSymbol].removeAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get form(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get form' called on an object that is not a valid instance of HTMLFieldSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].form)}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLFieldSetElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLFieldSetElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLFieldSetElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLFieldSetElement.");return esValue[implSymbol].type}get elements(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get elements' called on an object that is not a valid instance of HTMLFieldSetElement.");return utils.getSameObject(this,"elements",(()=>utils.tryWrapperForImpl(esValue[implSymbol].elements)))}get willValidate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get willValidate' called on an object that is not a valid instance of HTMLFieldSetElement.");return esValue[implSymbol].willValidate}get validity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get validity' called on an object that is not a valid instance of HTMLFieldSetElement.");return utils.getSameObject(this,"validity",(()=>utils.tryWrapperForImpl(esValue[implSymbol].validity)))}get validationMessage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get validationMessage' called on an object that is not a valid instance of HTMLFieldSetElement.");return esValue[implSymbol].validationMessage}}Object.defineProperties(HTMLFieldSetElement.prototype,{checkValidity:{enumerable:!0},reportValidity:{enumerable:!0},setCustomValidity:{enumerable:!0},disabled:{enumerable:!0},form:{enumerable:!0},name:{enumerable:!0},type:{enumerable:!0},elements:{enumerable:!0},willValidate:{enumerable:!0},validity:{enumerable:!0},validationMessage:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLFieldSetElement",configurable:!0}}),ctorRegistry.HTMLFieldSetElement=HTMLFieldSetElement,Object.defineProperty(globalObject,"HTMLFieldSetElement",{configurable:!0,writable:!0,value:HTMLFieldSetElement})};const Impl=__webpack_require__(93234)},9828:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLFontElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLFontElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLFontElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLFontElement",new.target)}get color(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get color' called on an object that is not a valid instance of HTMLFontElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"color");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set color(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set color' called on an object that is not a valid instance of HTMLFontElement.");V=conversions.DOMString(V,{context:"Failed to set the 'color' property on 'HTMLFontElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"color",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get face(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get face' called on an object that is not a valid instance of HTMLFontElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"face");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set face(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set face' called on an object that is not a valid instance of HTMLFontElement.");V=conversions.DOMString(V,{context:"Failed to set the 'face' property on 'HTMLFontElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"face",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get size(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get size' called on an object that is not a valid instance of HTMLFontElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"size");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set size(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set size' called on an object that is not a valid instance of HTMLFontElement.");V=conversions.DOMString(V,{context:"Failed to set the 'size' property on 'HTMLFontElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"size",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLFontElement.prototype,{color:{enumerable:!0},face:{enumerable:!0},size:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLFontElement",configurable:!0}}),ctorRegistry.HTMLFontElement=HTMLFontElement,Object.defineProperty(globalObject,"HTMLFontElement",{configurable:!0,writable:!0,value:HTMLFontElement})};const Impl=__webpack_require__(24276)},39624:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,HTMLElement=__webpack_require__(12028),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLFormElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLFormElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLFormElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLFormElement",new.target)}submit(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'submit' called on an object that is not a valid instance of HTMLFormElement.");return esValue[implSymbol].submit()}requestSubmit(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'requestSubmit' called on an object that is not a valid instance of HTMLFormElement.");const args=[];{let curArg=arguments[0];void 0!==curArg&&(curArg=HTMLElement.convert(globalObject,curArg,{context:"Failed to execute 'requestSubmit' on 'HTMLFormElement': parameter 1"})),args.push(curArg)}return esValue[implSymbol].requestSubmit(...args)}reset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'reset' called on an object that is not a valid instance of HTMLFormElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].reset()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}checkValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'checkValidity' called on an object that is not a valid instance of HTMLFormElement.");return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'reportValidity' called on an object that is not a valid instance of HTMLFormElement.");return esValue[implSymbol].reportValidity()}get acceptCharset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get acceptCharset' called on an object that is not a valid instance of HTMLFormElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"accept-charset");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set acceptCharset(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set acceptCharset' called on an object that is not a valid instance of HTMLFormElement.");V=conversions.DOMString(V,{context:"Failed to set the 'acceptCharset' property on 'HTMLFormElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"accept-charset",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get action(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get action' called on an object that is not a valid instance of HTMLFormElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].action}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set action(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set action' called on an object that is not a valid instance of HTMLFormElement.");V=conversions.USVString(V,{context:"Failed to set the 'action' property on 'HTMLFormElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].action=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get enctype(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get enctype' called on an object that is not a valid instance of HTMLFormElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].enctype}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set enctype(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set enctype' called on an object that is not a valid instance of HTMLFormElement.");V=conversions.DOMString(V,{context:"Failed to set the 'enctype' property on 'HTMLFormElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].enctype=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get method(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get method' called on an object that is not a valid instance of HTMLFormElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].method}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set method(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set method' called on an object that is not a valid instance of HTMLFormElement.");V=conversions.DOMString(V,{context:"Failed to set the 'method' property on 'HTMLFormElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].method=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLFormElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLFormElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLFormElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get noValidate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get noValidate' called on an object that is not a valid instance of HTMLFormElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"novalidate")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set noValidate(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set noValidate' called on an object that is not a valid instance of HTMLFormElement.");V=conversions.boolean(V,{context:"Failed to set the 'noValidate' property on 'HTMLFormElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"novalidate",""):esValue[implSymbol].removeAttributeNS(null,"novalidate")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get target(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get target' called on an object that is not a valid instance of HTMLFormElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"target");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set target(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set target' called on an object that is not a valid instance of HTMLFormElement.");V=conversions.DOMString(V,{context:"Failed to set the 'target' property on 'HTMLFormElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"target",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get elements(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get elements' called on an object that is not a valid instance of HTMLFormElement.");return utils.getSameObject(this,"elements",(()=>utils.tryWrapperForImpl(esValue[implSymbol].elements)))}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of HTMLFormElement.");return esValue[implSymbol].length}}Object.defineProperties(HTMLFormElement.prototype,{submit:{enumerable:!0},requestSubmit:{enumerable:!0},reset:{enumerable:!0},checkValidity:{enumerable:!0},reportValidity:{enumerable:!0},acceptCharset:{enumerable:!0},action:{enumerable:!0},enctype:{enumerable:!0},method:{enumerable:!0},name:{enumerable:!0},noValidate:{enumerable:!0},target:{enumerable:!0},elements:{enumerable:!0},length:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLFormElement",configurable:!0}}),ctorRegistry.HTMLFormElement=HTMLFormElement,Object.defineProperty(globalObject,"HTMLFormElement",{configurable:!0,writable:!0,value:HTMLFormElement})};const Impl=__webpack_require__(73895)},641:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,parseURLToResultingURLRecord_helpers_document_base_url=__webpack_require__(33282).parseURLToResultingURLRecord,serializeURLwhatwg_url=__webpack_require__(77101).serializeURL,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLFrameElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLFrameElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLFrameElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLFrameElement",new.target)}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLFrameElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get scrolling(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get scrolling' called on an object that is not a valid instance of HTMLFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"scrolling");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set scrolling(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set scrolling' called on an object that is not a valid instance of HTMLFrameElement.");V=conversions.DOMString(V,{context:"Failed to set the 'scrolling' property on 'HTMLFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"scrolling",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get src(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get src' called on an object that is not a valid instance of HTMLFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set src' called on an object that is not a valid instance of HTMLFrameElement.");V=conversions.USVString(V,{context:"Failed to set the 'src' property on 'HTMLFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get frameBorder(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get frameBorder' called on an object that is not a valid instance of HTMLFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"frameborder");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set frameBorder(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set frameBorder' called on an object that is not a valid instance of HTMLFrameElement.");V=conversions.DOMString(V,{context:"Failed to set the 'frameBorder' property on 'HTMLFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"frameborder",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get longDesc(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get longDesc' called on an object that is not a valid instance of HTMLFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"longdesc");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set longDesc(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set longDesc' called on an object that is not a valid instance of HTMLFrameElement.");V=conversions.USVString(V,{context:"Failed to set the 'longDesc' property on 'HTMLFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"longdesc",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get noResize(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get noResize' called on an object that is not a valid instance of HTMLFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"noresize")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set noResize(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set noResize' called on an object that is not a valid instance of HTMLFrameElement.");V=conversions.boolean(V,{context:"Failed to set the 'noResize' property on 'HTMLFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"noresize",""):esValue[implSymbol].removeAttributeNS(null,"noresize")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get contentDocument(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get contentDocument' called on an object that is not a valid instance of HTMLFrameElement.");return utils.tryWrapperForImpl(esValue[implSymbol].contentDocument)}get contentWindow(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get contentWindow' called on an object that is not a valid instance of HTMLFrameElement.");return utils.tryWrapperForImpl(esValue[implSymbol].contentWindow)}get marginHeight(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get marginHeight' called on an object that is not a valid instance of HTMLFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"marginheight");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set marginHeight(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set marginHeight' called on an object that is not a valid instance of HTMLFrameElement.");V=conversions.DOMString(V,{context:"Failed to set the 'marginHeight' property on 'HTMLFrameElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"marginheight",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get marginWidth(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get marginWidth' called on an object that is not a valid instance of HTMLFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"marginwidth");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set marginWidth(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set marginWidth' called on an object that is not a valid instance of HTMLFrameElement.");V=conversions.DOMString(V,{context:"Failed to set the 'marginWidth' property on 'HTMLFrameElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"marginwidth",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLFrameElement.prototype,{name:{enumerable:!0},scrolling:{enumerable:!0},src:{enumerable:!0},frameBorder:{enumerable:!0},longDesc:{enumerable:!0},noResize:{enumerable:!0},contentDocument:{enumerable:!0},contentWindow:{enumerable:!0},marginHeight:{enumerable:!0},marginWidth:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLFrameElement",configurable:!0}}),ctorRegistry.HTMLFrameElement=HTMLFrameElement,Object.defineProperty(globalObject,"HTMLFrameElement",{configurable:!0,writable:!0,value:HTMLFrameElement})};const Impl=__webpack_require__(23994)},18032:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,EventHandlerNonNull=__webpack_require__(65685),OnBeforeUnloadEventHandlerNonNull=__webpack_require__(91983),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLFrameSetElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLFrameSetElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLFrameSetElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLFrameSetElement",new.target)}get cols(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get cols' called on an object that is not a valid instance of HTMLFrameSetElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"cols");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set cols(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set cols' called on an object that is not a valid instance of HTMLFrameSetElement.");V=conversions.DOMString(V,{context:"Failed to set the 'cols' property on 'HTMLFrameSetElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"cols",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rows(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rows' called on an object that is not a valid instance of HTMLFrameSetElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"rows");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rows(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set rows' called on an object that is not a valid instance of HTMLFrameSetElement.");V=conversions.DOMString(V,{context:"Failed to set the 'rows' property on 'HTMLFrameSetElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"rows",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get onafterprint(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onafterprint' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onafterprint)}set onafterprint(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onafterprint' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onafterprint' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onafterprint=V}get onbeforeprint(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onbeforeprint' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onbeforeprint)}set onbeforeprint(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onbeforeprint' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onbeforeprint' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onbeforeprint=V}get onbeforeunload(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onbeforeunload' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onbeforeunload)}set onbeforeunload(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onbeforeunload' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?OnBeforeUnloadEventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onbeforeunload' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onbeforeunload=V}get onhashchange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onhashchange' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onhashchange)}set onhashchange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onhashchange' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onhashchange' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onhashchange=V}get onlanguagechange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onlanguagechange' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onlanguagechange)}set onlanguagechange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onlanguagechange' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onlanguagechange' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onlanguagechange=V}get onmessage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmessage' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmessage)}set onmessage(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmessage' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmessage' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onmessage=V}get onmessageerror(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmessageerror' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmessageerror)}set onmessageerror(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmessageerror' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmessageerror' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onmessageerror=V}get onoffline(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onoffline' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onoffline)}set onoffline(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onoffline' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onoffline' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onoffline=V}get ononline(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ononline' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ononline)}set ononline(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ononline' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ononline' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].ononline=V}get onpagehide(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onpagehide' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onpagehide)}set onpagehide(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onpagehide' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onpagehide' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onpagehide=V}get onpageshow(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onpageshow' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onpageshow)}set onpageshow(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onpageshow' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onpageshow' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onpageshow=V}get onpopstate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onpopstate' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onpopstate)}set onpopstate(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onpopstate' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onpopstate' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onpopstate=V}get onrejectionhandled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onrejectionhandled' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onrejectionhandled)}set onrejectionhandled(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onrejectionhandled' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onrejectionhandled' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onrejectionhandled=V}get onstorage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onstorage' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onstorage)}set onstorage(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onstorage' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onstorage' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onstorage=V}get onunhandledrejection(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onunhandledrejection' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onunhandledrejection)}set onunhandledrejection(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onunhandledrejection' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onunhandledrejection' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onunhandledrejection=V}get onunload(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onunload' called on an object that is not a valid instance of HTMLFrameSetElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onunload)}set onunload(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onunload' called on an object that is not a valid instance of HTMLFrameSetElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onunload' property on 'HTMLFrameSetElement': The provided value"}):null,esValue[implSymbol].onunload=V}}Object.defineProperties(HTMLFrameSetElement.prototype,{cols:{enumerable:!0},rows:{enumerable:!0},onafterprint:{enumerable:!0},onbeforeprint:{enumerable:!0},onbeforeunload:{enumerable:!0},onhashchange:{enumerable:!0},onlanguagechange:{enumerable:!0},onmessage:{enumerable:!0},onmessageerror:{enumerable:!0},onoffline:{enumerable:!0},ononline:{enumerable:!0},onpagehide:{enumerable:!0},onpageshow:{enumerable:!0},onpopstate:{enumerable:!0},onrejectionhandled:{enumerable:!0},onstorage:{enumerable:!0},onunhandledrejection:{enumerable:!0},onunload:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLFrameSetElement",configurable:!0}}),ctorRegistry.HTMLFrameSetElement=HTMLFrameSetElement,Object.defineProperty(globalObject,"HTMLFrameSetElement",{configurable:!0,writable:!0,value:HTMLFrameSetElement})};const Impl=__webpack_require__(33753)},84251:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLHRElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLHRElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLHRElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLHRElement",new.target)}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLHRElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLHRElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLHRElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get color(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get color' called on an object that is not a valid instance of HTMLHRElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"color");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set color(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set color' called on an object that is not a valid instance of HTMLHRElement.");V=conversions.DOMString(V,{context:"Failed to set the 'color' property on 'HTMLHRElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"color",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get noShade(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get noShade' called on an object that is not a valid instance of HTMLHRElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"noshade")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set noShade(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set noShade' called on an object that is not a valid instance of HTMLHRElement.");V=conversions.boolean(V,{context:"Failed to set the 'noShade' property on 'HTMLHRElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"noshade",""):esValue[implSymbol].removeAttributeNS(null,"noshade")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get size(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get size' called on an object that is not a valid instance of HTMLHRElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"size");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set size(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set size' called on an object that is not a valid instance of HTMLHRElement.");V=conversions.DOMString(V,{context:"Failed to set the 'size' property on 'HTMLHRElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"size",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get width' called on an object that is not a valid instance of HTMLHRElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set width' called on an object that is not a valid instance of HTMLHRElement.");V=conversions.DOMString(V,{context:"Failed to set the 'width' property on 'HTMLHRElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLHRElement.prototype,{align:{enumerable:!0},color:{enumerable:!0},noShade:{enumerable:!0},size:{enumerable:!0},width:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLHRElement",configurable:!0}}),ctorRegistry.HTMLHRElement=HTMLHRElement,Object.defineProperty(globalObject,"HTMLHRElement",{configurable:!0,writable:!0,value:HTMLHRElement})};const Impl=__webpack_require__(6036)},13083:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLHeadElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLHeadElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLHeadElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLHeadElement",new.target)}}Object.defineProperties(HTMLHeadElement.prototype,{[Symbol.toStringTag]:{value:"HTMLHeadElement",configurable:!0}}),ctorRegistry.HTMLHeadElement=HTMLHeadElement,Object.defineProperty(globalObject,"HTMLHeadElement",{configurable:!0,writable:!0,value:HTMLHeadElement})};const Impl=__webpack_require__(29039)},32969:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLHeadingElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLHeadingElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLHeadingElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLHeadingElement",new.target)}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLHeadingElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLHeadingElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLHeadingElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLHeadingElement.prototype,{align:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLHeadingElement",configurable:!0}}),ctorRegistry.HTMLHeadingElement=HTMLHeadingElement,Object.defineProperty(globalObject,"HTMLHeadingElement",{configurable:!0,writable:!0,value:HTMLHeadingElement})};const Impl=__webpack_require__(9013)},88894:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLHtmlElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLHtmlElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLHtmlElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLHtmlElement",new.target)}get version(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get version' called on an object that is not a valid instance of HTMLHtmlElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"version");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set version(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set version' called on an object that is not a valid instance of HTMLHtmlElement.");V=conversions.DOMString(V,{context:"Failed to set the 'version' property on 'HTMLHtmlElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"version",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLHtmlElement.prototype,{version:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLHtmlElement",configurable:!0}}),ctorRegistry.HTMLHtmlElement=HTMLHtmlElement,Object.defineProperty(globalObject,"HTMLHtmlElement",{configurable:!0,writable:!0,value:HTMLHtmlElement})};const Impl=__webpack_require__(43834)},94883:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,parseURLToResultingURLRecord_helpers_document_base_url=__webpack_require__(33282).parseURLToResultingURLRecord,serializeURLwhatwg_url=__webpack_require__(77101).serializeURL,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLIFrameElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLIFrameElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLIFrameElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLIFrameElement",new.target)}getSVGDocument(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getSVGDocument' called on an object that is not a valid instance of HTMLIFrameElement.");return utils.tryWrapperForImpl(esValue[implSymbol].getSVGDocument())}get src(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get src' called on an object that is not a valid instance of HTMLIFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set src' called on an object that is not a valid instance of HTMLIFrameElement.");V=conversions.USVString(V,{context:"Failed to set the 'src' property on 'HTMLIFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get srcdoc(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get srcdoc' called on an object that is not a valid instance of HTMLIFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"srcdoc");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set srcdoc(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set srcdoc' called on an object that is not a valid instance of HTMLIFrameElement.");V=conversions.DOMString(V,{context:"Failed to set the 'srcdoc' property on 'HTMLIFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"srcdoc",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLIFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLIFrameElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLIFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get allowFullscreen(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get allowFullscreen' called on an object that is not a valid instance of HTMLIFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"allowfullscreen")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set allowFullscreen(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set allowFullscreen' called on an object that is not a valid instance of HTMLIFrameElement.");V=conversions.boolean(V,{context:"Failed to set the 'allowFullscreen' property on 'HTMLIFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"allowfullscreen",""):esValue[implSymbol].removeAttributeNS(null,"allowfullscreen")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get width' called on an object that is not a valid instance of HTMLIFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set width' called on an object that is not a valid instance of HTMLIFrameElement.");V=conversions.DOMString(V,{context:"Failed to set the 'width' property on 'HTMLIFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get height' called on an object that is not a valid instance of HTMLIFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"height");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set height' called on an object that is not a valid instance of HTMLIFrameElement.");V=conversions.DOMString(V,{context:"Failed to set the 'height' property on 'HTMLIFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"height",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get contentDocument(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get contentDocument' called on an object that is not a valid instance of HTMLIFrameElement.");return utils.tryWrapperForImpl(esValue[implSymbol].contentDocument)}get contentWindow(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get contentWindow' called on an object that is not a valid instance of HTMLIFrameElement.");return utils.tryWrapperForImpl(esValue[implSymbol].contentWindow)}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLIFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLIFrameElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLIFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get scrolling(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get scrolling' called on an object that is not a valid instance of HTMLIFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"scrolling");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set scrolling(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set scrolling' called on an object that is not a valid instance of HTMLIFrameElement.");V=conversions.DOMString(V,{context:"Failed to set the 'scrolling' property on 'HTMLIFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"scrolling",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get frameBorder(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get frameBorder' called on an object that is not a valid instance of HTMLIFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"frameborder");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set frameBorder(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set frameBorder' called on an object that is not a valid instance of HTMLIFrameElement.");V=conversions.DOMString(V,{context:"Failed to set the 'frameBorder' property on 'HTMLIFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"frameborder",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get longDesc(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get longDesc' called on an object that is not a valid instance of HTMLIFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"longdesc");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set longDesc(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set longDesc' called on an object that is not a valid instance of HTMLIFrameElement.");V=conversions.USVString(V,{context:"Failed to set the 'longDesc' property on 'HTMLIFrameElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"longdesc",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get marginHeight(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get marginHeight' called on an object that is not a valid instance of HTMLIFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"marginheight");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set marginHeight(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set marginHeight' called on an object that is not a valid instance of HTMLIFrameElement.");V=conversions.DOMString(V,{context:"Failed to set the 'marginHeight' property on 'HTMLIFrameElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"marginheight",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get marginWidth(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get marginWidth' called on an object that is not a valid instance of HTMLIFrameElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"marginwidth");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set marginWidth(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set marginWidth' called on an object that is not a valid instance of HTMLIFrameElement.");V=conversions.DOMString(V,{context:"Failed to set the 'marginWidth' property on 'HTMLIFrameElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"marginwidth",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLIFrameElement.prototype,{getSVGDocument:{enumerable:!0},src:{enumerable:!0},srcdoc:{enumerable:!0},name:{enumerable:!0},allowFullscreen:{enumerable:!0},width:{enumerable:!0},height:{enumerable:!0},contentDocument:{enumerable:!0},contentWindow:{enumerable:!0},align:{enumerable:!0},scrolling:{enumerable:!0},frameBorder:{enumerable:!0},longDesc:{enumerable:!0},marginHeight:{enumerable:!0},marginWidth:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLIFrameElement",configurable:!0}}),ctorRegistry.HTMLIFrameElement=HTMLIFrameElement,Object.defineProperty(globalObject,"HTMLIFrameElement",{configurable:!0,writable:!0,value:HTMLIFrameElement})};const Impl=__webpack_require__(22025)},71017:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,parseURLToResultingURLRecord_helpers_document_base_url=__webpack_require__(33282).parseURLToResultingURLRecord,serializeURLwhatwg_url=__webpack_require__(77101).serializeURL,parseNonNegativeInteger_helpers_strings=__webpack_require__(27896).parseNonNegativeInteger,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLImageElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLImageElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLImageElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLImageElement",new.target)}get alt(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get alt' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"alt");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set alt(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set alt' called on an object that is not a valid instance of HTMLImageElement.");V=conversions.DOMString(V,{context:"Failed to set the 'alt' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"alt",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get src(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get src' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set src' called on an object that is not a valid instance of HTMLImageElement.");V=conversions.USVString(V,{context:"Failed to set the 'src' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get srcset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get srcset' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"srcset");return null===value?"":conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set srcset(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set srcset' called on an object that is not a valid instance of HTMLImageElement.");V=conversions.USVString(V,{context:"Failed to set the 'srcset' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"srcset",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get sizes(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get sizes' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"sizes");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set sizes(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set sizes' called on an object that is not a valid instance of HTMLImageElement.");V=conversions.DOMString(V,{context:"Failed to set the 'sizes' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"sizes",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get crossOrigin(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get crossOrigin' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"crossorigin");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set crossOrigin(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set crossOrigin' called on an object that is not a valid instance of HTMLImageElement.");V=null==V?null:conversions.DOMString(V,{context:"Failed to set the 'crossOrigin' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"crossorigin",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get useMap(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get useMap' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"usemap");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set useMap(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set useMap' called on an object that is not a valid instance of HTMLImageElement.");V=conversions.DOMString(V,{context:"Failed to set the 'useMap' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"usemap",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get isMap(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get isMap' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"ismap")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set isMap(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set isMap' called on an object that is not a valid instance of HTMLImageElement.");V=conversions.boolean(V,{context:"Failed to set the 'isMap' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"ismap",""):esValue[implSymbol].removeAttributeNS(null,"ismap")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get width' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].width}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set width' called on an object that is not a valid instance of HTMLImageElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'width' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].width=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get height' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].height}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set height' called on an object that is not a valid instance of HTMLImageElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'height' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].height=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get naturalWidth(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get naturalWidth' called on an object that is not a valid instance of HTMLImageElement.");return esValue[implSymbol].naturalWidth}get naturalHeight(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get naturalHeight' called on an object that is not a valid instance of HTMLImageElement.");return esValue[implSymbol].naturalHeight}get complete(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get complete' called on an object that is not a valid instance of HTMLImageElement.");return esValue[implSymbol].complete}get currentSrc(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get currentSrc' called on an object that is not a valid instance of HTMLImageElement.");return esValue[implSymbol].currentSrc}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLImageElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get lowsrc(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get lowsrc' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"lowsrc");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set lowsrc(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set lowsrc' called on an object that is not a valid instance of HTMLImageElement.");V=conversions.USVString(V,{context:"Failed to set the 'lowsrc' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"lowsrc",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLImageElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hspace(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hspace' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"hspace");return null===value?0:(value=parseNonNegativeInteger_helpers_strings(value),null!==value&&value>=0&&value<=2147483647?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hspace(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set hspace' called on an object that is not a valid instance of HTMLImageElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'hspace' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"hspace",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vspace(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get vspace' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"vspace");return null===value?0:(value=parseNonNegativeInteger_helpers_strings(value),null!==value&&value>=0&&value<=2147483647?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vspace(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set vspace' called on an object that is not a valid instance of HTMLImageElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'vspace' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"vspace",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get longDesc(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get longDesc' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"longdesc");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set longDesc(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set longDesc' called on an object that is not a valid instance of HTMLImageElement.");V=conversions.USVString(V,{context:"Failed to set the 'longDesc' property on 'HTMLImageElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"longdesc",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get border(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get border' called on an object that is not a valid instance of HTMLImageElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"border");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set border(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set border' called on an object that is not a valid instance of HTMLImageElement.");V=conversions.DOMString(V,{context:"Failed to set the 'border' property on 'HTMLImageElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"border",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLImageElement.prototype,{alt:{enumerable:!0},src:{enumerable:!0},srcset:{enumerable:!0},sizes:{enumerable:!0},crossOrigin:{enumerable:!0},useMap:{enumerable:!0},isMap:{enumerable:!0},width:{enumerable:!0},height:{enumerable:!0},naturalWidth:{enumerable:!0},naturalHeight:{enumerable:!0},complete:{enumerable:!0},currentSrc:{enumerable:!0},name:{enumerable:!0},lowsrc:{enumerable:!0},align:{enumerable:!0},hspace:{enumerable:!0},vspace:{enumerable:!0},longDesc:{enumerable:!0},border:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLImageElement",configurable:!0}}),ctorRegistry.HTMLImageElement=HTMLImageElement,Object.defineProperty(globalObject,"HTMLImageElement",{configurable:!0,writable:!0,value:HTMLImageElement})};const Impl=__webpack_require__(16040)},2803:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,SelectionMode=__webpack_require__(81520),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,FileList=__webpack_require__(47951),parseURLToResultingURLRecord_helpers_document_base_url=__webpack_require__(33282).parseURLToResultingURLRecord,serializeURLwhatwg_url=__webpack_require__(77101).serializeURL,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLInputElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLInputElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLInputElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLInputElement",new.target)}stepUp(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'stepUp' called on an object that is not a valid instance of HTMLInputElement.");const args=[];{let curArg=arguments[0];curArg=void 0!==curArg?conversions.long(curArg,{context:"Failed to execute 'stepUp' on 'HTMLInputElement': parameter 1",globals:globalObject}):1,args.push(curArg)}return esValue[implSymbol].stepUp(...args)}stepDown(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'stepDown' called on an object that is not a valid instance of HTMLInputElement.");const args=[];{let curArg=arguments[0];curArg=void 0!==curArg?conversions.long(curArg,{context:"Failed to execute 'stepDown' on 'HTMLInputElement': parameter 1",globals:globalObject}):1,args.push(curArg)}return esValue[implSymbol].stepDown(...args)}checkValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'checkValidity' called on an object that is not a valid instance of HTMLInputElement.");return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'reportValidity' called on an object that is not a valid instance of HTMLInputElement.");return esValue[implSymbol].reportValidity()}setCustomValidity(error){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setCustomValidity' called on an object that is not a valid instance of HTMLInputElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setCustomValidity' on 'HTMLInputElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setCustomValidity' on 'HTMLInputElement': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].setCustomValidity(...args)}select(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'select' called on an object that is not a valid instance of HTMLInputElement.");return esValue[implSymbol].select()}setRangeText(replacement){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setRangeText' called on an object that is not a valid instance of HTMLInputElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setRangeText' on 'HTMLInputElement': 1 argument required, but only ${arguments.length} present.`);const args=[];switch(arguments.length){case 1:{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 1",globals:globalObject}),args.push(curArg)}break;case 2:throw new globalObject.TypeError(`Failed to execute 'setRangeText' on 'HTMLInputElement': only ${arguments.length} arguments present.`);case 3:{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 3",globals:globalObject}),args.push(curArg)}break;default:{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 3",globals:globalObject}),args.push(curArg)}{let curArg=arguments[3];curArg=void 0!==curArg?SelectionMode.convert(globalObject,curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 4"}):"preserve",args.push(curArg)}}return esValue[implSymbol].setRangeText(...args)}setSelectionRange(start,end){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setSelectionRange' called on an object that is not a valid instance of HTMLInputElement.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'setSelectionRange' on 'HTMLInputElement': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setSelectionRange' on 'HTMLInputElement': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setSelectionRange' on 'HTMLInputElement': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];void 0!==curArg&&(curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setSelectionRange' on 'HTMLInputElement': parameter 3",globals:globalObject})),args.push(curArg)}return esValue[implSymbol].setSelectionRange(...args)}get accept(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get accept' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"accept");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set accept(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set accept' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'accept' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"accept",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get alt(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get alt' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"alt");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set alt(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set alt' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'alt' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"alt",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get autocomplete(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get autocomplete' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"autocomplete");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set autocomplete(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set autocomplete' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'autocomplete' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"autocomplete",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get autofocus(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get autofocus' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"autofocus")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set autofocus(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set autofocus' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.boolean(V,{context:"Failed to set the 'autofocus' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"autofocus",""):esValue[implSymbol].removeAttributeNS(null,"autofocus")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get defaultChecked(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get defaultChecked' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"checked")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set defaultChecked(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set defaultChecked' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.boolean(V,{context:"Failed to set the 'defaultChecked' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"checked",""):esValue[implSymbol].removeAttributeNS(null,"checked")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get checked(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get checked' called on an object that is not a valid instance of HTMLInputElement.");return esValue[implSymbol].checked}set checked(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set checked' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.boolean(V,{context:"Failed to set the 'checked' property on 'HTMLInputElement': The provided value",globals:globalObject}),esValue[implSymbol].checked=V}get dirName(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get dirName' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"dirname");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set dirName(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set dirName' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'dirName' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"dirname",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get disabled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get disabled' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set disabled(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set disabled' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.boolean(V,{context:"Failed to set the 'disabled' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"disabled",""):esValue[implSymbol].removeAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get form(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get form' called on an object that is not a valid instance of HTMLInputElement.");return utils.tryWrapperForImpl(esValue[implSymbol].form)}get files(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get files' called on an object that is not a valid instance of HTMLInputElement.");return utils.tryWrapperForImpl(esValue[implSymbol].files)}set files(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set files' called on an object that is not a valid instance of HTMLInputElement.");V=null==V?null:FileList.convert(globalObject,V,{context:"Failed to set the 'files' property on 'HTMLInputElement': The provided value"}),esValue[implSymbol].files=V}get formNoValidate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get formNoValidate' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"formnovalidate")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set formNoValidate(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set formNoValidate' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.boolean(V,{context:"Failed to set the 'formNoValidate' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"formnovalidate",""):esValue[implSymbol].removeAttributeNS(null,"formnovalidate")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get formTarget(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get formTarget' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"formtarget");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set formTarget(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set formTarget' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'formTarget' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"formtarget",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get indeterminate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get indeterminate' called on an object that is not a valid instance of HTMLInputElement.");return esValue[implSymbol].indeterminate}set indeterminate(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set indeterminate' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.boolean(V,{context:"Failed to set the 'indeterminate' property on 'HTMLInputElement': The provided value",globals:globalObject}),esValue[implSymbol].indeterminate=V}get inputMode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get inputMode' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"inputmode");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set inputMode(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set inputMode' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'inputMode' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"inputmode",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get list(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get list' called on an object that is not a valid instance of HTMLInputElement.");return utils.tryWrapperForImpl(esValue[implSymbol].list)}get max(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get max' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"max");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set max(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set max' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'max' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"max",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get maxLength(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get maxLength' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].maxLength}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set maxLength(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set maxLength' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.long(V,{context:"Failed to set the 'maxLength' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].maxLength=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get min(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get min' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"min");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set min(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set min' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'min' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"min",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get minLength(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get minLength' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].minLength}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set minLength(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set minLength' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.long(V,{context:"Failed to set the 'minLength' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].minLength=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get multiple(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get multiple' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"multiple")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set multiple(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set multiple' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.boolean(V,{context:"Failed to set the 'multiple' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"multiple",""):esValue[implSymbol].removeAttributeNS(null,"multiple")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get pattern(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get pattern' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"pattern");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set pattern(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set pattern' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'pattern' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"pattern",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get placeholder(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get placeholder' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"placeholder");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set placeholder(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set placeholder' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'placeholder' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"placeholder",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get readOnly(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get readOnly' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"readonly")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set readOnly(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set readOnly' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.boolean(V,{context:"Failed to set the 'readOnly' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"readonly",""):esValue[implSymbol].removeAttributeNS(null,"readonly")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get required(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get required' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"required")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set required(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set required' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.boolean(V,{context:"Failed to set the 'required' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"required",""):esValue[implSymbol].removeAttributeNS(null,"required")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get size(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get size' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].size}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set size(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set size' called on an object that is not a valid instance of HTMLInputElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'size' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].size=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get src(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get src' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set src' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.USVString(V,{context:"Failed to set the 'src' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get step(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get step' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"step");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set step(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set step' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'step' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"step",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].type}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set type' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'type' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].type=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get defaultValue(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get defaultValue' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"value");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set defaultValue(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set defaultValue' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'defaultValue' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"value",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get value(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get value' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set value' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'value' property on 'HTMLInputElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].value=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get valueAsDate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get valueAsDate' called on an object that is not a valid instance of HTMLInputElement.");return esValue[implSymbol].valueAsDate}set valueAsDate(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set valueAsDate' called on an object that is not a valid instance of HTMLInputElement.");V=null==V?null:conversions.object(V,{context:"Failed to set the 'valueAsDate' property on 'HTMLInputElement': The provided value",globals:globalObject}),esValue[implSymbol].valueAsDate=V}get valueAsNumber(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get valueAsNumber' called on an object that is not a valid instance of HTMLInputElement.");return esValue[implSymbol].valueAsNumber}set valueAsNumber(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set valueAsNumber' called on an object that is not a valid instance of HTMLInputElement.");V=conversions["unrestricted double"](V,{context:"Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The provided value",globals:globalObject}),esValue[implSymbol].valueAsNumber=V}get willValidate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get willValidate' called on an object that is not a valid instance of HTMLInputElement.");return esValue[implSymbol].willValidate}get validity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get validity' called on an object that is not a valid instance of HTMLInputElement.");return utils.tryWrapperForImpl(esValue[implSymbol].validity)}get validationMessage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get validationMessage' called on an object that is not a valid instance of HTMLInputElement.");return esValue[implSymbol].validationMessage}get labels(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get labels' called on an object that is not a valid instance of HTMLInputElement.");return utils.tryWrapperForImpl(esValue[implSymbol].labels)}get selectionStart(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get selectionStart' called on an object that is not a valid instance of HTMLInputElement.");return esValue[implSymbol].selectionStart}set selectionStart(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set selectionStart' called on an object that is not a valid instance of HTMLInputElement.");V=null==V?null:conversions["unsigned long"](V,{context:"Failed to set the 'selectionStart' property on 'HTMLInputElement': The provided value",globals:globalObject}),esValue[implSymbol].selectionStart=V}get selectionEnd(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get selectionEnd' called on an object that is not a valid instance of HTMLInputElement.");return esValue[implSymbol].selectionEnd}set selectionEnd(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set selectionEnd' called on an object that is not a valid instance of HTMLInputElement.");V=null==V?null:conversions["unsigned long"](V,{context:"Failed to set the 'selectionEnd' property on 'HTMLInputElement': The provided value",globals:globalObject}),esValue[implSymbol].selectionEnd=V}get selectionDirection(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get selectionDirection' called on an object that is not a valid instance of HTMLInputElement.");return esValue[implSymbol].selectionDirection}set selectionDirection(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set selectionDirection' called on an object that is not a valid instance of HTMLInputElement.");V=null==V?null:conversions.DOMString(V,{context:"Failed to set the 'selectionDirection' property on 'HTMLInputElement': The provided value",globals:globalObject}),esValue[implSymbol].selectionDirection=V}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get useMap(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get useMap' called on an object that is not a valid instance of HTMLInputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"usemap");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set useMap(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set useMap' called on an object that is not a valid instance of HTMLInputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'useMap' property on 'HTMLInputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"usemap",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLInputElement.prototype,{stepUp:{enumerable:!0},stepDown:{enumerable:!0},checkValidity:{enumerable:!0},reportValidity:{enumerable:!0},setCustomValidity:{enumerable:!0},select:{enumerable:!0},setRangeText:{enumerable:!0},setSelectionRange:{enumerable:!0},accept:{enumerable:!0},alt:{enumerable:!0},autocomplete:{enumerable:!0},autofocus:{enumerable:!0},defaultChecked:{enumerable:!0},checked:{enumerable:!0},dirName:{enumerable:!0},disabled:{enumerable:!0},form:{enumerable:!0},files:{enumerable:!0},formNoValidate:{enumerable:!0},formTarget:{enumerable:!0},indeterminate:{enumerable:!0},inputMode:{enumerable:!0},list:{enumerable:!0},max:{enumerable:!0},maxLength:{enumerable:!0},min:{enumerable:!0},minLength:{enumerable:!0},multiple:{enumerable:!0},name:{enumerable:!0},pattern:{enumerable:!0},placeholder:{enumerable:!0},readOnly:{enumerable:!0},required:{enumerable:!0},size:{enumerable:!0},src:{enumerable:!0},step:{enumerable:!0},type:{enumerable:!0},defaultValue:{enumerable:!0},value:{enumerable:!0},valueAsDate:{enumerable:!0},valueAsNumber:{enumerable:!0},willValidate:{enumerable:!0},validity:{enumerable:!0},validationMessage:{enumerable:!0},labels:{enumerable:!0},selectionStart:{enumerable:!0},selectionEnd:{enumerable:!0},selectionDirection:{enumerable:!0},align:{enumerable:!0},useMap:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLInputElement",configurable:!0}}),ctorRegistry.HTMLInputElement=HTMLInputElement,Object.defineProperty(globalObject,"HTMLInputElement",{configurable:!0,writable:!0,value:HTMLInputElement})};const Impl=__webpack_require__(40735)},17281:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,parseInteger_helpers_strings=__webpack_require__(27896).parseInteger,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLLIElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLLIElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLLIElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLLIElement",new.target)}get value(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get value' called on an object that is not a valid instance of HTMLLIElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"value");return null===value?0:(value=parseInteger_helpers_strings(value),null!==value&&conversions.long(value)===value?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set value' called on an object that is not a valid instance of HTMLLIElement.");V=conversions.long(V,{context:"Failed to set the 'value' property on 'HTMLLIElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"value",String(V))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLLIElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set type' called on an object that is not a valid instance of HTMLLIElement.");V=conversions.DOMString(V,{context:"Failed to set the 'type' property on 'HTMLLIElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLLIElement.prototype,{value:{enumerable:!0},type:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLLIElement",configurable:!0}}),ctorRegistry.HTMLLIElement=HTMLLIElement,Object.defineProperty(globalObject,"HTMLLIElement",{configurable:!0,writable:!0,value:HTMLLIElement})};const Impl=__webpack_require__(4407)},29207:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLLabelElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLLabelElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLLabelElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLLabelElement",new.target)}get form(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get form' called on an object that is not a valid instance of HTMLLabelElement.");return utils.tryWrapperForImpl(esValue[implSymbol].form)}get htmlFor(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get htmlFor' called on an object that is not a valid instance of HTMLLabelElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"for");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set htmlFor(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set htmlFor' called on an object that is not a valid instance of HTMLLabelElement.");V=conversions.DOMString(V,{context:"Failed to set the 'htmlFor' property on 'HTMLLabelElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"for",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get control(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get control' called on an object that is not a valid instance of HTMLLabelElement.");return utils.tryWrapperForImpl(esValue[implSymbol].control)}}Object.defineProperties(HTMLLabelElement.prototype,{form:{enumerable:!0},htmlFor:{enumerable:!0},control:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLLabelElement",configurable:!0}}),ctorRegistry.HTMLLabelElement=HTMLLabelElement,Object.defineProperty(globalObject,"HTMLLabelElement",{configurable:!0,writable:!0,value:HTMLLabelElement})};const Impl=__webpack_require__(75097)},77250:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLLegendElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLLegendElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLLegendElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLLegendElement",new.target)}get form(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get form' called on an object that is not a valid instance of HTMLLegendElement.");return utils.tryWrapperForImpl(esValue[implSymbol].form)}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLLegendElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLLegendElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLLegendElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLLegendElement.prototype,{form:{enumerable:!0},align:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLLegendElement",configurable:!0}}),ctorRegistry.HTMLLegendElement=HTMLLegendElement,Object.defineProperty(globalObject,"HTMLLegendElement",{configurable:!0,writable:!0,value:HTMLLegendElement})};const Impl=__webpack_require__(77455)},3642:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,parseURLToResultingURLRecord_helpers_document_base_url=__webpack_require__(33282).parseURLToResultingURLRecord,serializeURLwhatwg_url=__webpack_require__(77101).serializeURL,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLLinkElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLLinkElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLLinkElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLLinkElement",new.target)}get href(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get href' called on an object that is not a valid instance of HTMLLinkElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"href");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set href(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set href' called on an object that is not a valid instance of HTMLLinkElement.");V=conversions.USVString(V,{context:"Failed to set the 'href' property on 'HTMLLinkElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"href",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get crossOrigin(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get crossOrigin' called on an object that is not a valid instance of HTMLLinkElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"crossorigin");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set crossOrigin(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set crossOrigin' called on an object that is not a valid instance of HTMLLinkElement.");V=null==V?null:conversions.DOMString(V,{context:"Failed to set the 'crossOrigin' property on 'HTMLLinkElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"crossorigin",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rel(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rel' called on an object that is not a valid instance of HTMLLinkElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"rel");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rel(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set rel' called on an object that is not a valid instance of HTMLLinkElement.");V=conversions.DOMString(V,{context:"Failed to set the 'rel' property on 'HTMLLinkElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"rel",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get relList(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get relList' called on an object that is not a valid instance of HTMLLinkElement.");return utils.getSameObject(this,"relList",(()=>utils.tryWrapperForImpl(esValue[implSymbol].relList)))}set relList(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set relList' called on an object that is not a valid instance of HTMLLinkElement.");const Q=esValue.relList;if(!utils.isObject(Q))throw new globalObject.TypeError("Property 'relList' is not an object");Reflect.set(Q,"value",V)}get media(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get media' called on an object that is not a valid instance of HTMLLinkElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"media");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set media(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set media' called on an object that is not a valid instance of HTMLLinkElement.");V=conversions.DOMString(V,{context:"Failed to set the 'media' property on 'HTMLLinkElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"media",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hreflang(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hreflang' called on an object that is not a valid instance of HTMLLinkElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"hreflang");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hreflang(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set hreflang' called on an object that is not a valid instance of HTMLLinkElement.");V=conversions.DOMString(V,{context:"Failed to set the 'hreflang' property on 'HTMLLinkElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"hreflang",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLLinkElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set type' called on an object that is not a valid instance of HTMLLinkElement.");V=conversions.DOMString(V,{context:"Failed to set the 'type' property on 'HTMLLinkElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get charset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get charset' called on an object that is not a valid instance of HTMLLinkElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"charset");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set charset(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set charset' called on an object that is not a valid instance of HTMLLinkElement.");V=conversions.DOMString(V,{context:"Failed to set the 'charset' property on 'HTMLLinkElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"charset",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rev(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rev' called on an object that is not a valid instance of HTMLLinkElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"rev");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rev(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set rev' called on an object that is not a valid instance of HTMLLinkElement.");V=conversions.DOMString(V,{context:"Failed to set the 'rev' property on 'HTMLLinkElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"rev",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get target(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get target' called on an object that is not a valid instance of HTMLLinkElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"target");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set target(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set target' called on an object that is not a valid instance of HTMLLinkElement.");V=conversions.DOMString(V,{context:"Failed to set the 'target' property on 'HTMLLinkElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"target",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get sheet(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get sheet' called on an object that is not a valid instance of HTMLLinkElement.");return utils.tryWrapperForImpl(esValue[implSymbol].sheet)}}Object.defineProperties(HTMLLinkElement.prototype,{href:{enumerable:!0},crossOrigin:{enumerable:!0},rel:{enumerable:!0},relList:{enumerable:!0},media:{enumerable:!0},hreflang:{enumerable:!0},type:{enumerable:!0},charset:{enumerable:!0},rev:{enumerable:!0},target:{enumerable:!0},sheet:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLLinkElement",configurable:!0}}),ctorRegistry.HTMLLinkElement=HTMLLinkElement,Object.defineProperty(globalObject,"HTMLLinkElement",{configurable:!0,writable:!0,value:HTMLLinkElement})};const Impl=__webpack_require__(92798)},94221:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLMapElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLMapElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLMapElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLMapElement",new.target)}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLMapElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLMapElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLMapElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get areas(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get areas' called on an object that is not a valid instance of HTMLMapElement.");return utils.getSameObject(this,"areas",(()=>utils.tryWrapperForImpl(esValue[implSymbol].areas)))}}Object.defineProperties(HTMLMapElement.prototype,{name:{enumerable:!0},areas:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLMapElement",configurable:!0}}),ctorRegistry.HTMLMapElement=HTMLMapElement,Object.defineProperty(globalObject,"HTMLMapElement",{configurable:!0,writable:!0,value:HTMLMapElement})};const Impl=__webpack_require__(75337)},1260:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,parseNonNegativeInteger_helpers_strings=__webpack_require__(27896).parseNonNegativeInteger,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLMarqueeElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLMarqueeElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLMarqueeElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLMarqueeElement",new.target)}get behavior(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get behavior' called on an object that is not a valid instance of HTMLMarqueeElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"behavior");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set behavior(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set behavior' called on an object that is not a valid instance of HTMLMarqueeElement.");V=conversions.DOMString(V,{context:"Failed to set the 'behavior' property on 'HTMLMarqueeElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"behavior",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get bgColor(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get bgColor' called on an object that is not a valid instance of HTMLMarqueeElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"bgcolor");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set bgColor(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set bgColor' called on an object that is not a valid instance of HTMLMarqueeElement.");V=conversions.DOMString(V,{context:"Failed to set the 'bgColor' property on 'HTMLMarqueeElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"bgcolor",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get direction(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get direction' called on an object that is not a valid instance of HTMLMarqueeElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"direction");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set direction(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set direction' called on an object that is not a valid instance of HTMLMarqueeElement.");V=conversions.DOMString(V,{context:"Failed to set the 'direction' property on 'HTMLMarqueeElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"direction",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get height' called on an object that is not a valid instance of HTMLMarqueeElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"height");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set height' called on an object that is not a valid instance of HTMLMarqueeElement.");V=conversions.DOMString(V,{context:"Failed to set the 'height' property on 'HTMLMarqueeElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"height",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hspace(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hspace' called on an object that is not a valid instance of HTMLMarqueeElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"hspace");return null===value?0:(value=parseNonNegativeInteger_helpers_strings(value),null!==value&&value>=0&&value<=2147483647?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hspace(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set hspace' called on an object that is not a valid instance of HTMLMarqueeElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'hspace' property on 'HTMLMarqueeElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"hspace",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get scrollAmount(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get scrollAmount' called on an object that is not a valid instance of HTMLMarqueeElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"scrollamount");return null===value?0:(value=parseNonNegativeInteger_helpers_strings(value),null!==value&&value>=0&&value<=2147483647?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set scrollAmount(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set scrollAmount' called on an object that is not a valid instance of HTMLMarqueeElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'scrollAmount' property on 'HTMLMarqueeElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"scrollamount",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get scrollDelay(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get scrollDelay' called on an object that is not a valid instance of HTMLMarqueeElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"scrolldelay");return null===value?0:(value=parseNonNegativeInteger_helpers_strings(value),null!==value&&value>=0&&value<=2147483647?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set scrollDelay(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set scrollDelay' called on an object that is not a valid instance of HTMLMarqueeElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'scrollDelay' property on 'HTMLMarqueeElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"scrolldelay",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get trueSpeed(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get trueSpeed' called on an object that is not a valid instance of HTMLMarqueeElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"truespeed")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set trueSpeed(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set trueSpeed' called on an object that is not a valid instance of HTMLMarqueeElement.");V=conversions.boolean(V,{context:"Failed to set the 'trueSpeed' property on 'HTMLMarqueeElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"truespeed",""):esValue[implSymbol].removeAttributeNS(null,"truespeed")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vspace(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get vspace' called on an object that is not a valid instance of HTMLMarqueeElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"vspace");return null===value?0:(value=parseNonNegativeInteger_helpers_strings(value),null!==value&&value>=0&&value<=2147483647?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vspace(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set vspace' called on an object that is not a valid instance of HTMLMarqueeElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'vspace' property on 'HTMLMarqueeElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"vspace",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get width' called on an object that is not a valid instance of HTMLMarqueeElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set width' called on an object that is not a valid instance of HTMLMarqueeElement.");V=conversions.DOMString(V,{context:"Failed to set the 'width' property on 'HTMLMarqueeElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLMarqueeElement.prototype,{behavior:{enumerable:!0},bgColor:{enumerable:!0},direction:{enumerable:!0},height:{enumerable:!0},hspace:{enumerable:!0},scrollAmount:{enumerable:!0},scrollDelay:{enumerable:!0},trueSpeed:{enumerable:!0},vspace:{enumerable:!0},width:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLMarqueeElement",configurable:!0}}),ctorRegistry.HTMLMarqueeElement=HTMLMarqueeElement,Object.defineProperty(globalObject,"HTMLMarqueeElement",{configurable:!0,writable:!0,value:HTMLMarqueeElement})};const Impl=__webpack_require__(73979)},39548:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),TextTrackKind=__webpack_require__(26983),parseURLToResultingURLRecord_helpers_document_base_url=__webpack_require__(33282).parseURLToResultingURLRecord,serializeURLwhatwg_url=__webpack_require__(77101).serializeURL,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLMediaElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLMediaElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLMediaElement extends globalObject.HTMLElement{constructor(){throw new globalObject.TypeError("Illegal constructor")}load(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'load' called on an object that is not a valid instance of HTMLMediaElement.");return esValue[implSymbol].load()}canPlayType(type){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'canPlayType' called on an object that is not a valid instance of HTMLMediaElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'canPlayType' on 'HTMLMediaElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'canPlayType' on 'HTMLMediaElement': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].canPlayType(...args))}play(){try{const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'play' called on an object that is not a valid instance of HTMLMediaElement.");return utils.tryWrapperForImpl(esValue[implSymbol].play())}catch(e){return globalObject.Promise.reject(e)}}pause(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'pause' called on an object that is not a valid instance of HTMLMediaElement.");return esValue[implSymbol].pause()}addTextTrack(kind){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'addTextTrack' called on an object that is not a valid instance of HTMLMediaElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'addTextTrack' on 'HTMLMediaElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=TextTrackKind.convert(globalObject,curArg,{context:"Failed to execute 'addTextTrack' on 'HTMLMediaElement': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg?conversions.DOMString(curArg,{context:"Failed to execute 'addTextTrack' on 'HTMLMediaElement': parameter 2",globals:globalObject}):"",args.push(curArg)}{let curArg=arguments[2];curArg=void 0!==curArg?conversions.DOMString(curArg,{context:"Failed to execute 'addTextTrack' on 'HTMLMediaElement': parameter 3",globals:globalObject}):"",args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].addTextTrack(...args))}get src(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get src' called on an object that is not a valid instance of HTMLMediaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set src' called on an object that is not a valid instance of HTMLMediaElement.");V=conversions.USVString(V,{context:"Failed to set the 'src' property on 'HTMLMediaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get currentSrc(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get currentSrc' called on an object that is not a valid instance of HTMLMediaElement.");return esValue[implSymbol].currentSrc}get crossOrigin(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get crossOrigin' called on an object that is not a valid instance of HTMLMediaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"crossorigin");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set crossOrigin(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set crossOrigin' called on an object that is not a valid instance of HTMLMediaElement.");V=null==V?null:conversions.DOMString(V,{context:"Failed to set the 'crossOrigin' property on 'HTMLMediaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"crossorigin",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get networkState(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get networkState' called on an object that is not a valid instance of HTMLMediaElement.");return esValue[implSymbol].networkState}get preload(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get preload' called on an object that is not a valid instance of HTMLMediaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"preload");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set preload(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set preload' called on an object that is not a valid instance of HTMLMediaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'preload' property on 'HTMLMediaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"preload",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get buffered(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get buffered' called on an object that is not a valid instance of HTMLMediaElement.");return utils.tryWrapperForImpl(esValue[implSymbol].buffered)}get readyState(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get readyState' called on an object that is not a valid instance of HTMLMediaElement.");return esValue[implSymbol].readyState}get seeking(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get seeking' called on an object that is not a valid instance of HTMLMediaElement.");return esValue[implSymbol].seeking}get currentTime(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get currentTime' called on an object that is not a valid instance of HTMLMediaElement.");return esValue[implSymbol].currentTime}set currentTime(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set currentTime' called on an object that is not a valid instance of HTMLMediaElement.");V=conversions.double(V,{context:"Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided value",globals:globalObject}),esValue[implSymbol].currentTime=V}get duration(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get duration' called on an object that is not a valid instance of HTMLMediaElement.");return esValue[implSymbol].duration}get paused(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get paused' called on an object that is not a valid instance of HTMLMediaElement.");return esValue[implSymbol].paused}get defaultPlaybackRate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get defaultPlaybackRate' called on an object that is not a valid instance of HTMLMediaElement.");return esValue[implSymbol].defaultPlaybackRate}set defaultPlaybackRate(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set defaultPlaybackRate' called on an object that is not a valid instance of HTMLMediaElement.");V=conversions.double(V,{context:"Failed to set the 'defaultPlaybackRate' property on 'HTMLMediaElement': The provided value",globals:globalObject}),esValue[implSymbol].defaultPlaybackRate=V}get playbackRate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get playbackRate' called on an object that is not a valid instance of HTMLMediaElement.");return esValue[implSymbol].playbackRate}set playbackRate(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set playbackRate' called on an object that is not a valid instance of HTMLMediaElement.");V=conversions.double(V,{context:"Failed to set the 'playbackRate' property on 'HTMLMediaElement': The provided value",globals:globalObject}),esValue[implSymbol].playbackRate=V}get played(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get played' called on an object that is not a valid instance of HTMLMediaElement.");return utils.tryWrapperForImpl(esValue[implSymbol].played)}get seekable(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get seekable' called on an object that is not a valid instance of HTMLMediaElement.");return utils.tryWrapperForImpl(esValue[implSymbol].seekable)}get ended(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ended' called on an object that is not a valid instance of HTMLMediaElement.");return esValue[implSymbol].ended}get autoplay(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get autoplay' called on an object that is not a valid instance of HTMLMediaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"autoplay")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set autoplay(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set autoplay' called on an object that is not a valid instance of HTMLMediaElement.");V=conversions.boolean(V,{context:"Failed to set the 'autoplay' property on 'HTMLMediaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"autoplay",""):esValue[implSymbol].removeAttributeNS(null,"autoplay")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get loop(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get loop' called on an object that is not a valid instance of HTMLMediaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"loop")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set loop(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set loop' called on an object that is not a valid instance of HTMLMediaElement.");V=conversions.boolean(V,{context:"Failed to set the 'loop' property on 'HTMLMediaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"loop",""):esValue[implSymbol].removeAttributeNS(null,"loop")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get controls(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get controls' called on an object that is not a valid instance of HTMLMediaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"controls")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set controls(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set controls' called on an object that is not a valid instance of HTMLMediaElement.");V=conversions.boolean(V,{context:"Failed to set the 'controls' property on 'HTMLMediaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"controls",""):esValue[implSymbol].removeAttributeNS(null,"controls")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get volume(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get volume' called on an object that is not a valid instance of HTMLMediaElement.");return esValue[implSymbol].volume}set volume(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set volume' called on an object that is not a valid instance of HTMLMediaElement.");V=conversions.double(V,{context:"Failed to set the 'volume' property on 'HTMLMediaElement': The provided value",globals:globalObject}),esValue[implSymbol].volume=V}get muted(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get muted' called on an object that is not a valid instance of HTMLMediaElement.");return esValue[implSymbol].muted}set muted(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set muted' called on an object that is not a valid instance of HTMLMediaElement.");V=conversions.boolean(V,{context:"Failed to set the 'muted' property on 'HTMLMediaElement': The provided value",globals:globalObject}),esValue[implSymbol].muted=V}get defaultMuted(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get defaultMuted' called on an object that is not a valid instance of HTMLMediaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"muted")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set defaultMuted(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set defaultMuted' called on an object that is not a valid instance of HTMLMediaElement.");V=conversions.boolean(V,{context:"Failed to set the 'defaultMuted' property on 'HTMLMediaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"muted",""):esValue[implSymbol].removeAttributeNS(null,"muted")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get audioTracks(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get audioTracks' called on an object that is not a valid instance of HTMLMediaElement.");return utils.getSameObject(this,"audioTracks",(()=>utils.tryWrapperForImpl(esValue[implSymbol].audioTracks)))}get videoTracks(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get videoTracks' called on an object that is not a valid instance of HTMLMediaElement.");return utils.getSameObject(this,"videoTracks",(()=>utils.tryWrapperForImpl(esValue[implSymbol].videoTracks)))}get textTracks(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get textTracks' called on an object that is not a valid instance of HTMLMediaElement.");return utils.getSameObject(this,"textTracks",(()=>utils.tryWrapperForImpl(esValue[implSymbol].textTracks)))}}Object.defineProperties(HTMLMediaElement.prototype,{load:{enumerable:!0},canPlayType:{enumerable:!0},play:{enumerable:!0},pause:{enumerable:!0},addTextTrack:{enumerable:!0},src:{enumerable:!0},currentSrc:{enumerable:!0},crossOrigin:{enumerable:!0},networkState:{enumerable:!0},preload:{enumerable:!0},buffered:{enumerable:!0},readyState:{enumerable:!0},seeking:{enumerable:!0},currentTime:{enumerable:!0},duration:{enumerable:!0},paused:{enumerable:!0},defaultPlaybackRate:{enumerable:!0},playbackRate:{enumerable:!0},played:{enumerable:!0},seekable:{enumerable:!0},ended:{enumerable:!0},autoplay:{enumerable:!0},loop:{enumerable:!0},controls:{enumerable:!0},volume:{enumerable:!0},muted:{enumerable:!0},defaultMuted:{enumerable:!0},audioTracks:{enumerable:!0},videoTracks:{enumerable:!0},textTracks:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLMediaElement",configurable:!0},NETWORK_EMPTY:{value:0,enumerable:!0},NETWORK_IDLE:{value:1,enumerable:!0},NETWORK_LOADING:{value:2,enumerable:!0},NETWORK_NO_SOURCE:{value:3,enumerable:!0},HAVE_NOTHING:{value:0,enumerable:!0},HAVE_METADATA:{value:1,enumerable:!0},HAVE_CURRENT_DATA:{value:2,enumerable:!0},HAVE_FUTURE_DATA:{value:3,enumerable:!0},HAVE_ENOUGH_DATA:{value:4,enumerable:!0}}),Object.defineProperties(HTMLMediaElement,{NETWORK_EMPTY:{value:0,enumerable:!0},NETWORK_IDLE:{value:1,enumerable:!0},NETWORK_LOADING:{value:2,enumerable:!0},NETWORK_NO_SOURCE:{value:3,enumerable:!0},HAVE_NOTHING:{value:0,enumerable:!0},HAVE_METADATA:{value:1,enumerable:!0},HAVE_CURRENT_DATA:{value:2,enumerable:!0},HAVE_FUTURE_DATA:{value:3,enumerable:!0},HAVE_ENOUGH_DATA:{value:4,enumerable:!0}}),ctorRegistry.HTMLMediaElement=HTMLMediaElement,Object.defineProperty(globalObject,"HTMLMediaElement",{configurable:!0,writable:!0,value:HTMLMediaElement})};const Impl=__webpack_require__(83502)},14457:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLMenuElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLMenuElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLMenuElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLMenuElement",new.target)}get compact(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get compact' called on an object that is not a valid instance of HTMLMenuElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set compact(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set compact' called on an object that is not a valid instance of HTMLMenuElement.");V=conversions.boolean(V,{context:"Failed to set the 'compact' property on 'HTMLMenuElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"compact",""):esValue[implSymbol].removeAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLMenuElement.prototype,{compact:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLMenuElement",configurable:!0}}),ctorRegistry.HTMLMenuElement=HTMLMenuElement,Object.defineProperty(globalObject,"HTMLMenuElement",{configurable:!0,writable:!0,value:HTMLMenuElement})};const Impl=__webpack_require__(61712)},63856:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLMetaElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLMetaElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLMetaElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLMetaElement",new.target)}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLMetaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLMetaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLMetaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get httpEquiv(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get httpEquiv' called on an object that is not a valid instance of HTMLMetaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"http-equiv");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set httpEquiv(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set httpEquiv' called on an object that is not a valid instance of HTMLMetaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'httpEquiv' property on 'HTMLMetaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"http-equiv",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get content(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get content' called on an object that is not a valid instance of HTMLMetaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"content");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set content(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set content' called on an object that is not a valid instance of HTMLMetaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'content' property on 'HTMLMetaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"content",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get scheme(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get scheme' called on an object that is not a valid instance of HTMLMetaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"scheme");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set scheme(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set scheme' called on an object that is not a valid instance of HTMLMetaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'scheme' property on 'HTMLMetaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"scheme",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLMetaElement.prototype,{name:{enumerable:!0},httpEquiv:{enumerable:!0},content:{enumerable:!0},scheme:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLMetaElement",configurable:!0}}),ctorRegistry.HTMLMetaElement=HTMLMetaElement,Object.defineProperty(globalObject,"HTMLMetaElement",{configurable:!0,writable:!0,value:HTMLMetaElement})};const Impl=__webpack_require__(53169)},52356:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLMeterElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLMeterElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLMeterElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLMeterElement",new.target)}get value(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get value' called on an object that is not a valid instance of HTMLMeterElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set value' called on an object that is not a valid instance of HTMLMeterElement.");V=conversions.double(V,{context:"Failed to set the 'value' property on 'HTMLMeterElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].value=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get min(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get min' called on an object that is not a valid instance of HTMLMeterElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].min}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set min(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set min' called on an object that is not a valid instance of HTMLMeterElement.");V=conversions.double(V,{context:"Failed to set the 'min' property on 'HTMLMeterElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].min=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get max(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get max' called on an object that is not a valid instance of HTMLMeterElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].max}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set max(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set max' called on an object that is not a valid instance of HTMLMeterElement.");V=conversions.double(V,{context:"Failed to set the 'max' property on 'HTMLMeterElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].max=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get low(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get low' called on an object that is not a valid instance of HTMLMeterElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].low}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set low(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set low' called on an object that is not a valid instance of HTMLMeterElement.");V=conversions.double(V,{context:"Failed to set the 'low' property on 'HTMLMeterElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].low=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get high(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get high' called on an object that is not a valid instance of HTMLMeterElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].high}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set high(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set high' called on an object that is not a valid instance of HTMLMeterElement.");V=conversions.double(V,{context:"Failed to set the 'high' property on 'HTMLMeterElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].high=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get optimum(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get optimum' called on an object that is not a valid instance of HTMLMeterElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].optimum}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set optimum(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set optimum' called on an object that is not a valid instance of HTMLMeterElement.");V=conversions.double(V,{context:"Failed to set the 'optimum' property on 'HTMLMeterElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].optimum=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get labels(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get labels' called on an object that is not a valid instance of HTMLMeterElement.");return utils.tryWrapperForImpl(esValue[implSymbol].labels)}}Object.defineProperties(HTMLMeterElement.prototype,{value:{enumerable:!0},min:{enumerable:!0},max:{enumerable:!0},low:{enumerable:!0},high:{enumerable:!0},optimum:{enumerable:!0},labels:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLMeterElement",configurable:!0}}),ctorRegistry.HTMLMeterElement=HTMLMeterElement,Object.defineProperty(globalObject,"HTMLMeterElement",{configurable:!0,writable:!0,value:HTMLMeterElement})};const Impl=__webpack_require__(82373)},56586:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,parseURLToResultingURLRecord_helpers_document_base_url=__webpack_require__(33282).parseURLToResultingURLRecord,serializeURLwhatwg_url=__webpack_require__(77101).serializeURL,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLModElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLModElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLModElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLModElement",new.target)}get cite(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get cite' called on an object that is not a valid instance of HTMLModElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"cite");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set cite(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set cite' called on an object that is not a valid instance of HTMLModElement.");V=conversions.USVString(V,{context:"Failed to set the 'cite' property on 'HTMLModElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"cite",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get dateTime(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get dateTime' called on an object that is not a valid instance of HTMLModElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"datetime");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set dateTime(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set dateTime' called on an object that is not a valid instance of HTMLModElement.");V=conversions.DOMString(V,{context:"Failed to set the 'dateTime' property on 'HTMLModElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"datetime",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLModElement.prototype,{cite:{enumerable:!0},dateTime:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLModElement",configurable:!0}}),ctorRegistry.HTMLModElement=HTMLModElement,Object.defineProperty(globalObject,"HTMLModElement",{configurable:!0,writable:!0,value:HTMLModElement})};const Impl=__webpack_require__(65811)},97929:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLOListElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLOListElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLOListElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLOListElement",new.target)}get reversed(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get reversed' called on an object that is not a valid instance of HTMLOListElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"reversed")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set reversed(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set reversed' called on an object that is not a valid instance of HTMLOListElement.");V=conversions.boolean(V,{context:"Failed to set the 'reversed' property on 'HTMLOListElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"reversed",""):esValue[implSymbol].removeAttributeNS(null,"reversed")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get start(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get start' called on an object that is not a valid instance of HTMLOListElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].start}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set start(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set start' called on an object that is not a valid instance of HTMLOListElement.");V=conversions.long(V,{context:"Failed to set the 'start' property on 'HTMLOListElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].start=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLOListElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set type' called on an object that is not a valid instance of HTMLOListElement.");V=conversions.DOMString(V,{context:"Failed to set the 'type' property on 'HTMLOListElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get compact(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get compact' called on an object that is not a valid instance of HTMLOListElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set compact(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set compact' called on an object that is not a valid instance of HTMLOListElement.");V=conversions.boolean(V,{context:"Failed to set the 'compact' property on 'HTMLOListElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"compact",""):esValue[implSymbol].removeAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLOListElement.prototype,{reversed:{enumerable:!0},start:{enumerable:!0},type:{enumerable:!0},compact:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLOListElement",configurable:!0}}),ctorRegistry.HTMLOListElement=HTMLOListElement,Object.defineProperty(globalObject,"HTMLOListElement",{configurable:!0,writable:!0,value:HTMLOListElement})};const Impl=__webpack_require__(51120)},96470:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,parseURLToResultingURLRecord_helpers_document_base_url=__webpack_require__(33282).parseURLToResultingURLRecord,serializeURLwhatwg_url=__webpack_require__(77101).serializeURL,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,parseNonNegativeInteger_helpers_strings=__webpack_require__(27896).parseNonNegativeInteger,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLObjectElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLObjectElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLObjectElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLObjectElement",new.target)}checkValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'checkValidity' called on an object that is not a valid instance of HTMLObjectElement.");return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'reportValidity' called on an object that is not a valid instance of HTMLObjectElement.");return esValue[implSymbol].reportValidity()}setCustomValidity(error){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setCustomValidity' called on an object that is not a valid instance of HTMLObjectElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setCustomValidity' on 'HTMLObjectElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setCustomValidity' on 'HTMLObjectElement': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].setCustomValidity(...args)}get data(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get data' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"data");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set data(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set data' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions.USVString(V,{context:"Failed to set the 'data' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"data",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set type' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions.DOMString(V,{context:"Failed to set the 'type' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get useMap(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get useMap' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"usemap");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set useMap(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set useMap' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions.DOMString(V,{context:"Failed to set the 'useMap' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"usemap",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get form(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get form' called on an object that is not a valid instance of HTMLObjectElement.");return utils.tryWrapperForImpl(esValue[implSymbol].form)}get width(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get width' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set width' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions.DOMString(V,{context:"Failed to set the 'width' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get height' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"height");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set height' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions.DOMString(V,{context:"Failed to set the 'height' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"height",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get contentDocument(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get contentDocument' called on an object that is not a valid instance of HTMLObjectElement.");return utils.tryWrapperForImpl(esValue[implSymbol].contentDocument)}get willValidate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get willValidate' called on an object that is not a valid instance of HTMLObjectElement.");return esValue[implSymbol].willValidate}get validity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get validity' called on an object that is not a valid instance of HTMLObjectElement.");return utils.tryWrapperForImpl(esValue[implSymbol].validity)}get validationMessage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get validationMessage' called on an object that is not a valid instance of HTMLObjectElement.");return esValue[implSymbol].validationMessage}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get archive(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get archive' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"archive");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set archive(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set archive' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions.DOMString(V,{context:"Failed to set the 'archive' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"archive",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get code(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get code' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"code");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set code(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set code' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions.DOMString(V,{context:"Failed to set the 'code' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"code",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get declare(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get declare' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"declare")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set declare(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set declare' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions.boolean(V,{context:"Failed to set the 'declare' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"declare",""):esValue[implSymbol].removeAttributeNS(null,"declare")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hspace(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hspace' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"hspace");return null===value?0:(value=parseNonNegativeInteger_helpers_strings(value),null!==value&&value>=0&&value<=2147483647?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hspace(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set hspace' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'hspace' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"hspace",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get standby(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get standby' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"standby");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set standby(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set standby' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions.DOMString(V,{context:"Failed to set the 'standby' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"standby",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vspace(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get vspace' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"vspace");return null===value?0:(value=parseNonNegativeInteger_helpers_strings(value),null!==value&&value>=0&&value<=2147483647?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vspace(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set vspace' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'vspace' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"vspace",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get codeBase(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get codeBase' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"codebase");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set codeBase(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set codeBase' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions.DOMString(V,{context:"Failed to set the 'codeBase' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"codebase",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get codeType(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get codeType' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"codetype");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set codeType(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set codeType' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions.DOMString(V,{context:"Failed to set the 'codeType' property on 'HTMLObjectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"codetype",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get border(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get border' called on an object that is not a valid instance of HTMLObjectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"border");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set border(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set border' called on an object that is not a valid instance of HTMLObjectElement.");V=conversions.DOMString(V,{context:"Failed to set the 'border' property on 'HTMLObjectElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"border",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLObjectElement.prototype,{checkValidity:{enumerable:!0},reportValidity:{enumerable:!0},setCustomValidity:{enumerable:!0},data:{enumerable:!0},type:{enumerable:!0},name:{enumerable:!0},useMap:{enumerable:!0},form:{enumerable:!0},width:{enumerable:!0},height:{enumerable:!0},contentDocument:{enumerable:!0},willValidate:{enumerable:!0},validity:{enumerable:!0},validationMessage:{enumerable:!0},align:{enumerable:!0},archive:{enumerable:!0},code:{enumerable:!0},declare:{enumerable:!0},hspace:{enumerable:!0},standby:{enumerable:!0},vspace:{enumerable:!0},codeBase:{enumerable:!0},codeType:{enumerable:!0},border:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLObjectElement",configurable:!0}}),ctorRegistry.HTMLObjectElement=HTMLObjectElement,Object.defineProperty(globalObject,"HTMLObjectElement",{configurable:!0,writable:!0,value:HTMLObjectElement})};const Impl=__webpack_require__(90817)},14860:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLOptGroupElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLOptGroupElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLOptGroupElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLOptGroupElement",new.target)}get disabled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get disabled' called on an object that is not a valid instance of HTMLOptGroupElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set disabled(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set disabled' called on an object that is not a valid instance of HTMLOptGroupElement.");V=conversions.boolean(V,{context:"Failed to set the 'disabled' property on 'HTMLOptGroupElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"disabled",""):esValue[implSymbol].removeAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get label(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get label' called on an object that is not a valid instance of HTMLOptGroupElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"label");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set label(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set label' called on an object that is not a valid instance of HTMLOptGroupElement.");V=conversions.DOMString(V,{context:"Failed to set the 'label' property on 'HTMLOptGroupElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"label",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLOptGroupElement.prototype,{disabled:{enumerable:!0},label:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLOptGroupElement",configurable:!0}}),ctorRegistry.HTMLOptGroupElement=HTMLOptGroupElement,Object.defineProperty(globalObject,"HTMLOptGroupElement",{configurable:!0,writable:!0,value:HTMLOptGroupElement})};const Impl=__webpack_require__(80069)},97147:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLOptionElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLOptionElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLOptionElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLOptionElement",new.target)}get disabled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get disabled' called on an object that is not a valid instance of HTMLOptionElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set disabled(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set disabled' called on an object that is not a valid instance of HTMLOptionElement.");V=conversions.boolean(V,{context:"Failed to set the 'disabled' property on 'HTMLOptionElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"disabled",""):esValue[implSymbol].removeAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get form(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get form' called on an object that is not a valid instance of HTMLOptionElement.");return utils.tryWrapperForImpl(esValue[implSymbol].form)}get label(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get label' called on an object that is not a valid instance of HTMLOptionElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].label}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set label(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set label' called on an object that is not a valid instance of HTMLOptionElement.");V=conversions.DOMString(V,{context:"Failed to set the 'label' property on 'HTMLOptionElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].label=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get defaultSelected(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get defaultSelected' called on an object that is not a valid instance of HTMLOptionElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"selected")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set defaultSelected(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set defaultSelected' called on an object that is not a valid instance of HTMLOptionElement.");V=conversions.boolean(V,{context:"Failed to set the 'defaultSelected' property on 'HTMLOptionElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"selected",""):esValue[implSymbol].removeAttributeNS(null,"selected")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get selected(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get selected' called on an object that is not a valid instance of HTMLOptionElement.");return esValue[implSymbol].selected}set selected(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set selected' called on an object that is not a valid instance of HTMLOptionElement.");V=conversions.boolean(V,{context:"Failed to set the 'selected' property on 'HTMLOptionElement': The provided value",globals:globalObject}),esValue[implSymbol].selected=V}get value(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get value' called on an object that is not a valid instance of HTMLOptionElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set value' called on an object that is not a valid instance of HTMLOptionElement.");V=conversions.DOMString(V,{context:"Failed to set the 'value' property on 'HTMLOptionElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].value=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get text(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get text' called on an object that is not a valid instance of HTMLOptionElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].text}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set text(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set text' called on an object that is not a valid instance of HTMLOptionElement.");V=conversions.DOMString(V,{context:"Failed to set the 'text' property on 'HTMLOptionElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].text=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get index(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get index' called on an object that is not a valid instance of HTMLOptionElement.");return esValue[implSymbol].index}}Object.defineProperties(HTMLOptionElement.prototype,{disabled:{enumerable:!0},form:{enumerable:!0},label:{enumerable:!0},defaultSelected:{enumerable:!0},selected:{enumerable:!0},value:{enumerable:!0},text:{enumerable:!0},index:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLOptionElement",configurable:!0}}),ctorRegistry.HTMLOptionElement=HTMLOptionElement,Object.defineProperty(globalObject,"HTMLOptionElement",{configurable:!0,writable:!0,value:HTMLOptionElement})};const Impl=__webpack_require__(69928)},62467:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLOptionElement=__webpack_require__(97147),HTMLOptGroupElement=__webpack_require__(14860),HTMLElement=__webpack_require__(12028),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLCollection=__webpack_require__(76270);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLOptionsCollection.prototype),Object.create(proto)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);return void 0===proxyHandler&&(proxyHandler=new ProxyHandler(globalObject),proxyHandlerCache.set(globalObject,proxyHandler)),new Proxy(wrapper,proxyHandler)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLOptionsCollection'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLCollection._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),(wrapper=makeProxy(wrapper,globalObject))[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{let wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper=makeProxy(wrapper,globalObject),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLOptionsCollection extends globalObject.HTMLCollection{constructor(){throw new globalObject.TypeError("Illegal constructor")}add(element){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'add' called on an object that is not a valid instance of HTMLOptionsCollection.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'add' on 'HTMLOptionsCollection': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];if(!HTMLOptionElement.is(curArg)&&!HTMLOptGroupElement.is(curArg))throw new globalObject.TypeError("Failed to execute 'add' on 'HTMLOptionsCollection': parameter 1 is not of any supported type.");curArg=utils.implForWrapper(curArg),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg?null==curArg?null:HTMLElement.is(curArg)?utils.implForWrapper(curArg):conversions.long(curArg,{context:"Failed to execute 'add' on 'HTMLOptionsCollection': parameter 2",globals:globalObject}):null,args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].add(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}remove(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'remove' called on an object that is not a valid instance of HTMLOptionsCollection.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'remove' on 'HTMLOptionsCollection': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.long(curArg,{context:"Failed to execute 'remove' on 'HTMLOptionsCollection': parameter 1",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].remove(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of HTMLOptionsCollection.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].length}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set length(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set length' called on an object that is not a valid instance of HTMLOptionsCollection.");V=conversions["unsigned long"](V,{context:"Failed to set the 'length' property on 'HTMLOptionsCollection': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].length=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get selectedIndex(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get selectedIndex' called on an object that is not a valid instance of HTMLOptionsCollection.");return esValue[implSymbol].selectedIndex}set selectedIndex(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set selectedIndex' called on an object that is not a valid instance of HTMLOptionsCollection.");V=conversions.long(V,{context:"Failed to set the 'selectedIndex' property on 'HTMLOptionsCollection': The provided value",globals:globalObject}),esValue[implSymbol].selectedIndex=V}}Object.defineProperties(HTMLOptionsCollection.prototype,{add:{enumerable:!0},remove:{enumerable:!0},length:{enumerable:!0},selectedIndex:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLOptionsCollection",configurable:!0},[Symbol.iterator]:{value:globalObject.Array.prototype[Symbol.iterator],configurable:!0,writable:!0}}),ctorRegistry.HTMLOptionsCollection=HTMLOptionsCollection,Object.defineProperty(globalObject,"HTMLOptionsCollection",{configurable:!0,writable:!0,value:HTMLOptionsCollection})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if("symbol"==typeof P)return Reflect.get(target,P,receiver);const desc=this.getOwnPropertyDescriptor(target,P);if(void 0===desc){if(null===Object.getPrototypeOf(target))return;return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set)return desc.value;const getter=desc.get;return void 0!==getter?Reflect.apply(getter,receiver,[]):void 0}has(target,P){if("symbol"==typeof P)return Reflect.has(target,P);if(void 0!==this.getOwnPropertyDescriptor(target,P))return!0;const parent=Object.getPrototypeOf(target);return null!==parent&&Reflect.has(parent,P)}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices])keys.add(`${key}`);for(const key of target[implSymbol][utils.supportedPropertyNames])key in target||keys.add(`${key}`);for(const key of Reflect.ownKeys(target))keys.add(key);return[...keys]}getOwnPropertyDescriptor(target,P){if("symbol"==typeof P)return Reflect.getOwnPropertyDescriptor(target,P);let ignoreNamedProps=!1;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);if(null!==indexedValue)return{writable:!0,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)};ignoreNamedProps=!0}const namedValue=target[implSymbol].namedItem(P);return null===namedValue||P in target||ignoreNamedProps?Reflect.getOwnPropertyDescriptor(target,P):{writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(namedValue)}}set(target,P,V,receiver){if("symbol"==typeof P)return Reflect.set(target,P,V,receiver);if(target[implSymbol][utils.wrapperSymbol]===receiver){const globalObject=this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;let indexedValue=V;indexedValue=null==indexedValue?null:HTMLOptionElement.convert(globalObject,indexedValue,{context:"Failed to set the "+index+" property on 'HTMLOptionsCollection': The provided value"}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{!(null!==target[implSymbol].item(index))?target[implSymbol][utils.indexedSetNew](index,indexedValue):target[implSymbol][utils.indexedSetExisting](index,indexedValue)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}return!0}}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);null!==indexedValue&&(ownDesc={writable:!0,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)})}if(void 0===ownDesc&&(ownDesc=Reflect.getOwnPropertyDescriptor(target,P)),void 0===ownDesc){const parent=Reflect.getPrototypeOf(target);if(null!==parent)return Reflect.set(parent,P,V,receiver);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:void 0}}if(!ownDesc.writable)return!1;if(!utils.isObject(receiver))return!1;const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(void 0!==existingDesc){if(existingDesc.get||existingDesc.set)return!1;if(!existingDesc.writable)return!1;valueDesc={value:V}}else valueDesc={writable:!0,enumerable:!0,configurable:!0,value:V};return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if("symbol"==typeof P)return Reflect.defineProperty(target,P,desc);const globalObject=this._globalObject;if(utils.isArrayIndexPropName(P)){if(desc.get||desc.set)return!1;const index=P>>>0;let indexedValue=desc.value;indexedValue=null==indexedValue?null:HTMLOptionElement.convert(globalObject,indexedValue,{context:"Failed to set the "+index+" property on 'HTMLOptionsCollection': The provided value"}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{!(null!==target[implSymbol].item(index))?target[implSymbol][utils.indexedSetNew](index,indexedValue):target[implSymbol][utils.indexedSetExisting](index,indexedValue)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}return!0}if(!utils.hasOwn(target,P)){if(!!(null!==target[implSymbol].namedItem(P)))return!1}return Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if("symbol"==typeof P)return Reflect.deleteProperty(target,P);this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(null!==target[implSymbol].item(index))}return(null===target[implSymbol].namedItem(P)||P in target)&&Reflect.deleteProperty(target,P)}preventExtensions(){return!1}}const Impl=__webpack_require__(1303)},98911:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLOutputElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLOutputElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLOutputElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLOutputElement",new.target)}checkValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'checkValidity' called on an object that is not a valid instance of HTMLOutputElement.");return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'reportValidity' called on an object that is not a valid instance of HTMLOutputElement.");return esValue[implSymbol].reportValidity()}setCustomValidity(error){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setCustomValidity' called on an object that is not a valid instance of HTMLOutputElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setCustomValidity' on 'HTMLOutputElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setCustomValidity' on 'HTMLOutputElement': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].setCustomValidity(...args)}get htmlFor(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get htmlFor' called on an object that is not a valid instance of HTMLOutputElement.");return utils.getSameObject(this,"htmlFor",(()=>utils.tryWrapperForImpl(esValue[implSymbol].htmlFor)))}set htmlFor(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set htmlFor' called on an object that is not a valid instance of HTMLOutputElement.");const Q=esValue.htmlFor;if(!utils.isObject(Q))throw new globalObject.TypeError("Property 'htmlFor' is not an object");Reflect.set(Q,"value",V)}get form(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get form' called on an object that is not a valid instance of HTMLOutputElement.");return utils.tryWrapperForImpl(esValue[implSymbol].form)}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLOutputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLOutputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLOutputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLOutputElement.");return esValue[implSymbol].type}get defaultValue(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get defaultValue' called on an object that is not a valid instance of HTMLOutputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].defaultValue}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set defaultValue(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set defaultValue' called on an object that is not a valid instance of HTMLOutputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'defaultValue' property on 'HTMLOutputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].defaultValue=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get value(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get value' called on an object that is not a valid instance of HTMLOutputElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set value' called on an object that is not a valid instance of HTMLOutputElement.");V=conversions.DOMString(V,{context:"Failed to set the 'value' property on 'HTMLOutputElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].value=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get willValidate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get willValidate' called on an object that is not a valid instance of HTMLOutputElement.");return esValue[implSymbol].willValidate}get validity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get validity' called on an object that is not a valid instance of HTMLOutputElement.");return utils.tryWrapperForImpl(esValue[implSymbol].validity)}get validationMessage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get validationMessage' called on an object that is not a valid instance of HTMLOutputElement.");return esValue[implSymbol].validationMessage}get labels(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get labels' called on an object that is not a valid instance of HTMLOutputElement.");return utils.tryWrapperForImpl(esValue[implSymbol].labels)}}Object.defineProperties(HTMLOutputElement.prototype,{checkValidity:{enumerable:!0},reportValidity:{enumerable:!0},setCustomValidity:{enumerable:!0},htmlFor:{enumerable:!0},form:{enumerable:!0},name:{enumerable:!0},type:{enumerable:!0},defaultValue:{enumerable:!0},value:{enumerable:!0},willValidate:{enumerable:!0},validity:{enumerable:!0},validationMessage:{enumerable:!0},labels:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLOutputElement",configurable:!0}}),ctorRegistry.HTMLOutputElement=HTMLOutputElement,Object.defineProperty(globalObject,"HTMLOutputElement",{configurable:!0,writable:!0,value:HTMLOutputElement})};const Impl=__webpack_require__(13583)},72107:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLParagraphElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLParagraphElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLParagraphElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLParagraphElement",new.target)}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLParagraphElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLParagraphElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLParagraphElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLParagraphElement.prototype,{align:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLParagraphElement",configurable:!0}}),ctorRegistry.HTMLParagraphElement=HTMLParagraphElement,Object.defineProperty(globalObject,"HTMLParagraphElement",{configurable:!0,writable:!0,value:HTMLParagraphElement})};const Impl=__webpack_require__(12726)},45159:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLParamElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLParamElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLParamElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLParamElement",new.target)}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLParamElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLParamElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLParamElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get value(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get value' called on an object that is not a valid instance of HTMLParamElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"value");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set value' called on an object that is not a valid instance of HTMLParamElement.");V=conversions.DOMString(V,{context:"Failed to set the 'value' property on 'HTMLParamElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"value",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLParamElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set type' called on an object that is not a valid instance of HTMLParamElement.");V=conversions.DOMString(V,{context:"Failed to set the 'type' property on 'HTMLParamElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get valueType(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get valueType' called on an object that is not a valid instance of HTMLParamElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"valuetype");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set valueType(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set valueType' called on an object that is not a valid instance of HTMLParamElement.");V=conversions.DOMString(V,{context:"Failed to set the 'valueType' property on 'HTMLParamElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"valuetype",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLParamElement.prototype,{name:{enumerable:!0},value:{enumerable:!0},type:{enumerable:!0},valueType:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLParamElement",configurable:!0}}),ctorRegistry.HTMLParamElement=HTMLParamElement,Object.defineProperty(globalObject,"HTMLParamElement",{configurable:!0,writable:!0,value:HTMLParamElement})};const Impl=__webpack_require__(37894)},81347:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLPictureElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLPictureElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLPictureElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLPictureElement",new.target)}}Object.defineProperties(HTMLPictureElement.prototype,{[Symbol.toStringTag]:{value:"HTMLPictureElement",configurable:!0}}),ctorRegistry.HTMLPictureElement=HTMLPictureElement,Object.defineProperty(globalObject,"HTMLPictureElement",{configurable:!0,writable:!0,value:HTMLPictureElement})};const Impl=__webpack_require__(81213)},91532:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,parseInteger_helpers_strings=__webpack_require__(27896).parseInteger,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLPreElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLPreElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLPreElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLPreElement",new.target)}get width(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get width' called on an object that is not a valid instance of HTMLPreElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"width");return null===value?0:(value=parseInteger_helpers_strings(value),null!==value&&conversions.long(value)===value?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set width' called on an object that is not a valid instance of HTMLPreElement.");V=conversions.long(V,{context:"Failed to set the 'width' property on 'HTMLPreElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",String(V))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLPreElement.prototype,{width:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLPreElement",configurable:!0}}),ctorRegistry.HTMLPreElement=HTMLPreElement,Object.defineProperty(globalObject,"HTMLPreElement",{configurable:!0,writable:!0,value:HTMLPreElement})};const Impl=__webpack_require__(23820)},53558:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLProgressElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLProgressElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLProgressElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLProgressElement",new.target)}get value(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get value' called on an object that is not a valid instance of HTMLProgressElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set value' called on an object that is not a valid instance of HTMLProgressElement.");V=conversions.double(V,{context:"Failed to set the 'value' property on 'HTMLProgressElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].value=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get max(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get max' called on an object that is not a valid instance of HTMLProgressElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].max}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set max(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set max' called on an object that is not a valid instance of HTMLProgressElement.");V=conversions.double(V,{context:"Failed to set the 'max' property on 'HTMLProgressElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].max=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get position(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get position' called on an object that is not a valid instance of HTMLProgressElement.");return esValue[implSymbol].position}get labels(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get labels' called on an object that is not a valid instance of HTMLProgressElement.");return utils.tryWrapperForImpl(esValue[implSymbol].labels)}}Object.defineProperties(HTMLProgressElement.prototype,{value:{enumerable:!0},max:{enumerable:!0},position:{enumerable:!0},labels:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLProgressElement",configurable:!0}}),ctorRegistry.HTMLProgressElement=HTMLProgressElement,Object.defineProperty(globalObject,"HTMLProgressElement",{configurable:!0,writable:!0,value:HTMLProgressElement})};const Impl=__webpack_require__(58667)},4347:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,parseURLToResultingURLRecord_helpers_document_base_url=__webpack_require__(33282).parseURLToResultingURLRecord,serializeURLwhatwg_url=__webpack_require__(77101).serializeURL,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLQuoteElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLQuoteElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLQuoteElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLQuoteElement",new.target)}get cite(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get cite' called on an object that is not a valid instance of HTMLQuoteElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"cite");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set cite(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set cite' called on an object that is not a valid instance of HTMLQuoteElement.");V=conversions.USVString(V,{context:"Failed to set the 'cite' property on 'HTMLQuoteElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"cite",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLQuoteElement.prototype,{cite:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLQuoteElement",configurable:!0}}),ctorRegistry.HTMLQuoteElement=HTMLQuoteElement,Object.defineProperty(globalObject,"HTMLQuoteElement",{configurable:!0,writable:!0,value:HTMLQuoteElement})};const Impl=__webpack_require__(41115)},96200:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,parseURLToResultingURLRecord_helpers_document_base_url=__webpack_require__(33282).parseURLToResultingURLRecord,serializeURLwhatwg_url=__webpack_require__(77101).serializeURL,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLScriptElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLScriptElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLScriptElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLScriptElement",new.target)}get src(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get src' called on an object that is not a valid instance of HTMLScriptElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set src' called on an object that is not a valid instance of HTMLScriptElement.");V=conversions.USVString(V,{context:"Failed to set the 'src' property on 'HTMLScriptElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLScriptElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set type' called on an object that is not a valid instance of HTMLScriptElement.");V=conversions.DOMString(V,{context:"Failed to set the 'type' property on 'HTMLScriptElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get defer(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get defer' called on an object that is not a valid instance of HTMLScriptElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"defer")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set defer(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set defer' called on an object that is not a valid instance of HTMLScriptElement.");V=conversions.boolean(V,{context:"Failed to set the 'defer' property on 'HTMLScriptElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"defer",""):esValue[implSymbol].removeAttributeNS(null,"defer")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get crossOrigin(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get crossOrigin' called on an object that is not a valid instance of HTMLScriptElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"crossorigin");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set crossOrigin(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set crossOrigin' called on an object that is not a valid instance of HTMLScriptElement.");V=null==V?null:conversions.DOMString(V,{context:"Failed to set the 'crossOrigin' property on 'HTMLScriptElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"crossorigin",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get text(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get text' called on an object that is not a valid instance of HTMLScriptElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].text}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set text(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set text' called on an object that is not a valid instance of HTMLScriptElement.");V=conversions.DOMString(V,{context:"Failed to set the 'text' property on 'HTMLScriptElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].text=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get charset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get charset' called on an object that is not a valid instance of HTMLScriptElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"charset");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set charset(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set charset' called on an object that is not a valid instance of HTMLScriptElement.");V=conversions.DOMString(V,{context:"Failed to set the 'charset' property on 'HTMLScriptElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"charset",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get event(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get event' called on an object that is not a valid instance of HTMLScriptElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"event");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set event(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set event' called on an object that is not a valid instance of HTMLScriptElement.");V=conversions.DOMString(V,{context:"Failed to set the 'event' property on 'HTMLScriptElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"event",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get htmlFor(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get htmlFor' called on an object that is not a valid instance of HTMLScriptElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"for");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set htmlFor(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set htmlFor' called on an object that is not a valid instance of HTMLScriptElement.");V=conversions.DOMString(V,{context:"Failed to set the 'htmlFor' property on 'HTMLScriptElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"for",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLScriptElement.prototype,{src:{enumerable:!0},type:{enumerable:!0},defer:{enumerable:!0},crossOrigin:{enumerable:!0},text:{enumerable:!0},charset:{enumerable:!0},event:{enumerable:!0},htmlFor:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLScriptElement",configurable:!0}}),ctorRegistry.HTMLScriptElement=HTMLScriptElement,Object.defineProperty(globalObject,"HTMLScriptElement",{configurable:!0,writable:!0,value:HTMLScriptElement})};const Impl=__webpack_require__(55184)},25166:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,HTMLOptionElement=__webpack_require__(97147),HTMLOptGroupElement=__webpack_require__(14860),HTMLElement=__webpack_require__(12028),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,parseNonNegativeInteger_helpers_strings=__webpack_require__(27896).parseNonNegativeInteger,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLSelectElement.prototype),Object.create(proto)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);return void 0===proxyHandler&&(proxyHandler=new ProxyHandler(globalObject),proxyHandlerCache.set(globalObject,proxyHandler)),new Proxy(wrapper,proxyHandler)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLSelectElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),(wrapper=makeProxy(wrapper,globalObject))[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{let wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper=makeProxy(wrapper,globalObject),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLSelectElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLSelectElement",new.target)}item(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'item' called on an object that is not a valid instance of HTMLSelectElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'item' on 'HTMLSelectElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'HTMLSelectElement': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}namedItem(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'namedItem' called on an object that is not a valid instance of HTMLSelectElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'namedItem' on 'HTMLSelectElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'namedItem' on 'HTMLSelectElement': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].namedItem(...args))}add(element){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'add' called on an object that is not a valid instance of HTMLSelectElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'add' on 'HTMLSelectElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];if(!HTMLOptionElement.is(curArg)&&!HTMLOptGroupElement.is(curArg))throw new globalObject.TypeError("Failed to execute 'add' on 'HTMLSelectElement': parameter 1 is not of any supported type.");curArg=utils.implForWrapper(curArg),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg?null==curArg?null:HTMLElement.is(curArg)?utils.implForWrapper(curArg):conversions.long(curArg,{context:"Failed to execute 'add' on 'HTMLSelectElement': parameter 2",globals:globalObject}):null,args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].add(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}remove(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'remove' called on an object that is not a valid instance of HTMLSelectElement.");const args=[];switch(arguments.length){case 0:break;default:{let curArg=arguments[0];curArg=conversions.long(curArg,{context:"Failed to execute 'remove' on 'HTMLSelectElement': parameter 1",globals:globalObject}),args.push(curArg)}}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].remove(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}checkValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'checkValidity' called on an object that is not a valid instance of HTMLSelectElement.");return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'reportValidity' called on an object that is not a valid instance of HTMLSelectElement.");return esValue[implSymbol].reportValidity()}setCustomValidity(error){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setCustomValidity' called on an object that is not a valid instance of HTMLSelectElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setCustomValidity' on 'HTMLSelectElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setCustomValidity' on 'HTMLSelectElement': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].setCustomValidity(...args)}get autofocus(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get autofocus' called on an object that is not a valid instance of HTMLSelectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"autofocus")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set autofocus(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set autofocus' called on an object that is not a valid instance of HTMLSelectElement.");V=conversions.boolean(V,{context:"Failed to set the 'autofocus' property on 'HTMLSelectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"autofocus",""):esValue[implSymbol].removeAttributeNS(null,"autofocus")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get disabled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get disabled' called on an object that is not a valid instance of HTMLSelectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set disabled(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set disabled' called on an object that is not a valid instance of HTMLSelectElement.");V=conversions.boolean(V,{context:"Failed to set the 'disabled' property on 'HTMLSelectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"disabled",""):esValue[implSymbol].removeAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get form(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get form' called on an object that is not a valid instance of HTMLSelectElement.");return utils.tryWrapperForImpl(esValue[implSymbol].form)}get multiple(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get multiple' called on an object that is not a valid instance of HTMLSelectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"multiple")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set multiple(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set multiple' called on an object that is not a valid instance of HTMLSelectElement.");V=conversions.boolean(V,{context:"Failed to set the 'multiple' property on 'HTMLSelectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"multiple",""):esValue[implSymbol].removeAttributeNS(null,"multiple")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLSelectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLSelectElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLSelectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get required(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get required' called on an object that is not a valid instance of HTMLSelectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"required")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set required(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set required' called on an object that is not a valid instance of HTMLSelectElement.");V=conversions.boolean(V,{context:"Failed to set the 'required' property on 'HTMLSelectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"required",""):esValue[implSymbol].removeAttributeNS(null,"required")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get size(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get size' called on an object that is not a valid instance of HTMLSelectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"size");return null===value?0:(value=parseNonNegativeInteger_helpers_strings(value),null!==value&&value>=0&&value<=2147483647?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set size(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set size' called on an object that is not a valid instance of HTMLSelectElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'size' property on 'HTMLSelectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"size",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLSelectElement.");return esValue[implSymbol].type}get options(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get options' called on an object that is not a valid instance of HTMLSelectElement.");return utils.getSameObject(this,"options",(()=>utils.tryWrapperForImpl(esValue[implSymbol].options)))}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of HTMLSelectElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].length}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set length(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set length' called on an object that is not a valid instance of HTMLSelectElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'length' property on 'HTMLSelectElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].length=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get selectedOptions(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get selectedOptions' called on an object that is not a valid instance of HTMLSelectElement.");return utils.getSameObject(this,"selectedOptions",(()=>utils.tryWrapperForImpl(esValue[implSymbol].selectedOptions)))}get selectedIndex(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get selectedIndex' called on an object that is not a valid instance of HTMLSelectElement.");return esValue[implSymbol].selectedIndex}set selectedIndex(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set selectedIndex' called on an object that is not a valid instance of HTMLSelectElement.");V=conversions.long(V,{context:"Failed to set the 'selectedIndex' property on 'HTMLSelectElement': The provided value",globals:globalObject}),esValue[implSymbol].selectedIndex=V}get value(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get value' called on an object that is not a valid instance of HTMLSelectElement.");return esValue[implSymbol].value}set value(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set value' called on an object that is not a valid instance of HTMLSelectElement.");V=conversions.DOMString(V,{context:"Failed to set the 'value' property on 'HTMLSelectElement': The provided value",globals:globalObject}),esValue[implSymbol].value=V}get willValidate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get willValidate' called on an object that is not a valid instance of HTMLSelectElement.");return esValue[implSymbol].willValidate}get validity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get validity' called on an object that is not a valid instance of HTMLSelectElement.");return utils.tryWrapperForImpl(esValue[implSymbol].validity)}get validationMessage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get validationMessage' called on an object that is not a valid instance of HTMLSelectElement.");return esValue[implSymbol].validationMessage}get labels(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get labels' called on an object that is not a valid instance of HTMLSelectElement.");return utils.tryWrapperForImpl(esValue[implSymbol].labels)}}Object.defineProperties(HTMLSelectElement.prototype,{item:{enumerable:!0},namedItem:{enumerable:!0},add:{enumerable:!0},remove:{enumerable:!0},checkValidity:{enumerable:!0},reportValidity:{enumerable:!0},setCustomValidity:{enumerable:!0},autofocus:{enumerable:!0},disabled:{enumerable:!0},form:{enumerable:!0},multiple:{enumerable:!0},name:{enumerable:!0},required:{enumerable:!0},size:{enumerable:!0},type:{enumerable:!0},options:{enumerable:!0},length:{enumerable:!0},selectedOptions:{enumerable:!0},selectedIndex:{enumerable:!0},value:{enumerable:!0},willValidate:{enumerable:!0},validity:{enumerable:!0},validationMessage:{enumerable:!0},labels:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLSelectElement",configurable:!0},[Symbol.iterator]:{value:globalObject.Array.prototype[Symbol.iterator],configurable:!0,writable:!0}}),ctorRegistry.HTMLSelectElement=HTMLSelectElement,Object.defineProperty(globalObject,"HTMLSelectElement",{configurable:!0,writable:!0,value:HTMLSelectElement})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if("symbol"==typeof P)return Reflect.get(target,P,receiver);const desc=this.getOwnPropertyDescriptor(target,P);if(void 0===desc){if(null===Object.getPrototypeOf(target))return;return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set)return desc.value;const getter=desc.get;return void 0!==getter?Reflect.apply(getter,receiver,[]):void 0}has(target,P){if("symbol"==typeof P)return Reflect.has(target,P);if(void 0!==this.getOwnPropertyDescriptor(target,P))return!0;const parent=Object.getPrototypeOf(target);return null!==parent&&Reflect.has(parent,P)}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices])keys.add(`${key}`);for(const key of Reflect.ownKeys(target))keys.add(key);return[...keys]}getOwnPropertyDescriptor(target,P){if("symbol"==typeof P)return Reflect.getOwnPropertyDescriptor(target,P);let ignoreNamedProps=!1;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);if(null!==indexedValue)return{writable:!0,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)};ignoreNamedProps=!0}return Reflect.getOwnPropertyDescriptor(target,P)}set(target,P,V,receiver){if("symbol"==typeof P)return Reflect.set(target,P,V,receiver);if(target[implSymbol][utils.wrapperSymbol]===receiver){const globalObject=this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;let indexedValue=V;indexedValue=null==indexedValue?null:HTMLOptionElement.convert(globalObject,indexedValue,{context:"Failed to set the "+index+" property on 'HTMLSelectElement': The provided value"}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{!(null!==target[implSymbol].item(index))?target[implSymbol][utils.indexedSetNew](index,indexedValue):target[implSymbol][utils.indexedSetExisting](index,indexedValue)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}return!0}}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);null!==indexedValue&&(ownDesc={writable:!0,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)})}if(void 0===ownDesc&&(ownDesc=Reflect.getOwnPropertyDescriptor(target,P)),void 0===ownDesc){const parent=Reflect.getPrototypeOf(target);if(null!==parent)return Reflect.set(parent,P,V,receiver);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:void 0}}if(!ownDesc.writable)return!1;if(!utils.isObject(receiver))return!1;const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(void 0!==existingDesc){if(existingDesc.get||existingDesc.set)return!1;if(!existingDesc.writable)return!1;valueDesc={value:V}}else valueDesc={writable:!0,enumerable:!0,configurable:!0,value:V};return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if("symbol"==typeof P)return Reflect.defineProperty(target,P,desc);const globalObject=this._globalObject;if(utils.isArrayIndexPropName(P)){if(desc.get||desc.set)return!1;const index=P>>>0;let indexedValue=desc.value;indexedValue=null==indexedValue?null:HTMLOptionElement.convert(globalObject,indexedValue,{context:"Failed to set the "+index+" property on 'HTMLSelectElement': The provided value"}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{!(null!==target[implSymbol].item(index))?target[implSymbol][utils.indexedSetNew](index,indexedValue):target[implSymbol][utils.indexedSetExisting](index,indexedValue)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}return!0}return Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if("symbol"==typeof P)return Reflect.deleteProperty(target,P);this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(null!==target[implSymbol].item(index))}return Reflect.deleteProperty(target,P)}preventExtensions(){return!1}}const Impl=__webpack_require__(82349)},66109:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,AssignedNodesOptions=__webpack_require__(85601),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLSlotElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLSlotElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLSlotElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLSlotElement",new.target)}assignedNodes(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'assignedNodes' called on an object that is not a valid instance of HTMLSlotElement.");const args=[];{let curArg=arguments[0];curArg=AssignedNodesOptions.convert(globalObject,curArg,{context:"Failed to execute 'assignedNodes' on 'HTMLSlotElement': parameter 1"}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].assignedNodes(...args))}assignedElements(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'assignedElements' called on an object that is not a valid instance of HTMLSlotElement.");const args=[];{let curArg=arguments[0];curArg=AssignedNodesOptions.convert(globalObject,curArg,{context:"Failed to execute 'assignedElements' on 'HTMLSlotElement': parameter 1"}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].assignedElements(...args))}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLSlotElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLSlotElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLSlotElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLSlotElement.prototype,{assignedNodes:{enumerable:!0},assignedElements:{enumerable:!0},name:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLSlotElement",configurable:!0}}),ctorRegistry.HTMLSlotElement=HTMLSlotElement,Object.defineProperty(globalObject,"HTMLSlotElement",{configurable:!0,writable:!0,value:HTMLSlotElement})};const Impl=__webpack_require__(10201)},14485:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,parseURLToResultingURLRecord_helpers_document_base_url=__webpack_require__(33282).parseURLToResultingURLRecord,serializeURLwhatwg_url=__webpack_require__(77101).serializeURL,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLSourceElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLSourceElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLSourceElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLSourceElement",new.target)}get src(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get src' called on an object that is not a valid instance of HTMLSourceElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set src' called on an object that is not a valid instance of HTMLSourceElement.");V=conversions.USVString(V,{context:"Failed to set the 'src' property on 'HTMLSourceElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLSourceElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set type' called on an object that is not a valid instance of HTMLSourceElement.");V=conversions.DOMString(V,{context:"Failed to set the 'type' property on 'HTMLSourceElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get srcset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get srcset' called on an object that is not a valid instance of HTMLSourceElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"srcset");return null===value?"":conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set srcset(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set srcset' called on an object that is not a valid instance of HTMLSourceElement.");V=conversions.USVString(V,{context:"Failed to set the 'srcset' property on 'HTMLSourceElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"srcset",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get sizes(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get sizes' called on an object that is not a valid instance of HTMLSourceElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"sizes");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set sizes(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set sizes' called on an object that is not a valid instance of HTMLSourceElement.");V=conversions.DOMString(V,{context:"Failed to set the 'sizes' property on 'HTMLSourceElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"sizes",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get media(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get media' called on an object that is not a valid instance of HTMLSourceElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"media");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set media(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set media' called on an object that is not a valid instance of HTMLSourceElement.");V=conversions.DOMString(V,{context:"Failed to set the 'media' property on 'HTMLSourceElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"media",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLSourceElement.prototype,{src:{enumerable:!0},type:{enumerable:!0},srcset:{enumerable:!0},sizes:{enumerable:!0},media:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLSourceElement",configurable:!0}}),ctorRegistry.HTMLSourceElement=HTMLSourceElement,Object.defineProperty(globalObject,"HTMLSourceElement",{configurable:!0,writable:!0,value:HTMLSourceElement})};const Impl=__webpack_require__(2598)},90805:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLSpanElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLSpanElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLSpanElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLSpanElement",new.target)}}Object.defineProperties(HTMLSpanElement.prototype,{[Symbol.toStringTag]:{value:"HTMLSpanElement",configurable:!0}}),ctorRegistry.HTMLSpanElement=HTMLSpanElement,Object.defineProperty(globalObject,"HTMLSpanElement",{configurable:!0,writable:!0,value:HTMLSpanElement})};const Impl=__webpack_require__(21023)},13009:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLStyleElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLStyleElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLStyleElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLStyleElement",new.target)}get media(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get media' called on an object that is not a valid instance of HTMLStyleElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"media");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set media(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set media' called on an object that is not a valid instance of HTMLStyleElement.");V=conversions.DOMString(V,{context:"Failed to set the 'media' property on 'HTMLStyleElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"media",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLStyleElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set type' called on an object that is not a valid instance of HTMLStyleElement.");V=conversions.DOMString(V,{context:"Failed to set the 'type' property on 'HTMLStyleElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get sheet(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get sheet' called on an object that is not a valid instance of HTMLStyleElement.");return utils.tryWrapperForImpl(esValue[implSymbol].sheet)}}Object.defineProperties(HTMLStyleElement.prototype,{media:{enumerable:!0},type:{enumerable:!0},sheet:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLStyleElement",configurable:!0}}),ctorRegistry.HTMLStyleElement=HTMLStyleElement,Object.defineProperty(globalObject,"HTMLStyleElement",{configurable:!0,writable:!0,value:HTMLStyleElement})};const Impl=__webpack_require__(74853)},53490:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLTableCaptionElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLTableCaptionElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLTableCaptionElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLTableCaptionElement",new.target)}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLTableCaptionElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLTableCaptionElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLTableCaptionElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTableCaptionElement.prototype,{align:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLTableCaptionElement",configurable:!0}}),ctorRegistry.HTMLTableCaptionElement=HTMLTableCaptionElement,Object.defineProperty(globalObject,"HTMLTableCaptionElement",{configurable:!0,writable:!0,value:HTMLTableCaptionElement})};const Impl=__webpack_require__(24646)},12859:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLTableCellElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLTableCellElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLTableCellElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLTableCellElement",new.target)}get colSpan(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get colSpan' called on an object that is not a valid instance of HTMLTableCellElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].colSpan}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set colSpan(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set colSpan' called on an object that is not a valid instance of HTMLTableCellElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'colSpan' property on 'HTMLTableCellElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].colSpan=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rowSpan(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rowSpan' called on an object that is not a valid instance of HTMLTableCellElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].rowSpan}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rowSpan(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set rowSpan' called on an object that is not a valid instance of HTMLTableCellElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'rowSpan' property on 'HTMLTableCellElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].rowSpan=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get headers(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get headers' called on an object that is not a valid instance of HTMLTableCellElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"headers");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set headers(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set headers' called on an object that is not a valid instance of HTMLTableCellElement.");V=conversions.DOMString(V,{context:"Failed to set the 'headers' property on 'HTMLTableCellElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"headers",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get cellIndex(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get cellIndex' called on an object that is not a valid instance of HTMLTableCellElement.");return esValue[implSymbol].cellIndex}get scope(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get scope' called on an object that is not a valid instance of HTMLTableCellElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].scope}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set scope(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set scope' called on an object that is not a valid instance of HTMLTableCellElement.");V=conversions.DOMString(V,{context:"Failed to set the 'scope' property on 'HTMLTableCellElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].scope=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get abbr(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get abbr' called on an object that is not a valid instance of HTMLTableCellElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"abbr");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set abbr(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set abbr' called on an object that is not a valid instance of HTMLTableCellElement.");V=conversions.DOMString(V,{context:"Failed to set the 'abbr' property on 'HTMLTableCellElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"abbr",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLTableCellElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLTableCellElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLTableCellElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get axis(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get axis' called on an object that is not a valid instance of HTMLTableCellElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"axis");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set axis(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set axis' called on an object that is not a valid instance of HTMLTableCellElement.");V=conversions.DOMString(V,{context:"Failed to set the 'axis' property on 'HTMLTableCellElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"axis",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get height' called on an object that is not a valid instance of HTMLTableCellElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"height");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set height' called on an object that is not a valid instance of HTMLTableCellElement.");V=conversions.DOMString(V,{context:"Failed to set the 'height' property on 'HTMLTableCellElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"height",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get width' called on an object that is not a valid instance of HTMLTableCellElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set width' called on an object that is not a valid instance of HTMLTableCellElement.");V=conversions.DOMString(V,{context:"Failed to set the 'width' property on 'HTMLTableCellElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get ch(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ch' called on an object that is not a valid instance of HTMLTableCellElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"char");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set ch(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ch' called on an object that is not a valid instance of HTMLTableCellElement.");V=conversions.DOMString(V,{context:"Failed to set the 'ch' property on 'HTMLTableCellElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"char",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get chOff(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get chOff' called on an object that is not a valid instance of HTMLTableCellElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"charoff");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set chOff(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set chOff' called on an object that is not a valid instance of HTMLTableCellElement.");V=conversions.DOMString(V,{context:"Failed to set the 'chOff' property on 'HTMLTableCellElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"charoff",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get noWrap(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get noWrap' called on an object that is not a valid instance of HTMLTableCellElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"nowrap")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set noWrap(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set noWrap' called on an object that is not a valid instance of HTMLTableCellElement.");V=conversions.boolean(V,{context:"Failed to set the 'noWrap' property on 'HTMLTableCellElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"nowrap",""):esValue[implSymbol].removeAttributeNS(null,"nowrap")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vAlign(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get vAlign' called on an object that is not a valid instance of HTMLTableCellElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"valign");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vAlign(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set vAlign' called on an object that is not a valid instance of HTMLTableCellElement.");V=conversions.DOMString(V,{context:"Failed to set the 'vAlign' property on 'HTMLTableCellElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"valign",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get bgColor(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get bgColor' called on an object that is not a valid instance of HTMLTableCellElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"bgcolor");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set bgColor(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set bgColor' called on an object that is not a valid instance of HTMLTableCellElement.");V=conversions.DOMString(V,{context:"Failed to set the 'bgColor' property on 'HTMLTableCellElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"bgcolor",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTableCellElement.prototype,{colSpan:{enumerable:!0},rowSpan:{enumerable:!0},headers:{enumerable:!0},cellIndex:{enumerable:!0},scope:{enumerable:!0},abbr:{enumerable:!0},align:{enumerable:!0},axis:{enumerable:!0},height:{enumerable:!0},width:{enumerable:!0},ch:{enumerable:!0},chOff:{enumerable:!0},noWrap:{enumerable:!0},vAlign:{enumerable:!0},bgColor:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLTableCellElement",configurable:!0}}),ctorRegistry.HTMLTableCellElement=HTMLTableCellElement,Object.defineProperty(globalObject,"HTMLTableCellElement",{configurable:!0,writable:!0,value:HTMLTableCellElement})};const Impl=__webpack_require__(94862)},45283:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,parseNonNegativeInteger_helpers_strings=__webpack_require__(27896).parseNonNegativeInteger,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLTableColElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLTableColElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLTableColElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLTableColElement",new.target)}get span(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get span' called on an object that is not a valid instance of HTMLTableColElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"span");return null===value?0:(value=parseNonNegativeInteger_helpers_strings(value),null!==value&&value>=0&&value<=2147483647?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set span(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set span' called on an object that is not a valid instance of HTMLTableColElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'span' property on 'HTMLTableColElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"span",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLTableColElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLTableColElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLTableColElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get ch(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ch' called on an object that is not a valid instance of HTMLTableColElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"char");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set ch(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ch' called on an object that is not a valid instance of HTMLTableColElement.");V=conversions.DOMString(V,{context:"Failed to set the 'ch' property on 'HTMLTableColElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"char",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get chOff(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get chOff' called on an object that is not a valid instance of HTMLTableColElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"charoff");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set chOff(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set chOff' called on an object that is not a valid instance of HTMLTableColElement.");V=conversions.DOMString(V,{context:"Failed to set the 'chOff' property on 'HTMLTableColElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"charoff",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vAlign(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get vAlign' called on an object that is not a valid instance of HTMLTableColElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"valign");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vAlign(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set vAlign' called on an object that is not a valid instance of HTMLTableColElement.");V=conversions.DOMString(V,{context:"Failed to set the 'vAlign' property on 'HTMLTableColElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"valign",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get width' called on an object that is not a valid instance of HTMLTableColElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set width' called on an object that is not a valid instance of HTMLTableColElement.");V=conversions.DOMString(V,{context:"Failed to set the 'width' property on 'HTMLTableColElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTableColElement.prototype,{span:{enumerable:!0},align:{enumerable:!0},ch:{enumerable:!0},chOff:{enumerable:!0},vAlign:{enumerable:!0},width:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLTableColElement",configurable:!0}}),ctorRegistry.HTMLTableColElement=HTMLTableColElement,Object.defineProperty(globalObject,"HTMLTableColElement",{configurable:!0,writable:!0,value:HTMLTableColElement})};const Impl=__webpack_require__(72173)},71188:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,HTMLTableCaptionElement=__webpack_require__(53490),HTMLTableSectionElement=__webpack_require__(6944),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLTableElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLTableElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLTableElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLTableElement",new.target)}createCaption(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createCaption' called on an object that is not a valid instance of HTMLTableElement.");return utils.tryWrapperForImpl(esValue[implSymbol].createCaption())}deleteCaption(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'deleteCaption' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteCaption()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}createTHead(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createTHead' called on an object that is not a valid instance of HTMLTableElement.");return utils.tryWrapperForImpl(esValue[implSymbol].createTHead())}deleteTHead(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'deleteTHead' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteTHead()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}createTFoot(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createTFoot' called on an object that is not a valid instance of HTMLTableElement.");return utils.tryWrapperForImpl(esValue[implSymbol].createTFoot())}deleteTFoot(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'deleteTFoot' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteTFoot()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}createTBody(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createTBody' called on an object that is not a valid instance of HTMLTableElement.");return utils.tryWrapperForImpl(esValue[implSymbol].createTBody())}insertRow(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'insertRow' called on an object that is not a valid instance of HTMLTableElement.");const args=[];{let curArg=arguments[0];curArg=void 0!==curArg?conversions.long(curArg,{context:"Failed to execute 'insertRow' on 'HTMLTableElement': parameter 1",globals:globalObject}):-1,args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].insertRow(...args))}deleteRow(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'deleteRow' called on an object that is not a valid instance of HTMLTableElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'deleteRow' on 'HTMLTableElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.long(curArg,{context:"Failed to execute 'deleteRow' on 'HTMLTableElement': parameter 1",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteRow(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get caption(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get caption' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].caption)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set caption(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set caption' called on an object that is not a valid instance of HTMLTableElement.");V=null==V?null:HTMLTableCaptionElement.convert(globalObject,V,{context:"Failed to set the 'caption' property on 'HTMLTableElement': The provided value"}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].caption=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get tHead(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get tHead' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].tHead)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set tHead(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set tHead' called on an object that is not a valid instance of HTMLTableElement.");V=null==V?null:HTMLTableSectionElement.convert(globalObject,V,{context:"Failed to set the 'tHead' property on 'HTMLTableElement': The provided value"}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].tHead=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get tFoot(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get tFoot' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].tFoot)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set tFoot(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set tFoot' called on an object that is not a valid instance of HTMLTableElement.");V=null==V?null:HTMLTableSectionElement.convert(globalObject,V,{context:"Failed to set the 'tFoot' property on 'HTMLTableElement': The provided value"}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].tFoot=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get tBodies(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get tBodies' called on an object that is not a valid instance of HTMLTableElement.");return utils.getSameObject(this,"tBodies",(()=>utils.tryWrapperForImpl(esValue[implSymbol].tBodies)))}get rows(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rows' called on an object that is not a valid instance of HTMLTableElement.");return utils.getSameObject(this,"rows",(()=>utils.tryWrapperForImpl(esValue[implSymbol].rows)))}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLTableElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLTableElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get border(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get border' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"border");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set border(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set border' called on an object that is not a valid instance of HTMLTableElement.");V=conversions.DOMString(V,{context:"Failed to set the 'border' property on 'HTMLTableElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"border",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get frame(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get frame' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"frame");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set frame(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set frame' called on an object that is not a valid instance of HTMLTableElement.");V=conversions.DOMString(V,{context:"Failed to set the 'frame' property on 'HTMLTableElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"frame",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rules(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rules' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"rules");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rules(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set rules' called on an object that is not a valid instance of HTMLTableElement.");V=conversions.DOMString(V,{context:"Failed to set the 'rules' property on 'HTMLTableElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"rules",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get summary(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get summary' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"summary");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set summary(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set summary' called on an object that is not a valid instance of HTMLTableElement.");V=conversions.DOMString(V,{context:"Failed to set the 'summary' property on 'HTMLTableElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"summary",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get width' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set width' called on an object that is not a valid instance of HTMLTableElement.");V=conversions.DOMString(V,{context:"Failed to set the 'width' property on 'HTMLTableElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get bgColor(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get bgColor' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"bgcolor");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set bgColor(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set bgColor' called on an object that is not a valid instance of HTMLTableElement.");V=conversions.DOMString(V,{context:"Failed to set the 'bgColor' property on 'HTMLTableElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"bgcolor",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get cellPadding(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get cellPadding' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"cellpadding");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set cellPadding(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set cellPadding' called on an object that is not a valid instance of HTMLTableElement.");V=conversions.DOMString(V,{context:"Failed to set the 'cellPadding' property on 'HTMLTableElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"cellpadding",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get cellSpacing(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get cellSpacing' called on an object that is not a valid instance of HTMLTableElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"cellspacing");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set cellSpacing(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set cellSpacing' called on an object that is not a valid instance of HTMLTableElement.");V=conversions.DOMString(V,{context:"Failed to set the 'cellSpacing' property on 'HTMLTableElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"cellspacing",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTableElement.prototype,{createCaption:{enumerable:!0},deleteCaption:{enumerable:!0},createTHead:{enumerable:!0},deleteTHead:{enumerable:!0},createTFoot:{enumerable:!0},deleteTFoot:{enumerable:!0},createTBody:{enumerable:!0},insertRow:{enumerable:!0},deleteRow:{enumerable:!0},caption:{enumerable:!0},tHead:{enumerable:!0},tFoot:{enumerable:!0},tBodies:{enumerable:!0},rows:{enumerable:!0},align:{enumerable:!0},border:{enumerable:!0},frame:{enumerable:!0},rules:{enumerable:!0},summary:{enumerable:!0},width:{enumerable:!0},bgColor:{enumerable:!0},cellPadding:{enumerable:!0},cellSpacing:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLTableElement",configurable:!0}}),ctorRegistry.HTMLTableElement=HTMLTableElement,Object.defineProperty(globalObject,"HTMLTableElement",{configurable:!0,writable:!0,value:HTMLTableElement})};const Impl=__webpack_require__(65612)},72688:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLTableRowElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLTableRowElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLTableRowElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLTableRowElement",new.target)}insertCell(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'insertCell' called on an object that is not a valid instance of HTMLTableRowElement.");const args=[];{let curArg=arguments[0];curArg=void 0!==curArg?conversions.long(curArg,{context:"Failed to execute 'insertCell' on 'HTMLTableRowElement': parameter 1",globals:globalObject}):-1,args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].insertCell(...args))}deleteCell(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'deleteCell' called on an object that is not a valid instance of HTMLTableRowElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'deleteCell' on 'HTMLTableRowElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.long(curArg,{context:"Failed to execute 'deleteCell' on 'HTMLTableRowElement': parameter 1",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteCell(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rowIndex(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rowIndex' called on an object that is not a valid instance of HTMLTableRowElement.");return esValue[implSymbol].rowIndex}get sectionRowIndex(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get sectionRowIndex' called on an object that is not a valid instance of HTMLTableRowElement.");return esValue[implSymbol].sectionRowIndex}get cells(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get cells' called on an object that is not a valid instance of HTMLTableRowElement.");return utils.getSameObject(this,"cells",(()=>utils.tryWrapperForImpl(esValue[implSymbol].cells)))}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLTableRowElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLTableRowElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLTableRowElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get ch(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ch' called on an object that is not a valid instance of HTMLTableRowElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"char");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set ch(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ch' called on an object that is not a valid instance of HTMLTableRowElement.");V=conversions.DOMString(V,{context:"Failed to set the 'ch' property on 'HTMLTableRowElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"char",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get chOff(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get chOff' called on an object that is not a valid instance of HTMLTableRowElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"charoff");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set chOff(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set chOff' called on an object that is not a valid instance of HTMLTableRowElement.");V=conversions.DOMString(V,{context:"Failed to set the 'chOff' property on 'HTMLTableRowElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"charoff",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vAlign(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get vAlign' called on an object that is not a valid instance of HTMLTableRowElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"valign");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vAlign(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set vAlign' called on an object that is not a valid instance of HTMLTableRowElement.");V=conversions.DOMString(V,{context:"Failed to set the 'vAlign' property on 'HTMLTableRowElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"valign",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get bgColor(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get bgColor' called on an object that is not a valid instance of HTMLTableRowElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"bgcolor");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set bgColor(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set bgColor' called on an object that is not a valid instance of HTMLTableRowElement.");V=conversions.DOMString(V,{context:"Failed to set the 'bgColor' property on 'HTMLTableRowElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"bgcolor",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTableRowElement.prototype,{insertCell:{enumerable:!0},deleteCell:{enumerable:!0},rowIndex:{enumerable:!0},sectionRowIndex:{enumerable:!0},cells:{enumerable:!0},align:{enumerable:!0},ch:{enumerable:!0},chOff:{enumerable:!0},vAlign:{enumerable:!0},bgColor:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLTableRowElement",configurable:!0}}),ctorRegistry.HTMLTableRowElement=HTMLTableRowElement,Object.defineProperty(globalObject,"HTMLTableRowElement",{configurable:!0,writable:!0,value:HTMLTableRowElement})};const Impl=__webpack_require__(75236)},6944:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLTableSectionElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLTableSectionElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLTableSectionElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLTableSectionElement",new.target)}insertRow(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'insertRow' called on an object that is not a valid instance of HTMLTableSectionElement.");const args=[];{let curArg=arguments[0];curArg=void 0!==curArg?conversions.long(curArg,{context:"Failed to execute 'insertRow' on 'HTMLTableSectionElement': parameter 1",globals:globalObject}):-1,args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].insertRow(...args))}deleteRow(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'deleteRow' called on an object that is not a valid instance of HTMLTableSectionElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'deleteRow' on 'HTMLTableSectionElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.long(curArg,{context:"Failed to execute 'deleteRow' on 'HTMLTableSectionElement': parameter 1",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteRow(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rows(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rows' called on an object that is not a valid instance of HTMLTableSectionElement.");return utils.getSameObject(this,"rows",(()=>utils.tryWrapperForImpl(esValue[implSymbol].rows)))}get align(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get align' called on an object that is not a valid instance of HTMLTableSectionElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set align' called on an object that is not a valid instance of HTMLTableSectionElement.");V=conversions.DOMString(V,{context:"Failed to set the 'align' property on 'HTMLTableSectionElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get ch(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ch' called on an object that is not a valid instance of HTMLTableSectionElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"char");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set ch(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ch' called on an object that is not a valid instance of HTMLTableSectionElement.");V=conversions.DOMString(V,{context:"Failed to set the 'ch' property on 'HTMLTableSectionElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"char",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get chOff(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get chOff' called on an object that is not a valid instance of HTMLTableSectionElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"charoff");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set chOff(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set chOff' called on an object that is not a valid instance of HTMLTableSectionElement.");V=conversions.DOMString(V,{context:"Failed to set the 'chOff' property on 'HTMLTableSectionElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"charoff",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vAlign(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get vAlign' called on an object that is not a valid instance of HTMLTableSectionElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"valign");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vAlign(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set vAlign' called on an object that is not a valid instance of HTMLTableSectionElement.");V=conversions.DOMString(V,{context:"Failed to set the 'vAlign' property on 'HTMLTableSectionElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"valign",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTableSectionElement.prototype,{insertRow:{enumerable:!0},deleteRow:{enumerable:!0},rows:{enumerable:!0},align:{enumerable:!0},ch:{enumerable:!0},chOff:{enumerable:!0},vAlign:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLTableSectionElement",configurable:!0}}),ctorRegistry.HTMLTableSectionElement=HTMLTableSectionElement,Object.defineProperty(globalObject,"HTMLTableSectionElement",{configurable:!0,writable:!0,value:HTMLTableSectionElement})};const Impl=__webpack_require__(997)},8876:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLTemplateElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLTemplateElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLTemplateElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLTemplateElement",new.target)}get content(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get content' called on an object that is not a valid instance of HTMLTemplateElement.");return utils.tryWrapperForImpl(esValue[implSymbol].content)}}Object.defineProperties(HTMLTemplateElement.prototype,{content:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLTemplateElement",configurable:!0}}),ctorRegistry.HTMLTemplateElement=HTMLTemplateElement,Object.defineProperty(globalObject,"HTMLTemplateElement",{configurable:!0,writable:!0,value:HTMLTemplateElement})};const Impl=__webpack_require__(16092)},53061:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,SelectionMode=__webpack_require__(81520),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,parseInteger_helpers_strings=__webpack_require__(27896).parseInteger,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLTextAreaElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLTextAreaElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLTextAreaElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLTextAreaElement",new.target)}checkValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'checkValidity' called on an object that is not a valid instance of HTMLTextAreaElement.");return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'reportValidity' called on an object that is not a valid instance of HTMLTextAreaElement.");return esValue[implSymbol].reportValidity()}setCustomValidity(error){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setCustomValidity' called on an object that is not a valid instance of HTMLTextAreaElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setCustomValidity' on 'HTMLTextAreaElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setCustomValidity' on 'HTMLTextAreaElement': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].setCustomValidity(...args)}select(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'select' called on an object that is not a valid instance of HTMLTextAreaElement.");return esValue[implSymbol].select()}setRangeText(replacement){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setRangeText' called on an object that is not a valid instance of HTMLTextAreaElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setRangeText' on 'HTMLTextAreaElement': 1 argument required, but only ${arguments.length} present.`);const args=[];switch(arguments.length){case 1:{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 1",globals:globalObject}),args.push(curArg)}break;case 2:throw new globalObject.TypeError(`Failed to execute 'setRangeText' on 'HTMLTextAreaElement': only ${arguments.length} arguments present.`);case 3:{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 3",globals:globalObject}),args.push(curArg)}break;default:{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 3",globals:globalObject}),args.push(curArg)}{let curArg=arguments[3];curArg=void 0!==curArg?SelectionMode.convert(globalObject,curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 4"}):"preserve",args.push(curArg)}}return esValue[implSymbol].setRangeText(...args)}setSelectionRange(start,end){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setSelectionRange' called on an object that is not a valid instance of HTMLTextAreaElement.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'setSelectionRange' on 'HTMLTextAreaElement': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setSelectionRange' on 'HTMLTextAreaElement': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setSelectionRange' on 'HTMLTextAreaElement': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];void 0!==curArg&&(curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setSelectionRange' on 'HTMLTextAreaElement': parameter 3",globals:globalObject})),args.push(curArg)}return esValue[implSymbol].setSelectionRange(...args)}get autocomplete(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get autocomplete' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"autocomplete");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set autocomplete(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set autocomplete' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'autocomplete' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"autocomplete",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get autofocus(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get autofocus' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"autofocus")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set autofocus(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set autofocus' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.boolean(V,{context:"Failed to set the 'autofocus' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"autofocus",""):esValue[implSymbol].removeAttributeNS(null,"autofocus")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get cols(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get cols' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].cols}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set cols(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set cols' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'cols' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].cols=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get dirName(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get dirName' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"dirname");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set dirName(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set dirName' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'dirName' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"dirname",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get disabled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get disabled' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set disabled(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set disabled' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.boolean(V,{context:"Failed to set the 'disabled' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"disabled",""):esValue[implSymbol].removeAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get form(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get form' called on an object that is not a valid instance of HTMLTextAreaElement.");return utils.tryWrapperForImpl(esValue[implSymbol].form)}get inputMode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get inputMode' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"inputmode");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set inputMode(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set inputMode' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'inputMode' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"inputmode",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get maxLength(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get maxLength' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"maxlength");return null===value?0:(value=parseInteger_helpers_strings(value),null!==value&&conversions.long(value)===value?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set maxLength(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set maxLength' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.long(V,{context:"Failed to set the 'maxLength' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"maxlength",String(V))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get minLength(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get minLength' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"minlength");return null===value?0:(value=parseInteger_helpers_strings(value),null!==value&&conversions.long(value)===value?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set minLength(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set minLength' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.long(V,{context:"Failed to set the 'minLength' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"minlength",String(V))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set name' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'name' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get placeholder(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get placeholder' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"placeholder");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set placeholder(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set placeholder' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'placeholder' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"placeholder",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get readOnly(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get readOnly' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"readonly")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set readOnly(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set readOnly' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.boolean(V,{context:"Failed to set the 'readOnly' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"readonly",""):esValue[implSymbol].removeAttributeNS(null,"readonly")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get required(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get required' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"required")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set required(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set required' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.boolean(V,{context:"Failed to set the 'required' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"required",""):esValue[implSymbol].removeAttributeNS(null,"required")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rows(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rows' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].rows}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rows(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set rows' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'rows' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].rows=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get wrap(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get wrap' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"wrap");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set wrap(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set wrap' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'wrap' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"wrap",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLTextAreaElement.");return esValue[implSymbol].type}get defaultValue(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get defaultValue' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].defaultValue}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set defaultValue(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set defaultValue' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'defaultValue' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].defaultValue=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get value(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get value' called on an object that is not a valid instance of HTMLTextAreaElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set value' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'value' property on 'HTMLTextAreaElement': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].value=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get textLength(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get textLength' called on an object that is not a valid instance of HTMLTextAreaElement.");return esValue[implSymbol].textLength}get willValidate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get willValidate' called on an object that is not a valid instance of HTMLTextAreaElement.");return esValue[implSymbol].willValidate}get validity(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get validity' called on an object that is not a valid instance of HTMLTextAreaElement.");return utils.tryWrapperForImpl(esValue[implSymbol].validity)}get validationMessage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get validationMessage' called on an object that is not a valid instance of HTMLTextAreaElement.");return esValue[implSymbol].validationMessage}get labels(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get labels' called on an object that is not a valid instance of HTMLTextAreaElement.");return utils.tryWrapperForImpl(esValue[implSymbol].labels)}get selectionStart(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get selectionStart' called on an object that is not a valid instance of HTMLTextAreaElement.");return esValue[implSymbol].selectionStart}set selectionStart(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set selectionStart' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'selectionStart' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),esValue[implSymbol].selectionStart=V}get selectionEnd(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get selectionEnd' called on an object that is not a valid instance of HTMLTextAreaElement.");return esValue[implSymbol].selectionEnd}set selectionEnd(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set selectionEnd' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'selectionEnd' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),esValue[implSymbol].selectionEnd=V}get selectionDirection(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get selectionDirection' called on an object that is not a valid instance of HTMLTextAreaElement.");return esValue[implSymbol].selectionDirection}set selectionDirection(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set selectionDirection' called on an object that is not a valid instance of HTMLTextAreaElement.");V=conversions.DOMString(V,{context:"Failed to set the 'selectionDirection' property on 'HTMLTextAreaElement': The provided value",globals:globalObject}),esValue[implSymbol].selectionDirection=V}}Object.defineProperties(HTMLTextAreaElement.prototype,{checkValidity:{enumerable:!0},reportValidity:{enumerable:!0},setCustomValidity:{enumerable:!0},select:{enumerable:!0},setRangeText:{enumerable:!0},setSelectionRange:{enumerable:!0},autocomplete:{enumerable:!0},autofocus:{enumerable:!0},cols:{enumerable:!0},dirName:{enumerable:!0},disabled:{enumerable:!0},form:{enumerable:!0},inputMode:{enumerable:!0},maxLength:{enumerable:!0},minLength:{enumerable:!0},name:{enumerable:!0},placeholder:{enumerable:!0},readOnly:{enumerable:!0},required:{enumerable:!0},rows:{enumerable:!0},wrap:{enumerable:!0},type:{enumerable:!0},defaultValue:{enumerable:!0},value:{enumerable:!0},textLength:{enumerable:!0},willValidate:{enumerable:!0},validity:{enumerable:!0},validationMessage:{enumerable:!0},labels:{enumerable:!0},selectionStart:{enumerable:!0},selectionEnd:{enumerable:!0},selectionDirection:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLTextAreaElement",configurable:!0}}),ctorRegistry.HTMLTextAreaElement=HTMLTextAreaElement,Object.defineProperty(globalObject,"HTMLTextAreaElement",{configurable:!0,writable:!0,value:HTMLTextAreaElement})};const Impl=__webpack_require__(43156)},26501:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLTimeElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLTimeElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLTimeElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLTimeElement",new.target)}get dateTime(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get dateTime' called on an object that is not a valid instance of HTMLTimeElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"datetime");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set dateTime(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set dateTime' called on an object that is not a valid instance of HTMLTimeElement.");V=conversions.DOMString(V,{context:"Failed to set the 'dateTime' property on 'HTMLTimeElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"datetime",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTimeElement.prototype,{dateTime:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLTimeElement",configurable:!0}}),ctorRegistry.HTMLTimeElement=HTMLTimeElement,Object.defineProperty(globalObject,"HTMLTimeElement",{configurable:!0,writable:!0,value:HTMLTimeElement})};const Impl=__webpack_require__(15972)},19577:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLTitleElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLTitleElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLTitleElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLTitleElement",new.target)}get text(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get text' called on an object that is not a valid instance of HTMLTitleElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].text}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set text(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set text' called on an object that is not a valid instance of HTMLTitleElement.");V=conversions.DOMString(V,{context:"Failed to set the 'text' property on 'HTMLTitleElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].text=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTitleElement.prototype,{text:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLTitleElement",configurable:!0}}),ctorRegistry.HTMLTitleElement=HTMLTitleElement,Object.defineProperty(globalObject,"HTMLTitleElement",{configurable:!0,writable:!0,value:HTMLTitleElement})};const Impl=__webpack_require__(26939)},10067:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,parseURLToResultingURLRecord_helpers_document_base_url=__webpack_require__(33282).parseURLToResultingURLRecord,serializeURLwhatwg_url=__webpack_require__(77101).serializeURL,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLTrackElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLTrackElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLTrackElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLTrackElement",new.target)}get kind(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get kind' called on an object that is not a valid instance of HTMLTrackElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"kind");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set kind(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set kind' called on an object that is not a valid instance of HTMLTrackElement.");V=conversions.DOMString(V,{context:"Failed to set the 'kind' property on 'HTMLTrackElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"kind",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get src(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get src' called on an object that is not a valid instance of HTMLTrackElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set src' called on an object that is not a valid instance of HTMLTrackElement.");V=conversions.USVString(V,{context:"Failed to set the 'src' property on 'HTMLTrackElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get srclang(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get srclang' called on an object that is not a valid instance of HTMLTrackElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"srclang");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set srclang(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set srclang' called on an object that is not a valid instance of HTMLTrackElement.");V=conversions.DOMString(V,{context:"Failed to set the 'srclang' property on 'HTMLTrackElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"srclang",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get label(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get label' called on an object that is not a valid instance of HTMLTrackElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"label");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set label(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set label' called on an object that is not a valid instance of HTMLTrackElement.");V=conversions.DOMString(V,{context:"Failed to set the 'label' property on 'HTMLTrackElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"label",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get default(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get default' called on an object that is not a valid instance of HTMLTrackElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"default")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set default(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set default' called on an object that is not a valid instance of HTMLTrackElement.");V=conversions.boolean(V,{context:"Failed to set the 'default' property on 'HTMLTrackElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"default",""):esValue[implSymbol].removeAttributeNS(null,"default")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get readyState(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get readyState' called on an object that is not a valid instance of HTMLTrackElement.");return esValue[implSymbol].readyState}}Object.defineProperties(HTMLTrackElement.prototype,{kind:{enumerable:!0},src:{enumerable:!0},srclang:{enumerable:!0},label:{enumerable:!0},default:{enumerable:!0},readyState:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLTrackElement",configurable:!0},NONE:{value:0,enumerable:!0},LOADING:{value:1,enumerable:!0},LOADED:{value:2,enumerable:!0},ERROR:{value:3,enumerable:!0}}),Object.defineProperties(HTMLTrackElement,{NONE:{value:0,enumerable:!0},LOADING:{value:1,enumerable:!0},LOADED:{value:2,enumerable:!0},ERROR:{value:3,enumerable:!0}}),ctorRegistry.HTMLTrackElement=HTMLTrackElement,Object.defineProperty(globalObject,"HTMLTrackElement",{configurable:!0,writable:!0,value:HTMLTrackElement})};const Impl=__webpack_require__(36385)},11584:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLUListElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLUListElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLUListElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLUListElement",new.target)}get compact(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get compact' called on an object that is not a valid instance of HTMLUListElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set compact(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set compact' called on an object that is not a valid instance of HTMLUListElement.");V=conversions.boolean(V,{context:"Failed to set the 'compact' property on 'HTMLUListElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"compact",""):esValue[implSymbol].removeAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of HTMLUListElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return null===value?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set type' called on an object that is not a valid instance of HTMLUListElement.");V=conversions.DOMString(V,{context:"Failed to set the 'type' property on 'HTMLUListElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLUListElement.prototype,{compact:{enumerable:!0},type:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLUListElement",configurable:!0}}),ctorRegistry.HTMLUListElement=HTMLUListElement,Object.defineProperty(globalObject,"HTMLUListElement",{configurable:!0,writable:!0,value:HTMLUListElement})};const Impl=__webpack_require__(29715)},24209:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLElement=__webpack_require__(12028);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLUnknownElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLUnknownElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLUnknownElement extends globalObject.HTMLElement{constructor(){throw new globalObject.TypeError("Illegal constructor")}}Object.defineProperties(HTMLUnknownElement.prototype,{[Symbol.toStringTag]:{value:"HTMLUnknownElement",configurable:!0}}),ctorRegistry.HTMLUnknownElement=HTMLUnknownElement,Object.defineProperty(globalObject,"HTMLUnknownElement",{configurable:!0,writable:!0,value:HTMLUnknownElement})};const Impl=__webpack_require__(83539)},39965:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HTMLConstructor_helpers_html_constructor=__webpack_require__(93581).HTMLConstructor,parseNonNegativeInteger_helpers_strings=__webpack_require__(27896).parseNonNegativeInteger,ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,parseURLToResultingURLRecord_helpers_document_base_url=__webpack_require__(33282).parseURLToResultingURLRecord,serializeURLwhatwg_url=__webpack_require__(77101).serializeURL,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,HTMLMediaElement=__webpack_require__(39548);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HTMLVideoElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HTMLVideoElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{HTMLMediaElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HTMLVideoElement extends globalObject.HTMLMediaElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,"HTMLVideoElement",new.target)}get width(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get width' called on an object that is not a valid instance of HTMLVideoElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"width");return null===value?0:(value=parseNonNegativeInteger_helpers_strings(value),null!==value&&value>=0&&value<=2147483647?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set width' called on an object that is not a valid instance of HTMLVideoElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'width' property on 'HTMLVideoElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"width",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get height' called on an object that is not a valid instance of HTMLVideoElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"height");return null===value?0:(value=parseNonNegativeInteger_helpers_strings(value),null!==value&&value>=0&&value<=2147483647?value:0)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set height' called on an object that is not a valid instance of HTMLVideoElement.");V=conversions["unsigned long"](V,{context:"Failed to set the 'height' property on 'HTMLVideoElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"height",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get videoWidth(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get videoWidth' called on an object that is not a valid instance of HTMLVideoElement.");return esValue[implSymbol].videoWidth}get videoHeight(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get videoHeight' called on an object that is not a valid instance of HTMLVideoElement.");return esValue[implSymbol].videoHeight}get poster(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get poster' called on an object that is not a valid instance of HTMLVideoElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"poster");if(null===value)return"";const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);return null!==urlRecord?serializeURLwhatwg_url(urlRecord):conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set poster(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set poster' called on an object that is not a valid instance of HTMLVideoElement.");V=conversions.USVString(V,{context:"Failed to set the 'poster' property on 'HTMLVideoElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"poster",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get playsInline(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get playsInline' called on an object that is not a valid instance of HTMLVideoElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"playsinline")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set playsInline(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set playsInline' called on an object that is not a valid instance of HTMLVideoElement.");V=conversions.boolean(V,{context:"Failed to set the 'playsInline' property on 'HTMLVideoElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{V?esValue[implSymbol].setAttributeNS(null,"playsinline",""):esValue[implSymbol].removeAttributeNS(null,"playsinline")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLVideoElement.prototype,{width:{enumerable:!0},height:{enumerable:!0},videoWidth:{enumerable:!0},videoHeight:{enumerable:!0},poster:{enumerable:!0},playsInline:{enumerable:!0},[Symbol.toStringTag]:{value:"HTMLVideoElement",configurable:!0}}),ctorRegistry.HTMLVideoElement=HTMLVideoElement,Object.defineProperty(globalObject,"HTMLVideoElement",{configurable:!0,writable:!0,value:HTMLVideoElement})};const Impl=__webpack_require__(75599)},14876:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),HashChangeEventInit=__webpack_require__(77541),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Event=__webpack_require__(6776);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].HashChangeEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'HashChangeEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class HashChangeEvent extends globalObject.Event{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'HashChangeEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'HashChangeEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=HashChangeEventInit.convert(globalObject,curArg,{context:"Failed to construct 'HashChangeEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get oldURL(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oldURL' called on an object that is not a valid instance of HashChangeEvent.");return esValue[implSymbol].oldURL}get newURL(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get newURL' called on an object that is not a valid instance of HashChangeEvent.");return esValue[implSymbol].newURL}}Object.defineProperties(HashChangeEvent.prototype,{oldURL:{enumerable:!0},newURL:{enumerable:!0},[Symbol.toStringTag]:{value:"HashChangeEvent",configurable:!0}}),ctorRegistry.HashChangeEvent=HashChangeEvent,Object.defineProperty(globalObject,"HashChangeEvent",{configurable:!0,writable:!0,value:HashChangeEvent})};const Impl=__webpack_require__(33184)},77541:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),EventInit=(__webpack_require__(80421),__webpack_require__(75061));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="newURL";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.USVString(value,{context:context+" has member 'newURL' that",globals:globalObject}),ret[key]=value):ret[key]=""}{const key="oldURL";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.USVString(value,{context:context+" has member 'oldURL' that",globals:globalObject}),ret[key]=value):ret[key]=""}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},63862:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),Function=__webpack_require__(29111),newObjectInRealm=utils.newObjectInRealm,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Headers.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Headers'.`)},exports.createDefaultIterator=(globalObject,target,kind)=>{const iteratorPrototype=globalObject[ctorRegistrySymbol]["Headers Iterator"],iterator=Object.create(iteratorPrototype);return Object.defineProperty(iterator,utils.iterInternalSymbol,{value:{target:target,kind:kind,index:0},configurable:!0}),iterator},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Headers{constructor(){const args=[];{let curArg=arguments[0];if(void 0!==curArg){if(!utils.isObject(curArg))throw new globalObject.TypeError("Failed to construct 'Headers': parameter 1 is not of any supported type.");if(void 0!==curArg[Symbol.iterator]){if(!utils.isObject(curArg))throw new globalObject.TypeError("Failed to construct 'Headers': parameter 1 sequence is not an iterable object.");{const V=[],tmp=curArg;for(let nextItem of tmp){if(!utils.isObject(nextItem))throw new globalObject.TypeError("Failed to construct 'Headers': parameter 1 sequence's element is not an iterable object.");{const V=[],tmp=nextItem;for(let nextItem of tmp)nextItem=conversions.ByteString(nextItem,{context:"Failed to construct 'Headers': parameter 1 sequence's element's element",globals:globalObject}),V.push(nextItem);nextItem=V}V.push(nextItem)}curArg=V}}else{if(!utils.isObject(curArg))throw new globalObject.TypeError("Failed to construct 'Headers': parameter 1 record is not an object.");{const result=Object.create(null);for(const key of Reflect.ownKeys(curArg)){const desc=Object.getOwnPropertyDescriptor(curArg,key);if(desc&&desc.enumerable){let typedKey=key;typedKey=conversions.ByteString(typedKey,{context:"Failed to construct 'Headers': parameter 1 record's key",globals:globalObject});let typedValue=curArg[key];typedValue=conversions.ByteString(typedValue,{context:"Failed to construct 'Headers': parameter 1 record's value",globals:globalObject}),result[typedKey]=typedValue}}curArg=result}}}args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}append(name,value){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'append' called on an object that is not a valid instance of Headers.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'append' on 'Headers': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.ByteString(curArg,{context:"Failed to execute 'append' on 'Headers': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.ByteString(curArg,{context:"Failed to execute 'append' on 'Headers': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].append(...args)}delete(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'delete' called on an object that is not a valid instance of Headers.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'delete' on 'Headers': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.ByteString(curArg,{context:"Failed to execute 'delete' on 'Headers': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].delete(...args)}get(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get' called on an object that is not a valid instance of Headers.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'get' on 'Headers': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.ByteString(curArg,{context:"Failed to execute 'get' on 'Headers': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].get(...args)}has(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'has' called on an object that is not a valid instance of Headers.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'has' on 'Headers': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.ByteString(curArg,{context:"Failed to execute 'has' on 'Headers': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].has(...args)}set(name,value){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set' called on an object that is not a valid instance of Headers.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'set' on 'Headers': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.ByteString(curArg,{context:"Failed to execute 'set' on 'Headers': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.ByteString(curArg,{context:"Failed to execute 'set' on 'Headers': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].set(...args)}keys(){if(!exports.is(this))throw new globalObject.TypeError("'keys' called on an object that is not a valid instance of Headers.");return exports.createDefaultIterator(globalObject,this,"key")}values(){if(!exports.is(this))throw new globalObject.TypeError("'values' called on an object that is not a valid instance of Headers.");return exports.createDefaultIterator(globalObject,this,"value")}entries(){if(!exports.is(this))throw new globalObject.TypeError("'entries' called on an object that is not a valid instance of Headers.");return exports.createDefaultIterator(globalObject,this,"key+value")}forEach(callback){if(!exports.is(this))throw new globalObject.TypeError("'forEach' called on an object that is not a valid instance of Headers.");if(arguments.length<1)throw new globalObject.TypeError("Failed to execute 'forEach' on 'iterable': 1 argument required, but only 0 present.");callback=Function.convert(globalObject,callback,{context:"Failed to execute 'forEach' on 'iterable': The callback provided as parameter 1"});const thisArg=arguments[1];let pairs=Array.from(this[implSymbol]),i=0;for(;i<pairs.length;){const[key,value]=pairs[i].map(utils.tryWrapperForImpl);callback.call(thisArg,value,key,this),pairs=Array.from(this[implSymbol]),i++}}}Object.defineProperties(Headers.prototype,{append:{enumerable:!0},delete:{enumerable:!0},get:{enumerable:!0},has:{enumerable:!0},set:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0},forEach:{enumerable:!0},[Symbol.toStringTag]:{value:"Headers",configurable:!0},[Symbol.iterator]:{value:Headers.prototype.entries,configurable:!0,writable:!0}}),ctorRegistry.Headers=Headers,ctorRegistry["Headers Iterator"]=Object.create(ctorRegistry["%IteratorPrototype%"],{[Symbol.toStringTag]:{configurable:!0,value:"Headers Iterator"}}),utils.define(ctorRegistry["Headers Iterator"],{next(){const internal=this&&this[utils.iterInternalSymbol];if(!internal)throw new globalObject.TypeError("next() called on a value that is not a Headers iterator object");const{target:target,kind:kind,index:index}=internal,values=Array.from(target[implSymbol]);if(index>=values.length)return newObjectInRealm(globalObject,{value:void 0,done:!0});const pair=values[index];return internal.index=index+1,newObjectInRealm(globalObject,utils.iteratorResult(pair.map(utils.tryWrapperForImpl),kind))}}),Object.defineProperty(globalObject,"Headers",{configurable:!0,writable:!0,value:Headers})};const Impl=__webpack_require__(5442)},31162:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].History.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'History'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class History{constructor(){throw new globalObject.TypeError("Illegal constructor")}go(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'go' called on an object that is not a valid instance of History.");const args=[];{let curArg=arguments[0];curArg=void 0!==curArg?conversions.long(curArg,{context:"Failed to execute 'go' on 'History': parameter 1",globals:globalObject}):0,args.push(curArg)}return esValue[implSymbol].go(...args)}back(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'back' called on an object that is not a valid instance of History.");return esValue[implSymbol].back()}forward(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'forward' called on an object that is not a valid instance of History.");return esValue[implSymbol].forward()}pushState(data,title){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'pushState' called on an object that is not a valid instance of History.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'pushState' on 'History': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.any(curArg,{context:"Failed to execute 'pushState' on 'History': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'pushState' on 'History': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=void 0!==curArg?null==curArg?null:conversions.USVString(curArg,{context:"Failed to execute 'pushState' on 'History': parameter 3",globals:globalObject}):null,args.push(curArg)}return esValue[implSymbol].pushState(...args)}replaceState(data,title){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'replaceState' called on an object that is not a valid instance of History.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'replaceState' on 'History': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.any(curArg,{context:"Failed to execute 'replaceState' on 'History': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'replaceState' on 'History': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=void 0!==curArg?null==curArg?null:conversions.USVString(curArg,{context:"Failed to execute 'replaceState' on 'History': parameter 3",globals:globalObject}):null,args.push(curArg)}return esValue[implSymbol].replaceState(...args)}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of History.");return esValue[implSymbol].length}get state(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get state' called on an object that is not a valid instance of History.");return esValue[implSymbol].state}}Object.defineProperties(History.prototype,{go:{enumerable:!0},back:{enumerable:!0},forward:{enumerable:!0},pushState:{enumerable:!0},replaceState:{enumerable:!0},length:{enumerable:!0},state:{enumerable:!0},[Symbol.toStringTag]:{value:"History",configurable:!0}}),ctorRegistry.History=History,Object.defineProperty(globalObject,"History",{configurable:!0,writable:!0,value:History})};const Impl=__webpack_require__(12311)},28402:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),InputEventInit=__webpack_require__(93793),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,UIEvent=__webpack_require__(9973);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].InputEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'InputEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{UIEvent._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class InputEvent extends globalObject.UIEvent{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'InputEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'InputEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=InputEventInit.convert(globalObject,curArg,{context:"Failed to construct 'InputEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get data(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get data' called on an object that is not a valid instance of InputEvent.");return esValue[implSymbol].data}get isComposing(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get isComposing' called on an object that is not a valid instance of InputEvent.");return esValue[implSymbol].isComposing}get inputType(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get inputType' called on an object that is not a valid instance of InputEvent.");return esValue[implSymbol].inputType}}Object.defineProperties(InputEvent.prototype,{data:{enumerable:!0},isComposing:{enumerable:!0},inputType:{enumerable:!0},[Symbol.toStringTag]:{value:"InputEvent",configurable:!0}}),ctorRegistry.InputEvent=InputEvent,Object.defineProperty(globalObject,"InputEvent",{configurable:!0,writable:!0,value:InputEvent})};const Impl=__webpack_require__(82891)},93793:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),UIEventInit=(__webpack_require__(80421),__webpack_require__(33032));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{UIEventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="data";let value=null==obj?void 0:obj[key];void 0!==value?(value=null==value?null:conversions.DOMString(value,{context:context+" has member 'data' that",globals:globalObject}),ret[key]=value):ret[key]=null}{const key="inputType";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.DOMString(value,{context:context+" has member 'inputType' that",globals:globalObject}),ret[key]=value):ret[key]=""}{const key="isComposing";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'isComposing' that",globals:globalObject}),ret[key]=value):ret[key]=!1}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},46355:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),KeyboardEventInit=__webpack_require__(39207),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,UIEvent=__webpack_require__(9973);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].KeyboardEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'KeyboardEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{UIEvent._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class KeyboardEvent extends globalObject.UIEvent{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'KeyboardEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'KeyboardEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=KeyboardEventInit.convert(globalObject,curArg,{context:"Failed to construct 'KeyboardEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}getModifierState(keyArg){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getModifierState' called on an object that is not a valid instance of KeyboardEvent.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getModifierState' on 'KeyboardEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getModifierState' on 'KeyboardEvent': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].getModifierState(...args)}initKeyboardEvent(typeArg){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'initKeyboardEvent' called on an object that is not a valid instance of KeyboardEvent.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 3",globals:globalObject}),args.push(curArg)}{let curArg=arguments[3];curArg=void 0!==curArg?null==curArg?null:utils.tryImplForWrapper(curArg):null,args.push(curArg)}{let curArg=arguments[4];curArg=void 0!==curArg?conversions.DOMString(curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 5",globals:globalObject}):"",args.push(curArg)}{let curArg=arguments[5];curArg=void 0!==curArg?conversions["unsigned long"](curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 6",globals:globalObject}):0,args.push(curArg)}{let curArg=arguments[6];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 7",globals:globalObject}),args.push(curArg)}{let curArg=arguments[7];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 8",globals:globalObject}),args.push(curArg)}{let curArg=arguments[8];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 9",globals:globalObject}),args.push(curArg)}{let curArg=arguments[9];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 10",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].initKeyboardEvent(...args)}get key(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get key' called on an object that is not a valid instance of KeyboardEvent.");return esValue[implSymbol].key}get code(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get code' called on an object that is not a valid instance of KeyboardEvent.");return esValue[implSymbol].code}get location(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get location' called on an object that is not a valid instance of KeyboardEvent.");return esValue[implSymbol].location}get ctrlKey(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ctrlKey' called on an object that is not a valid instance of KeyboardEvent.");return esValue[implSymbol].ctrlKey}get shiftKey(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get shiftKey' called on an object that is not a valid instance of KeyboardEvent.");return esValue[implSymbol].shiftKey}get altKey(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get altKey' called on an object that is not a valid instance of KeyboardEvent.");return esValue[implSymbol].altKey}get metaKey(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get metaKey' called on an object that is not a valid instance of KeyboardEvent.");return esValue[implSymbol].metaKey}get repeat(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get repeat' called on an object that is not a valid instance of KeyboardEvent.");return esValue[implSymbol].repeat}get isComposing(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get isComposing' called on an object that is not a valid instance of KeyboardEvent.");return esValue[implSymbol].isComposing}get charCode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get charCode' called on an object that is not a valid instance of KeyboardEvent.");return esValue[implSymbol].charCode}get keyCode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get keyCode' called on an object that is not a valid instance of KeyboardEvent.");return esValue[implSymbol].keyCode}}Object.defineProperties(KeyboardEvent.prototype,{getModifierState:{enumerable:!0},initKeyboardEvent:{enumerable:!0},key:{enumerable:!0},code:{enumerable:!0},location:{enumerable:!0},ctrlKey:{enumerable:!0},shiftKey:{enumerable:!0},altKey:{enumerable:!0},metaKey:{enumerable:!0},repeat:{enumerable:!0},isComposing:{enumerable:!0},charCode:{enumerable:!0},keyCode:{enumerable:!0},[Symbol.toStringTag]:{value:"KeyboardEvent",configurable:!0},DOM_KEY_LOCATION_STANDARD:{value:0,enumerable:!0},DOM_KEY_LOCATION_LEFT:{value:1,enumerable:!0},DOM_KEY_LOCATION_RIGHT:{value:2,enumerable:!0},DOM_KEY_LOCATION_NUMPAD:{value:3,enumerable:!0}}),Object.defineProperties(KeyboardEvent,{DOM_KEY_LOCATION_STANDARD:{value:0,enumerable:!0},DOM_KEY_LOCATION_LEFT:{value:1,enumerable:!0},DOM_KEY_LOCATION_RIGHT:{value:2,enumerable:!0},DOM_KEY_LOCATION_NUMPAD:{value:3,enumerable:!0}}),ctorRegistry.KeyboardEvent=KeyboardEvent,Object.defineProperty(globalObject,"KeyboardEvent",{configurable:!0,writable:!0,value:KeyboardEvent})};const Impl=__webpack_require__(59174)},39207:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),EventModifierInit=(__webpack_require__(80421),__webpack_require__(25150));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{EventModifierInit._convertInherit(globalObject,obj,ret,{context:context});{const key="charCode";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions["unsigned long"](value,{context:context+" has member 'charCode' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="code";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.DOMString(value,{context:context+" has member 'code' that",globals:globalObject}),ret[key]=value):ret[key]=""}{const key="isComposing";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'isComposing' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="key";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.DOMString(value,{context:context+" has member 'key' that",globals:globalObject}),ret[key]=value):ret[key]=""}{const key="keyCode";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions["unsigned long"](value,{context:context+" has member 'keyCode' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="location";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions["unsigned long"](value,{context:context+" has member 'location' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="repeat";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'repeat' that",globals:globalObject}),ret[key]=value):ret[key]=!1}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},71566:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Location.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Location'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{utils.define(wrapper,function getUnforgeables(globalObject){let unforgeables=unforgeablesMap.get(globalObject);return void 0===unforgeables&&(unforgeables=Object.create(null),utils.define(unforgeables,{assign(url){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'assign' called on an object that is not a valid instance of Location.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'assign' on 'Location': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'assign' on 'Location': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].assign(...args)},replace(url){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'replace' called on an object that is not a valid instance of Location.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'replace' on 'Location': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'replace' on 'Location': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].replace(...args)},reload(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'reload' called on an object that is not a valid instance of Location.");return esValue[implSymbol].reload()},get href(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get href' called on an object that is not a valid instance of Location.");return esValue[implSymbol].href},set href(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set href' called on an object that is not a valid instance of Location.");V=conversions.USVString(V,{context:"Failed to set the 'href' property on 'Location': The provided value",globals:globalObject}),esValue[implSymbol].href=V},toString(){if(!exports.is(this))throw new globalObject.TypeError("'toString' called on an object that is not a valid instance of Location.");return this[implSymbol].href},get origin(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get origin' called on an object that is not a valid instance of Location.");return esValue[implSymbol].origin},get protocol(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get protocol' called on an object that is not a valid instance of Location.");return esValue[implSymbol].protocol},set protocol(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set protocol' called on an object that is not a valid instance of Location.");V=conversions.USVString(V,{context:"Failed to set the 'protocol' property on 'Location': The provided value",globals:globalObject}),esValue[implSymbol].protocol=V},get host(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get host' called on an object that is not a valid instance of Location.");return esValue[implSymbol].host},set host(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set host' called on an object that is not a valid instance of Location.");V=conversions.USVString(V,{context:"Failed to set the 'host' property on 'Location': The provided value",globals:globalObject}),esValue[implSymbol].host=V},get hostname(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hostname' called on an object that is not a valid instance of Location.");return esValue[implSymbol].hostname},set hostname(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set hostname' called on an object that is not a valid instance of Location.");V=conversions.USVString(V,{context:"Failed to set the 'hostname' property on 'Location': The provided value",globals:globalObject}),esValue[implSymbol].hostname=V},get port(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get port' called on an object that is not a valid instance of Location.");return esValue[implSymbol].port},set port(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set port' called on an object that is not a valid instance of Location.");V=conversions.USVString(V,{context:"Failed to set the 'port' property on 'Location': The provided value",globals:globalObject}),esValue[implSymbol].port=V},get pathname(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get pathname' called on an object that is not a valid instance of Location.");return esValue[implSymbol].pathname},set pathname(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set pathname' called on an object that is not a valid instance of Location.");V=conversions.USVString(V,{context:"Failed to set the 'pathname' property on 'Location': The provided value",globals:globalObject}),esValue[implSymbol].pathname=V},get search(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get search' called on an object that is not a valid instance of Location.");return esValue[implSymbol].search},set search(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set search' called on an object that is not a valid instance of Location.");V=conversions.USVString(V,{context:"Failed to set the 'search' property on 'Location': The provided value",globals:globalObject}),esValue[implSymbol].search=V},get hash(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hash' called on an object that is not a valid instance of Location.");return esValue[implSymbol].hash},set hash(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set hash' called on an object that is not a valid instance of Location.");V=conversions.USVString(V,{context:"Failed to set the 'hash' property on 'Location': The provided value",globals:globalObject}),esValue[implSymbol].hash=V}}),Object.defineProperties(unforgeables,{assign:{configurable:!1,writable:!1},replace:{configurable:!1,writable:!1},reload:{configurable:!1,writable:!1},href:{configurable:!1},toString:{configurable:!1,writable:!1},origin:{configurable:!1},protocol:{configurable:!1},host:{configurable:!1},hostname:{configurable:!1},port:{configurable:!1},pathname:{configurable:!1},search:{configurable:!1},hash:{configurable:!1}}),unforgeablesMap.set(globalObject,unforgeables)),unforgeables}(globalObject))},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const unforgeablesMap=new WeakMap,exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Location{constructor(){throw new globalObject.TypeError("Illegal constructor")}}Object.defineProperties(Location.prototype,{[Symbol.toStringTag]:{value:"Location",configurable:!0}}),ctorRegistry.Location=Location,Object.defineProperty(globalObject,"Location",{configurable:!0,writable:!0,value:Location})};const Impl=__webpack_require__(53810)},25970:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),MessageEventInit=__webpack_require__(78339),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Event=__webpack_require__(6776);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].MessageEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'MessageEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker","AudioWorklet"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class MessageEvent extends globalObject.Event{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'MessageEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'MessageEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=MessageEventInit.convert(globalObject,curArg,{context:"Failed to construct 'MessageEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}initMessageEvent(type){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'initMessageEvent' called on an object that is not a valid instance of MessageEvent.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'initMessageEvent' on 'MessageEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'initMessageEvent' on 'MessageEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initMessageEvent' on 'MessageEvent': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initMessageEvent' on 'MessageEvent': parameter 3",globals:globalObject}),args.push(curArg)}{let curArg=arguments[3];curArg=void 0!==curArg?conversions.any(curArg,{context:"Failed to execute 'initMessageEvent' on 'MessageEvent': parameter 4",globals:globalObject}):null,args.push(curArg)}{let curArg=arguments[4];curArg=void 0!==curArg?conversions.USVString(curArg,{context:"Failed to execute 'initMessageEvent' on 'MessageEvent': parameter 5",globals:globalObject}):"",args.push(curArg)}{let curArg=arguments[5];curArg=void 0!==curArg?conversions.DOMString(curArg,{context:"Failed to execute 'initMessageEvent' on 'MessageEvent': parameter 6",globals:globalObject}):"",args.push(curArg)}{let curArg=arguments[6];curArg=void 0!==curArg?null==curArg?null:utils.tryImplForWrapper(curArg):null,args.push(curArg)}{let curArg=arguments[7];if(void 0!==curArg){if(!utils.isObject(curArg))throw new globalObject.TypeError("Failed to execute 'initMessageEvent' on 'MessageEvent': parameter 8 is not an iterable object.");{const V=[],tmp=curArg;for(let nextItem of tmp)nextItem=utils.tryImplForWrapper(nextItem),V.push(nextItem);curArg=V}}else curArg=[];args.push(curArg)}return esValue[implSymbol].initMessageEvent(...args)}get data(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get data' called on an object that is not a valid instance of MessageEvent.");return esValue[implSymbol].data}get origin(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get origin' called on an object that is not a valid instance of MessageEvent.");return esValue[implSymbol].origin}get lastEventId(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get lastEventId' called on an object that is not a valid instance of MessageEvent.");return esValue[implSymbol].lastEventId}get source(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get source' called on an object that is not a valid instance of MessageEvent.");return utils.tryWrapperForImpl(esValue[implSymbol].source)}get ports(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ports' called on an object that is not a valid instance of MessageEvent.");return utils.tryWrapperForImpl(esValue[implSymbol].ports)}}Object.defineProperties(MessageEvent.prototype,{initMessageEvent:{enumerable:!0},data:{enumerable:!0},origin:{enumerable:!0},lastEventId:{enumerable:!0},source:{enumerable:!0},ports:{enumerable:!0},[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0}}),ctorRegistry.MessageEvent=MessageEvent,Object.defineProperty(globalObject,"MessageEvent",{configurable:!0,writable:!0,value:MessageEvent})};const Impl=__webpack_require__(35532)},78339:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),EventInit=__webpack_require__(75061);exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="data";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.any(value,{context:context+" has member 'data' that",globals:globalObject}),ret[key]=value):ret[key]=null}{const key="lastEventId";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.DOMString(value,{context:context+" has member 'lastEventId' that",globals:globalObject}),ret[key]=value):ret[key]=""}{const key="origin";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.USVString(value,{context:context+" has member 'origin' that",globals:globalObject}),ret[key]=value):ret[key]=""}{const key="ports";let value=null==obj?void 0:obj[key];if(void 0!==value){if(!utils.isObject(value))throw new globalObject.TypeError(context+" has member 'ports' that is not an iterable object.");{const V=[],tmp=value;for(let nextItem of tmp)nextItem=utils.tryImplForWrapper(nextItem),V.push(nextItem);value=V}ret[key]=value}else ret[key]=[]}{const key="source";let value=null==obj?void 0:obj[key];void 0!==value?(value=null==value?null:utils.tryImplForWrapper(value),ret[key]=value):ret[key]=null}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},66865:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].MimeType.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'MimeType'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class MimeType{constructor(){throw new globalObject.TypeError("Illegal constructor")}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of MimeType.");return esValue[implSymbol].type}get description(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get description' called on an object that is not a valid instance of MimeType.");return esValue[implSymbol].description}get suffixes(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get suffixes' called on an object that is not a valid instance of MimeType.");return esValue[implSymbol].suffixes}get enabledPlugin(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get enabledPlugin' called on an object that is not a valid instance of MimeType.");return esValue[implSymbol].enabledPlugin}}Object.defineProperties(MimeType.prototype,{type:{enumerable:!0},description:{enumerable:!0},suffixes:{enumerable:!0},enabledPlugin:{enumerable:!0},[Symbol.toStringTag]:{value:"MimeType",configurable:!0}}),ctorRegistry.MimeType=MimeType,Object.defineProperty(globalObject,"MimeType",{configurable:!0,writable:!0,value:MimeType})};const Impl=__webpack_require__(26301)},86390:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].MimeTypeArray.prototype),Object.create(proto)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);return void 0===proxyHandler&&(proxyHandler=new ProxyHandler(globalObject),proxyHandlerCache.set(globalObject,proxyHandler)),new Proxy(wrapper,proxyHandler)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'MimeTypeArray'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),(wrapper=makeProxy(wrapper,globalObject))[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{let wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper=makeProxy(wrapper,globalObject),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class MimeTypeArray{constructor(){throw new globalObject.TypeError("Illegal constructor")}item(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'item' called on an object that is not a valid instance of MimeTypeArray.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'item' on 'MimeTypeArray': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'MimeTypeArray': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].item(...args)}namedItem(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'namedItem' called on an object that is not a valid instance of MimeTypeArray.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'namedItem' on 'MimeTypeArray': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'namedItem' on 'MimeTypeArray': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].namedItem(...args)}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of MimeTypeArray.");return esValue[implSymbol].length}}Object.defineProperties(MimeTypeArray.prototype,{item:{enumerable:!0},namedItem:{enumerable:!0},length:{enumerable:!0},[Symbol.toStringTag]:{value:"MimeTypeArray",configurable:!0},[Symbol.iterator]:{value:globalObject.Array.prototype[Symbol.iterator],configurable:!0,writable:!0}}),ctorRegistry.MimeTypeArray=MimeTypeArray,Object.defineProperty(globalObject,"MimeTypeArray",{configurable:!0,writable:!0,value:MimeTypeArray})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if("symbol"==typeof P)return Reflect.get(target,P,receiver);const desc=this.getOwnPropertyDescriptor(target,P);if(void 0===desc){if(null===Object.getPrototypeOf(target))return;return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set)return desc.value;const getter=desc.get;return void 0!==getter?Reflect.apply(getter,receiver,[]):void 0}has(target,P){if("symbol"==typeof P)return Reflect.has(target,P);if(void 0!==this.getOwnPropertyDescriptor(target,P))return!0;const parent=Object.getPrototypeOf(target);return null!==parent&&Reflect.has(parent,P)}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices])keys.add(`${key}`);for(const key of Reflect.ownKeys(target))keys.add(key);return[...keys]}getOwnPropertyDescriptor(target,P){if("symbol"==typeof P)return Reflect.getOwnPropertyDescriptor(target,P);let ignoreNamedProps=!1;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);if(null!==indexedValue)return{writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)};ignoreNamedProps=!0}return Reflect.getOwnPropertyDescriptor(target,P)}set(target,P,V,receiver){if("symbol"==typeof P)return Reflect.set(target,P,V,receiver);if(target[implSymbol][utils.wrapperSymbol]===receiver){this._globalObject}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);null!==indexedValue&&(ownDesc={writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)})}if(void 0===ownDesc&&(ownDesc=Reflect.getOwnPropertyDescriptor(target,P)),void 0===ownDesc){const parent=Reflect.getPrototypeOf(target);if(null!==parent)return Reflect.set(parent,P,V,receiver);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:void 0}}if(!ownDesc.writable)return!1;if(!utils.isObject(receiver))return!1;const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(void 0!==existingDesc){if(existingDesc.get||existingDesc.set)return!1;if(!existingDesc.writable)return!1;valueDesc={value:V}}else valueDesc={writable:!0,enumerable:!0,configurable:!0,value:V};return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if("symbol"==typeof P)return Reflect.defineProperty(target,P,desc);this._globalObject;return!utils.isArrayIndexPropName(P)&&Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if("symbol"==typeof P)return Reflect.deleteProperty(target,P);this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(null!==target[implSymbol].item(index))}return Reflect.deleteProperty(target,P)}preventExtensions(){return!1}}const Impl=__webpack_require__(20256)},89057:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),MouseEventInit=__webpack_require__(72669),EventTarget=__webpack_require__(70462),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,UIEvent=__webpack_require__(9973);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].MouseEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'MouseEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{UIEvent._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class MouseEvent extends globalObject.UIEvent{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'MouseEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'MouseEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=MouseEventInit.convert(globalObject,curArg,{context:"Failed to construct 'MouseEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}getModifierState(keyArg){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getModifierState' called on an object that is not a valid instance of MouseEvent.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getModifierState' on 'MouseEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getModifierState' on 'MouseEvent': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].getModifierState(...args)}initMouseEvent(typeArg){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'initMouseEvent' called on an object that is not a valid instance of MouseEvent.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'initMouseEvent' on 'MouseEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 3",globals:globalObject}),args.push(curArg)}{let curArg=arguments[3];curArg=void 0!==curArg?null==curArg?null:utils.tryImplForWrapper(curArg):null,args.push(curArg)}{let curArg=arguments[4];curArg=void 0!==curArg?conversions.long(curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 5",globals:globalObject}):0,args.push(curArg)}{let curArg=arguments[5];curArg=void 0!==curArg?conversions.long(curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 6",globals:globalObject}):0,args.push(curArg)}{let curArg=arguments[6];curArg=void 0!==curArg?conversions.long(curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 7",globals:globalObject}):0,args.push(curArg)}{let curArg=arguments[7];curArg=void 0!==curArg?conversions.long(curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 8",globals:globalObject}):0,args.push(curArg)}{let curArg=arguments[8];curArg=void 0!==curArg?conversions.long(curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 9",globals:globalObject}):0,args.push(curArg)}{let curArg=arguments[9];curArg=void 0!==curArg?conversions.boolean(curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 10",globals:globalObject}):0,args.push(curArg)}{let curArg=arguments[10];curArg=void 0!==curArg?conversions.boolean(curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 11",globals:globalObject}):0,args.push(curArg)}{let curArg=arguments[11];curArg=void 0!==curArg?conversions.boolean(curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 12",globals:globalObject}):0,args.push(curArg)}{let curArg=arguments[12];curArg=void 0!==curArg?conversions.boolean(curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 13",globals:globalObject}):0,args.push(curArg)}{let curArg=arguments[13];curArg=void 0!==curArg?conversions.short(curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 14",globals:globalObject}):0,args.push(curArg)}{let curArg=arguments[14];curArg=void 0!==curArg?null==curArg?null:EventTarget.convert(globalObject,curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 15"}):null,args.push(curArg)}return esValue[implSymbol].initMouseEvent(...args)}get screenX(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get screenX' called on an object that is not a valid instance of MouseEvent.");return esValue[implSymbol].screenX}get screenY(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get screenY' called on an object that is not a valid instance of MouseEvent.");return esValue[implSymbol].screenY}get clientX(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get clientX' called on an object that is not a valid instance of MouseEvent.");return esValue[implSymbol].clientX}get clientY(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get clientY' called on an object that is not a valid instance of MouseEvent.");return esValue[implSymbol].clientY}get ctrlKey(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ctrlKey' called on an object that is not a valid instance of MouseEvent.");return esValue[implSymbol].ctrlKey}get shiftKey(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get shiftKey' called on an object that is not a valid instance of MouseEvent.");return esValue[implSymbol].shiftKey}get altKey(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get altKey' called on an object that is not a valid instance of MouseEvent.");return esValue[implSymbol].altKey}get metaKey(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get metaKey' called on an object that is not a valid instance of MouseEvent.");return esValue[implSymbol].metaKey}get button(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get button' called on an object that is not a valid instance of MouseEvent.");return esValue[implSymbol].button}get buttons(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get buttons' called on an object that is not a valid instance of MouseEvent.");return esValue[implSymbol].buttons}get relatedTarget(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get relatedTarget' called on an object that is not a valid instance of MouseEvent.");return utils.tryWrapperForImpl(esValue[implSymbol].relatedTarget)}}Object.defineProperties(MouseEvent.prototype,{getModifierState:{enumerable:!0},initMouseEvent:{enumerable:!0},screenX:{enumerable:!0},screenY:{enumerable:!0},clientX:{enumerable:!0},clientY:{enumerable:!0},ctrlKey:{enumerable:!0},shiftKey:{enumerable:!0},altKey:{enumerable:!0},metaKey:{enumerable:!0},button:{enumerable:!0},buttons:{enumerable:!0},relatedTarget:{enumerable:!0},[Symbol.toStringTag]:{value:"MouseEvent",configurable:!0}}),ctorRegistry.MouseEvent=MouseEvent,Object.defineProperty(globalObject,"MouseEvent",{configurable:!0,writable:!0,value:MouseEvent})};const Impl=__webpack_require__(58747)},72669:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),EventTarget=(__webpack_require__(80421),__webpack_require__(70462)),EventModifierInit=__webpack_require__(25150);exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{EventModifierInit._convertInherit(globalObject,obj,ret,{context:context});{const key="button";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.short(value,{context:context+" has member 'button' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="buttons";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions["unsigned short"](value,{context:context+" has member 'buttons' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="clientX";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.long(value,{context:context+" has member 'clientX' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="clientY";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.long(value,{context:context+" has member 'clientY' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="relatedTarget";let value=null==obj?void 0:obj[key];void 0!==value?(value=null==value?null:EventTarget.convert(globalObject,value,{context:context+" has member 'relatedTarget' that"}),ret[key]=value):ret[key]=null}{const key="screenX";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.long(value,{context:context+" has member 'screenX' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="screenY";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.long(value,{context:context+" has member 'screenY' that",globals:globalObject}),ret[key]=value):ret[key]=0}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},40250:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421);exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if("function"!=typeof value)throw new globalObject.TypeError(context+" is not a function");function invokeTheCallbackFunction(mutations,observer){const thisArg=utils.tryWrapperForImpl(this);let callResult;mutations=utils.tryWrapperForImpl(mutations),observer=utils.tryWrapperForImpl(observer),callResult=Reflect.apply(value,thisArg,[mutations,observer])}return invokeTheCallbackFunction.construct=(mutations,observer)=>{mutations=utils.tryWrapperForImpl(mutations),observer=utils.tryWrapperForImpl(observer);Reflect.construct(value,[mutations,observer])},invokeTheCallbackFunction[utils.wrapperSymbol]=value,invokeTheCallbackFunction.objectReference=value,invokeTheCallbackFunction}},84143:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),MutationCallback=__webpack_require__(40250),Node=__webpack_require__(47462),MutationObserverInit=__webpack_require__(27878),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].MutationObserver.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'MutationObserver'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class MutationObserver{constructor(callback){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'MutationObserver': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=MutationCallback.convert(globalObject,curArg,{context:"Failed to construct 'MutationObserver': parameter 1"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}observe(target){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'observe' called on an object that is not a valid instance of MutationObserver.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'observe' on 'MutationObserver': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'observe' on 'MutationObserver': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=MutationObserverInit.convert(globalObject,curArg,{context:"Failed to execute 'observe' on 'MutationObserver': parameter 2"}),args.push(curArg)}return esValue[implSymbol].observe(...args)}disconnect(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'disconnect' called on an object that is not a valid instance of MutationObserver.");return esValue[implSymbol].disconnect()}takeRecords(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'takeRecords' called on an object that is not a valid instance of MutationObserver.");return utils.tryWrapperForImpl(esValue[implSymbol].takeRecords())}}Object.defineProperties(MutationObserver.prototype,{observe:{enumerable:!0},disconnect:{enumerable:!0},takeRecords:{enumerable:!0},[Symbol.toStringTag]:{value:"MutationObserver",configurable:!0}}),ctorRegistry.MutationObserver=MutationObserver,Object.defineProperty(globalObject,"MutationObserver",{configurable:!0,writable:!0,value:MutationObserver})};const Impl=__webpack_require__(12049)},27878:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421);exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{{const key="attributeFilter";let value=null==obj?void 0:obj[key];if(void 0!==value){if(!utils.isObject(value))throw new globalObject.TypeError(context+" has member 'attributeFilter' that is not an iterable object.");{const V=[],tmp=value;for(let nextItem of tmp)nextItem=conversions.DOMString(nextItem,{context:context+" has member 'attributeFilter' that's element",globals:globalObject}),V.push(nextItem);value=V}ret[key]=value}}{const key="attributeOldValue";let value=null==obj?void 0:obj[key];void 0!==value&&(value=conversions.boolean(value,{context:context+" has member 'attributeOldValue' that",globals:globalObject}),ret[key]=value)}{const key="attributes";let value=null==obj?void 0:obj[key];void 0!==value&&(value=conversions.boolean(value,{context:context+" has member 'attributes' that",globals:globalObject}),ret[key]=value)}{const key="characterData";let value=null==obj?void 0:obj[key];void 0!==value&&(value=conversions.boolean(value,{context:context+" has member 'characterData' that",globals:globalObject}),ret[key]=value)}{const key="characterDataOldValue";let value=null==obj?void 0:obj[key];void 0!==value&&(value=conversions.boolean(value,{context:context+" has member 'characterDataOldValue' that",globals:globalObject}),ret[key]=value)}{const key="childList";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'childList' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="subtree";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'subtree' that",globals:globalObject}),ret[key]=value):ret[key]=!1}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},35096:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].MutationRecord.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'MutationRecord'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class MutationRecord{constructor(){throw new globalObject.TypeError("Illegal constructor")}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of MutationRecord.");return esValue[implSymbol].type}get target(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get target' called on an object that is not a valid instance of MutationRecord.");return utils.getSameObject(this,"target",(()=>utils.tryWrapperForImpl(esValue[implSymbol].target)))}get addedNodes(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get addedNodes' called on an object that is not a valid instance of MutationRecord.");return utils.getSameObject(this,"addedNodes",(()=>utils.tryWrapperForImpl(esValue[implSymbol].addedNodes)))}get removedNodes(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get removedNodes' called on an object that is not a valid instance of MutationRecord.");return utils.getSameObject(this,"removedNodes",(()=>utils.tryWrapperForImpl(esValue[implSymbol].removedNodes)))}get previousSibling(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get previousSibling' called on an object that is not a valid instance of MutationRecord.");return utils.tryWrapperForImpl(esValue[implSymbol].previousSibling)}get nextSibling(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get nextSibling' called on an object that is not a valid instance of MutationRecord.");return utils.tryWrapperForImpl(esValue[implSymbol].nextSibling)}get attributeName(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get attributeName' called on an object that is not a valid instance of MutationRecord.");return esValue[implSymbol].attributeName}get attributeNamespace(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get attributeNamespace' called on an object that is not a valid instance of MutationRecord.");return esValue[implSymbol].attributeNamespace}get oldValue(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oldValue' called on an object that is not a valid instance of MutationRecord.");return esValue[implSymbol].oldValue}}Object.defineProperties(MutationRecord.prototype,{type:{enumerable:!0},target:{enumerable:!0},addedNodes:{enumerable:!0},removedNodes:{enumerable:!0},previousSibling:{enumerable:!0},nextSibling:{enumerable:!0},attributeName:{enumerable:!0},attributeNamespace:{enumerable:!0},oldValue:{enumerable:!0},[Symbol.toStringTag]:{value:"MutationRecord",configurable:!0}}),ctorRegistry.MutationRecord=MutationRecord,Object.defineProperty(globalObject,"MutationRecord",{configurable:!0,writable:!0,value:MutationRecord})};const Impl=__webpack_require__(84192)},14970:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),Attr=__webpack_require__(97499),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].NamedNodeMap.prototype),Object.create(proto)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);return void 0===proxyHandler&&(proxyHandler=new ProxyHandler(globalObject),proxyHandlerCache.set(globalObject,proxyHandler)),new Proxy(wrapper,proxyHandler)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'NamedNodeMap'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),(wrapper=makeProxy(wrapper,globalObject))[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{let wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper=makeProxy(wrapper,globalObject),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class NamedNodeMap{constructor(){throw new globalObject.TypeError("Illegal constructor")}item(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'item' called on an object that is not a valid instance of NamedNodeMap.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'item' on 'NamedNodeMap': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'NamedNodeMap': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}getNamedItem(qualifiedName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getNamedItem' called on an object that is not a valid instance of NamedNodeMap.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getNamedItem' on 'NamedNodeMap': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getNamedItem' on 'NamedNodeMap': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getNamedItem(...args))}getNamedItemNS(namespace,localName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getNamedItemNS' called on an object that is not a valid instance of NamedNodeMap.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'getNamedItemNS' on 'NamedNodeMap': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'getNamedItemNS' on 'NamedNodeMap': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getNamedItemNS' on 'NamedNodeMap': parameter 2",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getNamedItemNS(...args))}setNamedItem(attr){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setNamedItem' called on an object that is not a valid instance of NamedNodeMap.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setNamedItem' on 'NamedNodeMap': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Attr.convert(globalObject,curArg,{context:"Failed to execute 'setNamedItem' on 'NamedNodeMap': parameter 1"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].setNamedItem(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}setNamedItemNS(attr){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setNamedItemNS' called on an object that is not a valid instance of NamedNodeMap.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setNamedItemNS' on 'NamedNodeMap': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Attr.convert(globalObject,curArg,{context:"Failed to execute 'setNamedItemNS' on 'NamedNodeMap': parameter 1"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].setNamedItemNS(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}removeNamedItem(qualifiedName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'removeNamedItem' called on an object that is not a valid instance of NamedNodeMap.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'removeNamedItem' on 'NamedNodeMap': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'removeNamedItem' on 'NamedNodeMap': parameter 1",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].removeNamedItem(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}removeNamedItemNS(namespace,localName){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'removeNamedItemNS' called on an object that is not a valid instance of NamedNodeMap.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'removeNamedItemNS' on 'NamedNodeMap': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'removeNamedItemNS' on 'NamedNodeMap': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'removeNamedItemNS' on 'NamedNodeMap': parameter 2",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].removeNamedItemNS(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of NamedNodeMap.");return esValue[implSymbol].length}}Object.defineProperties(NamedNodeMap.prototype,{item:{enumerable:!0},getNamedItem:{enumerable:!0},getNamedItemNS:{enumerable:!0},setNamedItem:{enumerable:!0},setNamedItemNS:{enumerable:!0},removeNamedItem:{enumerable:!0},removeNamedItemNS:{enumerable:!0},length:{enumerable:!0},[Symbol.toStringTag]:{value:"NamedNodeMap",configurable:!0},[Symbol.iterator]:{value:globalObject.Array.prototype[Symbol.iterator],configurable:!0,writable:!0}}),ctorRegistry.NamedNodeMap=NamedNodeMap,Object.defineProperty(globalObject,"NamedNodeMap",{configurable:!0,writable:!0,value:NamedNodeMap})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if("symbol"==typeof P)return Reflect.get(target,P,receiver);const desc=this.getOwnPropertyDescriptor(target,P);if(void 0===desc){if(null===Object.getPrototypeOf(target))return;return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set)return desc.value;const getter=desc.get;return void 0!==getter?Reflect.apply(getter,receiver,[]):void 0}has(target,P){if("symbol"==typeof P)return Reflect.has(target,P);if(void 0!==this.getOwnPropertyDescriptor(target,P))return!0;const parent=Object.getPrototypeOf(target);return null!==parent&&Reflect.has(parent,P)}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices])keys.add(`${key}`);for(const key of target[implSymbol][utils.supportedPropertyNames])key in target||keys.add(`${key}`);for(const key of Reflect.ownKeys(target))keys.add(key);return[...keys]}getOwnPropertyDescriptor(target,P){if("symbol"==typeof P)return Reflect.getOwnPropertyDescriptor(target,P);let ignoreNamedProps=!1;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);if(null!==indexedValue)return{writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)};ignoreNamedProps=!0}const namedValue=target[implSymbol].getNamedItem(P);return null===namedValue||P in target||ignoreNamedProps?Reflect.getOwnPropertyDescriptor(target,P):{writable:!1,enumerable:!1,configurable:!0,value:utils.tryWrapperForImpl(namedValue)}}set(target,P,V,receiver){if("symbol"==typeof P)return Reflect.set(target,P,V,receiver);if(target[implSymbol][utils.wrapperSymbol]===receiver){this._globalObject}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);null!==indexedValue&&(ownDesc={writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)})}if(void 0===ownDesc&&(ownDesc=Reflect.getOwnPropertyDescriptor(target,P)),void 0===ownDesc){const parent=Reflect.getPrototypeOf(target);if(null!==parent)return Reflect.set(parent,P,V,receiver);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:void 0}}if(!ownDesc.writable)return!1;if(!utils.isObject(receiver))return!1;const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(void 0!==existingDesc){if(existingDesc.get||existingDesc.set)return!1;if(!existingDesc.writable)return!1;valueDesc={value:V}}else valueDesc={writable:!0,enumerable:!0,configurable:!0,value:V};return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if("symbol"==typeof P)return Reflect.defineProperty(target,P,desc);this._globalObject;if(utils.isArrayIndexPropName(P))return!1;if(!utils.hasOwn(target,P)){if(!!(null!==target[implSymbol].getNamedItem(P)))return!1}return Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if("symbol"==typeof P)return Reflect.deleteProperty(target,P);this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(null!==target[implSymbol].item(index))}return(null===target[implSymbol].getNamedItem(P)||P in target)&&Reflect.deleteProperty(target,P)}preventExtensions(){return!1}}const Impl=__webpack_require__(54759)},84122:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Navigator.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Navigator'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Navigator{constructor(){throw new globalObject.TypeError("Illegal constructor")}javaEnabled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'javaEnabled' called on an object that is not a valid instance of Navigator.");return esValue[implSymbol].javaEnabled()}get appCodeName(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get appCodeName' called on an object that is not a valid instance of Navigator.");return esValue[implSymbol].appCodeName}get appName(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get appName' called on an object that is not a valid instance of Navigator.");return esValue[implSymbol].appName}get appVersion(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get appVersion' called on an object that is not a valid instance of Navigator.");return esValue[implSymbol].appVersion}get platform(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get platform' called on an object that is not a valid instance of Navigator.");return esValue[implSymbol].platform}get product(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get product' called on an object that is not a valid instance of Navigator.");return esValue[implSymbol].product}get productSub(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get productSub' called on an object that is not a valid instance of Navigator.");return esValue[implSymbol].productSub}get userAgent(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get userAgent' called on an object that is not a valid instance of Navigator.");return esValue[implSymbol].userAgent}get vendor(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get vendor' called on an object that is not a valid instance of Navigator.");return esValue[implSymbol].vendor}get vendorSub(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get vendorSub' called on an object that is not a valid instance of Navigator.");return esValue[implSymbol].vendorSub}get language(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get language' called on an object that is not a valid instance of Navigator.");return esValue[implSymbol].language}get languages(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get languages' called on an object that is not a valid instance of Navigator.");return utils.tryWrapperForImpl(esValue[implSymbol].languages)}get onLine(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onLine' called on an object that is not a valid instance of Navigator.");return esValue[implSymbol].onLine}get cookieEnabled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get cookieEnabled' called on an object that is not a valid instance of Navigator.");return esValue[implSymbol].cookieEnabled}get plugins(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get plugins' called on an object that is not a valid instance of Navigator.");return utils.getSameObject(this,"plugins",(()=>utils.tryWrapperForImpl(esValue[implSymbol].plugins)))}get mimeTypes(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get mimeTypes' called on an object that is not a valid instance of Navigator.");return utils.getSameObject(this,"mimeTypes",(()=>utils.tryWrapperForImpl(esValue[implSymbol].mimeTypes)))}get hardwareConcurrency(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hardwareConcurrency' called on an object that is not a valid instance of Navigator.");return esValue[implSymbol].hardwareConcurrency}}Object.defineProperties(Navigator.prototype,{javaEnabled:{enumerable:!0},appCodeName:{enumerable:!0},appName:{enumerable:!0},appVersion:{enumerable:!0},platform:{enumerable:!0},product:{enumerable:!0},productSub:{enumerable:!0},userAgent:{enumerable:!0},vendor:{enumerable:!0},vendorSub:{enumerable:!0},language:{enumerable:!0},languages:{enumerable:!0},onLine:{enumerable:!0},cookieEnabled:{enumerable:!0},plugins:{enumerable:!0},mimeTypes:{enumerable:!0},hardwareConcurrency:{enumerable:!0},[Symbol.toStringTag]:{value:"Navigator",configurable:!0}}),ctorRegistry.Navigator=Navigator,Object.defineProperty(globalObject,"Navigator",{configurable:!0,writable:!0,value:Navigator})};const Impl=__webpack_require__(69016)},47462:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),GetRootNodeOptions=__webpack_require__(84908),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,EventTarget=__webpack_require__(70462);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Node.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Node'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{EventTarget._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Node extends globalObject.EventTarget{constructor(){throw new globalObject.TypeError("Illegal constructor")}getRootNode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getRootNode' called on an object that is not a valid instance of Node.");const args=[];{let curArg=arguments[0];curArg=GetRootNodeOptions.convert(globalObject,curArg,{context:"Failed to execute 'getRootNode' on 'Node': parameter 1"}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getRootNode(...args))}hasChildNodes(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'hasChildNodes' called on an object that is not a valid instance of Node.");return esValue[implSymbol].hasChildNodes()}normalize(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'normalize' called on an object that is not a valid instance of Node.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].normalize()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}cloneNode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'cloneNode' called on an object that is not a valid instance of Node.");const args=[];{let curArg=arguments[0];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'cloneNode' on 'Node': parameter 1",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].cloneNode(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}isEqualNode(otherNode){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'isEqualNode' called on an object that is not a valid instance of Node.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'isEqualNode' on 'Node': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:exports.convert(globalObject,curArg,{context:"Failed to execute 'isEqualNode' on 'Node': parameter 1"}),args.push(curArg)}return esValue[implSymbol].isEqualNode(...args)}isSameNode(otherNode){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'isSameNode' called on an object that is not a valid instance of Node.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'isSameNode' on 'Node': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:exports.convert(globalObject,curArg,{context:"Failed to execute 'isSameNode' on 'Node': parameter 1"}),args.push(curArg)}return esValue[implSymbol].isSameNode(...args)}compareDocumentPosition(other){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'compareDocumentPosition' called on an object that is not a valid instance of Node.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'compareDocumentPosition' on 'Node': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=exports.convert(globalObject,curArg,{context:"Failed to execute 'compareDocumentPosition' on 'Node': parameter 1"}),args.push(curArg)}return esValue[implSymbol].compareDocumentPosition(...args)}contains(other){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'contains' called on an object that is not a valid instance of Node.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'contains' on 'Node': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:exports.convert(globalObject,curArg,{context:"Failed to execute 'contains' on 'Node': parameter 1"}),args.push(curArg)}return esValue[implSymbol].contains(...args)}lookupPrefix(namespace){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'lookupPrefix' called on an object that is not a valid instance of Node.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'lookupPrefix' on 'Node': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'lookupPrefix' on 'Node': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].lookupPrefix(...args)}lookupNamespaceURI(prefix){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'lookupNamespaceURI' called on an object that is not a valid instance of Node.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'lookupNamespaceURI' on 'Node': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'lookupNamespaceURI' on 'Node': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].lookupNamespaceURI(...args)}isDefaultNamespace(namespace){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'isDefaultNamespace' called on an object that is not a valid instance of Node.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'isDefaultNamespace' on 'Node': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'isDefaultNamespace' on 'Node': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].isDefaultNamespace(...args)}insertBefore(node,child){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'insertBefore' called on an object that is not a valid instance of Node.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'insertBefore' on 'Node': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=exports.convert(globalObject,curArg,{context:"Failed to execute 'insertBefore' on 'Node': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=null==curArg?null:exports.convert(globalObject,curArg,{context:"Failed to execute 'insertBefore' on 'Node': parameter 2"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].insertBefore(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}appendChild(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'appendChild' called on an object that is not a valid instance of Node.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'appendChild' on 'Node': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=exports.convert(globalObject,curArg,{context:"Failed to execute 'appendChild' on 'Node': parameter 1"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].appendChild(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}replaceChild(node,child){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'replaceChild' called on an object that is not a valid instance of Node.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'replaceChild' on 'Node': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=exports.convert(globalObject,curArg,{context:"Failed to execute 'replaceChild' on 'Node': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=exports.convert(globalObject,curArg,{context:"Failed to execute 'replaceChild' on 'Node': parameter 2"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].replaceChild(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}removeChild(child){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'removeChild' called on an object that is not a valid instance of Node.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'removeChild' on 'Node': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=exports.convert(globalObject,curArg,{context:"Failed to execute 'removeChild' on 'Node': parameter 1"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].removeChild(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get nodeType(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get nodeType' called on an object that is not a valid instance of Node.");return esValue[implSymbol].nodeType}get nodeName(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get nodeName' called on an object that is not a valid instance of Node.");return esValue[implSymbol].nodeName}get baseURI(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get baseURI' called on an object that is not a valid instance of Node.");return esValue[implSymbol].baseURI}get isConnected(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get isConnected' called on an object that is not a valid instance of Node.");return esValue[implSymbol].isConnected}get ownerDocument(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ownerDocument' called on an object that is not a valid instance of Node.");return utils.tryWrapperForImpl(esValue[implSymbol].ownerDocument)}get parentNode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get parentNode' called on an object that is not a valid instance of Node.");return utils.tryWrapperForImpl(esValue[implSymbol].parentNode)}get parentElement(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get parentElement' called on an object that is not a valid instance of Node.");return utils.tryWrapperForImpl(esValue[implSymbol].parentElement)}get childNodes(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get childNodes' called on an object that is not a valid instance of Node.");return utils.getSameObject(this,"childNodes",(()=>utils.tryWrapperForImpl(esValue[implSymbol].childNodes)))}get firstChild(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get firstChild' called on an object that is not a valid instance of Node.");return utils.tryWrapperForImpl(esValue[implSymbol].firstChild)}get lastChild(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get lastChild' called on an object that is not a valid instance of Node.");return utils.tryWrapperForImpl(esValue[implSymbol].lastChild)}get previousSibling(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get previousSibling' called on an object that is not a valid instance of Node.");return utils.tryWrapperForImpl(esValue[implSymbol].previousSibling)}get nextSibling(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get nextSibling' called on an object that is not a valid instance of Node.");return utils.tryWrapperForImpl(esValue[implSymbol].nextSibling)}get nodeValue(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get nodeValue' called on an object that is not a valid instance of Node.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].nodeValue}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set nodeValue(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set nodeValue' called on an object that is not a valid instance of Node.");V=null==V?null:conversions.DOMString(V,{context:"Failed to set the 'nodeValue' property on 'Node': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].nodeValue=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get textContent(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get textContent' called on an object that is not a valid instance of Node.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].textContent}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set textContent(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set textContent' called on an object that is not a valid instance of Node.");V=null==V?null:conversions.DOMString(V,{context:"Failed to set the 'textContent' property on 'Node': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].textContent=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(Node.prototype,{getRootNode:{enumerable:!0},hasChildNodes:{enumerable:!0},normalize:{enumerable:!0},cloneNode:{enumerable:!0},isEqualNode:{enumerable:!0},isSameNode:{enumerable:!0},compareDocumentPosition:{enumerable:!0},contains:{enumerable:!0},lookupPrefix:{enumerable:!0},lookupNamespaceURI:{enumerable:!0},isDefaultNamespace:{enumerable:!0},insertBefore:{enumerable:!0},appendChild:{enumerable:!0},replaceChild:{enumerable:!0},removeChild:{enumerable:!0},nodeType:{enumerable:!0},nodeName:{enumerable:!0},baseURI:{enumerable:!0},isConnected:{enumerable:!0},ownerDocument:{enumerable:!0},parentNode:{enumerable:!0},parentElement:{enumerable:!0},childNodes:{enumerable:!0},firstChild:{enumerable:!0},lastChild:{enumerable:!0},previousSibling:{enumerable:!0},nextSibling:{enumerable:!0},nodeValue:{enumerable:!0},textContent:{enumerable:!0},[Symbol.toStringTag]:{value:"Node",configurable:!0},ELEMENT_NODE:{value:1,enumerable:!0},ATTRIBUTE_NODE:{value:2,enumerable:!0},TEXT_NODE:{value:3,enumerable:!0},CDATA_SECTION_NODE:{value:4,enumerable:!0},ENTITY_REFERENCE_NODE:{value:5,enumerable:!0},ENTITY_NODE:{value:6,enumerable:!0},PROCESSING_INSTRUCTION_NODE:{value:7,enumerable:!0},COMMENT_NODE:{value:8,enumerable:!0},DOCUMENT_NODE:{value:9,enumerable:!0},DOCUMENT_TYPE_NODE:{value:10,enumerable:!0},DOCUMENT_FRAGMENT_NODE:{value:11,enumerable:!0},NOTATION_NODE:{value:12,enumerable:!0},DOCUMENT_POSITION_DISCONNECTED:{value:1,enumerable:!0},DOCUMENT_POSITION_PRECEDING:{value:2,enumerable:!0},DOCUMENT_POSITION_FOLLOWING:{value:4,enumerable:!0},DOCUMENT_POSITION_CONTAINS:{value:8,enumerable:!0},DOCUMENT_POSITION_CONTAINED_BY:{value:16,enumerable:!0},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:32,enumerable:!0}}),Object.defineProperties(Node,{ELEMENT_NODE:{value:1,enumerable:!0},ATTRIBUTE_NODE:{value:2,enumerable:!0},TEXT_NODE:{value:3,enumerable:!0},CDATA_SECTION_NODE:{value:4,enumerable:!0},ENTITY_REFERENCE_NODE:{value:5,enumerable:!0},ENTITY_NODE:{value:6,enumerable:!0},PROCESSING_INSTRUCTION_NODE:{value:7,enumerable:!0},COMMENT_NODE:{value:8,enumerable:!0},DOCUMENT_NODE:{value:9,enumerable:!0},DOCUMENT_TYPE_NODE:{value:10,enumerable:!0},DOCUMENT_FRAGMENT_NODE:{value:11,enumerable:!0},NOTATION_NODE:{value:12,enumerable:!0},DOCUMENT_POSITION_DISCONNECTED:{value:1,enumerable:!0},DOCUMENT_POSITION_PRECEDING:{value:2,enumerable:!0},DOCUMENT_POSITION_FOLLOWING:{value:4,enumerable:!0},DOCUMENT_POSITION_CONTAINS:{value:8,enumerable:!0},DOCUMENT_POSITION_CONTAINED_BY:{value:16,enumerable:!0},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:32,enumerable:!0}}),ctorRegistry.Node=Node,Object.defineProperty(globalObject,"Node",{configurable:!0,writable:!0,value:Node})};const Impl=__webpack_require__(16614)},20138:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421);exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(!utils.isObject(value))throw new globalObject.TypeError(`${context} is not an object.`);function callTheUserObjectsOperation(node){let thisArg=utils.tryWrapperForImpl(this),O=value,X=O;if("function"!=typeof O){if(X=O.acceptNode,"function"!=typeof X)throw new globalObject.TypeError(`${context} does not correctly implement NodeFilter.`);thisArg=O}node=utils.tryWrapperForImpl(node);let callResult=Reflect.apply(X,thisArg,[node]);return callResult=conversions["unsigned short"](callResult,{context:context,globals:globalObject}),callResult}return callTheUserObjectsOperation[utils.wrapperSymbol]=value,callTheUserObjectsOperation.objectReference=value,callTheUserObjectsOperation};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;utils.initCtorRegistry(globalObject);const NodeFilter=()=>{throw new globalObject.TypeError("Illegal invocation")};Object.defineProperties(NodeFilter,{FILTER_ACCEPT:{value:1,enumerable:!0},FILTER_REJECT:{value:2,enumerable:!0},FILTER_SKIP:{value:3,enumerable:!0},SHOW_ALL:{value:4294967295,enumerable:!0},SHOW_ELEMENT:{value:1,enumerable:!0},SHOW_ATTRIBUTE:{value:2,enumerable:!0},SHOW_TEXT:{value:4,enumerable:!0},SHOW_CDATA_SECTION:{value:8,enumerable:!0},SHOW_ENTITY_REFERENCE:{value:16,enumerable:!0},SHOW_ENTITY:{value:32,enumerable:!0},SHOW_PROCESSING_INSTRUCTION:{value:64,enumerable:!0},SHOW_COMMENT:{value:128,enumerable:!0},SHOW_DOCUMENT:{value:256,enumerable:!0},SHOW_DOCUMENT_TYPE:{value:512,enumerable:!0},SHOW_DOCUMENT_FRAGMENT:{value:1024,enumerable:!0},SHOW_NOTATION:{value:2048,enumerable:!0}}),Object.defineProperty(globalObject,"NodeFilter",{configurable:!0,writable:!0,value:NodeFilter})}},19763:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].NodeIterator.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'NodeIterator'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class NodeIterator{constructor(){throw new globalObject.TypeError("Illegal constructor")}nextNode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'nextNode' called on an object that is not a valid instance of NodeIterator.");return utils.tryWrapperForImpl(esValue[implSymbol].nextNode())}previousNode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'previousNode' called on an object that is not a valid instance of NodeIterator.");return utils.tryWrapperForImpl(esValue[implSymbol].previousNode())}detach(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'detach' called on an object that is not a valid instance of NodeIterator.");return esValue[implSymbol].detach()}get root(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get root' called on an object that is not a valid instance of NodeIterator.");return utils.getSameObject(this,"root",(()=>utils.tryWrapperForImpl(esValue[implSymbol].root)))}get referenceNode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get referenceNode' called on an object that is not a valid instance of NodeIterator.");return utils.tryWrapperForImpl(esValue[implSymbol].referenceNode)}get pointerBeforeReferenceNode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get pointerBeforeReferenceNode' called on an object that is not a valid instance of NodeIterator.");return esValue[implSymbol].pointerBeforeReferenceNode}get whatToShow(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get whatToShow' called on an object that is not a valid instance of NodeIterator.");return esValue[implSymbol].whatToShow}get filter(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get filter' called on an object that is not a valid instance of NodeIterator.");return utils.tryWrapperForImpl(esValue[implSymbol].filter)}}Object.defineProperties(NodeIterator.prototype,{nextNode:{enumerable:!0},previousNode:{enumerable:!0},detach:{enumerable:!0},root:{enumerable:!0},referenceNode:{enumerable:!0},pointerBeforeReferenceNode:{enumerable:!0},whatToShow:{enumerable:!0},filter:{enumerable:!0},[Symbol.toStringTag]:{value:"NodeIterator",configurable:!0}}),ctorRegistry.NodeIterator=NodeIterator,Object.defineProperty(globalObject,"NodeIterator",{configurable:!0,writable:!0,value:NodeIterator})};const Impl=__webpack_require__(41004)},42850:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].NodeList.prototype),Object.create(proto)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);return void 0===proxyHandler&&(proxyHandler=new ProxyHandler(globalObject),proxyHandlerCache.set(globalObject,proxyHandler)),new Proxy(wrapper,proxyHandler)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'NodeList'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),(wrapper=makeProxy(wrapper,globalObject))[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{let wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper=makeProxy(wrapper,globalObject),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class NodeList{constructor(){throw new globalObject.TypeError("Illegal constructor")}item(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'item' called on an object that is not a valid instance of NodeList.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'item' on 'NodeList': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'NodeList': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of NodeList.");return esValue[implSymbol].length}}Object.defineProperties(NodeList.prototype,{item:{enumerable:!0},length:{enumerable:!0},[Symbol.toStringTag]:{value:"NodeList",configurable:!0},[Symbol.iterator]:{value:globalObject.Array.prototype[Symbol.iterator],configurable:!0,writable:!0},keys:{value:globalObject.Array.prototype.keys,configurable:!0,enumerable:!0,writable:!0},values:{value:globalObject.Array.prototype.values,configurable:!0,enumerable:!0,writable:!0},entries:{value:globalObject.Array.prototype.entries,configurable:!0,enumerable:!0,writable:!0},forEach:{value:globalObject.Array.prototype.forEach,configurable:!0,enumerable:!0,writable:!0}}),ctorRegistry.NodeList=NodeList,Object.defineProperty(globalObject,"NodeList",{configurable:!0,writable:!0,value:NodeList})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if("symbol"==typeof P)return Reflect.get(target,P,receiver);const desc=this.getOwnPropertyDescriptor(target,P);if(void 0===desc){if(null===Object.getPrototypeOf(target))return;return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set)return desc.value;const getter=desc.get;return void 0!==getter?Reflect.apply(getter,receiver,[]):void 0}has(target,P){if("symbol"==typeof P)return Reflect.has(target,P);if(void 0!==this.getOwnPropertyDescriptor(target,P))return!0;const parent=Object.getPrototypeOf(target);return null!==parent&&Reflect.has(parent,P)}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices])keys.add(`${key}`);for(const key of Reflect.ownKeys(target))keys.add(key);return[...keys]}getOwnPropertyDescriptor(target,P){if("symbol"==typeof P)return Reflect.getOwnPropertyDescriptor(target,P);let ignoreNamedProps=!1;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);if(null!==indexedValue)return{writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)};ignoreNamedProps=!0}return Reflect.getOwnPropertyDescriptor(target,P)}set(target,P,V,receiver){if("symbol"==typeof P)return Reflect.set(target,P,V,receiver);if(target[implSymbol][utils.wrapperSymbol]===receiver){this._globalObject}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);null!==indexedValue&&(ownDesc={writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)})}if(void 0===ownDesc&&(ownDesc=Reflect.getOwnPropertyDescriptor(target,P)),void 0===ownDesc){const parent=Reflect.getPrototypeOf(target);if(null!==parent)return Reflect.set(parent,P,V,receiver);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:void 0}}if(!ownDesc.writable)return!1;if(!utils.isObject(receiver))return!1;const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(void 0!==existingDesc){if(existingDesc.get||existingDesc.set)return!1;if(!existingDesc.writable)return!1;valueDesc={value:V}}else valueDesc={writable:!0,enumerable:!0,configurable:!0,value:V};return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if("symbol"==typeof P)return Reflect.defineProperty(target,P,desc);this._globalObject;return!utils.isArrayIndexPropName(P)&&Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if("symbol"==typeof P)return Reflect.deleteProperty(target,P);this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(null!==target[implSymbol].item(index))}return Reflect.deleteProperty(target,P)}preventExtensions(){return!1}}const Impl=__webpack_require__(28835)},91983:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421);exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{function invokeTheCallbackFunction(event){const thisArg=utils.tryWrapperForImpl(this);let callResult;return"function"==typeof value&&(event=utils.tryWrapperForImpl(event),callResult=Reflect.apply(value,thisArg,[event])),callResult=null==callResult?null:conversions.DOMString(callResult,{context:context,globals:globalObject}),callResult}return invokeTheCallbackFunction.construct=event=>{event=utils.tryWrapperForImpl(event);let callResult=Reflect.construct(value,[event]);return callResult=null==callResult?null:conversions.DOMString(callResult,{context:context,globals:globalObject}),callResult},invokeTheCallbackFunction[utils.wrapperSymbol]=value,invokeTheCallbackFunction.objectReference=value,invokeTheCallbackFunction}},39017:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421);exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{function invokeTheCallbackFunction(...args){const thisArg=utils.tryWrapperForImpl(this);let callResult;if("function"==typeof value){for(let i=0;i<Math.min(args.length,5);i++)args[i]=utils.tryWrapperForImpl(args[i]);if(args.length<1)for(let i=args.length;i<1;i++)args[i]=void 0;else args.length>5&&(args.length=5);callResult=Reflect.apply(value,thisArg,args)}return callResult=conversions.any(callResult,{context:context,globals:globalObject}),callResult}return invokeTheCallbackFunction.construct=(...args)=>{for(let i=0;i<Math.min(args.length,5);i++)args[i]=utils.tryWrapperForImpl(args[i]);if(args.length<1)for(let i=args.length;i<1;i++)args[i]=void 0;else args.length>5&&(args.length=5);let callResult=Reflect.construct(value,args);return callResult=conversions.any(callResult,{context:context,globals:globalObject}),callResult},invokeTheCallbackFunction[utils.wrapperSymbol]=value,invokeTheCallbackFunction.objectReference=value,invokeTheCallbackFunction}},19321:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),PageTransitionEventInit=__webpack_require__(6610),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Event=__webpack_require__(6776);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].PageTransitionEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'PageTransitionEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class PageTransitionEvent extends globalObject.Event{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'PageTransitionEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'PageTransitionEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=PageTransitionEventInit.convert(globalObject,curArg,{context:"Failed to construct 'PageTransitionEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get persisted(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get persisted' called on an object that is not a valid instance of PageTransitionEvent.");return esValue[implSymbol].persisted}}Object.defineProperties(PageTransitionEvent.prototype,{persisted:{enumerable:!0},[Symbol.toStringTag]:{value:"PageTransitionEvent",configurable:!0}}),ctorRegistry.PageTransitionEvent=PageTransitionEvent,Object.defineProperty(globalObject,"PageTransitionEvent",{configurable:!0,writable:!0,value:PageTransitionEvent})};const Impl=__webpack_require__(9090)},6610:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),EventInit=(__webpack_require__(80421),__webpack_require__(75061));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="persisted";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'persisted' that",globals:globalObject}),ret[key]=value):ret[key]=!1}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},89321:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,EventTarget=__webpack_require__(70462);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Performance.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Performance'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{EventTarget._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Performance extends globalObject.EventTarget{constructor(){throw new globalObject.TypeError("Illegal constructor")}now(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'now' called on an object that is not a valid instance of Performance.");return utils.tryWrapperForImpl(esValue[implSymbol].now())}toJSON(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'toJSON' called on an object that is not a valid instance of Performance.");return esValue[implSymbol].toJSON()}get timeOrigin(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get timeOrigin' called on an object that is not a valid instance of Performance.");return utils.tryWrapperForImpl(esValue[implSymbol].timeOrigin)}}Object.defineProperties(Performance.prototype,{now:{enumerable:!0},toJSON:{enumerable:!0},timeOrigin:{enumerable:!0},[Symbol.toStringTag]:{value:"Performance",configurable:!0}}),ctorRegistry.Performance=Performance,Object.defineProperty(globalObject,"Performance",{configurable:!0,writable:!0,value:Performance})};const Impl=__webpack_require__(85060)},1106:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Plugin.prototype),Object.create(proto)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);return void 0===proxyHandler&&(proxyHandler=new ProxyHandler(globalObject),proxyHandlerCache.set(globalObject,proxyHandler)),new Proxy(wrapper,proxyHandler)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Plugin'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),(wrapper=makeProxy(wrapper,globalObject))[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{let wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper=makeProxy(wrapper,globalObject),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Plugin{constructor(){throw new globalObject.TypeError("Illegal constructor")}item(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'item' called on an object that is not a valid instance of Plugin.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'item' on 'Plugin': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'Plugin': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].item(...args)}namedItem(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'namedItem' called on an object that is not a valid instance of Plugin.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'namedItem' on 'Plugin': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'namedItem' on 'Plugin': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].namedItem(...args)}get name(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get name' called on an object that is not a valid instance of Plugin.");return esValue[implSymbol].name}get description(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get description' called on an object that is not a valid instance of Plugin.");return esValue[implSymbol].description}get filename(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get filename' called on an object that is not a valid instance of Plugin.");return esValue[implSymbol].filename}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of Plugin.");return esValue[implSymbol].length}}Object.defineProperties(Plugin.prototype,{item:{enumerable:!0},namedItem:{enumerable:!0},name:{enumerable:!0},description:{enumerable:!0},filename:{enumerable:!0},length:{enumerable:!0},[Symbol.toStringTag]:{value:"Plugin",configurable:!0},[Symbol.iterator]:{value:globalObject.Array.prototype[Symbol.iterator],configurable:!0,writable:!0}}),ctorRegistry.Plugin=Plugin,Object.defineProperty(globalObject,"Plugin",{configurable:!0,writable:!0,value:Plugin})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if("symbol"==typeof P)return Reflect.get(target,P,receiver);const desc=this.getOwnPropertyDescriptor(target,P);if(void 0===desc){if(null===Object.getPrototypeOf(target))return;return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set)return desc.value;const getter=desc.get;return void 0!==getter?Reflect.apply(getter,receiver,[]):void 0}has(target,P){if("symbol"==typeof P)return Reflect.has(target,P);if(void 0!==this.getOwnPropertyDescriptor(target,P))return!0;const parent=Object.getPrototypeOf(target);return null!==parent&&Reflect.has(parent,P)}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices])keys.add(`${key}`);for(const key of Reflect.ownKeys(target))keys.add(key);return[...keys]}getOwnPropertyDescriptor(target,P){if("symbol"==typeof P)return Reflect.getOwnPropertyDescriptor(target,P);let ignoreNamedProps=!1;if(utils.isArrayIndexPropName(P)){const index=P>>>0;if(target[implSymbol][utils.supportsPropertyIndex](index)){const indexedValue=target[implSymbol].item(index);return{writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)}}ignoreNamedProps=!0}return Reflect.getOwnPropertyDescriptor(target,P)}set(target,P,V,receiver){if("symbol"==typeof P)return Reflect.set(target,P,V,receiver);if(target[implSymbol][utils.wrapperSymbol]===receiver){this._globalObject}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0;if(target[implSymbol][utils.supportsPropertyIndex](index)){const indexedValue=target[implSymbol].item(index);ownDesc={writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)}}}if(void 0===ownDesc&&(ownDesc=Reflect.getOwnPropertyDescriptor(target,P)),void 0===ownDesc){const parent=Reflect.getPrototypeOf(target);if(null!==parent)return Reflect.set(parent,P,V,receiver);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:void 0}}if(!ownDesc.writable)return!1;if(!utils.isObject(receiver))return!1;const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(void 0!==existingDesc){if(existingDesc.get||existingDesc.set)return!1;if(!existingDesc.writable)return!1;valueDesc={value:V}}else valueDesc={writable:!0,enumerable:!0,configurable:!0,value:V};return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if("symbol"==typeof P)return Reflect.defineProperty(target,P,desc);this._globalObject;return!utils.isArrayIndexPropName(P)&&Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if("symbol"==typeof P)return Reflect.deleteProperty(target,P);this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!target[implSymbol][utils.supportsPropertyIndex](index)}return Reflect.deleteProperty(target,P)}preventExtensions(){return!1}}const Impl=__webpack_require__(88978)},28605:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].PluginArray.prototype),Object.create(proto)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);return void 0===proxyHandler&&(proxyHandler=new ProxyHandler(globalObject),proxyHandlerCache.set(globalObject,proxyHandler)),new Proxy(wrapper,proxyHandler)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'PluginArray'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),(wrapper=makeProxy(wrapper,globalObject))[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{let wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper=makeProxy(wrapper,globalObject),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class PluginArray{constructor(){throw new globalObject.TypeError("Illegal constructor")}refresh(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'refresh' called on an object that is not a valid instance of PluginArray.");return esValue[implSymbol].refresh()}item(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'item' called on an object that is not a valid instance of PluginArray.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'item' on 'PluginArray': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'PluginArray': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].item(...args)}namedItem(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'namedItem' called on an object that is not a valid instance of PluginArray.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'namedItem' on 'PluginArray': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'namedItem' on 'PluginArray': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].namedItem(...args)}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of PluginArray.");return esValue[implSymbol].length}}Object.defineProperties(PluginArray.prototype,{refresh:{enumerable:!0},item:{enumerable:!0},namedItem:{enumerable:!0},length:{enumerable:!0},[Symbol.toStringTag]:{value:"PluginArray",configurable:!0},[Symbol.iterator]:{value:globalObject.Array.prototype[Symbol.iterator],configurable:!0,writable:!0}}),ctorRegistry.PluginArray=PluginArray,Object.defineProperty(globalObject,"PluginArray",{configurable:!0,writable:!0,value:PluginArray})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if("symbol"==typeof P)return Reflect.get(target,P,receiver);const desc=this.getOwnPropertyDescriptor(target,P);if(void 0===desc){if(null===Object.getPrototypeOf(target))return;return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set)return desc.value;const getter=desc.get;return void 0!==getter?Reflect.apply(getter,receiver,[]):void 0}has(target,P){if("symbol"==typeof P)return Reflect.has(target,P);if(void 0!==this.getOwnPropertyDescriptor(target,P))return!0;const parent=Object.getPrototypeOf(target);return null!==parent&&Reflect.has(parent,P)}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices])keys.add(`${key}`);for(const key of Reflect.ownKeys(target))keys.add(key);return[...keys]}getOwnPropertyDescriptor(target,P){if("symbol"==typeof P)return Reflect.getOwnPropertyDescriptor(target,P);let ignoreNamedProps=!1;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);if(null!==indexedValue)return{writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)};ignoreNamedProps=!0}return Reflect.getOwnPropertyDescriptor(target,P)}set(target,P,V,receiver){if("symbol"==typeof P)return Reflect.set(target,P,V,receiver);if(target[implSymbol][utils.wrapperSymbol]===receiver){this._globalObject}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);null!==indexedValue&&(ownDesc={writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)})}if(void 0===ownDesc&&(ownDesc=Reflect.getOwnPropertyDescriptor(target,P)),void 0===ownDesc){const parent=Reflect.getPrototypeOf(target);if(null!==parent)return Reflect.set(parent,P,V,receiver);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:void 0}}if(!ownDesc.writable)return!1;if(!utils.isObject(receiver))return!1;const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(void 0!==existingDesc){if(existingDesc.get||existingDesc.set)return!1;if(!existingDesc.writable)return!1;valueDesc={value:V}}else valueDesc={writable:!0,enumerable:!0,configurable:!0,value:V};return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if("symbol"==typeof P)return Reflect.defineProperty(target,P,desc);this._globalObject;return!utils.isArrayIndexPropName(P)&&Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if("symbol"==typeof P)return Reflect.deleteProperty(target,P);this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(null!==target[implSymbol].item(index))}return Reflect.deleteProperty(target,P)}preventExtensions(){return!1}}const Impl=__webpack_require__(27034)},63763:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),PopStateEventInit=__webpack_require__(96793),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Event=__webpack_require__(6776);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].PopStateEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'PopStateEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class PopStateEvent extends globalObject.Event{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'PopStateEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'PopStateEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=PopStateEventInit.convert(globalObject,curArg,{context:"Failed to construct 'PopStateEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get state(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get state' called on an object that is not a valid instance of PopStateEvent.");return esValue[implSymbol].state}}Object.defineProperties(PopStateEvent.prototype,{state:{enumerable:!0},[Symbol.toStringTag]:{value:"PopStateEvent",configurable:!0}}),ctorRegistry.PopStateEvent=PopStateEvent,Object.defineProperty(globalObject,"PopStateEvent",{configurable:!0,writable:!0,value:PopStateEvent})};const Impl=__webpack_require__(28318)},96793:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),EventInit=(__webpack_require__(80421),__webpack_require__(75061));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="state";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.any(value,{context:context+" has member 'state' that",globals:globalObject}),ret[key]=value):ret[key]=null}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},69699:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,CharacterData=__webpack_require__(93324);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].ProcessingInstruction.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'ProcessingInstruction'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{CharacterData._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class ProcessingInstruction extends globalObject.CharacterData{constructor(){throw new globalObject.TypeError("Illegal constructor")}get target(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get target' called on an object that is not a valid instance of ProcessingInstruction.");return esValue[implSymbol].target}}Object.defineProperties(ProcessingInstruction.prototype,{target:{enumerable:!0},[Symbol.toStringTag]:{value:"ProcessingInstruction",configurable:!0}}),ctorRegistry.ProcessingInstruction=ProcessingInstruction,Object.defineProperty(globalObject,"ProcessingInstruction",{configurable:!0,writable:!0,value:ProcessingInstruction})};const Impl=__webpack_require__(16015)},49363:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),ProgressEventInit=__webpack_require__(13099),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Event=__webpack_require__(6776);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].ProgressEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'ProgressEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","DedicatedWorker","SharedWorker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class ProgressEvent extends globalObject.Event{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'ProgressEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'ProgressEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=ProgressEventInit.convert(globalObject,curArg,{context:"Failed to construct 'ProgressEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get lengthComputable(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get lengthComputable' called on an object that is not a valid instance of ProgressEvent.");return esValue[implSymbol].lengthComputable}get loaded(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get loaded' called on an object that is not a valid instance of ProgressEvent.");return esValue[implSymbol].loaded}get total(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get total' called on an object that is not a valid instance of ProgressEvent.");return esValue[implSymbol].total}}Object.defineProperties(ProgressEvent.prototype,{lengthComputable:{enumerable:!0},loaded:{enumerable:!0},total:{enumerable:!0},[Symbol.toStringTag]:{value:"ProgressEvent",configurable:!0}}),ctorRegistry.ProgressEvent=ProgressEvent,Object.defineProperty(globalObject,"ProgressEvent",{configurable:!0,writable:!0,value:ProgressEvent})};const Impl=__webpack_require__(45126)},13099:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),EventInit=(__webpack_require__(80421),__webpack_require__(75061));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="lengthComputable";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.boolean(value,{context:context+" has member 'lengthComputable' that",globals:globalObject}),ret[key]=value):ret[key]=!1}{const key="loaded";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions["unsigned long long"](value,{context:context+" has member 'loaded' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="total";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions["unsigned long long"](value,{context:context+" has member 'total' that",globals:globalObject}),ret[key]=value):ret[key]=0}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},74318:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),Node=__webpack_require__(47462),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,AbstractRange=__webpack_require__(20229);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Range.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Range'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{AbstractRange._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Range extends globalObject.AbstractRange{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,void 0)}setStart(node,offset){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setStart' called on an object that is not a valid instance of Range.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'setStart' on 'Range': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'setStart' on 'Range': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setStart' on 'Range': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].setStart(...args)}setEnd(node,offset){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setEnd' called on an object that is not a valid instance of Range.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'setEnd' on 'Range': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'setEnd' on 'Range': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setEnd' on 'Range': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].setEnd(...args)}setStartBefore(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setStartBefore' called on an object that is not a valid instance of Range.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setStartBefore' on 'Range': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'setStartBefore' on 'Range': parameter 1"}),args.push(curArg)}return esValue[implSymbol].setStartBefore(...args)}setStartAfter(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setStartAfter' called on an object that is not a valid instance of Range.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setStartAfter' on 'Range': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'setStartAfter' on 'Range': parameter 1"}),args.push(curArg)}return esValue[implSymbol].setStartAfter(...args)}setEndBefore(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setEndBefore' called on an object that is not a valid instance of Range.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setEndBefore' on 'Range': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'setEndBefore' on 'Range': parameter 1"}),args.push(curArg)}return esValue[implSymbol].setEndBefore(...args)}setEndAfter(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setEndAfter' called on an object that is not a valid instance of Range.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setEndAfter' on 'Range': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'setEndAfter' on 'Range': parameter 1"}),args.push(curArg)}return esValue[implSymbol].setEndAfter(...args)}collapse(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'collapse' called on an object that is not a valid instance of Range.");const args=[];{let curArg=arguments[0];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'collapse' on 'Range': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].collapse(...args)}selectNode(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'selectNode' called on an object that is not a valid instance of Range.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'selectNode' on 'Range': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'selectNode' on 'Range': parameter 1"}),args.push(curArg)}return esValue[implSymbol].selectNode(...args)}selectNodeContents(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'selectNodeContents' called on an object that is not a valid instance of Range.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'selectNodeContents' on 'Range': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'selectNodeContents' on 'Range': parameter 1"}),args.push(curArg)}return esValue[implSymbol].selectNodeContents(...args)}compareBoundaryPoints(how,sourceRange){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'compareBoundaryPoints' called on an object that is not a valid instance of Range.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'compareBoundaryPoints' on 'Range': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned short"](curArg,{context:"Failed to execute 'compareBoundaryPoints' on 'Range': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=exports.convert(globalObject,curArg,{context:"Failed to execute 'compareBoundaryPoints' on 'Range': parameter 2"}),args.push(curArg)}return esValue[implSymbol].compareBoundaryPoints(...args)}deleteContents(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'deleteContents' called on an object that is not a valid instance of Range.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteContents()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}extractContents(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'extractContents' called on an object that is not a valid instance of Range.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].extractContents())}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}cloneContents(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'cloneContents' called on an object that is not a valid instance of Range.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].cloneContents())}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}insertNode(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'insertNode' called on an object that is not a valid instance of Range.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'insertNode' on 'Range': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'insertNode' on 'Range': parameter 1"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].insertNode(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}surroundContents(newParent){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'surroundContents' called on an object that is not a valid instance of Range.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'surroundContents' on 'Range': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'surroundContents' on 'Range': parameter 1"}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].surroundContents(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}cloneRange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'cloneRange' called on an object that is not a valid instance of Range.");return utils.tryWrapperForImpl(esValue[implSymbol].cloneRange())}detach(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'detach' called on an object that is not a valid instance of Range.");return esValue[implSymbol].detach()}isPointInRange(node,offset){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'isPointInRange' called on an object that is not a valid instance of Range.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'isPointInRange' on 'Range': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'isPointInRange' on 'Range': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'isPointInRange' on 'Range': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].isPointInRange(...args)}comparePoint(node,offset){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'comparePoint' called on an object that is not a valid instance of Range.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'comparePoint' on 'Range': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'comparePoint' on 'Range': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'comparePoint' on 'Range': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].comparePoint(...args)}intersectsNode(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'intersectsNode' called on an object that is not a valid instance of Range.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'intersectsNode' on 'Range': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'intersectsNode' on 'Range': parameter 1"}),args.push(curArg)}return esValue[implSymbol].intersectsNode(...args)}toString(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'toString' called on an object that is not a valid instance of Range.");return esValue[implSymbol].toString()}createContextualFragment(fragment){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createContextualFragment' called on an object that is not a valid instance of Range.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'createContextualFragment' on 'Range': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'createContextualFragment' on 'Range': parameter 1",globals:globalObject}),args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].createContextualFragment(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get commonAncestorContainer(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get commonAncestorContainer' called on an object that is not a valid instance of Range.");return utils.tryWrapperForImpl(esValue[implSymbol].commonAncestorContainer)}}Object.defineProperties(Range.prototype,{setStart:{enumerable:!0},setEnd:{enumerable:!0},setStartBefore:{enumerable:!0},setStartAfter:{enumerable:!0},setEndBefore:{enumerable:!0},setEndAfter:{enumerable:!0},collapse:{enumerable:!0},selectNode:{enumerable:!0},selectNodeContents:{enumerable:!0},compareBoundaryPoints:{enumerable:!0},deleteContents:{enumerable:!0},extractContents:{enumerable:!0},cloneContents:{enumerable:!0},insertNode:{enumerable:!0},surroundContents:{enumerable:!0},cloneRange:{enumerable:!0},detach:{enumerable:!0},isPointInRange:{enumerable:!0},comparePoint:{enumerable:!0},intersectsNode:{enumerable:!0},toString:{enumerable:!0},createContextualFragment:{enumerable:!0},commonAncestorContainer:{enumerable:!0},[Symbol.toStringTag]:{value:"Range",configurable:!0},START_TO_START:{value:0,enumerable:!0},START_TO_END:{value:1,enumerable:!0},END_TO_END:{value:2,enumerable:!0},END_TO_START:{value:3,enumerable:!0}}),Object.defineProperties(Range,{START_TO_START:{value:0,enumerable:!0},START_TO_END:{value:1,enumerable:!0},END_TO_END:{value:2,enumerable:!0},END_TO_START:{value:3,enumerable:!0}}),ctorRegistry.Range=Range,Object.defineProperty(globalObject,"Range",{configurable:!0,writable:!0,value:Range})};const Impl=__webpack_require__(78913)},51011:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].SVGAnimatedString.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'SVGAnimatedString'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class SVGAnimatedString{constructor(){throw new globalObject.TypeError("Illegal constructor")}get baseVal(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get baseVal' called on an object that is not a valid instance of SVGAnimatedString.");return esValue[implSymbol].baseVal}set baseVal(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set baseVal' called on an object that is not a valid instance of SVGAnimatedString.");V=conversions.DOMString(V,{context:"Failed to set the 'baseVal' property on 'SVGAnimatedString': The provided value",globals:globalObject}),esValue[implSymbol].baseVal=V}get animVal(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get animVal' called on an object that is not a valid instance of SVGAnimatedString.");return esValue[implSymbol].animVal}}Object.defineProperties(SVGAnimatedString.prototype,{baseVal:{enumerable:!0},animVal:{enumerable:!0},[Symbol.toStringTag]:{value:"SVGAnimatedString",configurable:!0}}),ctorRegistry.SVGAnimatedString=SVGAnimatedString,Object.defineProperty(globalObject,"SVGAnimatedString",{configurable:!0,writable:!0,value:SVGAnimatedString})};const Impl=__webpack_require__(54227)},14700:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),EventHandlerNonNull=__webpack_require__(65685),OnErrorEventHandlerNonNull=__webpack_require__(39017),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Element=__webpack_require__(61157);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].SVGElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'SVGElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Element._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class SVGElement extends globalObject.Element{constructor(){throw new globalObject.TypeError("Illegal constructor")}focus(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'focus' called on an object that is not a valid instance of SVGElement.");return esValue[implSymbol].focus()}blur(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'blur' called on an object that is not a valid instance of SVGElement.");return esValue[implSymbol].blur()}get className(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get className' called on an object that is not a valid instance of SVGElement.");return utils.getSameObject(this,"className",(()=>utils.tryWrapperForImpl(esValue[implSymbol].className)))}get ownerSVGElement(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ownerSVGElement' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ownerSVGElement)}get viewportElement(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get viewportElement' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].viewportElement)}get style(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get style' called on an object that is not a valid instance of SVGElement.");return utils.getSameObject(this,"style",(()=>utils.tryWrapperForImpl(esValue[implSymbol].style)))}set style(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set style' called on an object that is not a valid instance of SVGElement.");const Q=esValue.style;if(!utils.isObject(Q))throw new globalObject.TypeError("Property 'style' is not an object");Reflect.set(Q,"cssText",V)}get onabort(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onabort' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onabort)}set onabort(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onabort' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onabort' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onabort=V}get onauxclick(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onauxclick' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onauxclick)}set onauxclick(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onauxclick' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onauxclick' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onauxclick=V}get onblur(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onblur' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onblur)}set onblur(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onblur' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onblur' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onblur=V}get oncancel(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncancel' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].oncancel)}set oncancel(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncancel' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncancel' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].oncancel=V}get oncanplay(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncanplay' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].oncanplay)}set oncanplay(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncanplay' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncanplay' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].oncanplay=V}get oncanplaythrough(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncanplaythrough' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].oncanplaythrough)}set oncanplaythrough(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncanplaythrough' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncanplaythrough' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].oncanplaythrough=V}get onchange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onchange' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onchange)}set onchange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onchange' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onchange' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onchange=V}get onclick(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onclick' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onclick)}set onclick(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onclick' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onclick' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onclick=V}get onclose(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onclose' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onclose)}set onclose(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onclose' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onclose' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onclose=V}get oncontextmenu(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncontextmenu' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].oncontextmenu)}set oncontextmenu(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncontextmenu' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncontextmenu' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].oncontextmenu=V}get oncuechange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oncuechange' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].oncuechange)}set oncuechange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oncuechange' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oncuechange' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].oncuechange=V}get ondblclick(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondblclick' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondblclick)}set ondblclick(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondblclick' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondblclick' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].ondblclick=V}get ondrag(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondrag' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondrag)}set ondrag(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondrag' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondrag' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].ondrag=V}get ondragend(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragend' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragend)}set ondragend(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragend' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragend' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].ondragend=V}get ondragenter(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragenter' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragenter)}set ondragenter(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragenter' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragenter' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].ondragenter=V}get ondragleave(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragleave' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragleave)}set ondragleave(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragleave' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragleave' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].ondragleave=V}get ondragover(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragover' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragover)}set ondragover(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragover' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragover' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].ondragover=V}get ondragstart(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondragstart' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondragstart)}set ondragstart(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondragstart' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondragstart' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].ondragstart=V}get ondrop(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondrop' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondrop)}set ondrop(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondrop' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondrop' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].ondrop=V}get ondurationchange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ondurationchange' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ondurationchange)}set ondurationchange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ondurationchange' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ondurationchange' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].ondurationchange=V}get onemptied(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onemptied' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onemptied)}set onemptied(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onemptied' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onemptied' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onemptied=V}get onended(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onended' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onended)}set onended(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onended' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onended' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onended=V}get onerror(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onerror' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onerror)}set onerror(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onerror' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?OnErrorEventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onerror' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onerror=V}get onfocus(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onfocus' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onfocus)}set onfocus(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onfocus' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onfocus' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onfocus=V}get oninput(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oninput' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].oninput)}set oninput(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oninput' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oninput' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].oninput=V}get oninvalid(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oninvalid' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].oninvalid)}set oninvalid(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set oninvalid' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'oninvalid' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].oninvalid=V}get onkeydown(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onkeydown' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onkeydown)}set onkeydown(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onkeydown' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onkeydown' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onkeydown=V}get onkeypress(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onkeypress' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onkeypress)}set onkeypress(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onkeypress' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onkeypress' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onkeypress=V}get onkeyup(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onkeyup' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onkeyup)}set onkeyup(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onkeyup' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onkeyup' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onkeyup=V}get onload(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onload' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onload)}set onload(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onload' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onload' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onload=V}get onloadeddata(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadeddata' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadeddata)}set onloadeddata(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadeddata' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadeddata' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onloadeddata=V}get onloadedmetadata(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadedmetadata' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadedmetadata)}set onloadedmetadata(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadedmetadata' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadedmetadata' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onloadedmetadata=V}get onloadend(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadend' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadend)}set onloadend(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadend' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadend' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onloadend=V}get onloadstart(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadstart' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadstart)}set onloadstart(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadstart' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadstart' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onloadstart=V}get onmousedown(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmousedown' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmousedown)}set onmousedown(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmousedown' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmousedown' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onmousedown=V}get onmouseenter(){const esValue=null!=this?this:globalObject;if(exports.is(esValue))return utils.tryWrapperForImpl(esValue[implSymbol].onmouseenter)}set onmouseenter(V){const esValue=null!=this?this:globalObject;exports.is(esValue)&&(V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseenter' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onmouseenter=V)}get onmouseleave(){const esValue=null!=this?this:globalObject;if(exports.is(esValue))return utils.tryWrapperForImpl(esValue[implSymbol].onmouseleave)}set onmouseleave(V){const esValue=null!=this?this:globalObject;exports.is(esValue)&&(V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseleave' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onmouseleave=V)}get onmousemove(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmousemove' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmousemove)}set onmousemove(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmousemove' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmousemove' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onmousemove=V}get onmouseout(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmouseout' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmouseout)}set onmouseout(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmouseout' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseout' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onmouseout=V}get onmouseover(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmouseover' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmouseover)}set onmouseover(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmouseover' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseover' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onmouseover=V}get onmouseup(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmouseup' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmouseup)}set onmouseup(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmouseup' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmouseup' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onmouseup=V}get onwheel(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onwheel' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onwheel)}set onwheel(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onwheel' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onwheel' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onwheel=V}get onpause(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onpause' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onpause)}set onpause(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onpause' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onpause' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onpause=V}get onplay(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onplay' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onplay)}set onplay(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onplay' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onplay' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onplay=V}get onplaying(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onplaying' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onplaying)}set onplaying(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onplaying' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onplaying' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onplaying=V}get onprogress(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onprogress' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onprogress)}set onprogress(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onprogress' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onprogress' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onprogress=V}get onratechange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onratechange' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onratechange)}set onratechange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onratechange' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onratechange' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onratechange=V}get onreset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onreset' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onreset)}set onreset(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onreset' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onreset' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onreset=V}get onresize(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onresize' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onresize)}set onresize(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onresize' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onresize' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onresize=V}get onscroll(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onscroll' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onscroll)}set onscroll(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onscroll' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onscroll' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onscroll=V}get onsecuritypolicyviolation(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onsecuritypolicyviolation' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onsecuritypolicyviolation)}set onsecuritypolicyviolation(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onsecuritypolicyviolation' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onsecuritypolicyviolation' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onsecuritypolicyviolation=V}get onseeked(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onseeked' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onseeked)}set onseeked(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onseeked' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onseeked' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onseeked=V}get onseeking(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onseeking' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onseeking)}set onseeking(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onseeking' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onseeking' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onseeking=V}get onselect(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onselect' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onselect)}set onselect(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onselect' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onselect' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onselect=V}get onstalled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onstalled' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onstalled)}set onstalled(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onstalled' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onstalled' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onstalled=V}get onsubmit(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onsubmit' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onsubmit)}set onsubmit(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onsubmit' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onsubmit' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onsubmit=V}get onsuspend(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onsuspend' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onsuspend)}set onsuspend(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onsuspend' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onsuspend' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onsuspend=V}get ontimeupdate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ontimeupdate' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ontimeupdate)}set ontimeupdate(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ontimeupdate' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ontimeupdate' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].ontimeupdate=V}get ontoggle(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ontoggle' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ontoggle)}set ontoggle(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ontoggle' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ontoggle' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].ontoggle=V}get onvolumechange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onvolumechange' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onvolumechange)}set onvolumechange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onvolumechange' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onvolumechange' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onvolumechange=V}get onwaiting(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onwaiting' called on an object that is not a valid instance of SVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onwaiting)}set onwaiting(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onwaiting' called on an object that is not a valid instance of SVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onwaiting' property on 'SVGElement': The provided value"}):null,esValue[implSymbol].onwaiting=V}get dataset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get dataset' called on an object that is not a valid instance of SVGElement.");return utils.getSameObject(this,"dataset",(()=>utils.tryWrapperForImpl(esValue[implSymbol].dataset)))}get nonce(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get nonce' called on an object that is not a valid instance of SVGElement.");const value=esValue[implSymbol].getAttributeNS(null,"nonce");return null===value?"":value}set nonce(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set nonce' called on an object that is not a valid instance of SVGElement.");V=conversions.DOMString(V,{context:"Failed to set the 'nonce' property on 'SVGElement': The provided value",globals:globalObject}),esValue[implSymbol].setAttributeNS(null,"nonce",V)}get tabIndex(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get tabIndex' called on an object that is not a valid instance of SVGElement.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].tabIndex}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set tabIndex(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set tabIndex' called on an object that is not a valid instance of SVGElement.");V=conversions.long(V,{context:"Failed to set the 'tabIndex' property on 'SVGElement': The provided value",globals:globalObject}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].tabIndex=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(SVGElement.prototype,{focus:{enumerable:!0},blur:{enumerable:!0},className:{enumerable:!0},ownerSVGElement:{enumerable:!0},viewportElement:{enumerable:!0},style:{enumerable:!0},onabort:{enumerable:!0},onauxclick:{enumerable:!0},onblur:{enumerable:!0},oncancel:{enumerable:!0},oncanplay:{enumerable:!0},oncanplaythrough:{enumerable:!0},onchange:{enumerable:!0},onclick:{enumerable:!0},onclose:{enumerable:!0},oncontextmenu:{enumerable:!0},oncuechange:{enumerable:!0},ondblclick:{enumerable:!0},ondrag:{enumerable:!0},ondragend:{enumerable:!0},ondragenter:{enumerable:!0},ondragleave:{enumerable:!0},ondragover:{enumerable:!0},ondragstart:{enumerable:!0},ondrop:{enumerable:!0},ondurationchange:{enumerable:!0},onemptied:{enumerable:!0},onended:{enumerable:!0},onerror:{enumerable:!0},onfocus:{enumerable:!0},oninput:{enumerable:!0},oninvalid:{enumerable:!0},onkeydown:{enumerable:!0},onkeypress:{enumerable:!0},onkeyup:{enumerable:!0},onload:{enumerable:!0},onloadeddata:{enumerable:!0},onloadedmetadata:{enumerable:!0},onloadend:{enumerable:!0},onloadstart:{enumerable:!0},onmousedown:{enumerable:!0},onmouseenter:{enumerable:!0},onmouseleave:{enumerable:!0},onmousemove:{enumerable:!0},onmouseout:{enumerable:!0},onmouseover:{enumerable:!0},onmouseup:{enumerable:!0},onwheel:{enumerable:!0},onpause:{enumerable:!0},onplay:{enumerable:!0},onplaying:{enumerable:!0},onprogress:{enumerable:!0},onratechange:{enumerable:!0},onreset:{enumerable:!0},onresize:{enumerable:!0},onscroll:{enumerable:!0},onsecuritypolicyviolation:{enumerable:!0},onseeked:{enumerable:!0},onseeking:{enumerable:!0},onselect:{enumerable:!0},onstalled:{enumerable:!0},onsubmit:{enumerable:!0},onsuspend:{enumerable:!0},ontimeupdate:{enumerable:!0},ontoggle:{enumerable:!0},onvolumechange:{enumerable:!0},onwaiting:{enumerable:!0},dataset:{enumerable:!0},nonce:{enumerable:!0},tabIndex:{enumerable:!0},[Symbol.toStringTag]:{value:"SVGElement",configurable:!0}}),ctorRegistry.SVGElement=SVGElement,Object.defineProperty(globalObject,"SVGElement",{configurable:!0,writable:!0,value:SVGElement})};const Impl=__webpack_require__(4792)},72701:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,SVGElement=__webpack_require__(14700);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].SVGGraphicsElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'SVGGraphicsElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{SVGElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class SVGGraphicsElement extends globalObject.SVGElement{constructor(){throw new globalObject.TypeError("Illegal constructor")}get requiredExtensions(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get requiredExtensions' called on an object that is not a valid instance of SVGGraphicsElement.");return utils.getSameObject(this,"requiredExtensions",(()=>utils.tryWrapperForImpl(esValue[implSymbol].requiredExtensions)))}get systemLanguage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get systemLanguage' called on an object that is not a valid instance of SVGGraphicsElement.");return utils.getSameObject(this,"systemLanguage",(()=>utils.tryWrapperForImpl(esValue[implSymbol].systemLanguage)))}}Object.defineProperties(SVGGraphicsElement.prototype,{requiredExtensions:{enumerable:!0},systemLanguage:{enumerable:!0},[Symbol.toStringTag]:{value:"SVGGraphicsElement",configurable:!0}}),ctorRegistry.SVGGraphicsElement=SVGGraphicsElement,Object.defineProperty(globalObject,"SVGGraphicsElement",{configurable:!0,writable:!0,value:SVGGraphicsElement})};const Impl=__webpack_require__(68366)},12842:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].SVGNumber.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'SVGNumber'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class SVGNumber{constructor(){throw new globalObject.TypeError("Illegal constructor")}get value(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get value' called on an object that is not a valid instance of SVGNumber.");return esValue[implSymbol].value}set value(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set value' called on an object that is not a valid instance of SVGNumber.");V=conversions.float(V,{context:"Failed to set the 'value' property on 'SVGNumber': The provided value",globals:globalObject}),esValue[implSymbol].value=V}}Object.defineProperties(SVGNumber.prototype,{value:{enumerable:!0},[Symbol.toStringTag]:{value:"SVGNumber",configurable:!0}}),ctorRegistry.SVGNumber=SVGNumber,Object.defineProperty(globalObject,"SVGNumber",{configurable:!0,writable:!0,value:SVGNumber})};const Impl=__webpack_require__(96777)},42028:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),EventHandlerNonNull=__webpack_require__(65685),OnBeforeUnloadEventHandlerNonNull=__webpack_require__(91983),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,SVGGraphicsElement=__webpack_require__(72701);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].SVGSVGElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'SVGSVGElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{SVGGraphicsElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class SVGSVGElement extends globalObject.SVGGraphicsElement{constructor(){throw new globalObject.TypeError("Illegal constructor")}createSVGNumber(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'createSVGNumber' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].createSVGNumber())}getElementById(elementId){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getElementById' called on an object that is not a valid instance of SVGSVGElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getElementById' on 'SVGSVGElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getElementById' on 'SVGSVGElement': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementById(...args))}suspendRedraw(maxWaitMilliseconds){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'suspendRedraw' called on an object that is not a valid instance of SVGSVGElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'suspendRedraw' on 'SVGSVGElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'suspendRedraw' on 'SVGSVGElement': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].suspendRedraw(...args)}unsuspendRedraw(suspendHandleID){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'unsuspendRedraw' called on an object that is not a valid instance of SVGSVGElement.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'unsuspendRedraw' on 'SVGSVGElement': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'unsuspendRedraw' on 'SVGSVGElement': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].unsuspendRedraw(...args)}unsuspendRedrawAll(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'unsuspendRedrawAll' called on an object that is not a valid instance of SVGSVGElement.");return esValue[implSymbol].unsuspendRedrawAll()}forceRedraw(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'forceRedraw' called on an object that is not a valid instance of SVGSVGElement.");return esValue[implSymbol].forceRedraw()}get onafterprint(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onafterprint' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onafterprint)}set onafterprint(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onafterprint' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onafterprint' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onafterprint=V}get onbeforeprint(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onbeforeprint' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onbeforeprint)}set onbeforeprint(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onbeforeprint' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onbeforeprint' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onbeforeprint=V}get onbeforeunload(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onbeforeunload' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onbeforeunload)}set onbeforeunload(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onbeforeunload' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?OnBeforeUnloadEventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onbeforeunload' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onbeforeunload=V}get onhashchange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onhashchange' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onhashchange)}set onhashchange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onhashchange' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onhashchange' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onhashchange=V}get onlanguagechange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onlanguagechange' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onlanguagechange)}set onlanguagechange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onlanguagechange' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onlanguagechange' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onlanguagechange=V}get onmessage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmessage' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmessage)}set onmessage(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmessage' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmessage' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onmessage=V}get onmessageerror(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmessageerror' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onmessageerror)}set onmessageerror(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmessageerror' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmessageerror' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onmessageerror=V}get onoffline(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onoffline' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onoffline)}set onoffline(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onoffline' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onoffline' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onoffline=V}get ononline(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ononline' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].ononline)}set ononline(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ononline' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ononline' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].ononline=V}get onpagehide(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onpagehide' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onpagehide)}set onpagehide(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onpagehide' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onpagehide' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onpagehide=V}get onpageshow(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onpageshow' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onpageshow)}set onpageshow(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onpageshow' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onpageshow' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onpageshow=V}get onpopstate(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onpopstate' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onpopstate)}set onpopstate(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onpopstate' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onpopstate' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onpopstate=V}get onrejectionhandled(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onrejectionhandled' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onrejectionhandled)}set onrejectionhandled(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onrejectionhandled' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onrejectionhandled' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onrejectionhandled=V}get onstorage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onstorage' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onstorage)}set onstorage(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onstorage' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onstorage' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onstorage=V}get onunhandledrejection(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onunhandledrejection' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onunhandledrejection)}set onunhandledrejection(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onunhandledrejection' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onunhandledrejection' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onunhandledrejection=V}get onunload(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onunload' called on an object that is not a valid instance of SVGSVGElement.");return utils.tryWrapperForImpl(esValue[implSymbol].onunload)}set onunload(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onunload' called on an object that is not a valid instance of SVGSVGElement.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onunload' property on 'SVGSVGElement': The provided value"}):null,esValue[implSymbol].onunload=V}}Object.defineProperties(SVGSVGElement.prototype,{createSVGNumber:{enumerable:!0},getElementById:{enumerable:!0},suspendRedraw:{enumerable:!0},unsuspendRedraw:{enumerable:!0},unsuspendRedrawAll:{enumerable:!0},forceRedraw:{enumerable:!0},onafterprint:{enumerable:!0},onbeforeprint:{enumerable:!0},onbeforeunload:{enumerable:!0},onhashchange:{enumerable:!0},onlanguagechange:{enumerable:!0},onmessage:{enumerable:!0},onmessageerror:{enumerable:!0},onoffline:{enumerable:!0},ononline:{enumerable:!0},onpagehide:{enumerable:!0},onpageshow:{enumerable:!0},onpopstate:{enumerable:!0},onrejectionhandled:{enumerable:!0},onstorage:{enumerable:!0},onunhandledrejection:{enumerable:!0},onunload:{enumerable:!0},[Symbol.toStringTag]:{value:"SVGSVGElement",configurable:!0}}),ctorRegistry.SVGSVGElement=SVGSVGElement,Object.defineProperty(globalObject,"SVGSVGElement",{configurable:!0,writable:!0,value:SVGSVGElement})};const Impl=__webpack_require__(86107)},68438:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].SVGStringList.prototype),Object.create(proto)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);return void 0===proxyHandler&&(proxyHandler=new ProxyHandler(globalObject),proxyHandlerCache.set(globalObject,proxyHandler)),new Proxy(wrapper,proxyHandler)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'SVGStringList'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),(wrapper=makeProxy(wrapper,globalObject))[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{let wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper=makeProxy(wrapper,globalObject),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class SVGStringList{constructor(){throw new globalObject.TypeError("Illegal constructor")}clear(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'clear' called on an object that is not a valid instance of SVGStringList.");return esValue[implSymbol].clear()}initialize(newItem){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'initialize' called on an object that is not a valid instance of SVGStringList.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'initialize' on 'SVGStringList': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'initialize' on 'SVGStringList': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].initialize(...args)}getItem(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getItem' called on an object that is not a valid instance of SVGStringList.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getItem' on 'SVGStringList': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'getItem' on 'SVGStringList': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].getItem(...args)}insertItemBefore(newItem,index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'insertItemBefore' called on an object that is not a valid instance of SVGStringList.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'insertItemBefore' on 'SVGStringList': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'insertItemBefore' on 'SVGStringList': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'insertItemBefore' on 'SVGStringList': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].insertItemBefore(...args)}replaceItem(newItem,index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'replaceItem' called on an object that is not a valid instance of SVGStringList.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'replaceItem' on 'SVGStringList': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'replaceItem' on 'SVGStringList': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'replaceItem' on 'SVGStringList': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].replaceItem(...args)}removeItem(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'removeItem' called on an object that is not a valid instance of SVGStringList.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'removeItem' on 'SVGStringList': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'removeItem' on 'SVGStringList': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].removeItem(...args)}appendItem(newItem){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'appendItem' called on an object that is not a valid instance of SVGStringList.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'appendItem' on 'SVGStringList': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'appendItem' on 'SVGStringList': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].appendItem(...args)}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of SVGStringList.");return esValue[implSymbol].length}get numberOfItems(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get numberOfItems' called on an object that is not a valid instance of SVGStringList.");return esValue[implSymbol].numberOfItems}}Object.defineProperties(SVGStringList.prototype,{clear:{enumerable:!0},initialize:{enumerable:!0},getItem:{enumerable:!0},insertItemBefore:{enumerable:!0},replaceItem:{enumerable:!0},removeItem:{enumerable:!0},appendItem:{enumerable:!0},length:{enumerable:!0},numberOfItems:{enumerable:!0},[Symbol.toStringTag]:{value:"SVGStringList",configurable:!0},[Symbol.iterator]:{value:globalObject.Array.prototype[Symbol.iterator],configurable:!0,writable:!0}}),ctorRegistry.SVGStringList=SVGStringList,Object.defineProperty(globalObject,"SVGStringList",{configurable:!0,writable:!0,value:SVGStringList})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if("symbol"==typeof P)return Reflect.get(target,P,receiver);const desc=this.getOwnPropertyDescriptor(target,P);if(void 0===desc){if(null===Object.getPrototypeOf(target))return;return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set)return desc.value;const getter=desc.get;return void 0!==getter?Reflect.apply(getter,receiver,[]):void 0}has(target,P){if("symbol"==typeof P)return Reflect.has(target,P);if(void 0!==this.getOwnPropertyDescriptor(target,P))return!0;const parent=Object.getPrototypeOf(target);return null!==parent&&Reflect.has(parent,P)}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices])keys.add(`${key}`);for(const key of Reflect.ownKeys(target))keys.add(key);return[...keys]}getOwnPropertyDescriptor(target,P){if("symbol"==typeof P)return Reflect.getOwnPropertyDescriptor(target,P);let ignoreNamedProps=!1;if(utils.isArrayIndexPropName(P)){const index=P>>>0;if(target[implSymbol][utils.supportsPropertyIndex](index)){const indexedValue=target[implSymbol].getItem(index);return{writable:!0,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)}}ignoreNamedProps=!0}return Reflect.getOwnPropertyDescriptor(target,P)}set(target,P,V,receiver){if("symbol"==typeof P)return Reflect.set(target,P,V,receiver);if(target[implSymbol][utils.wrapperSymbol]===receiver){const globalObject=this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;let indexedValue=V;indexedValue=conversions.DOMString(indexedValue,{context:"Failed to set the "+index+" property on 'SVGStringList': The provided value",globals:globalObject});return!target[implSymbol][utils.supportsPropertyIndex](index)?target[implSymbol][utils.indexedSetNew](index,indexedValue):target[implSymbol][utils.indexedSetExisting](index,indexedValue),!0}}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0;if(target[implSymbol][utils.supportsPropertyIndex](index)){const indexedValue=target[implSymbol].getItem(index);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)}}}if(void 0===ownDesc&&(ownDesc=Reflect.getOwnPropertyDescriptor(target,P)),void 0===ownDesc){const parent=Reflect.getPrototypeOf(target);if(null!==parent)return Reflect.set(parent,P,V,receiver);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:void 0}}if(!ownDesc.writable)return!1;if(!utils.isObject(receiver))return!1;const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(void 0!==existingDesc){if(existingDesc.get||existingDesc.set)return!1;if(!existingDesc.writable)return!1;valueDesc={value:V}}else valueDesc={writable:!0,enumerable:!0,configurable:!0,value:V};return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if("symbol"==typeof P)return Reflect.defineProperty(target,P,desc);const globalObject=this._globalObject;if(utils.isArrayIndexPropName(P)){if(desc.get||desc.set)return!1;const index=P>>>0;let indexedValue=desc.value;indexedValue=conversions.DOMString(indexedValue,{context:"Failed to set the "+index+" property on 'SVGStringList': The provided value",globals:globalObject});return!target[implSymbol][utils.supportsPropertyIndex](index)?target[implSymbol][utils.indexedSetNew](index,indexedValue):target[implSymbol][utils.indexedSetExisting](index,indexedValue),!0}return Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if("symbol"==typeof P)return Reflect.deleteProperty(target,P);this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!target[implSymbol][utils.supportsPropertyIndex](index)}return Reflect.deleteProperty(target,P)}preventExtensions(){return!1}}const Impl=__webpack_require__(21463)},79707:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,SVGElement=__webpack_require__(14700);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].SVGTitleElement.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'SVGTitleElement'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{SVGElement._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class SVGTitleElement extends globalObject.SVGElement{constructor(){throw new globalObject.TypeError("Illegal constructor")}}Object.defineProperties(SVGTitleElement.prototype,{[Symbol.toStringTag]:{value:"SVGTitleElement",configurable:!0}}),ctorRegistry.SVGTitleElement=SVGTitleElement,Object.defineProperty(globalObject,"SVGTitleElement",{configurable:!0,writable:!0,value:SVGTitleElement})};const Impl=__webpack_require__(9544)},65807:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Screen.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Screen'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Screen{constructor(){throw new globalObject.TypeError("Illegal constructor")}get availWidth(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get availWidth' called on an object that is not a valid instance of Screen.");return esValue[implSymbol].availWidth}get availHeight(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get availHeight' called on an object that is not a valid instance of Screen.");return esValue[implSymbol].availHeight}get width(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get width' called on an object that is not a valid instance of Screen.");return esValue[implSymbol].width}get height(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get height' called on an object that is not a valid instance of Screen.");return esValue[implSymbol].height}get colorDepth(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get colorDepth' called on an object that is not a valid instance of Screen.");return esValue[implSymbol].colorDepth}get pixelDepth(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get pixelDepth' called on an object that is not a valid instance of Screen.");return esValue[implSymbol].pixelDepth}}Object.defineProperties(Screen.prototype,{availWidth:{enumerable:!0},availHeight:{enumerable:!0},width:{enumerable:!0},height:{enumerable:!0},colorDepth:{enumerable:!0},pixelDepth:{enumerable:!0},[Symbol.toStringTag]:{value:"Screen",configurable:!0}}),ctorRegistry.Screen=Screen,Object.defineProperty(globalObject,"Screen",{configurable:!0,writable:!0,value:Screen})};const Impl=__webpack_require__(63002)},43018:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),Range=__webpack_require__(74318),Node=__webpack_require__(47462),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Selection.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Selection'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Selection{constructor(){throw new globalObject.TypeError("Illegal constructor")}getRangeAt(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getRangeAt' called on an object that is not a valid instance of Selection.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getRangeAt' on 'Selection': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'getRangeAt' on 'Selection': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getRangeAt(...args))}addRange(range){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'addRange' called on an object that is not a valid instance of Selection.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'addRange' on 'Selection': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Range.convert(globalObject,curArg,{context:"Failed to execute 'addRange' on 'Selection': parameter 1"}),args.push(curArg)}return esValue[implSymbol].addRange(...args)}removeRange(range){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'removeRange' called on an object that is not a valid instance of Selection.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'removeRange' on 'Selection': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Range.convert(globalObject,curArg,{context:"Failed to execute 'removeRange' on 'Selection': parameter 1"}),args.push(curArg)}return esValue[implSymbol].removeRange(...args)}removeAllRanges(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'removeAllRanges' called on an object that is not a valid instance of Selection.");return esValue[implSymbol].removeAllRanges()}empty(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'empty' called on an object that is not a valid instance of Selection.");return esValue[implSymbol].empty()}collapse(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'collapse' called on an object that is not a valid instance of Selection.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'collapse' on 'Selection': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:Node.convert(globalObject,curArg,{context:"Failed to execute 'collapse' on 'Selection': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg?conversions["unsigned long"](curArg,{context:"Failed to execute 'collapse' on 'Selection': parameter 2",globals:globalObject}):0,args.push(curArg)}return esValue[implSymbol].collapse(...args)}setPosition(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setPosition' called on an object that is not a valid instance of Selection.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'setPosition' on 'Selection': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=null==curArg?null:Node.convert(globalObject,curArg,{context:"Failed to execute 'setPosition' on 'Selection': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg?conversions["unsigned long"](curArg,{context:"Failed to execute 'setPosition' on 'Selection': parameter 2",globals:globalObject}):0,args.push(curArg)}return esValue[implSymbol].setPosition(...args)}collapseToStart(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'collapseToStart' called on an object that is not a valid instance of Selection.");return esValue[implSymbol].collapseToStart()}collapseToEnd(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'collapseToEnd' called on an object that is not a valid instance of Selection.");return esValue[implSymbol].collapseToEnd()}extend(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'extend' called on an object that is not a valid instance of Selection.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'extend' on 'Selection': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'extend' on 'Selection': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg?conversions["unsigned long"](curArg,{context:"Failed to execute 'extend' on 'Selection': parameter 2",globals:globalObject}):0,args.push(curArg)}return esValue[implSymbol].extend(...args)}setBaseAndExtent(anchorNode,anchorOffset,focusNode,focusOffset){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setBaseAndExtent' called on an object that is not a valid instance of Selection.");if(arguments.length<4)throw new globalObject.TypeError(`Failed to execute 'setBaseAndExtent' on 'Selection': 4 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'setBaseAndExtent' on 'Selection': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setBaseAndExtent' on 'Selection': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'setBaseAndExtent' on 'Selection': parameter 3"}),args.push(curArg)}{let curArg=arguments[3];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setBaseAndExtent' on 'Selection': parameter 4",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].setBaseAndExtent(...args)}selectAllChildren(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'selectAllChildren' called on an object that is not a valid instance of Selection.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'selectAllChildren' on 'Selection': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'selectAllChildren' on 'Selection': parameter 1"}),args.push(curArg)}return esValue[implSymbol].selectAllChildren(...args)}deleteFromDocument(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'deleteFromDocument' called on an object that is not a valid instance of Selection.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteFromDocument()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}containsNode(node){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'containsNode' called on an object that is not a valid instance of Selection.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'containsNode' on 'Selection': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'containsNode' on 'Selection': parameter 1"}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'containsNode' on 'Selection': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].containsNode(...args)}toString(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'toString' called on an object that is not a valid instance of Selection.");return esValue[implSymbol].toString()}get anchorNode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get anchorNode' called on an object that is not a valid instance of Selection.");return utils.tryWrapperForImpl(esValue[implSymbol].anchorNode)}get anchorOffset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get anchorOffset' called on an object that is not a valid instance of Selection.");return esValue[implSymbol].anchorOffset}get focusNode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get focusNode' called on an object that is not a valid instance of Selection.");return utils.tryWrapperForImpl(esValue[implSymbol].focusNode)}get focusOffset(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get focusOffset' called on an object that is not a valid instance of Selection.");return esValue[implSymbol].focusOffset}get isCollapsed(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get isCollapsed' called on an object that is not a valid instance of Selection.");return esValue[implSymbol].isCollapsed}get rangeCount(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rangeCount' called on an object that is not a valid instance of Selection.");return esValue[implSymbol].rangeCount}get type(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get type' called on an object that is not a valid instance of Selection.");return esValue[implSymbol].type}}Object.defineProperties(Selection.prototype,{getRangeAt:{enumerable:!0},addRange:{enumerable:!0},removeRange:{enumerable:!0},removeAllRanges:{enumerable:!0},empty:{enumerable:!0},collapse:{enumerable:!0},setPosition:{enumerable:!0},collapseToStart:{enumerable:!0},collapseToEnd:{enumerable:!0},extend:{enumerable:!0},setBaseAndExtent:{enumerable:!0},selectAllChildren:{enumerable:!0},deleteFromDocument:{enumerable:!0},containsNode:{enumerable:!0},toString:{enumerable:!0},anchorNode:{enumerable:!0},anchorOffset:{enumerable:!0},focusNode:{enumerable:!0},focusOffset:{enumerable:!0},isCollapsed:{enumerable:!0},rangeCount:{enumerable:!0},type:{enumerable:!0},[Symbol.toStringTag]:{value:"Selection",configurable:!0}}),ctorRegistry.Selection=Selection,Object.defineProperty(globalObject,"Selection",{configurable:!0,writable:!0,value:Selection})};const Impl=__webpack_require__(9548)},81520:function(__unused_webpack_module,exports){const enumerationValues=new Set(["select","start","end","preserve"]);exports.enumerationValues=enumerationValues,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{const string=`${value}`;if(!enumerationValues.has(string))throw new globalObject.TypeError(`${context} '${string}' is not a valid enumeration value for SelectionMode`);return string}},63171:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),ceReactionsPreSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPreSteps,ceReactionsPostSteps_helpers_custom_elements=__webpack_require__(31720).ceReactionsPostSteps,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,DocumentFragment=__webpack_require__(35968);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].ShadowRoot.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'ShadowRoot'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{DocumentFragment._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class ShadowRoot extends globalObject.DocumentFragment{constructor(){throw new globalObject.TypeError("Illegal constructor")}get mode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get mode' called on an object that is not a valid instance of ShadowRoot.");return utils.tryWrapperForImpl(esValue[implSymbol].mode)}get host(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get host' called on an object that is not a valid instance of ShadowRoot.");return utils.tryWrapperForImpl(esValue[implSymbol].host)}get innerHTML(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get innerHTML' called on an object that is not a valid instance of ShadowRoot.");ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].innerHTML}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set innerHTML(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set innerHTML' called on an object that is not a valid instance of ShadowRoot.");V=conversions.DOMString(V,{context:"Failed to set the 'innerHTML' property on 'ShadowRoot': The provided value",globals:globalObject,treatNullAsEmptyString:!0}),ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].innerHTML=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get activeElement(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get activeElement' called on an object that is not a valid instance of ShadowRoot.");return utils.tryWrapperForImpl(esValue[implSymbol].activeElement)}}Object.defineProperties(ShadowRoot.prototype,{mode:{enumerable:!0},host:{enumerable:!0},innerHTML:{enumerable:!0},activeElement:{enumerable:!0},[Symbol.toStringTag]:{value:"ShadowRoot",configurable:!0}}),ctorRegistry.ShadowRoot=ShadowRoot,Object.defineProperty(globalObject,"ShadowRoot",{configurable:!0,writable:!0,value:ShadowRoot})};const Impl=__webpack_require__(61232)},55749:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993),__webpack_require__(80421);const ShadowRootMode=__webpack_require__(51185);exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{{const key="mode";let value=null==obj?void 0:obj[key];if(void 0===value)throw new globalObject.TypeError("mode is required in 'ShadowRootInit'");value=ShadowRootMode.convert(globalObject,value,{context:context+" has member 'mode' that"}),ret[key]=value}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},51185:function(__unused_webpack_module,exports){const enumerationValues=new Set(["open","closed"]);exports.enumerationValues=enumerationValues,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{const string=`${value}`;if(!enumerationValues.has(string))throw new globalObject.TypeError(`${context} '${string}' is not a valid enumeration value for ShadowRootMode`);return string}},49007:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),StaticRangeInit=__webpack_require__(16593),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,AbstractRange=__webpack_require__(20229);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].StaticRange.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'StaticRange'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{AbstractRange._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class StaticRange extends globalObject.AbstractRange{constructor(init){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'StaticRange': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=StaticRangeInit.convert(globalObject,curArg,{context:"Failed to construct 'StaticRange': parameter 1"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}}Object.defineProperties(StaticRange.prototype,{[Symbol.toStringTag]:{value:"StaticRange",configurable:!0}}),ctorRegistry.StaticRange=StaticRange,Object.defineProperty(globalObject,"StaticRange",{configurable:!0,writable:!0,value:StaticRange})};const Impl=__webpack_require__(2996)},16593:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),Node=(__webpack_require__(80421),__webpack_require__(47462));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{{const key="endContainer";let value=null==obj?void 0:obj[key];if(void 0===value)throw new globalObject.TypeError("endContainer is required in 'StaticRangeInit'");value=Node.convert(globalObject,value,{context:context+" has member 'endContainer' that"}),ret[key]=value}{const key="endOffset";let value=null==obj?void 0:obj[key];if(void 0===value)throw new globalObject.TypeError("endOffset is required in 'StaticRangeInit'");value=conversions["unsigned long"](value,{context:context+" has member 'endOffset' that",globals:globalObject}),ret[key]=value}{const key="startContainer";let value=null==obj?void 0:obj[key];if(void 0===value)throw new globalObject.TypeError("startContainer is required in 'StaticRangeInit'");value=Node.convert(globalObject,value,{context:context+" has member 'startContainer' that"}),ret[key]=value}{const key="startOffset";let value=null==obj?void 0:obj[key];if(void 0===value)throw new globalObject.TypeError("startOffset is required in 'StaticRangeInit'");value=conversions["unsigned long"](value,{context:context+" has member 'startOffset' that",globals:globalObject}),ret[key]=value}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},20641:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Storage.prototype),Object.create(proto)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);return void 0===proxyHandler&&(proxyHandler=new ProxyHandler(globalObject),proxyHandlerCache.set(globalObject,proxyHandler)),new Proxy(wrapper,proxyHandler)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Storage'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),(wrapper=makeProxy(wrapper,globalObject))[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{let wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper=makeProxy(wrapper,globalObject),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Storage{constructor(){throw new globalObject.TypeError("Illegal constructor")}key(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'key' called on an object that is not a valid instance of Storage.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'key' on 'Storage': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'key' on 'Storage': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].key(...args)}getItem(key){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getItem' called on an object that is not a valid instance of Storage.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getItem' on 'Storage': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'getItem' on 'Storage': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].getItem(...args)}setItem(key,value){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setItem' called on an object that is not a valid instance of Storage.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'setItem' on 'Storage': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setItem' on 'Storage': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'setItem' on 'Storage': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].setItem(...args)}removeItem(key){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'removeItem' called on an object that is not a valid instance of Storage.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'removeItem' on 'Storage': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'removeItem' on 'Storage': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].removeItem(...args)}clear(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'clear' called on an object that is not a valid instance of Storage.");return esValue[implSymbol].clear()}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of Storage.");return esValue[implSymbol].length}}Object.defineProperties(Storage.prototype,{key:{enumerable:!0},getItem:{enumerable:!0},setItem:{enumerable:!0},removeItem:{enumerable:!0},clear:{enumerable:!0},length:{enumerable:!0},[Symbol.toStringTag]:{value:"Storage",configurable:!0}}),ctorRegistry.Storage=Storage,Object.defineProperty(globalObject,"Storage",{configurable:!0,writable:!0,value:Storage})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if("symbol"==typeof P)return Reflect.get(target,P,receiver);const desc=this.getOwnPropertyDescriptor(target,P);if(void 0===desc){if(null===Object.getPrototypeOf(target))return;return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set)return desc.value;const getter=desc.get;return void 0!==getter?Reflect.apply(getter,receiver,[]):void 0}has(target,P){if("symbol"==typeof P)return Reflect.has(target,P);if(void 0!==this.getOwnPropertyDescriptor(target,P))return!0;const parent=Object.getPrototypeOf(target);return null!==parent&&Reflect.has(parent,P)}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyNames])key in target||keys.add(`${key}`);for(const key of Reflect.ownKeys(target))keys.add(key);return[...keys]}getOwnPropertyDescriptor(target,P){if("symbol"==typeof P)return Reflect.getOwnPropertyDescriptor(target,P);const namedValue=target[implSymbol].getItem(P);return null===namedValue||P in target?Reflect.getOwnPropertyDescriptor(target,P):{writable:!0,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(namedValue)}}set(target,P,V,receiver){if("symbol"==typeof P)return Reflect.set(target,P,V,receiver);if(target[implSymbol][utils.wrapperSymbol]===receiver){const globalObject=this._globalObject;if("string"==typeof P){let namedValue=V;return namedValue=conversions.DOMString(namedValue,{context:"Failed to set the '"+P+"' property on 'Storage': The provided value",globals:globalObject}),target[implSymbol].setItem(P,namedValue),!0}}let ownDesc;if(void 0===ownDesc&&(ownDesc=Reflect.getOwnPropertyDescriptor(target,P)),void 0===ownDesc){const parent=Reflect.getPrototypeOf(target);if(null!==parent)return Reflect.set(parent,P,V,receiver);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:void 0}}if(!ownDesc.writable)return!1;if(!utils.isObject(receiver))return!1;const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(void 0!==existingDesc){if(existingDesc.get||existingDesc.set)return!1;if(!existingDesc.writable)return!1;valueDesc={value:V}}else valueDesc={writable:!0,enumerable:!0,configurable:!0,value:V};return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if("symbol"==typeof P)return Reflect.defineProperty(target,P,desc);const globalObject=this._globalObject;if(!utils.hasOwn(target,P)){if(desc.get||desc.set)return!1;let namedValue=desc.value;return namedValue=conversions.DOMString(namedValue,{context:"Failed to set the '"+P+"' property on 'Storage': The provided value",globals:globalObject}),target[implSymbol].setItem(P,namedValue),!0}return Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if("symbol"==typeof P)return Reflect.deleteProperty(target,P);this._globalObject;return null===target[implSymbol].getItem(P)||P in target?Reflect.deleteProperty(target,P):(target[implSymbol].removeItem(P),!0)}preventExtensions(){return!1}}const Impl=__webpack_require__(51101)},67272:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),StorageEventInit=__webpack_require__(94930),Storage=__webpack_require__(20641),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Event=__webpack_require__(6776);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].StorageEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'StorageEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class StorageEvent extends globalObject.Event{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'StorageEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'StorageEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=StorageEventInit.convert(globalObject,curArg,{context:"Failed to construct 'StorageEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}initStorageEvent(type){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'initStorageEvent' called on an object that is not a valid instance of StorageEvent.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'initStorageEvent' on 'StorageEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 3",globals:globalObject}),args.push(curArg)}{let curArg=arguments[3];curArg=void 0!==curArg?null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 4",globals:globalObject}):null,args.push(curArg)}{let curArg=arguments[4];curArg=void 0!==curArg?null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 5",globals:globalObject}):null,args.push(curArg)}{let curArg=arguments[5];curArg=void 0!==curArg?null==curArg?null:conversions.DOMString(curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 6",globals:globalObject}):null,args.push(curArg)}{let curArg=arguments[6];curArg=void 0!==curArg?conversions.USVString(curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 7",globals:globalObject}):"",args.push(curArg)}{let curArg=arguments[7];curArg=void 0!==curArg?null==curArg?null:Storage.convert(globalObject,curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 8"}):null,args.push(curArg)}return esValue[implSymbol].initStorageEvent(...args)}get key(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get key' called on an object that is not a valid instance of StorageEvent.");return esValue[implSymbol].key}get oldValue(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get oldValue' called on an object that is not a valid instance of StorageEvent.");return esValue[implSymbol].oldValue}get newValue(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get newValue' called on an object that is not a valid instance of StorageEvent.");return esValue[implSymbol].newValue}get url(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get url' called on an object that is not a valid instance of StorageEvent.");return esValue[implSymbol].url}get storageArea(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get storageArea' called on an object that is not a valid instance of StorageEvent.");return utils.tryWrapperForImpl(esValue[implSymbol].storageArea)}}Object.defineProperties(StorageEvent.prototype,{initStorageEvent:{enumerable:!0},key:{enumerable:!0},oldValue:{enumerable:!0},newValue:{enumerable:!0},url:{enumerable:!0},storageArea:{enumerable:!0},[Symbol.toStringTag]:{value:"StorageEvent",configurable:!0}}),ctorRegistry.StorageEvent=StorageEvent,Object.defineProperty(globalObject,"StorageEvent",{configurable:!0,writable:!0,value:StorageEvent})};const Impl=__webpack_require__(11454)},94930:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),Storage=(__webpack_require__(80421),__webpack_require__(20641)),EventInit=__webpack_require__(75061);exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="key";let value=null==obj?void 0:obj[key];void 0!==value?(value=null==value?null:conversions.DOMString(value,{context:context+" has member 'key' that",globals:globalObject}),ret[key]=value):ret[key]=null}{const key="newValue";let value=null==obj?void 0:obj[key];void 0!==value?(value=null==value?null:conversions.DOMString(value,{context:context+" has member 'newValue' that",globals:globalObject}),ret[key]=value):ret[key]=null}{const key="oldValue";let value=null==obj?void 0:obj[key];void 0!==value?(value=null==value?null:conversions.DOMString(value,{context:context+" has member 'oldValue' that",globals:globalObject}),ret[key]=value):ret[key]=null}{const key="storageArea";let value=null==obj?void 0:obj[key];void 0!==value?(value=null==value?null:Storage.convert(globalObject,value,{context:context+" has member 'storageArea' that"}),ret[key]=value):ret[key]=null}{const key="url";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.USVString(value,{context:context+" has member 'url' that",globals:globalObject}),ret[key]=value):ret[key]=""}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},98935:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].StyleSheetList.prototype),Object.create(proto)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);return void 0===proxyHandler&&(proxyHandler=new ProxyHandler(globalObject),proxyHandlerCache.set(globalObject,proxyHandler)),new Proxy(wrapper,proxyHandler)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'StyleSheetList'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),(wrapper=makeProxy(wrapper,globalObject))[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{let wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper=makeProxy(wrapper,globalObject),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class StyleSheetList{constructor(){throw new globalObject.TypeError("Illegal constructor")}item(index){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'item' called on an object that is not a valid instance of StyleSheetList.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'item' on 'StyleSheetList': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'StyleSheetList': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}get length(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get length' called on an object that is not a valid instance of StyleSheetList.");return esValue[implSymbol].length}}Object.defineProperties(StyleSheetList.prototype,{item:{enumerable:!0},length:{enumerable:!0},[Symbol.toStringTag]:{value:"StyleSheetList",configurable:!0},[Symbol.iterator]:{value:globalObject.Array.prototype[Symbol.iterator],configurable:!0,writable:!0}}),ctorRegistry.StyleSheetList=StyleSheetList,Object.defineProperty(globalObject,"StyleSheetList",{configurable:!0,writable:!0,value:StyleSheetList})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if("symbol"==typeof P)return Reflect.get(target,P,receiver);const desc=this.getOwnPropertyDescriptor(target,P);if(void 0===desc){if(null===Object.getPrototypeOf(target))return;return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set)return desc.value;const getter=desc.get;return void 0!==getter?Reflect.apply(getter,receiver,[]):void 0}has(target,P){if("symbol"==typeof P)return Reflect.has(target,P);if(void 0!==this.getOwnPropertyDescriptor(target,P))return!0;const parent=Object.getPrototypeOf(target);return null!==parent&&Reflect.has(parent,P)}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices])keys.add(`${key}`);for(const key of Reflect.ownKeys(target))keys.add(key);return[...keys]}getOwnPropertyDescriptor(target,P){if("symbol"==typeof P)return Reflect.getOwnPropertyDescriptor(target,P);let ignoreNamedProps=!1;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);if(null!==indexedValue)return{writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)};ignoreNamedProps=!0}return Reflect.getOwnPropertyDescriptor(target,P)}set(target,P,V,receiver){if("symbol"==typeof P)return Reflect.set(target,P,V,receiver);if(target[implSymbol][utils.wrapperSymbol]===receiver){this._globalObject}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0,indexedValue=target[implSymbol].item(index);null!==indexedValue&&(ownDesc={writable:!1,enumerable:!0,configurable:!0,value:utils.tryWrapperForImpl(indexedValue)})}if(void 0===ownDesc&&(ownDesc=Reflect.getOwnPropertyDescriptor(target,P)),void 0===ownDesc){const parent=Reflect.getPrototypeOf(target);if(null!==parent)return Reflect.set(parent,P,V,receiver);ownDesc={writable:!0,enumerable:!0,configurable:!0,value:void 0}}if(!ownDesc.writable)return!1;if(!utils.isObject(receiver))return!1;const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(void 0!==existingDesc){if(existingDesc.get||existingDesc.set)return!1;if(!existingDesc.writable)return!1;valueDesc={value:V}}else valueDesc={writable:!0,enumerable:!0,configurable:!0,value:V};return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if("symbol"==typeof P)return Reflect.defineProperty(target,P,desc);this._globalObject;return!utils.isArrayIndexPropName(P)&&Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if("symbol"==typeof P)return Reflect.deleteProperty(target,P);this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(null!==target[implSymbol].item(index))}return Reflect.deleteProperty(target,P)}preventExtensions(){return!1}}const Impl=__webpack_require__(97361)},75384:function(__unused_webpack_module,exports){const enumerationValues=new Set(["text/html","text/xml","application/xml","application/xhtml+xml","image/svg+xml"]);exports.enumerationValues=enumerationValues,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{const string=`${value}`;if(!enumerationValues.has(string))throw new globalObject.TypeError(`${context} '${string}' is not a valid enumeration value for SupportedType`);return string}},86112:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,CharacterData=__webpack_require__(93324);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].Text.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'Text'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{CharacterData._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class Text extends globalObject.CharacterData{constructor(){const args=[];{let curArg=arguments[0];curArg=void 0!==curArg?conversions.DOMString(curArg,{context:"Failed to construct 'Text': parameter 1",globals:globalObject}):"",args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}splitText(offset){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'splitText' called on an object that is not a valid instance of Text.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'splitText' on 'Text': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'splitText' on 'Text': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].splitText(...args))}get wholeText(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get wholeText' called on an object that is not a valid instance of Text.");return esValue[implSymbol].wholeText}get assignedSlot(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get assignedSlot' called on an object that is not a valid instance of Text.");return utils.tryWrapperForImpl(esValue[implSymbol].assignedSlot)}}Object.defineProperties(Text.prototype,{splitText:{enumerable:!0},wholeText:{enumerable:!0},assignedSlot:{enumerable:!0},[Symbol.toStringTag]:{value:"Text",configurable:!0}}),ctorRegistry.Text=Text,Object.defineProperty(globalObject,"Text",{configurable:!0,writable:!0,value:Text})};const Impl=__webpack_require__(68746)},26983:function(__unused_webpack_module,exports){const enumerationValues=new Set(["subtitles","captions","descriptions","chapters","metadata"]);exports.enumerationValues=enumerationValues,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{const string=`${value}`;if(!enumerationValues.has(string))throw new globalObject.TypeError(`${context} '${string}' is not a valid enumeration value for TextTrackKind`);return string}},83443:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),TouchEventInit=__webpack_require__(50466),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,UIEvent=__webpack_require__(9973);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].TouchEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'TouchEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{UIEvent._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class TouchEvent extends globalObject.UIEvent{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'TouchEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'TouchEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=TouchEventInit.convert(globalObject,curArg,{context:"Failed to construct 'TouchEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get touches(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get touches' called on an object that is not a valid instance of TouchEvent.");return utils.tryWrapperForImpl(esValue[implSymbol].touches)}get targetTouches(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get targetTouches' called on an object that is not a valid instance of TouchEvent.");return utils.tryWrapperForImpl(esValue[implSymbol].targetTouches)}get changedTouches(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get changedTouches' called on an object that is not a valid instance of TouchEvent.");return utils.tryWrapperForImpl(esValue[implSymbol].changedTouches)}get altKey(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get altKey' called on an object that is not a valid instance of TouchEvent.");return esValue[implSymbol].altKey}get metaKey(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get metaKey' called on an object that is not a valid instance of TouchEvent.");return esValue[implSymbol].metaKey}get ctrlKey(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ctrlKey' called on an object that is not a valid instance of TouchEvent.");return esValue[implSymbol].ctrlKey}get shiftKey(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get shiftKey' called on an object that is not a valid instance of TouchEvent.");return esValue[implSymbol].shiftKey}}Object.defineProperties(TouchEvent.prototype,{touches:{enumerable:!0},targetTouches:{enumerable:!0},changedTouches:{enumerable:!0},altKey:{enumerable:!0},metaKey:{enumerable:!0},ctrlKey:{enumerable:!0},shiftKey:{enumerable:!0},[Symbol.toStringTag]:{value:"TouchEvent",configurable:!0}}),ctorRegistry.TouchEvent=TouchEvent,Object.defineProperty(globalObject,"TouchEvent",{configurable:!0,writable:!0,value:TouchEvent})};const Impl=__webpack_require__(36517)},50466:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),EventModifierInit=__webpack_require__(25150);exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{EventModifierInit._convertInherit(globalObject,obj,ret,{context:context});{const key="changedTouches";let value=null==obj?void 0:obj[key];if(void 0!==value){if(!utils.isObject(value))throw new globalObject.TypeError(context+" has member 'changedTouches' that is not an iterable object.");{const V=[],tmp=value;for(let nextItem of tmp)nextItem=utils.tryImplForWrapper(nextItem),V.push(nextItem);value=V}ret[key]=value}else ret[key]=[]}{const key="targetTouches";let value=null==obj?void 0:obj[key];if(void 0!==value){if(!utils.isObject(value))throw new globalObject.TypeError(context+" has member 'targetTouches' that is not an iterable object.");{const V=[],tmp=value;for(let nextItem of tmp)nextItem=utils.tryImplForWrapper(nextItem),V.push(nextItem);value=V}ret[key]=value}else ret[key]=[]}{const key="touches";let value=null==obj?void 0:obj[key];if(void 0!==value){if(!utils.isObject(value))throw new globalObject.TypeError(context+" has member 'touches' that is not an iterable object.");{const V=[],tmp=value;for(let nextItem of tmp)nextItem=utils.tryImplForWrapper(nextItem),V.push(nextItem);value=V}ret[key]=value}else ret[key]=[]}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},6263:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),Node=__webpack_require__(47462),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].TreeWalker.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'TreeWalker'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class TreeWalker{constructor(){throw new globalObject.TypeError("Illegal constructor")}parentNode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'parentNode' called on an object that is not a valid instance of TreeWalker.");return utils.tryWrapperForImpl(esValue[implSymbol].parentNode())}firstChild(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'firstChild' called on an object that is not a valid instance of TreeWalker.");return utils.tryWrapperForImpl(esValue[implSymbol].firstChild())}lastChild(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'lastChild' called on an object that is not a valid instance of TreeWalker.");return utils.tryWrapperForImpl(esValue[implSymbol].lastChild())}previousSibling(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'previousSibling' called on an object that is not a valid instance of TreeWalker.");return utils.tryWrapperForImpl(esValue[implSymbol].previousSibling())}nextSibling(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'nextSibling' called on an object that is not a valid instance of TreeWalker.");return utils.tryWrapperForImpl(esValue[implSymbol].nextSibling())}previousNode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'previousNode' called on an object that is not a valid instance of TreeWalker.");return utils.tryWrapperForImpl(esValue[implSymbol].previousNode())}nextNode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'nextNode' called on an object that is not a valid instance of TreeWalker.");return utils.tryWrapperForImpl(esValue[implSymbol].nextNode())}get root(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get root' called on an object that is not a valid instance of TreeWalker.");return utils.getSameObject(this,"root",(()=>utils.tryWrapperForImpl(esValue[implSymbol].root)))}get whatToShow(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get whatToShow' called on an object that is not a valid instance of TreeWalker.");return esValue[implSymbol].whatToShow}get filter(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get filter' called on an object that is not a valid instance of TreeWalker.");return utils.tryWrapperForImpl(esValue[implSymbol].filter)}get currentNode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get currentNode' called on an object that is not a valid instance of TreeWalker.");return utils.tryWrapperForImpl(esValue[implSymbol].currentNode)}set currentNode(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set currentNode' called on an object that is not a valid instance of TreeWalker.");V=Node.convert(globalObject,V,{context:"Failed to set the 'currentNode' property on 'TreeWalker': The provided value"}),esValue[implSymbol].currentNode=V}}Object.defineProperties(TreeWalker.prototype,{parentNode:{enumerable:!0},firstChild:{enumerable:!0},lastChild:{enumerable:!0},previousSibling:{enumerable:!0},nextSibling:{enumerable:!0},previousNode:{enumerable:!0},nextNode:{enumerable:!0},root:{enumerable:!0},whatToShow:{enumerable:!0},filter:{enumerable:!0},currentNode:{enumerable:!0},[Symbol.toStringTag]:{value:"TreeWalker",configurable:!0}}),ctorRegistry.TreeWalker=TreeWalker,Object.defineProperty(globalObject,"TreeWalker",{configurable:!0,writable:!0,value:TreeWalker})};const Impl=__webpack_require__(29960)},9973:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),UIEventInit=__webpack_require__(33032),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Event=__webpack_require__(6776);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].UIEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'UIEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class UIEvent extends globalObject.Event{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'UIEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'UIEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=UIEventInit.convert(globalObject,curArg,{context:"Failed to construct 'UIEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}initUIEvent(typeArg){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'initUIEvent' called on an object that is not a valid instance of UIEvent.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'initUIEvent' on 'UIEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'initUIEvent' on 'UIEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initUIEvent' on 'UIEvent': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=void 0!==curArg&&conversions.boolean(curArg,{context:"Failed to execute 'initUIEvent' on 'UIEvent': parameter 3",globals:globalObject}),args.push(curArg)}{let curArg=arguments[3];curArg=void 0!==curArg?null==curArg?null:utils.tryImplForWrapper(curArg):null,args.push(curArg)}{let curArg=arguments[4];curArg=void 0!==curArg?conversions.long(curArg,{context:"Failed to execute 'initUIEvent' on 'UIEvent': parameter 5",globals:globalObject}):0,args.push(curArg)}return esValue[implSymbol].initUIEvent(...args)}get view(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get view' called on an object that is not a valid instance of UIEvent.");return utils.tryWrapperForImpl(esValue[implSymbol].view)}get detail(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get detail' called on an object that is not a valid instance of UIEvent.");return esValue[implSymbol].detail}get which(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get which' called on an object that is not a valid instance of UIEvent.");return esValue[implSymbol].which}}Object.defineProperties(UIEvent.prototype,{initUIEvent:{enumerable:!0},view:{enumerable:!0},detail:{enumerable:!0},which:{enumerable:!0},[Symbol.toStringTag]:{value:"UIEvent",configurable:!0}}),ctorRegistry.UIEvent=UIEvent,Object.defineProperty(globalObject,"UIEvent",{configurable:!0,writable:!0,value:UIEvent})};const Impl=__webpack_require__(28079)},33032:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),EventInit=__webpack_require__(75061);exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="detail";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.long(value,{context:context+" has member 'detail' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="view";let value=null==obj?void 0:obj[key];void 0!==value?(value=null==value?null:utils.tryImplForWrapper(value),ret[key]=value):ret[key]=null}{const key="which";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions["unsigned long"](value,{context:context+" has member 'which' that",globals:globalObject}),ret[key]=value):ret[key]=0}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},64428:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].ValidityState.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'ValidityState'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class ValidityState{constructor(){throw new globalObject.TypeError("Illegal constructor")}get valueMissing(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get valueMissing' called on an object that is not a valid instance of ValidityState.");return esValue[implSymbol].valueMissing}get typeMismatch(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get typeMismatch' called on an object that is not a valid instance of ValidityState.");return esValue[implSymbol].typeMismatch}get patternMismatch(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get patternMismatch' called on an object that is not a valid instance of ValidityState.");return esValue[implSymbol].patternMismatch}get tooLong(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get tooLong' called on an object that is not a valid instance of ValidityState.");return esValue[implSymbol].tooLong}get tooShort(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get tooShort' called on an object that is not a valid instance of ValidityState.");return esValue[implSymbol].tooShort}get rangeUnderflow(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rangeUnderflow' called on an object that is not a valid instance of ValidityState.");return esValue[implSymbol].rangeUnderflow}get rangeOverflow(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get rangeOverflow' called on an object that is not a valid instance of ValidityState.");return esValue[implSymbol].rangeOverflow}get stepMismatch(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get stepMismatch' called on an object that is not a valid instance of ValidityState.");return esValue[implSymbol].stepMismatch}get badInput(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get badInput' called on an object that is not a valid instance of ValidityState.");return esValue[implSymbol].badInput}get customError(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get customError' called on an object that is not a valid instance of ValidityState.");return esValue[implSymbol].customError}get valid(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get valid' called on an object that is not a valid instance of ValidityState.");return esValue[implSymbol].valid}}Object.defineProperties(ValidityState.prototype,{valueMissing:{enumerable:!0},typeMismatch:{enumerable:!0},patternMismatch:{enumerable:!0},tooLong:{enumerable:!0},tooShort:{enumerable:!0},rangeUnderflow:{enumerable:!0},rangeOverflow:{enumerable:!0},stepMismatch:{enumerable:!0},badInput:{enumerable:!0},customError:{enumerable:!0},valid:{enumerable:!0},[Symbol.toStringTag]:{value:"ValidityState",configurable:!0}}),ctorRegistry.ValidityState=ValidityState,Object.defineProperty(globalObject,"ValidityState",{configurable:!0,writable:!0,value:ValidityState})};const Impl=__webpack_require__(22601)},5779:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),Blob=__webpack_require__(86545),EventHandlerNonNull=__webpack_require__(65685),BinaryType=__webpack_require__(44231),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,EventTarget=__webpack_require__(70462);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].WebSocket.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'WebSocket'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{EventTarget._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class WebSocket extends globalObject.EventTarget{constructor(url){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'WebSocket': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to construct 'WebSocket': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];if(void 0!==curArg)if(utils.isObject(curArg)){if(void 0!==curArg[Symbol.iterator]){if(!utils.isObject(curArg))throw new globalObject.TypeError("Failed to construct 'WebSocket': parameter 2 sequence is not an iterable object.");{const V=[],tmp=curArg;for(let nextItem of tmp)nextItem=conversions.DOMString(nextItem,{context:"Failed to construct 'WebSocket': parameter 2 sequence's element",globals:globalObject}),V.push(nextItem);curArg=V}}}else curArg=conversions.DOMString(curArg,{context:"Failed to construct 'WebSocket': parameter 2",globals:globalObject});else curArg=[];args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}close(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'close' called on an object that is not a valid instance of WebSocket.");const args=[];{let curArg=arguments[0];void 0!==curArg&&(curArg=conversions["unsigned short"](curArg,{context:"Failed to execute 'close' on 'WebSocket': parameter 1",globals:globalObject,clamp:!0})),args.push(curArg)}{let curArg=arguments[1];void 0!==curArg&&(curArg=conversions.USVString(curArg,{context:"Failed to execute 'close' on 'WebSocket': parameter 2",globals:globalObject})),args.push(curArg)}return esValue[implSymbol].close(...args)}send(data){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'send' called on an object that is not a valid instance of WebSocket.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'send' on 'WebSocket': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];if(Blob.is(curArg)){let curArg=arguments[0];curArg=Blob.convert(globalObject,curArg,{context:"Failed to execute 'send' on 'WebSocket': parameter 1"}),args.push(curArg)}else if(utils.isArrayBuffer(curArg)){let curArg=arguments[0];curArg=conversions.ArrayBuffer(curArg,{context:"Failed to execute 'send' on 'WebSocket': parameter 1",globals:globalObject}),args.push(curArg)}else if(ArrayBuffer.isView(curArg)){let curArg=arguments[0];if(!ArrayBuffer.isView(curArg))throw new globalObject.TypeError("Failed to execute 'send' on 'WebSocket': parameter 1 is not of any supported type.");args.push(curArg)}else{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'send' on 'WebSocket': parameter 1",globals:globalObject}),args.push(curArg)}}return esValue[implSymbol].send(...args)}get url(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get url' called on an object that is not a valid instance of WebSocket.");return esValue[implSymbol].url}get readyState(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get readyState' called on an object that is not a valid instance of WebSocket.");return esValue[implSymbol].readyState}get bufferedAmount(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get bufferedAmount' called on an object that is not a valid instance of WebSocket.");return esValue[implSymbol].bufferedAmount}get onopen(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onopen' called on an object that is not a valid instance of WebSocket.");return utils.tryWrapperForImpl(esValue[implSymbol].onopen)}set onopen(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onopen' called on an object that is not a valid instance of WebSocket.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onopen' property on 'WebSocket': The provided value"}):null,esValue[implSymbol].onopen=V}get onerror(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onerror' called on an object that is not a valid instance of WebSocket.");return utils.tryWrapperForImpl(esValue[implSymbol].onerror)}set onerror(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onerror' called on an object that is not a valid instance of WebSocket.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onerror' property on 'WebSocket': The provided value"}):null,esValue[implSymbol].onerror=V}get onclose(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onclose' called on an object that is not a valid instance of WebSocket.");return utils.tryWrapperForImpl(esValue[implSymbol].onclose)}set onclose(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onclose' called on an object that is not a valid instance of WebSocket.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onclose' property on 'WebSocket': The provided value"}):null,esValue[implSymbol].onclose=V}get extensions(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get extensions' called on an object that is not a valid instance of WebSocket.");return esValue[implSymbol].extensions}get protocol(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get protocol' called on an object that is not a valid instance of WebSocket.");return esValue[implSymbol].protocol}get onmessage(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onmessage' called on an object that is not a valid instance of WebSocket.");return utils.tryWrapperForImpl(esValue[implSymbol].onmessage)}set onmessage(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onmessage' called on an object that is not a valid instance of WebSocket.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onmessage' property on 'WebSocket': The provided value"}):null,esValue[implSymbol].onmessage=V}get binaryType(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get binaryType' called on an object that is not a valid instance of WebSocket.");return utils.tryWrapperForImpl(esValue[implSymbol].binaryType)}set binaryType(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set binaryType' called on an object that is not a valid instance of WebSocket.");V=`${V}`,BinaryType.enumerationValues.has(V)&&(esValue[implSymbol].binaryType=V)}}Object.defineProperties(WebSocket.prototype,{close:{enumerable:!0},send:{enumerable:!0},url:{enumerable:!0},readyState:{enumerable:!0},bufferedAmount:{enumerable:!0},onopen:{enumerable:!0},onerror:{enumerable:!0},onclose:{enumerable:!0},extensions:{enumerable:!0},protocol:{enumerable:!0},onmessage:{enumerable:!0},binaryType:{enumerable:!0},[Symbol.toStringTag]:{value:"WebSocket",configurable:!0},CONNECTING:{value:0,enumerable:!0},OPEN:{value:1,enumerable:!0},CLOSING:{value:2,enumerable:!0},CLOSED:{value:3,enumerable:!0}}),Object.defineProperties(WebSocket,{CONNECTING:{value:0,enumerable:!0},OPEN:{value:1,enumerable:!0},CLOSING:{value:2,enumerable:!0},CLOSED:{value:3,enumerable:!0}}),ctorRegistry.WebSocket=WebSocket,Object.defineProperty(globalObject,"WebSocket",{configurable:!0,writable:!0,value:WebSocket})};const Impl=__webpack_require__(74417)},43851:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),WheelEventInit=__webpack_require__(9911),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,MouseEvent=__webpack_require__(89057);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].WheelEvent.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'WheelEvent'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{MouseEvent._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class WheelEvent extends globalObject.MouseEvent{constructor(type){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'WheelEvent': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to construct 'WheelEvent': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=WheelEventInit.convert(globalObject,curArg,{context:"Failed to construct 'WheelEvent': parameter 2"}),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get deltaX(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get deltaX' called on an object that is not a valid instance of WheelEvent.");return esValue[implSymbol].deltaX}get deltaY(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get deltaY' called on an object that is not a valid instance of WheelEvent.");return esValue[implSymbol].deltaY}get deltaZ(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get deltaZ' called on an object that is not a valid instance of WheelEvent.");return esValue[implSymbol].deltaZ}get deltaMode(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get deltaMode' called on an object that is not a valid instance of WheelEvent.");return esValue[implSymbol].deltaMode}}Object.defineProperties(WheelEvent.prototype,{deltaX:{enumerable:!0},deltaY:{enumerable:!0},deltaZ:{enumerable:!0},deltaMode:{enumerable:!0},[Symbol.toStringTag]:{value:"WheelEvent",configurable:!0},DOM_DELTA_PIXEL:{value:0,enumerable:!0},DOM_DELTA_LINE:{value:1,enumerable:!0},DOM_DELTA_PAGE:{value:2,enumerable:!0}}),Object.defineProperties(WheelEvent,{DOM_DELTA_PIXEL:{value:0,enumerable:!0},DOM_DELTA_LINE:{value:1,enumerable:!0},DOM_DELTA_PAGE:{value:2,enumerable:!0}}),ctorRegistry.WheelEvent=WheelEvent,Object.defineProperty(globalObject,"WheelEvent",{configurable:!0,writable:!0,value:WheelEvent})};const Impl=__webpack_require__(58790)},9911:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),MouseEventInit=(__webpack_require__(80421),__webpack_require__(72669));exports._convertInherit=(globalObject,obj,ret,{context:context="The provided value"}={})=>{MouseEventInit._convertInherit(globalObject,obj,ret,{context:context});{const key="deltaMode";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions["unsigned long"](value,{context:context+" has member 'deltaMode' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="deltaX";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.double(value,{context:context+" has member 'deltaX' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="deltaY";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.double(value,{context:context+" has member 'deltaY' that",globals:globalObject}),ret[key]=value):ret[key]=0}{const key="deltaZ";let value=null==obj?void 0:obj[key];void 0!==value?(value=conversions.double(value,{context:context+" has member 'deltaZ' that",globals:globalObject}),ret[key]=value):ret[key]=0}},exports.convert=(globalObject,obj,{context:context="The provided value"}={})=>{if(void 0!==obj&&"object"!=typeof obj&&"function"!=typeof obj)throw new globalObject.TypeError(`${context} is not an object.`);const ret=Object.create(null);return exports._convertInherit(globalObject,obj,ret,{context:context}),ret}},98151:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,Document=__webpack_require__(87417);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].XMLDocument.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'XMLDocument'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{Document._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class XMLDocument extends globalObject.Document{constructor(){throw new globalObject.TypeError("Illegal constructor")}}Object.defineProperties(XMLDocument.prototype,{[Symbol.toStringTag]:{value:"XMLDocument",configurable:!0}}),ctorRegistry.XMLDocument=XMLDocument,Object.defineProperty(globalObject,"XMLDocument",{configurable:!0,writable:!0,value:XMLDocument})};const Impl=__webpack_require__(76057)},68090:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(80421),Document=__webpack_require__(87417),Blob=__webpack_require__(86545),FormData=__webpack_require__(24373),EventHandlerNonNull=__webpack_require__(65685),XMLHttpRequestResponseType=__webpack_require__(23320),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,XMLHttpRequestEventTarget=__webpack_require__(45243);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].XMLHttpRequest.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'XMLHttpRequest'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{XMLHttpRequestEventTarget._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","DedicatedWorker","SharedWorker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class XMLHttpRequest extends globalObject.XMLHttpRequestEventTarget{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,void 0)}open(method,url){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'open' called on an object that is not a valid instance of XMLHttpRequest.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'open' on 'XMLHttpRequest': 2 arguments required, but only ${arguments.length} present.`);const args=[];switch(arguments.length){case 2:{let curArg=arguments[0];curArg=conversions.ByteString(curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.USVString(curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 2",globals:globalObject}),args.push(curArg)}break;case 3:{let curArg=arguments[0];curArg=conversions.ByteString(curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.USVString(curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=conversions.boolean(curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 3",globals:globalObject}),args.push(curArg)}break;case 4:{let curArg=arguments[0];curArg=conversions.ByteString(curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.USVString(curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=conversions.boolean(curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 3",globals:globalObject}),args.push(curArg)}{let curArg=arguments[3];curArg=void 0!==curArg?null==curArg?null:conversions.USVString(curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 4",globals:globalObject}):null,args.push(curArg)}break;default:{let curArg=arguments[0];curArg=conversions.ByteString(curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.USVString(curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 2",globals:globalObject}),args.push(curArg)}{let curArg=arguments[2];curArg=conversions.boolean(curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 3",globals:globalObject}),args.push(curArg)}{let curArg=arguments[3];curArg=void 0!==curArg?null==curArg?null:conversions.USVString(curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 4",globals:globalObject}):null,args.push(curArg)}{let curArg=arguments[4];curArg=void 0!==curArg?null==curArg?null:conversions.USVString(curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 5",globals:globalObject}):null,args.push(curArg)}}return esValue[implSymbol].open(...args)}setRequestHeader(name,value){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'setRequestHeader' called on an object that is not a valid instance of XMLHttpRequest.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'setRequestHeader' on 'XMLHttpRequest': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.ByteString(curArg,{context:"Failed to execute 'setRequestHeader' on 'XMLHttpRequest': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.ByteString(curArg,{context:"Failed to execute 'setRequestHeader' on 'XMLHttpRequest': parameter 2",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].setRequestHeader(...args)}send(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'send' called on an object that is not a valid instance of XMLHttpRequest.");const args=[];{let curArg=arguments[0];void 0!==curArg?null==curArg?curArg=null:Document.is(curArg)||Blob.is(curArg)||FormData.is(curArg)?curArg=utils.implForWrapper(curArg):utils.isArrayBuffer(curArg)||ArrayBuffer.isView(curArg)||(curArg=conversions.USVString(curArg,{context:"Failed to execute 'send' on 'XMLHttpRequest': parameter 1",globals:globalObject})):curArg=null,args.push(curArg)}return esValue[implSymbol].send(...args)}abort(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'abort' called on an object that is not a valid instance of XMLHttpRequest.");return esValue[implSymbol].abort()}getResponseHeader(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getResponseHeader' called on an object that is not a valid instance of XMLHttpRequest.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getResponseHeader' on 'XMLHttpRequest': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.ByteString(curArg,{context:"Failed to execute 'getResponseHeader' on 'XMLHttpRequest': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].getResponseHeader(...args)}getAllResponseHeaders(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getAllResponseHeaders' called on an object that is not a valid instance of XMLHttpRequest.");return esValue[implSymbol].getAllResponseHeaders()}overrideMimeType(mime){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'overrideMimeType' called on an object that is not a valid instance of XMLHttpRequest.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'overrideMimeType' on 'XMLHttpRequest': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.DOMString(curArg,{context:"Failed to execute 'overrideMimeType' on 'XMLHttpRequest': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].overrideMimeType(...args)}get onreadystatechange(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onreadystatechange' called on an object that is not a valid instance of XMLHttpRequest.");return utils.tryWrapperForImpl(esValue[implSymbol].onreadystatechange)}set onreadystatechange(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onreadystatechange' called on an object that is not a valid instance of XMLHttpRequest.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onreadystatechange' property on 'XMLHttpRequest': The provided value"}):null,esValue[implSymbol].onreadystatechange=V}get readyState(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get readyState' called on an object that is not a valid instance of XMLHttpRequest.");return esValue[implSymbol].readyState}get timeout(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get timeout' called on an object that is not a valid instance of XMLHttpRequest.");return esValue[implSymbol].timeout}set timeout(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set timeout' called on an object that is not a valid instance of XMLHttpRequest.");V=conversions["unsigned long"](V,{context:"Failed to set the 'timeout' property on 'XMLHttpRequest': The provided value",globals:globalObject}),esValue[implSymbol].timeout=V}get withCredentials(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get withCredentials' called on an object that is not a valid instance of XMLHttpRequest.");return esValue[implSymbol].withCredentials}set withCredentials(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set withCredentials' called on an object that is not a valid instance of XMLHttpRequest.");V=conversions.boolean(V,{context:"Failed to set the 'withCredentials' property on 'XMLHttpRequest': The provided value",globals:globalObject}),esValue[implSymbol].withCredentials=V}get upload(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get upload' called on an object that is not a valid instance of XMLHttpRequest.");return utils.getSameObject(this,"upload",(()=>utils.tryWrapperForImpl(esValue[implSymbol].upload)))}get responseURL(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get responseURL' called on an object that is not a valid instance of XMLHttpRequest.");return esValue[implSymbol].responseURL}get status(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get status' called on an object that is not a valid instance of XMLHttpRequest.");return esValue[implSymbol].status}get statusText(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get statusText' called on an object that is not a valid instance of XMLHttpRequest.");return esValue[implSymbol].statusText}get responseType(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get responseType' called on an object that is not a valid instance of XMLHttpRequest.");return utils.tryWrapperForImpl(esValue[implSymbol].responseType)}set responseType(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set responseType' called on an object that is not a valid instance of XMLHttpRequest.");V=`${V}`,XMLHttpRequestResponseType.enumerationValues.has(V)&&(esValue[implSymbol].responseType=V)}get response(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get response' called on an object that is not a valid instance of XMLHttpRequest.");return esValue[implSymbol].response}get responseText(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get responseText' called on an object that is not a valid instance of XMLHttpRequest.");return esValue[implSymbol].responseText}get responseXML(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get responseXML' called on an object that is not a valid instance of XMLHttpRequest.");return utils.tryWrapperForImpl(esValue[implSymbol].responseXML)}}Object.defineProperties(XMLHttpRequest.prototype,{open:{enumerable:!0},setRequestHeader:{enumerable:!0},send:{enumerable:!0},abort:{enumerable:!0},getResponseHeader:{enumerable:!0},getAllResponseHeaders:{enumerable:!0},overrideMimeType:{enumerable:!0},onreadystatechange:{enumerable:!0},readyState:{enumerable:!0},timeout:{enumerable:!0},withCredentials:{enumerable:!0},upload:{enumerable:!0},responseURL:{enumerable:!0},status:{enumerable:!0},statusText:{enumerable:!0},responseType:{enumerable:!0},response:{enumerable:!0},responseText:{enumerable:!0},responseXML:{enumerable:!0},[Symbol.toStringTag]:{value:"XMLHttpRequest",configurable:!0},UNSENT:{value:0,enumerable:!0},OPENED:{value:1,enumerable:!0},HEADERS_RECEIVED:{value:2,enumerable:!0},LOADING:{value:3,enumerable:!0},DONE:{value:4,enumerable:!0}}),Object.defineProperties(XMLHttpRequest,{UNSENT:{value:0,enumerable:!0},OPENED:{value:1,enumerable:!0},HEADERS_RECEIVED:{value:2,enumerable:!0},LOADING:{value:3,enumerable:!0},DONE:{value:4,enumerable:!0}}),ctorRegistry.XMLHttpRequest=XMLHttpRequest,Object.defineProperty(globalObject,"XMLHttpRequest",{configurable:!0,writable:!0,value:XMLHttpRequest})};const Impl=__webpack_require__(15361)},45243:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),EventHandlerNonNull=__webpack_require__(65685),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,EventTarget=__webpack_require__(70462);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].XMLHttpRequestEventTarget.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'XMLHttpRequestEventTarget'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{EventTarget._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","DedicatedWorker","SharedWorker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class XMLHttpRequestEventTarget extends globalObject.EventTarget{constructor(){throw new globalObject.TypeError("Illegal constructor")}get onloadstart(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadstart' called on an object that is not a valid instance of XMLHttpRequestEventTarget.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadstart)}set onloadstart(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadstart' called on an object that is not a valid instance of XMLHttpRequestEventTarget.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadstart' property on 'XMLHttpRequestEventTarget': The provided value"}):null,esValue[implSymbol].onloadstart=V}get onprogress(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onprogress' called on an object that is not a valid instance of XMLHttpRequestEventTarget.");return utils.tryWrapperForImpl(esValue[implSymbol].onprogress)}set onprogress(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onprogress' called on an object that is not a valid instance of XMLHttpRequestEventTarget.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onprogress' property on 'XMLHttpRequestEventTarget': The provided value"}):null,esValue[implSymbol].onprogress=V}get onabort(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onabort' called on an object that is not a valid instance of XMLHttpRequestEventTarget.");return utils.tryWrapperForImpl(esValue[implSymbol].onabort)}set onabort(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onabort' called on an object that is not a valid instance of XMLHttpRequestEventTarget.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onabort' property on 'XMLHttpRequestEventTarget': The provided value"}):null,esValue[implSymbol].onabort=V}get onerror(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onerror' called on an object that is not a valid instance of XMLHttpRequestEventTarget.");return utils.tryWrapperForImpl(esValue[implSymbol].onerror)}set onerror(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onerror' called on an object that is not a valid instance of XMLHttpRequestEventTarget.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onerror' property on 'XMLHttpRequestEventTarget': The provided value"}):null,esValue[implSymbol].onerror=V}get onload(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onload' called on an object that is not a valid instance of XMLHttpRequestEventTarget.");return utils.tryWrapperForImpl(esValue[implSymbol].onload)}set onload(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onload' called on an object that is not a valid instance of XMLHttpRequestEventTarget.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onload' property on 'XMLHttpRequestEventTarget': The provided value"}):null,esValue[implSymbol].onload=V}get ontimeout(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get ontimeout' called on an object that is not a valid instance of XMLHttpRequestEventTarget.");return utils.tryWrapperForImpl(esValue[implSymbol].ontimeout)}set ontimeout(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set ontimeout' called on an object that is not a valid instance of XMLHttpRequestEventTarget.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'ontimeout' property on 'XMLHttpRequestEventTarget': The provided value"}):null,esValue[implSymbol].ontimeout=V}get onloadend(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get onloadend' called on an object that is not a valid instance of XMLHttpRequestEventTarget.");return utils.tryWrapperForImpl(esValue[implSymbol].onloadend)}set onloadend(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set onloadend' called on an object that is not a valid instance of XMLHttpRequestEventTarget.");V=utils.isObject(V)?EventHandlerNonNull.convert(globalObject,V,{context:"Failed to set the 'onloadend' property on 'XMLHttpRequestEventTarget': The provided value"}):null,esValue[implSymbol].onloadend=V}}Object.defineProperties(XMLHttpRequestEventTarget.prototype,{onloadstart:{enumerable:!0},onprogress:{enumerable:!0},onabort:{enumerable:!0},onerror:{enumerable:!0},onload:{enumerable:!0},ontimeout:{enumerable:!0},onloadend:{enumerable:!0},[Symbol.toStringTag]:{value:"XMLHttpRequestEventTarget",configurable:!0}}),ctorRegistry.XMLHttpRequestEventTarget=XMLHttpRequestEventTarget,Object.defineProperty(globalObject,"XMLHttpRequestEventTarget",{configurable:!0,writable:!0,value:XMLHttpRequestEventTarget})};const Impl=__webpack_require__(65794)},23320:function(__unused_webpack_module,exports){const enumerationValues=new Set(["","arraybuffer","blob","document","json","text"]);exports.enumerationValues=enumerationValues,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{const string=`${value}`;if(!enumerationValues.has(string))throw new globalObject.TypeError(`${context} '${string}' is not a valid enumeration value for XMLHttpRequestResponseType`);return string}},24782:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol,XMLHttpRequestEventTarget=__webpack_require__(45243);function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].XMLHttpRequestUpload.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'XMLHttpRequestUpload'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{XMLHttpRequestEventTarget._internalSetup(wrapper,globalObject)},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","DedicatedWorker","SharedWorker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class XMLHttpRequestUpload extends globalObject.XMLHttpRequestEventTarget{constructor(){throw new globalObject.TypeError("Illegal constructor")}}Object.defineProperties(XMLHttpRequestUpload.prototype,{[Symbol.toStringTag]:{value:"XMLHttpRequestUpload",configurable:!0}}),ctorRegistry.XMLHttpRequestUpload=XMLHttpRequestUpload,Object.defineProperty(globalObject,"XMLHttpRequestUpload",{configurable:!0,writable:!0,value:XMLHttpRequestUpload})};const Impl=__webpack_require__(65628)},55962:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(10993);const utils=__webpack_require__(80421),Node=__webpack_require__(47462),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].XMLSerializer.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'XMLSerializer'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class XMLSerializer{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,void 0)}serializeToString(root){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'serializeToString' called on an object that is not a valid instance of XMLSerializer.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'serializeToString' on 'XMLSerializer': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=Node.convert(globalObject,curArg,{context:"Failed to execute 'serializeToString' on 'XMLSerializer': parameter 1"}),args.push(curArg)}return esValue[implSymbol].serializeToString(...args)}}Object.defineProperties(XMLSerializer.prototype,{serializeToString:{enumerable:!0},[Symbol.toStringTag]:{value:"XMLSerializer",configurable:!0}}),ctorRegistry.XMLSerializer=XMLSerializer,Object.defineProperty(globalObject,"XMLSerializer",{configurable:!0,writable:!0,value:XMLSerializer})};const Impl=__webpack_require__(7646)},80421:function(module,exports){const hasOwn=Function.prototype.call.bind(Object.prototype.hasOwnProperty);const wrapperSymbol=Symbol("wrapper"),implSymbol=Symbol("impl"),sameObjectCaches=Symbol("SameObject caches"),ctorRegistrySymbol=Symbol.for("[webidl2js] constructor registry"),AsyncIteratorPrototype=Object.getPrototypeOf(Object.getPrototypeOf((async function*(){})).prototype);function initCtorRegistry(globalObject){if(hasOwn(globalObject,ctorRegistrySymbol))return globalObject[ctorRegistrySymbol];const ctorRegistry=Object.create(null);ctorRegistry["%Object.prototype%"]=globalObject.Object.prototype,ctorRegistry["%IteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf((new globalObject.Array)[Symbol.iterator]()));try{ctorRegistry["%AsyncIteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf(globalObject.eval("(async function* () {})").prototype))}catch{ctorRegistry["%AsyncIteratorPrototype%"]=AsyncIteratorPrototype}return globalObject[ctorRegistrySymbol]=ctorRegistry,ctorRegistry}function wrapperForImpl(impl){return impl?impl[wrapperSymbol]:null}function implForWrapper(wrapper){return wrapper?wrapper[implSymbol]:null}const iterInternalSymbol=Symbol("internal");const byteLengthGetter=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get;const supportsPropertyIndex=Symbol("supports property index"),supportedPropertyIndices=Symbol("supported property indices"),supportsPropertyName=Symbol("supports property name"),supportedPropertyNames=Symbol("supported property names"),indexedGet=Symbol("indexed property get"),indexedSetNew=Symbol("indexed property set new"),indexedSetExisting=Symbol("indexed property set existing"),namedGet=Symbol("named property get"),namedSetNew=Symbol("named property set new"),namedSetExisting=Symbol("named property set existing"),namedDelete=Symbol("named property delete"),asyncIteratorNext=Symbol("async iterator get the next iteration result"),asyncIteratorReturn=Symbol("async iterator return steps"),asyncIteratorInit=Symbol("async iterator initialization steps"),asyncIteratorEOI=Symbol("async iterator end of iteration");module.exports={isObject:function isObject(value){return"object"==typeof value&&null!==value||"function"==typeof value},hasOwn:hasOwn,define:function define(target,source){for(const key of Reflect.ownKeys(source)){const descriptor=Reflect.getOwnPropertyDescriptor(source,key);if(descriptor&&!Reflect.defineProperty(target,key,descriptor))throw new TypeError(`Cannot redefine property: ${String(key)}`)}},newObjectInRealm:function newObjectInRealm(globalObject,object){const ctorRegistry=initCtorRegistry(globalObject);return Object.defineProperties(Object.create(ctorRegistry["%Object.prototype%"]),Object.getOwnPropertyDescriptors(object))},wrapperSymbol:wrapperSymbol,implSymbol:implSymbol,getSameObject:function getSameObject(wrapper,prop,creator){return wrapper[sameObjectCaches]||(wrapper[sameObjectCaches]=Object.create(null)),prop in wrapper[sameObjectCaches]||(wrapper[sameObjectCaches][prop]=creator()),wrapper[sameObjectCaches][prop]},ctorRegistrySymbol:ctorRegistrySymbol,initCtorRegistry:initCtorRegistry,wrapperForImpl:wrapperForImpl,implForWrapper:implForWrapper,tryWrapperForImpl:function tryWrapperForImpl(impl){const wrapper=wrapperForImpl(impl);return wrapper||impl},tryImplForWrapper:function tryImplForWrapper(wrapper){const impl=implForWrapper(wrapper);return impl||wrapper},iterInternalSymbol:iterInternalSymbol,isArrayBuffer:function isArrayBuffer(value){try{return byteLengthGetter.call(value),!0}catch(e){return!1}},isArrayIndexPropName:function isArrayIndexPropName(P){if("string"!=typeof P)return!1;const i=P>>>0;return i!==2**32-1&&P===`${i}`},supportsPropertyIndex:supportsPropertyIndex,supportedPropertyIndices:supportedPropertyIndices,supportsPropertyName:supportsPropertyName,supportedPropertyNames:supportedPropertyNames,indexedGet:indexedGet,indexedSetNew:indexedSetNew,indexedSetExisting:indexedSetExisting,namedGet:namedGet,namedSetNew:namedSetNew,namedSetExisting:namedSetExisting,namedDelete:namedDelete,asyncIteratorNext:asyncIteratorNext,asyncIteratorReturn:asyncIteratorReturn,asyncIteratorInit:asyncIteratorInit,asyncIteratorEOI:asyncIteratorEOI,iteratorResult:function iteratorResult([key,value],kind){let result;switch(kind){case"key":result=key;break;case"value":result=value;break;case"key+value":result=[key,value]}return{value:result,done:!1}}}},77470:function(module,__unused_webpack_exports,__webpack_require__){const http=__webpack_require__(8501),https=__webpack_require__(79267),{parse:parseURLToNodeOptions}=__webpack_require__(8575),HttpProxyAgent=__webpack_require__(39201),HttpsProxyAgent=__webpack_require__(26018);module.exports=function agentFactory(proxy,rejectUnauthorized){const agentOpts={keepAlive:!0,rejectUnauthorized:rejectUnauthorized};if(proxy){const proxyOpts={...parseURLToNodeOptions(proxy),...agentOpts};return{https:new HttpsProxyAgent(proxyOpts),http:new HttpProxyAgent(proxyOpts)}}return{http:new http.Agent(agentOpts),https:new https.Agent(agentOpts)}}},51206:function(__unused_webpack_module,exports){exports.copyToArrayBufferInNewRealm=(nodejsBuffer,newRealm)=>{const newAB=new newRealm.ArrayBuffer(nodejsBuffer.byteLength);return new Uint8Array(newAB).set(nodejsBuffer),newAB}},42018:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),interfaces=__webpack_require__(3164),{implForWrapper:implForWrapper}=__webpack_require__(80421),{HTML_NS:HTML_NS,SVG_NS:SVG_NS}=__webpack_require__(65676),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{validateAndExtract:validateAndExtract}=__webpack_require__(43013),reportException=__webpack_require__(9400),{isValidCustomElementName:isValidCustomElementName,upgradeElement:upgradeElement,lookupCEDefinition:lookupCEDefinition,enqueueCEUpgradeReaction:enqueueCEUpgradeReaction}=__webpack_require__(31720),INTERFACE_TAG_MAPPING={[HTML_NS]:{HTMLElement:["abbr","address","article","aside","b","bdi","bdo","cite","code","dd","dfn","dt","em","figcaption","figure","footer","header","hgroup","i","kbd","main","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLAnchorElement:["a"],HTMLAreaElement:["area"],HTMLAudioElement:["audio"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLBRElement:["br"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDListElement:["dl"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHeadElement:["head"],HTMLHRElement:["hr"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLIElement:["li"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:[],HTMLMenuElement:["menu"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLObjectElement:["object"],HTMLOListElement:["ol"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["listing","pre","xmp"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["th","td"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:[],HTMLVideoElement:["video"]},[SVG_NS]:{SVGElement:[],SVGGraphicsElement:[],SVGSVGElement:["svg"],SVGTitleElement:["title"]}},TAG_INTERFACE_LOOKUP={};for(const namespace of[HTML_NS,SVG_NS]){TAG_INTERFACE_LOOKUP[namespace]={};const interfaceNames=Object.keys(INTERFACE_TAG_MAPPING[namespace]);for(const interfaceName of interfaceNames){const tagNames=INTERFACE_TAG_MAPPING[namespace][interfaceName];for(const tagName of tagNames)TAG_INTERFACE_LOOKUP[namespace][tagName]=interfaceName}}const UNKNOWN_HTML_ELEMENTS_NAMES=["applet","bgsound","blink","isindex","keygen","multicol","nextid","spacer"],HTML_ELEMENTS_NAMES=["acronym","basefont","big","center","nobr","noembed","noframes","plaintext","rb","rtc","strike","tt"];function getHTMLElementInterface(name){if(UNKNOWN_HTML_ELEMENTS_NAMES.includes(name))return interfaces.getInterfaceWrapper("HTMLUnknownElement");if(HTML_ELEMENTS_NAMES.includes(name))return interfaces.getInterfaceWrapper("HTMLElement");const specDefinedInterface=TAG_INTERFACE_LOOKUP[HTML_NS][name];return void 0!==specDefinedInterface?interfaces.getInterfaceWrapper(specDefinedInterface):isValidCustomElementName(name)?interfaces.getInterfaceWrapper("HTMLElement"):interfaces.getInterfaceWrapper("HTMLUnknownElement")}function createElement(document,localName,namespace,prefix=null,isValue=null,synchronousCE=!1){let result=null;const{_globalObject:_globalObject}=document,definition=lookupCEDefinition(document,namespace,localName,isValue);if(null!==definition&&definition.name!==localName){result=getHTMLElementInterface(localName).createImpl(_globalObject,[],{ownerDocument:document,localName:localName,namespace:HTML_NS,prefix:prefix,ceState:"undefined",ceDefinition:null,isValue:isValue}),synchronousCE?upgradeElement(definition,result):enqueueCEUpgradeReaction(result,definition)}else if(null!==definition)if(synchronousCE)try{const resultWrapper=definition.constructor.construct();if(result=implForWrapper(resultWrapper),!result._ceState||!result._ceDefinition||result._namespaceURI!==HTML_NS)throw new TypeError("Internal error: Invalid custom element.");if(0!==result._attributeList.length)throw DOMException.create(_globalObject,["Unexpected attributes.","NotSupportedError"]);if(domSymbolTree.hasChildren(result))throw DOMException.create(_globalObject,["Unexpected child nodes.","NotSupportedError"]);if(domSymbolTree.parent(result))throw DOMException.create(_globalObject,["Unexpected element parent.","NotSupportedError"]);if(result._ownerDocument!==document)throw DOMException.create(_globalObject,["Unexpected element owner document.","NotSupportedError"]);if(result._namespaceURI!==namespace)throw DOMException.create(_globalObject,["Unexpected element namespace URI.","NotSupportedError"]);if(result._localName!==localName)throw DOMException.create(_globalObject,["Unexpected element local name.","NotSupportedError"]);result._prefix=prefix,result._isValue=isValue}catch(error){reportException(document._defaultView,error);result=interfaces.getInterfaceWrapper("HTMLUnknownElement").createImpl(_globalObject,[],{ownerDocument:document,localName:localName,namespace:HTML_NS,prefix:prefix,ceState:"failed",ceDefinition:null,isValue:null})}else{result=interfaces.getInterfaceWrapper("HTMLElement").createImpl(_globalObject,[],{ownerDocument:document,localName:localName,namespace:HTML_NS,prefix:prefix,ceState:"undefined",ceDefinition:null,isValue:null}),enqueueCEUpgradeReaction(result,definition)}else{let elementInterface;switch(namespace){case HTML_NS:elementInterface=getHTMLElementInterface(localName);break;case SVG_NS:elementInterface=function getSVGInterface(name){const specDefinedInterface=TAG_INTERFACE_LOOKUP[SVG_NS][name];return void 0!==specDefinedInterface?interfaces.getInterfaceWrapper(specDefinedInterface):interfaces.getInterfaceWrapper("SVGElement")}(localName);break;default:elementInterface=interfaces.getInterfaceWrapper("Element")}result=elementInterface.createImpl(_globalObject,[],{ownerDocument:document,localName:localName,namespace:namespace,prefix:prefix,ceState:"uncustomized",ceDefinition:null,isValue:isValue}),namespace!==HTML_NS||!isValidCustomElementName(localName)&&null===isValue||(result._ceState="undefined")}return result}module.exports={createElement:createElement,internalCreateElementNSSteps:function internalCreateElementNSSteps(document,namespace,qualifiedName,options){const extracted=validateAndExtract(document._globalObject,namespace,qualifiedName);let isValue=null;return options&&void 0!==options.is&&(isValue=options.is),createElement(document,extracted.localName,extracted.namespace,extracted.prefix,isValue,!0)},getValidTagNames:function getValidTagNames(namespace,name){return INTERFACE_TAG_MAPPING[namespace]&&INTERFACE_TAG_MAPPING[namespace][name]?INTERFACE_TAG_MAPPING[namespace][name]:[]},getHTMLElementInterface:getHTMLElementInterface}},90653:function(__unused_webpack_module,exports,__webpack_require__){const idlUtils=__webpack_require__(80421),ErrorEvent=__webpack_require__(27195),EventHandlerNonNull=__webpack_require__(65685),OnBeforeUnloadEventHandlerNonNull=__webpack_require__(91983),OnErrorEventHandlerNonNull=__webpack_require__(39017),reportException=__webpack_require__(9400);exports.appendHandler=(el,eventName)=>{idlUtils.tryImplForWrapper(el).addEventListener(eventName,(event=>{const callback=exports.getCurrentEventHandlerValue(el,eventName);if(null===callback)return;const specialError=ErrorEvent.isImpl(event)&&"error"===event.type&&"Window"===event.currentTarget.constructor.name;let returnValue=null;"function"==typeof callback&&(returnValue=specialError?callback.call(event.currentTarget,event.message,event.filename,event.lineno,event.colno,event.error):callback.call(event.currentTarget,event)),"beforeunload"===event.type?null!==returnValue&&(event._canceledFlag=!0,""===event.returnValue&&(event.returnValue=returnValue)):specialError?!0===returnValue&&(event._canceledFlag=!0):!1===returnValue&&(event._canceledFlag=!0)}))},exports.setupForSimpleEventAccessors=(prototype,events)=>{prototype._getEventHandlerFor=function(event){return this._eventHandlers?this._eventHandlers[event]:void 0},prototype._setEventHandlerFor=function(event,handler){this._registeredHandlers||(this._registeredHandlers=new Set,this._eventHandlers=Object.create(null)),this._registeredHandlers.has(event)||null===handler||(this._registeredHandlers.add(event),exports.appendHandler(this,event)),this._eventHandlers[event]=handler};for(const event of events)exports.createEventAccessor(prototype,event)},exports.getCurrentEventHandlerValue=(target,event)=>{const value=target._getEventHandlerFor(event);if(!value)return null;if(void 0!==value.body){let element,document,fn;"Window"===target.constructor.name?(element=null,document=idlUtils.implForWrapper(target.document)):(element=target,document=element.ownerDocument);const{body:body}=value,formOwner=null!==element&&element.form?element.form:null,window="Window"===target.constructor.name&&target._document?target:document.defaultView;try{Function(body)}catch(e){return window&&reportException(window,e),target._setEventHandlerFor(event,null),null}const createFunction=document.defaultView.Function;if("error"===event&&null===element){fn=createFunction(`with (arguments[0]) { return function onerror(event, source, lineno, colno, error) {\n${body}\n}; }${document?`\n//# sourceURL=${document.URL}`:""}`)(window),fn=OnErrorEventHandlerNonNull.convert(window,fn)}else{const calls=[];null!==element&&calls.push(idlUtils.wrapperForImpl(document)),null!==formOwner&&calls.push(idlUtils.wrapperForImpl(formOwner)),null!==element&&calls.push(idlUtils.wrapperForImpl(element));let wrapperBody=`with (arguments[0]) { return function on${event}(event) {\n${body}\n}; }`;for(const call of calls)wrapperBody=`with (arguments[0]) { return function () {\n${wrapperBody}\n}; }`;document&&(wrapperBody+=`\n//# sourceURL=${document.URL}`),fn=createFunction(wrapperBody)(window);for(const call of calls)fn=fn(call);fn="beforeunload"===event?OnBeforeUnloadEventHandlerNonNull.convert(window,fn):EventHandlerNonNull.convert(window,fn)}target._setEventHandlerFor(event,fn)}return target._getEventHandlerFor(event)},exports.createEventAccessor=(obj,event)=>{Object.defineProperty(obj,"on"+event,{configurable:!0,enumerable:!0,get(){return exports.getCurrentEventHandlerValue(this,event)},set(val){this._setEventHandlerFor(event,val)}})}},31720:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),isPotentialCustomElementName=__webpack_require__(40720),NODE_TYPE=__webpack_require__(51445),{HTML_NS:HTML_NS}=__webpack_require__(65676),{shadowIncludingRoot:shadowIncludingRoot}=__webpack_require__(96671),reportException=__webpack_require__(9400),{implForWrapper:implForWrapper,wrapperForImpl:wrapperForImpl}=__webpack_require__(80421);const customElementReactionsStack=new class CEReactionsStack{constructor(){this._stack=[],this.backupElementQueue=[],this.processingBackupElementQueue=!1}push(elementQueue){this._stack.push(elementQueue)}pop(){return this._stack.pop()}get currentElementQueue(){const{_stack:_stack}=this;return _stack[_stack.length-1]}isEmpty(){return 0===this._stack.length}};const RESTRICTED_CUSTOM_ELEMENT_NAME=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function upgradeElement(definition,element){if("undefined"!==element._ceState||"uncustomized"===element._ceState)return;element._ceDefinition=definition,element._ceState="failed";for(const attribute of element._attributeList){const{_localName:_localName,_namespace:_namespace,_value:_value}=attribute;enqueueCECallbackReaction(element,"attributeChangedCallback",[_localName,null,_value,_namespace])}shadowIncludingRoot(element).nodeType===NODE_TYPE.DOCUMENT_NODE&&enqueueCECallbackReaction(element,"connectedCallback",[]),definition.constructionStack.push(element);const{constructionStack:constructionStack,constructor:C}=definition;let constructionError;try{if(!0===definition.disableShadow&&null!==element._shadowRoot)throw DOMException.create(element._globalObject,["Can't upgrade a custom element with a shadow root if shadow is disabled","NotSupportedError"]);const constructionResult=C.construct();if(implForWrapper(constructionResult)!==element)throw new TypeError("Invalid custom element constructor return value")}catch(error){constructionError=error}if(constructionStack.pop(),void 0!==constructionError)throw element._ceDefinition=null,element._ceReactionQueue=[],constructionError;element._ceState="custom"}function lookupCEDefinition(document,namespace,localName,isValue){if(namespace!==HTML_NS)return null;if(!document._defaultView)return null;const registry=implForWrapper(document._globalObject.customElements),definitionByName=registry._customElementDefinitions.find((def=>def.name===def.localName&&def.localName===localName));if(void 0!==definitionByName)return definitionByName;const definitionByIs=registry._customElementDefinitions.find((def=>def.name===isValue&&def.localName===localName));return void 0!==definitionByIs?definitionByIs:null}function invokeCEReactions(elementQueue){for(;elementQueue.length>0;){const element=elementQueue.shift(),reactions=element._ceReactionQueue;try{for(;reactions.length>0;){const reaction=reactions.shift();switch(reaction.type){case"upgrade":upgradeElement(reaction.definition,element);break;case"callback":reaction.callback.apply(wrapperForImpl(element),reaction.args)}}}catch(error){reportException(element._globalObject,error)}}}function enqueueElementOnAppropriateElementQueue(element){if(customElementReactionsStack.isEmpty()){if(customElementReactionsStack.backupElementQueue.push(element),customElementReactionsStack.processingBackupElementQueue)return;customElementReactionsStack.processingBackupElementQueue=!0,Promise.resolve().then((()=>{invokeCEReactions(customElementReactionsStack.backupElementQueue),customElementReactionsStack.processingBackupElementQueue=!1}))}else customElementReactionsStack.currentElementQueue.push(element)}function enqueueCECallbackReaction(element,callbackName,args){const{_ceDefinition:{lifecycleCallbacks:lifecycleCallbacks,observedAttributes:observedAttributes}}=element,callback=lifecycleCallbacks[callbackName];if(null!==callback){if("attributeChangedCallback"===callbackName){const attributeName=args[0];if(!observedAttributes.includes(attributeName))return}element._ceReactionQueue.push({type:"callback",callback:callback,args:args}),enqueueElementOnAppropriateElementQueue(element)}}function enqueueCEUpgradeReaction(element,definition){element._ceReactionQueue.push({type:"upgrade",definition:definition}),enqueueElementOnAppropriateElementQueue(element)}module.exports={customElementReactionsStack:customElementReactionsStack,ceReactionsPreSteps:function ceReactionsPreSteps(){customElementReactionsStack.push([])},ceReactionsPostSteps:function ceReactionsPostSteps(){invokeCEReactions(customElementReactionsStack.pop())},isValidCustomElementName:function isValidCustomElementName(name){return!RESTRICTED_CUSTOM_ELEMENT_NAME.has(name)&&isPotentialCustomElementName(name)},upgradeElement:upgradeElement,tryUpgradeElement:function tryUpgradeElement(element){const{_ownerDocument:_ownerDocument,_namespaceURI:_namespaceURI,_localName:_localName,_isValue:_isValue}=element,definition=lookupCEDefinition(_ownerDocument,_namespaceURI,_localName,_isValue);null!==definition&&enqueueCEUpgradeReaction(element,definition)},lookupCEDefinition:lookupCEDefinition,enqueueCEUpgradeReaction:enqueueCEUpgradeReaction,enqueueCECallbackReaction:enqueueCECallbackReaction,invokeCEReactions:invokeCEReactions}},7224:function(module){function isLeapYear(year){return year%400==0||year%4==0&&year%100!=0}const daysInMonth=[31,28,31,30,31,30,31,31,30,31,30,31];function numberOfDaysInMonthOfYear(month,year){return 2===month&&isLeapYear(year)?29:daysInMonth[month-1]}const monthRe=/^([0-9]{4,})-([0-9]{2})$/;function parseMonthString(str){const matches=monthRe.exec(str);if(!matches)return null;const year=Number(matches[1]);if(year<=0)return null;const month=Number(matches[2]);return month<1||month>12?null:{year:year,month:month}}function serializeMonth({year:year,month:month}){return`${`${year}`.padStart(4,"0")}-${`${month}`.padStart(2,"0")}`}const dateRe=/^([0-9]{4,})-([0-9]{2})-([0-9]{2})$/;function parseDateString(str){const matches=dateRe.exec(str);if(!matches)return null;const year=Number(matches[1]);if(year<=0)return null;const month=Number(matches[2]);if(month<1||month>12)return null;const day=Number(matches[3]);return day<1||day>numberOfDaysInMonthOfYear(month,year)?null:{year:year,month:month,day:day}}function serializeDate(date){const dayStr=`${date.day}`.padStart(2,"0");return`${serializeMonth(date)}-${dayStr}`}const yearlessDateRe=/^(?:--)?([0-9]{2})-([0-9]{2})$/;function parseYearlessDateString(str){const matches=yearlessDateRe.exec(str);if(!matches)return null;const month=Number(matches[1]);if(month<1||month>12)return null;const day=Number(matches[2]);return day<1||day>numberOfDaysInMonthOfYear(month,4)?null:{month:month,day:day}}const timeRe=/^([0-9]{2}):([0-9]{2})(?::([0-9]{2}(?:\.([0-9]{1,3}))?))?$/;function parseTimeString(str){const matches=timeRe.exec(str);if(!matches)return null;const hour=Number(matches[1]);if(hour<0||hour>23)return null;const minute=Number(matches[2]);if(minute<0||minute>59)return null;const second=void 0!==matches[3]?Math.trunc(Number(matches[3])):0;if(second<0||second>=60)return null;return{hour:hour,minute:minute,second:second,millisecond:void 0!==matches[4]?Number(matches[4]):0}}function serializeTime({hour:hour,minute:minute,second:second,millisecond:millisecond}){const hourStr=`${hour}`.padStart(2,"0"),minuteStr=`${minute}`.padStart(2,"0");if(0===second&&0===millisecond)return`${hourStr}:${minuteStr}`;return`${hourStr}:${minuteStr}:${`${second}`.padStart(2,"0")}.${`${millisecond}`.padStart(3,"0")}`}function parseLocalDateAndTimeString(str,normalized=!1){let separatorIdx=str.indexOf("T");if(separatorIdx<0&&!normalized&&(separatorIdx=str.indexOf(" ")),separatorIdx<0)return null;const date=parseDateString(str.slice(0,separatorIdx));if(null===date)return null;const time=parseTimeString(str.slice(separatorIdx+1));return null===time?null:{date:date,time:time}}function weekNumberOfLastDay(year){const jan1=new Date(year,0);return 4===jan1.getDay()||isLeapYear(year)&&3===jan1.getDay()?53:52}const weekRe=/^([0-9]{4,5})-W([0-9]{2})$/;function parseWeekString(str){const matches=weekRe.exec(str);if(!matches)return null;const year=Number(matches[1]);if(year<=0)return null;const week=Number(matches[2]);return week<1||week>weekNumberOfLastDay(year)?null:{year:year,week:week}}module.exports={isDate:function isDate(obj){try{return Date.prototype.valueOf.call(obj),!0}catch{return!1}},numberOfDaysInMonthOfYear:numberOfDaysInMonthOfYear,parseMonthString:parseMonthString,isValidMonthString:function isValidMonthString(str){return null!==parseMonthString(str)},serializeMonth:serializeMonth,parseDateString:parseDateString,isValidDateString:function isValidDateString(str){return null!==parseDateString(str)},serializeDate:serializeDate,parseYearlessDateString:parseYearlessDateString,isValidYearlessDateString:function isValidYearlessDateString(str){return null!==parseYearlessDateString(str)},serializeYearlessDate:function serializeYearlessDate({month:month,day:day}){return`${`${month}`.padStart(2,"0")}-${`${day}`.padStart(2,"0")}`},parseTimeString:parseTimeString,isValidTimeString:function isValidTimeString(str){return null!==parseTimeString(str)},serializeTime:serializeTime,parseLocalDateAndTimeString:parseLocalDateAndTimeString,isValidLocalDateAndTimeString:function isValidLocalDateAndTimeString(str){return null!==parseLocalDateAndTimeString(str)},isValidNormalizedLocalDateAndTimeString:function isValidNormalizedLocalDateAndTimeString(str){return null!==parseLocalDateAndTimeString(str,!0)},serializeNormalizedDateAndTime:function serializeNormalizedDateAndTime({date:date,time:time}){return`${serializeDate(date)}T${serializeTime(time)}`},parseDateAsWeek:function parseDateAsWeek(originalDate){const date=new Date(Date.UTC(originalDate.getUTCFullYear(),originalDate.getUTCMonth(),originalDate.getUTCDate()));date.setUTCDate(date.getUTCDate()+4-(date.getUTCDay()||7));const yearStart=new Date(Date.UTC(date.getUTCFullYear(),0,1)),week=Math.ceil(((date-yearStart)/864e5+1)/7);return{year:date.getUTCFullYear(),week:week}},weekNumberOfLastDay:weekNumberOfLastDay,parseWeekString:parseWeekString,isValidWeekString:function isValidWeekString(str){return null!==parseWeekString(str)},serializeWeek:function serializeWeek({year:year,week:week}){return`${`${year}`.padStart(4,"0")}-W${`${week}`.padStart(2,"0")}`}}},85398:function(__unused_webpack_module,exports,__webpack_require__){const{firstChildWithLocalName:firstChildWithLocalName}=__webpack_require__(22537),{HTML_NS:HTML_NS}=__webpack_require__(65676);exports.isSummaryForParentDetails=summaryElement=>{const parent=summaryElement.parentNode;return null!==parent&&("details"===parent._localName&&parent._namespaceURI===HTML_NS&&firstChildWithLocalName(parent,"summary")===summaryElement)}},33282:function(__unused_webpack_module,exports,__webpack_require__){const whatwgURL=__webpack_require__(77101),{implForWrapper:implForWrapper}=__webpack_require__(80421);exports.documentBaseURL=document=>{const firstBase=document.querySelector("base[href]"),fallbackBaseURL=exports.fallbackBaseURL(document);return null===firstBase?fallbackBaseURL:function frozenBaseURL(baseElement,fallbackBaseURL){const baseHrefAttribute=baseElement.getAttributeNS(null,"href"),result=whatwgURL.parseURL(baseHrefAttribute,{baseURL:fallbackBaseURL});return null===result?fallbackBaseURL:result}(firstBase,fallbackBaseURL)},exports.documentBaseURLSerialized=document=>whatwgURL.serializeURL(exports.documentBaseURL(document)),exports.fallbackBaseURL=document=>{if("about:blank"===document.URL&&document._defaultView&&document._defaultView._parent!==document._defaultView){const parentDocument=implForWrapper(document._defaultView._parent._document);return exports.documentBaseURL(parentDocument)}return document._URL},exports.parseURLToResultingURLRecord=(url,document)=>{const baseURL=exports.documentBaseURL(document);return whatwgURL.parseURL(url,{baseURL:baseURL})}},96799:function(module,__unused_webpack_exports,__webpack_require__){const Event=__webpack_require__(6776),{tryImplForWrapper:tryImplForWrapper}=__webpack_require__(80421);function createAnEvent(e,globalObject,eventInterface=Event,attributes={}){return eventInterface.createImpl(globalObject,[e,attributes],{isTrusted:!1!==attributes.isTrusted})}module.exports={createAnEvent:createAnEvent,fireAnEvent:function fireAnEvent(e,target,eventInterface,attributes,legacyTargetOverrideFlag){const event=createAnEvent(e,target._globalObject,eventInterface,attributes);return tryImplForWrapper(target)._dispatch(event,legacyTargetOverrideFlag)}}},54629:function(__unused_webpack_module,exports,__webpack_require__){const FocusEvent=__webpack_require__(81950),idlUtils=__webpack_require__(80421),{isDisabled:isDisabled}=__webpack_require__(8860),{firstChildWithLocalName:firstChildWithLocalName}=__webpack_require__(22537),{createAnEvent:createAnEvent}=__webpack_require__(96799),{HTML_NS:HTML_NS,SVG_NS:SVG_NS}=__webpack_require__(65676),{isRenderedElement:isRenderedElement}=__webpack_require__(60751),focusableFormElements=new Set(["input","select","textarea","button"]);exports.isFocusableAreaElement=elImpl=>elImpl._namespaceURI===HTML_NS?!!elImpl._ownerDocument._defaultView&&(!!elImpl.isConnected&&(!Number.isNaN(parseInt(elImpl.getAttributeNS(null,"tabindex")))||("iframe"===elImpl._localName||(!("a"!==elImpl._localName||!elImpl.hasAttributeNS(null,"href"))||(!("summary"!==elImpl._localName||!elImpl.parentNode||"details"!==elImpl.parentNode._localName||elImpl!==firstChildWithLocalName(elImpl.parentNode,"summary"))||(focusableFormElements.has(elImpl._localName)&&!isDisabled(elImpl)?"input"!==elImpl._localName||"hidden"!==elImpl.type:!!elImpl.hasAttributeNS(null,"contenteditable"))))))):elImpl._namespaceURI===SVG_NS&&(!(Number.isNaN(parseInt(elImpl.getAttributeNS(null,"tabindex")))||!isRenderedElement(elImpl))||!("a"!==elImpl._localName||!elImpl.hasAttributeNS(null,"href"))),exports.fireFocusEventWithTargetAdjustment=(name,target,relatedTarget,{bubbles:bubbles=!1}={})=>{if(null===target)return;const event=createAnEvent(name,target._globalObject,FocusEvent,{bubbles:bubbles,composed:!0,relatedTarget:relatedTarget,view:target._ownerDocument._defaultView,detail:0});target._defaultView&&(target=idlUtils.implForWrapper(target._defaultView)),target._dispatch(event)}},8860:function(__unused_webpack_module,exports,__webpack_require__){const{isValidFloatingPointNumber:isValidFloatingPointNumber,isValidSimpleColor:isValidSimpleColor,parseFloatingPointNumber:parseFloatingPointNumber,stripLeadingAndTrailingASCIIWhitespace:stripLeadingAndTrailingASCIIWhitespace,stripNewlines:stripNewlines,splitOnCommas:splitOnCommas}=__webpack_require__(27896),{isValidDateString:isValidDateString,isValidMonthString:isValidMonthString,isValidTimeString:isValidTimeString,isValidWeekString:isValidWeekString,parseLocalDateAndTimeString:parseLocalDateAndTimeString,serializeNormalizedDateAndTime:serializeNormalizedDateAndTime}=__webpack_require__(7224),whatwgURL=__webpack_require__(77101),NodeList=__webpack_require__(42850),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{closest:closest,firstChildWithLocalName:firstChildWithLocalName}=__webpack_require__(22537),NODE_TYPE=__webpack_require__(51445),{HTML_NS:HTML_NS}=__webpack_require__(65676);exports.isDisabled=formControl=>{if(("button"===formControl.localName||"input"===formControl.localName||"select"===formControl.localName||"textarea"===formControl.localName)&&formControl.hasAttributeNS(null,"disabled"))return!0;let e=formControl.parentNode;for(;e;){if("fieldset"===e.localName&&e.hasAttributeNS(null,"disabled")){const firstLegendElementChild=firstChildWithLocalName(e,"legend");if(!firstLegendElementChild||!firstLegendElementChild.contains(formControl))return!0}e=e.parentNode}return!1};const listedElements=new Set(["button","fieldset","input","object","output","select","textarea"]);exports.isListed=formControl=>listedElements.has(formControl._localName)&&formControl.namespaceURI===HTML_NS;const submittableElements=new Set(["button","input","object","select","textarea"]);exports.isSubmittable=formControl=>submittableElements.has(formControl._localName)&&formControl.namespaceURI===HTML_NS;const submitButtonInputTypes=new Set(["submit","image"]);exports.isSubmitButton=formControl=>("input"===formControl._localName&&submitButtonInputTypes.has(formControl.type)||"button"===formControl._localName&&"submit"===formControl.type)&&formControl.namespaceURI===HTML_NS;const buttonInputTypes=new Set([...submitButtonInputTypes,"reset","button"]);exports.isButton=formControl=>("input"===formControl._localName&&buttonInputTypes.has(formControl.type)||"button"===formControl._localName)&&formControl.namespaceURI===HTML_NS,exports.isInteractiveContent=node=>{if(node.nodeType!==NODE_TYPE.ELEMENT_NODE)return!1;if(node.namespaceURI!==HTML_NS)return!1;if(node.hasAttributeNS(null,"tabindex"))return!0;switch(node.localName){case"a":return node.hasAttributeNS(null,"href");case"audio":case"video":return node.hasAttributeNS(null,"controls");case"img":case"object":return node.hasAttributeNS(null,"usemap");case"input":return"hidden"!==node.type;case"button":case"details":case"embed":case"iframe":case"label":case"select":case"textarea":return!0}return!1},exports.isLabelable=node=>{if(node.nodeType!==NODE_TYPE.ELEMENT_NODE)return!1;if(node.namespaceURI!==HTML_NS)return!1;switch(node.localName){case"button":case"meter":case"output":case"progress":case"select":case"textarea":return!0;case"input":return"hidden"!==node.type}return!1},exports.getLabelsForLabelable=labelable=>{if(!exports.isLabelable(labelable))return null;if(!labelable._labels){const root=labelable.getRootNode({});labelable._labels=NodeList.create(root._globalObject,[],{element:root,query:()=>{const nodes=[];for(const descendant of domSymbolTree.treeIterator(root))descendant.control===labelable&&nodes.push(descendant);return nodes}})}return labelable._labels},exports.isValidEmailAddress=(emailAddress,multiple=!1)=>{const emailAddressRegExp=new RegExp("^[a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$");return multiple?splitOnCommas(emailAddress).every((value=>emailAddressRegExp.test(value))):emailAddressRegExp.test(emailAddress)},exports.isValidAbsoluteURL=url=>null!==whatwgURL.parseURL(url),exports.sanitizeValueByType=(input,val)=>{switch(input.type.toLowerCase()){case"password":case"search":case"tel":case"text":val=stripNewlines(val);break;case"color":val=isValidSimpleColor(val)?val.toLowerCase():"#000000";break;case"date":isValidDateString(val)||(val="");break;case"datetime-local":{const dateAndTime=parseLocalDateAndTimeString(val);val=null!==dateAndTime?serializeNormalizedDateAndTime(dateAndTime):"";break}case"email":input.hasAttributeNS(null,"multiple")?val=val.split(",").map((token=>stripLeadingAndTrailingASCIIWhitespace(token))).join(","):(val=stripNewlines(val),val=stripLeadingAndTrailingASCIIWhitespace(val));break;case"month":isValidMonthString(val)||(val="");break;case"number":isValidFloatingPointNumber(val)&&null!==parseFloatingPointNumber(val)||(val="");break;case"range":if(isValidFloatingPointNumber(val)&&null!==parseFloatingPointNumber(val))val<input._minimum?val=`${input._minimum}`:val>input._maximum&&(val=`${input._maximum}`);else{const minimum=input._minimum,maximum=input._maximum;val=`${maximum<minimum?minimum:(minimum+maximum)/2}`}break;case"time":isValidTimeString(val)||(val="");break;case"url":val=stripNewlines(val),val=stripLeadingAndTrailingASCIIWhitespace(val);break;case"week":isValidWeekString(val)||(val="")}return val},exports.formOwner=formControl=>{const formAttr=formControl.getAttributeNS(null,"form");if(""===formAttr)return null;if(null===formAttr)return closest(formControl,"form");const root=formControl.getRootNode({});let firstElementWithId;for(const descendant of domSymbolTree.treeIterator(root))if(descendant.nodeType===NODE_TYPE.ELEMENT_NODE&&descendant.getAttributeNS(null,"id")===formAttr){firstElementWithId=descendant;break}return firstElementWithId&&firstElementWithId.namespaceURI===HTML_NS&&"form"===firstElementWithId.localName?firstElementWithId:null}},93581:function(module,__unused_webpack_exports,__webpack_require__){const{HTML_NS:HTML_NS}=__webpack_require__(65676),{createElement:createElement,getValidTagNames:getValidTagNames}=__webpack_require__(42018),{implForWrapper:implForWrapper,wrapperForImpl:wrapperForImpl}=__webpack_require__(80421),ALREADY_CONSTRUCTED_MARKER=Symbol("already-constructed-marker");module.exports={HTMLConstructor:function HTMLConstructor(globalObject,constructorName,newTarget){const registry=implForWrapper(globalObject.customElements);if(newTarget===HTMLConstructor)throw new TypeError("Invalid constructor");const definition=registry._customElementDefinitions.find((entry=>entry.objectReference===newTarget));if(void 0===definition)throw new TypeError("Invalid constructor, the constructor is not part of the custom element registry");let isValue=null;if(definition.localName===definition.name){if("HTMLElement"!==constructorName)throw new TypeError("Invalid constructor, autonomous custom element should extend from HTMLElement")}else{if(!getValidTagNames(HTML_NS,constructorName).includes(definition.localName))throw new TypeError(`${definition.localName} is not valid local name for ${constructorName}`);isValue=definition.name}let{prototype:prototype}=newTarget;if(null!==prototype&&"object"==typeof prototype||(prototype=globalObject.HTMLElement.prototype),0===definition.constructionStack.length){const documentImpl=implForWrapper(globalObject.document),elementImpl=createElement(documentImpl,definition.localName,HTML_NS),element=wrapperForImpl(elementImpl);return Object.setPrototypeOf(element,prototype),elementImpl._ceState="custom",elementImpl._ceDefinition=definition,elementImpl._isValue=isValue,element}const elementImpl=definition.constructionStack[definition.constructionStack.length-1],element=wrapperForImpl(elementImpl);if(elementImpl===ALREADY_CONSTRUCTED_MARKER)throw new TypeError("This instance is already constructed");return Object.setPrototypeOf(element,prototype),definition.constructionStack[definition.constructionStack.length-1]=ALREADY_CONSTRUCTED_MARKER,element}}},65111:function(module,__unused_webpack_exports,__webpack_require__){var process=__webpack_require__(34155);const http=__webpack_require__(8501),https=__webpack_require__(79267),{Writable:Writable}=__webpack_require__(42830),zlib=__webpack_require__(42635),ver=process.version.replace("v","").split("."),majorNodeVersion=Number.parseInt(ver[0]);function abortRequest(clientRequest){majorNodeVersion>13?clientRequest.destroy():clientRequest.abort(),clientRequest.removeAllListeners(),clientRequest.on("error",(()=>{}))}module.exports=class Request extends Writable{constructor(url,clientOptions,requestOptions){super(),Object.assign(this,clientOptions),this.currentURL=url,this._requestOptions=requestOptions,this.headers=requestOptions.headers,this._ended=!1,this._redirectCount=0,this._requestBodyBuffers=[],this._bufferIndex=0,this._performRequest()}abort(){abortRequest(this._currentRequest),this.emit("abort"),this.removeAllListeners()}pipeRequest(form){form.pipe(this._currentRequest)}write(data,encoding){data.length>0&&(this._requestBodyBuffers.push({data:data,encoding:encoding}),this._currentRequest.write(data,encoding))}end(){this.emit("request",this._currentRequest),this._ended=!0,this._currentRequest.end()}setHeader(name,value){this.headers[name]=value,this._currentRequest.setHeader(name,value)}removeHeader(name){delete this.headers[name],this._currentRequest.removeHeader(name)}toJSON(){const{method:method,headers:headers}=this._requestOptions;return{uri:new URL(this.currentURL),method:method,headers:headers}}_writeNext(error){if(this._currentRequest)if(error)this.emit("error",error);else if(this._bufferIndex<this._requestBodyBuffers.length){const buffer=this._requestBodyBuffers[this._bufferIndex++];this._currentRequest.writableEnded||this._currentRequest.write(buffer.data,buffer.encoding,this._writeNext.bind(this))}else this._ended&&this._currentRequest.end()}_performRequest(){const scheme=new URL(this.currentURL).protocol;this._requestOptions.agent=this.agents[scheme.substring(0,scheme.length-1)];const{request:request}="https:"===scheme?https:http;let cookies;this._currentRequest=request(this.currentURL,this._requestOptions,(response=>{this._processResponse(response)})),0===this._redirectCount&&(this.originalCookieHeader=this.getHeader("Cookie")),this.cookieJar&&(cookies=this.cookieJar.getCookieStringSync(this.currentURL)),cookies&&cookies.length&&(this.originalCookieHeader?this.setHeader("Cookie",this.originalCookieHeader+"; "+cookies):this.setHeader("Cookie",cookies));for(const event of["connect","error","socket","timeout"])this._currentRequest.on(event,((...args)=>{this.emit(event,...args)}));this._isRedirect&&(this._bufferIndex=0,this._writeNext())}_processResponse(response){const cookies=response.headers["set-cookie"];if(this.cookieJar&&Array.isArray(cookies))try{cookies.forEach((cookie=>{this.cookieJar.setCookieSync(cookie,this.currentURL,{ignoreError:!0})}))}catch(e){this.emit("error",e)}const{statusCode:statusCode}=response,{location:location}=response.headers,catchResErrors=err=>{majorNodeVersion>=15&&"aborted"===err.message||this.emit("error",err)};response.on("error",catchResErrors);let redirectAddress=null,resendWithAuth=!1;if("string"==typeof location&&location.length&&this.followRedirects&&statusCode>=300&&statusCode<400?redirectAddress=location:401===statusCode&&/^Basic /i.test(response.headers["www-authenticate"]||"")&&this.user&&this.user.length&&(this._requestOptions.auth=`${this.user}:${this.pass}`,resendWithAuth=!0),redirectAddress||resendWithAuth){if(++this._redirectCount>21){const redirectError=new Error("Maximum number of redirects exceeded");return redirectError.code="ERR_TOO_MANY_REDIRECTS",void this.emit("error",redirectError)}abortRequest(this._currentRequest),response.destroy(),this._isRedirect=!0,((301===statusCode||302===statusCode)&&"POST"===this._requestOptions.method||303===statusCode&&!/^(?:GET|HEAD)$/.test(this._requestOptions.method))&&(this._requestOptions.method="GET",this._requestBodyBuffers=[]);let previousHostName=this._removeMatchingHeaders(/^host$/i);previousHostName||(previousHostName=new URL(this.currentURL).hostname);const previousURL=this.currentURL;if(!resendWithAuth){const nextURL=redirectAddress.startsWith("https:")?new URL(redirectAddress):new URL(redirectAddress,this.currentURL);nextURL.hostname!==previousHostName&&this._removeMatchingHeaders(/^authorization$/i),this.currentURL=nextURL.toString()}this.headers.Referer=previousURL,this.emit("redirect",response,this.headers,this.currentURL);try{this._performRequest()}catch(cause){this.emit("error",cause)}}else{let pipeline=response;const acceptEncoding=this.headers["Accept-Encoding"];if("string"==typeof acceptEncoding&&(acceptEncoding.includes("gzip")||acceptEncoding.includes("deflate"))&&"HEAD"!==this._requestOptions.method&&statusCode>=200&&204!==statusCode&&304!==statusCode){const zlibOptions={flush:zlib.constants.Z_SYNC_FLUSH,finishFlush:zlib.constants.Z_SYNC_FLUSH},contentEncoding=(response.headers["content-encoding"]||"identity").trim().toLowerCase();"gzip"===contentEncoding?(pipeline=zlib.createGunzip(zlibOptions),response.pipe(pipeline)):"deflate"===contentEncoding&&(pipeline=zlib.createInflate(zlibOptions),response.pipe(pipeline))}pipeline.removeAllListeners("error"),this.emit("response",response,this.currentURL),pipeline.on("data",(bytes=>this.emit("data",bytes))),pipeline.once("end",(bytes=>this.emit("end",bytes))),pipeline.on("error",catchResErrors),pipeline.on("close",(()=>this.emit("close"))),this._requestBodyBuffers=[]}}getHeader(key,value){return this._currentRequest?this._currentRequest.getHeader(key,value):null}_removeMatchingHeaders(regex){let lastValue;for(const header in this.headers)regex.test(header)&&(lastValue=this.headers[header],delete this.headers[header]);return lastValue}}},15415:function(__unused_webpack_module,exports,__webpack_require__){const SymbolTree=__webpack_require__(30291);exports.cloningSteps=Symbol("cloning steps"),exports.domSymbolTree=new SymbolTree("DOM SymbolTree")},73234:function(module){module.exports=class IterableWeakSet{constructor(){this._refSet=new Set,this._refMap=new WeakMap,this._finalizationRegistry=new FinalizationRegistry((({ref:ref,set:set})=>set.delete(ref)))}add(value){if(!this._refMap.has(value)){const ref=new WeakRef(value);this._refMap.set(value,ref),this._refSet.add(ref),this._finalizationRegistry.register(value,{ref:ref,set:this._refSet},ref)}return this}delete(value){const ref=this._refMap.get(value);return!!ref&&(this._refMap.delete(value),this._refSet.delete(ref),this._finalizationRegistry.unregister(ref),!0)}has(value){return this._refMap.has(value)}*[Symbol.iterator](){for(const ref of this._refSet){const value=ref.deref();void 0!==value&&(yield value)}}}},60818:function(__unused_webpack_module,exports){exports.parseJSONFromBytes=bytes=>{239===bytes[0]&&187===bytes[1]&&191===bytes[2]&&(bytes=bytes.subarray(3));const jsonText=bytes.toString("utf-8");return JSON.parse(jsonText)}},1367:function(module,__unused_webpack_exports,__webpack_require__){const{domSymbolTree:domSymbolTree}=__webpack_require__(15415),reportException=__webpack_require__(9400),Event=__webpack_require__(6776),idlUtils=__webpack_require__(80421),MutationRecord=__webpack_require__(35096),MUTATION_TYPE={ATTRIBUTES:"attributes",CHARACTER_DATA:"characterData",CHILD_LIST:"childList"};let mutationObserverMicrotaskQueueFlag=!1;const activeMutationObservers=new Set,signalSlotList=[];function queueMutationRecord(type,target,name,namespace,oldValue,addedNodes,removedNodes,previousSibling,nextSibling){const interestedObservers=new Map,nodes=domSymbolTree.ancestorsToArray(target);for(const node of nodes)for(const registered of node._registeredObserverList){const{options:options,observer:mo}=registered;node!==target&&!1===options.subtree||type===MUTATION_TYPE.ATTRIBUTES&&!0!==options.attributes||type===MUTATION_TYPE.ATTRIBUTES&&options.attributeFilter&&!options.attributeFilter.some((value=>value===name||value===namespace))||type===MUTATION_TYPE.CHARACTER_DATA&&!0!==options.characterData||type===MUTATION_TYPE.CHILD_LIST&&!1===options.childList||(interestedObservers.has(mo)||interestedObservers.set(mo,null),(type===MUTATION_TYPE.ATTRIBUTES&&!0===options.attributeOldValue||type===MUTATION_TYPE.CHARACTER_DATA&&!0===options.characterDataOldValue)&&interestedObservers.set(mo,oldValue))}for(const[observer,mappedOldValue]of interestedObservers.entries()){const record=MutationRecord.createImpl(target._globalObject,[],{type:type,target:target,attributeName:name,attributeNamespace:namespace,oldValue:mappedOldValue,addedNodes:addedNodes,removedNodes:removedNodes,previousSibling:previousSibling,nextSibling:nextSibling});observer._recordQueue.push(record),activeMutationObservers.add(observer)}queueMutationObserverMicrotask()}function queueMutationObserverMicrotask(){mutationObserverMicrotaskQueueFlag||(mutationObserverMicrotaskQueueFlag=!0,Promise.resolve().then((()=>{!function notifyMutationObservers(){mutationObserverMicrotaskQueueFlag=!1;const notifyList=[...activeMutationObservers].sort(((a,b)=>a._id-b._id));activeMutationObservers.clear();const signalList=[...signalSlotList];signalSlotList.splice(0,signalSlotList.length);for(const mo of notifyList){const records=[...mo._recordQueue];mo._recordQueue=[];for(const node of mo._nodeList)node._registeredObserverList=node._registeredObserverList.filter((registeredObserver=>registeredObserver.source!==mo));if(records.length>0)try{const moWrapper=idlUtils.wrapperForImpl(mo);mo._callback.call(moWrapper,records.map(idlUtils.wrapperForImpl),moWrapper)}catch(e){const{target:target}=records[0],window=target._ownerDocument._defaultView;reportException(window,e)}}for(const slot of signalList){const slotChangeEvent=Event.createImpl(slot._globalObject,["slotchange",{bubbles:!0}],{isTrusted:!0});slot._dispatch(slotChangeEvent)}}()})))}module.exports={MUTATION_TYPE:MUTATION_TYPE,queueMutationRecord:queueMutationRecord,queueTreeMutationRecord:function queueTreeMutationRecord(target,addedNodes,removedNodes,previousSibling,nextSibling){queueMutationRecord(MUTATION_TYPE.CHILD_LIST,target,null,null,null,addedNodes,removedNodes,previousSibling,nextSibling)},queueAttributeMutationRecord:function queueAttributeMutationRecord(target,name,namespace,oldValue){queueMutationRecord(MUTATION_TYPE.ATTRIBUTES,target,name,namespace,oldValue,[],[],null,null)},queueMutationObserverMicrotask:queueMutationObserverMicrotask,signalSlotList:signalSlotList}},65676:function(__unused_webpack_module,exports){exports.HTML_NS="http://www.w3.org/1999/xhtml",exports.MATHML_NS="http://www.w3.org/1998/Math/MathML",exports.SVG_NS="http://www.w3.org/2000/svg",exports.XLINK_NS="http://www.w3.org/1999/xlink",exports.XML_NS="http://www.w3.org/XML/1998/namespace",exports.XMLNS_NS="http://www.w3.org/2000/xmlns/"},23809:function(module,__unused_webpack_exports,__webpack_require__){const NODE_TYPE=__webpack_require__(51445),{domSymbolTree:domSymbolTree}=__webpack_require__(15415);module.exports={nodeLength:function nodeLength(node){switch(node.nodeType){case NODE_TYPE.DOCUMENT_TYPE_NODE:return 0;case NODE_TYPE.TEXT_NODE:case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:case NODE_TYPE.COMMENT_NODE:return node.data.length;default:return domSymbolTree.childrenCount(node)}},nodeRoot:function nodeRoot(node){for(;domSymbolTree.parent(node);)node=domSymbolTree.parent(node);return node},isInclusiveAncestor:function isInclusiveAncestor(ancestorNode,node){for(;node;){if(ancestorNode===node)return!0;node=domSymbolTree.parent(node)}return!1},isFollowing:function isFollowing(nodeA,nodeB){if(nodeA===nodeB)return!1;let current=nodeB;for(;current;){if(current===nodeA)return!0;current=domSymbolTree.following(current)}return!1}}},57187:function(__unused_webpack_module,exports,__webpack_require__){const{parseFloatingPointNumber:parseFloatingPointNumber}=__webpack_require__(27896),{parseDateString:parseDateString,parseLocalDateAndTimeString:parseLocalDateAndTimeString,parseMonthString:parseMonthString,parseTimeString:parseTimeString,parseWeekString:parseWeekString,serializeDate:serializeDate,serializeMonth:serializeMonth,serializeNormalizedDateAndTime:serializeNormalizedDateAndTime,serializeTime:serializeTime,serializeWeek:serializeWeek,parseDateAsWeek:parseDateAsWeek}=__webpack_require__(7224);function getUTCMs(year,month=1,day=1,hour=0,minute=0,second=0,millisecond=0){if(year>99||year<0)return Date.UTC(year,month-1,day,hour,minute,second,millisecond);const d=new Date(0);return d.setUTCFullYear(year),d.setUTCMonth(month-1),d.setUTCDate(day),d.setUTCHours(hour),d.setUTCMinutes(minute),d.setUTCSeconds(second,millisecond),d.valueOf()}const dayOfWeekRelMondayLUT=[-1,0,1,2,3,-3,-2];exports.convertStringToNumberByType={date(input){const date=parseDateString(input);return null===date?null:getUTCMs(date.year,date.month,date.day)},month(input){const date=parseMonthString(input);return null===date?null:12*(date.year-1970)+(date.month-1)},week(input){const date=parseWeekString(input);if(null===date)return null;const dateObj=new Date(getUTCMs(date.year)),dayOfWeekRelMonday=dayOfWeekRelMondayLUT[dateObj.getUTCDay()];return dateObj.setUTCDate(1+7*(date.week-1)-dayOfWeekRelMonday)},time(input){const time=parseTimeString(input);return null===time?null:1e3*(60*(60*time.hour+time.minute)+time.second)+time.millisecond},"datetime-local"(input){const dateAndTime=parseLocalDateAndTimeString(input);if(null===dateAndTime)return null;const{date:{year:year,month:month,day:day},time:{hour:hour,minute:minute,second:second,millisecond:millisecond}}=dateAndTime;return getUTCMs(year,month,day,hour,minute,second,millisecond)},number:parseFloatingPointNumber,range:parseFloatingPointNumber},exports.convertStringToDateByType={date(input){const parsedInput=exports.convertStringToNumberByType.date(input);return null===parsedInput?null:new Date(parsedInput)},month(input){const parsedMonthString=parseMonthString(input);if(null===parsedMonthString)return null;const date=new Date(0);return date.setUTCFullYear(parsedMonthString.year),date.setUTCMonth(parsedMonthString.month-1),date},week(input){const parsedInput=exports.convertStringToNumberByType.week(input);return null===parsedInput?null:new Date(parsedInput)},time(input){const parsedInput=exports.convertStringToNumberByType.time(input);return null===parsedInput?null:new Date(parsedInput)},"datetime-local"(input){const parsedInput=exports.convertStringToNumberByType["datetime-local"](input);return null===parsedInput?null:new Date(parsedInput)}},exports.serializeDateByType={date:input=>serializeDate({year:input.getUTCFullYear(),month:input.getUTCMonth()+1,day:input.getUTCDate()}),month:input=>serializeMonth({year:input.getUTCFullYear(),month:input.getUTCMonth()+1}),week:input=>serializeWeek(parseDateAsWeek(input)),time:input=>serializeTime({hour:input.getUTCHours(),minute:input.getUTCMinutes(),second:input.getUTCSeconds(),millisecond:input.getUTCMilliseconds()}),"datetime-local":input=>serializeNormalizedDateAndTime({date:{year:input.getUTCFullYear(),month:input.getUTCMonth()+1,day:input.getUTCDate()},time:{hour:input.getUTCHours(),minute:input.getUTCMinutes(),second:input.getUTCSeconds(),millisecond:input.getUTCMilliseconds()}})},exports.convertNumberToStringByType={date:input=>exports.serializeDateByType.date(new Date(input)),month(input){const year=1970+Math.floor(input/12),month=input%12,date=new Date(0);return date.setUTCFullYear(year),date.setUTCMonth(month),exports.serializeDateByType.month(date)},week:input=>exports.serializeDateByType.week(new Date(input)),time:input=>exports.serializeDateByType.time(new Date(input)),"datetime-local":input=>exports.serializeDateByType["datetime-local"](new Date(input)),number:input=>input.toString(),range:input=>input.toString()}},20251:function(module){module.exports=class OrderedSet{constructor(){this._items=[]}append(item){this.contains(item)||this._items.push(item)}prepend(item){this.contains(item)||this._items.unshift(item)}replace(item,replacement){let seen=!1;for(let i=0;i<this._items.length;){const isInstance=this._items[i]===item||this._items[i]===replacement;seen&&isInstance?this._items.splice(i,1):(isInstance&&(this._items[i]=replacement,seen=!0),i++)}}remove(...items){this.removePredicate((item=>items.includes(item)))}removePredicate(predicate){for(let i=0;i<this._items.length;)predicate(this._items[i])?this._items.splice(i,1):i++}empty(){this._items.length=0}contains(item){return this._items.includes(item)}get size(){return this._items.length}isEmpty(){return 0===this._items.length}[Symbol.iterator](){return this._items[Symbol.iterator]()}keys(){return this._items.keys()}get(index){return this._items[index]}some(func){return this._items.some(func)}static parse(input){const tokens=new OrderedSet;for(const token of input.split(/[\t\n\f\r ]+/))token&&tokens.append(token);return tokens}serialize(){return this._items.join(" ")}}},76688:function(__unused_webpack_module,exports,__webpack_require__){const PageTransitionEvent=__webpack_require__(19321),{fireAnEvent:fireAnEvent}=__webpack_require__(96799);exports.fireAPageTransitionEvent=(eventName,window,persisted)=>{fireAnEvent(eventName,window,PageTransitionEvent,{persisted:persisted,cancelable:!0,bubbles:!0},!0)}},9400:function(module,__unused_webpack_exports,__webpack_require__){const util=__webpack_require__(89539),idlUtils=__webpack_require__(80421),ErrorEvent=__webpack_require__(27195),{createAnEvent:createAnEvent}=__webpack_require__(96799),errorReportingMode=Symbol("error reporting mode");module.exports=function reportException(window,error,filenameHint){const stack=error&&error.stack,lines=stack&&stack.split("\n");let pieces;if(lines)for(let i=1;i<lines.length&&!pieces;++i)pieces=lines[i].match(/at (?:(.+)\s+)?\(?(?:(.+?):(\d+):(\d+)|([^)]+))\)?/);const fileName=pieces&&pieces[2]||filenameHint||window._document.URL;if(!function reportAnError(line,col,target,errorObject,message,location){if(target[errorReportingMode])return!1;target[errorReportingMode]=!0,"string"!=typeof message&&(message="uncaught exception: "+util.inspect(errorObject));const event=createAnEvent("error",target._globalObject,ErrorEvent,{cancelable:!0,message:message,filename:location,lineno:line,colno:col,error:errorObject});try{target._dispatch(event)}finally{return target[errorReportingMode]=!1,event.defaultPrevented}}(pieces&&parseInt(pieces[3])||0,pieces&&parseInt(pieces[4])||0,idlUtils.implForWrapper(window),error,error&&error.message,fileName)){const errorString=function shouldBeDisplayedAsError(x){return x&&x.name&&void 0!==x.message&&x.stack}(error)?`[${error.name}: ${error.message}]`:util.inspect(error),jsdomError=new Error(`Uncaught ${errorString}`);jsdomError.detail=error,jsdomError.type="unhandled exception",window._virtualConsole.emit("jsdomError",jsdomError)}}},14526:function(__unused_webpack_module,exports,__webpack_require__){const nwsapi=__webpack_require__(43420),idlUtils=__webpack_require__(80421);function initNwsapi(node){const{_globalObject:_globalObject,_ownerDocument:_ownerDocument}=node;return nwsapi({document:_ownerDocument,DOMException:_globalObject.DOMException})}exports.matchesDontThrow=(elImpl,selector)=>{const document=elImpl._ownerDocument;return document._nwsapiDontThrow||(document._nwsapiDontThrow=initNwsapi(elImpl),document._nwsapiDontThrow.configure({LOGERRORS:!1,VERBOSITY:!1,IDS_DUPES:!0,MIXEDCASE:!0})),document._nwsapiDontThrow.match(selector,idlUtils.wrapperForImpl(elImpl))},exports.addNwsapi=parentNode=>{const document=parentNode._ownerDocument;return document._nwsapi||(document._nwsapi=initNwsapi(parentNode),document._nwsapi.configure({LOGERRORS:!1,IDS_DUPES:!0,MIXEDCASE:!0})),document._nwsapi}},96671:function(module,__unused_webpack_exports,__webpack_require__){const NODE_TYPE=__webpack_require__(51445),{nodeRoot:nodeRoot}=__webpack_require__(23809),{HTML_NS:HTML_NS}=__webpack_require__(65676),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{signalSlotList:signalSlotList,queueMutationObserverMicrotask:queueMutationObserverMicrotask}=__webpack_require__(1367),VALID_HOST_ELEMENT_NAME=new Set(["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"]);function isNode(nodeImpl){return Boolean(nodeImpl&&"nodeType"in nodeImpl)}function isShadowRoot(nodeImpl){return Boolean(nodeImpl&&nodeImpl.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE&&"host"in nodeImpl)}function isSlotable(nodeImpl){return nodeImpl&&(nodeImpl.nodeType===NODE_TYPE.ELEMENT_NODE||nodeImpl.nodeType===NODE_TYPE.TEXT_NODE)}function isSlot(nodeImpl){return nodeImpl&&"slot"===nodeImpl.localName&&nodeImpl._namespaceURI===HTML_NS}function isShadowInclusiveAncestor(ancestor,node){for(;isNode(node);){if(node===ancestor)return!0;node=isShadowRoot(node)?node.host:domSymbolTree.parent(node)}return!1}function assignSlotable(slot){const slotables=findSlotable(slot);let shouldFireSlotChange=!1;if(slotables.length!==slot._assignedNodes.length)shouldFireSlotChange=!0;else for(let i=0;i<slotables.length;i++)if(slotables[i]!==slot._assignedNodes[i]){shouldFireSlotChange=!0;break}shouldFireSlotChange&&signalSlotChange(slot),slot._assignedNodes=slotables;for(const slotable of slotables)slotable._assignedSlot=slot}function findSlotable(slot){const result=[],root=nodeRoot(slot);if(!isShadowRoot(root))return result;for(const slotable of domSymbolTree.treeIterator(root.host)){findSlot(slotable)===slot&&result.push(slotable)}return result}function findSlot(slotable,openFlag){const{parentNode:parent}=slotable;if(!parent)return null;const shadow=parent._shadowRoot;if(!shadow||openFlag&&"open"!==shadow.mode)return null;for(const child of domSymbolTree.treeIterator(shadow))if(isSlot(child)&&child.name===slotable._slotableName)return child;return null}function signalSlotChange(slot){signalSlotList.some((entry=>entry===slot))||signalSlotList.push(slot),queueMutationObserverMicrotask()}function*shadowIncludingInclusiveDescendantsIterator(node){yield node,node._shadowRoot&&(yield*shadowIncludingInclusiveDescendantsIterator(node._shadowRoot));for(const child of domSymbolTree.childrenIterator(node))yield*shadowIncludingInclusiveDescendantsIterator(child)}module.exports={isValidHostElementName:function isValidHostElementName(name){return VALID_HOST_ELEMENT_NAME.has(name)},isNode:isNode,isSlotable:isSlotable,isSlot:isSlot,isShadowRoot:isShadowRoot,isShadowInclusiveAncestor:isShadowInclusiveAncestor,retarget:function retarget(a,b){for(;;){if(!isNode(a))return a;const aRoot=nodeRoot(a);if(!isShadowRoot(aRoot)||isNode(b)&&isShadowInclusiveAncestor(aRoot,b))return a;a=nodeRoot(a).host}},getEventTargetParent:function getEventTargetParent(eventTarget,event){return eventTarget._getTheParent?eventTarget._getTheParent(event):null},shadowIncludingRoot:function shadowIncludingRoot(node){const root=nodeRoot(node);return isShadowRoot(root)?shadowIncludingRoot(root.host):root},assignSlot:function assignSlot(slotable){const slot=findSlot(slotable);slot&&assignSlotable(slot)},assignSlotable:assignSlotable,assignSlotableForTree:function assignSlotableForTree(root){for(const slot of domSymbolTree.treeIterator(root))isSlot(slot)&&assignSlotable(slot)},findSlot:findSlot,findFlattenedSlotables:function findFlattenedSlotables(slot){const result=[];if(!isShadowRoot(nodeRoot(slot)))return result;const slotables=findSlotable(slot);if(0===slotables.length)for(const child of domSymbolTree.childrenIterator(slot))isSlotable(child)&&slotables.push(child);for(const node of slotables)if(isSlot(node)&&isShadowRoot(nodeRoot(node))){const temporaryResult=findFlattenedSlotables(node);result.push(...temporaryResult)}else result.push(node);return result},signalSlotChange:signalSlotChange,shadowIncludingInclusiveDescendantsIterator:shadowIncludingInclusiveDescendantsIterator,shadowIncludingDescendantsIterator:function*shadowIncludingDescendantsIterator(node){node._shadowRoot&&(yield*shadowIncludingInclusiveDescendantsIterator(node._shadowRoot));for(const child of domSymbolTree.childrenIterator(node))yield*shadowIncludingInclusiveDescendantsIterator(child)}}},27896:function(__unused_webpack_module,exports){const asciiWhitespaceRe=/^[\t\n\f\r ]$/;exports.asciiWhitespaceRe=asciiWhitespaceRe,exports.asciiLowercase=s=>s.replace(/[A-Z]/g,(l=>l.toLowerCase())),exports.asciiUppercase=s=>s.replace(/[a-z]/g,(l=>l.toUpperCase())),exports.stripNewlines=s=>s.replace(/[\n\r]+/g,""),exports.stripLeadingAndTrailingASCIIWhitespace=s=>s.replace(/^[ \t\n\f\r]+/,"").replace(/[ \t\n\f\r]+$/,""),exports.stripAndCollapseASCIIWhitespace=s=>s.replace(/[ \t\n\f\r]+/g," ").replace(/^[ \t\n\f\r]+/,"").replace(/[ \t\n\f\r]+$/,""),exports.isValidSimpleColor=s=>/^#[a-fA-F\d]{6}$/.test(s),exports.asciiCaseInsensitiveMatch=(a,b)=>{if(a.length!==b.length)return!1;for(let i=0;i<a.length;++i)if((32|a.charCodeAt(i))!=(32|b.charCodeAt(i)))return!1;return!0};const parseInteger=exports.parseInteger=input=>{const numWhitespace=input.length-input.trimStart().length;if(/[^\t\n\f\r ]/.test(input.slice(0,numWhitespace)))return null;const value=parseInt(input,10);return Number.isNaN(value)?null:0===value?0:value};exports.parseNonNegativeInteger=input=>{const value=parseInteger(input);return null===value||value<0?null:value};const floatingPointNumRe=/^-?(?:\d+|\d*\.\d+)(?:[eE][-+]?\d+)?$/;exports.isValidFloatingPointNumber=str=>floatingPointNumRe.test(str),exports.parseFloatingPointNumber=str=>{const numWhitespace=str.length-str.trimStart().length;if(/[^\t\n\f\r ]/.test(str.slice(0,numWhitespace)))return null;const parsed=parseFloat(str);return isFinite(parsed)?parsed:null},exports.splitOnASCIIWhitespace=str=>{let position=0;const tokens=[];for(;position<str.length&&asciiWhitespaceRe.test(str[position]);)position++;if(position===str.length)return tokens;for(;position<str.length;){const start=position;for(;position<str.length&&!asciiWhitespaceRe.test(str[position]);)position++;for(tokens.push(str.slice(start,position));position<str.length&&asciiWhitespaceRe.test(str[position]);)position++}return tokens},exports.splitOnCommas=str=>{let position=0;const tokens=[];for(;position<str.length;){let start=position;for(;position<str.length&&","!==str[position];)position++;let end=position;for(;start<str.length&&asciiWhitespaceRe.test(str[start]);)start++;for(;end>start&&asciiWhitespaceRe.test(str[end-1]);)end--;tokens.push(str.slice(start,end)),position<str.length&&position++}return tokens}},131:function(__unused_webpack_module,exports,__webpack_require__){const cssom=__webpack_require__(62725),defaultStyleSheet=__webpack_require__(39765),{matchesDontThrow:matchesDontThrow}=__webpack_require__(14526),{forEach:forEach,indexOf:indexOf}=Array.prototype;let parsedDefaultStyleSheet;function matches(rule,element){return matchesDontThrow(element,rule.selectorText)}function getSpecifiedValue(element,property){const cascade=function getCascadedPropertyValue(element,property){let value="";exports.forEachMatchingSheetRuleOfElement(element,(rule=>{const propertyValue=rule.style.getPropertyValue(property);""!==propertyValue&&(value=propertyValue)}));const inlineValue=element.style.getPropertyValue(property);return""!==inlineValue&&null!==inlineValue&&(value=inlineValue),value}(element,property);if(""!==cascade)return cascade;const{initial:initial,inherited:inherited}=exports.propertiesWithResolvedValueImplemented[property];return inherited&&null!==element.parentElement?getComputedValue(element.parentElement,property):initial}function getComputedValue(element,property){const{computedValue:computedValue}=exports.propertiesWithResolvedValueImplemented[property];if("as-specified"===computedValue)return getSpecifiedValue(element,property);throw new TypeError(`Internal error: unrecognized computed value instruction '${computedValue}'`)}exports.propertiesWithResolvedValueImplemented={__proto__:null,visibility:{inherited:!0,initial:"visible",computedValue:"as-specified"}},exports.forEachMatchingSheetRuleOfElement=(elementImpl,handleRule)=>{function handleSheet(sheet){forEach.call(sheet.cssRules,(rule=>{rule.media?-1!==indexOf.call(rule.media,"screen")&&forEach.call(rule.cssRules,(innerRule=>{matches(innerRule,elementImpl)&&handleRule(innerRule)})):matches(rule,elementImpl)&&handleRule(rule)}))}parsedDefaultStyleSheet||(parsedDefaultStyleSheet=cssom.parse(defaultStyleSheet)),handleSheet(parsedDefaultStyleSheet),forEach.call(elementImpl._ownerDocument.styleSheets._list,handleSheet)},exports.getResolvedValue=(element,property)=>getComputedValue(element,property),exports.SHADOW_DOM_PSEUDO_REGEXP=/^::(?:part|slotted)\(/i},61809:function(__unused_webpack_module,exports,__webpack_require__){const cssom=__webpack_require__(62725),whatwgEncoding=__webpack_require__(81479),whatwgURL=__webpack_require__(77101);function fetchStylesheetInternal(elementImpl,urlString,parsedURL){const document=elementImpl._ownerDocument;let defaultEncoding=document._encoding;const resourceLoader=document._resourceLoader;"link"===elementImpl.localName&&elementImpl.hasAttributeNS(null,"charset")&&(defaultEncoding=whatwgEncoding.labelToName(elementImpl.getAttributeNS(null,"charset"))),resourceLoader.fetch(urlString,{element:elementImpl,onLoad:function onStylesheetLoad(data){const css=whatwgEncoding.decode(data,defaultEncoding);elementImpl.sheet&&exports.removeStylesheet(elementImpl.sheet,elementImpl),exports.createStylesheet(css,elementImpl,parsedURL)}})}function scanForImportRules(elementImpl,cssRules,baseURL){if(cssRules)for(let i=0;i<cssRules.length;++i)if(cssRules[i].cssRules)scanForImportRules(elementImpl,cssRules[i].cssRules,baseURL);else if(cssRules[i].href){const parsed=whatwgURL.parseURL(cssRules[i].href,{baseURL:baseURL});if(null===parsed){const window=elementImpl._ownerDocument._defaultView;if(window){const error=new Error(`Could not parse CSS @import URL ${cssRules[i].href} relative to base URL "${whatwgURL.serializeURL(baseURL)}"`);error.type="css @import URL parsing",window._virtualConsole.emit("jsdomError",error)}}else fetchStylesheetInternal(elementImpl,whatwgURL.serializeURL(parsed),parsed)}}exports.fetchStylesheet=(elementImpl,urlString)=>fetchStylesheetInternal(elementImpl,urlString,whatwgURL.parseURL(urlString)),exports.removeStylesheet=(sheet,elementImpl)=>{const{styleSheets:styleSheets}=elementImpl._ownerDocument;styleSheets._remove(sheet),elementImpl.sheet=null},exports.createStylesheet=(sheetText,elementImpl,baseURL)=>{let sheet;try{sheet=cssom.parse(sheetText)}catch(e){if(elementImpl._ownerDocument._defaultView){const error=new Error("Could not parse CSS stylesheet");error.detail=sheetText,error.type="css parsing",elementImpl._ownerDocument._defaultView._virtualConsole.emit("jsdomError",error)}return}scanForImportRules(elementImpl,sheet.cssRules,baseURL),function addStylesheet(sheet,elementImpl){elementImpl._ownerDocument.styleSheets._add(sheet),elementImpl.sheet=sheet}(sheet,elementImpl)}},56898:function(__unused_webpack_module,exports){exports.detach=function detach(value){if("string"!=typeof value)throw new TypeError(`jsdom internal error: detaching object of wrong type ${value}`)},exports.attach=function attach(value,listObject){if("string"!=typeof value)throw new TypeError(`jsdom internal error: attaching object of wrong type ${value}`)},exports.reserializeSpaceSeparatedTokens=function reserializeSpaceSeparatedTokens(elements){return elements.join(" ")},exports.reserializeCommaSeparatedTokens=function reserializeCommaSeparatedTokens(elements){return elements.join(", ")}},60751:function(__unused_webpack_module,exports,__webpack_require__){const{SVG_NS:SVG_NS}=__webpack_require__(65676),neverRenderedElements=new Set(["clipPath","defs","desc","linearGradient","marker","mask","metadata","pattern","radialGradient","script","style","title","symbol"]);exports.isRenderedElement=elImpl=>!neverRenderedElements.has(elImpl._localName)&&(!!elImpl.isConnected&&!(elImpl.parentElement&&elImpl.parentElement._namespaceURI===SVG_NS&&!exports.isRenderedElement(elImpl.parentNode)))},75246:function(__unused_webpack_module,exports,__webpack_require__){const{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{CDATA_SECTION_NODE:CDATA_SECTION_NODE,TEXT_NODE:TEXT_NODE}=__webpack_require__(51445);exports.childTextContent=node=>{let result="";const iterator=domSymbolTree.childrenIterator(node);for(const child of iterator)child.nodeType!==TEXT_NODE&&child.nodeType!==CDATA_SECTION_NODE||(result+=child.data);return result}},22537:function(__unused_webpack_module,exports,__webpack_require__){const{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{HTML_NS:HTML_NS}=__webpack_require__(65676);exports.closest=(e,localName,namespace=HTML_NS)=>{for(;e;){if(e.localName===localName&&e.namespaceURI===namespace)return e;e=domSymbolTree.parent(e)}return null},exports.childrenByLocalName=(parent,localName,namespace=HTML_NS)=>domSymbolTree.childrenToArray(parent,{filter:node=>node._localName===localName&&node._namespaceURI===namespace}),exports.descendantsByLocalName=(parent,localName,namespace=HTML_NS)=>domSymbolTree.treeToArray(parent,{filter:node=>node._localName===localName&&node._namespaceURI===namespace&&node!==parent}),exports.childrenByLocalNames=(parent,localNamesSet,namespace=HTML_NS)=>domSymbolTree.childrenToArray(parent,{filter:node=>localNamesSet.has(node._localName)&&node._namespaceURI===namespace}),exports.descendantsByLocalNames=(parent,localNamesSet,namespace=HTML_NS)=>domSymbolTree.treeToArray(parent,{filter:node=>localNamesSet.has(node._localName)&&node._namespaceURI===namespace&&node!==parent}),exports.firstChildWithLocalName=(parent,localName,namespace=HTML_NS)=>{const iterator=domSymbolTree.childrenIterator(parent);for(const child of iterator)if(child._localName===localName&&child._namespaceURI===namespace)return child;return null},exports.firstChildWithLocalNames=(parent,localNamesSet,namespace=HTML_NS)=>{const iterator=domSymbolTree.childrenIterator(parent);for(const child of iterator)if(localNamesSet.has(child._localName)&&child._namespaceURI===namespace)return child;return null},exports.firstDescendantWithLocalName=(parent,localName,namespace=HTML_NS)=>{const iterator=domSymbolTree.treeIterator(parent);for(const descendant of iterator)if(descendant._localName===localName&&descendant._namespaceURI===namespace)return descendant;return null}},43013:function(__unused_webpack_module,exports,__webpack_require__){const xnv=__webpack_require__(20330),DOMException=__webpack_require__(69026),{XML_NS:XML_NS,XMLNS_NS:XMLNS_NS}=__webpack_require__(65676);exports.name=(globalObject,name)=>{if(!xnv.name(name))throw DOMException.create(globalObject,[`"${name}" did not match the Name production`,"InvalidCharacterError"])},exports.qname=(globalObject,qname)=>{if(!xnv.qname(qname))throw DOMException.create(globalObject,[`"${qname}" did not match the QName production`,"InvalidCharacterError"])},exports.validateAndExtract=(globalObject,namespace,qualifiedName)=>{""===namespace&&(namespace=null),exports.qname(globalObject,qualifiedName);let prefix=null,localName=qualifiedName;const colonIndex=qualifiedName.indexOf(":");if(-1!==colonIndex&&(prefix=qualifiedName.substring(0,colonIndex),localName=qualifiedName.substring(colonIndex+1)),null!==prefix&&null===namespace)throw DOMException.create(globalObject,["A namespace was given but a prefix was also extracted from the qualifiedName","NamespaceError"]);if("xml"===prefix&&namespace!==XML_NS)throw DOMException.create(globalObject,['A prefix of "xml" was given but the namespace was not the XML namespace',"NamespaceError"]);if(("xmlns"===qualifiedName||"xmlns"===prefix)&&namespace!==XMLNS_NS)throw DOMException.create(globalObject,['A prefix or qualifiedName of "xmlns" was given but the namespace was not the XMLNS namespace',"NamespaceError"]);if(namespace===XMLNS_NS&&"xmlns"!==qualifiedName&&"xmlns"!==prefix)throw DOMException.create(globalObject,['The XMLNS namespace was given but neither the prefix nor qualifiedName was "xmlns"',"NamespaceError"]);return{namespace:namespace,prefix:prefix,localName:localName}}},85060:function(__unused_webpack_module,exports,__webpack_require__){const EventTargetImpl=__webpack_require__(98998).implementation;exports.implementation=class PerformanceImpl extends EventTargetImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._rawPerformance=privateData.rawPerformance}now(){return this._rawPerformance.now()}get timeOrigin(){return this._rawPerformance.timeOrigin}toJSON(){return this._rawPerformance.toJSON()}}},3164:function(__unused_webpack_module,exports,__webpack_require__){const style=__webpack_require__(40851),xpath=__webpack_require__(16872),generatedInterfaces={DOMException:__webpack_require__(69026),URL:__webpack_require__(97135).URL,URLSearchParams:__webpack_require__(97135).URLSearchParams,EventTarget:__webpack_require__(70462),NamedNodeMap:__webpack_require__(14970),Node:__webpack_require__(47462),Attr:__webpack_require__(97499),Element:__webpack_require__(61157),DocumentFragment:__webpack_require__(35968),DOMImplementation:__webpack_require__(94992),Document:__webpack_require__(87417),XMLDocument:__webpack_require__(98151),CharacterData:__webpack_require__(93324),Text:__webpack_require__(86112),CDATASection:__webpack_require__(66019),ProcessingInstruction:__webpack_require__(69699),Comment:__webpack_require__(56445),DocumentType:__webpack_require__(6558),NodeList:__webpack_require__(42850),HTMLCollection:__webpack_require__(76270),HTMLOptionsCollection:__webpack_require__(62467),DOMStringMap:__webpack_require__(84098),DOMTokenList:__webpack_require__(33858),StyleSheetList:__webpack_require__(98935),HTMLElement:__webpack_require__(12028),HTMLHeadElement:__webpack_require__(13083),HTMLTitleElement:__webpack_require__(19577),HTMLBaseElement:__webpack_require__(43246),HTMLLinkElement:__webpack_require__(3642),HTMLMetaElement:__webpack_require__(63856),HTMLStyleElement:__webpack_require__(13009),HTMLBodyElement:__webpack_require__(7246),HTMLHeadingElement:__webpack_require__(32969),HTMLParagraphElement:__webpack_require__(72107),HTMLHRElement:__webpack_require__(84251),HTMLPreElement:__webpack_require__(91532),HTMLUListElement:__webpack_require__(11584),HTMLOListElement:__webpack_require__(97929),HTMLLIElement:__webpack_require__(17281),HTMLMenuElement:__webpack_require__(14457),HTMLDListElement:__webpack_require__(9549),HTMLDivElement:__webpack_require__(43268),HTMLAnchorElement:__webpack_require__(12629),HTMLAreaElement:__webpack_require__(42601),HTMLBRElement:__webpack_require__(72780),HTMLButtonElement:__webpack_require__(15039),HTMLCanvasElement:__webpack_require__(84677),HTMLDataElement:__webpack_require__(25655),HTMLDataListElement:__webpack_require__(66443),HTMLDetailsElement:__webpack_require__(46975),HTMLDialogElement:__webpack_require__(84543),HTMLDirectoryElement:__webpack_require__(39658),HTMLFieldSetElement:__webpack_require__(4024),HTMLFontElement:__webpack_require__(9828),HTMLFormElement:__webpack_require__(39624),HTMLHtmlElement:__webpack_require__(88894),HTMLImageElement:__webpack_require__(71017),HTMLInputElement:__webpack_require__(2803),HTMLLabelElement:__webpack_require__(29207),HTMLLegendElement:__webpack_require__(77250),HTMLMapElement:__webpack_require__(94221),HTMLMarqueeElement:__webpack_require__(1260),HTMLMediaElement:__webpack_require__(39548),HTMLMeterElement:__webpack_require__(52356),HTMLModElement:__webpack_require__(56586),HTMLOptGroupElement:__webpack_require__(14860),HTMLOptionElement:__webpack_require__(97147),HTMLOutputElement:__webpack_require__(98911),HTMLPictureElement:__webpack_require__(81347),HTMLProgressElement:__webpack_require__(53558),HTMLQuoteElement:__webpack_require__(4347),HTMLScriptElement:__webpack_require__(96200),HTMLSelectElement:__webpack_require__(25166),HTMLSlotElement:__webpack_require__(66109),HTMLSourceElement:__webpack_require__(14485),HTMLSpanElement:__webpack_require__(90805),HTMLTableCaptionElement:__webpack_require__(53490),HTMLTableCellElement:__webpack_require__(12859),HTMLTableColElement:__webpack_require__(45283),HTMLTableElement:__webpack_require__(71188),HTMLTimeElement:__webpack_require__(26501),HTMLTableRowElement:__webpack_require__(72688),HTMLTableSectionElement:__webpack_require__(6944),HTMLTemplateElement:__webpack_require__(8876),HTMLTextAreaElement:__webpack_require__(53061),HTMLUnknownElement:__webpack_require__(24209),HTMLFrameElement:__webpack_require__(641),HTMLFrameSetElement:__webpack_require__(18032),HTMLIFrameElement:__webpack_require__(94883),HTMLEmbedElement:__webpack_require__(79700),HTMLObjectElement:__webpack_require__(96470),HTMLParamElement:__webpack_require__(45159),HTMLVideoElement:__webpack_require__(39965),HTMLAudioElement:__webpack_require__(52301),HTMLTrackElement:__webpack_require__(10067),SVGElement:__webpack_require__(14700),SVGGraphicsElement:__webpack_require__(72701),SVGSVGElement:__webpack_require__(42028),SVGTitleElement:__webpack_require__(79707),SVGAnimatedString:__webpack_require__(51011),SVGNumber:__webpack_require__(12842),SVGStringList:__webpack_require__(68438),Event:__webpack_require__(6776),CloseEvent:__webpack_require__(28793),CustomEvent:__webpack_require__(25355),MessageEvent:__webpack_require__(25970),ErrorEvent:__webpack_require__(27195),HashChangeEvent:__webpack_require__(14876),PopStateEvent:__webpack_require__(63763),StorageEvent:__webpack_require__(67272),ProgressEvent:__webpack_require__(49363),PageTransitionEvent:__webpack_require__(19321),UIEvent:__webpack_require__(9973),FocusEvent:__webpack_require__(81950),InputEvent:__webpack_require__(28402),MouseEvent:__webpack_require__(89057),KeyboardEvent:__webpack_require__(46355),TouchEvent:__webpack_require__(83443),CompositionEvent:__webpack_require__(3217),WheelEvent:__webpack_require__(43851),BarProp:__webpack_require__(55290),External:__webpack_require__(77883),Location:__webpack_require__(71566),History:__webpack_require__(31162),Screen:__webpack_require__(65807),Performance:__webpack_require__(89321),Navigator:__webpack_require__(84122),PluginArray:__webpack_require__(28605),MimeTypeArray:__webpack_require__(86390),Plugin:__webpack_require__(1106),MimeType:__webpack_require__(66865),FileReader:__webpack_require__(23666),Blob:__webpack_require__(86545),File:__webpack_require__(68610),FileList:__webpack_require__(47951),ValidityState:__webpack_require__(64428),DOMParser:__webpack_require__(76384),XMLSerializer:__webpack_require__(55962),FormData:__webpack_require__(24373),XMLHttpRequestEventTarget:__webpack_require__(45243),XMLHttpRequestUpload:__webpack_require__(24782),XMLHttpRequest:__webpack_require__(68090),WebSocket:__webpack_require__(5779),NodeFilter:__webpack_require__(20138),NodeIterator:__webpack_require__(19763),TreeWalker:__webpack_require__(6263),AbstractRange:__webpack_require__(20229),Range:__webpack_require__(74318),StaticRange:__webpack_require__(49007),Selection:__webpack_require__(43018),Storage:__webpack_require__(20641),CustomElementRegistry:__webpack_require__(15381),ShadowRoot:__webpack_require__(63171),MutationObserver:__webpack_require__(84143),MutationRecord:__webpack_require__(35096),Headers:__webpack_require__(63862),AbortController:__webpack_require__(90531),AbortSignal:__webpack_require__(91330)};exports.installInterfaces=(window,globalNames)=>{for(const generatedInterface of Object.values(generatedInterfaces))generatedInterface.install(window,globalNames);!function install(window,name,interfaceConstructor){Object.defineProperty(window,name,{configurable:!0,writable:!0,value:interfaceConstructor})}(window,"HTMLDocument",window.Document),style.addToCore(window),xpath(window)},exports.getInterfaceWrapper=name=>generatedInterfaces[name]},12049:function(module,__unused_webpack_exports,__webpack_require__){const{wrapperForImpl:wrapperForImpl}=__webpack_require__(80421);let mutationObserverId=0;module.exports={implementation:class MutationObserverImpl{constructor(globalObject,args){const[callback]=args;this._callback=callback,this._nodeList=[],this._recordQueue=[],this._id=++mutationObserverId}observe(target,options){if(!("attributeOldValue"in options)&&!("attributeFilter"in options)||"attributes"in options||(options.attributes=!0),"characterDataOldValue"in options&!("characterData"in options)&&(options.characterData=!0),!(options.childList||options.attributes||options.characterData))throw new TypeError("The options object must set at least one of 'attributes', 'characterData', or 'childList' to true.");if(options.attributeOldValue&&!options.attributes)throw new TypeError("The options object may only set 'attributeOldValue' to true when 'attributes' is true or not present.");if("attributeFilter"in options&&!options.attributes)throw new TypeError("The options object may only set 'attributeFilter' when 'attributes' is true or not present.");if(options.characterDataOldValue&&!options.characterData)throw new TypeError("The options object may only set 'characterDataOldValue' to true when 'characterData' is true or not present.");const existingRegisteredObserver=target._registeredObserverList.find((registeredObserver=>registeredObserver.observer===this));if(existingRegisteredObserver){for(const node of this._nodeList)node._registeredObserverList=node._registeredObserverList.filter((registeredObserver=>registeredObserver.source!==existingRegisteredObserver));existingRegisteredObserver.options=options}else target._registeredObserverList.push({observer:this,options:options}),this._nodeList.push(target)}disconnect(){for(const node of this._nodeList)node._registeredObserverList=node._registeredObserverList.filter((registeredObserver=>registeredObserver.observer!==this));this._recordQueue=[]}takeRecords(){const records=this._recordQueue.map(wrapperForImpl);return this._recordQueue=[],records}}}},84192:function(module,__unused_webpack_exports,__webpack_require__){const NodeList=__webpack_require__(42850);module.exports={implementation:class MutationRecordImpl{constructor(globalObject,args,privateData){this._globalObject=globalObject,this.type=privateData.type,this.target=privateData.target,this.previousSibling=privateData.previousSibling,this.nextSibling=privateData.nextSibling,this.attributeName=privateData.attributeName,this.attributeNamespace=privateData.attributeNamespace,this.oldValue=privateData.oldValue,this._addedNodes=privateData.addedNodes,this._removedNodes=privateData.removedNodes}get addedNodes(){return NodeList.createImpl(this._globalObject,[],{nodes:this._addedNodes})}get removedNodes(){return NodeList.createImpl(this._globalObject,[],{nodes:this._removedNodes})}}}},55111:function(__unused_webpack_module,exports,__webpack_require__){const hasOwnProp=Object.prototype.hasOwnProperty,namedPropertiesTracker=__webpack_require__(54172),NODE_TYPE=__webpack_require__(51445),HTMLCollection=__webpack_require__(76270),{treeOrderSorter:treeOrderSorter}=__webpack_require__(54641),idlUtils=__webpack_require__(80421);function isNamedPropertyElement(element){if("contentWindow"in element&&!hasOwnProp.call(element,"contentWindow"))return!0;switch(element.nodeName){case"A":case"AREA":case"EMBED":case"FORM":case"FRAMESET":case"IMG":case"OBJECT":return!0;default:return!1}}function namedPropertyResolver(window,name,values){const document=window._document,objects=HTMLCollection.create(window,[],{element:idlUtils.implForWrapper(document.documentElement),query:function getResult(){const results=[];for(const node of values().keys())node.nodeType===NODE_TYPE.ELEMENT_NODE&&(node.getAttributeNS(null,"id")===name||node.getAttributeNS(null,"name")===name&&isNamedPropertyElement(node))&&results.push(node);return results.sort(treeOrderSorter),results}}),{length:length}=objects;for(let i=0;i<length;++i){const node=objects[i];if("contentWindow"in node&&!hasOwnProp.call(node,"contentWindow")&&node.getAttributeNS(null,"name")===name)return node.contentWindow}if(0!==length)return 1===length?objects[0]:objects}exports.initializeWindow=function(window,windowProxy){namedPropertiesTracker.create(window,windowProxy,namedPropertyResolver.bind(null))},exports.elementAttributeModified=function(element,name,value,oldValue){if(!element._attached)return;const useName=isNamedPropertyElement(element);if("id"===name||"name"===name&&useName){const tracker=namedPropertiesTracker.get(element._ownerDocument._global);tracker&&("id"!==name||useName&&element.getAttributeNS(null,"name")===oldValue||tracker.untrack(oldValue,element),"name"===name&&element.getAttributeNS(null,"id")!==oldValue&&tracker.untrack(oldValue,element),tracker.track(value,element))}},exports.nodeAttachedToDocument=function(node){if(node.nodeType!==NODE_TYPE.ELEMENT_NODE)return;const tracker=namedPropertiesTracker.get(node._ownerDocument._global);tracker&&(tracker.track(node.getAttributeNS(null,"id"),node),isNamedPropertyElement(node)&&tracker.track(node.getAttributeNS(null,"name"),node))},exports.nodeDetachedFromDocument=function(node){if(node.nodeType!==NODE_TYPE.ELEMENT_NODE)return;const tracker=namedPropertiesTracker.get(node._ownerDocument._global);tracker&&(tracker.untrack(node.getAttributeNS(null,"id"),node),isNamedPropertyElement(node)&&tracker.untrack(node.getAttributeNS(null,"name"),node))}},26301:function(__unused_webpack_module,exports){exports.implementation=class MimeType{}},20256:function(__unused_webpack_module,exports,__webpack_require__){const idlUtils=__webpack_require__(80421);exports.implementation=class MimeTypeArray{get length(){return 0}item(){return null}namedItem(){return null}get[idlUtils.supportedPropertyIndices](){return[]}}},69016:function(__unused_webpack_module,exports,__webpack_require__){const{mixin:mixin}=__webpack_require__(54641),PluginArray=__webpack_require__(28605),MimeTypeArray=__webpack_require__(86390),NavigatorIDImpl=__webpack_require__(47318).i,NavigatorLanguageImpl=__webpack_require__(94789).i,NavigatorOnLineImpl=__webpack_require__(30097).i,NavigatorCookiesImpl=__webpack_require__(12319).i,NavigatorPluginsImpl=__webpack_require__(58240).i,NavigatorConcurrentHardwareImpl=__webpack_require__(87030).i;class NavigatorImpl{constructor(globalObject,args,privateData){this._globalObject=globalObject,this.userAgent=privateData.userAgent,this.languages=Object.freeze(["en-US","en"]),this.plugins=PluginArray.create(this._globalObject),this.mimeTypes=MimeTypeArray.create(this._globalObject)}}mixin(NavigatorImpl.prototype,NavigatorIDImpl.prototype),mixin(NavigatorImpl.prototype,NavigatorLanguageImpl.prototype),mixin(NavigatorImpl.prototype,NavigatorOnLineImpl.prototype),mixin(NavigatorImpl.prototype,NavigatorCookiesImpl.prototype),mixin(NavigatorImpl.prototype,NavigatorPluginsImpl.prototype),mixin(NavigatorImpl.prototype,NavigatorConcurrentHardwareImpl.prototype),exports.implementation=NavigatorImpl},87030:function(__unused_webpack_module,exports,__webpack_require__){const os=__webpack_require__(67435);exports.i=class NavigatorConcurrentHardwareImpl{get hardwareConcurrency(){return os.cpus().length}}},12319:function(__unused_webpack_module,exports){exports.i=class NavigatorCookiesImpl{get cookieEnabled(){return!0}}},47318:function(__unused_webpack_module,exports){exports.i=class NavigatorIDImpl{get appCodeName(){return"Mozilla"}get appName(){return"Netscape"}get appVersion(){return"4.0"}get platform(){return""}get product(){return"Gecko"}get productSub(){return"20030107"}get vendor(){return"Apple Computer, Inc."}get vendorSub(){return""}}},94789:function(__unused_webpack_module,exports){exports.i=class NavigatorLanguageImpl{get language(){return"en-US"}}},30097:function(__unused_webpack_module,exports){exports.i=class NavigatorOnLineImpl{get onLine(){return!0}}},58240:function(__unused_webpack_module,exports){exports.i=class NavigatorPluginsImpl{javaEnabled(){return!1}}},88978:function(__unused_webpack_module,exports){exports.implementation=class Plugin{}},27034:function(__unused_webpack_module,exports,__webpack_require__){const idlUtils=__webpack_require__(80421);exports.implementation=class PluginArray{refresh(){}get length(){return 0}item(){return null}namedItem(){return null}get[idlUtils.supportedPropertyIndices](){return[]}}},3408:function(module){module.exports=Object.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32})},51445:function(module){module.exports=Object.freeze({ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12})},72878:function(__unused_webpack_module,exports,__webpack_require__){const{appendAttribute:appendAttribute}=__webpack_require__(91742),NODE_TYPE=__webpack_require__(51445),orderedSetParse=__webpack_require__(20251).parse,{createElement:createElement}=__webpack_require__(42018),{HTML_NS:HTML_NS,XMLNS_NS:XMLNS_NS}=__webpack_require__(65676),{cloningSteps:cloningSteps,domSymbolTree:domSymbolTree}=__webpack_require__(15415),{asciiCaseInsensitiveMatch:asciiCaseInsensitiveMatch,asciiLowercase:asciiLowercase}=__webpack_require__(27896),HTMLCollection=__webpack_require__(76270);exports.clone=(node,document,cloneChildren)=>{let copy;switch(void 0===document&&(document=node._ownerDocument),node.nodeType){case NODE_TYPE.DOCUMENT_NODE:copy=node._cloneDocument();break;case NODE_TYPE.DOCUMENT_TYPE_NODE:copy=document.implementation.createDocumentType(node.name,node.publicId,node.systemId);break;case NODE_TYPE.ELEMENT_NODE:copy=createElement(document,node._localName,node._namespaceURI,node._prefix,node._isValue,!1);for(const attribute of node._attributeList)appendAttribute(copy,exports.clone(attribute,document));break;case NODE_TYPE.ATTRIBUTE_NODE:copy=document._createAttribute({namespace:node._namespace,namespacePrefix:node._namespacePrefix,localName:node._localName,value:node._value});break;case NODE_TYPE.TEXT_NODE:copy=document.createTextNode(node._data);break;case NODE_TYPE.CDATA_SECTION_NODE:copy=document.createCDATASection(node._data);break;case NODE_TYPE.COMMENT_NODE:copy=document.createComment(node._data);break;case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:copy=document.createProcessingInstruction(node.target,node._data);break;case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:copy=document.createDocumentFragment()}if(node[cloningSteps]&&node[cloningSteps](copy,node,document,cloneChildren),cloneChildren)for(const child of domSymbolTree.childrenIterator(node)){const childCopy=exports.clone(child,document,!0);copy._append(childCopy)}return copy},exports.listOfElementsWithClassNames=(classNames,root)=>{const classes=orderedSetParse(classNames);return 0===classes.size?HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>[]}):HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>{const isQuirksMode="BackCompat"===root._ownerDocument.compatMode;return domSymbolTree.treeToArray(root,{filter(node){if(node.nodeType!==NODE_TYPE.ELEMENT_NODE||node===root)return!1;const{classList:classList}=node;if(isQuirksMode){for(const className of classes)if(!classList.tokenSet.some((cur=>asciiCaseInsensitiveMatch(cur,className))))return!1}else for(const className of classes)if(!classList.tokenSet.contains(className))return!1;return!0}})}})},exports.listOfElementsWithQualifiedName=(qualifiedName,root)=>{if("*"===qualifiedName)return HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>domSymbolTree.treeToArray(root,{filter:node=>node.nodeType===NODE_TYPE.ELEMENT_NODE&&node!==root})});if("html"===root._ownerDocument._parsingMode){const lowerQualifiedName=asciiLowercase(qualifiedName);return HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>domSymbolTree.treeToArray(root,{filter:node=>node.nodeType===NODE_TYPE.ELEMENT_NODE&&node!==root&&(node._namespaceURI===HTML_NS?node._qualifiedName===lowerQualifiedName:node._qualifiedName===qualifiedName)})})}return HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>domSymbolTree.treeToArray(root,{filter:node=>node.nodeType===NODE_TYPE.ELEMENT_NODE&&node!==root&&node._qualifiedName===qualifiedName})})},exports.listOfElementsWithNamespaceAndLocalName=(namespace,localName,root)=>(""===namespace&&(namespace=null),"*"===namespace&&"*"===localName?HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>domSymbolTree.treeToArray(root,{filter:node=>node.nodeType===NODE_TYPE.ELEMENT_NODE&&node!==root})}):"*"===namespace?HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>domSymbolTree.treeToArray(root,{filter:node=>node.nodeType===NODE_TYPE.ELEMENT_NODE&&node!==root&&node._localName===localName})}):"*"===localName?HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>domSymbolTree.treeToArray(root,{filter:node=>node.nodeType===NODE_TYPE.ELEMENT_NODE&&node!==root&&node._namespaceURI===namespace})}):HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>domSymbolTree.treeToArray(root,{filter:node=>node.nodeType===NODE_TYPE.ELEMENT_NODE&&node!==root&&(node._localName===localName&&node._namespaceURI===namespace)})})),exports.convertNodesIntoNode=(document,nodes)=>{if(1===nodes.length)return"string"==typeof nodes[0]?document.createTextNode(nodes[0]):nodes[0];const fragment=document.createDocumentFragment();for(let i=0;i<nodes.length;i++)fragment._append("string"==typeof nodes[i]?document.createTextNode(nodes[i]):nodes[i]);return fragment},exports.locateNamespacePrefix=(element,namespace)=>{if(element._namespaceURI===namespace&&null!==element._prefix)return element._prefix;for(const attribute of element._attributeList)if("xmlns"===attribute._namespacePrefix&&attribute._value===namespace)return attribute._localName;return null!==element.parentElement?exports.locateNamespacePrefix(element.parentElement,namespace):null},exports.locateNamespace=(node,prefix)=>{switch(node.nodeType){case NODE_TYPE.ELEMENT_NODE:if(null!==node._namespaceURI&&node._prefix===prefix)return node._namespaceURI;if(null===prefix){for(const attribute of node._attributeList)if(attribute._namespace===XMLNS_NS&&null===attribute._namespacePrefix&&"xmlns"===attribute._localName)return""!==attribute._value?attribute._value:null}else for(const attribute of node._attributeList)if(attribute._namespace===XMLNS_NS&&"xmlns"===attribute._namespacePrefix&&attribute._localName===prefix)return""!==attribute._value?attribute._value:null;return null===node.parentElement?null:exports.locateNamespace(node.parentElement,prefix);case NODE_TYPE.DOCUMENT_NODE:return null===node.documentElement?null:exports.locateNamespace(node.documentElement,prefix);case NODE_TYPE.DOCUMENT_TYPE_NODE:case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:return null;case NODE_TYPE.ATTRIBUTE_NODE:return null===node._element?null:exports.locateNamespace(node._element,prefix);default:return null===node.parentElement?null:exports.locateNamespace(node.parentElement,prefix)}}},73355:function(module,__unused_webpack_exports,__webpack_require__){const TextImpl=__webpack_require__(68746).implementation,NODE_TYPE=__webpack_require__(51445);module.exports={implementation:class CDATASectionImpl extends TextImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this.nodeType=NODE_TYPE.CDATA_SECTION_NODE}}}},83562:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),{mixin:mixin}=__webpack_require__(54641),NodeImpl=__webpack_require__(16614).implementation,ChildNodeImpl=__webpack_require__(42769).implementation,NonDocumentTypeChildNodeImpl=__webpack_require__(95522).implementation,{TEXT_NODE:TEXT_NODE}=__webpack_require__(51445),{MUTATION_TYPE:MUTATION_TYPE,queueMutationRecord:queueMutationRecord}=__webpack_require__(1367);class CharacterDataImpl extends NodeImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._data=privateData.data}get data(){return this._data}set data(data){this.replaceData(0,this.length,data)}get length(){return this._data.length}substringData(offset,count){const{length:length}=this;if(offset>length)throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"]);return offset+count>length?this._data.slice(offset):this._data.slice(offset,offset+count)}appendData(data){this.replaceData(this.length,0,data)}insertData(offset,data){this.replaceData(offset,0,data)}deleteData(offset,count){this.replaceData(offset,count,"")}replaceData(offset,count,data){const{length:length}=this;if(offset>length)throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"]);offset+count>length&&(count=length-offset),queueMutationRecord(MUTATION_TYPE.CHARACTER_DATA,this,null,null,this._data,[],[],null,null);const start=this._data.slice(0,offset),end=this._data.slice(offset+count);this._data=start+data+end;for(const range of this._referencedRanges){const{_start:_start,_end:_end}=range;_start.node===this&&_start.offset>offset&&_start.offset<=offset+count&&range._setLiveRangeStart(this,offset),_end.node===this&&_end.offset>offset&&_end.offset<=offset+count&&range._setLiveRangeEnd(this,offset),_start.node===this&&_start.offset>offset+count&&range._setLiveRangeStart(this,_start.offset+data.length-count),_end.node===this&&_end.offset>offset+count&&range._setLiveRangeEnd(this,_end.offset+data.length-count)}this.nodeType===TEXT_NODE&&this.parentNode&&this.parentNode._childTextContentChangeSteps()}}mixin(CharacterDataImpl.prototype,NonDocumentTypeChildNodeImpl.prototype),mixin(CharacterDataImpl.prototype,ChildNodeImpl.prototype),module.exports={implementation:CharacterDataImpl}},42769:function(module,__unused_webpack_exports,__webpack_require__){const{convertNodesIntoNode:convertNodesIntoNode}=__webpack_require__(72878);module.exports={implementation:class ChildNodeImpl{remove(){this.parentNode&&this.parentNode._remove(this)}after(...nodes){const parent=this.parentNode;if(parent){let viableNextSibling=this.nextSibling,idx=viableNextSibling?nodes.indexOf(viableNextSibling):-1;for(;-1!==idx&&(viableNextSibling=viableNextSibling.nextSibling,viableNextSibling);)idx=nodes.indexOf(viableNextSibling);parent._preInsert(convertNodesIntoNode(this._ownerDocument,nodes),viableNextSibling)}}before(...nodes){const parent=this.parentNode;if(parent){let viablePreviousSibling=this.previousSibling,idx=viablePreviousSibling?nodes.indexOf(viablePreviousSibling):-1;for(;-1!==idx&&(viablePreviousSibling=viablePreviousSibling.previousSibling,viablePreviousSibling);)idx=nodes.indexOf(viablePreviousSibling);parent._preInsert(convertNodesIntoNode(this._ownerDocument,nodes),viablePreviousSibling?viablePreviousSibling.nextSibling:parent.firstChild)}}replaceWith(...nodes){const parent=this.parentNode;if(parent){let viableNextSibling=this.nextSibling,idx=viableNextSibling?nodes.indexOf(viableNextSibling):-1;for(;-1!==idx&&(viableNextSibling=viableNextSibling.nextSibling,viableNextSibling);)idx=nodes.indexOf(viableNextSibling);const node=convertNodesIntoNode(this._ownerDocument,nodes);this.parentNode===parent?parent._replace(node,this):parent._preInsert(node,viableNextSibling)}}}}},59941:function(module,__unused_webpack_exports,__webpack_require__){const CharacterDataImpl=__webpack_require__(83562).implementation,idlUtils=__webpack_require__(80421),NODE_TYPE=__webpack_require__(51445);module.exports={implementation:class CommentImpl extends CharacterDataImpl{constructor(globalObject,args,privateData){super(globalObject,args,{data:args[0],ownerDocument:idlUtils.implForWrapper(globalObject._document),...privateData}),this.nodeType=NODE_TYPE.COMMENT_NODE}}}},79220:function(module,__unused_webpack_exports,__webpack_require__){const validateNames=__webpack_require__(43013),{HTML_NS:HTML_NS,SVG_NS:SVG_NS}=__webpack_require__(65676),{createElement:createElement,internalCreateElementNSSteps:internalCreateElementNSSteps}=__webpack_require__(42018),DocumentType=__webpack_require__(6558),documents=__webpack_require__(29437);module.exports={implementation:class DOMImplementationImpl{constructor(globalObject,args,privateData){this._globalObject=globalObject,this._ownerDocument=privateData.ownerDocument}hasFeature(){return!0}createDocumentType(qualifiedName,publicId,systemId){return validateNames.qname(this._globalObject,qualifiedName),DocumentType.createImpl(this._globalObject,[],{ownerDocument:this._ownerDocument,name:qualifiedName,publicId:publicId,systemId:systemId})}createDocument(namespace,qualifiedName,doctype){let contentType="application/xml";namespace===HTML_NS?contentType="application/xhtml+xml":namespace===SVG_NS&&(contentType="image/svg+xml");const document=documents.createImpl(this._globalObject,{contentType:contentType,parsingMode:"xml",encoding:"UTF-8"});let element=null;return""!==qualifiedName&&(element=internalCreateElementNSSteps(document,namespace,qualifiedName,{})),null!==doctype&&document.appendChild(doctype),null!==element&&document.appendChild(element),document._origin=this._ownerDocument._origin,document}createHTMLDocument(title){const document=documents.createImpl(this._globalObject,{parsingMode:"html",encoding:"UTF-8"}),doctype=DocumentType.createImpl(this._globalObject,[],{ownerDocument:document,name:"html",publicId:"",systemId:""});document.appendChild(doctype);const htmlElement=createElement(document,"html",HTML_NS);document.appendChild(htmlElement);const headElement=createElement(document,"head",HTML_NS);if(htmlElement.appendChild(headElement),void 0!==title){const titleElement=createElement(document,"title",HTML_NS);headElement.appendChild(titleElement),titleElement.appendChild(document.createTextNode(title))}const bodyElement=createElement(document,"body",HTML_NS);return htmlElement.appendChild(bodyElement),document}}}},45442:function(__unused_webpack_module,exports,__webpack_require__){const idlUtils=__webpack_require__(80421),{setAttributeValue:setAttributeValue,removeAttributeByName:removeAttributeByName}=__webpack_require__(91742),validateName=__webpack_require__(43013).name,DOMException=__webpack_require__(69026),dataAttrRe=/^data-([^A-Z]*)$/;function attrCamelCase(name){return name.replace(/-([a-z])/g,((match,alpha)=>alpha.toUpperCase()))}function attrSnakeCase(name){return name.replace(/[A-Z]/g,(match=>`-${match.toLowerCase()}`))}exports.implementation=class DOMStringMapImpl{constructor(globalObject,args,privateData){this._globalObject=globalObject,this._element=privateData.element}get[idlUtils.supportedPropertyNames](){const result=new Set,{attributes:attributes}=this._element;for(let i=0;i<attributes.length;i++){const attr=attributes.item(i),matches=dataAttrRe.exec(attr.localName);matches&&result.add(attrCamelCase(matches[1]))}return result}[idlUtils.namedGet](name){const{attributes:attributes}=this._element;for(let i=0;i<attributes.length;i++){const attr=attributes.item(i),matches=dataAttrRe.exec(attr.localName);if(matches&&attrCamelCase(matches[1])===name)return attr.value}}[idlUtils.namedSetNew](name,value){if(/-[a-z]/.test(name))throw DOMException.create(this._globalObject,[`'${name}' is not a valid property name`,"SyntaxError"]);name=`data-${attrSnakeCase(name)}`,validateName(this._globalObject,name),setAttributeValue(this._element,name,value)}[idlUtils.namedSetExisting](name,value){this[idlUtils.namedSetNew](name,value)}[idlUtils.namedDelete](name){name=`data-${attrSnakeCase(name)}`,removeAttributeByName(this._element,name)}}},83860:function(__unused_webpack_module,exports,__webpack_require__){const DOMException=__webpack_require__(69026),OrderedSet=__webpack_require__(20251),{asciiLowercase:asciiLowercase}=__webpack_require__(27896),idlUtils=__webpack_require__(80421),{getAttributeValue:getAttributeValue,setAttributeValue:setAttributeValue,hasAttributeByName:hasAttributeByName}=__webpack_require__(91742);function validateTokens(globalObject,...tokens){for(const token of tokens)if(""===token)throw DOMException.create(globalObject,["The token provided must not be empty.","SyntaxError"]);for(const token of tokens)if(/[\t\n\f\r ]/.test(token))throw DOMException.create(globalObject,["The token provided contains HTML space characters, which are not valid in tokens.","InvalidCharacterError"])}class DOMTokenListImpl{constructor(globalObject,args,privateData){this._globalObject=globalObject,this._tokenSet=new OrderedSet,this._element=privateData.element,this._attributeLocalName=privateData.attributeLocalName,this._supportedTokens=privateData.supportedTokens,this._dirty=!0}attrModified(){this._dirty=!0}_syncWithElement(){if(!this._dirty)return;const val=getAttributeValue(this._element,this._attributeLocalName);null===val?this._tokenSet.empty():this._tokenSet=OrderedSet.parse(val),this._dirty=!1}_validationSteps(token){if(!this._supportedTokens)throw new TypeError(`${this._attributeLocalName} attribute has no supported tokens`);const lowerToken=asciiLowercase(token);return this._supportedTokens.has(lowerToken)}_updateSteps(){!hasAttributeByName(this._element,this._attributeLocalName)&&this._tokenSet.isEmpty()||setAttributeValue(this._element,this._attributeLocalName,this._tokenSet.serialize())}_serializeSteps(){return getAttributeValue(this._element,this._attributeLocalName)}get tokenSet(){return this._syncWithElement(),this._tokenSet}get length(){return this._syncWithElement(),this._tokenSet.size}get[idlUtils.supportedPropertyIndices](){return this._syncWithElement(),this._tokenSet.keys()}item(index){return this._syncWithElement(),index>=this._tokenSet.size?null:this._tokenSet.get(index)}contains(token){return this._syncWithElement(),this._tokenSet.contains(token)}add(...tokens){for(const token of tokens)validateTokens(this._globalObject,token);this._syncWithElement();for(const token of tokens)this._tokenSet.append(token);this._updateSteps()}remove(...tokens){for(const token of tokens)validateTokens(this._globalObject,token);this._syncWithElement(),this._tokenSet.remove(...tokens),this._updateSteps()}toggle(token,force){return validateTokens(this._globalObject,token),this._syncWithElement(),this._tokenSet.contains(token)?void 0!==force&&!1!==force||(this._tokenSet.remove(token),this._updateSteps(),!1):(void 0===force||!0===force)&&(this._tokenSet.append(token),this._updateSteps(),!0)}replace(token,newToken){return validateTokens(this._globalObject,token,newToken),this._syncWithElement(),!!this._tokenSet.contains(token)&&(this._tokenSet.replace(token,newToken),this._updateSteps(),!0)}supports(token){return this._validationSteps(token)}get value(){return this._serializeSteps()}set value(V){setAttributeValue(this._element,this._attributeLocalName,V)}}exports.implementation=DOMTokenListImpl},61531:function(module,__unused_webpack_exports,__webpack_require__){const{CookieJar:CookieJar}=__webpack_require__(47857),NodeImpl=__webpack_require__(16614).implementation,idlUtils=__webpack_require__(80421),NODE_TYPE=__webpack_require__(51445),{hasWeakRefs:hasWeakRefs,mixin:mixin,memoizeQuery:memoizeQuery}=__webpack_require__(54641),{firstChildWithLocalName:firstChildWithLocalName,firstChildWithLocalNames:firstChildWithLocalNames,firstDescendantWithLocalName:firstDescendantWithLocalName}=__webpack_require__(22537),whatwgURL=__webpack_require__(77101),StyleSheetList=__webpack_require__(98935),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),eventAccessors=__webpack_require__(90653),{asciiLowercase:asciiLowercase,stripAndCollapseASCIIWhitespace:stripAndCollapseASCIIWhitespace}=__webpack_require__(27896),{childTextContent:childTextContent}=__webpack_require__(75246),{HTML_NS:HTML_NS,SVG_NS:SVG_NS}=__webpack_require__(65676),DOMException=__webpack_require__(69026),{parseIntoDocument:parseIntoDocument}=__webpack_require__(63770),History=__webpack_require__(31162),Location=__webpack_require__(71566),HTMLCollection=__webpack_require__(76270),NodeList=__webpack_require__(42850),validateName=__webpack_require__(43013).name,{validateAndExtract:validateAndExtract}=__webpack_require__(43013),{fireAnEvent:fireAnEvent}=__webpack_require__(96799),{shadowIncludingInclusiveDescendantsIterator:shadowIncludingInclusiveDescendantsIterator}=__webpack_require__(96671),{enqueueCECallbackReaction:enqueueCECallbackReaction}=__webpack_require__(31720),{createElement:createElement,internalCreateElementNSSteps:internalCreateElementNSSteps}=__webpack_require__(42018),IterableWeakSet=__webpack_require__(73234),DocumentOrShadowRootImpl=__webpack_require__(72500).implementation,GlobalEventHandlersImpl=__webpack_require__(76115).implementation,NonElementParentNodeImpl=__webpack_require__(73719).implementation,ParentNodeImpl=__webpack_require__(67253).implementation,{clone:clone,listOfElementsWithQualifiedName:listOfElementsWithQualifiedName,listOfElementsWithNamespaceAndLocalName:listOfElementsWithNamespaceAndLocalName,listOfElementsWithClassNames:listOfElementsWithClassNames}=__webpack_require__(72878),generatedAttr=__webpack_require__(97499),Comment=__webpack_require__(56445),ProcessingInstruction=__webpack_require__(69699),CDATASection=__webpack_require__(66019),Text=__webpack_require__(86112),DocumentFragment=__webpack_require__(35968),DOMImplementation=__webpack_require__(94992),TreeWalker=__webpack_require__(6263),NodeIterator=__webpack_require__(19763),ShadowRoot=__webpack_require__(63171),Range=__webpack_require__(74318),documents=__webpack_require__(29437),CustomEvent=__webpack_require__(25355),ErrorEvent=__webpack_require__(27195),Event=__webpack_require__(6776),FocusEvent=__webpack_require__(81950),HashChangeEvent=__webpack_require__(14876),KeyboardEvent=__webpack_require__(46355),MessageEvent=__webpack_require__(25970),MouseEvent=__webpack_require__(89057),PopStateEvent=__webpack_require__(63763),ProgressEvent=__webpack_require__(49363),TouchEvent=__webpack_require__(83443),UIEvent=__webpack_require__(9973),RequestManager=__webpack_require__(78589),AsyncResourceQueue=__webpack_require__(62497),ResourceQueue=__webpack_require__(39269),PerDocumentResourceLoader=__webpack_require__(90416);function clearChildNodes(node){for(let child=domSymbolTree.firstChild(node);child;child=domSymbolTree.firstChild(node))node.removeChild(child)}function pad(number){return number<10?"0"+number:number}const eventInterfaceTable={customevent:CustomEvent,errorevent:ErrorEvent,event:Event,events:Event,focusevent:FocusEvent,hashchangeevent:HashChangeEvent,htmlevents:Event,keyboardevent:KeyboardEvent,messageevent:MessageEvent,mouseevent:MouseEvent,mouseevents:MouseEvent,popstateevent:PopStateEvent,progressevent:ProgressEvent,svgevents:Event,touchevent:TouchEvent,uievent:UIEvent,uievents:UIEvent};class DocumentImpl extends NodeImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._initGlobalEvents(),this._ownerDocument=this,this.nodeType=NODE_TYPE.DOCUMENT_NODE,privateData.options||(privateData.options={}),privateData.options.parsingMode||(privateData.options.parsingMode="xml"),privateData.options.encoding||(privateData.options.encoding="UTF-8"),privateData.options.contentType||(privateData.options.contentType="xml"===privateData.options.parsingMode?"application/xml":"text/html"),this._parsingMode=privateData.options.parsingMode,this._implementation=DOMImplementation.createImpl(this._globalObject,[],{ownerDocument:this}),this._defaultView=privateData.options.defaultView||null,this._global=privateData.options.global,this._ids=Object.create(null),this._attached=!0,this._currentScript=null,this._pageShowingFlag=!1,this._cookieJar=privateData.options.cookieJar,this._parseOptions=privateData.options.parseOptions||{},this._scriptingDisabled=privateData.options.scriptingDisabled,void 0===this._cookieJar&&(this._cookieJar=new CookieJar(null,{looseMode:!0})),this._scriptingDisabled&&(this._parseOptions.scriptingEnabled=!1),this.contentType=privateData.options.contentType,this._encoding=privateData.options.encoding;const urlOption=void 0===privateData.options.url?"about:blank":privateData.options.url,parsed=whatwgURL.parseURL(urlOption);if(null===parsed)throw new TypeError(`Could not parse "${urlOption}" as a URL`);this._URL=parsed,this._origin="about:blank"===urlOption&&privateData.options.parentOrigin?privateData.options.parentOrigin:whatwgURL.serializeURLOrigin(this._URL),this._location=Location.createImpl(this._globalObject,[],{relevantDocument:this}),this._history=History.createImpl(this._globalObject,[],{window:this._defaultView,document:this,actAsIfLocationReloadCalled:()=>this._location.reload()}),this._workingNodeIterators=hasWeakRefs?new IterableWeakSet:[],this._referrer=privateData.options.referrer||"",this._lastModified=function toLastModifiedString(date){return pad(date.getMonth()+1)+"/"+pad(date.getDate())+"/"+date.getFullYear()+" "+pad(date.getHours())+":"+pad(date.getMinutes())+":"+pad(date.getSeconds())}(privateData.options.lastModified||new Date),this._asyncQueue=new AsyncResourceQueue,this._queue=new ResourceQueue({asyncQueue:this._asyncQueue,paused:!1}),this._deferQueue=new ResourceQueue({paused:!0}),this._requestManager=new RequestManager,this._currentDocumentReadiness=privateData.options.readyState||"loading",this._lastFocusedElement=null,this._resourceLoader=new PerDocumentResourceLoader(this),this._latestEntry=null,this._throwOnDynamicMarkupInsertionCounter=0}_getTheParent(event){return"load"!==event.type&&this._defaultView?idlUtils.implForWrapper(this._defaultView):null}get compatMode(){return"xml"===this._parsingMode||this.doctype?"CSS1Compat":"BackCompat"}get charset(){return this._encoding}get characterSet(){return this._encoding}get inputEncoding(){return this._encoding}get doctype(){for(const childNode of domSymbolTree.childrenIterator(this))if(childNode.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE)return childNode;return null}get URL(){return whatwgURL.serializeURL(this._URL)}get documentURI(){return whatwgURL.serializeURL(this._URL)}get location(){return this._defaultView?this._location:null}get documentElement(){for(const childNode of domSymbolTree.childrenIterator(this))if(childNode.nodeType===NODE_TYPE.ELEMENT_NODE)return childNode;return null}get implementation(){return this._implementation}set implementation(implementation){this._implementation=implementation}get defaultView(){return this._defaultView}get currentScript(){return this._currentScript}get readyState(){return this._currentDocumentReadiness}set readyState(state){this._currentDocumentReadiness=state,fireAnEvent("readystatechange",this)}hasFocus(){return Boolean(this._lastFocusedElement)}_descendantRemoved(parent,child){"STYLE"===child.tagName&&this.styleSheets._remove(child.sheet),super._descendantRemoved(parent,child)}write(...args){let text="";for(let i=0;i<args.length;++i)text+=args[i];if("xml"===this._parsingMode)throw DOMException.create(this._globalObject,["Cannot use document.write on XML documents","InvalidStateError"]);if(this._throwOnDynamicMarkupInsertionCounter>0)throw DOMException.create(this._globalObject,["Cannot use document.write while a custom element upgrades","InvalidStateError"]);if(this._writeAfterElement){const tempDiv=this.createElement("div");tempDiv.innerHTML=text;let child=tempDiv.firstChild,previous=this._writeAfterElement;const parent=this._writeAfterElement.parentNode;for(;child;){const node=child;child=child.nextSibling,node._isMovingDueToDocumentWrite=!0,parent.insertBefore(node,previous.nextSibling),node._isMovingDueToDocumentWrite=!1,previous=node}}else if("loading"===this.readyState)if(this.lastChild){let node=this;for(;node.lastChild&&node.lastChild.nodeType===NODE_TYPE.ELEMENT_NODE;)node=node.lastChild;node.innerHTML=text}else clearChildNodes(this),parseIntoDocument(text,this);else text&&(clearChildNodes(this),parseIntoDocument(text,this))}writeln(...args){this.write(...args,"\n")}getElementById(id){if(!this._ids[id])return null;return this._ids[id].find((candidate=>{let root=candidate;for(;domSymbolTree.parent(root);)root=domSymbolTree.parent(root);return root===this}))||null}get referrer(){return this._referrer||""}get lastModified(){return this._lastModified}get images(){return this.getElementsByTagName("IMG")}get embeds(){return this.getElementsByTagName("EMBED")}get plugins(){return this.embeds}get links(){return HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>domSymbolTree.treeToArray(this,{filter:node=>("a"===node._localName||"area"===node._localName)&&node.hasAttributeNS(null,"href")&&node._namespaceURI===HTML_NS})})}get forms(){return this.getElementsByTagName("FORM")}get scripts(){return this.getElementsByTagName("SCRIPT")}get anchors(){return HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>domSymbolTree.treeToArray(this,{filter:node=>"a"===node._localName&&node.hasAttributeNS(null,"name")&&node._namespaceURI===HTML_NS})})}get applets(){return HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>[]})}open(){let child=domSymbolTree.firstChild(this);for(;child;)this.removeChild(child),child=domSymbolTree.firstChild(this);return this._modified(),this}close(noQueue){if(noQueue)return this.readyState="complete",fireAnEvent("DOMContentLoaded",this,void 0,{bubbles:!0}),void fireAnEvent("load",this);this._queue.resume();const dummyPromise=Promise.resolve();this._queue.push(dummyPromise,(()=>{const doc=this;function dispatchEvent(){doc.readyState="interactive",fireAnEvent("DOMContentLoaded",doc,void 0,{bubbles:!0})}return new Promise((resolve=>{if(!this._deferQueue.tail)return dispatchEvent(),void resolve();this._deferQueue.setListener((()=>{dispatchEvent(),resolve()})),this._deferQueue.resume()}))}),null),this._queue.push(dummyPromise,(()=>{const doc=this;function dispatchEvent(){doc.readyState="complete",fireAnEvent("load",doc)}return new Promise((resolve=>{if(0===this._asyncQueue.count())return dispatchEvent(),void resolve();this._asyncQueue.setListener((()=>{dispatchEvent(),resolve()}))}))}),null,!0)}getElementsByName(elementName){return NodeList.createImpl(this._globalObject,[],{element:this,query:()=>domSymbolTree.treeToArray(this,{filter:node=>node.getAttributeNS&&node.getAttributeNS(null,"name")===elementName})})}get title(){const{documentElement:documentElement}=this;let value="";if(documentElement&&"svg"===documentElement._localName){const svgTitleElement=firstChildWithLocalName(documentElement,"title",SVG_NS);svgTitleElement&&(value=childTextContent(svgTitleElement))}else{const titleElement=firstDescendantWithLocalName(this,"title");titleElement&&(value=childTextContent(titleElement))}return value=stripAndCollapseASCIIWhitespace(value),value}set title(value){const{documentElement:documentElement}=this;let element;if(documentElement&&"svg"===documentElement._localName)element=firstChildWithLocalName(documentElement,"title",SVG_NS),element||(element=this.createElementNS(SVG_NS,"title"),this._insert(element,documentElement.firstChild)),element.textContent=value;else if(documentElement&&documentElement._namespaceURI===HTML_NS){const titleElement=firstDescendantWithLocalName(this,"title"),headElement=this.head;if(null===titleElement&&null===headElement)return;null!==titleElement?element=titleElement:(element=this.createElement("title"),headElement._append(element)),element.textContent=value}}get dir(){return this.documentElement?this.documentElement.dir:""}set dir(value){this.documentElement&&(this.documentElement.dir=value)}get head(){return this.documentElement?firstChildWithLocalName(this.documentElement,"head"):null}get body(){const{documentElement:documentElement}=this;return documentElement&&"html"===documentElement._localName&&documentElement._namespaceURI===HTML_NS?firstChildWithLocalNames(this.documentElement,new Set(["body","frameset"])):null}set body(value){if(null===value||value._namespaceURI!==HTML_NS||"body"!==value._localName&&"frameset"!==value._localName)throw DOMException.create(this._globalObject,["Cannot set the body to null or a non-body/frameset element","HierarchyRequestError"]);const bodyElement=this.body;if(value===bodyElement)return;if(null!==bodyElement)return void bodyElement.parentNode._replace(value,bodyElement);const{documentElement:documentElement}=this;if(null===documentElement)throw DOMException.create(this._globalObject,["Cannot set the body when there is no document element","HierarchyRequestError"]);documentElement._append(value)}_runPreRemovingSteps(oldNode){oldNode===this.activeElement&&(this._lastFocusedElement=this.body);for(const activeNodeIterator of this._workingNodeIterators)activeNodeIterator._preRemovingSteps(oldNode)}createEvent(type){const typeLower=type.toLowerCase(),eventWrapper=eventInterfaceTable[typeLower]||null;if(!eventWrapper)throw DOMException.create(this._globalObject,['The provided event type ("'+type+'") is invalid',"NotSupportedError"]);const impl=eventWrapper.createImpl(this._globalObject,[""]);return impl._initializedFlag=!1,impl}createRange(){return Range.createImpl(this._globalObject,[],{start:{node:this,offset:0},end:{node:this,offset:0}})}createProcessingInstruction(target,data){if(validateName(this._globalObject,target),data.includes("?>"))throw DOMException.create(this._globalObject,['Processing instruction data cannot contain the string "?>"',"InvalidCharacterError"]);return ProcessingInstruction.createImpl(this._globalObject,[],{ownerDocument:this,target:target,data:data})}createCDATASection(data){if("html"===this._parsingMode)throw DOMException.create(this._globalObject,["Cannot create CDATA sections in HTML documents","NotSupportedError"]);if(data.includes("]]>"))throw DOMException.create(this._globalObject,['CDATA section data cannot contain the string "]]>"',"InvalidCharacterError"]);return CDATASection.createImpl(this._globalObject,[],{ownerDocument:this,data:data})}createTextNode(data){return Text.createImpl(this._globalObject,[],{ownerDocument:this,data:data})}createComment(data){return Comment.createImpl(this._globalObject,[],{ownerDocument:this,data:data})}createElement(localName,options){validateName(this._globalObject,localName),"html"===this._parsingMode&&(localName=asciiLowercase(localName));let isValue=null;options&&void 0!==options.is&&(isValue=options.is);const namespace="html"===this._parsingMode||"application/xhtml+xml"===this.contentType?HTML_NS:null;return createElement(this,localName,namespace,null,isValue,!0)}createElementNS(namespace,qualifiedName,options){return internalCreateElementNSSteps(this,namespace,qualifiedName,options)}createDocumentFragment(){return DocumentFragment.createImpl(this._globalObject,[],{ownerDocument:this})}createAttribute(localName){return validateName(this._globalObject,localName),"html"===this._parsingMode&&(localName=asciiLowercase(localName)),this._createAttribute({localName:localName})}createAttributeNS(namespace,name){void 0===namespace&&(namespace=null),namespace=null!==namespace?String(namespace):namespace;const extracted=validateAndExtract(this._globalObject,namespace,name);return this._createAttribute({namespace:extracted.namespace,namespacePrefix:extracted.prefix,localName:extracted.localName})}_createAttribute({localName:localName,value:value,namespace:namespace,namespacePrefix:namespacePrefix}){return generatedAttr.createImpl(this._globalObject,[],{localName:localName,value:value,namespace:namespace,namespacePrefix:namespacePrefix,ownerDocument:this})}createTreeWalker(root,whatToShow,filter){return TreeWalker.createImpl(this._globalObject,[],{root:root,whatToShow:whatToShow,filter:filter})}createNodeIterator(root,whatToShow,filter){const nodeIterator=NodeIterator.createImpl(this._globalObject,[],{root:root,whatToShow:whatToShow,filter:filter});if(hasWeakRefs)this._workingNodeIterators.add(nodeIterator);else for(this._workingNodeIterators.push(nodeIterator);this._workingNodeIterators.length>10;){this._workingNodeIterators.shift()._working=!1}return nodeIterator}importNode(node,deep){if(node.nodeType===NODE_TYPE.DOCUMENT_NODE)throw DOMException.create(this._globalObject,["Cannot import a document node","NotSupportedError"]);if(ShadowRoot.isImpl(node))throw DOMException.create(this._globalObject,["Cannot adopt a shadow root","NotSupportedError"]);return clone(node,this,deep)}adoptNode(node){if(node.nodeType===NODE_TYPE.DOCUMENT_NODE)throw DOMException.create(this._globalObject,["Cannot adopt a document node","NotSupportedError"]);if(ShadowRoot.isImpl(node))throw DOMException.create(this._globalObject,["Cannot adopt a shadow root","HierarchyRequestError"]);return this._adoptNode(node),node}_adoptNode(node){const newDocument=this,oldDocument=node._ownerDocument,parent=domSymbolTree.parent(node);if(parent&&parent._remove(node),oldDocument!==newDocument){for(const inclusiveDescendant of shadowIncludingInclusiveDescendantsIterator(node))inclusiveDescendant._ownerDocument=newDocument;for(const inclusiveDescendant of shadowIncludingInclusiveDescendantsIterator(node))"custom"===inclusiveDescendant._ceState&&enqueueCECallbackReaction(inclusiveDescendant,"adoptedCallback",[idlUtils.wrapperForImpl(oldDocument),idlUtils.wrapperForImpl(newDocument)]);for(const inclusiveDescendant of shadowIncludingInclusiveDescendantsIterator(node))inclusiveDescendant._adoptingSteps&&inclusiveDescendant._adoptingSteps(oldDocument)}}get cookie(){return this._cookieJar.getCookieStringSync(this.URL,{http:!1})}set cookie(cookieStr){cookieStr=String(cookieStr),this._cookieJar.setCookieSync(cookieStr,this.URL,{http:!1,ignoreError:!0})}clear(){}captureEvents(){}releaseEvents(){}get styleSheets(){return this._styleSheets||(this._styleSheets=StyleSheetList.createImpl(this._globalObject)),this._styleSheets}get hidden(){return!this._defaultView||!this._defaultView._pretendToBeVisual}get visibilityState(){return this._defaultView&&this._defaultView._pretendToBeVisual?"visible":"prerender"}getSelection(){return this._defaultView?this._defaultView._selection:null}_cloneDocument(){const copy=documents.createImpl(this._globalObject,{contentType:this.contentType,encoding:this._encoding,parsingMode:this._parsingMode});return copy._URL=this._URL,copy._origin=this._origin,copy}}eventAccessors.createEventAccessor(DocumentImpl.prototype,"readystatechange"),mixin(DocumentImpl.prototype,DocumentOrShadowRootImpl.prototype),mixin(DocumentImpl.prototype,GlobalEventHandlersImpl.prototype),mixin(DocumentImpl.prototype,NonElementParentNodeImpl.prototype),mixin(DocumentImpl.prototype,ParentNodeImpl.prototype),DocumentImpl.prototype.getElementsByTagName=memoizeQuery((function(qualifiedName){return listOfElementsWithQualifiedName(qualifiedName,this)})),DocumentImpl.prototype.getElementsByTagNameNS=memoizeQuery((function(namespace,localName){return listOfElementsWithNamespaceAndLocalName(namespace,localName,this)})),DocumentImpl.prototype.getElementsByClassName=memoizeQuery((function getElementsByClassName(classNames){return listOfElementsWithClassNames(classNames,this)})),module.exports={implementation:DocumentImpl}},34059:function(module,__unused_webpack_exports,__webpack_require__){const{mixin:mixin}=__webpack_require__(54641),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),NODE_TYPE=__webpack_require__(51445),NodeImpl=__webpack_require__(16614).implementation,NonElementParentNodeImpl=__webpack_require__(73719).implementation,ParentNodeImpl=__webpack_require__(67253).implementation,idlUtils=__webpack_require__(80421);class DocumentFragmentImpl extends NodeImpl{constructor(globalObject,args,privateData){super(globalObject,args,{ownerDocument:idlUtils.implForWrapper(globalObject._document),...privateData});const{host:host}=privateData;this._host=host,this.nodeType=NODE_TYPE.DOCUMENT_FRAGMENT_NODE}getElementById(id){if(""===id)return null;for(const descendant of domSymbolTree.treeIterator(this))if(descendant.nodeType===NODE_TYPE.ELEMENT_NODE&&descendant.getAttributeNS(null,"id")===id)return descendant;return null}}mixin(DocumentFragmentImpl.prototype,NonElementParentNodeImpl.prototype),mixin(DocumentFragmentImpl.prototype,ParentNodeImpl.prototype),module.exports={implementation:DocumentFragmentImpl}},72500:function(module,__unused_webpack_exports,__webpack_require__){const NODE_TYPE=__webpack_require__(51445),{nodeRoot:nodeRoot}=__webpack_require__(23809),{retarget:retarget}=__webpack_require__(96671);module.exports={implementation:class DocumentOrShadowRootImpl{get activeElement(){let candidate=this._ownerDocument._lastFocusedElement||this._ownerDocument.body;return candidate?(candidate=retarget(candidate,this),nodeRoot(candidate)!==this?null:candidate.nodeType!==NODE_TYPE.DOCUMENT_NODE?candidate:null!==candidate.body?candidate.body:candidate.documentElement):null}}}},24815:function(module,__unused_webpack_exports,__webpack_require__){const{mixin:mixin}=__webpack_require__(54641),NodeImpl=__webpack_require__(16614).implementation,ChildNodeImpl=__webpack_require__(42769).implementation,NODE_TYPE=__webpack_require__(51445);class DocumentTypeImpl extends NodeImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this.nodeType=NODE_TYPE.DOCUMENT_TYPE_NODE,this.name=privateData.name,this.publicId=privateData.publicId,this.systemId=privateData.systemId}}mixin(DocumentTypeImpl.prototype,ChildNodeImpl.prototype),module.exports={implementation:DocumentTypeImpl}},54067:function(module,__unused_webpack_exports,__webpack_require__){const{addNwsapi:addNwsapi}=__webpack_require__(14526),{HTML_NS:HTML_NS}=__webpack_require__(65676),{mixin:mixin,memoizeQuery:memoizeQuery}=__webpack_require__(54641),idlUtils=__webpack_require__(80421),NodeImpl=__webpack_require__(16614).implementation,ParentNodeImpl=__webpack_require__(67253).implementation,ChildNodeImpl=__webpack_require__(42769).implementation,attributes=__webpack_require__(91742),namedPropertiesWindow=__webpack_require__(55111),NODE_TYPE=__webpack_require__(51445),{parseFragment:parseFragment}=__webpack_require__(63770),InnerHTMLImpl=__webpack_require__(51525).i,{fragmentSerialization:fragmentSerialization}=__webpack_require__(72481),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),DOMException=__webpack_require__(69026),DOMTokenList=__webpack_require__(33858),NamedNodeMap=__webpack_require__(14970),validateNames=__webpack_require__(43013),{asciiLowercase:asciiLowercase,asciiUppercase:asciiUppercase}=__webpack_require__(27896),{listOfElementsWithQualifiedName:listOfElementsWithQualifiedName,listOfElementsWithNamespaceAndLocalName:listOfElementsWithNamespaceAndLocalName,listOfElementsWithClassNames:listOfElementsWithClassNames}=__webpack_require__(72878),SlotableMixinImpl=__webpack_require__(63166).implementation,NonDocumentTypeChildNode=__webpack_require__(95522).implementation,ShadowRoot=__webpack_require__(63171),Text=__webpack_require__(86112),{isValidHostElementName:isValidHostElementName}=__webpack_require__(96671),{isValidCustomElementName:isValidCustomElementName,lookupCEDefinition:lookupCEDefinition}=__webpack_require__(31720);function attachId(id,elm,doc){id&&elm&&doc&&(doc._ids[id]||(doc._ids[id]=[]),doc._ids[id].push(elm))}function detachId(id,elm,doc){if(id&&elm&&doc&&doc._ids&&doc._ids[id]){const elms=doc._ids[id];for(let i=0;i<elms.length;i++)elms[i]===elm&&(elms.splice(i,1),--i);0===elms.length&&delete doc._ids[id]}}class ElementImpl extends NodeImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._initSlotableMixin(),this._namespaceURI=privateData.namespace,this._prefix=privateData.prefix,this._localName=privateData.localName,this._ceState=privateData.ceState,this._ceDefinition=privateData.ceDefinition,this._isValue=privateData.isValue,this._shadowRoot=null,this._ceReactionQueue=[],this.nodeType=NODE_TYPE.ELEMENT_NODE,this.scrollTop=0,this.scrollLeft=0,this._attributeList=[],this._attributesByNameMap=new Map,this._attributes=NamedNodeMap.createImpl(this._globalObject,[],{element:this}),this._cachedTagName=null}_attach(){namedPropertiesWindow.nodeAttachedToDocument(this);const id=this.getAttributeNS(null,"id");id&&attachId(id,this,this._ownerDocument),this._cachedTagName=null,super._attach()}_detach(){super._detach(),namedPropertiesWindow.nodeDetachedFromDocument(this);const id=this.getAttributeNS(null,"id");id&&detachId(id,this,this._ownerDocument)}_attrModified(name,value,oldValue){if(this._modified(),namedPropertiesWindow.elementAttributeModified(this,name,value,oldValue),"id"===name&&this._attached){const doc=this._ownerDocument;detachId(oldValue,this,doc),attachId(value,this,doc)}"class"===name&&void 0!==this._classList&&this._classList.attrModified(),this._attrModifiedSlotableMixin(name,value,oldValue)}get namespaceURI(){return this._namespaceURI}get prefix(){return this._prefix}get localName(){return this._localName}get _qualifiedName(){return null!==this._prefix?this._prefix+":"+this._localName:this._localName}get tagName(){return null===this._cachedTagName&&(this.namespaceURI===HTML_NS&&"html"===this._ownerDocument._parsingMode?this._cachedTagName=asciiUppercase(this._qualifiedName):this._cachedTagName=this._qualifiedName),this._cachedTagName}get attributes(){return this._attributes}get outerHTML(){return fragmentSerialization({childNodesForSerializing:[this],_ownerDocument:this._ownerDocument},{requireWellFormed:!0,globalObject:this._globalObject})}set outerHTML(markup){let parent=domSymbolTree.parent(this);const document=this._ownerDocument;if(!parent)return;if(parent.nodeType===NODE_TYPE.DOCUMENT_NODE)throw DOMException.create(this._globalObject,["Modifications are not allowed for this document","NoModificationAllowedError"]);parent.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE&&(parent=document.createElementNS(HTML_NS,"body"));const fragment=parseFragment(markup,parent);domSymbolTree.parent(this)._replace(fragment,this)}get classList(){return void 0===this._classList&&(this._classList=DOMTokenList.createImpl(this._globalObject,[],{element:this,attributeLocalName:"class"})),this._classList}hasAttributes(){return attributes.hasAttributes(this)}getAttributeNames(){return attributes.attributeNames(this)}getAttribute(name){const attr=attributes.getAttributeByName(this,name);return attr?attr._value:null}getAttributeNS(namespace,localName){const attr=attributes.getAttributeByNameNS(this,namespace,localName);return attr?attr._value:null}setAttribute(name,value){validateNames.name(this._globalObject,name),this._namespaceURI===HTML_NS&&"html"===this._ownerDocument._parsingMode&&(name=asciiLowercase(name));const attribute=attributes.getAttributeByName(this,name);if(null!==attribute)attributes.changeAttribute(this,attribute,value);else{const newAttr=this._ownerDocument._createAttribute({localName:name,value:value});attributes.appendAttribute(this,newAttr)}}setAttributeNS(namespace,name,value){const extracted=validateNames.validateAndExtract(this._globalObject,namespace,name);value=`${value}`,attributes.setAttributeValue(this,extracted.localName,value,extracted.prefix,extracted.namespace)}removeAttribute(name){attributes.removeAttributeByName(this,name)}removeAttributeNS(namespace,localName){attributes.removeAttributeByNameNS(this,namespace,localName)}toggleAttribute(qualifiedName,force){validateNames.name(this._globalObject,qualifiedName),this._namespaceURI===HTML_NS&&"html"===this._ownerDocument._parsingMode&&(qualifiedName=asciiLowercase(qualifiedName));if(null===attributes.getAttributeByName(this,qualifiedName)){if(void 0===force||!0===force){const newAttr=this._ownerDocument._createAttribute({localName:qualifiedName,value:""});return attributes.appendAttribute(this,newAttr),!0}return!1}return void 0!==force&&!1!==force||(attributes.removeAttributeByName(this,qualifiedName),!1)}hasAttribute(name){return this._namespaceURI===HTML_NS&&"html"===this._ownerDocument._parsingMode&&(name=asciiLowercase(name)),attributes.hasAttributeByName(this,name)}hasAttributeNS(namespace,localName){return""===namespace&&(namespace=null),attributes.hasAttributeByNameNS(this,namespace,localName)}getAttributeNode(name){return attributes.getAttributeByName(this,name)}getAttributeNodeNS(namespace,localName){return attributes.getAttributeByNameNS(this,namespace,localName)}setAttributeNode(attr){return attributes.setAttribute(this,attr)}setAttributeNodeNS(attr){return attributes.setAttribute(this,attr)}removeAttributeNode(attr){if(!attributes.hasAttribute(this,attr))throw DOMException.create(this._globalObject,["Tried to remove an attribute that was not present","NotFoundError"]);return attributes.removeAttribute(this,attr),attr}getBoundingClientRect(){return{x:0,y:0,bottom:0,height:0,left:0,right:0,top:0,width:0}}getClientRects(){return[]}get scrollWidth(){return 0}get scrollHeight(){return 0}get clientTop(){return 0}get clientLeft(){return 0}get clientWidth(){return 0}get clientHeight(){return 0}attachShadow(init){const{_ownerDocument:_ownerDocument,_namespaceURI:_namespaceURI,_localName:_localName,_isValue:_isValue}=this;if(this.namespaceURI!==HTML_NS)throw DOMException.create(this._globalObject,["This element does not support attachShadow. This element is not part of the HTML namespace.","NotSupportedError"]);if(!isValidHostElementName(_localName)&&!isValidCustomElementName(_localName)){const message="This element does not support attachShadow. This element is not a custom element nor a standard element supporting a shadow root.";throw DOMException.create(this._globalObject,[message,"NotSupportedError"])}if(isValidCustomElementName(_localName)||_isValue){const definition=lookupCEDefinition(_ownerDocument,_namespaceURI,_localName,_isValue);if(definition&&definition.disableShadow)throw DOMException.create(this._globalObject,["Shadow root cannot be create on a custom element with disabled shadow","NotSupportedError"])}if(null!==this._shadowRoot)throw DOMException.create(this._globalObject,["Shadow root cannot be created on a host which already hosts a shadow tree.","NotSupportedError"]);const shadow=ShadowRoot.createImpl(this._globalObject,[],{ownerDocument:this.ownerDocument,mode:init.mode,host:this});return this._shadowRoot=shadow,shadow}get shadowRoot(){const shadow=this._shadowRoot;return null===shadow||"closed"===shadow.mode?null:shadow}_insertAdjacent(element,where,node){if("beforebegin"===(where=asciiLowercase(where)))return null===element.parentNode?null:element.parentNode._preInsert(node,element);if("afterbegin"===where)return element._preInsert(node,element.firstChild);if("beforeend"===where)return element._preInsert(node,null);if("afterend"===where)return null===element.parentNode?null:element.parentNode._preInsert(node,element.nextSibling);throw DOMException.create(this._globalObject,['Must provide one of "beforebegin", "afterbegin", "beforeend", or "afterend".',"SyntaxError"])}insertAdjacentElement(where,element){return this._insertAdjacent(this,where,element)}insertAdjacentText(where,data){const text=Text.createImpl(this._globalObject,[],{data:data,ownerDocument:this._ownerDocument});this._insertAdjacent(this,where,text)}insertAdjacentHTML(position,text){let context;switch(position=asciiLowercase(position)){case"beforebegin":case"afterend":if(context=this.parentNode,null===context||context.nodeType===NODE_TYPE.DOCUMENT_NODE)throw DOMException.create(this._globalObject,["Cannot insert HTML adjacent to parent-less nodes or children of document nodes.","NoModificationAllowedError"]);break;case"afterbegin":case"beforeend":context=this;break;default:throw DOMException.create(this._globalObject,['Must provide one of "beforebegin", "afterbegin", "beforeend", or "afterend".',"SyntaxError"])}(context.nodeType!==NODE_TYPE.ELEMENT_NODE||"html"===context._ownerDocument._parsingMode&&"html"===context._localName&&context._namespaceURI===HTML_NS)&&(context=context._ownerDocument.createElement("body"));const fragment=parseFragment(text,context);switch(position){case"beforebegin":this.parentNode._insert(fragment,this);break;case"afterbegin":this._insert(fragment,this.firstChild);break;case"beforeend":this._append(fragment);break;case"afterend":this.parentNode._insert(fragment,this.nextSibling)}}closest(selectors){return addNwsapi(this).closest(selectors,idlUtils.wrapperForImpl(this))}}mixin(ElementImpl.prototype,NonDocumentTypeChildNode.prototype),mixin(ElementImpl.prototype,ParentNodeImpl.prototype),mixin(ElementImpl.prototype,ChildNodeImpl.prototype),mixin(ElementImpl.prototype,SlotableMixinImpl.prototype),mixin(ElementImpl.prototype,InnerHTMLImpl.prototype),ElementImpl.prototype.getElementsByTagName=memoizeQuery((function(qualifiedName){return listOfElementsWithQualifiedName(qualifiedName,this)})),ElementImpl.prototype.getElementsByTagNameNS=memoizeQuery((function(namespace,localName){return listOfElementsWithNamespaceAndLocalName(namespace,localName,this)})),ElementImpl.prototype.getElementsByClassName=memoizeQuery((function(classNames){return listOfElementsWithClassNames(classNames,this)})),ElementImpl.prototype.matches=function(selectors){return addNwsapi(this).match(selectors,idlUtils.wrapperForImpl(this))},ElementImpl.prototype.webkitMatchesSelector=ElementImpl.prototype.matches,module.exports={implementation:ElementImpl}},92770:function(module,__unused_webpack_exports,__webpack_require__){const cssstyle=__webpack_require__(75063);module.exports={implementation:class ElementCSSInlineStyle{_initElementCSSInlineStyle(){this._settingCssText=!1,this._style=new cssstyle.CSSStyleDeclaration((newCssText=>{this._settingCssText||(this._settingCssText=!0,this.setAttributeNS(null,"style",newCssText),this._settingCssText=!1)}))}get style(){return this._style}set style(value){this._style.cssText=value}}}},76115:function(module,__unused_webpack_exports,__webpack_require__){const{appendHandler:appendHandler,createEventAccessor:createEventAccessor}=__webpack_require__(90653),events=new Set(["abort","autocomplete","autocompleteerror","blur","cancel","canplay","canplaythrough","change","click","close","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","error","focus","input","invalid","keydown","keypress","keyup","load","loadeddata","loadedmetadata","loadstart","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","wheel","pause","play","playing","progress","ratechange","reset","resize","scroll","securitypolicyviolation","seeked","seeking","select","sort","stalled","submit","suspend","timeupdate","toggle","volumechange","waiting"]);class GlobalEventHandlersImpl{_initGlobalEvents(){this._registeredHandlers=new Set,this._eventHandlers=Object.create(null)}_getEventHandlerTarget(){return this}_getEventHandlerFor(event){const target=this._getEventHandlerTarget(event);return target?target._eventHandlers[event]:null}_setEventHandlerFor(event,handler){const target=this._getEventHandlerTarget(event);target&&(target._registeredHandlers.has(event)||null===handler||(target._registeredHandlers.add(event),appendHandler(target,event)),target._eventHandlers[event]=handler)}_globalEventChanged(event){const propName="on"+event;if(!(propName in this))return;if("dangerously"!==("_runScripts"in this?this._runScripts:(this._ownerDocument._defaultView||{})._runScripts))return;const val=this.getAttributeNS(null,propName),handler=null===val?null:{body:val};this._setEventHandlerFor(event,handler)}}for(const event of events)createEventAccessor(GlobalEventHandlersImpl.prototype,event);module.exports={implementation:GlobalEventHandlersImpl}},26994:function(module,__unused_webpack_exports,__webpack_require__){const{mixin:mixin}=__webpack_require__(54641),DOMTokenList=__webpack_require__(33858),HTMLElementImpl=__webpack_require__(74289).implementation,HTMLHyperlinkElementUtilsImpl=__webpack_require__(61680).i;class HTMLAnchorElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._htmlHyperlinkElementUtilsSetup(),this._hasActivationBehavior=!0}_activationBehavior(){this._followAHyperlink()}get relList(){return void 0===this._relList&&(this._relList=DOMTokenList.createImpl(this._globalObject,[],{element:this,attributeLocalName:"rel"})),this._relList}get text(){return this.textContent}set text(v){this.textContent=v}_attrModified(name,value,oldValue){super._attrModified(name,value,oldValue),"rel"===name&&void 0!==this._relList&&this._relList.attrModified()}}mixin(HTMLAnchorElementImpl.prototype,HTMLHyperlinkElementUtilsImpl.prototype),module.exports={implementation:HTMLAnchorElementImpl}},49348:function(module,__unused_webpack_exports,__webpack_require__){const{mixin:mixin}=__webpack_require__(54641),DOMTokenList=__webpack_require__(33858),HTMLElementImpl=__webpack_require__(74289).implementation,HTMLHyperlinkElementUtilsImpl=__webpack_require__(61680).i;class HTMLAreaElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._htmlHyperlinkElementUtilsSetup(),this._hasActivationBehavior=!0}_activationBehavior(){this._followAHyperlink()}get relList(){return void 0===this._relList&&(this._relList=DOMTokenList.createImpl(this._globalObject,[],{element:this,attributeLocalName:"rel"})),this._relList}_attrModified(name,value,oldValue){super._attrModified(name,value,oldValue),"rel"===name&&void 0!==this._relList&&this._relList.attrModified()}}mixin(HTMLAreaElementImpl.prototype,HTMLHyperlinkElementUtilsImpl.prototype),module.exports={implementation:HTMLAreaElementImpl}},63523:function(module,__unused_webpack_exports,__webpack_require__){const HTMLMediaElementImpl=__webpack_require__(83502).implementation;module.exports={implementation:class HTMLAudioElementImpl extends HTMLMediaElementImpl{}}},92825:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLBRElementImpl extends HTMLElementImpl{}}},43107:function(module,__unused_webpack_exports,__webpack_require__){const whatwgURL=__webpack_require__(77101),HTMLElementImpl=__webpack_require__(74289).implementation,{fallbackBaseURL:fallbackBaseURL}=__webpack_require__(33282);module.exports={implementation:class HTMLBaseElementImpl extends HTMLElementImpl{get href(){const document=this._ownerDocument,url=this.hasAttributeNS(null,"href")?this.getAttributeNS(null,"href"):"",parsed=whatwgURL.parseURL(url,{baseURL:fallbackBaseURL(document)});return null===parsed?url:whatwgURL.serializeURL(parsed)}set href(value){this.setAttributeNS(null,"href",value)}}}},27407:function(module,__unused_webpack_exports,__webpack_require__){const{mixin:mixin}=__webpack_require__(54641),HTMLElementImpl=__webpack_require__(74289).implementation,WindowEventHandlersImpl=__webpack_require__(89756).implementation;class HTMLBodyElementImpl extends HTMLElementImpl{constructor(...args){super(...args),this._proxyWindowEventsToWindow()}}mixin(HTMLBodyElementImpl.prototype,WindowEventHandlersImpl.prototype),module.exports={implementation:HTMLBodyElementImpl}},36497:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation,DefaultConstraintValidationImpl=__webpack_require__(77006).i,{mixin:mixin}=__webpack_require__(54641),{isDisabled:isDisabled,formOwner:formOwner,getLabelsForLabelable:getLabelsForLabelable}=__webpack_require__(8860),{asciiLowercase:asciiLowercase}=__webpack_require__(27896);class HTMLButtonElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._customValidityErrorMessage="",this._labels=null,this._hasActivationBehavior=!0}_activationBehavior(){const{form:form}=this;form&&!isDisabled(this)&&("submit"===this.type&&form._doRequestSubmit(this),"reset"===this.type&&form._doReset())}_getValue(){const valueAttr=this.getAttributeNS(null,"value");return null===valueAttr?"":valueAttr}get labels(){return getLabelsForLabelable(this)}get form(){return formOwner(this)}get type(){const typeAttr=asciiLowercase(this.getAttributeNS(null,"type")||"");switch(typeAttr){case"submit":case"reset":case"button":return typeAttr;default:return"submit"}}set type(v){switch(v=asciiLowercase(String(v))){case"submit":case"reset":case"button":this.setAttributeNS(null,"type",v);break;default:this.setAttributeNS(null,"type","submit")}}_barredFromConstraintValidationSpecialization(){return"reset"===this.type||"button"===this.type}}mixin(HTMLButtonElementImpl.prototype,DefaultConstraintValidationImpl.prototype),module.exports={implementation:HTMLButtonElementImpl}},52570:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation,notImplemented=__webpack_require__(30566),idlUtils=__webpack_require__(80421),{Canvas:Canvas}=__webpack_require__(54641);class HTMLCanvasElementImpl extends HTMLElementImpl{_attrModified(name,value,oldValue){!this._canvas||"width"!==name&&"height"!==name||(this._canvas[name]=parseInt(value)),super._attrModified(name,value,oldValue)}_getCanvas(){return Canvas&&!this._canvas&&(this._canvas=Canvas.createCanvas(this.width,this.height)),this._canvas}getContext(contextId){const canvas=this._getCanvas();return canvas?(this._context||(this._context=canvas.getContext(contextId)||null,this._context&&(this._context.canvas=idlUtils.wrapperForImpl(this),wrapNodeCanvasMethod(this._context,"createPattern"),wrapNodeCanvasMethod(this._context,"drawImage"))),this._context):(notImplemented("HTMLCanvasElement.prototype.getContext (without installing the canvas npm package)",this._ownerDocument._defaultView),null)}toDataURL(...args){const canvas=this._getCanvas();return canvas?canvas.toDataURL(...args):(notImplemented("HTMLCanvasElement.prototype.toDataURL (without installing the canvas npm package)",this._ownerDocument._defaultView),null)}toBlob(callback,type,qualityArgument){const window=this._ownerDocument._defaultView,canvas=this._getCanvas();if(canvas){const options={};switch(type){case"image/jpg":case"image/jpeg":type="image/jpeg",options.quality=qualityArgument;break;default:type="image/png"}canvas.toBuffer(((err,buff)=>{if(err)throw err;callback(new window.Blob([buff],{type:type}))}),type,options)}else notImplemented("HTMLCanvasElement.prototype.toBlob (without installing the canvas npm package)",window)}get width(){const parsed=parseInt(this.getAttributeNS(null,"width"));return isNaN(parsed)||parsed<0||parsed>2147483647?300:parsed}set width(v){v=v>2147483647?300:v,this.setAttributeNS(null,"width",String(v))}get height(){const parsed=parseInt(this.getAttributeNS(null,"height"));return isNaN(parsed)||parsed<0||parsed>2147483647?150:parsed}set height(v){v=v>2147483647?150:v,this.setAttributeNS(null,"height",String(v))}}function wrapNodeCanvasMethod(ctx,name){const prev=ctx[name];ctx[name]=function(image,...rest){const impl=idlUtils.implForWrapper(image);return impl&&(impl instanceof HTMLCanvasElementImpl&&!impl._canvas&&impl._getCanvas(),image=impl._image||impl._canvas),prev.call(ctx,image,...rest)}}module.exports={implementation:HTMLCanvasElementImpl}},19745:function(__unused_webpack_module,exports,__webpack_require__){const idlUtils=__webpack_require__(80421),{HTML_NS:HTML_NS}=__webpack_require__(65676);exports.implementation=class HTMLCollectionImpl{constructor(globalObject,args,privateData){this._list=[],this._version=-1,this._element=privateData.element,this._query=privateData.query,this._globalObject=globalObject,this._update()}get length(){return this._update(),this._list.length}item(index){return this._update(),this._list[index]||null}namedItem(key){if(""===key)return null;this._update();for(const element of this._list){if(element.getAttributeNS(null,"id")===key)return element;if(element._namespaceURI===HTML_NS){if(element.getAttributeNS(null,"name")===key)return element}}return null}_update(){if(this._version<this._element._version){const snapshot=this._query();for(let i=0;i<snapshot.length;i++)this._list[i]=snapshot[i];this._list.length=snapshot.length,this._version=this._element._version}}get[idlUtils.supportedPropertyIndices](){return this._update(),this._list.keys()}get[idlUtils.supportedPropertyNames](){this._update();const result=new Set;for(const element of this._list){const id=element.getAttributeNS(null,"id");if(id&&result.add(id),element._namespaceURI===HTML_NS){const name=element.getAttributeNS(null,"name");name&&result.add(name)}}return result}[Symbol.iterator](){return this._update(),this._list[Symbol.iterator]()}entries(){return this._update(),this._list.entries()}filter(...args){return this._update(),this._list.filter(...args)}map(...args){return this._update(),this._list.map(...args)}indexOf(...args){return this._update(),this._list.indexOf(...args)}}},9722:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLDListElementImpl extends HTMLElementImpl{}}},16401:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLDataElementImpl extends HTMLElementImpl{}}},4068:function(module,__unused_webpack_exports,__webpack_require__){const HTMLCollection=__webpack_require__(76270),HTMLElementImpl=__webpack_require__(74289).implementation,{descendantsByLocalName:descendantsByLocalName}=__webpack_require__(22537);module.exports={implementation:class HTMLDataListElementImpl extends HTMLElementImpl{get options(){return HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>descendantsByLocalName(this,"option")})}}}},35841:function(module,__unused_webpack_exports,__webpack_require__){const{fireAnEvent:fireAnEvent}=__webpack_require__(96799),HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLDetailsElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._taskQueue=null}_dispatchToggleEvent(){this._taskQueue=null,fireAnEvent("toggle",this)}_attrModified(name,value,oldValue){super._attrModified(name,value,oldValue),"open"===name&&null===this._taskQueue&&(value!==oldValue&&null!==value&&null===oldValue||null===value&&null!==oldValue)&&(this._taskQueue=setTimeout(this._dispatchToggleEvent.bind(this),0))}}}},224:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLDialogElementImpl extends HTMLElementImpl{}}},63008:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLDirectoryElementImpl extends HTMLElementImpl{}}},20920:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLDivElementImpl extends HTMLElementImpl{}}},74289:function(module,__unused_webpack_exports,__webpack_require__){const{mixin:mixin}=__webpack_require__(54641),ElementImpl=__webpack_require__(54067).implementation,MouseEvent=__webpack_require__(89057),ElementCSSInlineStyleImpl=__webpack_require__(92770).implementation,GlobalEventHandlersImpl=__webpack_require__(76115).implementation,HTMLOrSVGElementImpl=__webpack_require__(71886).i,{firstChildWithLocalName:firstChildWithLocalName}=__webpack_require__(22537),{isDisabled:isDisabled}=__webpack_require__(8860),{fireAnEvent:fireAnEvent}=__webpack_require__(96799),{asciiLowercase:asciiLowercase}=__webpack_require__(27896);class HTMLElementImpl extends ElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._initHTMLOrSVGElement(),this._initElementCSSInlineStyle(),this._initGlobalEvents(),this._clickInProgress=!1,this._hasActivationBehavior="summary"===this._localName}_activationBehavior(){const parent=this.parentNode;parent&&"details"===parent._localName&&this===firstChildWithLocalName(parent,"summary")&&(parent.hasAttributeNS(null,"open")?parent.removeAttributeNS(null,"open"):parent.setAttributeNS(null,"open",""))}get translate(){const translateAttr=this.getAttributeNS(null,"translate"),translateAttrString=asciiLowercase(translateAttr||"");return!!("yes"===translateAttrString||translateAttr&&""===translateAttrString)||"no"!==translateAttrString&&(this===this.ownerDocument.documentElement||this.parentElement&&this.parentElement.translate)}set translate(value){!0===value?this.setAttributeNS(null,"translate","yes"):this.setAttributeNS(null,"translate","no")}click(){isDisabled(this)||this._clickInProgress||(this._clickInProgress=!0,fireAnEvent("click",this,MouseEvent,{bubbles:!0,cancelable:!0,composed:!0,isTrusted:!1,view:this.ownerDocument.defaultView}),this._clickInProgress=!1)}get draggable(){const attributeValue=asciiLowercase(this.getAttributeNS(null,"draggable")||"");return"true"===attributeValue||"false"!==attributeValue&&("img"===this._localName||"a"===this._localName&&this.hasAttributeNS(null,"href"))}set draggable(value){this.setAttributeNS(null,"draggable",String(value))}get dir(){let dirValue=this.getAttributeNS(null,"dir");return null!==dirValue&&(dirValue=dirValue.toLowerCase(),["ltr","rtl","auto"].includes(dirValue))?dirValue:""}set dir(value){this.setAttributeNS(null,"dir",value)}_attrModified(name,value,oldValue){"style"!==name||value===oldValue||this._settingCssText?name.startsWith("on")&&this._globalEventChanged(name.substring(2)):(this._settingCssText=!0,this._style.cssText=value,this._settingCssText=!1),super._attrModified(name,value,oldValue)}get offsetParent(){return null}get offsetTop(){return 0}get offsetLeft(){return 0}get offsetWidth(){return 0}get offsetHeight(){return 0}}mixin(HTMLElementImpl.prototype,ElementCSSInlineStyleImpl.prototype),mixin(HTMLElementImpl.prototype,GlobalEventHandlersImpl.prototype),mixin(HTMLElementImpl.prototype,HTMLOrSVGElementImpl.prototype),module.exports={implementation:HTMLElementImpl}},16030:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLEmbedElementImpl extends HTMLElementImpl{}}},93234:function(module,__unused_webpack_exports,__webpack_require__){const HTMLCollection=__webpack_require__(76270),HTMLElementImpl=__webpack_require__(74289).implementation,DefaultConstraintValidationImpl=__webpack_require__(77006).i,{formOwner:formOwner}=__webpack_require__(8860),{mixin:mixin}=__webpack_require__(54641),{descendantsByLocalNames:descendantsByLocalNames}=__webpack_require__(22537),listedElements=new Set(["button","fieldset","input","object","output","select","textarea"]);class HTMLFieldSetElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._customValidityErrorMessage=""}get elements(){return HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>descendantsByLocalNames(this,listedElements)})}get form(){return formOwner(this)}get type(){return"fieldset"}_barredFromConstraintValidationSpecialization(){return!0}}mixin(HTMLFieldSetElementImpl.prototype,DefaultConstraintValidationImpl.prototype),module.exports={implementation:HTMLFieldSetElementImpl}},24276:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLFontElementImpl extends HTMLElementImpl{}}},73895:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),{serializeURL:serializeURL}=__webpack_require__(77101),HTMLElementImpl=__webpack_require__(74289).implementation,{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{fireAnEvent:fireAnEvent}=__webpack_require__(96799),{formOwner:formOwner,isListed:isListed,isSubmittable:isSubmittable,isSubmitButton:isSubmitButton}=__webpack_require__(8860),HTMLCollection=__webpack_require__(76270),notImplemented=__webpack_require__(30566),{parseURLToResultingURLRecord:parseURLToResultingURLRecord}=__webpack_require__(33282),encTypes=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]),methods=new Set(["get","post","dialog"]),constraintValidationPositiveResult=Symbol("positive"),constraintValidationNegativeResult=Symbol("negative");module.exports={implementation:class HTMLFormElementImpl extends HTMLElementImpl{_descendantAdded(parent,child){const form=this;for(const el of domSymbolTree.treeIterator(child))"function"==typeof el._changedFormOwner&&el._changedFormOwner(form);super._descendantAdded(parent,child)}_descendantRemoved(parent,child){for(const el of domSymbolTree.treeIterator(child))"function"==typeof el._changedFormOwner&&el._changedFormOwner(null);super._descendantRemoved(parent,child)}_getElementNodes(){return domSymbolTree.treeToArray(this.getRootNode({}),{filter:node=>!(!isListed(node)||"input"===node._localName&&"image"===node.type)&&formOwner(node)===this})}get elements(){return HTMLCollection.createImpl(this._globalObject,[],{element:this.getRootNode({}),query:()=>this._getElementNodes()})}get length(){return this.elements.length}_doRequestSubmit(submitter){this.isConnected&&this.requestSubmit(submitter)}submit(){fireAnEvent("submit",this,void 0,{bubbles:!0,cancelable:!0})&¬Implemented("HTMLFormElement.prototype.submit",this._ownerDocument._defaultView)}requestSubmit(submitter){if(void 0!==submitter){if(!isSubmitButton(submitter))throw new TypeError("The specified element is not a submit button");if(submitter.form!==this)throw DOMException.create(this._globalObject,["The specified element is not owned by this form element","NotFoundError"])}(this.hasAttributeNS(null,"novalidate")||this.reportValidity())&&fireAnEvent("submit",this,void 0,{bubbles:!0,cancelable:!0})&¬Implemented("HTMLFormElement.prototype.requestSubmit",this._ownerDocument._defaultView)}_doReset(){this.isConnected&&this.reset()}reset(){if(fireAnEvent("reset",this,void 0,{bubbles:!0,cancelable:!0}))for(const el of this.elements)"function"==typeof el._formReset&&el._formReset()}get method(){let method=this.getAttributeNS(null,"method");return method&&(method=method.toLowerCase()),methods.has(method)?method:"get"}set method(V){this.setAttributeNS(null,"method",V)}get enctype(){let type=this.getAttributeNS(null,"enctype");return type&&(type=type.toLowerCase()),encTypes.has(type)?type:"application/x-www-form-urlencoded"}set enctype(V){this.setAttributeNS(null,"enctype",V)}get action(){const attributeValue=this.getAttributeNS(null,"action");if(null===attributeValue||""===attributeValue)return this._ownerDocument.URL;const urlRecord=parseURLToResultingURLRecord(attributeValue,this._ownerDocument);return null===urlRecord?attributeValue:serializeURL(urlRecord)}set action(V){this.setAttributeNS(null,"action",V)}checkValidity(){return this._staticallyValidateConstraints().result===constraintValidationPositiveResult}reportValidity(){return this.checkValidity()}_staticallyValidateConstraints(){const controls=[];for(const el of this.elements)el.form===this&&isSubmittable(el)&&controls.push(el);const invalidControls=[];for(const control of controls)control._isCandidateForConstraintValidation()&&!control._satisfiesConstraints()&&invalidControls.push(control);if(0===invalidControls.length)return{result:constraintValidationPositiveResult};const unhandledInvalidControls=[];for(const invalidControl of invalidControls){fireAnEvent("invalid",invalidControl,void 0,{cancelable:!0})&&unhandledInvalidControls.push(invalidControl)}return{result:constraintValidationNegativeResult,unhandledInvalidControls:unhandledInvalidControls}}}}},23994:function(module,__unused_webpack_exports,__webpack_require__){const MIMEType=__webpack_require__(36766),whatwgEncoding=__webpack_require__(81479),{parseURL:parseURL,serializeURL:serializeURL}=__webpack_require__(77101),sniffHTMLEncoding=__webpack_require__(19274),window=__webpack_require__(61170),HTMLElementImpl=__webpack_require__(74289).implementation,{evaluateJavaScriptURL:evaluateJavaScriptURL}=__webpack_require__(9017),{parseIntoDocument:parseIntoDocument}=__webpack_require__(63770),{documentBaseURL:documentBaseURL}=__webpack_require__(33282),{fireAnEvent:fireAnEvent}=__webpack_require__(96799),{getAttributeValue:getAttributeValue}=__webpack_require__(91742),idlUtils=__webpack_require__(80421);function fireLoadEvent(document,frame,attaching){if(attaching)return void fireAnEvent("load",frame);const dummyPromise=Promise.resolve();document._queue.push(dummyPromise,(function onLoad(){fireAnEvent("load",frame)}))}function loadFrame(frame,attaching){frame._contentDocument&&(frame._contentDocument._defaultView?frame._contentDocument._defaultView.close():delete frame._contentDocument);const parentDoc=frame._ownerDocument;let url;const srcAttribute=getAttributeValue(frame,"src");url=""===srcAttribute?parseURL("about:blank"):parseURL(srcAttribute,{baseURL:documentBaseURL(parentDoc)||void 0})||parseURL("about:blank");const serializedURL=serializeURL(url),wnd=window.createWindow({parsingMode:"html",url:"javascript"===url.scheme?parentDoc.URL:serializedURL,parentOrigin:parentDoc._origin,resourceLoader:parentDoc._defaultView._resourceLoader,referrer:parentDoc.URL,cookieJar:parentDoc._cookieJar,pool:parentDoc._pool,encoding:parentDoc._encoding,runScripts:parentDoc._defaultView._runScripts,commonForOrigin:parentDoc._defaultView._commonForOrigin,pretendToBeVisual:parentDoc._defaultView._pretendToBeVisual}),contentDoc=frame._contentDocument=idlUtils.implForWrapper(wnd._document),parent=parentDoc._defaultView,contentWindow=contentDoc._defaultView;contentWindow._parent=parent,contentWindow._top=parent.top,contentWindow._frameElement=frame,contentWindow._virtualConsole=parent._virtualConsole,parentDoc._origin===contentDoc._origin&&contentWindow._currentOriginData.windowsInSameOrigin.push(contentWindow);const noQueue=function canDispatchEvents(frame,attaching){return!!attaching&&0===Object.keys(frame._eventListeners).length}(frame,attaching);if("about:blank"===serializedURL)parseIntoDocument("<html><head></head><body></body></html>",contentDoc),contentDoc.close(noQueue),noQueue?fireLoadEvent(parentDoc,frame,noQueue):contentDoc.addEventListener("load",(()=>{fireLoadEvent(parentDoc,frame)}));else if("javascript"===url.scheme){parseIntoDocument("<html><head></head><body></body></html>",contentDoc),contentDoc.close(noQueue);const result=evaluateJavaScriptURL(contentWindow,url);"string"==typeof result&&(contentDoc.body.textContent=result),noQueue?fireLoadEvent(parentDoc,frame,noQueue):contentDoc.addEventListener("load",(()=>{fireLoadEvent(parentDoc,frame)}))}else!function fetchFrame(serializedURL,frame,document,contentDoc){const resourceLoader=document._resourceLoader;let request;request=resourceLoader.fetch(serializedURL,{element:frame,onLoad:function onFrameLoaded(data){const sniffOptions={defaultEncoding:document._encoding};if(request.response){const contentType=MIMEType.parse(request.response.headers["content-type"])||new MIMEType("text/plain");sniffOptions.transportLayerEncodingLabel=contentType.parameters.get("charset"),contentType&&(contentType.isXML()&&(contentDoc._parsingMode="xml"),contentDoc.contentType=contentType.essence)}const encoding=sniffHTMLEncoding(data,sniffOptions);contentDoc._encoding=encoding;const html=whatwgEncoding.decode(data,contentDoc._encoding);try{parseIntoDocument(html,contentDoc)}catch(error){const{DOMException:DOMException}=contentDoc._globalObject;if("DOMException"!==error.constructor.name||error.code!==DOMException.SYNTAX_ERR||"xml"!==contentDoc._parsingMode)throw error;{const element=contentDoc.createElementNS("http://www.mozilla.org/newlayout/xml/parsererror.xml","parsererror");for(element.textContent=error.message;contentDoc.childNodes.length>0;)contentDoc.removeChild(contentDoc.lastChild);contentDoc.appendChild(element)}}return contentDoc.close(),new Promise(((resolve,reject)=>{contentDoc.addEventListener("load",resolve),contentDoc.addEventListener("error",reject)}))}})}(serializedURL,frame,parentDoc,contentDoc)}function refreshAccessors(document){const{_defaultView:_defaultView}=document;if(!_defaultView)return;const frames=document.querySelectorAll("iframe,frame");for(let i=0;i<_defaultView._length;++i)delete _defaultView[i];_defaultView._length=frames.length,Array.prototype.forEach.call(frames,((frame,i)=>{Object.defineProperty(_defaultView,i,{configurable:!0,enumerable:!0,get:()=>frame.contentWindow})}))}module.exports={implementation:class HTMLFrameElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._contentDocument=null}_attrModified(name,value,oldVal){super._attrModified(name,value,oldVal),"src"===name&&this._attached&&this._ownerDocument._defaultView&&loadFrame(this)}_detach(){super._detach(),this.contentWindow&&this.contentWindow.close(),refreshAccessors(this._ownerDocument)}_attach(){super._attach(),this._ownerDocument._defaultView&&loadFrame(this,!0),refreshAccessors(this._ownerDocument)}get contentDocument(){return this._contentDocument}get contentWindow(){return this.contentDocument?this.contentDocument._defaultView:null}}}},33753:function(module,__unused_webpack_exports,__webpack_require__){const{mixin:mixin}=__webpack_require__(54641),HTMLElementImpl=__webpack_require__(74289).implementation,WindowEventHandlersImpl=__webpack_require__(89756).implementation;class HTMLFrameSetElementImpl extends HTMLElementImpl{constructor(...args){super(...args),this._proxyWindowEventsToWindow()}}mixin(HTMLFrameSetElementImpl.prototype,WindowEventHandlersImpl.prototype),module.exports={implementation:HTMLFrameSetElementImpl}},6036:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLHRElementImpl extends HTMLElementImpl{}}},29039:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLHeadElementImpl extends HTMLElementImpl{}}},9013:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLHeadingElementImpl extends HTMLElementImpl{}}},43834:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLHtmlElementImpl extends HTMLElementImpl{}}},61680:function(__unused_webpack_module,exports,__webpack_require__){const whatwgURL=__webpack_require__(77101),{parseURLToResultingURLRecord:parseURLToResultingURLRecord}=__webpack_require__(33282),{asciiCaseInsensitiveMatch:asciiCaseInsensitiveMatch}=__webpack_require__(27896),{navigate:navigate}=__webpack_require__(9017);function reinitializeURL(hheu){null!==hheu.url&&"blob"===hheu.url.scheme&&hheu.url.cannotBeABaseURL||function setTheURL(hheu){const href=hheu.getAttributeNS(null,"href");if(null===href)return void(hheu.url=null);const parsed=parseURLToResultingURLRecord(href,hheu._ownerDocument);hheu.url=null===parsed?null:parsed}(hheu)}function updateHref(hheu){hheu.setAttributeNS(null,"href",whatwgURL.serializeURL(hheu.url))}exports.i=class HTMLHyperlinkElementUtilsImpl{_htmlHyperlinkElementUtilsSetup(){this.url=null}_cannotNavigate(){return"a"!==this._localName&&!this.isConnected}_getAnElementsTarget(){if(this.hasAttributeNS(null,"target"))return this.getAttributeNS(null,"target");const baseEl=this._ownerDocument.querySelector("base[target]");return baseEl?baseEl.getAttributeNS(null,"target"):""}_chooseABrowsingContext(name,current){let chosen=null;return""===name||asciiCaseInsensitiveMatch(name,"_self")?chosen=current:asciiCaseInsensitiveMatch(name,"_parent")?chosen=current.parent:asciiCaseInsensitiveMatch(name,"_top")?chosen=current.top:asciiCaseInsensitiveMatch(name,"_blank"),chosen}_followAHyperlink(){if(this._cannotNavigate())return;const source=this._ownerDocument._defaultView;let targetAttributeValue="";"a"!==this._localName&&"area"!==this._localName||(targetAttributeValue=this._getAnElementsTarget());const noopener=this.relList.contains("noreferrer")||this.relList.contains("noopener"),target=this._chooseABrowsingContext(targetAttributeValue,source,noopener);if(null===target)return;const url=parseURLToResultingURLRecord(this.href,this._ownerDocument);null!==url&&setTimeout((()=>{navigate(target,url,{})}),0)}toString(){return this.href}get href(){reinitializeURL(this);const{url:url}=this;if(null===url){const href=this.getAttributeNS(null,"href");return null===href?"":href}return whatwgURL.serializeURL(url)}set href(v){this.setAttributeNS(null,"href",v)}get origin(){return reinitializeURL(this),null===this.url?"":whatwgURL.serializeURLOrigin(this.url)}get protocol(){return reinitializeURL(this),null===this.url?":":this.url.scheme+":"}set protocol(v){reinitializeURL(this),null!==this.url&&(whatwgURL.basicURLParse(v+":",{url:this.url,stateOverride:"scheme start"}),updateHref(this))}get username(){return reinitializeURL(this),null===this.url?"":this.url.username}set username(v){reinitializeURL(this);const{url:url}=this;null===url||null===url.host||""===url.host||url.cannotBeABaseURL||"file"===url.scheme||(whatwgURL.setTheUsername(url,v),updateHref(this))}get password(){reinitializeURL(this);const{url:url}=this;return null===url?"":url.password}set password(v){reinitializeURL(this);const{url:url}=this;null===url||null===url.host||""===url.host||url.cannotBeABaseURL||"file"===url.scheme||(whatwgURL.setThePassword(url,v),updateHref(this))}get host(){reinitializeURL(this);const{url:url}=this;return null===url||null===url.host?"":null===url.port?whatwgURL.serializeHost(url.host):whatwgURL.serializeHost(url.host)+":"+whatwgURL.serializeInteger(url.port)}set host(v){reinitializeURL(this);const{url:url}=this;null===url||url.cannotBeABaseURL||(whatwgURL.basicURLParse(v,{url:url,stateOverride:"host"}),updateHref(this))}get hostname(){reinitializeURL(this);const{url:url}=this;return null===url||null===url.host?"":whatwgURL.serializeHost(url.host)}set hostname(v){reinitializeURL(this);const{url:url}=this;null===url||url.cannotBeABaseURL||(whatwgURL.basicURLParse(v,{url:url,stateOverride:"hostname"}),updateHref(this))}get port(){reinitializeURL(this);const{url:url}=this;return null===url||null===url.port?"":whatwgURL.serializeInteger(url.port)}set port(v){reinitializeURL(this);const{url:url}=this;null===url||null===url.host||""===url.host||url.cannotBeABaseURL||"file"===url.scheme||(""===v?url.port=null:whatwgURL.basicURLParse(v,{url:url,stateOverride:"port"}),updateHref(this))}get pathname(){reinitializeURL(this);const{url:url}=this;return null===url?"":url.cannotBeABaseURL?url.path[0]:"/"+url.path.join("/")}set pathname(v){reinitializeURL(this);const{url:url}=this;null===url||url.cannotBeABaseURL||(url.path=[],whatwgURL.basicURLParse(v,{url:url,stateOverride:"path start"}),updateHref(this))}get search(){reinitializeURL(this);const{url:url}=this;return null===url||null===url.query||""===url.query?"":"?"+url.query}set search(v){reinitializeURL(this);const{url:url}=this;if(null!==url){if(""===v)url.query=null;else{const input="?"===v[0]?v.substring(1):v;url.query="",whatwgURL.basicURLParse(input,{url:url,stateOverride:"query",encodingOverride:this._ownerDocument.charset})}updateHref(this)}}get hash(){reinitializeURL(this);const{url:url}=this;return null===url||null===url.fragment||""===url.fragment?"":"#"+url.fragment}set hash(v){reinitializeURL(this);const{url:url}=this;if(null!==url){if(""===v)url.fragment=null;else{const input="#"===v[0]?v.substring(1):v;url.fragment="",whatwgURL.basicURLParse(input,{url:url,stateOverride:"fragment"})}updateHref(this)}}}},22025:function(module,__unused_webpack_exports,__webpack_require__){const HTMLFrameElementImpl=__webpack_require__(23994).implementation;module.exports={implementation:class HTMLIFrameElementImpl extends HTMLFrameElementImpl{}}},16040:function(module,__unused_webpack_exports,__webpack_require__){const conversions=__webpack_require__(10993),{serializeURL:serializeURL}=__webpack_require__(77101),HTMLElementImpl=__webpack_require__(74289).implementation,{Canvas:Canvas}=__webpack_require__(54641),{parseURLToResultingURLRecord:parseURLToResultingURLRecord}=__webpack_require__(33282);module.exports={implementation:class HTMLImageElementImpl extends HTMLElementImpl{constructor(...args){super(...args),this._currentRequestState="unavailable"}_attrModified(name,value,oldVal){"src"!==name&&("srcset"!==name&&"width"!==name&&"sizes"!==name||value===oldVal)||this._updateTheImageData(),super._attrModified(name,value,oldVal)}get _accept(){return"image/png,image/*;q=0.8,*/*;q=0.5"}get height(){return this.hasAttributeNS(null,"height")?conversions["unsigned long"](this.getAttributeNS(null,"height")):this.naturalHeight}set height(V){this.setAttributeNS(null,"height",String(V))}get width(){return this.hasAttributeNS(null,"width")?conversions["unsigned long"](this.getAttributeNS(null,"width")):this.naturalWidth}set width(V){this.setAttributeNS(null,"width",String(V))}get naturalHeight(){return this._image?this._image.naturalHeight:0}get naturalWidth(){return this._image?this._image.naturalWidth:0}get complete(){const srcAttributeValue=this.getAttributeNS(null,"src");return null===srcAttributeValue||""===srcAttributeValue||"broken"===this._currentRequestState||"completely available"===this._currentRequestState}get currentSrc(){return this._currentSrc||""}_updateTheImageData(){const document=this._ownerDocument;if(!document._defaultView)return;if(!Canvas)return;this._image||(this._image=new Canvas.Image),this._currentSrc=null,this._currentRequestState="unavailable";const srcAttributeValue=this.getAttributeNS(null,"src");let urlString=null;if(null!==srcAttributeValue&&""!==srcAttributeValue){const urlRecord=parseURLToResultingURLRecord(srcAttributeValue,this._ownerDocument);if(null===urlRecord)return;urlString=serializeURL(urlRecord)}if(null!==urlString){const resourceLoader=document._resourceLoader;let request;const onLoadImage=data=>{const{response:response}=request;if(response&&void 0!==response.statusCode&&200!==response.statusCode)throw new Error("Status code: "+response.statusCode);let error=null;if(this._image.onerror=function(err){error=err},this._image.src=data,error)throw new Error(error);this._currentSrc=srcAttributeValue,this._currentRequestState="completely available"};request=resourceLoader.fetch(urlString,{element:this,onLoad:onLoadImage,onError:()=>{this._currentRequestState="broken"}})}else this._image.src=""}}}},40735:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),FileList=__webpack_require__(47951),Decimal=__webpack_require__(93776),HTMLElementImpl=__webpack_require__(74289).implementation,idlUtils=__webpack_require__(80421),DefaultConstraintValidationImpl=__webpack_require__(77006).i,ValidityState=__webpack_require__(64428),{mixin:mixin}=__webpack_require__(54641),{domSymbolTree:domSymbolTree,cloningSteps:cloningSteps}=__webpack_require__(15415),{getLabelsForLabelable:getLabelsForLabelable,formOwner:formOwner}=__webpack_require__(8860),{fireAnEvent:fireAnEvent}=__webpack_require__(96799),{isDisabled:isDisabled,isValidEmailAddress:isValidEmailAddress,isValidAbsoluteURL:isValidAbsoluteURL,sanitizeValueByType:sanitizeValueByType}=__webpack_require__(8860),{asciiCaseInsensitiveMatch:asciiCaseInsensitiveMatch,asciiLowercase:asciiLowercase,parseFloatingPointNumber:parseFloatingPointNumber,splitOnCommas:splitOnCommas}=__webpack_require__(27896),{isDate:isDate}=__webpack_require__(7224),{convertStringToNumberByType:convertStringToNumberByType,convertStringToDateByType:convertStringToDateByType,serializeDateByType:serializeDateByType,convertNumberToStringByType:convertNumberToStringByType}=__webpack_require__(57187),filesSymbol=Symbol("files"),inputAllowedTypes=new Set(["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]),variableLengthSelectionAllowedTypes=new Set(["text","search","url","tel","password"]),numericTypes=new Set(["date","month","week","time","datetime-local","number","range"]),applicableTypesForIDLMember={valueAsDate:new Set(["date","month","week","time"]),valueAsNumber:numericTypes,select:new Set(["text","search","url","tel","email","password","date","month","week","time","datetime-local","number","color","file"]),selectionStart:variableLengthSelectionAllowedTypes,selectionEnd:variableLengthSelectionAllowedTypes,selectionDirection:variableLengthSelectionAllowedTypes,setRangeText:variableLengthSelectionAllowedTypes,setSelectionRange:variableLengthSelectionAllowedTypes,stepDown:numericTypes,stepUp:numericTypes},lengthPatternSizeTypes=new Set(["text","search","url","tel","email","password"]),readonlyTypes=new Set([...lengthPatternSizeTypes,"date","month","week","time","datetime-local","number"]),applicableTypesForContentAttribute={list:new Set(["text","search","url","tel","email",...numericTypes,"color"]),max:numericTypes,maxlength:lengthPatternSizeTypes,min:numericTypes,minlength:lengthPatternSizeTypes,multiple:new Set(["email","file"]),pattern:lengthPatternSizeTypes,readonly:readonlyTypes,required:new Set([...readonlyTypes,"checkbox","radio","file"]),step:numericTypes},valueAttributeDefaultMode=new Set(["hidden","submit","image","reset","button"]),valueAttributeDefaultOnMode=new Set(["checkbox","radio"]);function valueAttributeMode(type){return valueAttributeDefaultMode.has(type)?"default":valueAttributeDefaultOnMode.has(type)?"default/on":"file"===type?"filename":"value"}function getTypeFromAttribute(typeAttribute){if("string"!=typeof typeAttribute)return"text";const type=asciiLowercase(typeAttribute);return inputAllowedTypes.has(type)?type:"text"}class HTMLInputElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._selectionStart=this._selectionEnd=0,this._selectionDirection="none",this._value="",this._dirtyValue=!1,this._checkedness=!1,this._dirtyCheckedness=!1,this._preCheckedRadioState=null,this._legacyActivationBehaviorPreviousIndeterminateState=!1,this.indeterminate=!1,this._customValidityErrorMessage="",this._labels=null,this._hasActivationBehavior=!0}get _convertStringToNumber(){return convertStringToNumberByType[this.type]}get _convertNumberToString(){return convertNumberToStringByType[this.type]}get _convertDateToString(){return serializeDateByType[this.type]}get _convertStringToDate(){return convertStringToDateByType[this.type]}_isStepAligned(v){return new Decimal(v).minus(this._stepBase).modulo(this._allowedValueStep).isZero()}_stepAlign(v,roundUp){const allowedValueStep=this._allowedValueStep,stepBase=this._stepBase;return new Decimal(v).minus(stepBase).toNearest(allowedValueStep,roundUp?Decimal.ROUND_UP:Decimal.ROUND_DOWN).add(stepBase)}_getValue(){return this._value}_legacyPreActivationBehavior(){"checkbox"===this.type?(this.checked=!this.checked,this._legacyActivationBehaviorPreviousIndeterminateState=this.indeterminate,this.indeterminate=!1):"radio"===this.type&&(this._preCheckedRadioState=this.checked,this.checked=!0)}_legacyCanceledActivationBehavior(){"checkbox"===this.type?(this.checked=!this.checked,this.indeterminate=this._legacyActivationBehaviorPreviousIndeterminateState):"radio"===this.type&&null!==this._preCheckedRadioState&&(this.checked=this._preCheckedRadioState,this._preCheckedRadioState=null)}_activationBehavior(){if(!this._mutable&&"checkbox"!==this.type&&"radio"!==this.type)return;const{form:form}=this;"checkbox"===this.type||"radio"===this.type&&!this._preCheckedRadioState?this.isConnected&&(fireAnEvent("input",this,void 0,{bubbles:!0}),fireAnEvent("change",this,void 0,{bubbles:!0})):form&&"submit"===this.type?form._doRequestSubmit(this):form&&"reset"===this.type&&form._doReset()}_attrModified(name,value,oldVal){const wrapper=idlUtils.wrapperForImpl(this);if(this._dirtyValue||"value"!==name||(this._value=sanitizeValueByType(this,wrapper.defaultValue)),this._dirtyCheckedness||"checked"!==name||(this._checkedness=wrapper.defaultChecked,this._checkedness&&this._removeOtherRadioCheckedness()),"name"!==name&&"type"!==name||this._checkedness&&this._removeOtherRadioCheckedness(),"type"===name){const prevType=getTypeFromAttribute(oldVal),curType=getTypeFromAttribute(value);if(prevType!==curType){const prevValueMode=valueAttributeMode(prevType),curValueMode=valueAttributeMode(curType);"value"!==prevValueMode||""===this._value||"default"!==curValueMode&&"default/on"!==curValueMode?"value"!==prevValueMode&&"value"===curValueMode?(this._value=this.getAttributeNS(null,"value")||"",this._dirtyValue=!1):"filename"!==prevValueMode&&"filename"===curValueMode&&(this._value=""):this.setAttributeNS(null,"value",this._value),this._signalATypeChange(),this._value=sanitizeValueByType(this,this._value);const previouslySelectable=this._idlMemberApplies("setRangeText",prevType),nowSelectable=this._idlMemberApplies("setRangeText",curType);!previouslySelectable&&nowSelectable&&(this._selectionStart=0,this._selectionEnd=0,this._selectionDirection="none")}}super._attrModified(name,value,oldVal)}_signalATypeChange(){this._checkedness&&this._removeOtherRadioCheckedness()}_formReset(){const wrapper=idlUtils.wrapperForImpl(this);this._value=sanitizeValueByType(this,wrapper.defaultValue),this._dirtyValue=!1,this._checkedness=wrapper.defaultChecked,this._dirtyCheckedness=!1,this._checkedness&&this._removeOtherRadioCheckedness()}_changedFormOwner(){this._checkedness&&this._removeOtherRadioCheckedness()}get _otherRadioGroupElements(){const wrapper=idlUtils.wrapperForImpl(this),root=this._radioButtonGroupRoot;if(!root)return[];const result=[],descendants=domSymbolTree.treeIterator(root);for(const candidate of descendants){if(candidate._radioButtonGroupRoot!==root)continue;const candidateWrapper=idlUtils.wrapperForImpl(candidate);candidateWrapper.name&&candidateWrapper.name===wrapper.name&&(candidate!==this&&result.push(candidate))}return result}_removeOtherRadioCheckedness(){for(const radioGroupElement of this._otherRadioGroupElements)radioGroupElement._checkedness=!1}get _radioButtonGroupRoot(){const wrapper=idlUtils.wrapperForImpl(this);if("radio"!==this.type||!wrapper.name)return null;let e=domSymbolTree.parent(this);for(;e;){if(!domSymbolTree.parent(e)||"FORM"===e.nodeName.toUpperCase())return e;e=domSymbolTree.parent(e)}return null}_someInRadioGroup(name){return!!this[name]||this._otherRadioGroupElements.some((radioGroupElement=>radioGroupElement[name]))}get _mutable(){return!isDisabled(this)&&!this._hasAttributeAndApplies("readonly")}get labels(){return getLabelsForLabelable(this)}get form(){return formOwner(this)}get checked(){return this._checkedness}set checked(checked){this._checkedness=Boolean(checked),this._dirtyCheckedness=!0,this._checkedness&&this._removeOtherRadioCheckedness()}get value(){switch(valueAttributeMode(this.type)){case"value":return this._getValue();case"default":{const attr=this.getAttributeNS(null,"value");return null!==attr?attr:""}case"default/on":{const attr=this.getAttributeNS(null,"value");return null!==attr?attr:"on"}case"filename":return this.files.length?"C:\\fakepath\\"+this.files[0].name:"";default:throw new Error("jsdom internal error: unknown value attribute mode")}}set value(val){switch(valueAttributeMode(this.type)){case"value":{const oldValue=this._value;this._value=sanitizeValueByType(this,val),this._dirtyValue=!0,oldValue!==this._value&&(this._selectionStart=this._selectionEnd=this._getValueLength(),this._selectionDirection="none");break}case"default":case"default/on":this.setAttributeNS(null,"value",val);break;case"filename":if(""!==val)throw DOMException.create(this._globalObject,["This input element accepts a filename, which may only be programmatically set to the empty string.","InvalidStateError"]);this.files.length=0;break;default:throw new Error("jsdom internal error: unknown value attribute mode")}}get valueAsDate(){if(!this._idlMemberApplies("valueAsDate"))return null;const window=this._ownerDocument._defaultView,convertedValue=this._convertStringToDate(this._value);return convertedValue instanceof Date?new window.Date(convertedValue.getTime()):null}set valueAsDate(v){if(!this._idlMemberApplies("valueAsDate"))throw DOMException.create(this._globalObject,["Failed to set the 'valueAsDate' property on 'HTMLInputElement': This input element does not support Date values.","InvalidStateError"]);if(null!==v&&!isDate(v))throw new TypeError("Failed to set the 'valueAsDate' property on 'HTMLInputElement': The provided value is not a Date.");null===v||isNaN(v)?this._value="":this._value=this._convertDateToString(v)}get valueAsNumber(){if(!this._idlMemberApplies("valueAsNumber"))return NaN;const parsedValue=this._convertStringToNumber(this._value);return null!==parsedValue?parsedValue:NaN}set valueAsNumber(v){if(!isFinite(v))throw new TypeError("Failed to set infinite value as Number");if(!this._idlMemberApplies("valueAsNumber"))throw DOMException.create(this._globalObject,["Failed to set the 'valueAsNumber' property on 'HTMLInputElement': This input element does not support Number values.","InvalidStateError"]);this._value=this._convertNumberToString(v)}_stepUpdate(n,isUp){const methodName=isUp?"stepUp":"stepDown";if(!this._idlMemberApplies(methodName))throw DOMException.create(this._globalObject,[`Failed to invoke '${methodName}' method on 'HTMLInputElement': This input element does not support Number values.`,"InvalidStateError"]);const allowedValueStep=this._allowedValueStep;if(null===allowedValueStep)throw DOMException.create(this._globalObject,[`Failed to invoke '${methodName}' method on 'HTMLInputElement': This input element does not support value step.`,"InvalidStateError"]);const min=this._minimum,max=this._maximum;if(null!==min&&null!==max){if(min>max)return;const candidateStepValue=this._stepAlign(Decimal.add(min,allowedValueStep),!1);if(candidateStepValue.lt(min)||candidateStepValue.gt(max))return}let value=0;try{value=this.valueAsNumber,isNaN(value)&&(value=0)}catch(error){}value=new Decimal(value);const valueBeforeStepping=value;if(this._isStepAligned(value)){let delta=Decimal.mul(n,allowedValueStep);isUp||(delta=delta.neg()),value=value.add(delta)}else value=this._stepAlign(value,isUp);null!==min&&value.lt(min)&&(value=this._stepAlign(min,!0)),null!==max&&value.gt(max)&&(value=this._stepAlign(max,!1)),(isUp?value.lt(valueBeforeStepping):value.gt(valueBeforeStepping))||(this._value=this._convertNumberToString(value.toNumber()))}stepDown(n=1){return this._stepUpdate(n,!1)}stepUp(n=1){return this._stepUpdate(n,!0)}get files(){return"file"===this.type?this[filesSymbol]=this[filesSymbol]||FileList.createImpl(this._globalObject):this[filesSymbol]=null,this[filesSymbol]}set files(value){"file"===this.type&&null!==value&&(this[filesSymbol]=value)}get type(){return getTypeFromAttribute(this.getAttributeNS(null,"type"))}set type(type){this.setAttributeNS(null,"type",type)}_dispatchSelectEvent(){fireAnEvent("select",this,void 0,{bubbles:!0,cancelable:!0})}_getValueLength(){return"string"==typeof this.value?this.value.length:0}select(){this._idlMemberApplies("select")&&(this._selectionStart=0,this._selectionEnd=this._getValueLength(),this._selectionDirection="none",this._dispatchSelectEvent())}get selectionStart(){return this._idlMemberApplies("selectionStart")?this._selectionStart:null}set selectionStart(start){if(!this._idlMemberApplies("selectionStart"))throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);this.setSelectionRange(start,Math.max(start,this._selectionEnd),this._selectionDirection)}get selectionEnd(){return this._idlMemberApplies("selectionEnd")?this._selectionEnd:null}set selectionEnd(end){if(!this._idlMemberApplies("selectionEnd"))throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);this.setSelectionRange(this._selectionStart,end,this._selectionDirection)}get selectionDirection(){return this._idlMemberApplies("selectionDirection")?this._selectionDirection:null}set selectionDirection(dir){if(!this._idlMemberApplies("selectionDirection"))throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);this.setSelectionRange(this._selectionStart,this._selectionEnd,dir)}setSelectionRange(start,end,dir){if(!this._idlMemberApplies("setSelectionRange"))throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);this._selectionEnd=Math.min(end,this._getValueLength()),this._selectionStart=Math.min(start,this._selectionEnd),this._selectionDirection="forward"===dir||"backward"===dir?dir:"none",this._dispatchSelectEvent()}setRangeText(repl,start,end,selectionMode="preserve"){if(!this._idlMemberApplies("setRangeText"))throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);if(arguments.length<2)start=this._selectionStart,end=this._selectionEnd;else if(start>end)throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"]);start=Math.min(start,this._getValueLength()),end=Math.min(end,this._getValueLength());const val=this.value;let selStart=this._selectionStart,selEnd=this._selectionEnd;this.value=val.slice(0,start)+repl+val.slice(end);const newEnd=start+this.value.length;if("select"===selectionMode)this.setSelectionRange(start,newEnd);else if("start"===selectionMode)this.setSelectionRange(start,start);else if("end"===selectionMode)this.setSelectionRange(newEnd,newEnd);else{const delta=repl.length-(end-start);selStart>end?selStart+=delta:selStart>start&&(selStart=start),selEnd>end?selEnd+=delta:selEnd>start&&(selEnd=newEnd),this.setSelectionRange(selStart,selEnd)}}get list(){const id=this._getAttributeIfApplies("list");if(!id)return null;const el=this.getRootNode({}).getElementById(id);return el&&"datalist"===el.localName?el:null}get maxLength(){return this.hasAttributeNS(null,"maxlength")?parseInt(this.getAttributeNS(null,"maxlength")):524288}set maxLength(value){if(value<0)throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"]);this.setAttributeNS(null,"maxlength",String(value))}get minLength(){return this.hasAttributeNS(null,"minlength")?parseInt(this.getAttributeNS(null,"minlength")):0}set minLength(value){if(value<0)throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"]);this.setAttributeNS(null,"minlength",String(value))}get size(){return this.hasAttributeNS(null,"size")?parseInt(this.getAttributeNS(null,"size")):20}set size(value){if(value<=0)throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"]);this.setAttributeNS(null,"size",String(value))}get _minimum(){let min=this._defaultMinimum;const attr=this._getAttributeIfApplies("min");if(null!==attr&&void 0!==this._convertStringToNumber){const parsed=this._convertStringToNumber(attr);null!==parsed&&(min=parsed)}return min}get _maximum(){let max=this._defaultMaximum;const attr=this._getAttributeIfApplies("max");if(null!==attr&&void 0!==this._convertStringToNumber){const parsed=this._convertStringToNumber(attr);null!==parsed&&(max=parsed)}return max}get _defaultMinimum(){return"range"===this.type?0:null}get _defaultMaximum(){return"range"===this.type?100:null}get _allowedValueStep(){if(!this._contentAttributeApplies("step"))return null;const attr=this.getAttributeNS(null,"step");if(null===attr)return this._defaultStep*this._stepScaleFactor;if(asciiCaseInsensitiveMatch(attr,"any"))return null;const parsedStep=parseFloatingPointNumber(attr);return null===parsedStep||parsedStep<=0?this._defaultStep*this._stepScaleFactor:parsedStep*this._stepScaleFactor}get _stepScaleFactor(){switch(this.type){case"week":return 6048e5;case"date":return 864e5;case"datetime-local":case"datetime":case"time":return 1e3}return 1}get _defaultStep(){return"datetime-local"===this.type||"datetime"===this.type||"time"===this.type?60:1}get _stepBase(){if(this._hasAttributeAndApplies("min")){const min=this._convertStringToNumber(this.getAttributeNS(null,"min"));if(null!==min)return min}if(this.hasAttributeNS(null,"value")){const value=this._convertStringToNumber(this.getAttributeNS(null,"value"));if(null!==value)return value}return null!==this._defaultStepBase?this._defaultStepBase:0}get _defaultStepBase(){return"week"===this.type?-2592e5:null}_contentAttributeApplies(attribute){return applicableTypesForContentAttribute[attribute].has(this.type)}_hasAttributeAndApplies(attribute){return this._contentAttributeApplies(attribute)&&this.hasAttributeNS(null,attribute)}_getAttributeIfApplies(attribute){return this._contentAttributeApplies(attribute)?this.getAttributeNS(null,attribute):null}_idlMemberApplies(member,type=this.type){return applicableTypesForIDLMember[member].has(type)}_barredFromConstraintValidationSpecialization(){const willNotValidateTypes=new Set(["hidden","reset","button"]),readOnly=this._hasAttributeAndApplies("readonly");return willNotValidateTypes.has(this.type)||readOnly}get _required(){return this._hasAttributeAndApplies("required")}get _hasAPeriodicDomain(){return"time"===this.type}get _hasAReversedRange(){return this._hasAPeriodicDomain&&this._maximum<this._minimum}get validity(){if(!this._validity){const reversedRangeSufferingOverUnderflow=()=>{const parsedValue=this._convertStringToNumber(this._value);return null!==parsedValue&&parsedValue>this._maximum&&parsedValue<this._minimum},state={valueMissing:()=>{if(this._required&&"value"===valueAttributeMode(this.type)&&this._mutable&&""===this._value)return!0;switch(this.type){case"checkbox":if(this._required&&!this._checkedness)return!0;break;case"radio":if(this._someInRadioGroup("_required")&&!this._someInRadioGroup("checked"))return!0;break;case"file":if(this._required&&0===this.files.length)return!0}return!1},tooLong:()=>!1,tooShort:()=>!1,rangeOverflow:()=>{if(this._hasAReversedRange)return reversedRangeSufferingOverUnderflow();if(null!==this._maximum){const parsedValue=this._convertStringToNumber(this._value);if(null!==parsedValue&&parsedValue>this._maximum)return!0}return!1},rangeUnderflow:()=>{if(this._hasAReversedRange)return reversedRangeSufferingOverUnderflow();if(null!==this._minimum){const parsedValue=this._convertStringToNumber(this._value);if(null!==parsedValue&&parsedValue<this._minimum)return!0}return!1},patternMismatch:()=>{if(""===this._value||!this._hasAttributeAndApplies("pattern"))return!1;let regExp;try{const pattern=this.getAttributeNS(null,"pattern");new RegExp(pattern,"u"),regExp=new RegExp("^(?:"+pattern+")$","u")}catch(e){return!1}return this._hasAttributeAndApplies("multiple")?!splitOnCommas(this._value).every((value=>regExp.test(value))):!regExp.test(this._value)},stepMismatch:()=>{if(null===this._allowedValueStep)return!1;const number=this._convertStringToNumber(this._value);return null!==number&&!this._isStepAligned(number)},typeMismatch:()=>{switch(this.type){case"url":if(""!==this._value&&!isValidAbsoluteURL(this._value))return!0;break;case"email":if(""!==this._value&&!isValidEmailAddress(this._getValue(),this.hasAttributeNS(null,"multiple")))return!0}return!1}};this._validity=ValidityState.createImpl(this._globalObject,[],{element:this,state:state})}return this._validity}[cloningSteps](copy,node){copy._value=node._value,copy._checkedness=node._checkedness,copy._dirtyValue=node._dirtyValue,copy._dirtyCheckedness=node._dirtyCheckedness}}mixin(HTMLInputElementImpl.prototype,DefaultConstraintValidationImpl.prototype),module.exports={implementation:HTMLInputElementImpl}},4407:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLLIElementImpl extends HTMLElementImpl{}}},75097:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation,MouseEvent=__webpack_require__(89057),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),NODE_TYPE=__webpack_require__(51445),{isLabelable:isLabelable,isDisabled:isDisabled,isInteractiveContent:isInteractiveContent}=__webpack_require__(8860),{isInclusiveAncestor:isInclusiveAncestor}=__webpack_require__(23809),{fireAnEvent:fireAnEvent}=__webpack_require__(96799);module.exports={implementation:class HTMLLabelElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._hasActivationBehavior=!0}get control(){if(this.hasAttributeNS(null,"for")){const forValue=this.getAttributeNS(null,"for");if(""===forValue)return null;const root=this.getRootNode({});for(const descendant of domSymbolTree.treeIterator(root))if(descendant.nodeType===NODE_TYPE.ELEMENT_NODE&&descendant.getAttributeNS(null,"id")===forValue)return isLabelable(descendant)?descendant:null;return null}for(const descendant of domSymbolTree.treeIterator(this))if(isLabelable(descendant))return descendant;return null}get form(){const node=this.control;return node?node.form:null}_activationBehavior(event){if(event.target&&event.target!==this&&isInclusiveAncestor(this,event.target))for(const ancestor of domSymbolTree.ancestorsIterator(event.target)){if(ancestor===this)break;if(isInteractiveContent(ancestor))return}const node=this.control;if(node&&!isDisabled(node)){if(event.target&&isInclusiveAncestor(node,event.target))return;!function sendClickToAssociatedNode(node){fireAnEvent("click",node,MouseEvent,{bubbles:!0,cancelable:!0,view:node.ownerDocument?node.ownerDocument.defaultView:null,screenX:0,screenY:0,clientX:0,clientY:0,button:0,detail:1,relatedTarget:null})}(node)}}}}},77455:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation,{formOwner:formOwner}=__webpack_require__(8860),{HTML_NS:HTML_NS}=__webpack_require__(65676);module.exports={implementation:class HTMLLegendElementImpl extends HTMLElementImpl{get form(){const parent=this.parentNode;return parent&&"fieldset"===parent._localName&&parent.namespaceURI===HTML_NS?formOwner(parent):null}}}},92798:function(module,__unused_webpack_exports,__webpack_require__){const DOMTokenList=__webpack_require__(33858),HTMLElementImpl=__webpack_require__(74289).implementation,idlUtils=__webpack_require__(80421),{fetchStylesheet:fetchStylesheet}=__webpack_require__(61809),{parseURLToResultingURLRecord:parseURLToResultingURLRecord}=__webpack_require__(33282),whatwgURL=__webpack_require__(77101);function maybeFetchAndProcess(el){(function isExternalResourceLink(el){const wrapper=idlUtils.wrapperForImpl(el);if(!/(?:[ \t\n\r\f]|^)stylesheet(?:[ \t\n\r\f]|$)/i.test(wrapper.rel))return!1;return el.hasAttributeNS(null,"href")})(el)&&el.isConnected&&el._ownerDocument._defaultView&&function fetchAndProcess(el){const href=el.getAttributeNS(null,"href");if(null===href||""===href)return;const url=parseURLToResultingURLRecord(href,el._ownerDocument);if(null===url)return;const serialized=whatwgURL.serializeURL(url);fetchStylesheet(el,serialized)}(el)}module.exports={implementation:class HTMLLinkElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this.sheet=null}get relList(){return void 0===this._relList&&(this._relList=DOMTokenList.createImpl(this._globalObject,[],{element:this,attributeLocalName:"rel",supportedTokens:new Set(["stylesheet"])})),this._relList}_attach(){super._attach(),maybeFetchAndProcess(this)}_attrModified(name,value,oldValue){super._attrModified(name,value,oldValue),"href"===name&&maybeFetchAndProcess(this),"rel"===name&&void 0!==this._relList&&this._relList.attrModified()}get _accept(){return"text/css,*/*;q=0.1"}}}},75337:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLMapElementImpl extends HTMLElementImpl{get areas(){return this.getElementsByTagName("AREA")}}}},73979:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLMarqueeElementImpl extends HTMLElementImpl{}}},83502:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),HTMLElementImpl=__webpack_require__(74289).implementation,notImplemented=__webpack_require__(30566),{fireAnEvent:fireAnEvent}=__webpack_require__(96799);module.exports={implementation:class HTMLMediaElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._muted=!1,this._volume=1,this.readyState=0,this.networkState=0,this.currentTime=0,this.currentSrc="",this.buffered={length:0,start:()=>0,end:()=>0},this.seeking=!1,this.duration=NaN,this.paused=!0,this.played={length:0,start:()=>0,end:()=>0},this.seekable={length:0,start:()=>0,end:()=>0},this.ended=!1,this.audioTracks=[],this.videoTracks=[],this.textTracks=[]}get defaultPlaybackRate(){return void 0===this._defaultPlaybackRate?1:this._defaultPlaybackRate}set defaultPlaybackRate(v){if(0===v)throw DOMException.create(this._globalObject,["The operation is not supported.","NotSupportedError"]);this._defaultPlaybackRate!==v&&(this._defaultPlaybackRate=v,this._dispatchRateChange())}get playbackRate(){return void 0===this._playbackRate?1:this._playbackRate}set playbackRate(v){v!==this._playbackRate&&(this._playbackRate=v,this._dispatchRateChange())}get muted(){return this._muted}set muted(v){v!==this._muted&&(this._muted=v,this._dispatchVolumeChange())}get defaultMuted(){return null!==this.getAttributeNS(null,"muted")}set defaultMuted(v){v?this.setAttributeNS(null,"muted",v):this.removeAttributeNS(null,"muted")}get volume(){return this._volume}set volume(v){if(v<0||v>1)throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"]);this._volume!==v&&(this._volume=v,this._dispatchVolumeChange())}load(){notImplemented("HTMLMediaElement.prototype.load",this._ownerDocument._defaultView)}canPlayType(){return""}play(){notImplemented("HTMLMediaElement.prototype.play",this._ownerDocument._defaultView)}pause(){notImplemented("HTMLMediaElement.prototype.pause",this._ownerDocument._defaultView)}addTextTrack(){notImplemented("HTMLMediaElement.prototype.addTextTrack",this._ownerDocument._defaultView)}_dispatchRateChange(){fireAnEvent("ratechange",this)}_dispatchVolumeChange(){fireAnEvent("volumechange",this)}}}},61712:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLMenuElementImpl extends HTMLElementImpl{}}},53169:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLMetaElementImpl extends HTMLElementImpl{}}},82373:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation,{parseFloatingPointNumber:parseFloatingPointNumber}=__webpack_require__(27896),{getLabelsForLabelable:getLabelsForLabelable}=__webpack_require__(8860);module.exports={implementation:class HTMLMeterElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._labels=null}get _minimumValue(){const min=this.getAttributeNS(null,"min");if(null!==min){const parsed=parseFloatingPointNumber(min);if(null!==parsed)return parsed}return 0}get _maximumValue(){let candidate=1;const max=this.getAttributeNS(null,"max");if(null!==max){const parsed=parseFloatingPointNumber(max);null!==parsed&&(candidate=parsed)}const minimumValue=this._minimumValue;return candidate>=minimumValue?candidate:minimumValue}get _actualValue(){let candidate=0;const value=this.getAttributeNS(null,"value");if(null!==value){const parsed=parseFloatingPointNumber(value);null!==parsed&&(candidate=parsed)}const minimumValue=this._minimumValue;if(candidate<minimumValue)return minimumValue;const maximumValue=this._maximumValue;return candidate>maximumValue?maximumValue:candidate}get _lowBoundary(){const minimumValue=this._minimumValue;let candidate=minimumValue;const low=this.getAttributeNS(null,"low");if(null!==low){const parsed=parseFloatingPointNumber(low);null!==parsed&&(candidate=parsed)}if(candidate<minimumValue)return minimumValue;const maximumValue=this._maximumValue;return candidate>maximumValue?maximumValue:candidate}get _highBoundary(){const maximumValue=this._maximumValue;let candidate=maximumValue;const high=this.getAttributeNS(null,"high");if(null!==high){const parsed=parseFloatingPointNumber(high);null!==parsed&&(candidate=parsed)}const lowBoundary=this._lowBoundary;return candidate<lowBoundary?lowBoundary:candidate>maximumValue?maximumValue:candidate}get _optimumPoint(){const minimumValue=this._minimumValue,maximumValue=this._maximumValue;let candidate=(minimumValue+maximumValue)/2;const optimum=this.getAttributeNS(null,"optimum");if(null!==optimum){const parsed=parseFloatingPointNumber(optimum);null!==parsed&&(candidate=parsed)}return candidate<minimumValue?minimumValue:candidate>maximumValue?maximumValue:candidate}get labels(){return getLabelsForLabelable(this)}get value(){return this._actualValue}set value(val){this.setAttributeNS(null,"value",String(val))}get min(){return this._minimumValue}set min(val){this.setAttributeNS(null,"min",String(val))}get max(){return this._maximumValue}set max(val){this.setAttributeNS(null,"max",String(val))}get low(){return this._lowBoundary}set low(val){this.setAttributeNS(null,"low",String(val))}get high(){return this._highBoundary}set high(val){this.setAttributeNS(null,"high",String(val))}get optimum(){return this._optimumPoint}set optimum(val){this.setAttributeNS(null,"optimum",String(val))}}}},65811:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLModElementImpl extends HTMLElementImpl{}}},51120:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLOListElementImpl extends HTMLElementImpl{get start(){const value=parseInt(this.getAttributeNS(null,"start"));return isNaN(value)?1:value}set start(value){this.setAttributeNS(null,"start",value)}}}},90817:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation,DefaultConstraintValidationImpl=__webpack_require__(77006).i,{mixin:mixin}=__webpack_require__(54641),{formOwner:formOwner}=__webpack_require__(8860);class HTMLObjectElementImpl extends HTMLElementImpl{get form(){return formOwner(this)}get contentDocument(){return null}_barredFromConstraintValidationSpecialization(){return!0}}mixin(HTMLObjectElementImpl.prototype,DefaultConstraintValidationImpl.prototype),module.exports={implementation:HTMLObjectElementImpl}},80069:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLOptGroupElementImpl extends HTMLElementImpl{}}},69928:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation,NODE_TYPE=__webpack_require__(51445),{stripAndCollapseASCIIWhitespace:stripAndCollapseASCIIWhitespace}=__webpack_require__(27896),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{HTML_NS:HTML_NS,SVG_NS:SVG_NS}=__webpack_require__(65676),{closest:closest}=__webpack_require__(22537),{formOwner:formOwner}=__webpack_require__(8860);function childTextContentExcludingDescendantsOfScript(root){let text="";for(const child of domSymbolTree.childrenIterator(root))("script"!==child._localName||child._namespaceURI!==HTML_NS&&child._namespaceURI!==SVG_NS)&&(child.nodeType===NODE_TYPE.TEXT_NODE||child.nodeType===NODE_TYPE.CDATA_SECTION_NODE?text+=child.nodeValue:text+=childTextContentExcludingDescendantsOfScript(child));return text}module.exports={implementation:class HTMLOptionElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._selectedness=!1,this._dirtyness=!1}_removeOtherSelectedness(){const select=this._selectNode;if(select&&!select.hasAttributeNS(null,"multiple"))for(const option of select.options)option!==this&&(option._selectedness=!1)}_askForAReset(){const select=this._selectNode;select&&select._askedForAReset()}_attrModified(name,value,oldValue){this._dirtyness||"selected"!==name||(this._selectedness=this.hasAttributeNS(null,"selected"),this._selectedness&&this._removeOtherSelectedness(),this._askForAReset()),super._attrModified(name,value,oldValue)}get _selectNode(){let select=domSymbolTree.parent(this);return select&&("SELECT"===select.nodeName.toUpperCase()||(select=domSymbolTree.parent(select),select&&"SELECT"===select.nodeName.toUpperCase()))?select:null}get form(){return formOwner(this)}get text(){return stripAndCollapseASCIIWhitespace(childTextContentExcludingDescendantsOfScript(this))}set text(value){this.textContent=value}_getValue(){return this.hasAttributeNS(null,"value")?this.getAttributeNS(null,"value"):this.text}get value(){return this._getValue()}set value(value){this.setAttributeNS(null,"value",value)}get index(){const select=closest(this,"select");return null===select?0:select.options.indexOf(this)}get selected(){return this._selectedness}set selected(s){this._dirtyness=!0,this._selectedness=Boolean(s),this._selectedness&&this._removeOtherSelectedness(),this._askForAReset(),this._modified()}get label(){return this.hasAttributeNS(null,"label")?this.getAttributeNS(null,"label"):this.text}set label(value){this.setAttributeNS(null,"label",value)}}}},1303:function(__unused_webpack_module,exports,__webpack_require__){const idlUtils=__webpack_require__(80421),DOMException=__webpack_require__(69026),{DOCUMENT_POSITION_CONTAINS:DOCUMENT_POSITION_CONTAINS,DOCUMENT_POSITION_CONTAINED_BY:DOCUMENT_POSITION_CONTAINED_BY}=__webpack_require__(3408),Element=__webpack_require__(61157),Node=__webpack_require__(47462),HTMLCollectionImpl=__webpack_require__(19745).implementation;exports.implementation=class HTMLOptionsCollectionImpl extends HTMLCollectionImpl{get length(){return this._update(),this._list.length}set length(value){if(this._update(),value>this._list.length){const doc=this._element._ownerDocument;for(let i=this._list.length;i<value;i++){const el=doc.createElement("option");this._element.appendChild(el)}}else if(value<this._list.length)for(let i=this._list.length-1;i>=value;i--){const el=this._list[i];this._element.removeChild(el)}}get[idlUtils.supportedPropertyNames](){this._update();const result=new Set;for(const element of this._list)result.add(element.getAttributeNS(null,"id")),result.add(element.getAttributeNS(null,"name"));return result}[idlUtils.indexedSetNew](index,value){if(null===value)return void this.remove(index);this._update();const{length:length}=this._list,n=index-length;if(n>0){const doc=this._element._ownerDocument,frag=doc.createDocumentFragment();for(let i=0;i<n;i++){const el=doc.createElement("option");frag.appendChild(el)}this._element._append(frag)}n>=0?this._element._append(value):this._element._replace(value,this._list[index])}[idlUtils.indexedSetExisting](index,value){return this[idlUtils.indexedSetNew](index,value)}add(element,before){if(this._element.compareDocumentPosition(element)&DOCUMENT_POSITION_CONTAINS)throw DOMException.create(this._globalObject,["The operation would yield an incorrect node tree.","HierarchyRequestError"]);if(Element.isImpl(before)&&!(this._element.compareDocumentPosition(before)&DOCUMENT_POSITION_CONTAINED_BY))throw DOMException.create(this._globalObject,["The object can not be found here.","NotFoundError"]);if(element===before)return;let reference=null;Node.isImpl(before)?reference=before:"number"==typeof before&&(this._update(),reference=this._list[before]||null);(null!==reference?reference.parentNode:this._element)._preInsert(element,reference)}remove(index){if(this._update(),0===this._list.length)return;if(index<0||index>=this._list.length)return;const element=this._list[index];element.parentNode._remove(element)}get selectedIndex(){return this._element.selectedIndex}set selectedIndex(value){this._element.selectedIndex=value}}},71886:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),{isSummaryForParentDetails:isSummaryForParentDetails}=__webpack_require__(85398),focusing=__webpack_require__(54629),{HTML_NS:HTML_NS,SVG_NS:SVG_NS}=__webpack_require__(65676),DOMStringMap=__webpack_require__(84098),tabIndexReflectAllowedHTMLElements=new Set(["a","area","button","frame","iframe","input","object","select","textarea"]);exports.i=class HTMLOrSVGElementImpl{_initHTMLOrSVGElement(){this._tabIndex=0,this._dataset=DOMStringMap.createImpl(this._globalObject,[],{element:this})}get dataset(){return this._dataset}get tabIndex(){return this.hasAttributeNS(null,"tabindex")?conversions.long(this.getAttributeNS(null,"tabindex")):this.namespaceURI===HTML_NS&&(tabIndexReflectAllowedHTMLElements.has(this._localName)||"summary"===this._localName&&isSummaryForParentDetails(this))||this.namespaceURI===SVG_NS&&"a"===this._localName?0:-1}set tabIndex(value){this.setAttributeNS(null,"tabindex",String(value))}focus(){if(!focusing.isFocusableAreaElement(this))return;const ownerDocument=this._ownerDocument,previous=ownerDocument._lastFocusedElement;if(previous!==this){if(ownerDocument._lastFocusedElement=null,previous)focusing.fireFocusEventWithTargetAdjustment("blur",previous,this),focusing.fireFocusEventWithTargetAdjustment("focusout",previous,this,{bubbles:!0});else{const frameElement=ownerDocument._defaultView._frameElement;if(frameElement){const frameLastFocusedElement=frameElement.ownerDocument._lastFocusedElement;frameElement.ownerDocument._lastFocusedElement=null,focusing.fireFocusEventWithTargetAdjustment("blur",frameLastFocusedElement,null),focusing.fireFocusEventWithTargetAdjustment("focusout",frameLastFocusedElement,null,{bubbles:!0}),frameElement.ownerDocument._lastFocusedElement=frameElement}}ownerDocument._lastFocusedElement=this,focusing.fireFocusEventWithTargetAdjustment("focus",this,previous),focusing.fireFocusEventWithTargetAdjustment("focusin",this,previous,{bubbles:!0})}}blur(){this._ownerDocument._lastFocusedElement===this&&focusing.isFocusableAreaElement(this)&&(this._ownerDocument._lastFocusedElement=null,focusing.fireFocusEventWithTargetAdjustment("blur",this,this._ownerDocument),focusing.fireFocusEventWithTargetAdjustment("focusout",this,this._ownerDocument,{bubbles:!0}),focusing.fireFocusEventWithTargetAdjustment("focus",this._ownerDocument,this),focusing.fireFocusEventWithTargetAdjustment("focusin",this._ownerDocument,this,{bubbles:!0}))}}},13583:function(module,__unused_webpack_exports,__webpack_require__){const DOMTokenList=__webpack_require__(33858),HTMLElementImpl=__webpack_require__(74289).implementation,DefaultConstraintValidationImpl=__webpack_require__(77006).i,{mixin:mixin}=__webpack_require__(54641),{getLabelsForLabelable:getLabelsForLabelable,formOwner:formOwner}=__webpack_require__(8860);class HTMLOutputElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._labels=null,this._defaultValueOverride=null,this._customValidityErrorMessage=""}_attrModified(name,value,oldValue){super._attrModified(name,value,oldValue),"for"===name&&void 0!==this._htmlFor&&this._htmlFor.attrModified()}_barredFromConstraintValidationSpecialization(){return!0}_formReset(){this.textContent=this.defaultValue,this._defaultValueOverride=null}get htmlFor(){return void 0===this._htmlFor&&(this._htmlFor=DOMTokenList.createImpl(this._globalObject,[],{element:this,attributeLocalName:"for"})),this._htmlFor}get type(){return"output"}get labels(){return getLabelsForLabelable(this)}get form(){return formOwner(this)}get value(){return this.textContent}set value(val){this._defaultValueOverride=this.defaultValue,this.textContent=val}get defaultValue(){return null!==this._defaultValueOverride?this._defaultValueOverride:this.textContent}set defaultValue(val){null!==this._defaultValueOverride?this._defaultValueOverride=val:this.textContent=val}}mixin(HTMLOutputElementImpl.prototype,DefaultConstraintValidationImpl.prototype),module.exports={implementation:HTMLOutputElementImpl}},12726:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLParagraphElementImpl extends HTMLElementImpl{}}},37894:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLParamElementImpl extends HTMLElementImpl{}}},81213:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLPictureElementImpl extends HTMLElementImpl{}}},23820:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLPreElementImpl extends HTMLElementImpl{}}},58667:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation,{getLabelsForLabelable:getLabelsForLabelable}=__webpack_require__(8860),{parseFloatingPointNumber:parseFloatingPointNumber}=__webpack_require__(27896);module.exports={implementation:class HTMLProgressElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._labels=null}get _isDeterminate(){return this.hasAttributeNS(null,"value")}get _value(){const valueAttr=this.getAttributeNS(null,"value"),parsedValue=parseFloatingPointNumber(valueAttr);return null!==parsedValue&&parsedValue>0?parsedValue:0}get _currentValue(){const value=this._value;return value>this.max?this.max:value}get value(){return this._isDeterminate?this._currentValue:0}set value(value){this.setAttributeNS(null,"value",value)}get max(){const max=this.getAttributeNS(null,"max");if(null!==max){const parsedMax=parseFloatingPointNumber(max);if(null!==parsedMax&&parsedMax>0)return parsedMax}return 1}set max(value){value>0&&this.setAttributeNS(null,"max",value)}get position(){return this._isDeterminate?this._currentValue/this.max:-1}get labels(){return getLabelsForLabelable(this)}}}},41115:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLQuoteElementImpl extends HTMLElementImpl{}}},55184:function(module,__unused_webpack_exports,__webpack_require__){const vm=__webpack_require__(53113),whatwgEncoding=__webpack_require__(81479),MIMEType=__webpack_require__(36766),{serializeURL:serializeURL}=__webpack_require__(77101),HTMLElementImpl=__webpack_require__(74289).implementation,reportException=__webpack_require__(9400),{domSymbolTree:domSymbolTree,cloningSteps:cloningSteps}=__webpack_require__(15415),{asciiLowercase:asciiLowercase}=__webpack_require__(27896),{childTextContent:childTextContent}=__webpack_require__(75246),{fireAnEvent:fireAnEvent}=__webpack_require__(96799),{parseURLToResultingURLRecord:parseURLToResultingURLRecord}=__webpack_require__(33282),nodeTypes=__webpack_require__(51445),jsMIMETypes=new Set(["application/ecmascript","application/javascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript"]);module.exports={implementation:class HTMLScriptElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._alreadyStarted=!1,this._parserInserted=!1}_attach(){super._attach(),this._parserInserted&&!this._isMovingDueToDocumentWrite||this._eval()}_canRunScript(){const document=this._ownerDocument;return!(!document._defaultView||"dangerously"!==document._defaultView._runScripts||document._scriptingDisabled)}_fetchExternalScript(){const document=this._ownerDocument,resourceLoader=document._resourceLoader,defaultEncoding=whatwgEncoding.labelToName(this.getAttributeNS(null,"charset"))||document._encoding;let request;if(!this._canRunScript())return;const src=this.getAttributeNS(null,"src"),url=parseURLToResultingURLRecord(src,this._ownerDocument);if(null===url)return;const urlString=serializeURL(url);request=resourceLoader.fetch(urlString,{element:this,onLoad:data=>{const{response:response}=request;let contentType;if(response&&void 0!==response.statusCode&&response.statusCode>=400)throw new Error("Status code: "+response.statusCode);response&&(contentType=MIMEType.parse(response.headers["content-type"])||new MIMEType("text/plain"));const encoding=whatwgEncoding.getBOMEncoding(data)||contentType&&whatwgEncoding.labelToName(contentType.parameters.get("charset"))||defaultEncoding,script=whatwgEncoding.decode(data,encoding);this._innerEval(script,urlString)}})}_fetchInternalScript(){const document=this._ownerDocument;this._canRunScript()&&document._queue.push(null,(()=>{this._innerEval(this.text,document.URL),fireAnEvent("load",this)}),null,!1,this)}_attrModified(name,value,oldValue){super._attrModified(name,value,oldValue),this._attached&&!this._startedEval&&"src"===name&&null===oldValue&&null!==value&&this._fetchExternalScript()}_poppedOffStackOfOpenElements(){this._eval()}_eval(){if(this._alreadyStarted)return;if(!this.hasAttributeNS(null,"src")&&0===this.text.length)return;if(!this._attached)return;"classic"===function getType(typeString){const lowercased=asciiLowercase(typeString);if(jsMIMETypes.has(lowercased))return"classic";if("module"===lowercased)return"module";return null}(this._getTypeString())&&(this._alreadyStarted=!0,this.hasAttributeNS(null,"src")?this._fetchExternalScript():this._fetchInternalScript())}_innerEval(text,filename){this._ownerDocument._writeAfterElement=this,function processJavaScript(element,code,filename){const document=element.ownerDocument,window=document&&document._global;if(window){document._currentScript=element;let lineOffset=0;if(!element.hasAttributeNS(null,"src"))for(const child of domSymbolTree.childrenIterator(element))if(child.nodeType===nodeTypes.TEXT_NODE){child.sourceCodeLocation&&(lineOffset=child.sourceCodeLocation.startLine-1);break}try{vm.runInContext(code,window,{filename:filename,lineOffset:lineOffset,displayErrors:!1})}catch(e){reportException(window,e,filename)}finally{document._currentScript=null}}}(this,text,filename),delete this._ownerDocument._writeAfterElement}_getTypeString(){const typeAttr=this.getAttributeNS(null,"type"),langAttr=this.getAttributeNS(null,"language");return""===typeAttr||null===typeAttr&&""===langAttr||null===typeAttr&&null===langAttr?"text/javascript":null!==typeAttr?typeAttr.trim():null!==langAttr?"text/"+langAttr:null}get text(){return childTextContent(this)}set text(text){this.textContent=text}[cloningSteps](copy,node){copy._alreadyStarted=node._alreadyStarted}}}},82349:function(module,__unused_webpack_exports,__webpack_require__){const conversions=__webpack_require__(10993),idlUtils=__webpack_require__(80421),ValidityState=__webpack_require__(64428),DefaultConstraintValidationImpl=__webpack_require__(77006).i,{mixin:mixin}=__webpack_require__(54641),HTMLElementImpl=__webpack_require__(74289).implementation,NODE_TYPE=__webpack_require__(51445),HTMLCollection=__webpack_require__(76270),HTMLOptionsCollection=__webpack_require__(62467),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{getLabelsForLabelable:getLabelsForLabelable,formOwner:formOwner,isDisabled:isDisabled}=__webpack_require__(8860),{parseNonNegativeInteger:parseNonNegativeInteger}=__webpack_require__(27896);class HTMLSelectElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._options=HTMLOptionsCollection.createImpl(this._globalObject,[],{element:this,query:()=>{const array=[];for(const child of domSymbolTree.childrenIterator(this))if("option"===child._localName)array.push(child);else if("optgroup"===child._localName)for(const childOfGroup of domSymbolTree.childrenIterator(child))"option"===childOfGroup._localName&&array.push(childOfGroup);return array}}),this._selectedOptions=null,this._customValidityErrorMessage="",this._labels=null}_formReset(){for(const option of this.options)option._selectedness=option.hasAttributeNS(null,"selected"),option._dirtyness=!1;this._askedForAReset()}_askedForAReset(){if(this.hasAttributeNS(null,"multiple"))return;const selected=this.options.filter((opt=>opt._selectedness));if(1!==this._displaySize||selected.length)selected.length>=2&&selected.forEach(((option,index)=>{option._selectedness=index===selected.length-1}));else for(const option of this.options){let disabled=option.hasAttributeNS(null,"disabled");const parentNode=domSymbolTree.parent(option);if(parentNode&&"OPTGROUP"===parentNode.nodeName.toUpperCase()&&parentNode.hasAttributeNS(null,"disabled")&&(disabled=!0),!disabled){option._selectedness=!0;break}}}_descendantAdded(parent,child){child.nodeType===NODE_TYPE.ELEMENT_NODE&&this._askedForAReset(),super._descendantAdded(parent,child)}_descendantRemoved(parent,child){child.nodeType===NODE_TYPE.ELEMENT_NODE&&this._askedForAReset(),super._descendantRemoved(parent,child)}_attrModified(name,value,oldValue){"multiple"!==name&&"size"!==name||this._askedForAReset(),super._attrModified(name,value,oldValue)}get _displaySize(){if(this.hasAttributeNS(null,"size")){const size=parseNonNegativeInteger(this.getAttributeNS(null,"size"));if(null!==size)return size}return this.hasAttributeNS(null,"multiple")?4:1}get _mutable(){return!isDisabled(this)}get options(){return this._options}get selectedOptions(){return HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>domSymbolTree.treeToArray(this,{filter:node=>"option"===node._localName&&!0===node._selectedness})})}get selectedIndex(){for(let i=0;i<this.options.length;i++)if(this.options.item(i)._selectedness)return i;return-1}set selectedIndex(index){for(let i=0;i<this.options.length;i++)this.options.item(i)._selectedness=!1;const selectedOption=this.options.item(index);selectedOption&&(selectedOption._selectedness=!0,selectedOption._dirtyness=!0)}get labels(){return getLabelsForLabelable(this)}get value(){for(const option of this.options)if(option._selectedness)return option.value;return""}set value(val){for(const option of this.options)option.value===val?(option._selectedness=!0,option._dirtyness=!0):option._selectedness=!1,option._modified()}get form(){return formOwner(this)}get type(){return this.hasAttributeNS(null,"multiple")?"select-multiple":"select-one"}get[idlUtils.supportedPropertyIndices](){return this.options[idlUtils.supportedPropertyIndices]}get length(){return this.options.length}set length(value){this.options.length=value}item(index){return this.options.item(index)}namedItem(name){return this.options.namedItem(name)}[idlUtils.indexedSetNew](index,value){return this.options[idlUtils.indexedSetNew](index,value)}[idlUtils.indexedSetExisting](index,value){return this.options[idlUtils.indexedSetExisting](index,value)}add(opt,before){this.options.add(opt,before)}remove(index){arguments.length>0?(index=conversions.long(index,{context:"Failed to execute 'remove' on 'HTMLSelectElement': parameter 1"}),this.options.remove(index)):super.remove()}_barredFromConstraintValidationSpecialization(){return this.hasAttributeNS(null,"readonly")}get validity(){if(!this._validity){const state={valueMissing:()=>{if(!this.hasAttributeNS(null,"required"))return!1;const selectedOptionIndex=this.selectedIndex;return selectedOptionIndex<0||0===selectedOptionIndex&&this._hasPlaceholderOption}};this._validity=ValidityState.createImpl(this._globalObject,[],{element:this,state:state})}return this._validity}get _hasPlaceholderOption(){return this.hasAttributeNS(null,"required")&&!this.hasAttributeNS(null,"multiple")&&1===this._displaySize&&this.options.length>0&&""===this.options.item(0).value&&"optgroup"!==this.options.item(0).parentNode._localName}}mixin(HTMLSelectElementImpl.prototype,DefaultConstraintValidationImpl.prototype),module.exports={implementation:HTMLSelectElementImpl}},10201:function(module,__unused_webpack_exports,__webpack_require__){const idlUtils=__webpack_require__(80421),HTMLElement=__webpack_require__(12028),HTMLElementImpl=__webpack_require__(74289).implementation,{nodeRoot:nodeRoot}=__webpack_require__(23809),{assignSlotableForTree:assignSlotableForTree,findFlattenedSlotables:findFlattenedSlotables}=__webpack_require__(96671);module.exports={implementation:class HTMLSlotElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._assignedNodes=[]}get name(){return this.getAttributeNS(null,"name")||""}_attrModified(name,value,oldValue){if(super._attrModified(name,value,oldValue),"name"===name){if(value===oldValue)return;if(null===value&&""===oldValue)return;if(""===value&&null===oldValue)return;assignSlotableForTree(nodeRoot(this))}}assignedNodes(options){return options&&options.flatten?findFlattenedSlotables(this).map(idlUtils.wrapperForImpl):this._assignedNodes.map(idlUtils.wrapperForImpl)}assignedElements(options){return this.assignedNodes(options).filter(HTMLElement.is)}}}},2598:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLSourceElementImpl extends HTMLElementImpl{}}},21023:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLSpanElementImpl extends HTMLElementImpl{}}},74853:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation,{removeStylesheet:removeStylesheet,createStylesheet:createStylesheet}=__webpack_require__(61809),{documentBaseURL:documentBaseURL}=__webpack_require__(33282),{childTextContent:childTextContent}=__webpack_require__(75246),{asciiCaseInsensitiveMatch:asciiCaseInsensitiveMatch}=__webpack_require__(27896);module.exports={implementation:class HTMLStyleElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this.sheet=null,this._isOnStackOfOpenElements=!1}_attach(){super._attach(),this._isOnStackOfOpenElements||this._updateAStyleBlock()}_detach(){super._detach(),this._isOnStackOfOpenElements||this._updateAStyleBlock()}_childTextContentChangeSteps(){super._childTextContentChangeSteps(),this._isOnStackOfOpenElements||this._updateAStyleBlock()}_poppedOffStackOfOpenElements(){this._isOnStackOfOpenElements=!1,this._updateAStyleBlock()}_pushedOnStackOfOpenElements(){this._isOnStackOfOpenElements=!0}_updateAStyleBlock(){if(this.sheet&&removeStylesheet(this.sheet,this),!this.isConnected||!this._ownerDocument._defaultView)return;const type=this.getAttributeNS(null,"type");if(null!==type&&""!==type&&!asciiCaseInsensitiveMatch(type,"text/css"))return;const content=childTextContent(this);createStylesheet(content,this,documentBaseURL(this._ownerDocument))}}}},24646:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLTableCaptionElementImpl extends HTMLElementImpl{}}},94862:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation,{asciiLowercase:asciiLowercase,parseNonNegativeInteger:parseNonNegativeInteger}=__webpack_require__(27896),{closest:closest}=__webpack_require__(22537);function reflectedAttributeClampedToRange(attrValue,min,max,defaultValue=0){if(null===attrValue)return defaultValue;const parsed=parseNonNegativeInteger(attrValue);return null===parsed?defaultValue:parsed<min?min:parsed>max?max:parsed}module.exports={implementation:class HTMLTableCellElementImpl extends HTMLElementImpl{get colSpan(){return reflectedAttributeClampedToRange(this.getAttributeNS(null,"colspan"),1,1e3,1)}set colSpan(V){this.setAttributeNS(null,"colspan",String(V))}get rowSpan(){return reflectedAttributeClampedToRange(this.getAttributeNS(null,"rowspan"),0,65534,1)}set rowSpan(V){this.setAttributeNS(null,"rowspan",String(V))}get cellIndex(){const tr=closest(this,"tr");return null===tr?-1:tr.cells.indexOf(this)}get scope(){let value=this.getAttributeNS(null,"scope");return null===value?"":(value=asciiLowercase(value),"row"===value||"col"===value||"rowgroup"===value||"colgroup"===value?value:"")}set scope(V){this.setAttributeNS(null,"scope",V)}}}},72173:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLTableColElementImpl extends HTMLElementImpl{}}},65612:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),HTMLElementImpl=__webpack_require__(74289).implementation,{HTML_NS:HTML_NS}=__webpack_require__(65676),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{firstChildWithLocalName:firstChildWithLocalName,childrenByLocalName:childrenByLocalName}=__webpack_require__(22537),HTMLCollection=__webpack_require__(76270),NODE_TYPE=__webpack_require__(51445);module.exports={implementation:class HTMLTableElementImpl extends HTMLElementImpl{get caption(){return firstChildWithLocalName(this,"caption")}set caption(value){const currentCaption=this.caption;if(null!==currentCaption&&this.removeChild(currentCaption),null!==value){const insertionPoint=this.firstChild;this.insertBefore(value,insertionPoint)}}get tHead(){return firstChildWithLocalName(this,"thead")}set tHead(value){if(null!==value&&"thead"!==value._localName)throw DOMException.create(this._globalObject,["Cannot set a non-thead element as a table header","HierarchyRequestError"]);const currentHead=this.tHead;if(null!==currentHead&&this.removeChild(currentHead),null!==value){const insertionPoint=function tHeadInsertionPoint(table){const iterator=domSymbolTree.childrenIterator(table);for(const child of iterator)if(child.nodeType===NODE_TYPE.ELEMENT_NODE&&(child._namespaceURI!==HTML_NS||"caption"!==child._localName&&"colgroup"!==child._localName))return child;return null}(this);this.insertBefore(value,insertionPoint)}}get tFoot(){return firstChildWithLocalName(this,"tfoot")}set tFoot(value){if(null!==value&&"tfoot"!==value._localName)throw DOMException.create(this._globalObject,["Cannot set a non-tfoot element as a table footer","HierarchyRequestError"]);const currentFoot=this.tFoot;null!==currentFoot&&this.removeChild(currentFoot),null!==value&&this.appendChild(value)}get rows(){return this._rows||(this._rows=HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>{const headerRows=[],bodyRows=[],footerRows=[],iterator=domSymbolTree.childrenIterator(this);for(const child of iterator)child.nodeType===NODE_TYPE.ELEMENT_NODE&&child._namespaceURI===HTML_NS&&("thead"===child._localName?headerRows.push(...childrenByLocalName(child,"tr")):"tbody"===child._localName?bodyRows.push(...childrenByLocalName(child,"tr")):"tfoot"===child._localName?footerRows.push(...childrenByLocalName(child,"tr")):"tr"===child._localName&&bodyRows.push(child));return[...headerRows,...bodyRows,...footerRows]}})),this._rows}get tBodies(){return this._tBodies||(this._tBodies=HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>childrenByLocalName(this,"tbody")})),this._tBodies}createTBody(){const el=this._ownerDocument.createElement("TBODY"),tbodies=childrenByLocalName(this,"tbody"),insertionPoint=tbodies[tbodies.length-1];return insertionPoint?this.insertBefore(el,insertionPoint.nextSibling):this.appendChild(el),el}createTHead(){let el=this.tHead;return el||(el=this.tHead=this._ownerDocument.createElement("THEAD")),el}deleteTHead(){this.tHead=null}createTFoot(){let el=this.tFoot;return el||(el=this.tFoot=this._ownerDocument.createElement("TFOOT")),el}deleteTFoot(){this.tFoot=null}createCaption(){let el=this.caption;return el||(el=this.caption=this._ownerDocument.createElement("CAPTION")),el}deleteCaption(){const c=this.caption;c&&c.parentNode.removeChild(c)}insertRow(index){if(index<-1||index>this.rows.length)throw DOMException.create(this._globalObject,["Cannot insert a row at an index that is less than -1 or greater than the number of existing rows","IndexSizeError"]);const tr=this._ownerDocument.createElement("tr");if(0===this.rows.length&&0===this.tBodies.length){const tBody=this._ownerDocument.createElement("tbody");tBody.appendChild(tr),this.appendChild(tBody)}else if(0===this.rows.length){this.tBodies.item(this.tBodies.length-1).appendChild(tr)}else if(-1===index||index===this.rows.length){this.rows.item(this.rows.length-1).parentNode.appendChild(tr)}else{const beforeTR=this.rows.item(index);beforeTR.parentNode.insertBefore(tr,beforeTR)}return tr}deleteRow(index){const rowLength=this.rows.length;if(index<-1||index>=rowLength)throw DOMException.create(this._globalObject,[`Cannot delete a row at index ${index}, where no row exists`,"IndexSizeError"]);if(-1===index){if(0===rowLength)return;index=rowLength-1}const tr=this.rows.item(index);tr.parentNode.removeChild(tr)}}}},75236:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),HTMLElementImpl=__webpack_require__(74289).implementation,HTMLCollection=__webpack_require__(76270),{HTML_NS:HTML_NS}=__webpack_require__(65676),{childrenByLocalNames:childrenByLocalNames}=__webpack_require__(22537),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),cellLocalNames=new Set(["td","th"]);module.exports={implementation:class HTMLTableRowElementImpl extends HTMLElementImpl{get cells(){return this._cells||(this._cells=HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>childrenByLocalNames(this,cellLocalNames)})),this._cells}get rowIndex(){const parent=this.parentElement;if(null===parent||parent.namespaceURI!==HTML_NS)return-1;let tableElement=parent;return"thead"!==parent.localName&&"tbody"!==parent.localName&&"tfoot"!==parent.localName||(tableElement=parent.parentElement),null===tableElement||tableElement.namespaceURI!==HTML_NS||"table"!==tableElement.localName?-1:tableElement.rows.indexOf(this)}get sectionRowIndex(){const parent=domSymbolTree.parent(this);if(null===parent)return-1;const{rows:rows}=parent;return rows?rows.indexOf(this):-1}insertCell(index){const td=this._ownerDocument.createElement("TD"),{cells:cells}=this;if(index<-1||index>cells.length)throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"]);if(-1===index||index===cells.length)this._append(td);else{const ref=cells.item(index);this._insert(td,ref)}return td}deleteCell(index){const{cells:cells}=this;if(index<-1||index>=cells.length)throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"]);if(-1===index){if(0===cells.length)return;index=cells.length-1}const td=cells.item(index);this._remove(td)}}}},997:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation,{childrenByLocalName:childrenByLocalName}=__webpack_require__(22537),HTMLCollection=__webpack_require__(76270),DOMException=__webpack_require__(69026);module.exports={implementation:class HTMLTableSectionElementImpl extends HTMLElementImpl{get rows(){return this._rows||(this._rows=HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>childrenByLocalName(this,"tr")})),this._rows}insertRow(index){if(index<-1||index>this.rows.length)throw DOMException.create(this._globalObject,["Cannot insert a row at an index that is less than -1 or greater than the number of existing rows","IndexSizeError"]);const tr=this._ownerDocument.createElement("tr");if(-1===index||index===this.rows.length)this._append(tr);else{const beforeTR=this.rows.item(index);this._insert(tr,beforeTR)}return tr}deleteRow(index){if(index<-1||index>=this.rows.length)throw DOMException.create(this._globalObject,[`Cannot delete a row at index ${index}, where no row exists`,"IndexSizeError"]);if(-1===index){if(this.rows.length>0){const tr=this.rows.item(this.rows.length-1);this._remove(tr)}}else{const tr=this.rows.item(index);this._remove(tr)}}}}},16092:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation,Document=__webpack_require__(87417),DocumentFragment=__webpack_require__(35968),{cloningSteps:cloningSteps,domSymbolTree:domSymbolTree}=__webpack_require__(15415),{clone:clone}=__webpack_require__(72878);module.exports={implementation:class HTMLTemplateElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);const doc=this._appropriateTemplateContentsOwnerDocument(this._ownerDocument);this._templateContents=DocumentFragment.createImpl(this._globalObject,[],{ownerDocument:doc,host:this})}_appropriateTemplateContentsOwnerDocument(doc){if(!doc._isInertTemplateDocument){if(void 0===doc._associatedInertTemplateDocument){const newDoc=Document.createImpl(this._globalObject,[],{options:{parsingMode:doc._parsingMode,encoding:doc._encoding}});newDoc._isInertTemplateDocument=!0,doc._associatedInertTemplateDocument=newDoc}doc=doc._associatedInertTemplateDocument}return doc}_adoptingSteps(){this._appropriateTemplateContentsOwnerDocument(this._ownerDocument)._adoptNode(this._templateContents)}get content(){return this._templateContents}[cloningSteps](copy,node,document,cloneChildren){if(cloneChildren)for(const child of domSymbolTree.childrenIterator(node._templateContents)){const childCopy=clone(child,copy._templateContents._ownerDocument,!0);copy._templateContents.appendChild(childCopy)}}}}},43156:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation,DefaultConstraintValidationImpl=__webpack_require__(77006).i,ValidityState=__webpack_require__(64428),{mixin:mixin}=__webpack_require__(54641),DOMException=__webpack_require__(69026),{cloningSteps:cloningSteps}=__webpack_require__(15415),{isDisabled:isDisabled,getLabelsForLabelable:getLabelsForLabelable,formOwner:formOwner}=__webpack_require__(8860),{childTextContent:childTextContent}=__webpack_require__(75246),{fireAnEvent:fireAnEvent}=__webpack_require__(96799);class HTMLTextAreaElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._selectionStart=this._selectionEnd=0,this._selectionDirection="none",this._rawValue="",this._dirtyValue=!1,this._customValidityErrorMessage="",this._labels=null}_formReset(){this._rawValue=childTextContent(this),this._dirtyValue=!1}_getAPIValue(){return this._rawValue.replace(/\r\n/g,"\n").replace(/\r/g,"\n")}_getValue(){const apiValue=this._getAPIValue();return"hard"===this.getAttributeNS(null,"wrap")?function textareaWrappingTransformation(text,cols){let lineStart=0,lineEnd=text.indexOf("\n");-1===lineEnd&&(lineEnd=text.length);for(;lineStart<text.length;){lineEnd-lineStart>cols&&(lineEnd=lineStart+cols,text=text.slice(0,lineEnd)+"\n"+text.slice(lineEnd)),lineStart=lineEnd+1,lineEnd=text.indexOf("\n",lineStart),-1===lineEnd&&(lineEnd=text.length)}return text}(apiValue,this.cols):apiValue}_childTextContentChangeSteps(){super._childTextContentChangeSteps(),!1===this._dirtyValue&&(this._rawValue=childTextContent(this))}get labels(){return getLabelsForLabelable(this)}get form(){return formOwner(this)}get defaultValue(){return childTextContent(this)}set defaultValue(val){this.textContent=val}get value(){return this._getAPIValue()}set value(val){const oldAPIValue=this._getAPIValue();this._rawValue=val,this._dirtyValue=!0,oldAPIValue!==this._getAPIValue()&&(this._selectionStart=this._selectionEnd=this._getValueLength(),this._selectionDirection="none")}get textLength(){return this.value.length}get type(){return"textarea"}_dispatchSelectEvent(){fireAnEvent("select",this,void 0,{bubbles:!0,cancelable:!0})}_getValueLength(){return"string"==typeof this.value?this.value.length:0}select(){this._selectionStart=0,this._selectionEnd=this._getValueLength(),this._selectionDirection="none",this._dispatchSelectEvent()}get selectionStart(){return this._selectionStart}set selectionStart(start){this.setSelectionRange(start,Math.max(start,this._selectionEnd),this._selectionDirection)}get selectionEnd(){return this._selectionEnd}set selectionEnd(end){this.setSelectionRange(this._selectionStart,end,this._selectionDirection)}get selectionDirection(){return this._selectionDirection}set selectionDirection(dir){this.setSelectionRange(this._selectionStart,this._selectionEnd,dir)}setSelectionRange(start,end,dir){this._selectionEnd=Math.min(end,this._getValueLength()),this._selectionStart=Math.min(start,this._selectionEnd),this._selectionDirection="forward"===dir||"backward"===dir?dir:"none",this._dispatchSelectEvent()}setRangeText(repl,start,end,selectionMode="preserve"){if(arguments.length<2)start=this._selectionStart,end=this._selectionEnd;else if(start>end)throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"]);start=Math.min(start,this._getValueLength()),end=Math.min(end,this._getValueLength());const val=this.value;let selStart=this._selectionStart,selEnd=this._selectionEnd;this.value=val.slice(0,start)+repl+val.slice(end);const newEnd=start+this.value.length;if("select"===selectionMode)this.setSelectionRange(start,newEnd);else if("start"===selectionMode)this.setSelectionRange(start,start);else if("end"===selectionMode)this.setSelectionRange(newEnd,newEnd);else{const delta=repl.length-(end-start);selStart>end?selStart+=delta:selStart>start&&(selStart=start),selEnd>end?selEnd+=delta:selEnd>start&&(selEnd=newEnd),this.setSelectionRange(selStart,selEnd)}}get cols(){return this.hasAttributeNS(null,"cols")?parseInt(this.getAttributeNS(null,"cols")):20}set cols(value){if(value<=0)throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"]);this.setAttributeNS(null,"cols",String(value))}get rows(){return this.hasAttributeNS(null,"rows")?parseInt(this.getAttributeNS(null,"rows")):2}set rows(value){if(value<=0)throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"]);this.setAttributeNS(null,"rows",String(value))}_barredFromConstraintValidationSpecialization(){return this.hasAttributeNS(null,"readonly")}get _mutable(){return!isDisabled(this)&&!this.hasAttributeNS(null,"readonly")}get validity(){if(!this._validity){const state={valueMissing:()=>this.hasAttributeNS(null,"required")&&this._mutable&&""===this.value};this._validity=ValidityState.createImpl(this._globalObject,[],{element:this,state:state})}return this._validity}[cloningSteps](copy,node){copy._dirtyValue=node._dirtyValue,copy._rawValue=node._rawValue}}mixin(HTMLTextAreaElementImpl.prototype,DefaultConstraintValidationImpl.prototype),module.exports={implementation:HTMLTextAreaElementImpl}},15972:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLTimeElementImpl extends HTMLElementImpl{}}},26939:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation,{childTextContent:childTextContent}=__webpack_require__(75246);module.exports={implementation:class HTMLTitleElementImpl extends HTMLElementImpl{get text(){return childTextContent(this)}set text(value){this.textContent=value}}}},36385:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLTrackElementImpl extends HTMLElementImpl{get readyState(){return 0}}}},29715:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLUListElementImpl extends HTMLElementImpl{}}},83539:function(module,__unused_webpack_exports,__webpack_require__){const HTMLElementImpl=__webpack_require__(74289).implementation;module.exports={implementation:class HTMLUnknownElementImpl extends HTMLElementImpl{}}},75599:function(module,__unused_webpack_exports,__webpack_require__){const HTMLMediaElementImpl=__webpack_require__(83502).implementation;module.exports={implementation:class HTMLVideoElementImpl extends HTMLMediaElementImpl{get videoWidth(){return 0}get videoHeight(){return 0}}}},16614:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),EventTargetImpl=__webpack_require__(98998).implementation,{simultaneousIterators:simultaneousIterators}=__webpack_require__(54641),NODE_TYPE=__webpack_require__(51445),NODE_DOCUMENT_POSITION=__webpack_require__(3408),{clone:clone,locateNamespacePrefix:locateNamespacePrefix,locateNamespace:locateNamespace}=__webpack_require__(72878),{setAnExistingAttributeValue:setAnExistingAttributeValue}=__webpack_require__(91742),NodeList=__webpack_require__(42850),{nodeRoot:nodeRoot,nodeLength:nodeLength,isInclusiveAncestor:isInclusiveAncestor}=__webpack_require__(23809),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{documentBaseURLSerialized:documentBaseURLSerialized}=__webpack_require__(33282),{queueTreeMutationRecord:queueTreeMutationRecord}=__webpack_require__(1367),{enqueueCECallbackReaction:enqueueCECallbackReaction,tryUpgradeElement:tryUpgradeElement}=__webpack_require__(31720),{isShadowRoot:isShadowRoot,shadowIncludingRoot:shadowIncludingRoot,assignSlot:assignSlot,assignSlotableForTree:assignSlotableForTree,assignSlotable:assignSlotable,signalSlotChange:signalSlotChange,isSlot:isSlot,shadowIncludingInclusiveDescendantsIterator:shadowIncludingInclusiveDescendantsIterator,shadowIncludingDescendantsIterator:shadowIncludingDescendantsIterator}=__webpack_require__(96671);function nodeEquals(a,b){if(a.nodeType!==b.nodeType)return!1;switch(a.nodeType){case NODE_TYPE.DOCUMENT_TYPE_NODE:if(a.name!==b.name||a.publicId!==b.publicId||a.systemId!==b.systemId)return!1;break;case NODE_TYPE.ELEMENT_NODE:if(a._namespaceURI!==b._namespaceURI||a._prefix!==b._prefix||a._localName!==b._localName||a._attributes.length!==b._attributes.length)return!1;break;case NODE_TYPE.ATTRIBUTE_NODE:if(a._namespace!==b._namespace||a._localName!==b._localName||a._value!==b._value)return!1;break;case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:if(a._target!==b._target||a._data!==b._data)return!1;break;case NODE_TYPE.TEXT_NODE:case NODE_TYPE.COMMENT_NODE:if(a._data!==b._data)return!1}if(a.nodeType===NODE_TYPE.ELEMENT_NODE&&!function attributeListsEqual(elementA,elementB){const listA=elementA._attributeList,listB=elementB._attributeList,lengthA=listA.length,lengthB=listB.length;if(lengthA!==lengthB)return!1;for(let i=0;i<lengthA;++i){const attrA=listA[i];if(!listB.some((attrB=>nodeEquals(attrA,attrB))))return!1}return!0}(a,b))return!1;for(const nodes of simultaneousIterators(domSymbolTree.childrenIterator(a),domSymbolTree.childrenIterator(b))){if(!nodes[0]||!nodes[1])return!1;if(!nodeEquals(nodes[0],nodes[1]))return!1}return!0}function isHostInclusiveAncestor(nodeImplA,nodeImplB){for(const ancestor of domSymbolTree.ancestorsIterator(nodeImplB))if(ancestor===nodeImplA)return!0;const rootImplB=nodeRoot(nodeImplB);return!!rootImplB._host&&isHostInclusiveAncestor(nodeImplA,rootImplB._host)}module.exports={implementation:class NodeImpl extends EventTargetImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),domSymbolTree.initialize(this),this._ownerDocument=privateData.ownerDocument,this._childNodesList=null,this._childrenList=null,this._version=0,this._memoizedQueries={},this._registeredObserverList=[],this._referencedRanges=new Set}_getTheParent(){return this._assignedSlot?this._assignedSlot:domSymbolTree.parent(this)}get parentNode(){return domSymbolTree.parent(this)}getRootNode(options){return options.composed?shadowIncludingRoot(this):nodeRoot(this)}get nodeName(){switch(this.nodeType){case NODE_TYPE.ELEMENT_NODE:return this.tagName;case NODE_TYPE.ATTRIBUTE_NODE:return this._qualifiedName;case NODE_TYPE.TEXT_NODE:return"#text";case NODE_TYPE.CDATA_SECTION_NODE:return"#cdata-section";case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:return this.target;case NODE_TYPE.COMMENT_NODE:return"#comment";case NODE_TYPE.DOCUMENT_NODE:return"#document";case NODE_TYPE.DOCUMENT_TYPE_NODE:return this.name;case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:return"#document-fragment"}return null}get firstChild(){return domSymbolTree.firstChild(this)}get isConnected(){const root=shadowIncludingRoot(this);return root&&root.nodeType===NODE_TYPE.DOCUMENT_NODE}get ownerDocument(){return this.nodeType===NODE_TYPE.DOCUMENT_NODE?null:this._ownerDocument}get lastChild(){return domSymbolTree.lastChild(this)}get childNodes(){return this._childNodesList?this._childNodesList._update():this._childNodesList=NodeList.createImpl(this._globalObject,[],{element:this,query:()=>domSymbolTree.childrenToArray(this)}),this._childNodesList}get nextSibling(){return domSymbolTree.nextSibling(this)}get previousSibling(){return domSymbolTree.previousSibling(this)}_modified(){this._version++;for(const ancestor of domSymbolTree.ancestorsIterator(this))ancestor._version++;this._childrenList&&this._childrenList._update(),this._childNodesList&&this._childNodesList._update(),this._clearMemoizedQueries()}_childTextContentChangeSteps(){}_clearMemoizedQueries(){this._memoizedQueries={};const myParent=domSymbolTree.parent(this);myParent&&myParent._clearMemoizedQueries()}_descendantRemoved(parent,child){const myParent=domSymbolTree.parent(this);myParent&&myParent._descendantRemoved(parent,child)}_descendantAdded(parent,child){const myParent=domSymbolTree.parent(this);myParent&&myParent._descendantAdded(parent,child)}_attach(){this._attached=!0;for(const child of domSymbolTree.childrenIterator(this))child._attach&&child._attach()}_detach(){this._attached=!1,this._ownerDocument&&this._ownerDocument._lastFocusedElement===this&&(this._ownerDocument._lastFocusedElement=null);for(const child of domSymbolTree.childrenIterator(this))child._detach&&child._detach()}hasChildNodes(){return domSymbolTree.hasChildren(this)}normalize(){for(const node of domSymbolTree.treeToArray(this)){const parentNode=domSymbolTree.parent(node);if(null===parentNode||node.nodeType!==NODE_TYPE.TEXT_NODE)continue;let length=nodeLength(node);if(0===length){parentNode._remove(node);continue}const continuousExclusiveTextNodes=[];for(const currentNode of domSymbolTree.previousSiblingsIterator(node)){if(currentNode.nodeType!==NODE_TYPE.TEXT_NODE)break;continuousExclusiveTextNodes.unshift(currentNode)}for(const currentNode of domSymbolTree.nextSiblingsIterator(node)){if(currentNode.nodeType!==NODE_TYPE.TEXT_NODE)break;continuousExclusiveTextNodes.push(currentNode)}const data=continuousExclusiveTextNodes.reduce(((d,n)=>d+n._data),"");node.replaceData(length,0,data);let currentNode=domSymbolTree.nextSibling(node);for(;currentNode&¤tNode.nodeType===NODE_TYPE.TEXT_NODE;){const currentNodeIndex=domSymbolTree.index(currentNode);for(const range of node._referencedRanges){const{_start:_start,_end:_end}=range;_start.node===currentNode&&range._setLiveRangeStart(node,_start.offset+length),_end.node===currentNode&&range._setLiveRangeEnd(node,_end.offset+length)}for(const range of parentNode._referencedRanges){const{_start:_start,_end:_end}=range;_start.node===parentNode&&_start.offset===currentNodeIndex&&range._setLiveRangeStart(node,length),_end.node===parentNode&&_end.offset===currentNodeIndex&&range._setLiveRangeEnd(node,length)}length+=nodeLength(currentNode),currentNode=domSymbolTree.nextSibling(currentNode)}for(const continuousExclusiveTextNode of continuousExclusiveTextNodes)parentNode._remove(continuousExclusiveTextNode)}}get parentElement(){const parentNode=domSymbolTree.parent(this);return null!==parentNode&&parentNode.nodeType===NODE_TYPE.ELEMENT_NODE?parentNode:null}get baseURI(){return documentBaseURLSerialized(this._ownerDocument)}compareDocumentPosition(other){let node1=other,node2=this,attr1=null,attr2=null;if(node1.nodeType===NODE_TYPE.ATTRIBUTE_NODE&&(attr1=node1,node1=attr1._element),node2.nodeType===NODE_TYPE.ATTRIBUTE_NODE&&(attr2=node2,node2=attr2._element,null!==attr1&&null!==node1&&node2===node1))for(const attr of node2._attributeList){if(nodeEquals(attr,attr1))return NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_PRECEDING;if(nodeEquals(attr,attr2))return NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_FOLLOWING}const result=domSymbolTree.compareTreePosition(node2,node1);return result===NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_DISCONNECTED?NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_DISCONNECTED|NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_FOLLOWING:result}lookupPrefix(namespace){if(null===namespace||""===namespace)return null;switch(this.nodeType){case NODE_TYPE.ELEMENT_NODE:return locateNamespacePrefix(this,namespace);case NODE_TYPE.DOCUMENT_NODE:return null!==this.documentElement?locateNamespacePrefix(this.documentElement,namespace):null;case NODE_TYPE.DOCUMENT_TYPE_NODE:case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:return null;case NODE_TYPE.ATTRIBUTE_NODE:return null!==this._element?locateNamespacePrefix(this._element,namespace):null;default:return null!==this.parentElement?locateNamespacePrefix(this.parentElement,namespace):null}}lookupNamespaceURI(prefix){return""===prefix&&(prefix=null),locateNamespace(this,prefix)}isDefaultNamespace(namespace){""===namespace&&(namespace=null);return locateNamespace(this,null)===namespace}contains(other){return isInclusiveAncestor(this,other)}isEqualNode(node){return null!==node&&(this===node||nodeEquals(this,node))}isSameNode(node){return this===node}cloneNode(deep){if(isShadowRoot(this))throw DOMException.create(this._globalObject,["ShadowRoot nodes are not clonable.","NotSupportedError"]);return deep=Boolean(deep),clone(this,void 0,deep)}get nodeValue(){switch(this.nodeType){case NODE_TYPE.ATTRIBUTE_NODE:return this._value;case NODE_TYPE.TEXT_NODE:case NODE_TYPE.CDATA_SECTION_NODE:case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:case NODE_TYPE.COMMENT_NODE:return this._data;default:return null}}set nodeValue(value){switch(null===value&&(value=""),this.nodeType){case NODE_TYPE.ATTRIBUTE_NODE:setAnExistingAttributeValue(this,value);break;case NODE_TYPE.TEXT_NODE:case NODE_TYPE.CDATA_SECTION_NODE:case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:case NODE_TYPE.COMMENT_NODE:this.replaceData(0,this.length,value)}}get textContent(){switch(this.nodeType){case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:case NODE_TYPE.ELEMENT_NODE:{let text="";for(const child of domSymbolTree.treeIterator(this))child.nodeType!==NODE_TYPE.TEXT_NODE&&child.nodeType!==NODE_TYPE.CDATA_SECTION_NODE||(text+=child.nodeValue);return text}case NODE_TYPE.ATTRIBUTE_NODE:return this._value;case NODE_TYPE.TEXT_NODE:case NODE_TYPE.CDATA_SECTION_NODE:case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:case NODE_TYPE.COMMENT_NODE:return this._data;default:return null}}set textContent(value){switch(null===value&&(value=""),this.nodeType){case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:case NODE_TYPE.ELEMENT_NODE:{let nodeImpl=null;""!==value&&(nodeImpl=this._ownerDocument.createTextNode(value)),this._replaceAll(nodeImpl);break}case NODE_TYPE.ATTRIBUTE_NODE:setAnExistingAttributeValue(this,value);break;case NODE_TYPE.TEXT_NODE:case NODE_TYPE.CDATA_SECTION_NODE:case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:case NODE_TYPE.COMMENT_NODE:this.replaceData(0,this.length,value)}}insertBefore(nodeImpl,childImpl){return this._preInsert(nodeImpl,childImpl)}appendChild(nodeImpl){return this._append(nodeImpl)}replaceChild(nodeImpl,childImpl){return this._replace(nodeImpl,childImpl)}removeChild(oldChildImpl){return this._preRemove(oldChildImpl)}_preInsertValidity(nodeImpl,childImpl){const{nodeType:nodeType,nodeName:nodeName}=nodeImpl,{nodeType:parentType,nodeName:parentName}=this;if(parentType!==NODE_TYPE.DOCUMENT_NODE&&parentType!==NODE_TYPE.DOCUMENT_FRAGMENT_NODE&&parentType!==NODE_TYPE.ELEMENT_NODE)throw DOMException.create(this._globalObject,[`Node can't be inserted in a ${parentName} parent.`,"HierarchyRequestError"]);if(isHostInclusiveAncestor(nodeImpl,this))throw DOMException.create(this._globalObject,["The operation would yield an incorrect node tree.","HierarchyRequestError"]);if(childImpl&&domSymbolTree.parent(childImpl)!==this)throw DOMException.create(this._globalObject,["The child can not be found in the parent.","NotFoundError"]);if(nodeType!==NODE_TYPE.DOCUMENT_FRAGMENT_NODE&&nodeType!==NODE_TYPE.DOCUMENT_TYPE_NODE&&nodeType!==NODE_TYPE.ELEMENT_NODE&&nodeType!==NODE_TYPE.TEXT_NODE&&nodeType!==NODE_TYPE.CDATA_SECTION_NODE&&nodeType!==NODE_TYPE.PROCESSING_INSTRUCTION_NODE&&nodeType!==NODE_TYPE.COMMENT_NODE)throw DOMException.create(this._globalObject,[`${nodeName} node can't be inserted in parent node.`,"HierarchyRequestError"]);if(nodeType===NODE_TYPE.TEXT_NODE&&parentType===NODE_TYPE.DOCUMENT_NODE||nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE&&parentType!==NODE_TYPE.DOCUMENT_NODE)throw DOMException.create(this._globalObject,[`${nodeName} node can't be inserted in ${parentName} parent.`,"HierarchyRequestError"]);if(parentType===NODE_TYPE.DOCUMENT_NODE){const nodeChildren=domSymbolTree.childrenToArray(nodeImpl),parentChildren=domSymbolTree.childrenToArray(this);switch(nodeType){case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:{const nodeChildrenElements=nodeChildren.filter((child=>child.nodeType===NODE_TYPE.ELEMENT_NODE));if(nodeChildrenElements.length>1)throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"]);if(nodeChildren.some((child=>child.nodeType===NODE_TYPE.TEXT_NODE)))throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"]);if(1===nodeChildrenElements.length&&(parentChildren.some((child=>child.nodeType===NODE_TYPE.ELEMENT_NODE))||childImpl&&childImpl.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE||childImpl&&domSymbolTree.nextSibling(childImpl)&&domSymbolTree.nextSibling(childImpl).nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE))throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"]);break}case NODE_TYPE.ELEMENT_NODE:if(parentChildren.some((child=>child.nodeType===NODE_TYPE.ELEMENT_NODE))||childImpl&&childImpl.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE||childImpl&&domSymbolTree.nextSibling(childImpl)&&domSymbolTree.nextSibling(childImpl).nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE)throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"]);break;case NODE_TYPE.DOCUMENT_TYPE_NODE:if(parentChildren.some((child=>child.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE))||childImpl&&domSymbolTree.previousSibling(childImpl)&&domSymbolTree.previousSibling(childImpl).nodeType===NODE_TYPE.ELEMENT_NODE||!childImpl&&parentChildren.some((child=>child.nodeType===NODE_TYPE.ELEMENT_NODE)))throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"])}}}_preInsert(nodeImpl,childImpl){this._preInsertValidity(nodeImpl,childImpl);let referenceChildImpl=childImpl;return referenceChildImpl===nodeImpl&&(referenceChildImpl=domSymbolTree.nextSibling(nodeImpl)),this._ownerDocument._adoptNode(nodeImpl),this._insert(nodeImpl,referenceChildImpl),nodeImpl}_insert(nodeImpl,childImpl,suppressObservers){const count=nodeImpl.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE?domSymbolTree.childrenCount(nodeImpl):1;if(childImpl){const childIndex=domSymbolTree.index(childImpl);for(const range of this._referencedRanges){const{_start:_start,_end:_end}=range;_start.offset>childIndex&&range._setLiveRangeStart(this,_start.offset+count),_end.offset>childIndex&&range._setLiveRangeEnd(this,_end.offset+count)}}const nodesImpl=nodeImpl.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE?domSymbolTree.childrenToArray(nodeImpl):[nodeImpl];if(nodeImpl.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE){let grandChildImpl;for(;grandChildImpl=domSymbolTree.firstChild(nodeImpl);)nodeImpl._remove(grandChildImpl,!0)}nodeImpl.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE&&queueTreeMutationRecord(nodeImpl,[],nodesImpl,null,null);const previousChildImpl=childImpl?domSymbolTree.previousSibling(childImpl):domSymbolTree.lastChild(this);let isConnected;for(const node of nodesImpl){childImpl?domSymbolTree.insertBefore(childImpl,node):domSymbolTree.appendChild(this,node),this.nodeType!==NODE_TYPE.ELEMENT_NODE||null===this._shadowRoot||node.nodeType!==NODE_TYPE.ELEMENT_NODE&&node.nodeType!==NODE_TYPE.TEXT_NODE||assignSlot(node),this._modified(),node.nodeType!==NODE_TYPE.TEXT_NODE&&node.nodeType!==NODE_TYPE.CDATA_SECTION_NODE||this._childTextContentChangeSteps(),isSlot(this)&&0===this._assignedNodes.length&&isShadowRoot(nodeRoot(this))&&signalSlotChange(this);const root=nodeRoot(node);if(isShadowRoot(root)&&assignSlotableForTree(root),this._attached&&nodeImpl._attach&&node._attach(),this._descendantAdded(this,node),void 0===isConnected&&(isConnected=node.isConnected),isConnected)for(const inclusiveDescendant of shadowIncludingInclusiveDescendantsIterator(node))"custom"===inclusiveDescendant._ceState?enqueueCECallbackReaction(inclusiveDescendant,"connectedCallback",[]):tryUpgradeElement(inclusiveDescendant)}suppressObservers||queueTreeMutationRecord(this,nodesImpl,[],previousChildImpl,childImpl)}_append(nodeImpl){return this._preInsert(nodeImpl,null)}_replace(nodeImpl,childImpl){const{nodeType:nodeType,nodeName:nodeName}=nodeImpl,{nodeType:parentType,nodeName:parentName}=this;if(parentType!==NODE_TYPE.DOCUMENT_NODE&&parentType!==NODE_TYPE.DOCUMENT_FRAGMENT_NODE&&parentType!==NODE_TYPE.ELEMENT_NODE)throw DOMException.create(this._globalObject,[`Node can't be inserted in a ${parentName} parent.`,"HierarchyRequestError"]);if(isHostInclusiveAncestor(nodeImpl,this))throw DOMException.create(this._globalObject,["The operation would yield an incorrect node tree.","HierarchyRequestError"]);if(childImpl&&domSymbolTree.parent(childImpl)!==this)throw DOMException.create(this._globalObject,["The child can not be found in the parent.","NotFoundError"]);if(nodeType!==NODE_TYPE.DOCUMENT_FRAGMENT_NODE&&nodeType!==NODE_TYPE.DOCUMENT_TYPE_NODE&&nodeType!==NODE_TYPE.ELEMENT_NODE&&nodeType!==NODE_TYPE.TEXT_NODE&&nodeType!==NODE_TYPE.CDATA_SECTION_NODE&&nodeType!==NODE_TYPE.PROCESSING_INSTRUCTION_NODE&&nodeType!==NODE_TYPE.COMMENT_NODE)throw DOMException.create(this._globalObject,[`${nodeName} node can't be inserted in parent node.`,"HierarchyRequestError"]);if(nodeType===NODE_TYPE.TEXT_NODE&&parentType===NODE_TYPE.DOCUMENT_NODE||nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE&&parentType!==NODE_TYPE.DOCUMENT_NODE)throw DOMException.create(this._globalObject,[`${nodeName} node can't be inserted in ${parentName} parent.`,"HierarchyRequestError"]);if(parentType===NODE_TYPE.DOCUMENT_NODE){const nodeChildren=domSymbolTree.childrenToArray(nodeImpl),parentChildren=domSymbolTree.childrenToArray(this);switch(nodeType){case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:{const nodeChildrenElements=nodeChildren.filter((child=>child.nodeType===NODE_TYPE.ELEMENT_NODE));if(nodeChildrenElements.length>1)throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"]);if(nodeChildren.some((child=>child.nodeType===NODE_TYPE.TEXT_NODE)))throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"]);const parentChildElements=parentChildren.filter((child=>child.nodeType===NODE_TYPE.ELEMENT_NODE));if(1===nodeChildrenElements.length&&(1===parentChildElements.length&&parentChildElements[0]!==childImpl||childImpl&&domSymbolTree.nextSibling(childImpl)&&domSymbolTree.nextSibling(childImpl).nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE))throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"]);break}case NODE_TYPE.ELEMENT_NODE:if(parentChildren.some((child=>child.nodeType===NODE_TYPE.ELEMENT_NODE&&child!==childImpl))||childImpl&&domSymbolTree.nextSibling(childImpl)&&domSymbolTree.nextSibling(childImpl).nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE)throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"]);break;case NODE_TYPE.DOCUMENT_TYPE_NODE:if(parentChildren.some((child=>child.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE&&child!==childImpl))||childImpl&&domSymbolTree.previousSibling(childImpl)&&domSymbolTree.previousSibling(childImpl).nodeType===NODE_TYPE.ELEMENT_NODE)throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"])}}let referenceChildImpl=domSymbolTree.nextSibling(childImpl);referenceChildImpl===nodeImpl&&(referenceChildImpl=domSymbolTree.nextSibling(nodeImpl));const previousSiblingImpl=domSymbolTree.previousSibling(childImpl);this._ownerDocument._adoptNode(nodeImpl);let removedNodesImpl=[];domSymbolTree.parent(childImpl)&&(removedNodesImpl=[childImpl],this._remove(childImpl,!0));const nodesImpl=nodeImpl.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE?domSymbolTree.childrenToArray(nodeImpl):[nodeImpl];return this._insert(nodeImpl,referenceChildImpl,!0),queueTreeMutationRecord(this,nodesImpl,removedNodesImpl,previousSiblingImpl,referenceChildImpl),childImpl}_replaceAll(nodeImpl){null!==nodeImpl&&this._ownerDocument._adoptNode(nodeImpl);const removedNodesImpl=domSymbolTree.childrenToArray(this);let addedNodesImpl;addedNodesImpl=null===nodeImpl?[]:nodeImpl.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE?domSymbolTree.childrenToArray(nodeImpl):[nodeImpl];for(const childImpl of domSymbolTree.childrenIterator(this))this._remove(childImpl,!0);null!==nodeImpl&&this._insert(nodeImpl,null,!0),(addedNodesImpl.length>0||removedNodesImpl.length>0)&&queueTreeMutationRecord(this,addedNodesImpl,removedNodesImpl,null,null)}_preRemove(childImpl){if(domSymbolTree.parent(childImpl)!==this)throw DOMException.create(this._globalObject,["The node to be removed is not a child of this node.","NotFoundError"]);return this._remove(childImpl),childImpl}_remove(nodeImpl,suppressObservers){const index=domSymbolTree.index(nodeImpl);for(const descendant of domSymbolTree.treeIterator(nodeImpl))for(const range of descendant._referencedRanges){const{_start:_start,_end:_end}=range;_start.node===descendant&&range._setLiveRangeStart(this,index),_end.node===descendant&&range._setLiveRangeEnd(this,index)}for(const range of this._referencedRanges){const{_start:_start,_end:_end}=range;_start.node===this&&_start.offset>index&&range._setLiveRangeStart(this,_start.offset-1),_end.node===this&&_end.offset>index&&range._setLiveRangeEnd(this,_end.offset-1)}this._ownerDocument&&this._ownerDocument._runPreRemovingSteps(nodeImpl);const oldPreviousSiblingImpl=domSymbolTree.previousSibling(nodeImpl),oldNextSiblingImpl=domSymbolTree.nextSibling(nodeImpl);domSymbolTree.remove(nodeImpl),nodeImpl._assignedSlot&&assignSlotable(nodeImpl._assignedSlot),isSlot(this)&&0===this._assignedNodes.length&&isShadowRoot(nodeRoot(this))&&signalSlotChange(this);let hasSlotDescendant=isSlot(nodeImpl);if(!hasSlotDescendant)for(const child of domSymbolTree.treeIterator(nodeImpl))if(isSlot(child)){hasSlotDescendant=!0;break}if(hasSlotDescendant&&(assignSlotableForTree(nodeRoot(this)),assignSlotableForTree(nodeImpl)),this._modified(),nodeImpl._detach(),this._descendantRemoved(this,nodeImpl),this.isConnected){"custom"===nodeImpl._ceState&&enqueueCECallbackReaction(nodeImpl,"disconnectedCallback",[]);for(const descendantImpl of shadowIncludingDescendantsIterator(nodeImpl))"custom"===descendantImpl._ceState&&enqueueCECallbackReaction(descendantImpl,"disconnectedCallback",[])}suppressObservers||queueTreeMutationRecord(this,[],[nodeImpl],oldPreviousSiblingImpl,oldNextSiblingImpl),nodeImpl.nodeType===NODE_TYPE.TEXT_NODE&&this._childTextContentChangeSteps()}}}},28835:function(__unused_webpack_module,exports,__webpack_require__){const idlUtils=__webpack_require__(80421);exports.implementation=class NodeListImpl{constructor(globalObject,args,privateData){privateData.nodes?(this._list=[...privateData.nodes],this._isLive=!1):(this._list=[],this._isLive=!0,this._version=-1,this._element=privateData.element,this._query=privateData.query,this._update())}get length(){return this._update(),this._list.length}item(index){return this._update(),this._list[index]||null}_update(){if(this._isLive&&this._version<this._element._version){const snapshot=this._query();for(let i=0;i<snapshot.length;i++)this._list[i]=snapshot[i];this._list.length=snapshot.length,this._version=this._element._version}}get[idlUtils.supportedPropertyIndices](){return this._update(),this._list.keys()}}},95522:function(module,__unused_webpack_exports,__webpack_require__){const{domSymbolTree:domSymbolTree}=__webpack_require__(15415),NODE_TYPE=__webpack_require__(51445);module.exports={implementation:class NonDocumentTypeChildNodeImpl{get nextElementSibling(){for(const sibling of domSymbolTree.nextSiblingsIterator(this))if(sibling.nodeType===NODE_TYPE.ELEMENT_NODE)return sibling;return null}get previousElementSibling(){for(const sibling of domSymbolTree.previousSiblingsIterator(this))if(sibling.nodeType===NODE_TYPE.ELEMENT_NODE)return sibling;return null}}}},73719:function(module){module.exports={implementation:class NonElementParentNodeImpl{}}},67253:function(module,__unused_webpack_exports,__webpack_require__){const idlUtils=__webpack_require__(80421),NodeList=__webpack_require__(42850),HTMLCollection=__webpack_require__(76270),{addNwsapi:addNwsapi}=__webpack_require__(14526),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),NODE_TYPE=__webpack_require__(51445),{convertNodesIntoNode:convertNodesIntoNode}=__webpack_require__(72878);function shouldAlwaysSelectNothing(elImpl){return elImpl===elImpl._ownerDocument&&!elImpl.documentElement}module.exports={implementation:class ParentNodeImpl{get children(){return this._childrenList?this._childrenList._update():this._childrenList=HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>domSymbolTree.childrenToArray(this,{filter:node=>node.nodeType===NODE_TYPE.ELEMENT_NODE})}),this._childrenList}get firstElementChild(){for(const child of domSymbolTree.childrenIterator(this))if(child.nodeType===NODE_TYPE.ELEMENT_NODE)return child;return null}get lastElementChild(){for(const child of domSymbolTree.childrenIterator(this,{reverse:!0}))if(child.nodeType===NODE_TYPE.ELEMENT_NODE)return child;return null}get childElementCount(){return this.children.length}prepend(...nodes){this._preInsert(convertNodesIntoNode(this._ownerDocument,nodes),this.firstChild)}append(...nodes){this._append(convertNodesIntoNode(this._ownerDocument,nodes))}replaceChildren(...nodes){const node=convertNodesIntoNode(this._ownerDocument,nodes);this._preInsertValidity(node,null),this._replaceAll(node)}querySelector(selectors){if(shouldAlwaysSelectNothing(this))return null;const matcher=addNwsapi(this);return idlUtils.implForWrapper(matcher.first(selectors,idlUtils.wrapperForImpl(this)))}querySelectorAll(selectors){if(shouldAlwaysSelectNothing(this))return NodeList.create(this._globalObject,[],{nodes:[]});const list=addNwsapi(this).select(selectors,idlUtils.wrapperForImpl(this));return NodeList.create(this._globalObject,[],{nodes:list.map((n=>idlUtils.tryImplForWrapper(n)))})}}}},16015:function(module,__unused_webpack_exports,__webpack_require__){const CharacterDataImpl=__webpack_require__(83562).implementation,NODE_TYPE=__webpack_require__(51445);module.exports={implementation:class ProcessingInstructionImpl extends CharacterDataImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this.nodeType=NODE_TYPE.PROCESSING_INSTRUCTION_NODE,this._target=privateData.target}get target(){return this._target}}}},4792:function(__unused_webpack_module,exports,__webpack_require__){const{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{SVG_NS:SVG_NS}=__webpack_require__(65676),{mixin:mixin}=__webpack_require__(54641),SVGAnimatedString=__webpack_require__(51011),ElementImpl=__webpack_require__(54067).implementation,ElementCSSInlineStyleImpl=__webpack_require__(92770).implementation,GlobalEventHandlersImpl=__webpack_require__(76115).implementation,HTMLOrSVGElementImpl=__webpack_require__(71886).i;class SVGElementImpl extends ElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._initHTMLOrSVGElement(),this._initElementCSSInlineStyle(),this._initGlobalEvents()}_attrModified(name,value,oldValue){"style"!==name||value===oldValue||this._settingCssText?name.startsWith("on")&&this._globalEventChanged(name.substring(2)):(this._settingCssText=!0,this._style.cssText=value,this._settingCssText=!1),super._attrModified(name,value,oldValue)}get className(){return SVGAnimatedString.createImpl(this._globalObject,[],{element:this,attribute:"class"})}get ownerSVGElement(){let e=domSymbolTree.parent(this);for(;e&&e.namespaceURI===SVG_NS;){if("svg"===e.localName)return e;e=domSymbolTree.parent(e)}return null}get viewportElement(){return this.ownerSVGElement}}SVGElementImpl.attributeRegistry=new Map,mixin(SVGElementImpl.prototype,ElementCSSInlineStyleImpl.prototype),mixin(SVGElementImpl.prototype,GlobalEventHandlersImpl.prototype),mixin(SVGElementImpl.prototype,HTMLOrSVGElementImpl.prototype),exports.implementation=SVGElementImpl},68366:function(__unused_webpack_module,exports,__webpack_require__){const{mixin:mixin}=__webpack_require__(54641),SVGElementImpl=__webpack_require__(4792).implementation,SVGTestsImpl=__webpack_require__(89417).i;class SVGGraphicsElementImpl extends SVGElementImpl{}SVGGraphicsElementImpl.attributeRegistry=new Map([...SVGElementImpl.attributeRegistry,...SVGTestsImpl.attributeRegistry]),mixin(SVGGraphicsElementImpl.prototype,SVGTestsImpl.prototype),exports.implementation=SVGGraphicsElementImpl},86107:function(module,__unused_webpack_exports,__webpack_require__){const{mixin:mixin}=__webpack_require__(54641),SVGNumber=__webpack_require__(12842),SVGGraphicsElementImpl=__webpack_require__(68366).implementation,WindowEventHandlersImpl=__webpack_require__(89756).implementation,{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{ELEMENT_NODE:ELEMENT_NODE}=__webpack_require__(51445);class SVGSVGElementImpl extends SVGGraphicsElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData),this._proxyWindowEventsToWindow()}createSVGNumber(){return SVGNumber.createImpl(this._globalObject,[],{})}getElementById(elementId){for(const node of domSymbolTree.treeIterator(this))if(node.nodeType===ELEMENT_NODE&&node.getAttributeNS(null,"id")===elementId)return node;return null}suspendRedraw(){return 1}unsuspendRedraw(){}unsuspendRedrawAll(){}forceRedraw(){}}mixin(SVGSVGElementImpl.prototype,WindowEventHandlersImpl.prototype),module.exports={implementation:SVGSVGElementImpl}},89417:function(__unused_webpack_module,exports,__webpack_require__){const{splitOnASCIIWhitespace:splitOnASCIIWhitespace,splitOnCommas:splitOnCommas}=__webpack_require__(27896),{reserializeCommaSeparatedTokens:reserializeCommaSeparatedTokens,reserializeSpaceSeparatedTokens:reserializeSpaceSeparatedTokens}=__webpack_require__(56898),SVGStringList=__webpack_require__(68438);class SVGTestsImpl{get requiredExtensions(){return SVGStringList.createImpl(this._globalObject,[],{element:this,attribute:"requiredExtensions"})}get systemLanguage(){return SVGStringList.createImpl(this._globalObject,[],{element:this,attribute:"systemLanguage"})}}SVGTestsImpl.attributeRegistry=new Map([["requiredExtensions",{getValue:splitOnASCIIWhitespace,serialize:reserializeSpaceSeparatedTokens,initialValue:void 0}],["systemLanguage",{getValue:splitOnCommas,serialize:reserializeCommaSeparatedTokens,initialValue:void 0}]]),exports.i=SVGTestsImpl},9544:function(module,__unused_webpack_exports,__webpack_require__){const SVGElementImpl=__webpack_require__(4792).implementation;module.exports={implementation:class SVGTitleElementImpl extends SVGElementImpl{}}},61232:function(module,__unused_webpack_exports,__webpack_require__){const{nodeRoot:nodeRoot}=__webpack_require__(23809),{mixin:mixin}=__webpack_require__(54641),DocumentFragment=__webpack_require__(34059).implementation,DocumentOrShadowRootImpl=__webpack_require__(72500).implementation,InnerHTMLImpl=__webpack_require__(51525).i;class ShadowRootImpl extends DocumentFragment{constructor(globalObject,args,privateData){super(globalObject,args,privateData);const{mode:mode}=privateData;this._mode=mode}_getTheParent(event){return event.composed||this!==nodeRoot(event._path[0].item)?this._host:null}get mode(){return this._mode}get host(){return this._host}}mixin(ShadowRootImpl.prototype,DocumentOrShadowRootImpl.prototype),mixin(ShadowRootImpl.prototype,InnerHTMLImpl.prototype),module.exports={implementation:ShadowRootImpl}},63166:function(module,__unused_webpack_exports,__webpack_require__){const{findSlot:findSlot,assignSlot:assignSlot,assignSlotable:assignSlotable}=__webpack_require__(96671);module.exports={implementation:class SlotableMixinImpl{_initSlotableMixin(){this._slotableName=""}_attrModifiedSlotableMixin(name,value,oldValue){if("slot"===name){if(value===oldValue)return;if(null===value&&""===oldValue)return;if(""===value&&null===oldValue)return;this._slotableName=null===value||""===value?"":value,this._assignedSlot&&assignSlotable(this._assignedSlot),assignSlot(this)}}get assignedSlot(){return findSlot(this,"open")}}}},68746:function(module,__unused_webpack_exports,__webpack_require__){const SlotableMixinImpl=__webpack_require__(63166).implementation,CharacterDataImpl=__webpack_require__(83562).implementation,idlUtils=__webpack_require__(80421),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),DOMException=__webpack_require__(69026),NODE_TYPE=__webpack_require__(51445),{mixin:mixin}=__webpack_require__(54641);class TextImpl extends CharacterDataImpl{constructor(globalObject,args,privateData){super(globalObject,args,{data:args[0],ownerDocument:idlUtils.implForWrapper(globalObject._document),...privateData}),this._initSlotableMixin(),this.nodeType=NODE_TYPE.TEXT_NODE}splitText(offset){const{length:length}=this;if(offset>length)throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"]);const count=length-offset,newData=this.substringData(offset,count),newNode=this._ownerDocument.createTextNode(newData),parent=domSymbolTree.parent(this);if(null!==parent){parent._insert(newNode,this.nextSibling);for(const range of this._referencedRanges){const{_start:_start,_end:_end}=range;_start.node===this&&_start.offset>offset&&range._setLiveRangeStart(newNode,_start.offset-offset),_end.node===this&&_end.offset>offset&&range._setLiveRangeEnd(newNode,_end.offset-offset)}const nodeIndex=domSymbolTree.index(this);for(const range of parent._referencedRanges){const{_start:_start,_end:_end}=range;_start.node===parent&&_start.offset===nodeIndex+1&&range._setLiveRangeStart(parent,_start.offset+1),_end.node===parent&&_end.offset===nodeIndex+1&&range._setLiveRangeEnd(parent,_end.offset+1)}}return this.replaceData(offset,count,""),newNode}get wholeText(){let next,wholeText=this.textContent,current=this;for(;(next=domSymbolTree.previousSibling(current))&&next.nodeType===NODE_TYPE.TEXT_NODE;)wholeText=next.textContent+wholeText,current=next;for(current=this;(next=domSymbolTree.nextSibling(current))&&next.nodeType===NODE_TYPE.TEXT_NODE;)wholeText+=next.textContent,current=next;return wholeText}}mixin(TextImpl.prototype,SlotableMixinImpl.prototype),module.exports={implementation:TextImpl}},89756:function(module,__unused_webpack_exports,__webpack_require__){const{createEventAccessor:createEventAccessor}=__webpack_require__(90653),events=new Set(["afterprint","beforeprint","beforeunload","hashchange","languagechange","message","messageerror","offline","online","pagehide","pageshow","popstate","rejectionhandled","storage","unhandledrejection","unload","blur","error","focus","load","resize","scroll"]);class WindowEventHandlersImpl{_proxyWindowEventsToWindow(){this._getEventHandlerTarget=event=>events.has(event)?this.ownerDocument.defaultView||null:this}}for(const event of events)createEventAccessor(WindowEventHandlersImpl.prototype,event);module.exports={implementation:WindowEventHandlersImpl}},76057:function(__unused_webpack_module,exports,__webpack_require__){const DocumentImpl=__webpack_require__(61531).implementation;exports.implementation=class XMLDocumentImpl extends DocumentImpl{}},94612:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),MessageEvent=__webpack_require__(25970),idlUtils=__webpack_require__(80421),{isValidTargetOrigin:isValidTargetOrigin}=__webpack_require__(54641),{fireAnEvent:fireAnEvent}=__webpack_require__(96799);module.exports=function(globalObject){return function(message,targetOrigin){if(arguments.length<2)throw new TypeError("'postMessage' requires 2 arguments: 'message' and 'targetOrigin'");if(targetOrigin=String(targetOrigin),!isValidTargetOrigin(targetOrigin))throw DOMException.create(globalObject,["Failed to execute 'postMessage' on 'Window': Invalid target origin '"+targetOrigin+"' in a call to 'postMessage'.","SyntaxError"]);"*"!==targetOrigin&&targetOrigin!==idlUtils.implForWrapper(globalObject._document)._origin||setTimeout((()=>{fireAnEvent("message",this,MessageEvent,{data:message})}),0)}}},41120:function(module){module.exports={implementation:class AbstractRangeImpl{constructor(globalObject,args,privateData){const{start:start,end:end}=privateData;this._start=start,this._end=end,this._globalObject=globalObject}get startContainer(){return this._start.node}get startOffset(){return this._start.offset}get endContainer(){return this._end.node}get endOffset(){return this._end.offset}get collapsed(){const{_start:_start,_end:_end}=this;return _start.node===_end.node&&_start.offset===_end.offset}}}},78913:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),{clone:clone}=__webpack_require__(72878),NODE_TYPE=__webpack_require__(51445),{parseFragment:parseFragment}=__webpack_require__(63770),{HTML_NS:HTML_NS}=__webpack_require__(65676),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{compareBoundaryPointsPosition:compareBoundaryPointsPosition}=__webpack_require__(2971),{nodeRoot:nodeRoot,nodeLength:nodeLength,isInclusiveAncestor:isInclusiveAncestor}=__webpack_require__(23809),{createElement:createElement}=__webpack_require__(42018),AbstractRangeImpl=__webpack_require__(41120).implementation,Range=__webpack_require__(74318),DocumentFragment=__webpack_require__(35968),{implForWrapper:implForWrapper}=__webpack_require__(80421),RANGE_COMPARISON_TYPE_START_TO_START=0,RANGE_COMPARISON_TYPE_START_TO_END=1,RANGE_COMPARISON_TYPE_END_TO_END=2,RANGE_COMPARISON_TYPE_END_TO_START=3;function nextNodeDescendant(node){for(;node&&!domSymbolTree.nextSibling(node);)node=domSymbolTree.parent(node);return node?domSymbolTree.nextSibling(node):null}function validateSetBoundaryPoint(node,offset){if(node.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE)throw DOMException.create(node._globalObject,["DocumentType Node can't be used as boundary point.","InvalidNodeTypeError"]);if(offset>nodeLength(node))throw DOMException.create(node._globalObject,["Offset out of bound.","IndexSizeError"])}function setBoundaryPointStart(range,node,offset){validateSetBoundaryPoint(node,offset);const bp={node:node,offset:offset};nodeRoot(node)===range._root&&1!==compareBoundaryPointsPosition(bp,range._end)||range._setLiveRangeEnd(node,offset),range._setLiveRangeStart(node,offset)}function setBoundaryPointEnd(range,node,offset){validateSetBoundaryPoint(node,offset);const bp={node:node,offset:offset};nodeRoot(node)===range._root&&-1!==compareBoundaryPointsPosition(bp,range._start)||range._setLiveRangeStart(node,offset),range._setLiveRangeEnd(node,offset)}function selectNodeWithinRange(node,range){const parent=domSymbolTree.parent(node);if(!parent)throw DOMException.create(node._globalObject,["The given Node has no parent.","InvalidNodeTypeError"]);const index=domSymbolTree.index(node);range._setLiveRangeStart(parent,index),range._setLiveRangeEnd(parent,index+1)}function isContained(node,range){const{_start:_start,_end:_end}=range;return 1===compareBoundaryPointsPosition({node:node,offset:0},_start)&&-1===compareBoundaryPointsPosition({node:node,offset:nodeLength(node)},_end)}function isPartiallyContained(node,range){const{_start:_start,_end:_end}=range;return isInclusiveAncestor(node,_start.node)&&!isInclusiveAncestor(node,_end.node)||!isInclusiveAncestor(node,_start.node)&&isInclusiveAncestor(node,_end.node)}function insertNodeInRange(node,range){const{node:startNode,offset:startOffset}=range._start;if(startNode.nodeType===NODE_TYPE.PROCESSING_INSTRUCTION_NODE||startNode.nodeType===NODE_TYPE.COMMENT_NODE||startNode.nodeType===NODE_TYPE.TEXT_NODE&&!domSymbolTree.parent(startNode)||node===startNode)throw DOMException.create(node._globalObject,["Invalid start node.","HierarchyRequestError"]);let referenceNode=startNode.nodeType===NODE_TYPE.TEXT_NODE?startNode:domSymbolTree.childrenToArray(startNode)[startOffset]||null;const parent=referenceNode?domSymbolTree.parent(referenceNode):startNode;parent._preInsertValidity(node,referenceNode),startNode.nodeType===NODE_TYPE.TEXT_NODE&&(referenceNode=startNode.splitText(startOffset)),node===referenceNode&&(referenceNode=domSymbolTree.nextSibling(referenceNode));const nodeParent=domSymbolTree.parent(node);nodeParent&&nodeParent.removeChild(node);let newOffset=referenceNode?domSymbolTree.index(referenceNode):nodeLength(parent);newOffset+=node.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE?nodeLength(node):1,parent.insertBefore(node,referenceNode),range.collapsed&&range._setLiveRangeEnd(parent,newOffset)}function cloneRange(range){const{_start:originalStart,_end:originalEnd,_globalObject:_globalObject}=range,fragment=DocumentFragment.createImpl(_globalObject,[],{ownerDocument:originalStart.node._ownerDocument});if(range.collapsed)return fragment;if(originalStart.node===originalEnd.node&&(originalStart.node.nodeType===NODE_TYPE.TEXT_NODE||originalStart.node.nodeType===NODE_TYPE.PROCESSING_INSTRUCTION_NODE||originalStart.node.nodeType===NODE_TYPE.COMMENT_NODE)){const cloned=clone(originalStart.node);return cloned._data=cloned.substringData(originalStart.offset,originalEnd.offset-originalStart.offset),fragment.appendChild(cloned),fragment}let commonAncestor=originalStart.node;for(;!isInclusiveAncestor(commonAncestor,originalEnd.node);)commonAncestor=domSymbolTree.parent(commonAncestor);let firstPartialContainedChild=null;if(!isInclusiveAncestor(originalStart.node,originalEnd.node)){let candidate=domSymbolTree.firstChild(commonAncestor);for(;!firstPartialContainedChild;)isPartiallyContained(candidate,range)&&(firstPartialContainedChild=candidate),candidate=domSymbolTree.nextSibling(candidate)}let lastPartiallyContainedChild=null;if(!isInclusiveAncestor(originalEnd.node,originalStart.node)){let candidate=domSymbolTree.lastChild(commonAncestor);for(;!lastPartiallyContainedChild;)isPartiallyContained(candidate,range)&&(lastPartiallyContainedChild=candidate),candidate=domSymbolTree.previousSibling(candidate)}const containedChildren=domSymbolTree.childrenToArray(commonAncestor).filter((node=>isContained(node,range)));if(containedChildren.some((node=>node.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE)))throw DOMException.create(range._globalObject,["Invalid document type element.","HierarchyRequestError"]);if(null===firstPartialContainedChild||firstPartialContainedChild.nodeType!==NODE_TYPE.TEXT_NODE&&firstPartialContainedChild.nodeType!==NODE_TYPE.PROCESSING_INSTRUCTION_NODE&&firstPartialContainedChild.nodeType!==NODE_TYPE.COMMENT_NODE){if(null!==firstPartialContainedChild){const cloned=clone(firstPartialContainedChild);fragment.appendChild(cloned);const subfragment=cloneRange(Range.createImpl(_globalObject,[],{start:{node:originalStart.node,offset:originalStart.offset},end:{node:firstPartialContainedChild,offset:nodeLength(firstPartialContainedChild)}}));cloned.appendChild(subfragment)}}else{const cloned=clone(originalStart.node);cloned._data=cloned.substringData(originalStart.offset,nodeLength(originalStart.node)-originalStart.offset),fragment.appendChild(cloned)}for(const containedChild of containedChildren){const cloned=clone(containedChild,void 0,!0);fragment.appendChild(cloned)}if(null===lastPartiallyContainedChild||lastPartiallyContainedChild.nodeType!==NODE_TYPE.TEXT_NODE&&lastPartiallyContainedChild.nodeType!==NODE_TYPE.PROCESSING_INSTRUCTION_NODE&&lastPartiallyContainedChild.nodeType!==NODE_TYPE.COMMENT_NODE){if(null!==lastPartiallyContainedChild){const cloned=clone(lastPartiallyContainedChild);fragment.appendChild(cloned);const subfragment=cloneRange(Range.createImpl(_globalObject,[],{start:{node:lastPartiallyContainedChild,offset:0},end:{node:originalEnd.node,offset:originalEnd.offset}}));cloned.appendChild(subfragment)}}else{const cloned=clone(originalEnd.node);cloned._data=cloned.substringData(0,originalEnd.offset),fragment.appendChild(cloned)}return fragment}function extractRange(range){const{_start:originalStart,_end:originalEnd,_globalObject:_globalObject}=range,fragment=DocumentFragment.createImpl(_globalObject,[],{ownerDocument:originalStart.node._ownerDocument});if(range.collapsed)return fragment;if(originalStart.node===originalEnd.node&&(originalStart.node.nodeType===NODE_TYPE.TEXT_NODE||originalStart.node.nodeType===NODE_TYPE.PROCESSING_INSTRUCTION_NODE||originalStart.node.nodeType===NODE_TYPE.COMMENT_NODE)){const cloned=clone(originalStart.node);return cloned._data=cloned.substringData(originalStart.offset,originalEnd.offset-originalStart.offset),fragment.appendChild(cloned),originalStart.node.replaceData(originalStart.offset,originalEnd.offset-originalStart.offset,""),fragment}let commonAncestor=originalStart.node;for(;!isInclusiveAncestor(commonAncestor,originalEnd.node);)commonAncestor=domSymbolTree.parent(commonAncestor);let firstPartialContainedChild=null;if(!isInclusiveAncestor(originalStart.node,originalEnd.node)){let candidate=domSymbolTree.firstChild(commonAncestor);for(;!firstPartialContainedChild;)isPartiallyContained(candidate,range)&&(firstPartialContainedChild=candidate),candidate=domSymbolTree.nextSibling(candidate)}let lastPartiallyContainedChild=null;if(!isInclusiveAncestor(originalEnd.node,originalStart.node)){let candidate=domSymbolTree.lastChild(commonAncestor);for(;!lastPartiallyContainedChild;)isPartiallyContained(candidate,range)&&(lastPartiallyContainedChild=candidate),candidate=domSymbolTree.previousSibling(candidate)}const containedChildren=domSymbolTree.childrenToArray(commonAncestor).filter((node=>isContained(node,range)));if(containedChildren.some((node=>node.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE)))throw DOMException.create(range._globalObject,["Invalid document type element.","HierarchyRequestError"]);let newNode,newOffset;if(isInclusiveAncestor(originalStart.node,originalEnd.node))newNode=originalStart.node,newOffset=originalStart.offset;else{let referenceNode=originalStart.node;for(;referenceNode&&!isInclusiveAncestor(domSymbolTree.parent(referenceNode),originalEnd.node);)referenceNode=domSymbolTree.parent(referenceNode);newNode=domSymbolTree.parent(referenceNode),newOffset=domSymbolTree.index(referenceNode)+1}if(null===firstPartialContainedChild||firstPartialContainedChild.nodeType!==NODE_TYPE.TEXT_NODE&&firstPartialContainedChild.nodeType!==NODE_TYPE.PROCESSING_INSTRUCTION_NODE&&firstPartialContainedChild.nodeType!==NODE_TYPE.COMMENT_NODE){if(null!==firstPartialContainedChild){const cloned=clone(firstPartialContainedChild);fragment.appendChild(cloned);const subfragment=extractRange(Range.createImpl(_globalObject,[],{start:{node:originalStart.node,offset:originalStart.offset},end:{node:firstPartialContainedChild,offset:nodeLength(firstPartialContainedChild)}}));cloned.appendChild(subfragment)}}else{const cloned=clone(originalStart.node);cloned._data=cloned.substringData(originalStart.offset,nodeLength(originalStart.node)-originalStart.offset),fragment.appendChild(cloned),originalStart.node.replaceData(originalStart.offset,nodeLength(originalStart.node)-originalStart.offset,"")}for(const containedChild of containedChildren)fragment.appendChild(containedChild);if(null===lastPartiallyContainedChild||lastPartiallyContainedChild.nodeType!==NODE_TYPE.TEXT_NODE&&lastPartiallyContainedChild.nodeType!==NODE_TYPE.PROCESSING_INSTRUCTION_NODE&&lastPartiallyContainedChild.nodeType!==NODE_TYPE.COMMENT_NODE){if(null!==lastPartiallyContainedChild){const cloned=clone(lastPartiallyContainedChild);fragment.appendChild(cloned);const subfragment=extractRange(Range.createImpl(_globalObject,[],{start:{node:lastPartiallyContainedChild,offset:0},end:{node:originalEnd.node,offset:originalEnd.offset}}));cloned.appendChild(subfragment)}}else{const cloned=clone(originalEnd.node);cloned._data=cloned.substringData(0,originalEnd.offset),fragment.appendChild(cloned),originalEnd.node.replaceData(0,originalEnd.offset,"")}return range._setLiveRangeStart(newNode,newOffset),range._setLiveRangeEnd(newNode,newOffset),fragment}module.exports={implementation:class RangeImpl extends AbstractRangeImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);const defaultBoundaryPoint={node:implForWrapper(globalObject._document),offset:0},{start:start=defaultBoundaryPoint,end:end=defaultBoundaryPoint}=privateData;this._setLiveRangeStart(start.node,start.offset),this._setLiveRangeEnd(end.node,end.offset)}get commonAncestorContainer(){const{_start:_start,_end:_end}=this;for(const container of domSymbolTree.ancestorsIterator(_start.node))if(isInclusiveAncestor(container,_end.node))return container;return null}setStart(node,offset){setBoundaryPointStart(this,node,offset)}setEnd(node,offset){setBoundaryPointEnd(this,node,offset)}setStartBefore(node){const parent=domSymbolTree.parent(node);if(!parent)throw DOMException.create(this._globalObject,["The given Node has no parent.","InvalidNodeTypeError"]);setBoundaryPointStart(this,parent,domSymbolTree.index(node))}setStartAfter(node){const parent=domSymbolTree.parent(node);if(!parent)throw DOMException.create(this._globalObject,["The given Node has no parent.","InvalidNodeTypeError"]);setBoundaryPointStart(this,parent,domSymbolTree.index(node)+1)}setEndBefore(node){const parent=domSymbolTree.parent(node);if(!parent)throw DOMException.create(this._globalObject,["The given Node has no parent.","InvalidNodeTypeError"]);setBoundaryPointEnd(this,parent,domSymbolTree.index(node))}setEndAfter(node){const parent=domSymbolTree.parent(node);if(!parent)throw DOMException.create(this._globalObject,["The given Node has no parent.","InvalidNodeTypeError"]);setBoundaryPointEnd(this,parent,domSymbolTree.index(node)+1)}collapse(toStart){toStart?this._setLiveRangeEnd(this._start.node,this._start.offset):this._setLiveRangeStart(this._end.node,this._end.offset)}selectNode(node){selectNodeWithinRange(node,this)}selectNodeContents(node){if(node.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE)throw DOMException.create(this._globalObject,["DocumentType Node can't be used as boundary point.","InvalidNodeTypeError"]);const length=nodeLength(node);this._setLiveRangeStart(node,0),this._setLiveRangeEnd(node,length)}compareBoundaryPoints(how,sourceRange){if(how!==RANGE_COMPARISON_TYPE_START_TO_START&&how!==RANGE_COMPARISON_TYPE_START_TO_END&&how!==RANGE_COMPARISON_TYPE_END_TO_END&&how!==RANGE_COMPARISON_TYPE_END_TO_START){const message="The comparison method provided must be one of 'START_TO_START', 'START_TO_END', 'END_TO_END', or 'END_TO_START'.";throw DOMException.create(this._globalObject,[message,"NotSupportedError"])}if(this._root!==sourceRange._root)throw DOMException.create(this._globalObject,["The two Ranges are not in the same tree.","WrongDocumentError"]);let thisPoint,otherPoint;return how===RANGE_COMPARISON_TYPE_START_TO_START?(thisPoint=this._start,otherPoint=sourceRange._start):how===RANGE_COMPARISON_TYPE_START_TO_END?(thisPoint=this._end,otherPoint=sourceRange._start):how===RANGE_COMPARISON_TYPE_END_TO_END?(thisPoint=this._end,otherPoint=sourceRange._end):(thisPoint=this._start,otherPoint=sourceRange._end),compareBoundaryPointsPosition(thisPoint,otherPoint)}deleteContents(){if(this.collapsed)return;const{_start:originalStart,_end:originalEnd}=this;if(originalStart.node===originalEnd.node&&(originalStart.node.nodeType===NODE_TYPE.TEXT_NODE||originalStart.node.nodeType===NODE_TYPE.PROCESSING_INSTRUCTION_NODE||originalStart.node.nodeType===NODE_TYPE.COMMENT_NODE))return void originalStart.node.replaceData(originalStart.offset,originalEnd.offset-originalStart.offset,"");const nodesToRemove=[];let currentNode=this._start.node;const endNode=nextNodeDescendant(this._end.node);for(;currentNode&¤tNode!==endNode;)isContained(currentNode,this)&&!isContained(domSymbolTree.parent(currentNode),this)&&nodesToRemove.push(currentNode),currentNode=domSymbolTree.following(currentNode);let newNode,newOffset;if(isInclusiveAncestor(originalStart.node,originalEnd.node))newNode=originalStart.node,newOffset=originalStart.offset;else{let referenceNode=originalStart.node;for(;referenceNode&&!isInclusiveAncestor(domSymbolTree.parent(referenceNode),originalEnd.node);)referenceNode=domSymbolTree.parent(referenceNode);newNode=domSymbolTree.parent(referenceNode),newOffset=domSymbolTree.index(referenceNode)+1}originalStart.node.nodeType!==NODE_TYPE.TEXT_NODE&&originalStart.node.nodeType!==NODE_TYPE.PROCESSING_INSTRUCTION_NODE&&originalStart.node.nodeType!==NODE_TYPE.COMMENT_NODE||originalStart.node.replaceData(originalStart.offset,nodeLength(originalStart.node)-originalStart.offset,"");for(const node of nodesToRemove){domSymbolTree.parent(node).removeChild(node)}originalEnd.node.nodeType!==NODE_TYPE.TEXT_NODE&&originalEnd.node.nodeType!==NODE_TYPE.PROCESSING_INSTRUCTION_NODE&&originalEnd.node.nodeType!==NODE_TYPE.COMMENT_NODE||originalEnd.node.replaceData(0,originalEnd.offset,""),this._setLiveRangeStart(newNode,newOffset),this._setLiveRangeEnd(newNode,newOffset)}extractContents(){return extractRange(this)}cloneContents(){return cloneRange(this)}insertNode(node){insertNodeInRange(node,this)}surroundContents(newParent){let node=this.commonAncestorContainer;const endNode=nextNodeDescendant(node);for(;node!==endNode;){if(node.nodeType!==NODE_TYPE.TEXT_NODE&&isPartiallyContained(node,this))throw DOMException.create(this._globalObject,["The Range has partially contains a non-Text node.","InvalidStateError"]);node=domSymbolTree.following(node)}if(newParent.nodeType===NODE_TYPE.DOCUMENT_NODE||newParent.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE||newParent.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE)throw DOMException.create(this._globalObject,["Invalid element type.","InvalidNodeTypeError"]);const fragment=extractRange(this);for(;domSymbolTree.firstChild(newParent);)newParent.removeChild(domSymbolTree.firstChild(newParent));insertNodeInRange(newParent,this),newParent.appendChild(fragment),selectNodeWithinRange(newParent,this)}cloneRange(){const{_start:_start,_end:_end,_globalObject:_globalObject}=this;return Range.createImpl(_globalObject,[],{start:{node:_start.node,offset:_start.offset},end:{node:_end.node,offset:_end.offset}})}detach(){}isPointInRange(node,offset){if(nodeRoot(node)!==this._root)return!1;validateSetBoundaryPoint(node,offset);const bp={node:node,offset:offset};return-1!==compareBoundaryPointsPosition(bp,this._start)&&1!==compareBoundaryPointsPosition(bp,this._end)}comparePoint(node,offset){if(nodeRoot(node)!==this._root)throw DOMException.create(this._globalObject,["The given Node and the Range are not in the same tree.","WrongDocumentError"]);validateSetBoundaryPoint(node,offset);const bp={node:node,offset:offset};return-1===compareBoundaryPointsPosition(bp,this._start)?-1:1===compareBoundaryPointsPosition(bp,this._end)?1:0}intersectsNode(node){if(nodeRoot(node)!==this._root)return!1;const parent=domSymbolTree.parent(node);if(!parent)return!0;const offset=domSymbolTree.index(node);return-1===compareBoundaryPointsPosition({node:parent,offset:offset},this._end)&&1===compareBoundaryPointsPosition({node:parent,offset:offset+1},this._start)}toString(){let s="";const{_start:_start,_end:_end}=this;if(_start.node===_end.node&&_start.node.nodeType===NODE_TYPE.TEXT_NODE)return _start.node.data.slice(_start.offset,_end.offset);_start.node.nodeType===NODE_TYPE.TEXT_NODE&&(s+=_start.node.data.slice(_start.offset));let currentNode=_start.node;const endNode=nextNodeDescendant(_end.node);for(;currentNode&¤tNode!==endNode;)currentNode.nodeType===NODE_TYPE.TEXT_NODE&&isContained(currentNode,this)&&(s+=currentNode.data),currentNode=domSymbolTree.following(currentNode);return _end.node.nodeType===NODE_TYPE.TEXT_NODE&&(s+=_end.node.data.slice(0,_end.offset)),s}createContextualFragment(fragment){const{node:node}=this._start;let element;switch(node.nodeType){case NODE_TYPE.DOCUMENT_NODE:case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:element=null;break;case NODE_TYPE.ELEMENT_NODE:element=node;break;case NODE_TYPE.TEXT_NODE:case NODE_TYPE.COMMENT_NODE:element=node.parentElement;break;default:throw new Error("Internal error: Invalid range start node")}return(null===element||"html"===element._ownerDocument._parsingMode&&"html"===element._localName&&element._namespaceURI===HTML_NS)&&(element=createElement(node._ownerDocument,"body",HTML_NS)),parseFragment(fragment,element)}get _root(){return nodeRoot(this._start.node)}_setLiveRangeStart(node,offset){this._start&&this._start.node!==node&&this._start.node!==this._end.node&&this._start.node._referencedRanges.delete(this),node._referencedRanges.has(this)||node._referencedRanges.add(this),this._start={node:node,offset:offset}}_setLiveRangeEnd(node,offset){this._end&&this._end.node!==node&&this._end.node!==this._start.node&&this._end.node._referencedRanges.delete(this),node._referencedRanges.has(this)||node._referencedRanges.add(this),this._end={node:node,offset:offset}}},setBoundaryPointStart:setBoundaryPointStart,setBoundaryPointEnd:setBoundaryPointEnd}},2996:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),NODE_TYPE=__webpack_require__(51445),AbstractRangeImpl=__webpack_require__(41120).implementation;module.exports={implementation:class StaticRangeImpl extends AbstractRangeImpl{constructor(globalObject,args){const{startContainer:startContainer,startOffset:startOffset,endContainer:endContainer,endOffset:endOffset}=args[0];if(startContainer.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE||startContainer.nodeType===NODE_TYPE.ATTRIBUTE_NODE||endContainer.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE||endContainer.nodeType===NODE_TYPE.ATTRIBUTE_NODE)throw DOMException.create(globalObject,["The supplied node is incorrect.","InvalidNodeTypeError"]);super(globalObject,[],{start:{node:startContainer,offset:startOffset},end:{node:endContainer,offset:endOffset}})}}}},2971:function(module,__unused_webpack_exports,__webpack_require__){const{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{nodeRoot:nodeRoot,isFollowing:isFollowing,isInclusiveAncestor:isInclusiveAncestor}=__webpack_require__(23809);module.exports={compareBoundaryPointsPosition:function compareBoundaryPointsPosition(bpA,bpB){const{node:nodeA,offset:offsetA}=bpA,{node:nodeB,offset:offsetB}=bpB;if(nodeRoot(nodeA)!==nodeRoot(nodeB))throw new Error("Internal Error: Boundary points should have the same root!");if(nodeA===nodeB)return offsetA===offsetB?0:offsetA<offsetB?-1:1;if(isFollowing(nodeA,nodeB))return-1===compareBoundaryPointsPosition(bpB,bpA)?1:-1;if(isInclusiveAncestor(nodeA,nodeB)){let child=nodeB;for(;domSymbolTree.parent(child)!==nodeA;)child=domSymbolTree.parent(child);if(domSymbolTree.index(child)<offsetA)return 1}return-1}}},9548:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),NODE_TYPE=__webpack_require__(51445),{nodeLength:nodeLength,nodeRoot:nodeRoot}=__webpack_require__(23809),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{compareBoundaryPointsPosition:compareBoundaryPointsPosition}=__webpack_require__(2971),{setBoundaryPointStart:setBoundaryPointStart,setBoundaryPointEnd:setBoundaryPointEnd}=__webpack_require__(78913),Range=__webpack_require__(74318),{implForWrapper:implForWrapper}=__webpack_require__(80421),SELECTION_DIRECTION_FORWARDS=1,SELECTION_DIRECTION_BACKWARDS=-1,SELECTION_DIRECTION_DIRECTIONLESS=0;module.exports={implementation:class SelectionImpl{constructor(globalObject){this._range=null,this._direction=SELECTION_DIRECTION_DIRECTIONLESS,this._globalObject=globalObject}get anchorNode(){const anchor=this._anchor;return anchor?anchor.node:null}get anchorOffset(){const anchor=this._anchor;return anchor?anchor.offset:0}get focusNode(){const focus=this._focus;return focus?focus.node:null}get focusOffset(){const focus=this._focus;return focus?focus.offset:0}get isCollapsed(){return null===this._range||this._range.collapsed}get rangeCount(){return this._isEmpty()?0:1}get type(){return this._isEmpty()?"None":this._range.collapsed?"Caret":"Range"}getRangeAt(index){if(0!==index||this._isEmpty())throw DOMException.create(this._globalObject,["Invalid range index.","IndexSizeError"]);return this._range}addRange(range){range._root===implForWrapper(this._globalObject._document)&&0===this.rangeCount&&this._associateRange(range)}removeRange(range){if(range!==this._range)throw DOMException.create(this._globalObject,["Invalid range.","NotFoundError"]);this._associateRange(null)}removeAllRanges(){this._associateRange(null)}empty(){this.removeAllRanges()}collapse(node,offset){if(null===node)return void this.removeAllRanges();if(node.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE)throw DOMException.create(this._globalObject,["DocumentType Node can't be used as boundary point.","InvalidNodeTypeError"]);if(offset>nodeLength(node))throw DOMException.create(this._globalObject,["Invalid range index.","IndexSizeError"]);if(nodeRoot(node)!==implForWrapper(this._globalObject._document))return;const newRange=Range.createImpl(this._globalObject,[],{start:{node:node,offset:0},end:{node:node,offset:0}});setBoundaryPointStart(newRange,node,offset),setBoundaryPointEnd(newRange,node,offset),this._associateRange(newRange)}setPosition(node,offset){this.collapse(node,offset)}collapseToStart(){if(this._isEmpty())throw DOMException.create(this._globalObject,["There is no selection to collapse.","InvalidStateError"]);const{node:node,offset:offset}=this._range._start,newRange=Range.createImpl(this._globalObject,[],{start:{node:node,offset:offset},end:{node:node,offset:offset}});this._associateRange(newRange)}collapseToEnd(){if(this._isEmpty())throw DOMException.create(this._globalObject,["There is no selection to collapse.","InvalidStateError"]);const{node:node,offset:offset}=this._range._end,newRange=Range.createImpl(this._globalObject,[],{start:{node:node,offset:offset},end:{node:node,offset:offset}});this._associateRange(newRange)}extend(node,offset){if(nodeRoot(node)!==implForWrapper(this._globalObject._document))return;if(this._isEmpty())throw DOMException.create(this._globalObject,["There is no selection to extend.","InvalidStateError"]);const{_anchor:oldAnchor}=this,newFocus={node:node,offset:offset},newRange=Range.createImpl(this._globalObject,[],{start:{node:node,offset:0},end:{node:node,offset:0}});nodeRoot(node)!==this._range._root?(setBoundaryPointStart(newRange,newFocus.node,newFocus.offset),setBoundaryPointEnd(newRange,newFocus.node,newFocus.offset)):compareBoundaryPointsPosition(oldAnchor,newFocus)<=0?(setBoundaryPointStart(newRange,oldAnchor.node,oldAnchor.offset),setBoundaryPointEnd(newRange,newFocus.node,newFocus.offset)):(setBoundaryPointStart(newRange,newFocus.node,newFocus.offset),setBoundaryPointEnd(newRange,oldAnchor.node,oldAnchor.offset)),this._associateRange(newRange),this._direction=-1===compareBoundaryPointsPosition(newFocus,oldAnchor)?SELECTION_DIRECTION_BACKWARDS:SELECTION_DIRECTION_FORWARDS}setBaseAndExtent(anchorNode,anchorOffset,focusNode,focusOffset){if(anchorOffset>nodeLength(anchorNode)||focusOffset>nodeLength(focusNode))throw DOMException.create(this._globalObject,["Invalid anchor or focus offset.","IndexSizeError"]);const document=implForWrapper(this._globalObject._document);if(document!==nodeRoot(anchorNode)||document!==nodeRoot(focusNode))return;const anchor={node:anchorNode,offset:anchorOffset},focus={node:focusNode,offset:focusOffset};let newRange;newRange=-1===compareBoundaryPointsPosition(anchor,focus)?Range.createImpl(this._globalObject,[],{start:{node:anchor.node,offset:anchor.offset},end:{node:focus.node,offset:focus.offset}}):Range.createImpl(this._globalObject,[],{start:{node:focus.node,offset:focus.offset},end:{node:anchor.node,offset:anchor.offset}}),this._associateRange(newRange),this._direction=-1===compareBoundaryPointsPosition(focus,anchor)?SELECTION_DIRECTION_BACKWARDS:SELECTION_DIRECTION_FORWARDS}selectAllChildren(node){if(node.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE)throw DOMException.create(this._globalObject,["DocumentType Node can't be used as boundary point.","InvalidNodeTypeError"]);if(implForWrapper(this._globalObject._document)!==nodeRoot(node))return;const length=domSymbolTree.childrenCount(node),newRange=Range.createImpl(this._globalObject,[],{start:{node:node,offset:0},end:{node:node,offset:0}});setBoundaryPointStart(newRange,node,0),setBoundaryPointEnd(newRange,node,length),this._associateRange(newRange)}deleteFromDocument(){this._isEmpty()||this._range.deleteContents()}containsNode(node,allowPartialContainment){if(this._isEmpty()||nodeRoot(node)!==implForWrapper(this._globalObject._document))return!1;const{_start:_start,_end:_end}=this._range,startIsBeforeNode=-1===compareBoundaryPointsPosition(_start,{node:node,offset:0}),endIsAfterNode=1===compareBoundaryPointsPosition(_end,{node:node,offset:nodeLength(node)});return allowPartialContainment?startIsBeforeNode||endIsAfterNode:startIsBeforeNode&&endIsAfterNode}toString(){return this._range?this._range.toString():""}_isEmpty(){return null===this._range}get _anchor(){return this._range?this._direction===SELECTION_DIRECTION_FORWARDS?this._range._start:this._range._end:null}get _focus(){return this._range?this._direction===SELECTION_DIRECTION_FORWARDS?this._range._end:this._range._start:null}_associateRange(newRange){this._range=newRange,this._direction=null===newRange?SELECTION_DIRECTION_DIRECTIONLESS:SELECTION_DIRECTION_FORWARDS}}}},54227:function(__unused_webpack_module,exports){exports.implementation=class SVGAnimatedStringImpl{constructor(globalObject,args,privateData){this._element=privateData.element,this._attribute=privateData.attribute,this._attributeDeprecated=privateData.attributeDeprecated,this._initialValue=privateData.initialValue}get baseVal(){return this._element.hasAttributeNS(null,this._attribute)?this._element.getAttributeNS(null,this._attribute):void 0!==this._attributeDeprecated&&this._element.hasAttributeNS(null,this._attributeDeprecated)?this._element.getAttributeNS(null,this._attributeDeprecated):void 0!==this._initialValue?this._initialValue:""}set baseVal(base){!this._element.hasAttributeNS(null,this._attribute)&&void 0!==this._attributeDeprecated&&this._element.hasAttributeNS(null,this._attributeDeprecated)?this._element.setAttributeNS(null,this._attributeDeprecated,base):this._element.setAttributeNS(null,this._attribute,base)}get animVal(){return this.baseVal}}},72150:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),idlUtils=__webpack_require__(80421),{attach:attach,detach:detach}=__webpack_require__(56898);class List{_initList({element:element,attribute:attribute,readOnly:readOnly=!1}){this._element=element,this._attribute=attribute,this._attributeRegistryEntry=element.constructor.attributeRegistry.get(attribute),this._readOnly=readOnly,this._list=[],this._version=-1}get _needsResync(){return this._version<this._element._version}_synchronize(){if(!this._needsResync)return;let value=[];this._element.hasAttributeNS(null,this._attribute)&&(value=this._attributeRegistryEntry.getValue(this._element.getAttributeNS(null,this._attribute))),0===value.length&&void 0!==this._attributeRegistryEntry.initialValue&&(value=this._attributeRegistryEntry.getValue(this._attributeRegistryEntry.initialValue)),this._list=value,this._version=this._element._version}_reserialize(){const elements=this._list;this._element.setAttributeNS(null,this._attribute,this._attributeRegistryEntry.serialize(elements)),this._version=this._element._version}[idlUtils.supportsPropertyIndex](index){return this._synchronize(),index>=0&&index<this.length}get[idlUtils.supportedPropertyIndices](){return this._synchronize(),this._list.keys()}get length(){return this._synchronize(),this._list.length}get numberOfItems(){return this._synchronize(),this._list.length}clear(){if(this._synchronize(),this._readOnly)throw DOMException.create(this._globalObject,["Attempting to modify a read-only list","NoModificationAllowedError"]);for(const item of this._list)detach(item);this._list.length=0,this._reserialize()}initialize(newItem){if(this._synchronize(),this._readOnly)throw DOMException.create(this._globalObject,["Attempting to modify a read-only list","NoModificationAllowedError"]);for(const item of this._list)detach(item);this._list.length=0,attach(newItem,this),this._list.push(newItem),this._reserialize()}getItem(index){if(this._synchronize(),index>=this._list.length)throw DOMException.create(this._globalObject,[`The index provided (${index}) is greater than or equal to the maximum bound (${this._list.length}).`,"IndexSizeError"]);return this._list[index]}insertItemBefore(newItem,index){if(this._synchronize(),this._readOnly)throw DOMException.create(this._globalObject,["Attempting to modify a read-only list","NoModificationAllowedError"]);return index>this._list.length&&(index=this._list.length),this._list.splice(index,0,newItem),attach(newItem,this),this._reserialize(),newItem}replaceItem(newItem,index){if(this._synchronize(),this._readOnly)throw DOMException.create(this._globalObject,["Attempting to modify a read-only list","NoModificationAllowedError"]);if(index>=this._list.length)throw DOMException.create(this._globalObject,[`The index provided (${index}) is greater than or equal to the maximum bound (${this._list.length}).`,"IndexSizeError"]);return detach(this._list[index]),this._list[index]=newItem,attach(newItem,this),this._reserialize(),newItem}removeItem(index){if(this._synchronize(),this._readOnly)throw DOMException.create(this._globalObject,["Attempting to modify a read-only list","NoModificationAllowedError"]);if(index>=this._list.length)throw DOMException.create(this._globalObject,[`The index provided (${index}) is greater than or equal to the maximum bound (${this._list.length}).`,"IndexSizeError"]);const item=this._list[index];return detach(item),this._list.splice(index,1),this._reserialize(),item}appendItem(newItem){return this._synchronize(),this._list.push(newItem),attach(newItem,this),this._reserialize(),newItem}[idlUtils.indexedSetNew](index,value){this.replaceItem(value,index)}[idlUtils.indexedSetExisting](index,value){this.replaceItem(value,index)}}module.exports=List},96777:function(__unused_webpack_module,exports,__webpack_require__){const DOMException=__webpack_require__(69026);exports.implementation=class SVGNumberImpl{constructor(globalObject,args,privateData){this._parentList=privateData.parentList,this._value=0}get _readOnly(){return void 0!==this._parentList&&this._parentList._readOnly}_synchronize(){void 0!==this._parentList&&this._parentList._synchronize()}_reserialize(){void 0!==this._parentList&&this._parentList._reserialize()}get value(){return this._synchronize(),this._value}set value(value){if(this._readOnly)throw DOMException.create(this._globalObject,["Attempting to modify a read-only SVGNumber","NoModificationAllowedError"]);this._value=value,this._reserialize()}}},21463:function(__unused_webpack_module,exports,__webpack_require__){const{mixin:mixin}=__webpack_require__(54641),SVGListBase=__webpack_require__(72150);class SVGStringListImpl{constructor(globalObject,args,privateData){this._globalObject=globalObject,this._initList(privateData)}}mixin(SVGStringListImpl.prototype,SVGListBase.prototype),exports.implementation=SVGStringListImpl},41004:function(__unused_webpack_module,exports,__webpack_require__){const{hasWeakRefs:hasWeakRefs}=__webpack_require__(54641),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),{filter:filter,FILTER_ACCEPT:FILTER_ACCEPT}=__webpack_require__(95119);exports.implementation=class NodeIteratorImpl{constructor(globalObject,args,privateData){this._active=!1,this.root=privateData.root,this.whatToShow=privateData.whatToShow,this.filter=privateData.filter,this._referenceNode=this.root,this._pointerBeforeReferenceNode=!0,hasWeakRefs||(this._working=!0),this._globalObject=globalObject}get referenceNode(){return this._throwIfNotWorking(),this._referenceNode}get pointerBeforeReferenceNode(){return this._throwIfNotWorking(),this._pointerBeforeReferenceNode}nextNode(){return this._throwIfNotWorking(),this._traverse("next")}previousNode(){return this._throwIfNotWorking(),this._traverse("previous")}detach(){}_preRemovingSteps(toBeRemovedNode){if(!toBeRemovedNode.contains(this._referenceNode)||toBeRemovedNode===this.root)return;if(this._pointerBeforeReferenceNode){let next=null,candidateForNext=domSymbolTree.following(toBeRemovedNode,{skipChildren:!0});for(;null!==candidateForNext;){if(this.root.contains(candidateForNext)){next=candidateForNext;break}candidateForNext=domSymbolTree.following(candidateForNext,{skipChildren:!0})}if(null!==next)return void(this._referenceNode=next);this._pointerBeforeReferenceNode=!1}const{previousSibling:previousSibling}=toBeRemovedNode;this._referenceNode=null===previousSibling?toBeRemovedNode.parentNode:domSymbolTree.lastInclusiveDescendant(toBeRemovedNode.previousSibling)}_throwIfNotWorking(){if(!hasWeakRefs&&!this._working)throw Error("This NodeIterator is no longer working. More than 10 iterators are being used concurrently. Using more than 10 node iterators requires WeakRef support.")}_traverse(direction){let node=this._referenceNode,beforeNode=this._pointerBeforeReferenceNode;for(;;){if("next"===direction){if(!beforeNode&&(node=domSymbolTree.following(node,{root:this.root}),!node))return null;beforeNode=!1}else if("previous"===direction){if(beforeNode&&(node=domSymbolTree.preceding(node,{root:this.root}),!node))return null;beforeNode=!0}if(filter(this,node)===FILTER_ACCEPT)break}return this._referenceNode=node,this._pointerBeforeReferenceNode=beforeNode,node}}},29960:function(__unused_webpack_module,exports,__webpack_require__){const DOMException=__webpack_require__(69026),{filter:filter,FILTER_ACCEPT:FILTER_ACCEPT,FILTER_REJECT:FILTER_REJECT,FILTER_SKIP:FILTER_SKIP}=__webpack_require__(95119);exports.implementation=class TreeWalkerImpl{constructor(globalObject,args,privateData){this._active=!1,this.root=privateData.root,this.currentNode=this.root,this.whatToShow=privateData.whatToShow,this.filter=privateData.filter,this._globalObject=globalObject}get currentNode(){return this._currentNode}set currentNode(node){if(null===node)throw DOMException.create(this._globalObject,["Cannot set currentNode to null","NotSupportedError"]);this._currentNode=node}parentNode(){let node=this._currentNode;for(;null!==node&&node!==this.root;)if(node=node.parentNode,null!==node&&filter(this,node)===FILTER_ACCEPT)return this._currentNode=node;return null}firstChild(){return this._traverseChildren(false)}lastChild(){return this._traverseChildren(true)}previousSibling(){return this._traverseSiblings(true)}nextSibling(){return this._traverseSiblings(false)}previousNode(){let node=this._currentNode;for(;node!==this.root;){let sibling=node.previousSibling;for(;null!==sibling;){node=sibling;let result=filter(this,node);for(;result!==FILTER_REJECT&&node.hasChildNodes();)node=node.lastChild,result=filter(this,node);if(result===FILTER_ACCEPT)return this._currentNode=node;sibling=node.previousSibling}if(node===this.root||null===node.parentNode)return null;if(node=node.parentNode,filter(this,node)===FILTER_ACCEPT)return this._currentNode=node}return null}nextNode(){let node=this._currentNode,result=FILTER_ACCEPT;for(;;){for(;result!==FILTER_REJECT&&node.hasChildNodes();)if(node=node.firstChild,result=filter(this,node),result===FILTER_ACCEPT)return this._currentNode=node;do{if(node===this.root)return null;const sibling=node.nextSibling;if(null!==sibling){node=sibling;break}node=node.parentNode}while(null!==node);if(null===node)return null;if(result=filter(this,node),result===FILTER_ACCEPT)return this._currentNode=node}}_traverseChildren(type){let node=this._currentNode;if(node=false===type?node.firstChild:node.lastChild,null===node)return null;main:for(;;){const result=filter(this,node);if(result===FILTER_ACCEPT)return this._currentNode=node;if(result===FILTER_SKIP){const child=false===type?node.firstChild:node.lastChild;if(null!==child){node=child;continue}}for(;;){const sibling=false===type?node.nextSibling:node.previousSibling;if(null!==sibling){node=sibling;continue main}const parent=node.parentNode;if(null===parent||parent===this.root||parent===this._currentNode)return null;node=parent}}}_traverseSiblings(type){let node=this._currentNode;if(node===this.root)return null;for(;;){let sibling=false===type?node.nextSibling:node.previousSibling;for(;null!==sibling;){node=sibling;const result=filter(this,node);if(result===FILTER_ACCEPT)return this._currentNode=node;sibling=false===type?node.firstChild:node.lastChild,result!==FILTER_REJECT&&null!==sibling||(sibling=false===type?node.nextSibling:node.previousSibling)}if(node=node.parentNode,null===node||node===this.root)return null;if(filter(this,node)===FILTER_ACCEPT)return null}}}},95119:function(__unused_webpack_module,exports,__webpack_require__){const DOMException=__webpack_require__(69026),conversions=__webpack_require__(10993);exports.FILTER_ACCEPT=1,exports.FILTER_REJECT=2,exports.FILTER_SKIP=3,exports.filter=(nodeIteratorOrTreeWalkerImpl,nodeImpl)=>{if(nodeIteratorOrTreeWalkerImpl._active)throw DOMException.create(nodeIteratorOrTreeWalkerImpl._globalObject,["Recursive node filtering","InvalidStateError"]);if(!(1<<nodeImpl.nodeType-1&nodeIteratorOrTreeWalkerImpl.whatToShow))return exports.FILTER_SKIP;const{filter:filter}=nodeIteratorOrTreeWalkerImpl;if(null===filter)return exports.FILTER_ACCEPT;let result;nodeIteratorOrTreeWalkerImpl._active=!0;try{result=filter(nodeImpl)}finally{nodeIteratorOrTreeWalkerImpl._active=!1}return result=conversions["unsigned short"](result),result}},74417:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer;const DOMException=__webpack_require__(69026),{parseURL:parseURL,serializeURL:serializeURL,serializeURLOrigin:serializeURLOrigin}=__webpack_require__(77101),{setupForSimpleEventAccessors:setupForSimpleEventAccessors}=__webpack_require__(90653),{fireAnEvent:fireAnEvent}=__webpack_require__(96799),EventTargetImpl=__webpack_require__(98998).implementation,idlUtils=__webpack_require__(80421),Blob=__webpack_require__(86545),CloseEvent=__webpack_require__(28793),MessageEvent=__webpack_require__(25970),productions={token:/^[!#$%&'*+\-.^_`|~\dA-Za-z]+$/};const openSockets=new WeakMap;class WebSocketImpl extends EventTargetImpl{constructor(constructorArgs,privateData){super([],privateData);const{window:window}=privateData;this._ownerDocument=idlUtils.implForWrapper(window._document);const url=constructorArgs[0];let protocols=void 0!==constructorArgs[1]?constructorArgs[1]:[];const urlRecord=parseURL(url);if(null===urlRecord)throw DOMException.create(this._globalObject,[`The URL '${url}' is invalid.`,"SyntaxError"]);if("ws"!==urlRecord.scheme&&"wss"!==urlRecord.scheme)throw DOMException.create(this._globalObject,[`The URL's scheme must be either 'ws' or 'wss'. '${urlRecord.scheme}' is not allowed.`,"SyntaxError"]);if(null!==urlRecord.fragment)throw DOMException.create(this._globalObject,[`The URL contains a fragment identifier ('${urlRecord.fragment}'). Fragment identifiers are not allowed in WebSocket URLs.`,"SyntaxError"]);"string"==typeof protocols&&(protocols=[protocols]);const protocolSet=new Set;for(const protocol of protocols){if(str=protocol,!productions.token.test(str))throw DOMException.create(this._globalObject,[`The subprotocol '${protocol}' is invalid.`,"SyntaxError"]);const lowered=protocol.toLowerCase();if(protocolSet.has(lowered))throw DOMException.create(this._globalObject,[`The subprotocol '${protocol}' is duplicated.`,"SyntaxError"]);protocolSet.add(lowered)}var str;this._urlRecord=urlRecord,this.url=serializeURL(urlRecord),this._ws=new WebSocket(this.url,protocols),this._ws.onopen=()=>{fireAnEvent("open",this)},this._ws.onerror=()=>{fireAnEvent("error",this)},this._ws.onclose=event=>{fireAnEvent("close",this,CloseEvent,{wasClean:event.wasClean,code:event.code,reason:event.reason})},this._ws.onmessage=event=>{fireAnEvent("message",this,MessageEvent,{data:event.data,origin:serializeURLOrigin(this._urlRecord)})};let openSocketsForWindow=openSockets.get(window._globalProxy);void 0===openSocketsForWindow&&(openSocketsForWindow=new Set,openSockets.set(window._globalProxy,openSocketsForWindow)),openSocketsForWindow.add(this)}_makeDisappear(){this._eventListeners=Object.create(null),this._ws.close(1001)}static cleanUpWindow(window){const openSocketsForWindow=openSockets.get(window._globalProxy);if(void 0!==openSocketsForWindow)for(const ws of openSocketsForWindow)ws._makeDisappear()}get readyState(){return this._ws.readyState}get bufferedAmount(){return this._ws.bufferedAmount}get extensions(){return this._ws.extensions}get protocol(){return this._ws.protocol}close(code,reason){if(void 0!==code&&1e3!==code&&!(code>=3e3&&code<=4999))throw DOMException.create(this._globalObject,[`The code must be either 1000, or between 3000 and 4999. ${code} is neither.`,"InvalidAccessError"]);if(void 0!==reason&&Buffer.byteLength(reason,"utf8")>123)throw DOMException.create(this._globalObject,["The message must not be greater than 123 bytes.","SyntaxError"]);return this._ws.close(code,reason)}get binaryType(){return this._ws.binaryType}set binaryType(val){this._ws.binaryType=val}send(data){Blob.isImpl(data)&&(data=data._buffer),this._ws.send(data)}}setupForSimpleEventAccessors(WebSocketImpl.prototype,["open","message","error","close"]),exports.implementation=WebSocketImpl},51101:function(module,__unused_webpack_exports,__webpack_require__){const DOMException=__webpack_require__(69026),StorageEvent=__webpack_require__(67272),idlUtils=__webpack_require__(80421),{fireAnEvent:fireAnEvent}=__webpack_require__(96799);class StorageImpl{constructor(globalObject,args,privateData){const{associatedWindow:associatedWindow,storageArea:storageArea,url:url,type:type,storageQuota:storageQuota}=privateData;this._associatedWindow=associatedWindow,this._items=storageArea,this._url=url,this._type=type,this._quota=storageQuota,this._globalObject=globalObject}_dispatchStorageEvent(key,oldValue,newValue){return this._associatedWindow._currentOriginData.windowsInSameOrigin.filter((target=>target!==this._associatedWindow)).forEach((target=>fireAnEvent("storage",target,StorageEvent,{key:key,oldValue:oldValue,newValue:newValue,url:this._url,storageArea:target["_"+this._type]})))}get length(){return this._items.size}key(n){return n>=this._items.size?null:[...this._items.keys()][n]}getItem(key){return this._items.has(key)?this._items.get(key):null}setItem(key,value){const oldValue=this._items.get(key)||null;if(oldValue===value)return;let itemsTotalLength=key.length+value.length;for(const[curKey,curValue]of this._items)key!==curKey&&(itemsTotalLength+=curKey.length+curValue.length);if(itemsTotalLength>this._quota)throw DOMException.create(this._globalObject,[`The ${this._quota}-code unit storage quota has been exceeded.`,"QuotaExceededError"]);setTimeout(this._dispatchStorageEvent.bind(this),0,key,oldValue,value),this._items.set(key,value)}removeItem(key){this._items.has(key)&&(setTimeout(this._dispatchStorageEvent.bind(this),0,key,this._items.get(key),null),this._items.delete(key))}clear(){this._items.size>0&&(setTimeout(this._dispatchStorageEvent.bind(this),0,null,null,null),this._items.clear())}get[idlUtils.supportedPropertyNames](){return this._items.keys()}}module.exports={implementation:StorageImpl}},72855:function(__unused_webpack_module,exports){class BarPropImpl{}BarPropImpl.prototype.visible=!0,exports.implementation=BarPropImpl},35981:function(__unused_webpack_module,exports){exports.implementation=class ExternalImpl{AddSearchProvider(){}IsSearchProviderInstalled(){}}},12311:function(__unused_webpack_module,exports,__webpack_require__){const DOMException=__webpack_require__(69026),{documentBaseURLSerialized:documentBaseURLSerialized,parseURLToResultingURLRecord:parseURLToResultingURLRecord}=__webpack_require__(33282);exports.implementation=class HistoryImpl{constructor(globalObject,args,privateData){this._window=privateData.window,this._document=privateData.document,this._actAsIfLocationReloadCalled=privateData.actAsIfLocationReloadCalled,this._state=null,this._globalObject=globalObject}_guardAgainstInactiveDocuments(){if(!this._window)throw DOMException.create(this._globalObject,["History object is associated with a document that is not fully active.","SecurityError"])}get length(){return this._guardAgainstInactiveDocuments(),this._window._sessionHistory.length}get state(){return this._guardAgainstInactiveDocuments(),this._state}go(delta){this._guardAgainstInactiveDocuments(),0===delta?this._actAsIfLocationReloadCalled():this._window._sessionHistory.traverseByDelta(delta)}back(){this.go(-1)}forward(){this.go(1)}pushState(data,title,url){this._sharedPushAndReplaceState(data,title,url,"pushState")}replaceState(data,title,url){this._sharedPushAndReplaceState(data,title,url,"replaceState")}_sharedPushAndReplaceState(data,title,url,methodName){let newURL;if(this._guardAgainstInactiveDocuments(),null!==url){if(newURL=parseURLToResultingURLRecord(url,this._document),null===newURL)throw DOMException.create(this._globalObject,[`Could not parse url argument "${url}" to ${methodName} against base URL "${documentBaseURLSerialized(this._document)}".`,"SecurityError"]);if(newURL.scheme!==this._document._URL.scheme||newURL.username!==this._document._URL.username||newURL.password!==this._document._URL.password||newURL.host!==this._document._URL.host||newURL.port!==this._document._URL.port||newURL.cannotBeABaseURL!==this._document._URL.cannotBeABaseURL)throw DOMException.create(this._globalObject,[`${methodName} cannot update history to a URL which differs in components other than in path, query, or fragment.`,"SecurityError"])}else newURL=this._window._sessionHistory.currentEntry.url;if("pushState"===methodName){this._window._sessionHistory.removeAllEntriesAfterCurrentEntry(),this._window._sessionHistory.clearHistoryTraversalTasks();const newEntry={document:this._document,stateObject:data,title:title,url:newURL};this._window._sessionHistory.addEntryAfterCurrentEntry(newEntry),this._window._sessionHistory.updateCurrentEntry(newEntry)}else{const{currentEntry:currentEntry}=this._window._sessionHistory;currentEntry.stateObject=data,currentEntry.title=title,currentEntry.url=newURL}this._document._URL=newURL,this._state=data,this._document._latestEntry=this._window._sessionHistory.currentEntry}}},53810:function(__unused_webpack_module,exports,__webpack_require__){const whatwgURL=__webpack_require__(77101),DOMException=__webpack_require__(69026),{documentBaseURL:documentBaseURL,parseURLToResultingURLRecord:parseURLToResultingURLRecord}=__webpack_require__(33282),{navigate:navigate}=__webpack_require__(9017);exports.implementation=class LocationImpl{constructor(globalObject,args,privateData){this._relevantDocument=privateData.relevantDocument,this.url=null,this._globalObject=globalObject}get _url(){return this._relevantDocument._URL}_locationObjectSetterNavigate(url){return this._locationObjectNavigate(url)}_locationObjectNavigate(url,{replacement:replacement=!1}={}){navigate(this._relevantDocument._defaultView,url,{replacement:replacement,exceptionsEnabled:!0})}toString(){return this.href}get href(){return whatwgURL.serializeURL(this._url)}set href(v){const newURL=whatwgURL.parseURL(v,{baseURL:documentBaseURL(this._relevantDocument)});if(null===newURL)throw new TypeError(`Could not parse "${v}" as a URL`);this._locationObjectSetterNavigate(newURL)}get origin(){return whatwgURL.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(v){const copyURL={...this._url};if(null===whatwgURL.basicURLParse(v+":",{url:copyURL,stateOverride:"scheme start"}))throw new TypeError(`Could not parse the URL after setting the procol to "${v}"`);"http"!==copyURL.scheme&&"https"!==copyURL.scheme||this._locationObjectSetterNavigate(copyURL)}get host(){const url=this._url;return null===url.host?"":null===url.port?whatwgURL.serializeHost(url.host):whatwgURL.serializeHost(url.host)+":"+whatwgURL.serializeInteger(url.port)}set host(v){const copyURL={...this._url};copyURL.cannotBeABaseURL||(whatwgURL.basicURLParse(v,{url:copyURL,stateOverride:"host"}),this._locationObjectSetterNavigate(copyURL))}get hostname(){return null===this._url.host?"":whatwgURL.serializeHost(this._url.host)}set hostname(v){const copyURL={...this._url};copyURL.cannotBeABaseURL||(whatwgURL.basicURLParse(v,{url:copyURL,stateOverride:"hostname"}),this._locationObjectSetterNavigate(copyURL))}get port(){return null===this._url.port?"":whatwgURL.serializeInteger(this._url.port)}set port(v){const copyURL={...this._url};null===copyURL.host||copyURL.cannotBeABaseURL||"file"===copyURL.scheme||(whatwgURL.basicURLParse(v,{url:copyURL,stateOverride:"port"}),this._locationObjectSetterNavigate(copyURL))}get pathname(){const url=this._url;return url.cannotBeABaseURL?url.path[0]:"/"+url.path.join("/")}set pathname(v){const copyURL={...this._url};copyURL.cannotBeABaseURL||(copyURL.path=[],whatwgURL.basicURLParse(v,{url:copyURL,stateOverride:"path start"}),this._locationObjectSetterNavigate(copyURL))}get search(){return null===this._url.query||""===this._url.query?"":"?"+this._url.query}set search(v){const copyURL={...this._url};if(""===v)copyURL.query=null;else{const input="?"===v[0]?v.substring(1):v;copyURL.query="",whatwgURL.basicURLParse(input,{url:copyURL,stateOverride:"query",encodingOverride:this._relevantDocument.charset})}this._locationObjectSetterNavigate(copyURL)}get hash(){return null===this._url.fragment||""===this._url.fragment?"":"#"+this._url.fragment}set hash(v){const copyURL={...this._url};if("javascript"!==copyURL.scheme){if(""===v)copyURL.fragment=null;else{const input="#"===v[0]?v.substring(1):v;copyURL.fragment="",whatwgURL.basicURLParse(input,{url:copyURL,stateOverride:"fragment"})}this._locationObjectSetterNavigate(copyURL)}}assign(url){const parsedURL=parseURLToResultingURLRecord(url,this._relevantDocument);if(null===parsedURL)throw DOMException.create(this._globalObject,[`Could not resolve the given string "${url}" relative to the base URL "${this._relevantDocument.URL}"`,"SyntaxError"]);this._locationObjectNavigate(parsedURL)}replace(url){const parsedURL=parseURLToResultingURLRecord(url,this._relevantDocument);if(null===parsedURL)throw DOMException.create(this._globalObject,[`Could not resolve the given string "${url}" relative to the base URL "${this._relevantDocument.URL}"`,"SyntaxError"]);this._locationObjectNavigate(parsedURL,{replacement:!0})}reload(){navigate(this._relevantDocument._defaultView,this._url,{replace:!0,reloadTriggered:!0,exceptionsEnabled:!0})}}},63002:function(__unused_webpack_module,exports){class ScreenImpl{}ScreenImpl.prototype.availWidth=0,ScreenImpl.prototype.availHeight=0,ScreenImpl.prototype.width=0,ScreenImpl.prototype.height=0,ScreenImpl.prototype.colorDepth=24,ScreenImpl.prototype.pixelDepth=24,exports.implementation=ScreenImpl},28499:function(module,__unused_webpack_exports,__webpack_require__){const whatwgURL=__webpack_require__(77101),HashChangeEvent=__webpack_require__(14876),PopStateEvent=__webpack_require__(63763),notImplemented=__webpack_require__(30566),idlUtils=__webpack_require__(80421),{fireAnEvent:fireAnEvent}=__webpack_require__(96799);module.exports=class SessionHistory{constructor(initialEntry,window){this._window=window,this._windowImpl=idlUtils.implForWrapper(window),this._historyTraversalQueue=new Set,this._entries=[initialEntry],this._currentIndex=0}_queueHistoryTraversalTask(fn){const timeoutId=this._window.setTimeout((()=>{this._historyTraversalQueue.delete(timeoutId),fn()}),0);this._historyTraversalQueue.add(timeoutId)}clearHistoryTraversalTasks(){for(const timeoutId of this._historyTraversalQueue)this._window.clearTimeout(timeoutId);this._historyTraversalQueue.clear()}get length(){return this._entries.length}get currentEntry(){return this._entries[this._currentIndex]}removeAllEntriesAfterCurrentEntry(){this._entries.splice(this._currentIndex+1,1/0)}traverseByDelta(delta){this._queueHistoryTraversalTask((()=>{const newIndex=this._currentIndex+delta;if(newIndex<0||newIndex>=this.length)return;const specifiedEntry=this._entries[newIndex];this._queueHistoryTraversalTask((()=>{specifiedEntry.document!==this.currentEntry.document&¬Implemented("Traversing history in a way that would change the window",this._window),this.traverseHistory(specifiedEntry)}))}))}traverseHistory(specifiedEntry,flags={}){specifiedEntry.document||notImplemented("Traversing the history to an entry that no longer holds a Document object",this._window);const nonBlockingEvents=Boolean(flags.nonBlockingEvents),document=idlUtils.implForWrapper(this._window._document),{currentEntry:currentEntry}=this;void 0===currentEntry.title&&(currentEntry.title=document.title),specifiedEntry.document!==currentEntry.document&¬Implemented("Traversing the history to an entry with a different Document",this._window),document._URL=specifiedEntry.url;const hashChanged=specifiedEntry.url.fragment!==currentEntry.url.fragment&&specifiedEntry.document===currentEntry.document;let oldURL,newURL;hashChanged&&(oldURL=currentEntry.url,newURL=specifiedEntry.url),flags.replacement&&this._entries.splice(this._entries.indexOf(specifiedEntry)-1,1),this.updateCurrentEntry(specifiedEntry);const state=specifiedEntry.stateObject;document._history._state=state;const stateChanged=specifiedEntry.document._latestEntry!==specifiedEntry;specifiedEntry.document._latestEntry=specifiedEntry;const fireEvents=()=>this._fireEvents(stateChanged,hashChanged,state,oldURL,newURL);nonBlockingEvents?this._window.setTimeout(fireEvents,0):fireEvents()}_fireEvents(stateChanged,hashChanged,state,oldURL,newURL){stateChanged&&fireAnEvent("popstate",this._windowImpl,PopStateEvent,{state:state}),hashChanged&&fireAnEvent("hashchange",this._windowImpl,HashChangeEvent,{oldURL:whatwgURL.serializeURL(oldURL),newURL:whatwgURL.serializeURL(newURL)})}addEntryAfterCurrentEntry(entry){this._entries.splice(this._currentIndex+1,0,entry)}updateCurrentEntry(entry){this._currentIndex=this._entries.indexOf(entry)}}},9017:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer;const whatwgURL=__webpack_require__(77101),notImplemented=__webpack_require__(30566),reportException=__webpack_require__(9400),idlUtils=__webpack_require__(80421);exports.evaluateJavaScriptURL=(window,urlRecord)=>{const urlString=whatwgURL.serializeURL(urlRecord),encodedScriptSource=urlString.substring("javascript:".length),scriptSource=Buffer.from(whatwgURL.percentDecodeString(encodedScriptSource)).toString();if("dangerously"===window._runScripts)try{return window.eval(scriptSource)}catch(e){reportException(window,e,urlString)}},exports.navigate=(window,newURL,flags)=>{if(!window._document)return;const currentURL=idlUtils.implForWrapper(window._document)._URL;flags.reloadTriggered||!function urlEquals(a,b,flags){const serializedA=whatwgURL.serializeURL(a,flags.excludeFragments),serializedB=whatwgURL.serializeURL(b,flags.excludeFragments);return serializedA===serializedB}(currentURL,newURL,{excludeFragments:!0})?"javascript"!==newURL.scheme?function navigateFetch(window){notImplemented("navigation (except hash changes)",window)}(window):setTimeout((()=>{"string"==typeof exports.evaluateJavaScriptURL(window,newURL)&¬Implemented("string results from 'javascript:' URLs",window)}),0):newURL.fragment!==currentURL.fragment&&function navigateToFragment(window,newURL,flags){const document=idlUtils.implForWrapper(window._document);window._sessionHistory.clearHistoryTraversalTasks(),flags.replacement||window._sessionHistory.removeAllEntriesAfterCurrentEntry();const newEntry={document:document,url:newURL};window._sessionHistory.addEntryAfterCurrentEntry(newEntry),window._sessionHistory.traverseHistory(newEntry,{nonBlockingEvents:!0,replacement:flags.replacement})}(window,newURL,flags)}},47304:function(__unused_webpack_module,exports,__webpack_require__){const idlUtils=__webpack_require__(80421),{closest:closest}=__webpack_require__(22537),{isDisabled:isDisabled,isSubmittable:isSubmittable,isButton:isButton}=__webpack_require__(8860),Blob=__webpack_require__(86545),File=__webpack_require__(68610),conversions=__webpack_require__(10993);function createAnEntry(name,value,filename){const entry={name:name};if(Blob.isImpl(value)&&!File.isImpl(value)){const oldValue=value;(value=File.createImpl(value._globalObject,[[],"blob",{type:oldValue.type}]))._buffer=oldValue._buffer}if(File.isImpl(value)&&void 0!==filename){const oldValue=value;(value=File.createImpl(value._globalObject,[[],filename,{type:oldValue.type,lastModified:oldValue.lastModified}]))._buffer=oldValue._buffer}return entry.value=value,entry}function appendAnEntry(entryList,name,value){name=conversions.USVString(name),File.isImpl(value)||(value=conversions.USVString(value));const entry=createAnEntry(name,value);entryList.push(entry)}exports.implementation=class FormDataImpl{constructor(globalObject,args){this._globalObject=globalObject,this._entries=[],void 0!==args[0]&&(this._entries=function constructTheEntryList(form,submitter){const controls=form.elements.filter(isSubmittable),entryList=[];for(const field of controls){if(null!==closest(field,"datalist"))continue;if(isDisabled(field))continue;if(isButton(field)&&field!==submitter)continue;if("checkbox"===field.type&&!1===field._checkedness)continue;if("radio"===field.type&&!1===field._checkedness)continue;if("object"===field.localName)continue;const name=field.getAttributeNS(null,"name");if(null===name||""===name)continue;if("select"===field.localName)for(const option of field.options)!0!==option._selectedness||isDisabled(field)||appendAnEntry(entryList,name,option._getValue());else if("input"!==field.localName||"checkbox"!==field.type&&"radio"!==field.type)if("file"===field.type)if(0===field.files.length){appendAnEntry(entryList,name,File.createImpl(form._globalObject,[[],"",{type:"application/octet-stream"}]))}else for(let i=0;i<field.files.length;++i)appendAnEntry(entryList,name,field.files.item(i));else appendAnEntry(entryList,name,field._getValue());else{appendAnEntry(entryList,name,field.hasAttributeNS(null,"value")?field.getAttributeNS(null,"value"):"on")}const dirname=field.getAttributeNS(null,"dirname");if(null!==dirname&&""!==dirname){appendAnEntry(entryList,dirname,"ltr")}}return entryList}(args[0]))}append(name,value,filename){const entry=createAnEntry(name,value,filename);this._entries.push(entry)}delete(name){this._entries=this._entries.filter((entry=>entry.name!==name))}get(name){const foundEntry=this._entries.find((entry=>entry.name===name));return void 0!==foundEntry?idlUtils.tryWrapperForImpl(foundEntry.value):null}getAll(name){return this._entries.filter((entry=>entry.name===name)).map((entry=>idlUtils.tryWrapperForImpl(entry.value)))}has(name){return-1!==this._entries.findIndex((entry=>entry.name===name))}set(name,value,filename){const entry=createAnEntry(name,value,filename),foundIndex=this._entries.findIndex((e=>e.name===name));-1!==foundIndex?(this._entries[foundIndex]=entry,this._entries=this._entries.filter(((e,i)=>e.name!==name||i===foundIndex))):this._entries.push(entry)}*[Symbol.iterator](){for(const entry of this._entries)yield[entry.name,idlUtils.tryWrapperForImpl(entry.value)]}}},15361:function(__unused_webpack_module,exports,__webpack_require__){var process=__webpack_require__(34155),Buffer=__webpack_require__(48764).Buffer;const HTTP_STATUS_CODES=__webpack_require__(8501).STATUS_CODES,{spawnSync:spawnSync}=__webpack_require__(32256),{URL:URL}=__webpack_require__(77101),whatwgEncoding=__webpack_require__(81479),tough=__webpack_require__(47857),MIMEType=__webpack_require__(36766),xhrUtils=__webpack_require__(27e3),DOMException=__webpack_require__(69026),{documentBaseURLSerialized:documentBaseURLSerialized}=__webpack_require__(33282),{asciiCaseInsensitiveMatch:asciiCaseInsensitiveMatch}=__webpack_require__(27896),idlUtils=__webpack_require__(80421),Document=__webpack_require__(87417),Blob=__webpack_require__(86545),FormData=__webpack_require__(24373),XMLHttpRequestEventTargetImpl=__webpack_require__(65794).implementation,XMLHttpRequestUpload=__webpack_require__(24782),ProgressEvent=__webpack_require__(49363),{isArrayBuffer:isArrayBuffer}=__webpack_require__(80421),{parseIntoDocument:parseIntoDocument}=__webpack_require__(63770),{fragmentSerialization:fragmentSerialization}=__webpack_require__(72481),{setupForSimpleEventAccessors:setupForSimpleEventAccessors}=__webpack_require__(90653),{parseJSONFromBytes:parseJSONFromBytes}=__webpack_require__(60818),{fireAnEvent:fireAnEvent}=__webpack_require__(96799),{copyToArrayBufferInNewRealm:copyToArrayBufferInNewRealm}=__webpack_require__(51206),{READY_STATES:READY_STATES}=xhrUtils,tokenRegexp=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,fieldValueRegexp=/^[ \t]*(?:[\x21-\x7E\x80-\xFF](?:[ \t][\x21-\x7E\x80-\xFF])?)*[ \t]*$/,forbiddenRequestHeaders=new Set(["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]),forbiddenResponseHeaders=new Set(["set-cookie","set-cookie2"]),uniqueResponseHeaders=new Set(["content-type","content-length","user-agent","referer","host","authorization","proxy-authorization","if-modified-since","if-unmodified-since","from","location","max-forwards"]),corsSafeResponseHeaders=new Set(["cache-control","content-language","content-length","content-type","expires","last-modified","pragma"]),allowedRequestMethods=new Set(["OPTIONS","GET","HEAD","POST","PUT","DELETE"]),forbiddenRequestMethods=new Set(["TRACK","TRACE","CONNECT"]);class XMLHttpRequestImpl extends XMLHttpRequestEventTargetImpl{constructor(window){super(window);const{_ownerDocument:_ownerDocument}=this;this.upload=XMLHttpRequestUpload.createImpl(window),this.readyState=READY_STATES.UNSENT,this.responseURL="",this.status=0,this.statusText="",this.flag={synchronous:!1,withCredentials:!1,mimeType:null,auth:null,method:void 0,responseType:"",requestHeaders:{},referrer:_ownerDocument.URL,uri:"",timeout:0,body:void 0,formData:!1,preflight:!1,requestManager:_ownerDocument._requestManager,strictSSL:window._resourceLoader._strictSSL,proxy:window._resourceLoader._proxy,cookieJar:_ownerDocument._cookieJar,encoding:_ownerDocument._encoding,origin:window._origin,userAgent:window.navigator.userAgent},this.properties={beforeSend:!1,send:!1,client:null,timeoutStart:0,timeoutId:0,timeoutFn:null,responseBuffer:null,responseCache:null,responseTextCache:null,responseXMLCache:null,responseHeaders:{},filteredResponseHeaders:[],error:"",uploadComplete:!1,uploadListener:!1,abortError:!1,cookieJar:_ownerDocument._cookieJar,bufferStepSize:1048576,totalReceivedChunkSize:0}}get responseType(){return this.flag.responseType}set responseType(responseType){const{flag:flag}=this;if(this.readyState===READY_STATES.LOADING||this.readyState===READY_STATES.DONE)throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);if(this.readyState===READY_STATES.OPENED&&flag.synchronous)throw DOMException.create(this._globalObject,["The object does not support the operation or argument.","InvalidAccessError"]);flag.responseType=responseType}get response(){const{properties:properties}=this;if(properties.responseCache)return idlUtils.tryWrapperForImpl(properties.responseCache);let res;const responseBuffer=properties.responseBuffer?properties.responseBuffer.slice(0,properties.totalReceivedChunkSize):null;switch(this.responseType){case"":case"text":res=this.responseText;break;case"arraybuffer":if(!responseBuffer)return null;res=copyToArrayBufferInNewRealm(responseBuffer,this._globalObject);break;case"blob":{if(!responseBuffer)return null;const contentType=finalMIMEType(this);res=Blob.createImpl(this._globalObject,[[new Uint8Array(responseBuffer)],{type:contentType||""}]);break}case"document":res=this.responseXML;break;case"json":this.readyState===READY_STATES.DONE&&responseBuffer||(res=null);try{res=parseJSONFromBytes(responseBuffer)}catch(e){res=null}}return properties.responseCache=res,idlUtils.tryWrapperForImpl(res)}get responseText(){const{properties:properties}=this;if(""!==this.responseType&&"text"!==this.responseType)throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);if(this.readyState!==READY_STATES.LOADING&&this.readyState!==READY_STATES.DONE)return"";if(properties.responseTextCache)return properties.responseTextCache;const responseBuffer=properties.responseBuffer?properties.responseBuffer.slice(0,properties.totalReceivedChunkSize):null;if(!responseBuffer)return"";const fallbackEncoding=finalCharset(this)||whatwgEncoding.getBOMEncoding(responseBuffer)||"UTF-8",res=whatwgEncoding.decode(responseBuffer,fallbackEncoding);return properties.responseTextCache=res,res}get responseXML(){const{flag:flag,properties:properties}=this;if(""!==this.responseType&&"document"!==this.responseType)throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);if(this.readyState!==READY_STATES.DONE)return null;if(properties.responseXMLCache)return properties.responseXMLCache;const responseBuffer=properties.responseBuffer?properties.responseBuffer.slice(0,properties.totalReceivedChunkSize):null;if(!responseBuffer)return null;const contentType=finalMIMEType(this);let isHTML=!1,isXML=!1;const parsed=MIMEType.parse(contentType);if(parsed&&(isHTML=parsed.isHTML(),isXML=parsed.isXML(),!isXML&&!isHTML))return null;if(""===this.responseType&&isHTML)return null;const encoding=finalCharset(this)||whatwgEncoding.getBOMEncoding(responseBuffer)||"UTF-8",resText=whatwgEncoding.decode(responseBuffer,encoding);if(!resText)return null;const res=Document.createImpl(this._globalObject,[],{options:{url:flag.uri,lastModified:new Date(getResponseHeader(this,"last-modified")),parsingMode:isHTML?"html":"xml",cookieJar:{setCookieSync:()=>{},getCookieStringSync:()=>""},encoding:encoding,parseOptions:this._ownerDocument._parseOptions}});try{parseIntoDocument(resText,res)}catch(e){return properties.responseXMLCache=null,null}return res.close(),properties.responseXMLCache=res,res}get timeout(){return this.flag.timeout}set timeout(val){const{flag:flag,properties:properties}=this;if(flag.synchronous)throw DOMException.create(this._globalObject,["The object does not support the operation or argument.","InvalidAccessError"]);flag.timeout=val,clearTimeout(properties.timeoutId),val>0&&properties.timeoutFn?properties.timeoutId=setTimeout(properties.timeoutFn,Math.max(0,val-((new Date).getTime()-properties.timeoutStart))):(properties.timeoutFn=null,properties.timeoutStart=0)}get withCredentials(){return this.flag.withCredentials}set withCredentials(val){const{flag:flag,properties:properties}=this;if(this.readyState!==READY_STATES.UNSENT&&this.readyState!==READY_STATES.OPENED)throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);if(properties.send)throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);flag.withCredentials=val}abort(){const{properties:properties}=this;clearTimeout(properties.timeoutId),properties.timeoutFn=null,properties.timeoutStart=0;const{client:client}=properties;if(client&&(client.abort(),properties.client=null),properties.abortError)return this.readyState=READY_STATES.DONE,properties.send=!1,void xhrUtils.setResponseToNetworkError(this);(this.readyState===READY_STATES.OPENED&&properties.send||this.readyState===READY_STATES.HEADERS_RECEIVED||this.readyState===READY_STATES.LOADING)&&xhrUtils.requestErrorSteps(this,"abort"),this.readyState===READY_STATES.DONE&&(this.readyState=READY_STATES.UNSENT,xhrUtils.setResponseToNetworkError(this))}getAllResponseHeaders(){const{properties:properties,readyState:readyState}=this;return readyState===READY_STATES.UNSENT||readyState===READY_STATES.OPENED?"":Object.keys(properties.responseHeaders).filter((key=>-1===properties.filteredResponseHeaders.indexOf(key))).map((key=>[key.toLowerCase(),properties.responseHeaders[key]].join(": "))).join("\r\n")}getResponseHeader(header){const{properties:properties,readyState:readyState}=this;if(readyState===READY_STATES.UNSENT||readyState===READY_STATES.OPENED)return null;const lcHeader=header.toLowerCase();return properties.filteredResponseHeaders.find((filtered=>lcHeader===filtered.toLowerCase()))?null:getResponseHeader(this,lcHeader)}open(method,uri,asynchronous,user,password){const{flag:flag,properties:properties,_ownerDocument:_ownerDocument}=this;if(!_ownerDocument)throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);if(!tokenRegexp.test(method))throw DOMException.create(this._globalObject,["The string did not match the expected pattern.","SyntaxError"]);const upperCaseMethod=method.toUpperCase();if(forbiddenRequestMethods.has(upperCaseMethod))throw DOMException.create(this._globalObject,["The operation is insecure.","SecurityError"]);const{client:client}=properties;if(client&&"function"==typeof client.abort&&client.abort(),allowedRequestMethods.has(upperCaseMethod)&&(method=upperCaseMethod),flag.synchronous=void 0!==asynchronous&&!asynchronous,flag.responseType&&flag.synchronous)throw DOMException.create(this._globalObject,["The object does not support the operation or argument.","InvalidAccessError"]);if(flag.synchronous&&flag.timeout)throw DOMException.create(this._globalObject,["The object does not support the operation or argument.","InvalidAccessError"]);let urlObj;flag.method=method;try{urlObj=new URL(uri,documentBaseURLSerialized(_ownerDocument))}catch(e){throw DOMException.create(this._globalObject,["The string did not match the expected pattern.","SyntaxError"])}(user||password&&!urlObj.username)&&(flag.auth={user:user,pass:password},urlObj.username="",urlObj.password=""),flag.uri=urlObj.href,flag.requestHeaders={},flag.preflight=!1,properties.send=!1,properties.uploadListener=!1,properties.abortError=!1,this.responseURL="",readyStateChange(this,READY_STATES.OPENED)}overrideMimeType(mime){const{readyState:readyState}=this;if(readyState===READY_STATES.LOADING||readyState===READY_STATES.DONE)throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);this.flag.overrideMIMEType="application/octet-stream";const parsed=MIMEType.parse(mime);if(parsed){this.flag.overrideMIMEType=parsed.essence;const charset=parsed.parameters.get("charset");charset&&(this.flag.overrideCharset=whatwgEncoding.labelToName(charset))}}send(body){const{flag:flag,properties:properties,upload:upload,_ownerDocument:_ownerDocument}=this;if(!_ownerDocument)throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);if(this.readyState!==READY_STATES.OPENED||properties.send)throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);properties.beforeSend=!0;try{if("GET"!==flag.method&&"HEAD"!==flag.method||(body=null),null!==body){let encoding=null,mimeType=null;if(Document.isImpl(body))encoding="UTF-8",mimeType=("html"===body._parsingMode?"text/html":"application/xml")+";charset=UTF-8",flag.body=fragmentSerialization(body,{requireWellFormed:!1});else{"string"==typeof body&&(encoding="UTF-8");const{buffer:buffer,formData:formData,contentType:contentType}=function extractBody(bodyInit){if(Blob.isImpl(bodyInit))return{buffer:bodyInit._buffer,contentType:""===bodyInit.type?null:bodyInit.type};if(isArrayBuffer(bodyInit))return{buffer:Buffer.from(bodyInit),contentType:null};if(ArrayBuffer.isView(bodyInit))return{buffer:Buffer.from(bodyInit.buffer,bodyInit.byteOffset,bodyInit.byteLength),contentType:null};if(FormData.isImpl(bodyInit)){const formData=[];for(const entry of bodyInit._entries){let val;if(Blob.isImpl(entry.value)){const blob=entry.value;val={name:entry.name,value:blob._buffer,options:{filename:blob.name,contentType:blob.type,knownLength:blob.size}}}else val=entry;formData.push(val)}return{formData:formData}}return{buffer:Buffer.from(bodyInit,"utf-8"),contentType:"text/plain;charset=UTF-8"}}(body);mimeType=contentType,flag.body=buffer||formData,flag.formData=Boolean(formData)}const existingContentType=xhrUtils.getRequestHeader(flag.requestHeaders,"content-type");if(null!==mimeType&&null===existingContentType)flag.requestHeaders["Content-Type"]=mimeType;else if(null!==existingContentType&&null!==encoding){const parsed=MIMEType.parse(existingContentType);if(parsed){const charset=parsed.parameters.get("charset");charset&&!asciiCaseInsensitiveMatch(charset,encoding)&&null!==encoding&&(parsed.parameters.set("charset",encoding),xhrUtils.updateRequestHeader(flag.requestHeaders,"content-type",parsed.toString()))}}}}finally{if(!properties.beforeSend)throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);properties.beforeSend=!1}if(Object.keys(upload._eventListeners).length>0&&(properties.uploadListener=!0),flag.body&&0===flag.body.byteLength&&(flag.body=null),flag.synchronous){const flagStr=JSON.stringify(flag,(function(k,v){return this===flag&&"requestManager"===k?null:this===flag&&"pool"===k&&v?{maxSockets:v.maxSockets}:v})),res=spawnSync(process.execPath,[30828],{input:flagStr,maxBuffer:1/0});if(0!==res.status)throw new Error(res.stderr.toString());if(res.error)throw"string"==typeof res.error&&(res.error=new Error(res.error)),res.error;const response=JSON.parse(res.stdout.toString()),resProp=response.properties;if(resProp.responseBuffer&&resProp.responseBuffer.data&&(resProp.responseBuffer=Buffer.from(resProp.responseBuffer.data)),resProp.cookieJar&&(resProp.cookieJar=tough.CookieJar.deserializeSync(resProp.cookieJar,_ownerDocument._cookieJar.store)),this.readyState=READY_STATES.LOADING,this.status=response.status,this.statusText=response.statusText,this.responseURL=response.responseURL,Object.assign(this.properties,response.properties),resProp.error)throw xhrUtils.dispatchError(this),DOMException.create(this._globalObject,[resProp.error,"NetworkError"]);{const{responseBuffer:responseBuffer}=properties,contentLength=getResponseHeader(this,"content-length")||"0",bufferLength=parseInt(contentLength)||responseBuffer.length,progressObj={lengthComputable:!1};0!==bufferLength&&(progressObj.total=bufferLength,progressObj.loaded=bufferLength,progressObj.lengthComputable=!0),fireAnEvent("progress",this,ProgressEvent,progressObj),readyStateChange(this,READY_STATES.DONE),fireAnEvent("load",this,ProgressEvent,progressObj),fireAnEvent("loadend",this,ProgressEvent,progressObj)}}else{properties.send=!0,fireAnEvent("loadstart",this,ProgressEvent);const client=xhrUtils.createClient(this);properties.client=client,properties.totalReceivedChunkSize=0,properties.bufferStepSize=1048576,properties.origin=flag.origin,client.on("error",(err=>{client.removeAllListeners(),properties.error=err,xhrUtils.dispatchError(this)})),client.on("response",((res,url)=>function receiveResponse(xhr,response,currentURL){const{flag:flag,properties:properties}=xhr,{rawHeaders:rawHeaders,statusCode:statusCode}=response;let byteOffset=0;const headers={},filteredResponseHeaders=[],headerMap={},n=Number(rawHeaders.length);for(let i=0;i<n;i+=2){const k=rawHeaders[i],kl=k.toLowerCase(),v=rawHeaders[i+1];uniqueResponseHeaders.has(kl)?(void 0!==headerMap[kl]&&delete headers[headerMap[kl]],headers[k]=v):void 0!==headerMap[kl]?headers[headerMap[kl]]+=", "+v:headers[k]=v,headerMap[kl]=k}const destUrlObj=new URL(currentURL);if(properties.origin!==destUrlObj.origin&&"data:"!==destUrlObj.protocol){if(!xhrUtils.validCORSHeaders(xhr,response,flag,properties,properties.origin))return;const acehStr=response.headers["access-control-expose-headers"],aceh=new Set(acehStr?acehStr.trim().toLowerCase().split(xhrUtils.headerListSeparatorRegexp):[]);for(const header in headers){const lcHeader=header.toLowerCase();corsSafeResponseHeaders.has(lcHeader)||aceh.has(lcHeader)||filteredResponseHeaders.push(header)}}for(const header in headers){const lcHeader=header.toLowerCase();forbiddenResponseHeaders.has(lcHeader)&&filteredResponseHeaders.push(header)}xhr.responseURL=destUrlObj.href,xhr.status=statusCode,xhr.statusText=response.statusMessage||HTTP_STATUS_CODES[statusCode]||"",properties.responseHeaders=headers,properties.filteredResponseHeaders=filteredResponseHeaders;const contentLength=getResponseHeader(xhr,"content-length")||"0",bufferLength=parseInt(contentLength)||0,progressObj={lengthComputable:!1};let lastProgressReported;0!==bufferLength&&(progressObj.total=bufferLength,progressObj.loaded=0,progressObj.lengthComputable=!0);if(properties.responseBuffer=Buffer.alloc(properties.bufferStepSize),properties.responseCache=null,properties.responseTextCache=null,properties.responseXMLCache=null,readyStateChange(xhr,READY_STATES.HEADERS_RECEIVED),!properties.client)return;response.on("data",(chunk=>{byteOffset+=chunk.length,progressObj.loaded=byteOffset})),properties.client.on("data",(chunk=>{if(properties.totalReceivedChunkSize+=chunk.length,properties.totalReceivedChunkSize>=properties.bufferStepSize){for(properties.bufferStepSize*=2;properties.totalReceivedChunkSize>=properties.bufferStepSize;)properties.bufferStepSize*=2;const tmpBuf=Buffer.alloc(properties.bufferStepSize);properties.responseBuffer.copy(tmpBuf,0,0,properties.responseBuffer.length),properties.responseBuffer=tmpBuf}chunk.copy(properties.responseBuffer,properties.totalReceivedChunkSize-chunk.length,0,chunk.length),properties.responseCache=null,properties.responseTextCache=null,properties.responseXMLCache=null,xhr.readyState===READY_STATES.HEADERS_RECEIVED&&(xhr.readyState=READY_STATES.LOADING),fireAnEvent("readystatechange",xhr),progressObj.total===progressObj.loaded&&properties.totalReceivedChunkSize!==byteOffset||lastProgressReported!==progressObj.loaded&&(lastProgressReported=progressObj.loaded,fireAnEvent("progress",xhr,ProgressEvent,progressObj))})),properties.client.on("end",(()=>{clearTimeout(properties.timeoutId),properties.timeoutFn=null,properties.timeoutStart=0,properties.client=null,lastProgressReported!==progressObj.loaded&&fireAnEvent("progress",xhr,ProgressEvent,progressObj),readyStateChange(xhr,READY_STATES.DONE),fireAnEvent("load",xhr,ProgressEvent,progressObj),fireAnEvent("loadend",xhr,ProgressEvent,progressObj)}))}(this,res,url))),client.on("redirect",((response,requestHeaders,currentURL)=>{const destUrlObj=new URL(requestHeaders.Referer),urlObj=new URL(currentURL);if(destUrlObj.origin!==urlObj.origin&&destUrlObj.origin!==flag.origin&&(properties.origin="null"),requestHeaders.Origin=properties.origin,flag.origin!==destUrlObj.origin&&"data:"!==destUrlObj.protocol){if(!xhrUtils.validCORSHeaders(this,response,flag,properties,flag.origin))return;(urlObj.username||urlObj.password)&&(properties.error="Userinfo forbidden in cors redirect",xhrUtils.dispatchError(this))}})),null!==body&&""!==body?(properties.uploadComplete=!1,function setDispatchProgressEvents(xhr){const{properties:properties,upload:upload}=xhr,{client:client}=properties;let total=0,lengthComputable=!1;const length=client.headers&&parseInt(xhrUtils.getRequestHeader(client.headers,"content-length"));length&&(total=length,lengthComputable=!0);const initProgress={lengthComputable:lengthComputable,total:total,loaded:0};properties.uploadListener&&fireAnEvent("loadstart",upload,ProgressEvent,initProgress);client.on("request",(req=>{req.on("response",(()=>{if(properties.uploadComplete=!0,!properties.uploadListener)return;const progress={lengthComputable:lengthComputable,total:total,loaded:total};fireAnEvent("progress",upload,ProgressEvent,progress),fireAnEvent("load",upload,ProgressEvent,progress),fireAnEvent("loadend",upload,ProgressEvent,progress)}))}))}(this)):properties.uploadComplete=!0,this.timeout>0&&(properties.timeoutStart=(new Date).getTime(),properties.timeoutFn=()=>{if(client.abort(),this.readyState!==READY_STATES.UNSENT&&(this.readyState!==READY_STATES.OPENED||properties.send)&&this.readyState!==READY_STATES.DONE){properties.send=!1;let stateChanged=!1;properties.uploadComplete||(fireAnEvent("progress",upload,ProgressEvent),readyStateChange(this,READY_STATES.DONE),fireAnEvent("timeout",upload,ProgressEvent),fireAnEvent("loadend",upload,ProgressEvent),stateChanged=!0),fireAnEvent("progress",this,ProgressEvent),stateChanged||readyStateChange(this,READY_STATES.DONE),fireAnEvent("timeout",this,ProgressEvent),fireAnEvent("loadend",this,ProgressEvent)}this.readyState=READY_STATES.UNSENT},properties.timeoutId=setTimeout(properties.timeoutFn,this.timeout))}}setRequestHeader(header,value){const{flag:flag,properties:properties}=this;if(this.readyState!==READY_STATES.OPENED||properties.send)throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"]);if(value=function normalizeHeaderValue(value){return value.replace(/^[\x09\x0A\x0D\x20]+/,"").replace(/[\x09\x0A\x0D\x20]+$/,"")}(value),!tokenRegexp.test(header)||!fieldValueRegexp.test(value))throw DOMException.create(this._globalObject,["The string did not match the expected pattern.","SyntaxError"]);const lcHeader=header.toLowerCase();if(forbiddenRequestHeaders.has(lcHeader)||lcHeader.startsWith("sec-")||lcHeader.startsWith("proxy-"))return;const keys=Object.keys(flag.requestHeaders);let n=keys.length;for(;n--;){const key=keys[n];if(key.toLowerCase()===lcHeader)return void(flag.requestHeaders[key]+=", "+value)}flag.requestHeaders[header]=value}}function readyStateChange(xhr,readyState){xhr.readyState!==readyState&&(xhr.readyState=readyState,fireAnEvent("readystatechange",xhr))}function finalMIMEType(xhr){const{flag:flag}=xhr;return flag.overrideMIMEType||getResponseHeader(xhr,"content-type")}function finalCharset(xhr){const{flag:flag}=xhr;if(flag.overrideCharset)return flag.overrideCharset;const parsedContentType=MIMEType.parse(getResponseHeader(xhr,"content-type"));return parsedContentType?whatwgEncoding.labelToName(parsedContentType.parameters.get("charset")):null}function getResponseHeader(xhr,lcHeader){const{properties:properties}=xhr,keys=Object.keys(properties.responseHeaders);let n=keys.length;for(;n--;){const key=keys[n];if(key.toLowerCase()===lcHeader)return properties.responseHeaders[key]}return null}setupForSimpleEventAccessors(XMLHttpRequestImpl.prototype,["readystatechange"]),exports.implementation=XMLHttpRequestImpl},65794:function(__unused_webpack_module,exports,__webpack_require__){const EventTargetImpl=__webpack_require__(98998).implementation,idlUtils=__webpack_require__(80421),{setupForSimpleEventAccessors:setupForSimpleEventAccessors}=__webpack_require__(90653);class XMLHttpRequestEventTargetImpl extends EventTargetImpl{get _ownerDocument(){return idlUtils.implForWrapper(this._globalObject._document)}}setupForSimpleEventAccessors(XMLHttpRequestEventTargetImpl.prototype,["loadstart","progress","abort","error","load","timeout","loadend"]),exports.implementation=XMLHttpRequestEventTargetImpl},65628:function(__unused_webpack_module,exports,__webpack_require__){const XMLHttpRequestEventTargetImpl=__webpack_require__(65794).implementation;exports.implementation=class XMLHttpRequestUploadImpl extends XMLHttpRequestEventTargetImpl{}},30828:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var process=__webpack_require__(34155),Buffer=__webpack_require__(48764).Buffer;const util=__webpack_require__(89539),{JSDOM:JSDOM}=__webpack_require__(38868),{READY_STATES:READY_STATES}=__webpack_require__(27e3),idlUtils=__webpack_require__(80421),tough=__webpack_require__(47857),xhr=new((new JSDOM).window.XMLHttpRequest),xhrImpl=idlUtils.implForWrapper(xhr),chunks=[];process.stdin.on("data",(chunk=>{chunks.push(chunk)})),process.stdin.on("end",(()=>{const buffer=Buffer.concat(chunks),flag=JSON.parse(buffer.toString());flag.body&&"Buffer"===flag.body.type&&flag.body.data&&(flag.body=Buffer.from(flag.body.data)),flag.cookieJar&&(flag.cookieJar=tough.CookieJar.fromJSON(flag.cookieJar)),flag.synchronous=!1,Object.assign(xhrImpl.flag,flag);const{properties:properties}=xhrImpl;xhrImpl.readyState=READY_STATES.OPENED;try{xhr.addEventListener("loadend",(()=>{properties.error&&(properties.error=properties.error.stack||util.inspect(properties.error)),process.stdout.write(JSON.stringify({responseURL:xhrImpl.responseURL,status:xhrImpl.status,statusText:xhrImpl.statusText,properties:properties}),(()=>{process.exit(0)}))}),!1),xhr.send(flag.body)}catch(error){properties.error+=error.stack||util.inspect(error),process.stdout.write(JSON.stringify({responseURL:xhrImpl.responseURL,status:xhrImpl.status,statusText:xhrImpl.statusText,properties:properties}),(()=>{process.exit(0)}))}}))},27e3:function(__unused_webpack_module,exports,__webpack_require__){var process=__webpack_require__(34155),Buffer=__webpack_require__(48764).Buffer;const fs=__webpack_require__(16299),{EventEmitter:EventEmitter}=__webpack_require__(17187),{URL:URL}=__webpack_require__(77101),parseDataURL=__webpack_require__(61501),DOMException=__webpack_require__(69026),ProgressEvent=__webpack_require__(49363),agentFactory=__webpack_require__(77470),Request=__webpack_require__(65111),FormData=__webpack_require__(6230),{fireAnEvent:fireAnEvent}=__webpack_require__(96799),headerListSeparatorRegexp=/,[ \t]*/,simpleMethods=new Set(["GET","HEAD","POST"]),simpleHeaders=new Set(["accept","accept-language","content-language","content-type"]),preflightHeaders=new Set(["access-control-expose-headers","access-control-allow-headers","access-control-allow-credentials","access-control-allow-origin"]),READY_STATES=exports.READY_STATES=Object.freeze({UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4});function getRequestHeader(requestHeaders,header){const lcHeader=header.toLowerCase(),keys=Object.keys(requestHeaders);let n=keys.length;for(;n--;){const key=keys[n];if(key.toLowerCase()===lcHeader)return requestHeaders[key]}return null}function dispatchError(xhr){const errMessage=xhr.properties.error;if(requestErrorSteps(xhr,"error",DOMException.create(xhr._globalObject,[errMessage,"NetworkError"])),xhr._ownerDocument){const error=new Error(errMessage);error.type="XMLHttpRequest",xhr._ownerDocument._defaultView._virtualConsole.emit("jsdomError",error)}}function validCORSHeaders(xhr,response,flag,properties,origin){const acaoStr=response.headers["access-control-allow-origin"],acao=acaoStr?acaoStr.trim():null;if("*"!==acao&&acao!==origin)return properties.error="Cross origin "+origin+" forbidden",dispatchError(xhr),!1;const acacStr=response.headers["access-control-allow-credentials"],acac=acacStr?acacStr.trim():null;return!flag.withCredentials||"true"===acac||(properties.error="Credentials forbidden",dispatchError(xhr),!1)}function requestErrorSteps(xhr,event,exception){const{flag:flag,properties:properties,upload:upload}=xhr;if(xhr.readyState=READY_STATES.DONE,properties.send=!1,setResponseToNetworkError(xhr),flag.synchronous)throw exception;fireAnEvent("readystatechange",xhr),properties.uploadComplete||(properties.uploadComplete=!0,properties.uploadListener&&(fireAnEvent(event,upload,ProgressEvent,{loaded:0,total:0,lengthComputable:!1}),fireAnEvent("loadend",upload,ProgressEvent,{loaded:0,total:0,lengthComputable:!1}))),fireAnEvent(event,xhr,ProgressEvent,{loaded:0,total:0,lengthComputable:!1}),fireAnEvent("loadend",xhr,ProgressEvent,{loaded:0,total:0,lengthComputable:!1})}function setResponseToNetworkError(xhr){const{properties:properties}=xhr;properties.responseBuffer=properties.responseCache=properties.responseTextCache=properties.responseXMLCache=null,properties.responseHeaders={},xhr.status=0,xhr.statusText=""}exports.headerListSeparatorRegexp=headerListSeparatorRegexp,exports.simpleHeaders=simpleHeaders,exports.preflightHeaders=preflightHeaders,exports.getRequestHeader=getRequestHeader,exports.updateRequestHeader=function updateRequestHeader(requestHeaders,header,newValue){const lcHeader=header.toLowerCase(),keys=Object.keys(requestHeaders);let n=keys.length;for(;n--;){const key=keys[n];key.toLowerCase()===lcHeader&&(requestHeaders[key]=newValue)}},exports.dispatchError=dispatchError,exports.validCORSHeaders=validCORSHeaders,exports.requestErrorSteps=requestErrorSteps,exports.setResponseToNetworkError=setResponseToNetworkError,exports.createClient=function createClient(xhr){const{flag:flag,properties:properties}=xhr,urlObj=new URL(flag.uri),uri=urlObj.href,ucMethod=flag.method.toUpperCase(),{requestManager:requestManager}=flag;if("file:"===urlObj.protocol){const response=new EventEmitter;response.statusCode=200,response.rawHeaders=[],response.headers={};const filePath=urlObj.pathname.replace(/^file:\/\//,"").replace(/^\/([a-z]):\//i,"$1:/").replace(/%20/g," "),client=new EventEmitter,readableStream=fs.createReadStream(filePath,{encoding:null});if(readableStream.on("data",(chunk=>{response.emit("data",chunk),client.emit("data",chunk)})),readableStream.on("end",(()=>{response.emit("end"),client.emit("end")})),readableStream.on("error",(err=>{client.emit("error",err)})),client.abort=function(){readableStream.destroy(),client.emit("abort")},requestManager){const req={abort(){properties.abortError=!0,xhr.abort()}};requestManager.add(req);const rmReq=requestManager.remove.bind(requestManager,req);client.on("abort",rmReq),client.on("error",rmReq),client.on("end",rmReq)}return process.nextTick((()=>client.emit("response",response,urlObj.href))),client}if("data:"===urlObj.protocol){const response=new EventEmitter,client=new EventEmitter;let buffer;try{const parsed=parseDataURL(uri),contentType=parsed.mimeType.toString();buffer=Buffer.from(parsed.body),response.statusCode=200,response.rawHeaders=["Content-Type",contentType],response.headers={"content-type":contentType}}catch(err){return process.nextTick((()=>client.emit("error",err))),client}return client.abort=()=>{},process.nextTick((()=>{client.emit("response",response,urlObj.href),process.nextTick((()=>{response.emit("data",buffer),client.emit("data",buffer),response.emit("end"),client.emit("end")}))})),client}const agents=agentFactory(flag.proxy,flag.strictSSL),requestHeaders={};for(const header in flag.requestHeaders)requestHeaders[header]=flag.requestHeaders[header];null===getRequestHeader(flag.requestHeaders,"referer")&&(requestHeaders.Referer=flag.referrer),null===getRequestHeader(flag.requestHeaders,"user-agent")&&(requestHeaders["User-Agent"]=flag.userAgent),null===getRequestHeader(flag.requestHeaders,"accept-language")&&(requestHeaders["Accept-Language"]="en"),null===getRequestHeader(flag.requestHeaders,"accept")&&(requestHeaders.Accept="*/*");const crossOrigin=flag.origin!==urlObj.origin;crossOrigin&&(requestHeaders.Origin=flag.origin);const options={rejectUnauthorized:flag.strictSSL,agents:agents,followRedirects:!0};flag.auth&&(options.user=flag.auth.user||"",options.pass=flag.auth.pass||""),!flag.cookieJar||crossOrigin&&!flag.withCredentials||(options.cookieJar=flag.cookieJar);const{body:body}=flag,hasBody=null!=body&&""!==body&&!("HEAD"===ucMethod||"GET"===ucMethod);function doRequest(){try{let requestBody=body,len=0;if(hasBody){if(flag.formData){requestBody=new FormData;for(const entry of body)requestBody.append(entry.name,entry.value,entry.options);len=requestBody.getLengthSync(),requestHeaders["Content-Type"]=`multipart/form-data; boundary=${requestBody.getBoundary()}`}else len="string"==typeof body?Buffer.byteLength(body):body.length,requestBody=Buffer.isBuffer(requestBody)?requestBody:Buffer.from(requestBody);requestHeaders["Content-Length"]=len}requestHeaders["Accept-Encoding"]="gzip, deflate";const requestClient=new Request(uri,options,{method:flag.method,headers:requestHeaders});return hasBody&&(flag.formData?(requestBody.on("error",(err=>{requestClient.emit("error",err),requestClient.abort()})),requestClient.pipeRequest(requestBody)):requestClient.write(requestBody)),requestClient}catch(e){const eventEmitterclient=new EventEmitter;return process.nextTick((()=>eventEmitterclient.emit("error",e))),eventEmitterclient.end=()=>{},eventEmitterclient}}let client;hasBody&&null===getRequestHeader(flag.requestHeaders,"content-type")&&(requestHeaders["Content-Type"]="text/plain;charset=UTF-8");const nonSimpleHeaders=Object.keys(flag.requestHeaders).filter((header=>!simpleHeaders.has(header.toLowerCase())));if(crossOrigin&&(!simpleMethods.has(ucMethod)||nonSimpleHeaders.length>0||properties.uploadListener)){client=new EventEmitter;const preflightRequestHeaders={};for(const header in requestHeaders){const lcHeader=header.toLowerCase();"origin"!==lcHeader&&"referer"!==lcHeader||(preflightRequestHeaders[header]=requestHeaders[header])}preflightRequestHeaders["Access-Control-Request-Method"]=flag.method,nonSimpleHeaders.length>0&&(preflightRequestHeaders["Access-Control-Request-Headers"]=nonSimpleHeaders.join(", ")),preflightRequestHeaders["User-Agent"]=flag.userAgent,flag.preflight=!0;const rejectUnauthorized=flag.strictSSL,preflightClient=new Request(uri,{agents:agents,followRedirects:!1},{method:"OPTIONS",headers:preflightRequestHeaders,rejectUnauthorized:rejectUnauthorized});preflightClient.on("response",(resp=>{if(resp.statusCode<200||resp.statusCode>299)return void client.emit("error",new Error("Response for preflight has invalid HTTP status code "+resp.statusCode));if(!function validCORSPreflightHeaders(xhr,response,flag,properties){if(!validCORSHeaders(xhr,response,flag,properties,properties.origin))return!1;const acahStr=response.headers["access-control-allow-headers"],acah=new Set(acahStr?acahStr.trim().toLowerCase().split(headerListSeparatorRegexp):[]),forbiddenHeaders=acah.has("*")?[]:Object.keys(flag.requestHeaders).filter((header=>{const lcHeader=header.toLowerCase();return!simpleHeaders.has(lcHeader)&&!acah.has(lcHeader)}));return!(forbiddenHeaders.length>0&&(properties.error="Headers "+forbiddenHeaders+" forbidden",dispatchError(xhr),1))}(xhr,resp,flag,properties))return void setResponseToNetworkError(xhr);const realClient=doRequest();realClient.on("response",((...args)=>client.emit("response",...args))),realClient.on("data",(chunk=>client.emit("data",chunk))),realClient.on("end",(()=>client.emit("end"))),realClient.on("abort",(()=>client.emit("abort"))),realClient.on("request",(req=>{client.headers=realClient.headers,client.emit("request",req)})),realClient.on("redirect",((...args)=>{client.emit("redirect",...args)})),realClient.on("error",(err=>{client.emit("error",err)})),client.abort=()=>{realClient.abort()},setImmediate((()=>realClient.end()))})),preflightClient.on("error",(err=>{client.emit("error",err)})),client.abort=()=>{preflightClient.abort()},setImmediate((()=>preflightClient.end()))}else client=doRequest(),setImmediate((()=>client.end()));if(requestManager){const req={abort(){properties.abortError=!0,xhr.abort()}};requestManager.add(req);const rmReq=requestManager.remove.bind(requestManager,req);client.on("abort",rmReq),client.on("error",rmReq),client.on("end",rmReq)}return client}},54172:function(__unused_webpack_module,exports){const IS_NAMED_PROPERTY=Symbol("is named property"),TRACKER=Symbol("named property tracker");function NamedPropertiesTracker(object,objectProxy,resolverFunc){this.object=object,this.objectProxy=objectProxy,this.resolverFunc=resolverFunc,this.trackedValues=new Map}exports.create=function(object,objectProxy,resolverFunc){if(object[TRACKER])throw Error("A NamedPropertiesTracker has already been created for this object");const tracker=new NamedPropertiesTracker(object,objectProxy,resolverFunc);return object[TRACKER]=tracker,tracker},exports.get=function(object){return object&&object[TRACKER]||null},NamedPropertiesTracker.prototype.track=function(name,value){if(null==name||""===name)return;let valueSet=this.trackedValues.get(name);if(valueSet||(valueSet=new Set,this.trackedValues.set(name,valueSet)),valueSet.add(value),name in this.objectProxy)return;const descriptor=function newPropertyDescriptor(tracker,name){const emptySet=new Set;function getValues(){return tracker.trackedValues.get(name)||emptySet}const descriptor={enumerable:!0,configurable:!0,get:()=>tracker.resolverFunc(tracker.object,name,getValues),set(value){Object.defineProperty(tracker.object,name,{enumerable:!0,configurable:!0,writable:!0,value:value})}};return descriptor.get[IS_NAMED_PROPERTY]=!0,descriptor.set[IS_NAMED_PROPERTY]=!0,descriptor}(this,name);Object.defineProperty(this.object,name,descriptor)},NamedPropertiesTracker.prototype.untrack=function(name,value){if(null==name||""===name)return;const valueSet=this.trackedValues.get(name);if(!valueSet)return;if(!valueSet.delete(value))return;if(0===valueSet.size&&this.trackedValues.delete(name),valueSet.size>0)return;const descriptor=Object.getOwnPropertyDescriptor(this.object,name);descriptor&&descriptor.get&&!0===descriptor.get[IS_NAMED_PROPERTY]&&delete this.object[name]}},54641:function(__unused_webpack_module,exports,__webpack_require__){var process=__webpack_require__(34155);const path=__webpack_require__(26470),whatwgURL=__webpack_require__(77101),{domSymbolTree:domSymbolTree}=__webpack_require__(15415),SYMBOL_TREE_POSITION=__webpack_require__(30291).TreePosition;function addConstant(object,property,value){Object.defineProperty(object,property,{configurable:!1,enumerable:!0,writable:!1,value:value})}exports.hasWeakRefs="function"==typeof WeakRef,exports.toFileUrl=function(fileName){let pathname=path.resolve(process.cwd(),fileName).replace(/\\/g,"/");return"/"!==pathname[0]&&(pathname="/"+pathname),"file://"+encodeURI(pathname)},exports.define=function define(object,properties){for(const name of Object.getOwnPropertyNames(properties)){const propDesc=Object.getOwnPropertyDescriptor(properties,name);Object.defineProperty(object,name,propDesc)}},exports.addConstants=function addConstants(Constructor,propertyMap){for(const property in propertyMap){const value=propertyMap[property];addConstant(Constructor,property,value),addConstant(Constructor.prototype,property,value)}},exports.mixin=(target,source)=>{const keys=Reflect.ownKeys(source);for(let i=0;i<keys.length;++i)keys[i]in target||Object.defineProperty(target,keys[i],Object.getOwnPropertyDescriptor(source,keys[i]))};let memoizeQueryTypeCounter=0;exports.memoizeQuery=function memoizeQuery(fn){if(fn.length>2)return fn;const type=memoizeQueryTypeCounter++;return function(...args){if(!this._memoizedQueries)return fn.apply(this,args);let key;if(this._memoizedQueries[type]||(this._memoizedQueries[type]=Object.create(null)),1===args.length&&"string"==typeof args[0])key=args[0];else{if(2!==args.length||"string"!=typeof args[0]||"string"!=typeof args[1])return fn.apply(this,args);key=args[0]+"::"+args[1]}return key in this._memoizedQueries[type]||(this._memoizedQueries[type][key]=fn.apply(this,args)),this._memoizedQueries[type][key]}},exports.isValidTargetOrigin=function(str){return"*"===str||"/"===str||function isValidAbsoluteURL(str){return null!==whatwgURL.parseURL(str)}(str)},exports.simultaneousIterators=function*(first,second){for(;;){const firstResult=first.next(),secondResult=second.next();if(firstResult.done&&secondResult.done)return;yield[firstResult.done?null:firstResult.value,secondResult.done?null:secondResult.value]}},exports.treeOrderSorter=function(a,b){const compare=domSymbolTree.compareTreePosition(a,b);return compare&SYMBOL_TREE_POSITION.PRECEDING?1:compare&SYMBOL_TREE_POSITION.FOLLOWING?-1:0},exports.Canvas=null;let canvasInstalled=!1;try{canvasInstalled=!0}catch(e){}if(canvasInstalled){const Canvas=__webpack_require__(93645);"function"==typeof Canvas.createCanvas&&(exports.Canvas=Canvas)}},96784:function(module,__unused_webpack_exports,__webpack_require__){const{EventEmitter:EventEmitter}=__webpack_require__(17187);module.exports=class VirtualConsole extends EventEmitter{constructor(){super(),this.on("error",(()=>{}))}sendTo(anyConsole,options){void 0===options&&(options={});for(const method of Object.keys(anyConsole))if("function"==typeof anyConsole[method]){function onMethodCall(...args){anyConsole[method](...args)}this.on(method,onMethodCall)}return options.omitJSDOMErrors||this.on("jsdomError",(e=>anyConsole.error(e.stack,e.detail))),this}}},53113:function(__unused_webpack_module,exports,__webpack_require__){const acorn=__webpack_require__(1234),findGlobals=__webpack_require__(69874),escodegen=__webpack_require__(90312),jsGlobals=__webpack_require__(40264),jsGlobalEntriesToInstall=Object.entries(jsGlobals).filter((([name])=>"eval"!==name&&name in __webpack_require__.g));exports.createContext=function(sandbox){Object.defineProperty(sandbox,"__isVMShimContext",{value:!0,writable:!0,configurable:!0,enumerable:!1});for(const[globalName,globalPropDesc]of jsGlobalEntriesToInstall){const propDesc={...globalPropDesc,value:__webpack_require__.g[globalName]};Object.defineProperty(sandbox,globalName,propDesc)}Object.defineProperty(sandbox,"eval",{value:code=>exports.runInContext(code,sandbox),writable:!0,configurable:!0,enumerable:!1})},exports.isContext=function(sandbox){return sandbox.__isVMShimContext},exports.runInContext=function(code,contextifiedSandbox,options){if("this"===code)return contextifiedSandbox;void 0===options&&(options={});const comments=[],tokens=[],ast=acorn.parse(code,{allowReturnOutsideFunction:!0,ranges:!0,onComment:comments,onToken:tokens});escodegen.attachComments(ast,comments,tokens);const globals=findGlobals(ast);for(let i=0;i<globals.length;++i){if("window"===globals[i].name||"this"===globals[i].name)continue;const{nodes:nodes}=globals[i];for(let j=0;j<nodes.length;++j){const{type:type,name:name}=nodes[j];nodes[j].type="MemberExpression",nodes[j].property={name:name,type:type},nodes[j].computed=!1,nodes[j].object={name:"window",type:"Identifier"}}}const lastNode=ast.body[ast.body.length-1];"ExpressionStatement"===lastNode.type&&(lastNode.type="ReturnStatement",lastNode.argument=lastNode.expression,delete lastNode.expression);const rewrittenCode=escodegen.generate(ast,{comment:!0}),suffix=void 0!==options.filename?"\n//# sourceURL="+options.filename:"";return Function("window",rewrittenCode+suffix).bind(contextifiedSandbox)(contextifiedSandbox)},exports.Script=class VMShimScript{constructor(code,options){this._code=code,this._options=options}runInContext(sandbox,options){return exports.runInContext(this._code,sandbox,{...this._options,...options})}}},77161:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer,process=__webpack_require__(34155);!function(exports){function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _iterableToArrayLimit(arr,i){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(arr)){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var ansiColors={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},styles={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},truncator="…";function colorise(value,styleType){var color=ansiColors[styles[styleType]]||ansiColors[styleType];return color?"[".concat(color[0],"m").concat(String(value),"[").concat(color[1],"m"):String(value)}function normaliseOptions(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref$showHidden=_ref.showHidden,showHidden=void 0!==_ref$showHidden&&_ref$showHidden,_ref$depth=_ref.depth,depth=void 0===_ref$depth?2:_ref$depth,_ref$colors=_ref.colors,colors=void 0!==_ref$colors&&_ref$colors,_ref$customInspect=_ref.customInspect,customInspect=void 0===_ref$customInspect||_ref$customInspect,_ref$showProxy=_ref.showProxy,showProxy=void 0!==_ref$showProxy&&_ref$showProxy,_ref$maxArrayLength=_ref.maxArrayLength,maxArrayLength=void 0===_ref$maxArrayLength?1/0:_ref$maxArrayLength,_ref$breakLength=_ref.breakLength,breakLength=void 0===_ref$breakLength?1/0:_ref$breakLength,_ref$seen=_ref.seen,seen=void 0===_ref$seen?[]:_ref$seen,_ref$truncate=_ref.truncate,truncate=void 0===_ref$truncate?1/0:_ref$truncate,_ref$stylize=_ref.stylize,stylize=void 0===_ref$stylize?String:_ref$stylize,options={showHidden:Boolean(showHidden),depth:Number(depth),colors:Boolean(colors),customInspect:Boolean(customInspect),showProxy:Boolean(showProxy),maxArrayLength:Number(maxArrayLength),breakLength:Number(breakLength),truncate:Number(truncate),seen:seen,stylize:stylize};return options.colors&&(options.stylize=colorise),options}function truncate(string,length){var tail=arguments.length>2&&void 0!==arguments[2]?arguments[2]:truncator;string=String(string);var tailLength=tail.length,stringLength=string.length;return tailLength>length&&stringLength>tailLength?tail:stringLength>length&&stringLength>tailLength?"".concat(string.slice(0,length-tailLength)).concat(tail):string}function inspectList(list,options,inspectItem){var separator=arguments.length>3&&void 0!==arguments[3]?arguments[3]:", ";inspectItem=inspectItem||options.inspect;var size=list.length;if(0===size)return"";for(var originalLength=options.truncate,output="",peek="",truncated="",i=0;i<size;i+=1){var last=i+1===list.length,secondToLast=i+2===list.length;truncated="".concat(truncator,"(").concat(list.length-i,")");var value=list[i];options.truncate=originalLength-output.length-(last?0:separator.length);var string=peek||inspectItem(value,options)+(last?"":separator),nextLength=output.length+string.length,truncatedLength=nextLength+truncated.length;if(last&&nextLength>originalLength&&output.length+truncated.length<=originalLength)break;if(!last&&!secondToLast&&truncatedLength>originalLength)break;if(peek=last?"":inspectItem(list[i+1],options)+(secondToLast?"":separator),!last&&secondToLast&&truncatedLength>originalLength&&nextLength+peek.length>originalLength)break;if(output+=string,!last&&!secondToLast&&nextLength+peek.length>=originalLength){truncated="".concat(truncator,"(").concat(list.length-i-1,")");break}truncated=""}return"".concat(output).concat(truncated)}function quoteComplexKey(key){return key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?key:JSON.stringify(key).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function inspectProperty(_ref2,options){var _ref3=_slicedToArray(_ref2,2),key=_ref3[0],value=_ref3[1];return options.truncate-=2,"string"==typeof key?key=quoteComplexKey(key):"number"!=typeof key&&(key="[".concat(options.inspect(key,options),"]")),options.truncate-=key.length,value=options.inspect(value,options),"".concat(key,": ").concat(value)}function inspectArray(array,options){var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return"[]";options.truncate-=4;var listContents=inspectList(array,options);options.truncate-=listContents.length;var propertyContents="";return nonIndexProperties.length&&(propertyContents=inspectList(nonIndexProperties.map((function(key){return[key,array[key]]})),options,inspectProperty)),"[ ".concat(listContents).concat(propertyContents?", ".concat(propertyContents):""," ]")}var toString=Function.prototype.toString,functionNameMatch=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/;function getFuncName(aFunc){if("function"!=typeof aFunc)return null;var name="";if(void 0===Function.prototype.name&&void 0===aFunc.name){var match=toString.call(aFunc).match(functionNameMatch);match&&(name=match[1])}else name=aFunc.name;return name}var getFuncName_1=getFuncName,getArrayName=function getArrayName(array){return"function"==typeof Buffer&&array instanceof Buffer?"Buffer":array[Symbol.toStringTag]?array[Symbol.toStringTag]:getFuncName_1(array.constructor)};function inspectTypedArray(array,options){var name=getArrayName(array);options.truncate-=name.length+4;var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return"".concat(name,"[]");for(var output="",i=0;i<array.length;i++){var string="".concat(options.stylize(truncate(array[i],options.truncate),"number")).concat(i===array.length-1?"":", ");if(options.truncate-=string.length,array[i]!==array.length&&options.truncate<=3){output+="".concat(truncator,"(").concat(array.length-array[i]+1,")");break}output+=string}var propertyContents="";return nonIndexProperties.length&&(propertyContents=inspectList(nonIndexProperties.map((function(key){return[key,array[key]]})),options,inspectProperty)),"".concat(name,"[ ").concat(output).concat(propertyContents?", ".concat(propertyContents):""," ]")}function inspectDate(dateObject,options){var split=dateObject.toJSON().split("T"),date=split[0];return options.stylize("".concat(date,"T").concat(truncate(split[1],options.truncate-date.length-1)),"date")}function inspectFunction(func,options){var name=getFuncName_1(func);return name?options.stylize("[Function ".concat(truncate(name,options.truncate-11),"]"),"special"):options.stylize("[Function]","special")}function inspectMapEntry(_ref,options){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];return options.truncate-=4,key=options.inspect(key,options),options.truncate-=key.length,value=options.inspect(value,options),"".concat(key," => ").concat(value)}function mapToEntries(map){var entries=[];return map.forEach((function(value,key){entries.push([key,value])})),entries}function inspectMap(map,options){return map.size-1<=0?"Map{}":(options.truncate-=7,"Map{ ".concat(inspectList(mapToEntries(map),options,inspectMapEntry)," }"))}var isNaN=Number.isNaN||function(i){return i!=i};function inspectNumber(number,options){return isNaN(number)?options.stylize("NaN","number"):number===1/0?options.stylize("Infinity","number"):number===-1/0?options.stylize("-Infinity","number"):0===number?options.stylize(1/number==1/0?"+0":"-0","number"):options.stylize(truncate(number,options.truncate),"number")}function inspectBigInt(number,options){var nums=truncate(number.toString(),options.truncate-1);return nums!==truncator&&(nums+="n"),options.stylize(nums,"bigint")}function inspectRegExp(value,options){var flags=value.toString().split("/")[2],sourceLength=options.truncate-(2+flags.length),source=value.source;return options.stylize("/".concat(truncate(source,sourceLength),"/").concat(flags),"regexp")}function arrayFromSet(set){var values=[];return set.forEach((function(value){values.push(value)})),values}function inspectSet(set,options){return 0===set.size?"Set{}":(options.truncate-=7,"Set{ ".concat(inspectList(arrayFromSet(set),options)," }"))}var stringEscapeChars=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),escapeCharacters={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},hex=16,unicodeLength=4;function escape(char){return escapeCharacters[char]||"\\u".concat("0000".concat(char.charCodeAt(0).toString(hex)).slice(-unicodeLength))}function inspectString(string,options){return stringEscapeChars.test(string)&&(string=string.replace(stringEscapeChars,escape)),options.stylize("'".concat(truncate(string,options.truncate-2),"'"),"string")}function inspectSymbol(value){return"description"in Symbol.prototype?value.description?"Symbol(".concat(value.description,")"):"Symbol()":value.toString()}var getPromiseValue=function getPromiseValue(){return"Promise{…}"};try{var _process$binding=process.binding("util"),getPromiseDetails=_process$binding.getPromiseDetails,kPending=_process$binding.kPending,kRejected=_process$binding.kRejected;Array.isArray(getPromiseDetails(Promise.resolve()))&&(getPromiseValue=function getPromiseValue(value,options){var _getPromiseDetails2=_slicedToArray(getPromiseDetails(value),2),state=_getPromiseDetails2[0],innerValue=_getPromiseDetails2[1];return state===kPending?"Promise{<pending>}":"Promise".concat(state===kRejected?"!":"","{").concat(options.inspect(innerValue,options),"}")})}catch(notNode){}var inspectPromise=getPromiseValue;function inspectObject(object,options){var properties=Object.getOwnPropertyNames(object),symbols=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(object):[];if(0===properties.length&&0===symbols.length)return"{}";if(options.truncate-=4,options.seen=options.seen||[],options.seen.indexOf(object)>=0)return"[Circular]";options.seen.push(object);var propertyContents=inspectList(properties.map((function(key){return[key,object[key]]})),options,inspectProperty),symbolContents=inspectList(symbols.map((function(key){return[key,object[key]]})),options,inspectProperty);options.seen.pop();var sep="";return propertyContents&&symbolContents&&(sep=", "),"{ ".concat(propertyContents).concat(sep).concat(symbolContents," }")}var toStringTag=!("undefined"==typeof Symbol||!Symbol.toStringTag)&&Symbol.toStringTag;function inspectClass(value,options){var name="";return toStringTag&&toStringTag in value&&(name=value[toStringTag]),(name=name||getFuncName_1(value.constructor))&&"_class"!==name||(name="<Anonymous Class>"),options.truncate-=name.length,"".concat(name).concat(inspectObject(value,options))}function inspectArguments(args,options){return 0===args.length?"Arguments[]":(options.truncate-=13,"Arguments[ ".concat(inspectList(args,options)," ]"))}var errorKeys=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function inspectObject$1(error,options){var properties=Object.getOwnPropertyNames(error).filter((function(key){return-1===errorKeys.indexOf(key)})),name=error.name;options.truncate-=name.length;var message="";"string"==typeof error.message?message=truncate(error.message,options.truncate):properties.unshift("message"),message=message?": ".concat(message):"",options.truncate-=message.length+5;var propertyContents=inspectList(properties.map((function(key){return[key,error[key]]})),options,inspectProperty);return"".concat(name).concat(message).concat(propertyContents?" { ".concat(propertyContents," }"):"")}function inspectAttribute(_ref,options){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];return options.truncate-=3,value?"".concat(options.stylize(key,"yellow"),"=").concat(options.stylize('"'.concat(value,'"'),"string")):"".concat(options.stylize(key,"yellow"))}function inspectHTMLCollection(collection,options){return inspectList(collection,options,inspectHTML,"\n")}function inspectHTML(element,options){var properties=element.getAttributeNames(),name=element.tagName.toLowerCase(),head=options.stylize("<".concat(name),"special"),headClose=options.stylize(">","special"),tail=options.stylize("</".concat(name,">"),"special");options.truncate-=2*name.length+5;var propertyContents="";properties.length>0&&(propertyContents+=" ",propertyContents+=inspectList(properties.map((function(key){return[key,element.getAttribute(key)]})),options,inspectAttribute," ")),options.truncate-=propertyContents.length;var truncate=options.truncate,children=inspectHTMLCollection(element.children,options);return children&&children.length>truncate&&(children="".concat(truncator,"(").concat(element.children.length,")")),"".concat(head).concat(propertyContents).concat(headClose).concat(children).concat(tail)}var chaiInspect="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("chai/inspect"):"@@chai/inspect",nodeInspect=!1;try{var nodeUtil=__webpack_require__(56952);nodeInspect=!!nodeUtil.inspect&&nodeUtil.inspect.custom}catch(noNodeInspect){nodeInspect=!1}var constructorMap=new WeakMap,stringTagMap={},baseTypesMap={undefined:function undefined$1(value,options){return options.stylize("undefined","undefined")},null:function _null(value,options){return options.stylize(null,"null")},boolean:function boolean(value,options){return options.stylize(value,"boolean")},Boolean:function Boolean(value,options){return options.stylize(value,"boolean")},number:inspectNumber,Number:inspectNumber,bigint:inspectBigInt,BigInt:inspectBigInt,string:inspectString,String:inspectString,function:inspectFunction,Function:inspectFunction,symbol:inspectSymbol,Symbol:inspectSymbol,Array:inspectArray,Date:inspectDate,Map:inspectMap,Set:inspectSet,RegExp:inspectRegExp,Promise:inspectPromise,WeakSet:function WeakSet(value,options){return options.stylize("WeakSet{…}","special")},WeakMap:function WeakMap(value,options){return options.stylize("WeakMap{…}","special")},Arguments:inspectArguments,Int8Array:inspectTypedArray,Uint8Array:inspectTypedArray,Uint8ClampedArray:inspectTypedArray,Int16Array:inspectTypedArray,Uint16Array:inspectTypedArray,Int32Array:inspectTypedArray,Uint32Array:inspectTypedArray,Float32Array:inspectTypedArray,Float64Array:inspectTypedArray,Generator:function Generator(){return""},DataView:function DataView(){return""},ArrayBuffer:function ArrayBuffer(){return""},Error:inspectObject$1,HTMLCollection:inspectHTMLCollection,NodeList:inspectHTMLCollection},inspectCustom=function inspectCustom(value,options,type){return chaiInspect in value&&"function"==typeof value[chaiInspect]?value[chaiInspect](options):nodeInspect&&nodeInspect in value&&"function"==typeof value[nodeInspect]?value[nodeInspect](options.depth,options):"inspect"in value&&"function"==typeof value.inspect?value.inspect(options.depth,options):"constructor"in value&&constructorMap.has(value.constructor)?constructorMap.get(value.constructor)(value,options):stringTagMap[type]?stringTagMap[type](value,options):""},toString$1=Object.prototype.toString;function inspect(value,options){(options=normaliseOptions(options)).inspect=inspect;var customInspect=options.customInspect,type=null===value?"null":_typeof(value);if("object"===type&&(type=toString$1.call(value).slice(8,-1)),baseTypesMap[type])return baseTypesMap[type](value,options);if(customInspect&&value){var output=inspectCustom(value,options,type);if(output)return"string"==typeof output?output:inspect(output,options)}var proto=!!value&&Object.getPrototypeOf(value);return proto===Object.prototype||null===proto?inspectObject(value,options):value&&"function"==typeof HTMLElement&&value instanceof HTMLElement?inspectHTML(value,options):"constructor"in value?value.constructor!==Object?inspectClass(value,options):inspectObject(value,options):options.stylize(String(value),type)}function registerConstructor(constructor,inspector){return!constructorMap.has(constructor)&&(constructorMap.add(constructor,inspector),!0)}function registerStringTag(stringTag,inspector){return!(stringTag in stringTagMap)&&(stringTagMap[stringTag]=inspector,!0)}var custom=chaiInspect;exports.custom=custom,exports.default=inspect,exports.inspect=inspect,exports.registerConstructor=registerConstructor,exports.registerStringTag=registerStringTag,Object.defineProperty(exports,"__esModule",{value:!0})}(exports)},62318:function(module,__unused_webpack_exports,__webpack_require__){var inherits=__webpack_require__(35717),HashBase=__webpack_require__(3349),Buffer=__webpack_require__(89509).Buffer,ARRAY16=new Array(16);function MD5(){HashBase.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function rotl(x,n){return x<<n|x>>>32-n}function fnF(a,b,c,d,m,k,s){return rotl(a+(b&c|~b&d)+m+k|0,s)+b|0}function fnG(a,b,c,d,m,k,s){return rotl(a+(b&d|c&~d)+m+k|0,s)+b|0}function fnH(a,b,c,d,m,k,s){return rotl(a+(b^c^d)+m+k|0,s)+b|0}function fnI(a,b,c,d,m,k,s){return rotl(a+(c^(b|~d))+m+k|0,s)+b|0}inherits(MD5,HashBase),MD5.prototype._update=function(){for(var M=ARRAY16,i=0;i<16;++i)M[i]=this._block.readInt32LE(4*i);var a=this._a,b=this._b,c=this._c,d=this._d;a=fnF(a,b,c,d,M[0],3614090360,7),d=fnF(d,a,b,c,M[1],3905402710,12),c=fnF(c,d,a,b,M[2],606105819,17),b=fnF(b,c,d,a,M[3],3250441966,22),a=fnF(a,b,c,d,M[4],4118548399,7),d=fnF(d,a,b,c,M[5],1200080426,12),c=fnF(c,d,a,b,M[6],2821735955,17),b=fnF(b,c,d,a,M[7],4249261313,22),a=fnF(a,b,c,d,M[8],1770035416,7),d=fnF(d,a,b,c,M[9],2336552879,12),c=fnF(c,d,a,b,M[10],4294925233,17),b=fnF(b,c,d,a,M[11],2304563134,22),a=fnF(a,b,c,d,M[12],1804603682,7),d=fnF(d,a,b,c,M[13],4254626195,12),c=fnF(c,d,a,b,M[14],2792965006,17),a=fnG(a,b=fnF(b,c,d,a,M[15],1236535329,22),c,d,M[1],4129170786,5),d=fnG(d,a,b,c,M[6],3225465664,9),c=fnG(c,d,a,b,M[11],643717713,14),b=fnG(b,c,d,a,M[0],3921069994,20),a=fnG(a,b,c,d,M[5],3593408605,5),d=fnG(d,a,b,c,M[10],38016083,9),c=fnG(c,d,a,b,M[15],3634488961,14),b=fnG(b,c,d,a,M[4],3889429448,20),a=fnG(a,b,c,d,M[9],568446438,5),d=fnG(d,a,b,c,M[14],3275163606,9),c=fnG(c,d,a,b,M[3],4107603335,14),b=fnG(b,c,d,a,M[8],1163531501,20),a=fnG(a,b,c,d,M[13],2850285829,5),d=fnG(d,a,b,c,M[2],4243563512,9),c=fnG(c,d,a,b,M[7],1735328473,14),a=fnH(a,b=fnG(b,c,d,a,M[12],2368359562,20),c,d,M[5],4294588738,4),d=fnH(d,a,b,c,M[8],2272392833,11),c=fnH(c,d,a,b,M[11],1839030562,16),b=fnH(b,c,d,a,M[14],4259657740,23),a=fnH(a,b,c,d,M[1],2763975236,4),d=fnH(d,a,b,c,M[4],1272893353,11),c=fnH(c,d,a,b,M[7],4139469664,16),b=fnH(b,c,d,a,M[10],3200236656,23),a=fnH(a,b,c,d,M[13],681279174,4),d=fnH(d,a,b,c,M[0],3936430074,11),c=fnH(c,d,a,b,M[3],3572445317,16),b=fnH(b,c,d,a,M[6],76029189,23),a=fnH(a,b,c,d,M[9],3654602809,4),d=fnH(d,a,b,c,M[12],3873151461,11),c=fnH(c,d,a,b,M[15],530742520,16),a=fnI(a,b=fnH(b,c,d,a,M[2],3299628645,23),c,d,M[0],4096336452,6),d=fnI(d,a,b,c,M[7],1126891415,10),c=fnI(c,d,a,b,M[14],2878612391,15),b=fnI(b,c,d,a,M[5],4237533241,21),a=fnI(a,b,c,d,M[12],1700485571,6),d=fnI(d,a,b,c,M[3],2399980690,10),c=fnI(c,d,a,b,M[10],4293915773,15),b=fnI(b,c,d,a,M[1],2240044497,21),a=fnI(a,b,c,d,M[8],1873313359,6),d=fnI(d,a,b,c,M[15],4264355552,10),c=fnI(c,d,a,b,M[6],2734768916,15),b=fnI(b,c,d,a,M[13],1309151649,21),a=fnI(a,b,c,d,M[4],4149444226,6),d=fnI(d,a,b,c,M[11],3174756917,10),c=fnI(c,d,a,b,M[2],718787259,15),b=fnI(b,c,d,a,M[9],3951481745,21),this._a=this._a+a|0,this._b=this._b+b|0,this._c=this._c+c|0,this._d=this._d+d|0},MD5.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var buffer=Buffer.allocUnsafe(16);return buffer.writeInt32LE(this._a,0),buffer.writeInt32LE(this._b,4),buffer.writeInt32LE(this._c,8),buffer.writeInt32LE(this._d,12),buffer},module.exports=MD5},63047:function(module,__unused_webpack_exports,__webpack_require__){var bn=__webpack_require__(13550),brorand=__webpack_require__(29931);function MillerRabin(rand){this.rand=rand||new brorand.Rand}module.exports=MillerRabin,MillerRabin.create=function create(rand){return new MillerRabin(rand)},MillerRabin.prototype._randbelow=function _randbelow(n){var len=n.bitLength(),min_bytes=Math.ceil(len/8);do{var a=new bn(this.rand.generate(min_bytes))}while(a.cmp(n)>=0);return a},MillerRabin.prototype._randrange=function _randrange(start,stop){var size=stop.sub(start);return start.add(this._randbelow(size))},MillerRabin.prototype.test=function test(n,k,cb){var len=n.bitLength(),red=bn.mont(n),rone=new bn(1).toRed(red);k||(k=Math.max(1,len/48|0));for(var n1=n.subn(1),s=0;!n1.testn(s);s++);for(var d=n.shrn(s),rn1=n1.toRed(red);k>0;k--){var a=this._randrange(new bn(2),n1);cb&&cb(a);var x=a.toRed(red).redPow(d);if(0!==x.cmp(rone)&&0!==x.cmp(rn1)){for(var i=1;i<s;i++){if(0===(x=x.redSqr()).cmp(rone))return!1;if(0===x.cmp(rn1))break}if(i===s)return!1}}return!0},MillerRabin.prototype.getDivisor=function getDivisor(n,k){var len=n.bitLength(),red=bn.mont(n),rone=new bn(1).toRed(red);k||(k=Math.max(1,len/48|0));for(var n1=n.subn(1),s=0;!n1.testn(s);s++);for(var d=n.shrn(s),rn1=n1.toRed(red);k>0;k--){var a=this._randrange(new bn(2),n1),g=n.gcd(a);if(0!==g.cmpn(1))return g;var x=a.toRed(red).redPow(d);if(0!==x.cmp(rone)&&0!==x.cmp(rn1)){for(var i=1;i<s;i++){if(0===(x=x.redSqr()).cmp(rone))return x.fromRed().subn(1).gcd(n);if(0===x.cmp(rn1))break}if(i===s)return(x=x.redSqr()).fromRed().subn(1).gcd(n)}}return!1}},79746:function(module){function assert(val,msg){if(!val)throw new Error(msg||"Assertion failed")}module.exports=assert,assert.equal=function assertEqual(l,r,msg){if(l!=r)throw new Error(msg||"Assertion failed: "+l+" != "+r)}},34504:function(__unused_webpack_module,exports){var utils=exports;function zero2(word){return 1===word.length?"0"+word:word}function toHex(msg){for(var res="",i=0;i<msg.length;i++)res+=zero2(msg[i].toString(16));return res}utils.toArray=function toArray(msg,enc){if(Array.isArray(msg))return msg.slice();if(!msg)return[];var res=[];if("string"!=typeof msg){for(var i=0;i<msg.length;i++)res[i]=0|msg[i];return res}if("hex"===enc){(msg=msg.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(msg="0"+msg);for(i=0;i<msg.length;i+=2)res.push(parseInt(msg[i]+msg[i+1],16))}else for(i=0;i<msg.length;i++){var c=msg.charCodeAt(i),hi=c>>8,lo=255&c;hi?res.push(hi,lo):res.push(lo)}return res},utils.zero2=zero2,utils.toHex=toHex,utils.encode=function encode(arr,enc){return"hex"===enc?toHex(arr):arr}},57824:function(module){var s=1e3,m=60*s,h=60*m,d=24*h,w=7*d,y=365.25*d;function plural(ms,msAbs,n,name){var isPlural=msAbs>=1.5*n;return Math.round(ms/n)+" "+name+(isPlural?"s":"")}module.exports=function(val,options){options=options||{};var type=typeof val;if("string"===type&&val.length>0)return function parse(str){if((str=String(str)).length>100)return;var match=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str);if(!match)return;var n=parseFloat(match[1]);switch((match[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*y;case"weeks":case"week":case"w":return n*w;case"days":case"day":case"d":return n*d;case"hours":case"hour":case"hrs":case"hr":case"h":return n*h;case"minutes":case"minute":case"mins":case"min":case"m":return n*m;case"seconds":case"second":case"secs":case"sec":case"s":return n*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(val);if("number"===type&&isFinite(val))return options.long?function fmtLong(ms){var msAbs=Math.abs(ms);if(msAbs>=d)return plural(ms,msAbs,d,"day");if(msAbs>=h)return plural(ms,msAbs,h,"hour");if(msAbs>=m)return plural(ms,msAbs,m,"minute");if(msAbs>=s)return plural(ms,msAbs,s,"second");return ms+" ms"}(val):function fmtShort(ms){var msAbs=Math.abs(ms);if(msAbs>=d)return Math.round(ms/d)+"d";if(msAbs>=h)return Math.round(ms/h)+"h";if(msAbs>=m)return Math.round(ms/m)+"m";if(msAbs>=s)return Math.round(ms/s)+"s";return ms+"ms"}(val);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(val))}},85456:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var net=__webpack_require__(85456);for(k in net)__webpack_require__.g[k]=net[k]},43420:function(module){!function Export(global,factory){module.exports=factory}(0,(function Factory(global,Export){var reOptimizer,reValidator,NAMESPACE,QUIRKS_MODE,HTML_DOCUMENT,_closest,_matches,_querySelector,_querySelectorAll,lastContext,lastMatched,lastSelected,idx,len,set,parent,parents,nodes,doc=global.document,root=doc.documentElement,slice=Array.prototype.slice,WSP="[\\x20\\t\\r\\n\\f]",CFG={operators:"[~*^$|]=|=",combinators:"[\\x20\\t>+~](?=[^>+~])"},NOT_double_enc='(?=(?:[^"]*["][^"]*["])*[^"]*$)',NOT_single_enc="(?=(?:[^']*['][^']*['])*[^']*$)",NOT_parens_enc="(?![^\\x28]*\\x29)",NOT_square_enc="(?![^\\x5b]*\\x5d)",REX={HasEscapes:RegExp("\\\\"),HexNumbers:RegExp("^[0-9a-fA-F]"),EscOrQuote:RegExp("^\\\\|[\\x22\\x27]"),RegExpChar:RegExp("(?:(?!\\\\)[\\\\^$.*+?()[\\]{}|\\/])","g"),TrimSpaces:RegExp("[\\r\\n\\f]|^"+WSP+"+|"+WSP+"+$","g"),CommaGroup:RegExp("(\\s*,\\s*)"+NOT_square_enc+NOT_parens_enc,"g"),SplitGroup:RegExp("((?:\\x28[^\\x29]*\\x29|\\[[^\\]]*\\]|\\\\.|[^,])+)","g"),FixEscapes:RegExp("\\\\([0-9a-fA-F]{1,6}"+WSP+"?|.)|([\\x22\\x27])","g"),CombineWSP:RegExp("[\\n\\r\\f\\x20]+"+NOT_single_enc+NOT_double_enc,"g"),TabCharWSP:RegExp("(\\x20?\\t+\\x20?)"+NOT_single_enc+NOT_double_enc,"g"),PseudosWSP:RegExp("\\s+([-+])\\s+"+NOT_square_enc,"g")},STD={combinator:RegExp("\\s?([>+~])\\s?","g"),apimethods:RegExp("^(?:[a-z]+|\\*)\\|","i"),namespaces:RegExp("(\\*|[a-z]+)\\|[-a-z]+","i")},GROUPS_linguistic="(dir|lang)\\x28\\s?([-\\w]{2,})\\s?(?:\\x29|$)",GROUPS_logicalsel="(matches|not)\\x28\\s?([^()]*|[^\\x28]*\\x28[^\\x29]*\\x29)\\s?(?:\\x29|$)",GROUPS_locationpc="(link|visited|target)\\b",GROUPS_useraction="(hover|active|focus|focus-within)\\b",GROUPS_structural="(root|empty|(?:(?:first|last|only)(?:-child|-of-type)))\\b",GROUPS_inputstate="(enabled|disabled|read-only|read-write|placeholder-shown|default)\\b",GROUPS_inputvalue="(checked|indeterminate|required|optional|valid|invalid|in-range|out-of-range)\\b",GROUPS_pseudo_sng="(after|before|first-letter|first-line)\\b",GROUPS_pseudo_dbl=":(after|before|first-letter|first-line|selection|placeholder|-webkit-[-a-zA-Z0-9]{2,})\\b",Patterns={treestruct:RegExp("^:(?:"+"(nth(?:-last)?(?:-child|-of-type))(?:\\x28\\s?(even|odd|(?:[-+]?\\d*)(?:n\\s?[-+]?\\s?\\d*)?)\\s?(?:\\x29|$))"+")(.*)","i"),structural:RegExp("^:(?:"+GROUPS_structural+")(.*)","i"),linguistic:RegExp("^:(?:"+GROUPS_linguistic+")(.*)","i"),useraction:RegExp("^:(?:"+GROUPS_useraction+")(.*)","i"),inputstate:RegExp("^:(?:"+GROUPS_inputstate+")(.*)","i"),inputvalue:RegExp("^:(?:"+GROUPS_inputvalue+")(.*)","i"),locationpc:RegExp("^:(?:"+GROUPS_locationpc+")(.*)","i"),logicalsel:RegExp("^:(?:"+GROUPS_logicalsel+")(.*)","i"),pseudo_dbl:RegExp("^:(?:"+GROUPS_pseudo_dbl+")(.*)","i"),pseudo_sng:RegExp("^:(?:"+GROUPS_pseudo_sng+")(.*)","i"),children:RegExp("^"+WSP+"?\\>"+WSP+"?(.*)"),adjacent:RegExp("^"+WSP+"?\\+"+WSP+"?(.*)"),relative:RegExp("^"+WSP+"?\\~"+WSP+"?(.*)"),ancestor:RegExp("^"+WSP+"+(.*)"),universal:RegExp("^\\*(.*)"),namespace:RegExp("^(\\w+|\\*)?\\|(.*)")},RTL=RegExp("^[\\u0591-\\u08ff\\ufb1d-\\ufdfd\\ufe70-\\ufefc ]+$"),qsNotArgs="Not enough arguments",qsInvalid=" is not a valid selector",reNthElem=RegExp("(:nth(?:-last)?-child)","i"),reNthType=RegExp("(:nth(?:-last)?-of-type)","i"),Config={IDS_DUPES:!0,MIXEDCASE:!0,LOGERRORS:!0,VERBOSITY:!0},ATTR_STD_OPS={"=":1,"^=":1,"$=":1,"|=":1,"*=":1,"~=":1},HTML_TABLE={accept:1,"accept-charset":1,align:1,alink:1,axis:1,bgcolor:1,charset:1,checked:1,clear:1,codetype:1,color:1,compact:1,declare:1,defer:1,dir:1,direction:1,disabled:1,enctype:1,face:1,frame:1,hreflang:1,"http-equiv":1,lang:1,language:1,link:1,media:1,method:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,rel:1,rev:1,rules:1,scope:1,scrolling:1,selected:1,shape:1,target:1,text:1,type:1,valign:1,valuetype:1,vlink:1},Combinators={},Selectors={},Operators={"=":{p1:"^",p2:"$",p3:"true"},"^=":{p1:"^",p2:"",p3:"true"},"$=":{p1:"",p2:"$",p3:"true"},"*=":{p1:"",p2:"",p3:"true"},"|=":{p1:"^",p2:"(-|$)",p3:"true"},"~=":{p1:"(^|\\s)",p2:"(\\s|$)",p3:"true"}},concatCall=function(nodes,callback){for(var i=0,l=nodes.length,list=Array(l);l>i&&!1!==callback(list[i]=nodes[i]);)++i;return list},concatList=function(list,nodes){for(var i=-1,l=nodes.length;l--;)list[list.length]=nodes[++i];return list},documentOrder=function(a,b){return hasDupes||a!==b?4&a.compareDocumentPosition(b)?-1:1:(hasDupes=!0,0)},hasDupes=!1,unique=function(nodes){for(var i=0,j=-1,l=nodes.length+1,list=[];--l;)nodes[i++]!==nodes[i]&&(list[++j]=nodes[i-1]);return hasDupes=!1,list},switchContext=function(context,force){var oldDoc=doc;return doc=context.ownerDocument||context,(force||oldDoc!==doc)&&(root=doc.documentElement,HTML_DOCUMENT=isHTML(doc),QUIRKS_MODE=HTML_DOCUMENT&&doc.compatMode.indexOf("CSS")<0,NAMESPACE=root&&root.namespaceURI,Snapshot.doc=doc,Snapshot.root=root),Snapshot.from=context},unescapeIdentifier=function(str){return REX.HasEscapes.test(str)?str.replace(REX.FixEscapes,(function(substring,p1,p2){return p2||(REX.HexNumbers.test(p1)?(codePoint=parseInt(p1,16))<1||codePoint>1114111||codePoint>55295&&codePoint<57344?"�":codePoint<65536?String.fromCharCode(codePoint):String.fromCodePoint?String.fromCodePoint(codePoint):String.fromCharCode(55296+(codePoint-65536>>10),(codePoint-65536)%1024+56320):REX.EscOrQuote.test(p1)?substring:p1);var codePoint})):str},method__="getElementById",method__$0="getElementsByTagName",method__$1="getElementsByClassName",compat={"#":function(c,n){return REX.HasEscapes.test(n)&&(n=unescapeIdentifier(n)),function(e,f){return byId(n,c)}},"*":function(c,n){return REX.HasEscapes.test(n)&&(n=unescapeIdentifier(n)),function(e,f){return byTag(n,c)}},".":function(c,n){return REX.HasEscapes.test(n)&&(n=unescapeIdentifier(n)),function(e,f){return byClass(n,c)}}},byId=function(id,context){var e,nodes,api=method__;if(!1===Config.IDS_DUPES){if(api in context)return(e=context[api](id))?[e]:none}else if("all"in context){if(e=context.all[id]){if(1==e.nodeType)return e.getAttribute("id")!=id?[]:[e];if("length"==id)return(e=context[api](id))?[e]:none;for(i=0,l=e.length,nodes=[];l>i;++i)e[i].id==id&&(nodes[nodes.length]=e[i]);return nodes&&nodes.length?nodes:[nodes]}return none}return function(id,context){for(var node=context,nodes=[],next=node.firstElementChild;node=next;)if(node.id==id&&(nodes[nodes.length]=node),!(next=node.firstElementChild||node.nextElementSibling))for(;!next&&(node=node.parentElement)&&node!==context;)next=node.nextElementSibling;return nodes}(id,context)},byTag=function(tag,context){var e,nodes,api=method__$0;if(api in context)return slice.call(context[api](tag));if(e=context.firstElementChild){if(tag=tag.toLowerCase(),!e.nextElementSibling&&"*"!=tag&&e.nodeName.toLowerCase()!=tag)return slice.call(e[api](tag));nodes=[];do{"*"!=tag&&e.nodeName.toLowerCase()!=tag||(nodes[nodes.length]=e),concatList(nodes,e[api](tag))}while(e=e.nextElementSibling)}else nodes=none;return nodes},byClass=function(cls,context){var e,nodes,reCls,api=method__$1;if(api in context)return slice.call(context[api](cls));if(e=context.firstElementChild){if(reCls=RegExp("(^|\\s)"+cls+"(\\s|$)",QUIRKS_MODE?"i":""),!e.nextElementSibling&&!reCls.test(e.className))return slice.call(e[api](cls));nodes=[];do{reCls.test(e.className)&&(nodes[nodes.length]=e),concatList(nodes,e[api](cls))}while(e=e.nextElementSibling)}else nodes=none;return nodes},nthElement=(idx=0,len=0,set=0,parent=void 0,parents=Array(),nodes=Array(),function(element,dir){if(2==dir)return idx=0,len=0,set=0,nodes.length=0,parents.length=0,parent=void 0,-1;var e,i,j,k,l;if(parent===element.parentElement)i=set,j=idx,l=len;else{for(l=parents.length,parent=element.parentElement,i=-1,j=0,k=l-1;l>j;++j,--k){if(parents[j]===parent){i=j;break}if(parents[k]===parent){i=k;break}}if(i<0){for(parents[i=l]=parent,l=0,nodes[i]=Array(),e=parent&&parent.firstElementChild||element;e;)nodes[i][l]=e,e===element&&(j=l),e=e.nextElementSibling,++l;if(set=i,idx=0,len=l,l<2)return l}else l=nodes[i].length,set=i}if(element!==nodes[i][j]&&element!==nodes[i][j=0])for(j=0,e=nodes[i],k=l-1;l>j&&e[j]!==element;++j,--k)if(e[k]===element){j=k;break}return idx=j+1,len=l,dir?l-j:idx}),nthOfType=function(){var idx=0,len=0,set=0,parent=void 0,parents=Array(),nodes=Array();return function(element,dir){if(2==dir)return idx=0,len=0,set=0,nodes.length=0,parents.length=0,parent=void 0,-1;var e,i,j,k,l,name=element.nodeName;if(nodes[set]&&nodes[set][name]&&parent===element.parentElement)i=set,j=idx,l=len;else{for(l=parents.length,parent=element.parentElement,i=-1,j=0,k=l-1;l>j;++j,--k){if(parents[j]===parent){i=j;break}if(parents[k]===parent){i=k;break}}if(i<0||!nodes[i][name]){for(parents[i=l]=parent,nodes[i]||(nodes[i]=Object()),l=0,nodes[i][name]=Array(),e=parent&&parent.firstElementChild||element;e;)e===element&&(j=l),e.nodeName==name&&(nodes[i][name][l]=e,++l),e=e.nextElementSibling;if(set=i,idx=j,len=l,l<2)return l}else l=nodes[i][name].length,set=i}if(element!==nodes[i][name][j]&&element!==nodes[i][name][j=0])for(j=0,e=nodes[i][name],k=l-1;l>j&&e[j]!==element;++j,--k)if(e[k]===element){j=k;break}return idx=j+1,len=l,dir?l-j:idx}}(),isHTML=function(node){var doc=node.ownerDocument||node;return 9==doc.nodeType&&"contentType"in doc?doc.contentType.indexOf("/html")>0:"DIV"==doc.createElement("DiV").nodeName},emit=function(message,proto){if(Config.VERBOSITY)throw proto?new proto(message):new global.DOMException(message,"SyntaxError");Config.LOGERRORS&&console&&console.log&&console.log(message)},setIdentifierSyntax=function(){var identifier="(?=[^0-9])(?:-{2}|[a-zA-Z0-9-_]|[^\\x00-\\x9f]|\\\\[^\\r\\n\\f0-9a-fA-F]|\\\\[0-9a-fA-F]{1,6}(?:\\r\\n|\\s)?|\\\\.)+",attrparser=identifier+"|\"[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*(?:\"|$)|'[^'\\\\]*(?:\\\\.[^'\\\\]*)*(?:'|$)",attributes="\\[(?:\\*\\|)?"+WSP+"?("+identifier+"(?::"+identifier+")?)"+WSP+"?(?:("+CFG.operators+")"+WSP+"?(?:"+attrparser+"))?"+WSP+"?(i)?"+WSP+"?(?:\\]|$)",attrmatcher=attributes.replace(attrparser,"([\\x22\\x27]?)((?!\\3)*|(?:\\\\?.)*?)(?:\\3|$)"),standardValidator="(?="+WSP+"?[^>+~(){}<>])(?:(?:\\*|\\|)|(?:[.#]?"+identifier+")+|(?:"+attributes+")+|(?:::?[-\\w]+"+("(?:\\x28"+WSP+"*(?:(?:[-+]?\\d*)(?:n\\s?[-+]?\\s?\\d*)?)?|(?:\\*|\\|)|(?:(?::[-\\w]+(?:\\x28(?:[-+]?\\d*)(?:n\\s?[-+]?\\s?\\d*)?(?:\\x29|$))?|)|(?:[.#]?"+identifier+")|(?:"+attributes+"))+|(?:"+WSP+"?,"+WSP+"?)|(?:"+WSP+"?)|(?:\\x29|$))*")+")|(?:"+WSP+"?"+CFG.combinators+WSP+"?)|(?:"+WSP+"?,"+WSP+"?)|(?:"+WSP+"?))+";reOptimizer=RegExp("(?:([.:#*]?)("+identifier+")(?::[-\\w]+|\\[[^\\]]+(?:\\]|$)|\\x28[^\\x29]+(?:\\x29|$))*)$"),reValidator=RegExp(standardValidator,"g"),Patterns.id=RegExp("^#("+identifier+")(.*)"),Patterns.tagName=RegExp("^("+identifier+")(.*)"),Patterns.className=RegExp("^\\.("+identifier+")(.*)"),Patterns.attribute=RegExp("^(?:"+attrmatcher+")(.*)")},S_HEAD="var e,n,o,j=r.length-1,k=-1",S_TEST="if(f(c[k])){break main;}",S_VARS=[],M_VARS=[],compile=function(selector,mode,callback){var factory,source,head="",loop="",macro="",vars="";switch(mode){case!0:if(selectLambdas[selector])return selectLambdas[selector];macro="r[++j]=c[k];"+(callback?S_TEST:"")+"continue main;",head=S_HEAD,loop="main:while((e=c[++k]))";break;case!1:if(matchLambdas[selector])return matchLambdas[selector];macro=(callback?"f(c);":"")+"r=true;",head="var e,n,o",loop="e=c;";break;case null:if(selectLambdas[selector])return selectLambdas[selector];macro="r[++j]=c.item(k);"+(callback?"if(f(c.item(k))){break main;}":"")+"continue main;",head=S_HEAD,loop="main:while((e=c.item(++k)))"}return source=compileSelector(selector,macro,mode,callback,!1),loop+=mode||null===mode?"{"+source+"}":source,(mode||null===mode&&selector.includes(":nth"))&&(loop+=reNthElem.test(selector)?"s.nthElement(null, 2);":"",loop+=reNthType.test(selector)?"s.nthOfType(null, 2);":""),(S_VARS[0]||M_VARS[0])&&(vars=","+(S_VARS.join(",")||M_VARS.join(",")),S_VARS.length=0,M_VARS.length=0),factory=Function("s",'"use strict";return function Resolver(c,f,x,r){'+head+vars+";"+loop+"return r;}")(Snapshot),mode||null===mode?selectLambdas[selector]=factory:matchLambdas[selector]=factory},compileSelector=function(expression,source,mode,callback,not){var a,b,n,f,i,l,name,nested,NS,compat,expr,match,result,status,symbol,test,type,selector_string,vars,str,context,ns,api,N=not?"!":"",D=not?"":"!",selector=expression;for(selector_string=mode?lastSelected:lastMatched,selector=selector.replace(STD.combinator,"$1");selector;){switch(symbol=STD.apimethods.test(selector)?"|":selector[0]){case"*":match=selector.match(Patterns.universal),"!"==N&&(source="if("+N+"true){"+source+"}");break;case"#":source="if("+N+"(/^"+(match=selector.match(Patterns.id))[1]+'$/.test(e.getAttribute("id")))){'+source+"}";break;case".":match=selector.match(Patterns.className),compat=(QUIRKS_MODE?"i":"")+'.test(e.getAttribute("class"))',source="if("+N+"(/(^|\\s)"+match[1]+"(\\s|$)/"+compat+")){"+source+"}";break;case/[a-z]/i.test(symbol)?symbol:void 0:match=selector.match(Patterns.tagName),source="if("+N+"(e.nodeName"+(Config.MIXEDCASE||(ns=void 0,api=void 0,api="getElementsByTagNameNS",ns=(context=(context=doc).ownerDocument||context).documentElement.namespaceURI||"http://www.w3.org/1999/xhtml",context[api]("*","*").length-context[api](ns,"*").length>0)?'.toLowerCase()=="'+match[1].toLowerCase()+'"':'=="'+match[1].toUpperCase()+'"')+")){"+source+"}";break;case"|":"*"==(match=selector.match(Patterns.namespace))[1]?source="if("+N+"true){"+source+"}":match[1]?"string"==typeof match[1]&&root.prefix==match[1]?source="if("+N+'(e.namespaceURI=="'+NAMESPACE+'")){'+source+"}":emit("'"+selector_string+"'"+qsInvalid):source="if("+N+"(!e.namespaceURI)){"+source+"}";break;case"[":if(NS=(match=selector.match(Patterns.attribute))[0].match(STD.namespaces),expr=2==(expr=(name=match[1]).split(":")).length?expr[1]:expr[0],match[2]&&!(test=Operators[match[2]]))return emit("'"+selector_string+"'"+qsInvalid),"";if(""===match[4])test="~="==match[2]?{p1:"^\\s",p2:"+$",p3:"true"}:match[2]in ATTR_STD_OPS&&"~="!=match[2]?{p1:"^",p2:"$",p3:"true"}:test;else{if("~="==match[2]&&match[4].includes(" ")){source="if("+N+"false){"+source+"}";break}match[4]&&(match[4]=(str=match[4],REX.HasEscapes.test(str)?str.replace(REX.FixEscapes,(function(substring,p1,p2){return p2?"\\"+p2:REX.HexNumbers.test(p1)?function(codePoint){if(codePoint<1||codePoint>1114111||codePoint>55295&&codePoint<57344)return"\\ufffd";if(codePoint<65536){var lowHex="000"+codePoint.toString(16);return"\\u"+lowHex.substr(lowHex.length-4)}return"\\u"+(55296+(codePoint-65536>>10)).toString(16)+"\\u"+((codePoint-65536)%1024+56320).toString(16)}(parseInt(p1,16)):REX.EscOrQuote.test(p1)?substring:p1})):str).replace(REX.RegExpChar,"\\$&"))}type="i"==match[5]||HTML_DOCUMENT&&HTML_TABLE[expr.toLowerCase()]?"i":"",source="if("+N+"("+(match[2]?!match[4]&&ATTR_STD_OPS[match[2]]&&"~="!=match[2]?'e.getAttribute("'+name+'")==""':"(/"+test.p1+match[4]+test.p2+"/"+type+').test(e.getAttribute("'+name+'"))=='+test.p3:NS?'s.hasAttributeNS(e,"'+name+'")':'e.hasAttribute("'+name+'")')+")){"+source+"}";break;case"~":match=selector.match(Patterns.relative),source="n=e;while((e=e.previousElementSibling)){"+source+"}e=n;";break;case"+":match=selector.match(Patterns.adjacent),source="n=e;if((e=e.previousElementSibling)){"+source+"}e=n;";break;case"\t":case" ":match=selector.match(Patterns.ancestor),source="n=e;while((e=e.parentElement)){"+source+"}e=n;";break;case">":match=selector.match(Patterns.children),source="n=e;if((e=e.parentElement)){"+source+"}e=n;";break;case symbol in Combinators?symbol:void 0:match[match.length-1]="*",source=Combinators[symbol](match)+source;break;case":":if(match=selector.match(Patterns.structural))switch(match[1]=match[1].toLowerCase(),match[1]){case"root":source="if("+N+"(e===s.root)){"+source+(mode?"break main;":"")+"}";break;case"empty":source="n=e.firstChild;while(n&&!(/1|3/).test(n.nodeType)){n=n.nextSibling}if("+D+"n){"+source+"}";break;case"only-child":source="if("+N+"(!e.nextElementSibling&&!e.previousElementSibling)){"+source+"}";break;case"last-child":source="if("+N+"(!e.nextElementSibling)){"+source+"}";break;case"first-child":source="if("+N+"(!e.previousElementSibling)){"+source+"}";break;case"only-of-type":source="o=e.nodeName;n=e;while((n=n.nextElementSibling)&&n.nodeName!=o);if(!n){n=e;while((n=n.previousElementSibling)&&n.nodeName!=o);}if("+D+"n){"+source+"}";break;case"last-of-type":source="n=e;o=e.nodeName;while((n=n.nextElementSibling)&&n.nodeName!=o);if("+D+"n){"+source+"}";break;case"first-of-type":source="n=e;o=e.nodeName;while((n=n.previousElementSibling)&&n.nodeName!=o);if("+D+"n){"+source+"}";break;default:emit("'"+selector_string+"'"+qsInvalid)}else if(match=selector.match(Patterns.treestruct))switch(match[1]=match[1].toLowerCase(),match[1]){case"nth-child":case"nth-of-type":case"nth-last-child":case"nth-last-of-type":if(expr=/-of-type/i.test(match[1]),match[1]&&match[2]){if(type=/last/i.test(match[1]),"n"==match[2]){source="if("+N+"true){"+source+"}";break}if("1"==match[2]){test=type?"next":"previous",source=expr?"n=e;o=e.nodeName;while((n=n."+test+"ElementSibling)&&n.nodeName!=o);if("+D+"n){"+source+"}":"if("+N+"!e."+test+"ElementSibling){"+source+"}";break}"even"==match[2]||"2n0"==match[2]||"2n+0"==match[2]||"2n"==match[2]?test="n%2==0":"odd"==match[2]||"2n1"==match[2]||"2n+1"==match[2]?test="n%2==1":(f=/n/i.test(match[2]),n=match[2].split("n"),a=parseInt(n[0],10)||0,b=parseInt(n[1],10)||0,"-"==n[0]&&(a=-1),"+"==n[0]&&(a=1),test=(b?"(n"+(b>0?"-":"+")+Math.abs(b)+")":"n")+"%"+a+"==0",test=a>=1?f?"n>"+(b-1)+(1!=Math.abs(a)?"&&"+test:""):"n=="+a:a<=-1?f?"n<"+(b+1)+(1!=Math.abs(a)?"&&"+test:""):"n=="+a:0===a?n[0]?"n=="+b:"n>"+(b-1):"false"),source="n=s.nth"+(expr=expr?"OfType":"Element")+"(e,"+(type=type?"true":"false")+");if("+N+"("+test+")){"+source+"}"}else emit("'"+selector_string+"'"+qsInvalid);break;default:emit("'"+selector_string+"'"+qsInvalid)}else if(match=selector.match(Patterns.logicalsel))switch(match[1]=match[1].toLowerCase(),match[1]){case"matches":for(!0!==not&&!0!==nested||emit(":matches() pseudo-class cannot be nested"),nested=!0,expr=match[2].replace(REX.CommaGroup,",").replace(REX.TrimSpaces,""),i=0,l=(expr=match[2].match(REX.SplitGroup)).length;l>i;++i)expr[i]=expr[i].replace(REX.TrimSpaces,""),source='if(s.match("'+expr[i].replace(/\x22/g,'\\"')+'",e)){'+source+"}";break;case"not":for(!0!==not&&!0!==nested||emit(":not() pseudo-class cannot be nested"),expr=match[2].replace(REX.CommaGroup,",").replace(REX.TrimSpaces,""),i=0,l=(expr=match[2].match(REX.SplitGroup)).length;l>i;++i)expr[i]=expr[i].replace(REX.TrimSpaces,""),source=compileSelector(expr[i],source,!1,callback,!0);break;default:emit("'"+selector_string+"'"+qsInvalid)}else if(match=selector.match(Patterns.linguistic))switch(match[1]=match[1].toLowerCase(),match[1]){case"dir":source="var p;if("+N+"((/"+match[2]+'/i.test(e.dir))||(p=s.ancestor("[dir]", e))&&(/'+match[2]+'/i.test(p.dir))||(e.dir==""||e.dir=="auto")&&('+("ltr"==match[2]?"!":"")+RTL+".test(e.textContent)))){"+source+"};";break;case"lang":expr="(?:^|-)"+match[2]+"(?:-|$)",source="var p;if("+N+'((e.isConnected&&(e.lang==""&&(p=s.ancestor("[lang]",e)))&&(p.lang=="'+match[2]+'")||/'+expr+"/i.test(e.lang)))){"+source+"};";break;default:emit("'"+selector_string+"'"+qsInvalid)}else if(match=selector.match(Patterns.locationpc))switch(match[1]=match[1].toLowerCase(),match[1]){case"link":source="if("+N+'(/^a|area|link$/i.test(e.nodeName)&&e.hasAttribute("href"))){'+source+"}";break;case"visited":source="if("+N+'(/^a|area|link$/i.test(e.nodeName)&&e.hasAttribute("href")&&e.visited)){'+source+"}";break;case"target":source="if("+N+"((s.doc.compareDocumentPosition(e)&16)&&s.doc.location.hash&&e.id==s.doc.location.hash.slice(1))){"+source+"}";break;default:emit("'"+selector_string+"'"+qsInvalid)}else if(match=selector.match(Patterns.useraction))switch(match[1]=match[1].toLowerCase(),match[1]){case"hover":source="hasFocus"in doc&&doc.hasFocus()?"if("+N+"(e===s.doc.hoverElement)){"+source+"}":"if("+D+"true){"+source+"}";break;case"active":source="hasFocus"in doc&&doc.hasFocus()?"if("+N+"(e===s.doc.activeElement)){"+source+"}":"if("+D+"true){"+source+"}";break;case"focus":source="hasFocus"in doc?"if("+N+'(e===s.doc.activeElement&&s.doc.hasFocus()&&(e.type||e.href||typeof e.tabIndex=="number"))){'+source+"}":"if("+N+"(e===s.doc.activeElement&&(e.type||e.href))){"+source+"}";break;case"focus-within":source="hasFocus"in doc?"n=s.doc.activeElement;while(e){if(e===n||e.parentNode===n)break;}if("+N+'(e===n&&s.doc.hasFocus()&&(e.type||e.href||typeof e.tabIndex=="number"))){'+source+"}":source;break;default:emit("'"+selector_string+"'"+qsInvalid)}else if(match=selector.match(Patterns.inputstate))switch(match[1]=match[1].toLowerCase(),match[1]){case"enabled":source="if("+N+'(("form" in e||/^optgroup$/i.test(e.nodeName))&&"disabled" in e &&e.disabled===false)){'+source+"}";break;case"disabled":source="if("+N+'(("form" in e||/^optgroup$/i.test(e.nodeName))&&"disabled" in e&&(e.disabled===true||(n=s.ancestor("fieldset",e))&&(n=s.first("legend",n))&&!n.contains(e)))){'+source+"}";break;case"read-only":source="if("+N+'((/^textarea$/i.test(e.nodeName)&&(e.readOnly||e.disabled))||("|password|text|".includes("|"+e.type+"|")&&e.readOnly))){'+source+"}";break;case"read-write":source="if("+N+'(((/^textarea$/i.test(e.nodeName)&&!e.readOnly&&!e.disabled)||("|password|text|".includes("|"+e.type+"|")&&!e.readOnly&&!e.disabled))||(e.hasAttribute("contenteditable")||(s.doc.designMode=="on")))){'+source+"}";break;case"placeholder-shown":source="if("+N+'((/^input|textarea$/i.test(e.nodeName))&&e.hasAttribute("placeholder")&&("|textarea|password|number|search|email|text|tel|url|".includes("|"+e.type+"|"))&&(!s.match(":focus",e)))){'+source+"}";break;case"default":source="if("+N+'("form" in e && e.form)){var x=0;n=[];if(e.type=="image")n=e.form.getElementsByTagName("input");if(e.type=="submit")n=e.form.elements;while(n[x]&&e!==n[x]){if(n[x].type=="image")break;if(n[x].type=="submit")break;x++;}}if('+N+'(e.form&&(e===n[x]&&"|image|submit|".includes("|"+e.type+"|"))||((/^option$/i.test(e.nodeName))&&e.defaultSelected)||(("|radio|checkbox|".includes("|"+e.type+"|"))&&e.defaultChecked))){'+source+"}";break;default:emit("'"+selector_string+"'"+qsInvalid)}else if(match=selector.match(Patterns.inputvalue))switch(match[1]=match[1].toLowerCase(),match[1]){case"checked":source="if("+N+'(/^input$/i.test(e.nodeName)&&("|radio|checkbox|".includes("|"+e.type+"|")&&e.checked)||(/^option$/i.test(e.nodeName)&&(e.selected||e.checked)))){'+source+"}";break;case"indeterminate":source="if("+N+'(/^progress$/i.test(e.nodeName)&&!e.hasAttribute("value"))||(/^input$/i.test(e.nodeName)&&("checkbox"==e.type&&e.indeterminate)||("radio"==e.type&&e.name&&!s.first("input[name="+e.name+"]:checked",e.form)))){'+source+"}";break;case"required":source="if("+N+"(/^input|select|textarea$/i.test(e.nodeName)&&e.required)){"+source+"}";break;case"optional":source="if("+N+"(/^input|select|textarea$/i.test(e.nodeName)&&!e.required)){"+source+"}";break;case"invalid":source="if("+N+'(((/^form$/i.test(e.nodeName)&&!e.noValidate)||(e.willValidate&&!e.formNoValidate))&&!e.checkValidity())||(/^fieldset$/i.test(e.nodeName)&&s.first(":invalid",e))){'+source+"}";break;case"valid":source="if("+N+'(((/^form$/i.test(e.nodeName)&&!e.noValidate)||(e.willValidate&&!e.formNoValidate))&&e.checkValidity())||(/^fieldset$/i.test(e.nodeName)&&s.first(":valid",e))){'+source+"}";break;case"in-range":source="if("+N+'(/^input$/i.test(e.nodeName))&&(e.willValidate&&!e.formNoValidate)&&(!e.validity.rangeUnderflow&&!e.validity.rangeOverflow)&&("|date|datetime-local|month|number|range|time|week|".includes("|"+e.type+"|"))&&("range"==e.type||e.getAttribute("min")||e.getAttribute("max"))){'+source+"}";break;case"out-of-range":source="if("+N+'(/^input$/i.test(e.nodeName))&&(e.willValidate&&!e.formNoValidate)&&(e.validity.rangeUnderflow||e.validity.rangeOverflow)&&("|date|datetime-local|month|number|range|time|week|".includes("|"+e.type+"|"))&&("range"==e.type||e.getAttribute("min")||e.getAttribute("max"))){'+source+"}";break;default:emit("'"+selector_string+"'"+qsInvalid)}else if(match=selector.match(Patterns.pseudo_sng))source="if("+D+"(e.nodeType==1)){"+source+"}";else if(match=selector.match(Patterns.pseudo_dbl))source="if("+D+"(e.nodeType==1)){"+source+"}";else{for(expr in expr=!1,status=!1,Selectors)if((match=selector.match(Selectors[expr].Expression))&&("match"in(result=Selectors[expr].Callback(match,source,mode,callback))&&(match=result.match),vars=result.modvar,mode?vars&&S_VARS.indexOf(vars)<0&&(S_VARS[S_VARS.length]=vars):vars&&M_VARS.indexOf(vars)<0&&(M_VARS[M_VARS.length]=vars),source=result.source,status=result.status))break;if(!status)return emit("unknown pseudo-class selector '"+selector+"'"),"";if(!expr)return emit("unknown token in selector '"+selector+"'"),""}break;default:emit("'"+selector_string+"'"+qsInvalid)}if(!match)return emit("'"+selector_string+"'"+qsInvalid),"";selector=match.pop()}return source},makeref=function(selectors,element){return selectors.replace(/:scope/i,element.nodeName.toLowerCase()+(element.id?"#"+element.id:"")+(element.className?"."+element.classList[0]:""))},ancestor=function _closest(selectors,element,callback){for(/:scope/i.test(selectors)&&(selectors=makeref(selectors,element));element&&!match(selectors,element,callback);)element=element.parentElement;return element},match_assert=function(f,element,callback){for(var i=0,l=f.length,r=!1;l>i;++i)f[i](element,callback,null,!1)&&(r=!0);return r},match_collect=function(selectors,callback){for(var i=0,l=selectors.length,f=[];l>i;++i)f[i]=compile(selectors[i],!1,callback);return{factory:f}},match=function _matches(selectors,element,callback){var expressions,parsed;return element&&matchResolvers[selectors]?match_assert(matchResolvers[selectors].factory,element,callback):(lastMatched=selectors,0===arguments.length?(emit(qsNotArgs,TypeError),!!Config.VERBOSITY&&void 0):""===arguments[0]?(emit("''"+qsInvalid),!!Config.VERBOSITY&&void 0):("string"!=typeof selectors&&(selectors=""+selectors),/:scope/i.test(selectors)&&(selectors=makeref(selectors,element)),(expressions=(parsed=selectors.replace(/\x00|\\$/g,"�").replace(REX.CombineWSP," ").replace(REX.PseudosWSP,"$1").replace(REX.TabCharWSP,"\t").replace(REX.CommaGroup,",").replace(REX.TrimSpaces,"")).match(reValidator))&&expressions.join("")==parsed?(expressions=parsed.match(REX.SplitGroup),","==parsed[parsed.length-1]?(emit(qsInvalid),!!Config.VERBOSITY&&void 0):(matchResolvers[selectors]=match_collect(expressions,callback),match_assert(matchResolvers[selectors].factory,element,callback))):(emit("'"+selectors+"'"+qsInvalid),!!Config.VERBOSITY&&void 0)))},first=function _querySelector(selectors,context,callback){return 0===arguments.length&&emit(qsNotArgs,TypeError),select(selectors,context,"function"==typeof callback?function firstMatch(element){return callback(element),!1}:function firstMatch(){return!1})[0]||null},select=function _querySelectorAll(selectors,context,callback){var expressions,parsed,resolver;if(context||(context=doc),selectors&&(resolver=selectResolvers[selectors])&&resolver.context===context&&resolver.callback===callback){var f=resolver.factory,h=resolver.htmlset,n=resolver.nodeset,nodes=[];if(n.length>1){for(var list,i=0,l=n.length;l>i;++i)list=compat[n[i][0]](context,n[i].slice(1))(),null!==f[i]?f[i](list,callback,context,nodes):nodes=nodes.concat(list);l>1&&nodes.length>1&&(nodes.sort(documentOrder),hasDupes&&(nodes=unique(nodes)))}else nodes=f[0]?f[0](h[0](),callback,context,nodes):h[0]();return"function"==typeof callback?concatCall(nodes,callback):nodes}return lastSelected=selectors,0===arguments.length?(emit(qsNotArgs,TypeError),Config.VERBOSITY?void 0:none):""===arguments[0]?(emit("''"+qsInvalid),Config.VERBOSITY?void 0:none):(lastContext!==context&&(lastContext=switchContext(context)),"string"!=typeof selectors&&(selectors=""+selectors),/:scope/i.test(selectors)&&(selectors=makeref(selectors,context)),(expressions=(parsed=selectors.replace(/\x00|\\$/g,"�").replace(REX.CombineWSP," ").replace(REX.PseudosWSP,"$1").replace(REX.TabCharWSP,"\t").replace(REX.CommaGroup,",").replace(REX.TrimSpaces,"")).match(reValidator))&&expressions.join("")==parsed?(expressions=parsed.match(REX.SplitGroup),","==parsed[parsed.length-1]?(emit(qsInvalid),!!Config.VERBOSITY&&void 0):(selectResolvers[selectors]=collect(expressions,context,callback),nodes=selectResolvers[selectors].results,"function"==typeof callback?concatCall(nodes,callback):nodes)):(emit("'"+selectors+"'"+qsInvalid),!!Config.VERBOSITY&&void 0))},optimize=function(selector,token){var index=token.index,length=token[1].length+token[2].length;return selector.slice(0,index)+(" >+~".indexOf(selector.charAt(index-1))>-1&&":[".indexOf(selector.charAt(index+length+1))>-1?"*":"")+selector.slice(index+length-("*"==token[1]?1:0))},collect=function(selectors,context,callback){var i,l,token,seen={},factory=[],htmlset=[],nodeset=[],results=[];for(i=0,l=selectors.length;l>i;++i)!seen[selectors[i]]&&(seen[selectors[i]]=!0)&&((token=selectors[i].match(reOptimizer))&&":"!=token[1]?(token[1]||(token[1]="*"),selectors[i]=optimize(selectors[i],token)):token=["","*","*"],nodeset[i]=token[1]+token[2],htmlset[i]=compat[token[1]](context,token[2]),factory[i]=compile(selectors[i],!0,null),factory[i]?factory[i](htmlset[i](),callback,context,results):results=results.concat(htmlset[i]()));return l>1&&(results.sort(documentOrder),hasDupes&&(results=unique(results))),{callback:callback,context:context,factory:factory,htmlset:htmlset,nodeset:nodeset,results:results}},none=Array(),matchLambdas={},selectLambdas={},matchResolvers={},selectResolvers={},Snapshot={doc:doc,from:doc,root:root,byTag:byTag,first:first,match:match,ancestor:ancestor,nthOfType:nthOfType,nthElement:nthElement,hasAttributeNS:function(e,name){var i,l,attr=e.getAttributeNames();for(name=RegExp(":?"+name+"$",HTML_DOCUMENT?"i":""),i=0,l=attr.length;l>i;++i)if(name.test(attr[i]))return!0;return!1}},Dom={lastMatched:lastMatched,lastSelected:lastSelected,matchLambdas:matchLambdas,selectLambdas:selectLambdas,matchResolvers:matchResolvers,selectResolvers:selectResolvers,CFG:CFG,M_BODY:"",S_BODY:"r[++j]=c[k];",M_TEST:"f(c);",S_TEST:S_TEST,byId:byId,byTag:byTag,byClass:byClass,match:match,first:first,select:select,closest:ancestor,compile:compile,configure:function(option,clear){if("string"==typeof option)return!!Config[option];if("object"!=typeof option)return Config;for(var i in option)Config[i]=!!option[i];return clear&&(matchResolvers={},selectResolvers={}),setIdentifierSyntax(),!0},emit:emit,Config:Config,Snapshot:Snapshot,Version:"nwsapi-2.2.0",install:function(all){_closest=Element.prototype.closest,_matches=Element.prototype.matches,_querySelector=Document.prototype.querySelector,_querySelectorAll=Document.prototype.querySelectorAll,Element.prototype.closest=function closest(){var ctor=Object.getPrototypeOf(this).__proto__.__proto__.constructor.name;return"nodeType"in this||emit("'closest' called on an object that does not implement interface "+ctor+".",TypeError),ancestor.apply(this,arguments.length<1?[]:arguments.length<2?[arguments[0],this]:[arguments[0],this,"function"==typeof arguments[1]?arguments[1]:void 0])},Element.prototype.matches=function matches(){var ctor=Object.getPrototypeOf(this).__proto__.__proto__.constructor.name;return"nodeType"in this||emit("'matches' called on an object that does not implement interface "+ctor+".",TypeError),arguments.length<1?match.apply(this,[]):arguments.length<2?match.apply(this,[arguments[0],this]):match.apply(this,[arguments[0],this,"function"==typeof arguments[1]?arguments[1]:void 0])},Element.prototype.querySelector=Document.prototype.querySelector=DocumentFragment.prototype.querySelector=function querySelector(){var ctor=Object.getPrototypeOf(this).__proto__.__proto__.constructor.name;return"nodeType"in this||emit("'querySelector' called on an object that does not implement interface "+ctor+".",TypeError),first.apply(this,arguments.length<1?[]:arguments.length<2?[arguments[0],this]:[arguments[0],this,"function"==typeof arguments[1]?arguments[1]:void 0])},Element.prototype.querySelectorAll=Document.prototype.querySelectorAll=DocumentFragment.prototype.querySelectorAll=function querySelectorAll(){var ctor=Object.getPrototypeOf(this).__proto__.__proto__.constructor.name;return"nodeType"in this||emit("'querySelectorAll' called on an object that does not implement interface "+ctor+".",TypeError),arguments.length<1?select.apply(this,[]):arguments.length<2?select.apply(this,[arguments[0],this]):select.apply(this,[arguments[0],this,"function"==typeof arguments[1]?arguments[1]:void 0])},all&&document.addEventListener("load",(function(e){var c,d,r,s,t=e.target;/iframe/i.test(t.nodeName)&&(c="("+Export+")(this, "+Factory+");",(s=(d=t.contentDocument).createElement("script")).textContent=c+"NW.Dom.install()",(r=d.documentElement).removeChild(r.insertBefore(s,r.firstChild)))}),!0)},uninstall:function(){Element.prototype.closest=_closest,Element.prototype.matches=_matches,Element.prototype.querySelector=Document.prototype.querySelector=DocumentFragment.prototype.querySelector=_querySelector,Element.prototype.querySelectorAll=Document.prototype.querySelectorAll=DocumentFragment.prototype.querySelectorAll=_querySelectorAll},Operators:Operators,Selectors:Selectors,registerCombinator:function(combinator,resolver){for(var symbol,i=0,l=combinator.length;l>i;++i)if("="!=combinator[i]){symbol=combinator[i];break}CFG.combinators.indexOf(symbol)<0?(CFG.combinators=CFG.combinators.replace("](",symbol+"]("),CFG.combinators=CFG.combinators.replace("])",symbol+"])"),Combinators[combinator]=resolver,setIdentifierSyntax()):console.warn("Warning: the '"+combinator+"' combinator is already registered.")},registerOperator:function(operator,resolver){for(var symbol,i=0,l=operator.length;l>i;++i)if("="!=operator[i]){symbol=operator[i];break}CFG.operators.indexOf(symbol)<0&&!Operators[operator]?(CFG.operators=CFG.operators.replace("]=",symbol+"]="),Operators[operator]=resolver,setIdentifierSyntax()):console.warn("Warning: the '"+operator+"' operator is already registered.")},registerSelector:function(name,rexp,func){Selectors[name]||(Selectors[name]={Expression:rexp,Callback:func})}};return function(doc){setIdentifierSyntax(),lastContext=switchContext(doc,!0)}(doc),Dom}))},24244:function(module){var numberIsNaN=function(value){return value!=value};module.exports=function is(a,b){return 0===a&&0===b?1/a==1/b:a===b||!(!numberIsNaN(a)||!numberIsNaN(b))}},20609:function(module,__unused_webpack_exports,__webpack_require__){var define=__webpack_require__(4289),callBind=__webpack_require__(55559),implementation=__webpack_require__(24244),getPolyfill=__webpack_require__(75624),shim=__webpack_require__(52281),polyfill=callBind(getPolyfill(),Object);define(polyfill,{getPolyfill:getPolyfill,implementation:implementation,shim:shim}),module.exports=polyfill},75624:function(module,__unused_webpack_exports,__webpack_require__){var implementation=__webpack_require__(24244);module.exports=function getPolyfill(){return"function"==typeof Object.is?Object.is:implementation}},52281:function(module,__unused_webpack_exports,__webpack_require__){var getPolyfill=__webpack_require__(75624),define=__webpack_require__(4289);module.exports=function shimObjectIs(){var polyfill=getPolyfill();return define(Object,{is:polyfill},{is:function testObjectIs(){return Object.is!==polyfill}}),polyfill}},18987:function(module,__unused_webpack_exports,__webpack_require__){var keysShim;if(!Object.keys){var has=Object.prototype.hasOwnProperty,toStr=Object.prototype.toString,isArgs=__webpack_require__(21414),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},"toString"),hasProtoEnumBug=isEnumerable.call((function(){}),"prototype"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if("undefined"==typeof window)return!1;for(var k in window)try{if(!excludedKeys["$"+k]&&has.call(window,k)&&null!==window[k]&&"object"==typeof window[k])try{equalsConstructorPrototype(window[k])}catch(e){return!0}}catch(e){return!0}return!1}();keysShim=function keys(object){var isObject=null!==object&&"object"==typeof object,isFunction="[object Function]"===toStr.call(object),isArguments=isArgs(object),isString=isObject&&"[object String]"===toStr.call(object),theKeys=[];if(!isObject&&!isFunction&&!isArguments)throw new TypeError("Object.keys called on a non-object");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i<object.length;++i)theKeys.push(String(i));if(isArguments&&object.length>0)for(var j=0;j<object.length;++j)theKeys.push(String(j));else for(var name in object)skipProto&&"prototype"===name||!has.call(object,name)||theKeys.push(String(name));if(hasDontEnumBug)for(var skipConstructor=function(o){if("undefined"==typeof window||!hasAutomationEqualityBug)return equalsConstructorPrototype(o);try{return equalsConstructorPrototype(o)}catch(e){return!1}}(object),k=0;k<dontEnums.length;++k)skipConstructor&&"constructor"===dontEnums[k]||!has.call(object,dontEnums[k])||theKeys.push(dontEnums[k]);return theKeys}}module.exports=keysShim},82215:function(module,__unused_webpack_exports,__webpack_require__){var slice=Array.prototype.slice,isArgs=__webpack_require__(21414),origKeys=Object.keys,keysShim=origKeys?function keys(o){return origKeys(o)}:__webpack_require__(18987),originalKeys=Object.keys;keysShim.shim=function shimObjectKeys(){Object.keys?function(){var args=Object.keys(arguments);return args&&args.length===arguments.length}(1,2)||(Object.keys=function keys(object){return isArgs(object)?originalKeys(slice.call(object)):originalKeys(object)}):Object.keys=keysShim;return Object.keys||keysShim},module.exports=keysShim},21414:function(module){var toStr=Object.prototype.toString;module.exports=function isArguments(value){var str=toStr.call(value),isArgs="[object Arguments]"===str;return isArgs||(isArgs="[object Array]"!==str&&null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Function]"===toStr.call(value.callee)),isArgs}},67435:function(__unused_webpack_module,exports){exports.endianness=function(){return"LE"},exports.hostname=function(){return"undefined"!=typeof location?location.hostname:""},exports.loadavg=function(){return[]},exports.uptime=function(){return 0},exports.freemem=function(){return Number.MAX_VALUE},exports.totalmem=function(){return Number.MAX_VALUE},exports.cpus=function(){return[]},exports.type=function(){return"Browser"},exports.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},exports.networkInterfaces=exports.getNetworkInterfaces=function(){return{}},exports.arch=function(){return"javascript"},exports.platform=function(){return"browser"},exports.tmpdir=exports.tmpDir=function(){return"/tmp"},exports.EOL="\n",exports.homedir=function(){return"/"}},24236:function(__unused_webpack_module,exports){var TYPED_OK="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function _has(obj,key){return Object.prototype.hasOwnProperty.call(obj,key)}exports.assign=function(obj){for(var sources=Array.prototype.slice.call(arguments,1);sources.length;){var source=sources.shift();if(source){if("object"!=typeof source)throw new TypeError(source+"must be non-object");for(var p in source)_has(source,p)&&(obj[p]=source[p])}}return obj},exports.shrinkBuf=function(buf,size){return buf.length===size?buf:buf.subarray?buf.subarray(0,size):(buf.length=size,buf)};var fnTyped={arraySet:function(dest,src,src_offs,len,dest_offs){if(src.subarray&&dest.subarray)dest.set(src.subarray(src_offs,src_offs+len),dest_offs);else for(var i=0;i<len;i++)dest[dest_offs+i]=src[src_offs+i]},flattenChunks:function(chunks){var i,l,len,pos,chunk,result;for(len=0,i=0,l=chunks.length;i<l;i++)len+=chunks[i].length;for(result=new Uint8Array(len),pos=0,i=0,l=chunks.length;i<l;i++)chunk=chunks[i],result.set(chunk,pos),pos+=chunk.length;return result}},fnUntyped={arraySet:function(dest,src,src_offs,len,dest_offs){for(var i=0;i<len;i++)dest[dest_offs+i]=src[src_offs+i]},flattenChunks:function(chunks){return[].concat.apply([],chunks)}};exports.setTyped=function(on){on?(exports.Buf8=Uint8Array,exports.Buf16=Uint16Array,exports.Buf32=Int32Array,exports.assign(exports,fnTyped)):(exports.Buf8=Array,exports.Buf16=Array,exports.Buf32=Array,exports.assign(exports,fnUntyped))},exports.setTyped(TYPED_OK)},66069:function(module){module.exports=function adler32(adler,buf,len,pos){for(var s1=65535&adler|0,s2=adler>>>16&65535|0,n=0;0!==len;){len-=n=len>2e3?2e3:len;do{s2=s2+(s1=s1+buf[pos++]|0)|0}while(--n);s1%=65521,s2%=65521}return s1|s2<<16|0}},71619:function(module){module.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},2869:function(module){var crcTable=function makeTable(){for(var c,table=[],n=0;n<256;n++){c=n;for(var k=0;k<8;k++)c=1&c?3988292384^c>>>1:c>>>1;table[n]=c}return table}();module.exports=function crc32(crc,buf,len,pos){var t=crcTable,end=pos+len;crc^=-1;for(var i=pos;i<end;i++)crc=crc>>>8^t[255&(crc^buf[i])];return-1^crc}},30405:function(__unused_webpack_module,exports,__webpack_require__){var configuration_table,utils=__webpack_require__(24236),trees=__webpack_require__(10342),adler32=__webpack_require__(66069),crc32=__webpack_require__(2869),msg=__webpack_require__(48898);function err(strm,errorCode){return strm.msg=msg[errorCode],errorCode}function rank(f){return(f<<1)-(f>4?9:0)}function zero(buf){for(var len=buf.length;--len>=0;)buf[len]=0}function flush_pending(strm){var s=strm.state,len=s.pending;len>strm.avail_out&&(len=strm.avail_out),0!==len&&(utils.arraySet(strm.output,s.pending_buf,s.pending_out,len,strm.next_out),strm.next_out+=len,s.pending_out+=len,strm.total_out+=len,strm.avail_out-=len,s.pending-=len,0===s.pending&&(s.pending_out=0))}function flush_block_only(s,last){trees._tr_flush_block(s,s.block_start>=0?s.block_start:-1,s.strstart-s.block_start,last),s.block_start=s.strstart,flush_pending(s.strm)}function put_byte(s,b){s.pending_buf[s.pending++]=b}function putShortMSB(s,b){s.pending_buf[s.pending++]=b>>>8&255,s.pending_buf[s.pending++]=255&b}function longest_match(s,cur_match){var match,len,chain_length=s.max_chain_length,scan=s.strstart,best_len=s.prev_length,nice_match=s.nice_match,limit=s.strstart>s.w_size-262?s.strstart-(s.w_size-262):0,_win=s.window,wmask=s.w_mask,prev=s.prev,strend=s.strstart+258,scan_end1=_win[scan+best_len-1],scan_end=_win[scan+best_len];s.prev_length>=s.good_match&&(chain_length>>=2),nice_match>s.lookahead&&(nice_match=s.lookahead);do{if(_win[(match=cur_match)+best_len]===scan_end&&_win[match+best_len-1]===scan_end1&&_win[match]===_win[scan]&&_win[++match]===_win[scan+1]){scan+=2,match++;do{}while(_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&scan<strend);if(len=258-(strend-scan),scan=strend-258,len>best_len){if(s.match_start=cur_match,best_len=len,len>=nice_match)break;scan_end1=_win[scan+best_len-1],scan_end=_win[scan+best_len]}}}while((cur_match=prev[cur_match&wmask])>limit&&0!=--chain_length);return best_len<=s.lookahead?best_len:s.lookahead}function fill_window(s){var p,n,m,more,str,strm,buf,start,size,len,_w_size=s.w_size;do{if(more=s.window_size-s.lookahead-s.strstart,s.strstart>=_w_size+(_w_size-262)){utils.arraySet(s.window,s.window,_w_size,_w_size,0),s.match_start-=_w_size,s.strstart-=_w_size,s.block_start-=_w_size,p=n=s.hash_size;do{m=s.head[--p],s.head[p]=m>=_w_size?m-_w_size:0}while(--n);p=n=_w_size;do{m=s.prev[--p],s.prev[p]=m>=_w_size?m-_w_size:0}while(--n);more+=_w_size}if(0===s.strm.avail_in)break;if(strm=s.strm,buf=s.window,start=s.strstart+s.lookahead,size=more,len=void 0,(len=strm.avail_in)>size&&(len=size),n=0===len?0:(strm.avail_in-=len,utils.arraySet(buf,strm.input,strm.next_in,len,start),1===strm.state.wrap?strm.adler=adler32(strm.adler,buf,len,start):2===strm.state.wrap&&(strm.adler=crc32(strm.adler,buf,len,start)),strm.next_in+=len,strm.total_in+=len,len),s.lookahead+=n,s.lookahead+s.insert>=3)for(str=s.strstart-s.insert,s.ins_h=s.window[str],s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+1])&s.hash_mask;s.insert&&(s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+3-1])&s.hash_mask,s.prev[str&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=str,str++,s.insert--,!(s.lookahead+s.insert<3)););}while(s.lookahead<262&&0!==s.strm.avail_in)}function deflate_fast(s,flush){for(var hash_head,bflush;;){if(s.lookahead<262){if(fill_window(s),s.lookahead<262&&0===flush)return 1;if(0===s.lookahead)break}if(hash_head=0,s.lookahead>=3&&(s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+3-1])&s.hash_mask,hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart),0!==hash_head&&s.strstart-hash_head<=s.w_size-262&&(s.match_length=longest_match(s,hash_head)),s.match_length>=3)if(bflush=trees._tr_tally(s,s.strstart-s.match_start,s.match_length-3),s.lookahead-=s.match_length,s.match_length<=s.max_lazy_match&&s.lookahead>=3){s.match_length--;do{s.strstart++,s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+3-1])&s.hash_mask,hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart}while(0!=--s.match_length);s.strstart++}else s.strstart+=s.match_length,s.match_length=0,s.ins_h=s.window[s.strstart],s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+1])&s.hash_mask;else bflush=trees._tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++;if(bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=s.strstart<2?s.strstart:2,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.last_lit&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2}function deflate_slow(s,flush){for(var hash_head,bflush,max_insert;;){if(s.lookahead<262){if(fill_window(s),s.lookahead<262&&0===flush)return 1;if(0===s.lookahead)break}if(hash_head=0,s.lookahead>=3&&(s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+3-1])&s.hash_mask,hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart),s.prev_length=s.match_length,s.prev_match=s.match_start,s.match_length=2,0!==hash_head&&s.prev_length<s.max_lazy_match&&s.strstart-hash_head<=s.w_size-262&&(s.match_length=longest_match(s,hash_head),s.match_length<=5&&(1===s.strategy||3===s.match_length&&s.strstart-s.match_start>4096)&&(s.match_length=2)),s.prev_length>=3&&s.match_length<=s.prev_length){max_insert=s.strstart+s.lookahead-3,bflush=trees._tr_tally(s,s.strstart-1-s.prev_match,s.prev_length-3),s.lookahead-=s.prev_length-1,s.prev_length-=2;do{++s.strstart<=max_insert&&(s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+3-1])&s.hash_mask,hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart)}while(0!=--s.prev_length);if(s.match_available=0,s.match_length=2,s.strstart++,bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}else if(s.match_available){if((bflush=trees._tr_tally(s,0,s.window[s.strstart-1]))&&flush_block_only(s,!1),s.strstart++,s.lookahead--,0===s.strm.avail_out)return 1}else s.match_available=1,s.strstart++,s.lookahead--}return s.match_available&&(bflush=trees._tr_tally(s,0,s.window[s.strstart-1]),s.match_available=0),s.insert=s.strstart<2?s.strstart:2,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.last_lit&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2}function Config(good_length,max_lazy,nice_length,max_chain,func){this.good_length=good_length,this.max_lazy=max_lazy,this.nice_length=nice_length,this.max_chain=max_chain,this.func=func}function DeflateState(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new utils.Buf16(1146),this.dyn_dtree=new utils.Buf16(122),this.bl_tree=new utils.Buf16(78),zero(this.dyn_ltree),zero(this.dyn_dtree),zero(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new utils.Buf16(16),this.heap=new utils.Buf16(573),zero(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new utils.Buf16(573),zero(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function deflateResetKeep(strm){var s;return strm&&strm.state?(strm.total_in=strm.total_out=0,strm.data_type=2,(s=strm.state).pending=0,s.pending_out=0,s.wrap<0&&(s.wrap=-s.wrap),s.status=s.wrap?42:113,strm.adler=2===s.wrap?0:1,s.last_flush=0,trees._tr_init(s),0):err(strm,-2)}function deflateReset(strm){var ret=deflateResetKeep(strm);return 0===ret&&function lm_init(s){s.window_size=2*s.w_size,zero(s.head),s.max_lazy_match=configuration_table[s.level].max_lazy,s.good_match=configuration_table[s.level].good_length,s.nice_match=configuration_table[s.level].nice_length,s.max_chain_length=configuration_table[s.level].max_chain,s.strstart=0,s.block_start=0,s.lookahead=0,s.insert=0,s.match_length=s.prev_length=2,s.match_available=0,s.ins_h=0}(strm.state),ret}function deflateInit2(strm,level,method,windowBits,memLevel,strategy){if(!strm)return-2;var wrap=1;if(-1===level&&(level=6),windowBits<0?(wrap=0,windowBits=-windowBits):windowBits>15&&(wrap=2,windowBits-=16),memLevel<1||memLevel>9||8!==method||windowBits<8||windowBits>15||level<0||level>9||strategy<0||strategy>4)return err(strm,-2);8===windowBits&&(windowBits=9);var s=new DeflateState;return strm.state=s,s.strm=strm,s.wrap=wrap,s.gzhead=null,s.w_bits=windowBits,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=memLevel+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new utils.Buf8(2*s.w_size),s.head=new utils.Buf16(s.hash_size),s.prev=new utils.Buf16(s.w_size),s.lit_bufsize=1<<memLevel+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new utils.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=level,s.strategy=strategy,s.method=method,deflateReset(strm)}configuration_table=[new Config(0,0,0,0,(function deflate_stored(s,flush){var max_block_size=65535;for(max_block_size>s.pending_buf_size-5&&(max_block_size=s.pending_buf_size-5);;){if(s.lookahead<=1){if(fill_window(s),0===s.lookahead&&0===flush)return 1;if(0===s.lookahead)break}s.strstart+=s.lookahead,s.lookahead=0;var max_start=s.block_start+max_block_size;if((0===s.strstart||s.strstart>=max_start)&&(s.lookahead=s.strstart-max_start,s.strstart=max_start,flush_block_only(s,!1),0===s.strm.avail_out))return 1;if(s.strstart-s.block_start>=s.w_size-262&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=0,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):(s.strstart>s.block_start&&(flush_block_only(s,!1),s.strm.avail_out),1)})),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)],exports.deflateInit=function deflateInit(strm,level){return deflateInit2(strm,level,8,15,8,0)},exports.deflateInit2=deflateInit2,exports.deflateReset=deflateReset,exports.deflateResetKeep=deflateResetKeep,exports.deflateSetHeader=function deflateSetHeader(strm,head){return strm&&strm.state?2!==strm.state.wrap?-2:(strm.state.gzhead=head,0):-2},exports.deflate=function deflate(strm,flush){var old_flush,s,beg,val;if(!strm||!strm.state||flush>5||flush<0)return strm?err(strm,-2):-2;if(s=strm.state,!strm.output||!strm.input&&0!==strm.avail_in||666===s.status&&4!==flush)return err(strm,0===strm.avail_out?-5:-2);if(s.strm=strm,old_flush=s.last_flush,s.last_flush=flush,42===s.status)if(2===s.wrap)strm.adler=0,put_byte(s,31),put_byte(s,139),put_byte(s,8),s.gzhead?(put_byte(s,(s.gzhead.text?1:0)+(s.gzhead.hcrc?2:0)+(s.gzhead.extra?4:0)+(s.gzhead.name?8:0)+(s.gzhead.comment?16:0)),put_byte(s,255&s.gzhead.time),put_byte(s,s.gzhead.time>>8&255),put_byte(s,s.gzhead.time>>16&255),put_byte(s,s.gzhead.time>>24&255),put_byte(s,9===s.level?2:s.strategy>=2||s.level<2?4:0),put_byte(s,255&s.gzhead.os),s.gzhead.extra&&s.gzhead.extra.length&&(put_byte(s,255&s.gzhead.extra.length),put_byte(s,s.gzhead.extra.length>>8&255)),s.gzhead.hcrc&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending,0)),s.gzindex=0,s.status=69):(put_byte(s,0),put_byte(s,0),put_byte(s,0),put_byte(s,0),put_byte(s,0),put_byte(s,9===s.level?2:s.strategy>=2||s.level<2?4:0),put_byte(s,3),s.status=113);else{var header=8+(s.w_bits-8<<4)<<8;header|=(s.strategy>=2||s.level<2?0:s.level<6?1:6===s.level?2:3)<<6,0!==s.strstart&&(header|=32),header+=31-header%31,s.status=113,putShortMSB(s,header),0!==s.strstart&&(putShortMSB(s,strm.adler>>>16),putShortMSB(s,65535&strm.adler)),strm.adler=1}if(69===s.status)if(s.gzhead.extra){for(beg=s.pending;s.gzindex<(65535&s.gzhead.extra.length)&&(s.pending!==s.pending_buf_size||(s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),flush_pending(strm),beg=s.pending,s.pending!==s.pending_buf_size));)put_byte(s,255&s.gzhead.extra[s.gzindex]),s.gzindex++;s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),s.gzindex===s.gzhead.extra.length&&(s.gzindex=0,s.status=73)}else s.status=73;if(73===s.status)if(s.gzhead.name){beg=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),flush_pending(strm),beg=s.pending,s.pending===s.pending_buf_size)){val=1;break}val=s.gzindex<s.gzhead.name.length?255&s.gzhead.name.charCodeAt(s.gzindex++):0,put_byte(s,val)}while(0!==val);s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),0===val&&(s.gzindex=0,s.status=91)}else s.status=91;if(91===s.status)if(s.gzhead.comment){beg=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),flush_pending(strm),beg=s.pending,s.pending===s.pending_buf_size)){val=1;break}val=s.gzindex<s.gzhead.comment.length?255&s.gzhead.comment.charCodeAt(s.gzindex++):0,put_byte(s,val)}while(0!==val);s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),0===val&&(s.status=103)}else s.status=103;if(103===s.status&&(s.gzhead.hcrc?(s.pending+2>s.pending_buf_size&&flush_pending(strm),s.pending+2<=s.pending_buf_size&&(put_byte(s,255&strm.adler),put_byte(s,strm.adler>>8&255),strm.adler=0,s.status=113)):s.status=113),0!==s.pending){if(flush_pending(strm),0===strm.avail_out)return s.last_flush=-1,0}else if(0===strm.avail_in&&rank(flush)<=rank(old_flush)&&4!==flush)return err(strm,-5);if(666===s.status&&0!==strm.avail_in)return err(strm,-5);if(0!==strm.avail_in||0!==s.lookahead||0!==flush&&666!==s.status){var bstate=2===s.strategy?function deflate_huff(s,flush){for(var bflush;;){if(0===s.lookahead&&(fill_window(s),0===s.lookahead)){if(0===flush)return 1;break}if(s.match_length=0,bflush=trees._tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++,bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=0,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.last_lit&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2}(s,flush):3===s.strategy?function deflate_rle(s,flush){for(var bflush,prev,scan,strend,_win=s.window;;){if(s.lookahead<=258){if(fill_window(s),s.lookahead<=258&&0===flush)return 1;if(0===s.lookahead)break}if(s.match_length=0,s.lookahead>=3&&s.strstart>0&&(prev=_win[scan=s.strstart-1])===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]){strend=s.strstart+258;do{}while(prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&scan<strend);s.match_length=258-(strend-scan),s.match_length>s.lookahead&&(s.match_length=s.lookahead)}if(s.match_length>=3?(bflush=trees._tr_tally(s,1,s.match_length-3),s.lookahead-=s.match_length,s.strstart+=s.match_length,s.match_length=0):(bflush=trees._tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++),bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=0,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.last_lit&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2}(s,flush):configuration_table[s.level].func(s,flush);if(3!==bstate&&4!==bstate||(s.status=666),1===bstate||3===bstate)return 0===strm.avail_out&&(s.last_flush=-1),0;if(2===bstate&&(1===flush?trees._tr_align(s):5!==flush&&(trees._tr_stored_block(s,0,0,!1),3===flush&&(zero(s.head),0===s.lookahead&&(s.strstart=0,s.block_start=0,s.insert=0))),flush_pending(strm),0===strm.avail_out))return s.last_flush=-1,0}return 4!==flush?0:s.wrap<=0?1:(2===s.wrap?(put_byte(s,255&strm.adler),put_byte(s,strm.adler>>8&255),put_byte(s,strm.adler>>16&255),put_byte(s,strm.adler>>24&255),put_byte(s,255&strm.total_in),put_byte(s,strm.total_in>>8&255),put_byte(s,strm.total_in>>16&255),put_byte(s,strm.total_in>>24&255)):(putShortMSB(s,strm.adler>>>16),putShortMSB(s,65535&strm.adler)),flush_pending(strm),s.wrap>0&&(s.wrap=-s.wrap),0!==s.pending?0:1)},exports.deflateEnd=function deflateEnd(strm){var status;return strm&&strm.state?42!==(status=strm.state.status)&&69!==status&&73!==status&&91!==status&&103!==status&&113!==status&&666!==status?err(strm,-2):(strm.state=null,113===status?err(strm,-3):0):-2},exports.deflateSetDictionary=function deflateSetDictionary(strm,dictionary){var s,str,n,wrap,avail,next,input,tmpDict,dictLength=dictionary.length;if(!strm||!strm.state)return-2;if(2===(wrap=(s=strm.state).wrap)||1===wrap&&42!==s.status||s.lookahead)return-2;for(1===wrap&&(strm.adler=adler32(strm.adler,dictionary,dictLength,0)),s.wrap=0,dictLength>=s.w_size&&(0===wrap&&(zero(s.head),s.strstart=0,s.block_start=0,s.insert=0),tmpDict=new utils.Buf8(s.w_size),utils.arraySet(tmpDict,dictionary,dictLength-s.w_size,s.w_size,0),dictionary=tmpDict,dictLength=s.w_size),avail=strm.avail_in,next=strm.next_in,input=strm.input,strm.avail_in=dictLength,strm.next_in=0,strm.input=dictionary,fill_window(s);s.lookahead>=3;){str=s.strstart,n=s.lookahead-2;do{s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+3-1])&s.hash_mask,s.prev[str&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=str,str++}while(--n);s.strstart=str,s.lookahead=2,fill_window(s)}return s.strstart+=s.lookahead,s.block_start=s.strstart,s.insert=s.lookahead,s.lookahead=0,s.match_length=s.prev_length=2,s.match_available=0,strm.next_in=next,strm.input=input,strm.avail_in=avail,s.wrap=wrap,0},exports.deflateInfo="pako deflate (from Nodeca project)"},94264:function(module){module.exports=function inflate_fast(strm,start){var state,_in,last,_out,beg,end,dmax,wsize,whave,wnext,s_window,hold,bits,lcode,dcode,lmask,dmask,here,op,len,dist,from,from_source,input,output;state=strm.state,_in=strm.next_in,input=strm.input,last=_in+(strm.avail_in-5),_out=strm.next_out,output=strm.output,beg=_out-(start-strm.avail_out),end=_out+(strm.avail_out-257),dmax=state.dmax,wsize=state.wsize,whave=state.whave,wnext=state.wnext,s_window=state.window,hold=state.hold,bits=state.bits,lcode=state.lencode,dcode=state.distcode,lmask=(1<<state.lenbits)-1,dmask=(1<<state.distbits)-1;top:do{bits<15&&(hold+=input[_in++]<<bits,bits+=8,hold+=input[_in++]<<bits,bits+=8),here=lcode[hold&lmask];dolen:for(;;){if(hold>>>=op=here>>>24,bits-=op,0===(op=here>>>16&255))output[_out++]=65535&here;else{if(!(16&op)){if(0==(64&op)){here=lcode[(65535&here)+(hold&(1<<op)-1)];continue dolen}if(32&op){state.mode=12;break top}strm.msg="invalid literal/length code",state.mode=30;break top}len=65535&here,(op&=15)&&(bits<op&&(hold+=input[_in++]<<bits,bits+=8),len+=hold&(1<<op)-1,hold>>>=op,bits-=op),bits<15&&(hold+=input[_in++]<<bits,bits+=8,hold+=input[_in++]<<bits,bits+=8),here=dcode[hold&dmask];dodist:for(;;){if(hold>>>=op=here>>>24,bits-=op,!(16&(op=here>>>16&255))){if(0==(64&op)){here=dcode[(65535&here)+(hold&(1<<op)-1)];continue dodist}strm.msg="invalid distance code",state.mode=30;break top}if(dist=65535&here,bits<(op&=15)&&(hold+=input[_in++]<<bits,(bits+=8)<op&&(hold+=input[_in++]<<bits,bits+=8)),(dist+=hold&(1<<op)-1)>dmax){strm.msg="invalid distance too far back",state.mode=30;break top}if(hold>>>=op,bits-=op,dist>(op=_out-beg)){if((op=dist-op)>whave&&state.sane){strm.msg="invalid distance too far back",state.mode=30;break top}if(from=0,from_source=s_window,0===wnext){if(from+=wsize-op,op<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist,from_source=output}}else if(wnext<op){if(from+=wsize+wnext-op,(op-=wnext)<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);if(from=0,wnext<len){len-=op=wnext;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist,from_source=output}}}else if(from+=wnext-op,op<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist,from_source=output}for(;len>2;)output[_out++]=from_source[from++],output[_out++]=from_source[from++],output[_out++]=from_source[from++],len-=3;len&&(output[_out++]=from_source[from++],len>1&&(output[_out++]=from_source[from++]))}else{from=_out-dist;do{output[_out++]=output[from++],output[_out++]=output[from++],output[_out++]=output[from++],len-=3}while(len>2);len&&(output[_out++]=output[from++],len>1&&(output[_out++]=output[from++]))}break}}break}}while(_in<last&&_out<end);_in-=len=bits>>3,hold&=(1<<(bits-=len<<3))-1,strm.next_in=_in,strm.next_out=_out,strm.avail_in=_in<last?last-_in+5:5-(_in-last),strm.avail_out=_out<end?end-_out+257:257-(_out-end),state.hold=hold,state.bits=bits}},27948:function(__unused_webpack_module,exports,__webpack_require__){var utils=__webpack_require__(24236),adler32=__webpack_require__(66069),crc32=__webpack_require__(2869),inflate_fast=__webpack_require__(94264),inflate_table=__webpack_require__(9241);function zswap32(q){return(q>>>24&255)+(q>>>8&65280)+((65280&q)<<8)+((255&q)<<24)}function InflateState(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new utils.Buf16(320),this.work=new utils.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function inflateResetKeep(strm){var state;return strm&&strm.state?(state=strm.state,strm.total_in=strm.total_out=state.total=0,strm.msg="",state.wrap&&(strm.adler=1&state.wrap),state.mode=1,state.last=0,state.havedict=0,state.dmax=32768,state.head=null,state.hold=0,state.bits=0,state.lencode=state.lendyn=new utils.Buf32(852),state.distcode=state.distdyn=new utils.Buf32(592),state.sane=1,state.back=-1,0):-2}function inflateReset(strm){var state;return strm&&strm.state?((state=strm.state).wsize=0,state.whave=0,state.wnext=0,inflateResetKeep(strm)):-2}function inflateReset2(strm,windowBits){var wrap,state;return strm&&strm.state?(state=strm.state,windowBits<0?(wrap=0,windowBits=-windowBits):(wrap=1+(windowBits>>4),windowBits<48&&(windowBits&=15)),windowBits&&(windowBits<8||windowBits>15)?-2:(null!==state.window&&state.wbits!==windowBits&&(state.window=null),state.wrap=wrap,state.wbits=windowBits,inflateReset(strm))):-2}function inflateInit2(strm,windowBits){var ret,state;return strm?(state=new InflateState,strm.state=state,state.window=null,0!==(ret=inflateReset2(strm,windowBits))&&(strm.state=null),ret):-2}var lenfix,distfix,virgin=!0;function fixedtables(state){if(virgin){var sym;for(lenfix=new utils.Buf32(512),distfix=new utils.Buf32(32),sym=0;sym<144;)state.lens[sym++]=8;for(;sym<256;)state.lens[sym++]=9;for(;sym<280;)state.lens[sym++]=7;for(;sym<288;)state.lens[sym++]=8;for(inflate_table(1,state.lens,0,288,lenfix,0,state.work,{bits:9}),sym=0;sym<32;)state.lens[sym++]=5;inflate_table(2,state.lens,0,32,distfix,0,state.work,{bits:5}),virgin=!1}state.lencode=lenfix,state.lenbits=9,state.distcode=distfix,state.distbits=5}function updatewindow(strm,src,end,copy){var dist,state=strm.state;return null===state.window&&(state.wsize=1<<state.wbits,state.wnext=0,state.whave=0,state.window=new utils.Buf8(state.wsize)),copy>=state.wsize?(utils.arraySet(state.window,src,end-state.wsize,state.wsize,0),state.wnext=0,state.whave=state.wsize):((dist=state.wsize-state.wnext)>copy&&(dist=copy),utils.arraySet(state.window,src,end-copy,dist,state.wnext),(copy-=dist)?(utils.arraySet(state.window,src,end-copy,copy,0),state.wnext=copy,state.whave=state.wsize):(state.wnext+=dist,state.wnext===state.wsize&&(state.wnext=0),state.whave<state.wsize&&(state.whave+=dist))),0}exports.inflateReset=inflateReset,exports.inflateReset2=inflateReset2,exports.inflateResetKeep=inflateResetKeep,exports.inflateInit=function inflateInit(strm){return inflateInit2(strm,15)},exports.inflateInit2=inflateInit2,exports.inflate=function inflate(strm,flush){var state,input,output,next,put,have,left,hold,bits,_in,_out,copy,from,from_source,here_bits,here_op,here_val,last_bits,last_op,last_val,len,ret,opts,n,here=0,hbuf=new utils.Buf8(4),order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!strm||!strm.state||!strm.output||!strm.input&&0!==strm.avail_in)return-2;12===(state=strm.state).mode&&(state.mode=13),put=strm.next_out,output=strm.output,left=strm.avail_out,next=strm.next_in,input=strm.input,have=strm.avail_in,hold=state.hold,bits=state.bits,_in=have,_out=left,ret=0;inf_leave:for(;;)switch(state.mode){case 1:if(0===state.wrap){state.mode=13;break}for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(2&state.wrap&&35615===hold){state.check=0,hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,state.check=crc32(state.check,hbuf,2,0),hold=0,bits=0,state.mode=2;break}if(state.flags=0,state.head&&(state.head.done=!1),!(1&state.wrap)||(((255&hold)<<8)+(hold>>8))%31){strm.msg="incorrect header check",state.mode=30;break}if(8!=(15&hold)){strm.msg="unknown compression method",state.mode=30;break}if(bits-=4,len=8+(15&(hold>>>=4)),0===state.wbits)state.wbits=len;else if(len>state.wbits){strm.msg="invalid window size",state.mode=30;break}state.dmax=1<<len,strm.adler=state.check=1,state.mode=512&hold?10:12,hold=0,bits=0;break;case 2:for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(state.flags=hold,8!=(255&state.flags)){strm.msg="unknown compression method",state.mode=30;break}if(57344&state.flags){strm.msg="unknown header flags set",state.mode=30;break}state.head&&(state.head.text=hold>>8&1),512&state.flags&&(hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,state.check=crc32(state.check,hbuf,2,0)),hold=0,bits=0,state.mode=3;case 3:for(;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.head&&(state.head.time=hold),512&state.flags&&(hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,hbuf[2]=hold>>>16&255,hbuf[3]=hold>>>24&255,state.check=crc32(state.check,hbuf,4,0)),hold=0,bits=0,state.mode=4;case 4:for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.head&&(state.head.xflags=255&hold,state.head.os=hold>>8),512&state.flags&&(hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,state.check=crc32(state.check,hbuf,2,0)),hold=0,bits=0,state.mode=5;case 5:if(1024&state.flags){for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.length=hold,state.head&&(state.head.extra_len=hold),512&state.flags&&(hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,state.check=crc32(state.check,hbuf,2,0)),hold=0,bits=0}else state.head&&(state.head.extra=null);state.mode=6;case 6:if(1024&state.flags&&((copy=state.length)>have&&(copy=have),copy&&(state.head&&(len=state.head.extra_len-state.length,state.head.extra||(state.head.extra=new Array(state.head.extra_len)),utils.arraySet(state.head.extra,input,next,copy,len)),512&state.flags&&(state.check=crc32(state.check,input,copy,next)),have-=copy,next+=copy,state.length-=copy),state.length))break inf_leave;state.length=0,state.mode=7;case 7:if(2048&state.flags){if(0===have)break inf_leave;copy=0;do{len=input[next+copy++],state.head&&len&&state.length<65536&&(state.head.name+=String.fromCharCode(len))}while(len&©<have);if(512&state.flags&&(state.check=crc32(state.check,input,copy,next)),have-=copy,next+=copy,len)break inf_leave}else state.head&&(state.head.name=null);state.length=0,state.mode=8;case 8:if(4096&state.flags){if(0===have)break inf_leave;copy=0;do{len=input[next+copy++],state.head&&len&&state.length<65536&&(state.head.comment+=String.fromCharCode(len))}while(len&©<have);if(512&state.flags&&(state.check=crc32(state.check,input,copy,next)),have-=copy,next+=copy,len)break inf_leave}else state.head&&(state.head.comment=null);state.mode=9;case 9:if(512&state.flags){for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(hold!==(65535&state.check)){strm.msg="header crc mismatch",state.mode=30;break}hold=0,bits=0}state.head&&(state.head.hcrc=state.flags>>9&1,state.head.done=!0),strm.adler=state.check=0,state.mode=12;break;case 10:for(;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}strm.adler=state.check=zswap32(hold),hold=0,bits=0,state.mode=11;case 11:if(0===state.havedict)return strm.next_out=put,strm.avail_out=left,strm.next_in=next,strm.avail_in=have,state.hold=hold,state.bits=bits,2;strm.adler=state.check=1,state.mode=12;case 12:if(5===flush||6===flush)break inf_leave;case 13:if(state.last){hold>>>=7&bits,bits-=7&bits,state.mode=27;break}for(;bits<3;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}switch(state.last=1&hold,bits-=1,3&(hold>>>=1)){case 0:state.mode=14;break;case 1:if(fixedtables(state),state.mode=20,6===flush){hold>>>=2,bits-=2;break inf_leave}break;case 2:state.mode=17;break;case 3:strm.msg="invalid block type",state.mode=30}hold>>>=2,bits-=2;break;case 14:for(hold>>>=7&bits,bits-=7&bits;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if((65535&hold)!=(hold>>>16^65535)){strm.msg="invalid stored block lengths",state.mode=30;break}if(state.length=65535&hold,hold=0,bits=0,state.mode=15,6===flush)break inf_leave;case 15:state.mode=16;case 16:if(copy=state.length){if(copy>have&&(copy=have),copy>left&&(copy=left),0===copy)break inf_leave;utils.arraySet(output,input,next,copy,put),have-=copy,next+=copy,left-=copy,put+=copy,state.length-=copy;break}state.mode=12;break;case 17:for(;bits<14;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(state.nlen=257+(31&hold),hold>>>=5,bits-=5,state.ndist=1+(31&hold),hold>>>=5,bits-=5,state.ncode=4+(15&hold),hold>>>=4,bits-=4,state.nlen>286||state.ndist>30){strm.msg="too many length or distance symbols",state.mode=30;break}state.have=0,state.mode=18;case 18:for(;state.have<state.ncode;){for(;bits<3;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.lens[order[state.have++]]=7&hold,hold>>>=3,bits-=3}for(;state.have<19;)state.lens[order[state.have++]]=0;if(state.lencode=state.lendyn,state.lenbits=7,opts={bits:state.lenbits},ret=inflate_table(0,state.lens,0,19,state.lencode,0,state.work,opts),state.lenbits=opts.bits,ret){strm.msg="invalid code lengths set",state.mode=30;break}state.have=0,state.mode=19;case 19:for(;state.have<state.nlen+state.ndist;){for(;here_op=(here=state.lencode[hold&(1<<state.lenbits)-1])>>>16&255,here_val=65535&here,!((here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(here_val<16)hold>>>=here_bits,bits-=here_bits,state.lens[state.have++]=here_val;else{if(16===here_val){for(n=here_bits+2;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(hold>>>=here_bits,bits-=here_bits,0===state.have){strm.msg="invalid bit length repeat",state.mode=30;break}len=state.lens[state.have-1],copy=3+(3&hold),hold>>>=2,bits-=2}else if(17===here_val){for(n=here_bits+3;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}bits-=here_bits,len=0,copy=3+(7&(hold>>>=here_bits)),hold>>>=3,bits-=3}else{for(n=here_bits+7;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}bits-=here_bits,len=0,copy=11+(127&(hold>>>=here_bits)),hold>>>=7,bits-=7}if(state.have+copy>state.nlen+state.ndist){strm.msg="invalid bit length repeat",state.mode=30;break}for(;copy--;)state.lens[state.have++]=len}}if(30===state.mode)break;if(0===state.lens[256]){strm.msg="invalid code -- missing end-of-block",state.mode=30;break}if(state.lenbits=9,opts={bits:state.lenbits},ret=inflate_table(1,state.lens,0,state.nlen,state.lencode,0,state.work,opts),state.lenbits=opts.bits,ret){strm.msg="invalid literal/lengths set",state.mode=30;break}if(state.distbits=6,state.distcode=state.distdyn,opts={bits:state.distbits},ret=inflate_table(2,state.lens,state.nlen,state.ndist,state.distcode,0,state.work,opts),state.distbits=opts.bits,ret){strm.msg="invalid distances set",state.mode=30;break}if(state.mode=20,6===flush)break inf_leave;case 20:state.mode=21;case 21:if(have>=6&&left>=258){strm.next_out=put,strm.avail_out=left,strm.next_in=next,strm.avail_in=have,state.hold=hold,state.bits=bits,inflate_fast(strm,_out),put=strm.next_out,output=strm.output,left=strm.avail_out,next=strm.next_in,input=strm.input,have=strm.avail_in,hold=state.hold,bits=state.bits,12===state.mode&&(state.back=-1);break}for(state.back=0;here_op=(here=state.lencode[hold&(1<<state.lenbits)-1])>>>16&255,here_val=65535&here,!((here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(here_op&&0==(240&here_op)){for(last_bits=here_bits,last_op=here_op,last_val=here_val;here_op=(here=state.lencode[last_val+((hold&(1<<last_bits+last_op)-1)>>last_bits)])>>>16&255,here_val=65535&here,!(last_bits+(here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}hold>>>=last_bits,bits-=last_bits,state.back+=last_bits}if(hold>>>=here_bits,bits-=here_bits,state.back+=here_bits,state.length=here_val,0===here_op){state.mode=26;break}if(32&here_op){state.back=-1,state.mode=12;break}if(64&here_op){strm.msg="invalid literal/length code",state.mode=30;break}state.extra=15&here_op,state.mode=22;case 22:if(state.extra){for(n=state.extra;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.length+=hold&(1<<state.extra)-1,hold>>>=state.extra,bits-=state.extra,state.back+=state.extra}state.was=state.length,state.mode=23;case 23:for(;here_op=(here=state.distcode[hold&(1<<state.distbits)-1])>>>16&255,here_val=65535&here,!((here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(0==(240&here_op)){for(last_bits=here_bits,last_op=here_op,last_val=here_val;here_op=(here=state.distcode[last_val+((hold&(1<<last_bits+last_op)-1)>>last_bits)])>>>16&255,here_val=65535&here,!(last_bits+(here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}hold>>>=last_bits,bits-=last_bits,state.back+=last_bits}if(hold>>>=here_bits,bits-=here_bits,state.back+=here_bits,64&here_op){strm.msg="invalid distance code",state.mode=30;break}state.offset=here_val,state.extra=15&here_op,state.mode=24;case 24:if(state.extra){for(n=state.extra;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.offset+=hold&(1<<state.extra)-1,hold>>>=state.extra,bits-=state.extra,state.back+=state.extra}if(state.offset>state.dmax){strm.msg="invalid distance too far back",state.mode=30;break}state.mode=25;case 25:if(0===left)break inf_leave;if(copy=_out-left,state.offset>copy){if((copy=state.offset-copy)>state.whave&&state.sane){strm.msg="invalid distance too far back",state.mode=30;break}copy>state.wnext?(copy-=state.wnext,from=state.wsize-copy):from=state.wnext-copy,copy>state.length&&(copy=state.length),from_source=state.window}else from_source=output,from=put-state.offset,copy=state.length;copy>left&&(copy=left),left-=copy,state.length-=copy;do{output[put++]=from_source[from++]}while(--copy);0===state.length&&(state.mode=21);break;case 26:if(0===left)break inf_leave;output[put++]=state.length,left--,state.mode=21;break;case 27:if(state.wrap){for(;bits<32;){if(0===have)break inf_leave;have--,hold|=input[next++]<<bits,bits+=8}if(_out-=left,strm.total_out+=_out,state.total+=_out,_out&&(strm.adler=state.check=state.flags?crc32(state.check,output,_out,put-_out):adler32(state.check,output,_out,put-_out)),_out=left,(state.flags?hold:zswap32(hold))!==state.check){strm.msg="incorrect data check",state.mode=30;break}hold=0,bits=0}state.mode=28;case 28:if(state.wrap&&state.flags){for(;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(hold!==(4294967295&state.total)){strm.msg="incorrect length check",state.mode=30;break}hold=0,bits=0}state.mode=29;case 29:ret=1;break inf_leave;case 30:ret=-3;break inf_leave;case 31:return-4;case 32:default:return-2}return strm.next_out=put,strm.avail_out=left,strm.next_in=next,strm.avail_in=have,state.hold=hold,state.bits=bits,(state.wsize||_out!==strm.avail_out&&state.mode<30&&(state.mode<27||4!==flush))&&updatewindow(strm,strm.output,strm.next_out,_out-strm.avail_out)?(state.mode=31,-4):(_in-=strm.avail_in,_out-=strm.avail_out,strm.total_in+=_in,strm.total_out+=_out,state.total+=_out,state.wrap&&_out&&(strm.adler=state.check=state.flags?crc32(state.check,output,_out,strm.next_out-_out):adler32(state.check,output,_out,strm.next_out-_out)),strm.data_type=state.bits+(state.last?64:0)+(12===state.mode?128:0)+(20===state.mode||15===state.mode?256:0),(0===_in&&0===_out||4===flush)&&0===ret&&(ret=-5),ret)},exports.inflateEnd=function inflateEnd(strm){if(!strm||!strm.state)return-2;var state=strm.state;return state.window&&(state.window=null),strm.state=null,0},exports.inflateGetHeader=function inflateGetHeader(strm,head){var state;return strm&&strm.state?0==(2&(state=strm.state).wrap)?-2:(state.head=head,head.done=!1,0):-2},exports.inflateSetDictionary=function inflateSetDictionary(strm,dictionary){var state,dictLength=dictionary.length;return strm&&strm.state?0!==(state=strm.state).wrap&&11!==state.mode?-2:11===state.mode&&adler32(1,dictionary,dictLength,0)!==state.check?-3:updatewindow(strm,dictionary,dictLength,dictLength)?(state.mode=31,-4):(state.havedict=1,0):-2},exports.inflateInfo="pako inflate (from Nodeca project)"},9241:function(module,__unused_webpack_exports,__webpack_require__){var utils=__webpack_require__(24236),lbase=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],lext=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],dbase=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],dext=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];module.exports=function inflate_table(type,lens,lens_index,codes,table,table_index,work,opts){var incr,fill,low,mask,next,end,here_bits,here_op,here_val,bits=opts.bits,len=0,sym=0,min=0,max=0,root=0,curr=0,drop=0,left=0,used=0,huff=0,base=null,base_index=0,count=new utils.Buf16(16),offs=new utils.Buf16(16),extra=null,extra_index=0;for(len=0;len<=15;len++)count[len]=0;for(sym=0;sym<codes;sym++)count[lens[lens_index+sym]]++;for(root=bits,max=15;max>=1&&0===count[max];max--);if(root>max&&(root=max),0===max)return table[table_index++]=20971520,table[table_index++]=20971520,opts.bits=1,0;for(min=1;min<max&&0===count[min];min++);for(root<min&&(root=min),left=1,len=1;len<=15;len++)if(left<<=1,(left-=count[len])<0)return-1;if(left>0&&(0===type||1!==max))return-1;for(offs[1]=0,len=1;len<15;len++)offs[len+1]=offs[len]+count[len];for(sym=0;sym<codes;sym++)0!==lens[lens_index+sym]&&(work[offs[lens[lens_index+sym]]++]=sym);if(0===type?(base=extra=work,end=19):1===type?(base=lbase,base_index-=257,extra=lext,extra_index-=257,end=256):(base=dbase,extra=dext,end=-1),huff=0,sym=0,len=min,next=table_index,curr=root,drop=0,low=-1,mask=(used=1<<root)-1,1===type&&used>852||2===type&&used>592)return 1;for(;;){here_bits=len-drop,work[sym]<end?(here_op=0,here_val=work[sym]):work[sym]>end?(here_op=extra[extra_index+work[sym]],here_val=base[base_index+work[sym]]):(here_op=96,here_val=0),incr=1<<len-drop,min=fill=1<<curr;do{table[next+(huff>>drop)+(fill-=incr)]=here_bits<<24|here_op<<16|here_val|0}while(0!==fill);for(incr=1<<len-1;huff&incr;)incr>>=1;if(0!==incr?(huff&=incr-1,huff+=incr):huff=0,sym++,0==--count[len]){if(len===max)break;len=lens[lens_index+work[sym]]}if(len>root&&(huff&mask)!==low){for(0===drop&&(drop=root),next+=min,left=1<<(curr=len-drop);curr+drop<max&&!((left-=count[curr+drop])<=0);)curr++,left<<=1;if(used+=1<<curr,1===type&&used>852||2===type&&used>592)return 1;table[low=huff&mask]=root<<24|curr<<16|next-table_index|0}}return 0!==huff&&(table[next+huff]=len-drop<<24|64<<16|0),opts.bits=root,0}},48898:function(module){module.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},10342:function(__unused_webpack_module,exports,__webpack_require__){var utils=__webpack_require__(24236);function zero(buf){for(var len=buf.length;--len>=0;)buf[len]=0}var extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],static_ltree=new Array(576);zero(static_ltree);var static_dtree=new Array(60);zero(static_dtree);var _dist_code=new Array(512);zero(_dist_code);var _length_code=new Array(256);zero(_length_code);var base_length=new Array(29);zero(base_length);var static_l_desc,static_d_desc,static_bl_desc,base_dist=new Array(30);function StaticTreeDesc(static_tree,extra_bits,extra_base,elems,max_length){this.static_tree=static_tree,this.extra_bits=extra_bits,this.extra_base=extra_base,this.elems=elems,this.max_length=max_length,this.has_stree=static_tree&&static_tree.length}function TreeDesc(dyn_tree,stat_desc){this.dyn_tree=dyn_tree,this.max_code=0,this.stat_desc=stat_desc}function d_code(dist){return dist<256?_dist_code[dist]:_dist_code[256+(dist>>>7)]}function put_short(s,w){s.pending_buf[s.pending++]=255&w,s.pending_buf[s.pending++]=w>>>8&255}function send_bits(s,value,length){s.bi_valid>16-length?(s.bi_buf|=value<<s.bi_valid&65535,put_short(s,s.bi_buf),s.bi_buf=value>>16-s.bi_valid,s.bi_valid+=length-16):(s.bi_buf|=value<<s.bi_valid&65535,s.bi_valid+=length)}function send_code(s,c,tree){send_bits(s,tree[2*c],tree[2*c+1])}function bi_reverse(code,len){var res=0;do{res|=1&code,code>>>=1,res<<=1}while(--len>0);return res>>>1}function gen_codes(tree,max_code,bl_count){var bits,n,next_code=new Array(16),code=0;for(bits=1;bits<=15;bits++)next_code[bits]=code=code+bl_count[bits-1]<<1;for(n=0;n<=max_code;n++){var len=tree[2*n+1];0!==len&&(tree[2*n]=bi_reverse(next_code[len]++,len))}}function init_block(s){var n;for(n=0;n<286;n++)s.dyn_ltree[2*n]=0;for(n=0;n<30;n++)s.dyn_dtree[2*n]=0;for(n=0;n<19;n++)s.bl_tree[2*n]=0;s.dyn_ltree[512]=1,s.opt_len=s.static_len=0,s.last_lit=s.matches=0}function bi_windup(s){s.bi_valid>8?put_short(s,s.bi_buf):s.bi_valid>0&&(s.pending_buf[s.pending++]=s.bi_buf),s.bi_buf=0,s.bi_valid=0}function smaller(tree,n,m,depth){var _n2=2*n,_m2=2*m;return tree[_n2]<tree[_m2]||tree[_n2]===tree[_m2]&&depth[n]<=depth[m]}function pqdownheap(s,tree,k){for(var v=s.heap[k],j=k<<1;j<=s.heap_len&&(j<s.heap_len&&smaller(tree,s.heap[j+1],s.heap[j],s.depth)&&j++,!smaller(tree,v,s.heap[j],s.depth));)s.heap[k]=s.heap[j],k=j,j<<=1;s.heap[k]=v}function compress_block(s,ltree,dtree){var dist,lc,code,extra,lx=0;if(0!==s.last_lit)do{dist=s.pending_buf[s.d_buf+2*lx]<<8|s.pending_buf[s.d_buf+2*lx+1],lc=s.pending_buf[s.l_buf+lx],lx++,0===dist?send_code(s,lc,ltree):(send_code(s,(code=_length_code[lc])+256+1,ltree),0!==(extra=extra_lbits[code])&&send_bits(s,lc-=base_length[code],extra),send_code(s,code=d_code(--dist),dtree),0!==(extra=extra_dbits[code])&&send_bits(s,dist-=base_dist[code],extra))}while(lx<s.last_lit);send_code(s,256,ltree)}function build_tree(s,desc){var n,m,node,tree=desc.dyn_tree,stree=desc.stat_desc.static_tree,has_stree=desc.stat_desc.has_stree,elems=desc.stat_desc.elems,max_code=-1;for(s.heap_len=0,s.heap_max=573,n=0;n<elems;n++)0!==tree[2*n]?(s.heap[++s.heap_len]=max_code=n,s.depth[n]=0):tree[2*n+1]=0;for(;s.heap_len<2;)tree[2*(node=s.heap[++s.heap_len]=max_code<2?++max_code:0)]=1,s.depth[node]=0,s.opt_len--,has_stree&&(s.static_len-=stree[2*node+1]);for(desc.max_code=max_code,n=s.heap_len>>1;n>=1;n--)pqdownheap(s,tree,n);node=elems;do{n=s.heap[1],s.heap[1]=s.heap[s.heap_len--],pqdownheap(s,tree,1),m=s.heap[1],s.heap[--s.heap_max]=n,s.heap[--s.heap_max]=m,tree[2*node]=tree[2*n]+tree[2*m],s.depth[node]=(s.depth[n]>=s.depth[m]?s.depth[n]:s.depth[m])+1,tree[2*n+1]=tree[2*m+1]=node,s.heap[1]=node++,pqdownheap(s,tree,1)}while(s.heap_len>=2);s.heap[--s.heap_max]=s.heap[1],function gen_bitlen(s,desc){var h,n,m,bits,xbits,f,tree=desc.dyn_tree,max_code=desc.max_code,stree=desc.stat_desc.static_tree,has_stree=desc.stat_desc.has_stree,extra=desc.stat_desc.extra_bits,base=desc.stat_desc.extra_base,max_length=desc.stat_desc.max_length,overflow=0;for(bits=0;bits<=15;bits++)s.bl_count[bits]=0;for(tree[2*s.heap[s.heap_max]+1]=0,h=s.heap_max+1;h<573;h++)(bits=tree[2*tree[2*(n=s.heap[h])+1]+1]+1)>max_length&&(bits=max_length,overflow++),tree[2*n+1]=bits,n>max_code||(s.bl_count[bits]++,xbits=0,n>=base&&(xbits=extra[n-base]),f=tree[2*n],s.opt_len+=f*(bits+xbits),has_stree&&(s.static_len+=f*(stree[2*n+1]+xbits)));if(0!==overflow){do{for(bits=max_length-1;0===s.bl_count[bits];)bits--;s.bl_count[bits]--,s.bl_count[bits+1]+=2,s.bl_count[max_length]--,overflow-=2}while(overflow>0);for(bits=max_length;0!==bits;bits--)for(n=s.bl_count[bits];0!==n;)(m=s.heap[--h])>max_code||(tree[2*m+1]!==bits&&(s.opt_len+=(bits-tree[2*m+1])*tree[2*m],tree[2*m+1]=bits),n--)}}(s,desc),gen_codes(tree,max_code,s.bl_count)}function scan_tree(s,tree,max_code){var n,curlen,prevlen=-1,nextlen=tree[1],count=0,max_count=7,min_count=4;for(0===nextlen&&(max_count=138,min_count=3),tree[2*(max_code+1)+1]=65535,n=0;n<=max_code;n++)curlen=nextlen,nextlen=tree[2*(n+1)+1],++count<max_count&&curlen===nextlen||(count<min_count?s.bl_tree[2*curlen]+=count:0!==curlen?(curlen!==prevlen&&s.bl_tree[2*curlen]++,s.bl_tree[32]++):count<=10?s.bl_tree[34]++:s.bl_tree[36]++,count=0,prevlen=curlen,0===nextlen?(max_count=138,min_count=3):curlen===nextlen?(max_count=6,min_count=3):(max_count=7,min_count=4))}function send_tree(s,tree,max_code){var n,curlen,prevlen=-1,nextlen=tree[1],count=0,max_count=7,min_count=4;for(0===nextlen&&(max_count=138,min_count=3),n=0;n<=max_code;n++)if(curlen=nextlen,nextlen=tree[2*(n+1)+1],!(++count<max_count&&curlen===nextlen)){if(count<min_count)do{send_code(s,curlen,s.bl_tree)}while(0!=--count);else 0!==curlen?(curlen!==prevlen&&(send_code(s,curlen,s.bl_tree),count--),send_code(s,16,s.bl_tree),send_bits(s,count-3,2)):count<=10?(send_code(s,17,s.bl_tree),send_bits(s,count-3,3)):(send_code(s,18,s.bl_tree),send_bits(s,count-11,7));count=0,prevlen=curlen,0===nextlen?(max_count=138,min_count=3):curlen===nextlen?(max_count=6,min_count=3):(max_count=7,min_count=4)}}zero(base_dist);var static_init_done=!1;function _tr_stored_block(s,buf,stored_len,last){send_bits(s,0+(last?1:0),3),function copy_block(s,buf,len,header){bi_windup(s),header&&(put_short(s,len),put_short(s,~len)),utils.arraySet(s.pending_buf,s.window,buf,len,s.pending),s.pending+=len}(s,buf,stored_len,!0)}exports._tr_init=function _tr_init(s){static_init_done||(!function tr_static_init(){var n,bits,length,code,dist,bl_count=new Array(16);for(length=0,code=0;code<28;code++)for(base_length[code]=length,n=0;n<1<<extra_lbits[code];n++)_length_code[length++]=code;for(_length_code[length-1]=code,dist=0,code=0;code<16;code++)for(base_dist[code]=dist,n=0;n<1<<extra_dbits[code];n++)_dist_code[dist++]=code;for(dist>>=7;code<30;code++)for(base_dist[code]=dist<<7,n=0;n<1<<extra_dbits[code]-7;n++)_dist_code[256+dist++]=code;for(bits=0;bits<=15;bits++)bl_count[bits]=0;for(n=0;n<=143;)static_ltree[2*n+1]=8,n++,bl_count[8]++;for(;n<=255;)static_ltree[2*n+1]=9,n++,bl_count[9]++;for(;n<=279;)static_ltree[2*n+1]=7,n++,bl_count[7]++;for(;n<=287;)static_ltree[2*n+1]=8,n++,bl_count[8]++;for(gen_codes(static_ltree,287,bl_count),n=0;n<30;n++)static_dtree[2*n+1]=5,static_dtree[2*n]=bi_reverse(n,5);static_l_desc=new StaticTreeDesc(static_ltree,extra_lbits,257,286,15),static_d_desc=new StaticTreeDesc(static_dtree,extra_dbits,0,30,15),static_bl_desc=new StaticTreeDesc(new Array(0),extra_blbits,0,19,7)}(),static_init_done=!0),s.l_desc=new TreeDesc(s.dyn_ltree,static_l_desc),s.d_desc=new TreeDesc(s.dyn_dtree,static_d_desc),s.bl_desc=new TreeDesc(s.bl_tree,static_bl_desc),s.bi_buf=0,s.bi_valid=0,init_block(s)},exports._tr_stored_block=_tr_stored_block,exports._tr_flush_block=function _tr_flush_block(s,buf,stored_len,last){var opt_lenb,static_lenb,max_blindex=0;s.level>0?(2===s.strm.data_type&&(s.strm.data_type=function detect_data_type(s){var n,black_mask=4093624447;for(n=0;n<=31;n++,black_mask>>>=1)if(1&black_mask&&0!==s.dyn_ltree[2*n])return 0;if(0!==s.dyn_ltree[18]||0!==s.dyn_ltree[20]||0!==s.dyn_ltree[26])return 1;for(n=32;n<256;n++)if(0!==s.dyn_ltree[2*n])return 1;return 0}(s)),build_tree(s,s.l_desc),build_tree(s,s.d_desc),max_blindex=function build_bl_tree(s){var max_blindex;for(scan_tree(s,s.dyn_ltree,s.l_desc.max_code),scan_tree(s,s.dyn_dtree,s.d_desc.max_code),build_tree(s,s.bl_desc),max_blindex=18;max_blindex>=3&&0===s.bl_tree[2*bl_order[max_blindex]+1];max_blindex--);return s.opt_len+=3*(max_blindex+1)+5+5+4,max_blindex}(s),opt_lenb=s.opt_len+3+7>>>3,(static_lenb=s.static_len+3+7>>>3)<=opt_lenb&&(opt_lenb=static_lenb)):opt_lenb=static_lenb=stored_len+5,stored_len+4<=opt_lenb&&-1!==buf?_tr_stored_block(s,buf,stored_len,last):4===s.strategy||static_lenb===opt_lenb?(send_bits(s,2+(last?1:0),3),compress_block(s,static_ltree,static_dtree)):(send_bits(s,4+(last?1:0),3),function send_all_trees(s,lcodes,dcodes,blcodes){var rank;for(send_bits(s,lcodes-257,5),send_bits(s,dcodes-1,5),send_bits(s,blcodes-4,4),rank=0;rank<blcodes;rank++)send_bits(s,s.bl_tree[2*bl_order[rank]+1],3);send_tree(s,s.dyn_ltree,lcodes-1),send_tree(s,s.dyn_dtree,dcodes-1)}(s,s.l_desc.max_code+1,s.d_desc.max_code+1,max_blindex+1),compress_block(s,s.dyn_ltree,s.dyn_dtree)),init_block(s),last&&bi_windup(s)},exports._tr_tally=function _tr_tally(s,dist,lc){return s.pending_buf[s.d_buf+2*s.last_lit]=dist>>>8&255,s.pending_buf[s.d_buf+2*s.last_lit+1]=255&dist,s.pending_buf[s.l_buf+s.last_lit]=255&lc,s.last_lit++,0===dist?s.dyn_ltree[2*lc]++:(s.matches++,dist--,s.dyn_ltree[2*(_length_code[lc]+256+1)]++,s.dyn_dtree[2*d_code(dist)]++),s.last_lit===s.lit_bufsize-1},exports._tr_align=function _tr_align(s){send_bits(s,2,3),send_code(s,256,static_ltree),function bi_flush(s){16===s.bi_valid?(put_short(s,s.bi_buf),s.bi_buf=0,s.bi_valid=0):s.bi_valid>=8&&(s.pending_buf[s.pending++]=255&s.bi_buf,s.bi_buf>>=8,s.bi_valid-=8)}(s)}},62292:function(module){module.exports=function ZStream(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},52818:function(__unused_webpack_module,exports,__webpack_require__){var asn1=__webpack_require__(39809);exports.certificate=__webpack_require__(41934);var RSAPrivateKey=asn1.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));exports.RSAPrivateKey=RSAPrivateKey;var RSAPublicKey=asn1.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));exports.RSAPublicKey=RSAPublicKey;var PublicKey=asn1.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(AlgorithmIdentifier),this.key("subjectPublicKey").bitstr())}));exports.PublicKey=PublicKey;var AlgorithmIdentifier=asn1.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),PrivateKeyInfo=asn1.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(AlgorithmIdentifier),this.key("subjectPrivateKey").octstr())}));exports.PrivateKey=PrivateKeyInfo;var EncryptedPrivateKeyInfo=asn1.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));exports.EncryptedPrivateKey=EncryptedPrivateKeyInfo;var DSAPrivateKey=asn1.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));exports.DSAPrivateKey=DSAPrivateKey,exports.DSAparam=asn1.define("DSAparam",(function(){this.int()}));var ECPrivateKey=asn1.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(ECParameters),this.key("publicKey").optional().explicit(1).bitstr())}));exports.ECPrivateKey=ECPrivateKey;var ECParameters=asn1.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));exports.signature=asn1.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},41934:function(module,__unused_webpack_exports,__webpack_require__){var asn=__webpack_require__(39809),Time=asn.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),AttributeTypeValue=asn.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),AlgorithmIdentifier=asn.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),SubjectPublicKeyInfo=asn.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(AlgorithmIdentifier),this.key("subjectPublicKey").bitstr())})),RelativeDistinguishedName=asn.define("RelativeDistinguishedName",(function(){this.setof(AttributeTypeValue)})),RDNSequence=asn.define("RDNSequence",(function(){this.seqof(RelativeDistinguishedName)})),Name=asn.define("Name",(function(){this.choice({rdnSequence:this.use(RDNSequence)})})),Validity=asn.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(Time),this.key("notAfter").use(Time))})),Extension=asn.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),TBSCertificate=asn.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(AlgorithmIdentifier),this.key("issuer").use(Name),this.key("validity").use(Validity),this.key("subject").use(Name),this.key("subjectPublicKeyInfo").use(SubjectPublicKeyInfo),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(Extension).optional())})),X509Certificate=asn.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(TBSCertificate),this.key("signatureAlgorithm").use(AlgorithmIdentifier),this.key("signatureValue").bitstr())}));module.exports=X509Certificate},77631:function(module,__unused_webpack_exports,__webpack_require__){var findProc=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,startRegex=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,fullRegex=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,evp=__webpack_require__(13048),ciphers=__webpack_require__(44696),Buffer=__webpack_require__(89509).Buffer;module.exports=function(okey,password){var decrypted,key=okey.toString(),match=key.match(findProc);if(match){var suite="aes"+match[1],iv=Buffer.from(match[2],"hex"),cipherText=Buffer.from(match[3].replace(/[\r\n]/g,""),"base64"),cipherKey=evp(password,iv.slice(0,8),parseInt(match[1],10)).key,out=[],cipher=ciphers.createDecipheriv(suite,cipherKey,iv);out.push(cipher.update(cipherText)),out.push(cipher.final()),decrypted=Buffer.concat(out)}else{var match2=key.match(fullRegex);decrypted=Buffer.from(match2[2].replace(/[\r\n]/g,""),"base64")}return{tag:key.match(startRegex)[1],data:decrypted}}},70980:function(module,__unused_webpack_exports,__webpack_require__){var asn1=__webpack_require__(52818),aesid=__webpack_require__(22562),fixProc=__webpack_require__(77631),ciphers=__webpack_require__(44696),compat=__webpack_require__(25632),Buffer=__webpack_require__(89509).Buffer;function parseKeys(buffer){var password;"object"!=typeof buffer||Buffer.isBuffer(buffer)||(password=buffer.passphrase,buffer=buffer.key),"string"==typeof buffer&&(buffer=Buffer.from(buffer));var subtype,ndata,stripped=fixProc(buffer,password),type=stripped.tag,data=stripped.data;switch(type){case"CERTIFICATE":ndata=asn1.certificate.decode(data,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(ndata||(ndata=asn1.PublicKey.decode(data,"der")),subtype=ndata.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return asn1.RSAPublicKey.decode(ndata.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return ndata.subjectPrivateKey=ndata.subjectPublicKey,{type:"ec",data:ndata};case"1.2.840.10040.4.1":return ndata.algorithm.params.pub_key=asn1.DSAparam.decode(ndata.subjectPublicKey.data,"der"),{type:"dsa",data:ndata.algorithm.params};default:throw new Error("unknown key id "+subtype)}case"ENCRYPTED PRIVATE KEY":data=function decrypt(data,password){var salt=data.algorithm.decrypt.kde.kdeparams.salt,iters=parseInt(data.algorithm.decrypt.kde.kdeparams.iters.toString(),10),algo=aesid[data.algorithm.decrypt.cipher.algo.join(".")],iv=data.algorithm.decrypt.cipher.iv,cipherText=data.subjectPrivateKey,keylen=parseInt(algo.split("-")[1],10)/8,key=compat.pbkdf2Sync(password,salt,iters,keylen,"sha1"),cipher=ciphers.createDecipheriv(algo,key,iv),out=[];return out.push(cipher.update(cipherText)),out.push(cipher.final()),Buffer.concat(out)}(data=asn1.EncryptedPrivateKey.decode(data,"der"),password);case"PRIVATE KEY":switch(subtype=(ndata=asn1.PrivateKey.decode(data,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return asn1.RSAPrivateKey.decode(ndata.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:ndata.algorithm.curve,privateKey:asn1.ECPrivateKey.decode(ndata.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return ndata.algorithm.params.priv_key=asn1.DSAparam.decode(ndata.subjectPrivateKey,"der"),{type:"dsa",params:ndata.algorithm.params};default:throw new Error("unknown key id "+subtype)}case"RSA PUBLIC KEY":return asn1.RSAPublicKey.decode(data,"der");case"RSA PRIVATE KEY":return asn1.RSAPrivateKey.decode(data,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:asn1.DSAPrivateKey.decode(data,"der")};case"EC PRIVATE KEY":return{curve:(data=asn1.ECPrivateKey.decode(data,"der")).parameters.value,privateKey:data.privateKey};default:throw new Error("unknown key type "+type)}}module.exports=parseKeys,parseKeys.signature=asn1.signature},31515:function(__unused_webpack_module,exports,__webpack_require__){const{DOCUMENT_MODE:DOCUMENT_MODE}=__webpack_require__(16152),QUIRKS_MODE_PUBLIC_ID_PREFIXES=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES=QUIRKS_MODE_PUBLIC_ID_PREFIXES.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),QUIRKS_MODE_PUBLIC_IDS=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],LIMITED_QUIRKS_PUBLIC_ID_PREFIXES=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES=LIMITED_QUIRKS_PUBLIC_ID_PREFIXES.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function enquoteDoctypeId(id){const quote=-1!==id.indexOf('"')?"'":'"';return quote+id+quote}function hasPrefix(publicId,prefixes){for(let i=0;i<prefixes.length;i++)if(0===publicId.indexOf(prefixes[i]))return!0;return!1}exports.isConforming=function(token){return"html"===token.name&&null===token.publicId&&(null===token.systemId||"about:legacy-compat"===token.systemId)},exports.getDocumentMode=function(token){if("html"!==token.name)return DOCUMENT_MODE.QUIRKS;const systemId=token.systemId;if(systemId&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===systemId.toLowerCase())return DOCUMENT_MODE.QUIRKS;let publicId=token.publicId;if(null!==publicId){if(publicId=publicId.toLowerCase(),QUIRKS_MODE_PUBLIC_IDS.indexOf(publicId)>-1)return DOCUMENT_MODE.QUIRKS;let prefixes=null===systemId?QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES:QUIRKS_MODE_PUBLIC_ID_PREFIXES;if(hasPrefix(publicId,prefixes))return DOCUMENT_MODE.QUIRKS;if(prefixes=null===systemId?LIMITED_QUIRKS_PUBLIC_ID_PREFIXES:LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES,hasPrefix(publicId,prefixes))return DOCUMENT_MODE.LIMITED_QUIRKS}return DOCUMENT_MODE.NO_QUIRKS},exports.serializeContent=function(name,publicId,systemId){let str="!DOCTYPE ";return name&&(str+=name),publicId?str+=" PUBLIC "+enquoteDoctypeId(publicId):systemId&&(str+=" SYSTEM"),null!==systemId&&(str+=" "+enquoteDoctypeId(systemId)),str}},41734:function(module){module.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}},88779:function(__unused_webpack_module,exports,__webpack_require__){const Tokenizer=__webpack_require__(55763),HTML=__webpack_require__(16152),$=HTML.TAG_NAMES,NS=HTML.NAMESPACES,ATTRS=HTML.ATTRS,MIME_TYPES_TEXT_HTML="text/html",MIME_TYPES_APPLICATION_XML="application/xhtml+xml",SVG_ATTRS_ADJUSTMENT_MAP={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},XML_ATTRS_ADJUSTMENT_MAP={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:NS.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:NS.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:NS.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:NS.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:NS.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:NS.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:NS.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:NS.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:NS.XML},"xml:space":{prefix:"xml",name:"space",namespace:NS.XML},xmlns:{prefix:"",name:"xmlns",namespace:NS.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:NS.XMLNS}},SVG_TAG_NAMES_ADJUSTMENT_MAP=exports.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},EXITS_FOREIGN_CONTENT={[$.B]:!0,[$.BIG]:!0,[$.BLOCKQUOTE]:!0,[$.BODY]:!0,[$.BR]:!0,[$.CENTER]:!0,[$.CODE]:!0,[$.DD]:!0,[$.DIV]:!0,[$.DL]:!0,[$.DT]:!0,[$.EM]:!0,[$.EMBED]:!0,[$.H1]:!0,[$.H2]:!0,[$.H3]:!0,[$.H4]:!0,[$.H5]:!0,[$.H6]:!0,[$.HEAD]:!0,[$.HR]:!0,[$.I]:!0,[$.IMG]:!0,[$.LI]:!0,[$.LISTING]:!0,[$.MENU]:!0,[$.META]:!0,[$.NOBR]:!0,[$.OL]:!0,[$.P]:!0,[$.PRE]:!0,[$.RUBY]:!0,[$.S]:!0,[$.SMALL]:!0,[$.SPAN]:!0,[$.STRONG]:!0,[$.STRIKE]:!0,[$.SUB]:!0,[$.SUP]:!0,[$.TABLE]:!0,[$.TT]:!0,[$.U]:!0,[$.UL]:!0,[$.VAR]:!0};exports.causesExit=function(startTagToken){const tn=startTagToken.tagName;return!!(tn===$.FONT&&(null!==Tokenizer.getTokenAttr(startTagToken,ATTRS.COLOR)||null!==Tokenizer.getTokenAttr(startTagToken,ATTRS.SIZE)||null!==Tokenizer.getTokenAttr(startTagToken,ATTRS.FACE)))||EXITS_FOREIGN_CONTENT[tn]},exports.adjustTokenMathMLAttrs=function(token){for(let i=0;i<token.attrs.length;i++)if("definitionurl"===token.attrs[i].name){token.attrs[i].name="definitionURL";break}},exports.adjustTokenSVGAttrs=function(token){for(let i=0;i<token.attrs.length;i++){const adjustedAttrName=SVG_ATTRS_ADJUSTMENT_MAP[token.attrs[i].name];adjustedAttrName&&(token.attrs[i].name=adjustedAttrName)}},exports.adjustTokenXMLAttrs=function(token){for(let i=0;i<token.attrs.length;i++){const adjustedAttrEntry=XML_ATTRS_ADJUSTMENT_MAP[token.attrs[i].name];adjustedAttrEntry&&(token.attrs[i].prefix=adjustedAttrEntry.prefix,token.attrs[i].name=adjustedAttrEntry.name,token.attrs[i].namespace=adjustedAttrEntry.namespace)}},exports.adjustTokenSVGTagName=function(token){const adjustedTagName=SVG_TAG_NAMES_ADJUSTMENT_MAP[token.tagName];adjustedTagName&&(token.tagName=adjustedTagName)},exports.isIntegrationPoint=function(tn,ns,attrs,foreignNS){return!(foreignNS&&foreignNS!==NS.HTML||!function isHtmlIntegrationPoint(tn,ns,attrs){if(ns===NS.MATHML&&tn===$.ANNOTATION_XML)for(let i=0;i<attrs.length;i++)if(attrs[i].name===ATTRS.ENCODING){const value=attrs[i].value.toLowerCase();return value===MIME_TYPES_TEXT_HTML||value===MIME_TYPES_APPLICATION_XML}return ns===NS.SVG&&(tn===$.FOREIGN_OBJECT||tn===$.DESC||tn===$.TITLE)}(tn,ns,attrs))||!(foreignNS&&foreignNS!==NS.MATHML||!function isMathMLTextIntegrationPoint(tn,ns){return ns===NS.MATHML&&(tn===$.MI||tn===$.MO||tn===$.MN||tn===$.MS||tn===$.MTEXT)}(tn,ns))}},16152:function(__unused_webpack_module,exports){const NS=exports.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};exports.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},exports.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const $=exports.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};exports.SPECIAL_ELEMENTS={[NS.HTML]:{[$.ADDRESS]:!0,[$.APPLET]:!0,[$.AREA]:!0,[$.ARTICLE]:!0,[$.ASIDE]:!0,[$.BASE]:!0,[$.BASEFONT]:!0,[$.BGSOUND]:!0,[$.BLOCKQUOTE]:!0,[$.BODY]:!0,[$.BR]:!0,[$.BUTTON]:!0,[$.CAPTION]:!0,[$.CENTER]:!0,[$.COL]:!0,[$.COLGROUP]:!0,[$.DD]:!0,[$.DETAILS]:!0,[$.DIR]:!0,[$.DIV]:!0,[$.DL]:!0,[$.DT]:!0,[$.EMBED]:!0,[$.FIELDSET]:!0,[$.FIGCAPTION]:!0,[$.FIGURE]:!0,[$.FOOTER]:!0,[$.FORM]:!0,[$.FRAME]:!0,[$.FRAMESET]:!0,[$.H1]:!0,[$.H2]:!0,[$.H3]:!0,[$.H4]:!0,[$.H5]:!0,[$.H6]:!0,[$.HEAD]:!0,[$.HEADER]:!0,[$.HGROUP]:!0,[$.HR]:!0,[$.HTML]:!0,[$.IFRAME]:!0,[$.IMG]:!0,[$.INPUT]:!0,[$.LI]:!0,[$.LINK]:!0,[$.LISTING]:!0,[$.MAIN]:!0,[$.MARQUEE]:!0,[$.MENU]:!0,[$.META]:!0,[$.NAV]:!0,[$.NOEMBED]:!0,[$.NOFRAMES]:!0,[$.NOSCRIPT]:!0,[$.OBJECT]:!0,[$.OL]:!0,[$.P]:!0,[$.PARAM]:!0,[$.PLAINTEXT]:!0,[$.PRE]:!0,[$.SCRIPT]:!0,[$.SECTION]:!0,[$.SELECT]:!0,[$.SOURCE]:!0,[$.STYLE]:!0,[$.SUMMARY]:!0,[$.TABLE]:!0,[$.TBODY]:!0,[$.TD]:!0,[$.TEMPLATE]:!0,[$.TEXTAREA]:!0,[$.TFOOT]:!0,[$.TH]:!0,[$.THEAD]:!0,[$.TITLE]:!0,[$.TR]:!0,[$.TRACK]:!0,[$.UL]:!0,[$.WBR]:!0,[$.XMP]:!0},[NS.MATHML]:{[$.MI]:!0,[$.MO]:!0,[$.MN]:!0,[$.MS]:!0,[$.MTEXT]:!0,[$.ANNOTATION_XML]:!0},[NS.SVG]:{[$.TITLE]:!0,[$.FOREIGN_OBJECT]:!0,[$.DESC]:!0}}},54284:function(__unused_webpack_module,exports){const UNDEFINED_CODE_POINTS=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];exports.REPLACEMENT_CHARACTER="�",exports.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533},exports.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]},exports.isSurrogate=function(cp){return cp>=55296&&cp<=57343},exports.isSurrogatePair=function(cp){return cp>=56320&&cp<=57343},exports.getSurrogatePairCodePoint=function(cp1,cp2){return 1024*(cp1-55296)+9216+cp2},exports.isControlCodePoint=function(cp){return 32!==cp&&10!==cp&&13!==cp&&9!==cp&&12!==cp&&cp>=1&&cp<=31||cp>=127&&cp<=159},exports.isUndefinedCodePoint=function(cp){return cp>=64976&&cp<=65007||UNDEFINED_CODE_POINTS.indexOf(cp)>-1}},23843:function(module,__unused_webpack_exports,__webpack_require__){const Mixin=__webpack_require__(81704);module.exports=class ErrorReportingMixinBase extends Mixin{constructor(host,opts){super(host),this.posTracker=null,this.onParseError=opts.onParseError}_setErrorLocation(err){err.startLine=err.endLine=this.posTracker.line,err.startCol=err.endCol=this.posTracker.col,err.startOffset=err.endOffset=this.posTracker.offset}_reportError(code){const err={code:code,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(err),this.onParseError(err)}_getOverriddenMethods(mxn){return{_err(code){mxn._reportError(code)}}}}},22232:function(module,__unused_webpack_exports,__webpack_require__){const ErrorReportingMixinBase=__webpack_require__(23843),ErrorReportingTokenizerMixin=__webpack_require__(70050),LocationInfoTokenizerMixin=__webpack_require__(46110),Mixin=__webpack_require__(81704);module.exports=class ErrorReportingParserMixin extends ErrorReportingMixinBase{constructor(parser,opts){super(parser,opts),this.opts=opts,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(err){this.ctLoc&&(err.startLine=this.ctLoc.startLine,err.startCol=this.ctLoc.startCol,err.startOffset=this.ctLoc.startOffset,err.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,err.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,err.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(mxn,orig){return{_bootstrap(document,fragmentContext){orig._bootstrap.call(this,document,fragmentContext),Mixin.install(this.tokenizer,ErrorReportingTokenizerMixin,mxn.opts),Mixin.install(this.tokenizer,LocationInfoTokenizerMixin)},_processInputToken(token){mxn.ctLoc=token.location,orig._processInputToken.call(this,token)},_err(code,options){mxn.locBeforeToken=options&&options.beforeToken,mxn._reportError(code)}}}}},23288:function(module,__unused_webpack_exports,__webpack_require__){const ErrorReportingMixinBase=__webpack_require__(23843),PositionTrackingPreprocessorMixin=__webpack_require__(57930),Mixin=__webpack_require__(81704);module.exports=class ErrorReportingPreprocessorMixin extends ErrorReportingMixinBase{constructor(preprocessor,opts){super(preprocessor,opts),this.posTracker=Mixin.install(preprocessor,PositionTrackingPreprocessorMixin),this.lastErrOffset=-1}_reportError(code){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(code))}}},70050:function(module,__unused_webpack_exports,__webpack_require__){const ErrorReportingMixinBase=__webpack_require__(23843),ErrorReportingPreprocessorMixin=__webpack_require__(23288),Mixin=__webpack_require__(81704);module.exports=class ErrorReportingTokenizerMixin extends ErrorReportingMixinBase{constructor(tokenizer,opts){super(tokenizer,opts);const preprocessorMixin=Mixin.install(tokenizer.preprocessor,ErrorReportingPreprocessorMixin,opts);this.posTracker=preprocessorMixin.posTracker}}},11077:function(module,__unused_webpack_exports,__webpack_require__){const Mixin=__webpack_require__(81704);module.exports=class LocationInfoOpenElementStackMixin extends Mixin{constructor(stack,opts){super(stack),this.onItemPop=opts.onItemPop}_getOverriddenMethods(mxn,orig){return{pop(){mxn.onItemPop(this.current),orig.pop.call(this)},popAllUpToHtmlElement(){for(let i=this.stackTop;i>0;i--)mxn.onItemPop(this.items[i]);orig.popAllUpToHtmlElement.call(this)},remove(element){mxn.onItemPop(this.current),orig.remove.call(this,element)}}}}},452:function(module,__unused_webpack_exports,__webpack_require__){const Mixin=__webpack_require__(81704),Tokenizer=__webpack_require__(55763),LocationInfoTokenizerMixin=__webpack_require__(46110),LocationInfoOpenElementStackMixin=__webpack_require__(11077),$=__webpack_require__(16152).TAG_NAMES;module.exports=class LocationInfoParserMixin extends Mixin{constructor(parser){super(parser),this.parser=parser,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(element){let loc=null;this.lastStartTagToken&&(loc=Object.assign({},this.lastStartTagToken.location),loc.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(element,loc)}_setEndLocation(element,closingToken){if(this.treeAdapter.getNodeSourceCodeLocation(element)&&closingToken.location){const ctLoc=closingToken.location,tn=this.treeAdapter.getTagName(element),endLoc={};closingToken.type===Tokenizer.END_TAG_TOKEN&&tn===closingToken.tagName?(endLoc.endTag=Object.assign({},ctLoc),endLoc.endLine=ctLoc.endLine,endLoc.endCol=ctLoc.endCol,endLoc.endOffset=ctLoc.endOffset):(endLoc.endLine=ctLoc.startLine,endLoc.endCol=ctLoc.startCol,endLoc.endOffset=ctLoc.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(element,endLoc)}}_getOverriddenMethods(mxn,orig){return{_bootstrap(document,fragmentContext){orig._bootstrap.call(this,document,fragmentContext),mxn.lastStartTagToken=null,mxn.lastFosterParentingLocation=null,mxn.currentToken=null;const tokenizerMixin=Mixin.install(this.tokenizer,LocationInfoTokenizerMixin);mxn.posTracker=tokenizerMixin.posTracker,Mixin.install(this.openElements,LocationInfoOpenElementStackMixin,{onItemPop:function(element){mxn._setEndLocation(element,mxn.currentToken)}})},_runParsingLoop(scriptHandler){orig._runParsingLoop.call(this,scriptHandler);for(let i=this.openElements.stackTop;i>=0;i--)mxn._setEndLocation(this.openElements.items[i],mxn.currentToken)},_processTokenInForeignContent(token){mxn.currentToken=token,orig._processTokenInForeignContent.call(this,token)},_processToken(token){mxn.currentToken=token,orig._processToken.call(this,token);if(token.type===Tokenizer.END_TAG_TOKEN&&(token.tagName===$.HTML||token.tagName===$.BODY&&this.openElements.hasInScope($.BODY)))for(let i=this.openElements.stackTop;i>=0;i--){const element=this.openElements.items[i];if(this.treeAdapter.getTagName(element)===token.tagName){mxn._setEndLocation(element,token);break}}},_setDocumentType(token){orig._setDocumentType.call(this,token);const documentChildren=this.treeAdapter.getChildNodes(this.document),cnLength=documentChildren.length;for(let i=0;i<cnLength;i++){const node=documentChildren[i];if(this.treeAdapter.isDocumentTypeNode(node)){this.treeAdapter.setNodeSourceCodeLocation(node,token.location);break}}},_attachElementToTree(element){mxn._setStartLocation(element),mxn.lastStartTagToken=null,orig._attachElementToTree.call(this,element)},_appendElement(token,namespaceURI){mxn.lastStartTagToken=token,orig._appendElement.call(this,token,namespaceURI)},_insertElement(token,namespaceURI){mxn.lastStartTagToken=token,orig._insertElement.call(this,token,namespaceURI)},_insertTemplate(token){mxn.lastStartTagToken=token,orig._insertTemplate.call(this,token);const tmplContent=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(tmplContent,null)},_insertFakeRootElement(){orig._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode(token,parent){orig._appendCommentNode.call(this,token,parent);const children=this.treeAdapter.getChildNodes(parent),commentNode=children[children.length-1];this.treeAdapter.setNodeSourceCodeLocation(commentNode,token.location)},_findFosterParentingLocation(){return mxn.lastFosterParentingLocation=orig._findFosterParentingLocation.call(this),mxn.lastFosterParentingLocation},_insertCharacters(token){orig._insertCharacters.call(this,token);const hasFosterParent=this._shouldFosterParentOnInsertion(),parent=hasFosterParent&&mxn.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,siblings=this.treeAdapter.getChildNodes(parent),textNodeIdx=hasFosterParent&&mxn.lastFosterParentingLocation.beforeElement?siblings.indexOf(mxn.lastFosterParentingLocation.beforeElement)-1:siblings.length-1,textNode=siblings[textNodeIdx];if(this.treeAdapter.getNodeSourceCodeLocation(textNode)){const{endLine:endLine,endCol:endCol,endOffset:endOffset}=token.location;this.treeAdapter.updateNodeSourceCodeLocation(textNode,{endLine:endLine,endCol:endCol,endOffset:endOffset})}else this.treeAdapter.setNodeSourceCodeLocation(textNode,token.location)}}}}},46110:function(module,__unused_webpack_exports,__webpack_require__){const Mixin=__webpack_require__(81704),Tokenizer=__webpack_require__(55763),PositionTrackingPreprocessorMixin=__webpack_require__(57930);module.exports=class LocationInfoTokenizerMixin extends Mixin{constructor(tokenizer){super(tokenizer),this.tokenizer=tokenizer,this.posTracker=Mixin.install(tokenizer.preprocessor,PositionTrackingPreprocessorMixin),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const currentToken=this.tokenizer.currentToken,currentAttr=this.tokenizer.currentAttr;currentToken.location.attrs||(currentToken.location.attrs=Object.create(null)),currentToken.location.attrs[currentAttr.name]=this.currentAttrLocation}_getOverriddenMethods(mxn,orig){const methods={_createStartTagToken(){orig._createStartTagToken.call(this),this.currentToken.location=mxn.ctLoc},_createEndTagToken(){orig._createEndTagToken.call(this),this.currentToken.location=mxn.ctLoc},_createCommentToken(){orig._createCommentToken.call(this),this.currentToken.location=mxn.ctLoc},_createDoctypeToken(initialName){orig._createDoctypeToken.call(this,initialName),this.currentToken.location=mxn.ctLoc},_createCharacterToken(type,ch){orig._createCharacterToken.call(this,type,ch),this.currentCharacterToken.location=mxn.ctLoc},_createEOFToken(){orig._createEOFToken.call(this),this.currentToken.location=mxn._getCurrentLocation()},_createAttr(attrNameFirstCh){orig._createAttr.call(this,attrNameFirstCh),mxn.currentAttrLocation=mxn._getCurrentLocation()},_leaveAttrName(toState){orig._leaveAttrName.call(this,toState),mxn._attachCurrentAttrLocationInfo()},_leaveAttrValue(toState){orig._leaveAttrValue.call(this,toState),mxn._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const ctLoc=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=ctLoc.startLine,this.currentCharacterToken.location.endCol=ctLoc.startCol,this.currentCharacterToken.location.endOffset=ctLoc.startOffset),this.currentToken.type===Tokenizer.EOF_TOKEN?(ctLoc.endLine=ctLoc.startLine,ctLoc.endCol=ctLoc.startCol,ctLoc.endOffset=ctLoc.startOffset):(ctLoc.endLine=mxn.posTracker.line,ctLoc.endCol=mxn.posTracker.col+1,ctLoc.endOffset=mxn.posTracker.offset+1),orig._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const ctLoc=this.currentCharacterToken&&this.currentCharacterToken.location;ctLoc&&-1===ctLoc.endOffset&&(ctLoc.endLine=mxn.posTracker.line,ctLoc.endCol=mxn.posTracker.col,ctLoc.endOffset=mxn.posTracker.offset),orig._emitCurrentCharacterToken.call(this)}};return Object.keys(Tokenizer.MODE).forEach((modeName=>{const state=Tokenizer.MODE[modeName];methods[state]=function(cp){mxn.ctLoc=mxn._getCurrentLocation(),orig[state].call(this,cp)}})),methods}}},57930:function(module,__unused_webpack_exports,__webpack_require__){const Mixin=__webpack_require__(81704);module.exports=class PositionTrackingPreprocessorMixin extends Mixin{constructor(preprocessor){super(preprocessor),this.preprocessor=preprocessor,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(mxn,orig){return{advance(){const pos=this.pos+1,ch=this.html[pos];return mxn.isEol&&(mxn.isEol=!1,mxn.line++,mxn.lineStartPos=pos),("\n"===ch||"\r"===ch&&"\n"!==this.html[pos+1])&&(mxn.isEol=!0),mxn.col=pos-mxn.lineStartPos+1,mxn.offset=mxn.droppedBufferSize+pos,orig.advance.call(this)},retreat(){orig.retreat.call(this),mxn.isEol=!1,mxn.col=this.pos-mxn.lineStartPos+1},dropParsedChunk(){const prevPos=this.pos;orig.dropParsedChunk.call(this);const reduction=prevPos-this.pos;mxn.lineStartPos-=reduction,mxn.droppedBufferSize+=reduction,mxn.offset=mxn.droppedBufferSize+this.pos}}}}},42394:function(__unused_webpack_module,exports,__webpack_require__){const Parser=__webpack_require__(7045),Serializer=__webpack_require__(83988);exports.parse=function parse(html,options){return new Parser(options).parse(html)},exports.parseFragment=function parseFragment(fragmentContext,html,options){"string"==typeof fragmentContext&&(options=html,html=fragmentContext,fragmentContext=null);return new Parser(options).parseFragment(html,fragmentContext)},exports.serialize=function(node,options){return new Serializer(node,options).serialize()}},12484:function(module){class FormattingElementList{constructor(treeAdapter){this.length=0,this.entries=[],this.treeAdapter=treeAdapter,this.bookmark=null}_getNoahArkConditionCandidates(newElement){const candidates=[];if(this.length>=3){const neAttrsLength=this.treeAdapter.getAttrList(newElement).length,neTagName=this.treeAdapter.getTagName(newElement),neNamespaceURI=this.treeAdapter.getNamespaceURI(newElement);for(let i=this.length-1;i>=0;i--){const entry=this.entries[i];if(entry.type===FormattingElementList.MARKER_ENTRY)break;const element=entry.element,elementAttrs=this.treeAdapter.getAttrList(element);this.treeAdapter.getTagName(element)===neTagName&&this.treeAdapter.getNamespaceURI(element)===neNamespaceURI&&elementAttrs.length===neAttrsLength&&candidates.push({idx:i,attrs:elementAttrs})}}return candidates.length<3?[]:candidates}_ensureNoahArkCondition(newElement){const candidates=this._getNoahArkConditionCandidates(newElement);let cLength=candidates.length;if(cLength){const neAttrs=this.treeAdapter.getAttrList(newElement),neAttrsLength=neAttrs.length,neAttrsMap=Object.create(null);for(let i=0;i<neAttrsLength;i++){const neAttr=neAttrs[i];neAttrsMap[neAttr.name]=neAttr.value}for(let i=0;i<neAttrsLength;i++)for(let j=0;j<cLength;j++){const cAttr=candidates[j].attrs[i];if(neAttrsMap[cAttr.name]!==cAttr.value&&(candidates.splice(j,1),cLength--),candidates.length<3)return}for(let i=cLength-1;i>=2;i--)this.entries.splice(candidates[i].idx,1),this.length--}}insertMarker(){this.entries.push({type:FormattingElementList.MARKER_ENTRY}),this.length++}pushElement(element,token){this._ensureNoahArkCondition(element),this.entries.push({type:FormattingElementList.ELEMENT_ENTRY,element:element,token:token}),this.length++}insertElementAfterBookmark(element,token){let bookmarkIdx=this.length-1;for(;bookmarkIdx>=0&&this.entries[bookmarkIdx]!==this.bookmark;bookmarkIdx--);this.entries.splice(bookmarkIdx+1,0,{type:FormattingElementList.ELEMENT_ENTRY,element:element,token:token}),this.length++}removeEntry(entry){for(let i=this.length-1;i>=0;i--)if(this.entries[i]===entry){this.entries.splice(i,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const entry=this.entries.pop();if(this.length--,entry.type===FormattingElementList.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(tagName){for(let i=this.length-1;i>=0;i--){const entry=this.entries[i];if(entry.type===FormattingElementList.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(entry.element)===tagName)return entry}return null}getElementEntry(element){for(let i=this.length-1;i>=0;i--){const entry=this.entries[i];if(entry.type===FormattingElementList.ELEMENT_ENTRY&&entry.element===element)return entry}return null}}FormattingElementList.MARKER_ENTRY="MARKER_ENTRY",FormattingElementList.ELEMENT_ENTRY="ELEMENT_ENTRY",module.exports=FormattingElementList},7045:function(module,__unused_webpack_exports,__webpack_require__){const Tokenizer=__webpack_require__(55763),OpenElementStack=__webpack_require__(46519),FormattingElementList=__webpack_require__(12484),LocationInfoParserMixin=__webpack_require__(452),ErrorReportingParserMixin=__webpack_require__(22232),Mixin=__webpack_require__(81704),defaultTreeAdapter=__webpack_require__(17296),mergeOptions=__webpack_require__(8904),doctype=__webpack_require__(31515),foreignContent=__webpack_require__(88779),ERR=__webpack_require__(41734),unicode=__webpack_require__(54284),HTML=__webpack_require__(16152),$=HTML.TAG_NAMES,NS=HTML.NAMESPACES,ATTRS=HTML.ATTRS,DEFAULT_OPTIONS={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:defaultTreeAdapter},IN_TABLE_MODE="IN_TABLE_MODE",INSERTION_MODE_RESET_MAP={[$.TR]:"IN_ROW_MODE",[$.TBODY]:"IN_TABLE_BODY_MODE",[$.THEAD]:"IN_TABLE_BODY_MODE",[$.TFOOT]:"IN_TABLE_BODY_MODE",[$.CAPTION]:"IN_CAPTION_MODE",[$.COLGROUP]:"IN_COLUMN_GROUP_MODE",[$.TABLE]:IN_TABLE_MODE,[$.BODY]:"IN_BODY_MODE",[$.FRAMESET]:"IN_FRAMESET_MODE"},TEMPLATE_INSERTION_MODE_SWITCH_MAP={[$.CAPTION]:IN_TABLE_MODE,[$.COLGROUP]:IN_TABLE_MODE,[$.TBODY]:IN_TABLE_MODE,[$.TFOOT]:IN_TABLE_MODE,[$.THEAD]:IN_TABLE_MODE,[$.COL]:"IN_COLUMN_GROUP_MODE",[$.TR]:"IN_TABLE_BODY_MODE",[$.TD]:"IN_ROW_MODE",[$.TH]:"IN_ROW_MODE"},TOKEN_HANDLERS={INITIAL_MODE:{[Tokenizer.CHARACTER_TOKEN]:tokenInInitialMode,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenInInitialMode,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:function doctypeInInitialMode(p,token){p._setDocumentType(token);const mode=token.forceQuirks?HTML.DOCUMENT_MODE.QUIRKS:doctype.getDocumentMode(token);doctype.isConforming(token)||p._err(ERR.nonConformingDoctype);p.treeAdapter.setDocumentMode(p.document,mode),p.insertionMode="BEFORE_HTML_MODE"},[Tokenizer.START_TAG_TOKEN]:tokenInInitialMode,[Tokenizer.END_TAG_TOKEN]:tokenInInitialMode,[Tokenizer.EOF_TOKEN]:tokenInInitialMode},BEFORE_HTML_MODE:{[Tokenizer.CHARACTER_TOKEN]:tokenBeforeHtml,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenBeforeHtml,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:function startTagBeforeHtml(p,token){token.tagName===$.HTML?(p._insertElement(token,NS.HTML),p.insertionMode="BEFORE_HEAD_MODE"):tokenBeforeHtml(p,token)},[Tokenizer.END_TAG_TOKEN]:function endTagBeforeHtml(p,token){const tn=token.tagName;tn!==$.HTML&&tn!==$.HEAD&&tn!==$.BODY&&tn!==$.BR||tokenBeforeHtml(p,token)},[Tokenizer.EOF_TOKEN]:tokenBeforeHtml},BEFORE_HEAD_MODE:{[Tokenizer.CHARACTER_TOKEN]:tokenBeforeHead,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenBeforeHead,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:misplacedDoctype,[Tokenizer.START_TAG_TOKEN]:function startTagBeforeHead(p,token){const tn=token.tagName;tn===$.HTML?startTagInBody(p,token):tn===$.HEAD?(p._insertElement(token,NS.HTML),p.headElement=p.openElements.current,p.insertionMode="IN_HEAD_MODE"):tokenBeforeHead(p,token)},[Tokenizer.END_TAG_TOKEN]:function endTagBeforeHead(p,token){const tn=token.tagName;tn===$.HEAD||tn===$.BODY||tn===$.HTML||tn===$.BR?tokenBeforeHead(p,token):p._err(ERR.endTagWithoutMatchingOpenElement)},[Tokenizer.EOF_TOKEN]:tokenBeforeHead},IN_HEAD_MODE:{[Tokenizer.CHARACTER_TOKEN]:tokenInHead,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenInHead,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:misplacedDoctype,[Tokenizer.START_TAG_TOKEN]:startTagInHead,[Tokenizer.END_TAG_TOKEN]:endTagInHead,[Tokenizer.EOF_TOKEN]:tokenInHead},IN_HEAD_NO_SCRIPT_MODE:{[Tokenizer.CHARACTER_TOKEN]:tokenInHeadNoScript,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenInHeadNoScript,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:misplacedDoctype,[Tokenizer.START_TAG_TOKEN]:function startTagInHeadNoScript(p,token){const tn=token.tagName;tn===$.HTML?startTagInBody(p,token):tn===$.BASEFONT||tn===$.BGSOUND||tn===$.HEAD||tn===$.LINK||tn===$.META||tn===$.NOFRAMES||tn===$.STYLE?startTagInHead(p,token):tn===$.NOSCRIPT?p._err(ERR.nestedNoscriptInHead):tokenInHeadNoScript(p,token)},[Tokenizer.END_TAG_TOKEN]:function endTagInHeadNoScript(p,token){const tn=token.tagName;tn===$.NOSCRIPT?(p.openElements.pop(),p.insertionMode="IN_HEAD_MODE"):tn===$.BR?tokenInHeadNoScript(p,token):p._err(ERR.endTagWithoutMatchingOpenElement)},[Tokenizer.EOF_TOKEN]:tokenInHeadNoScript},AFTER_HEAD_MODE:{[Tokenizer.CHARACTER_TOKEN]:tokenAfterHead,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenAfterHead,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:misplacedDoctype,[Tokenizer.START_TAG_TOKEN]:function startTagAfterHead(p,token){const tn=token.tagName;tn===$.HTML?startTagInBody(p,token):tn===$.BODY?(p._insertElement(token,NS.HTML),p.framesetOk=!1,p.insertionMode="IN_BODY_MODE"):tn===$.FRAMESET?(p._insertElement(token,NS.HTML),p.insertionMode="IN_FRAMESET_MODE"):tn===$.BASE||tn===$.BASEFONT||tn===$.BGSOUND||tn===$.LINK||tn===$.META||tn===$.NOFRAMES||tn===$.SCRIPT||tn===$.STYLE||tn===$.TEMPLATE||tn===$.TITLE?(p._err(ERR.abandonedHeadElementChild),p.openElements.push(p.headElement),startTagInHead(p,token),p.openElements.remove(p.headElement)):tn===$.HEAD?p._err(ERR.misplacedStartTagForHeadElement):tokenAfterHead(p,token)},[Tokenizer.END_TAG_TOKEN]:function endTagAfterHead(p,token){const tn=token.tagName;tn===$.BODY||tn===$.HTML||tn===$.BR?tokenAfterHead(p,token):tn===$.TEMPLATE?endTagInHead(p,token):p._err(ERR.endTagWithoutMatchingOpenElement)},[Tokenizer.EOF_TOKEN]:tokenAfterHead},IN_BODY_MODE:{[Tokenizer.CHARACTER_TOKEN]:characterInBody,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInBody,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagInBody,[Tokenizer.END_TAG_TOKEN]:endTagInBody,[Tokenizer.EOF_TOKEN]:eofInBody},TEXT_MODE:{[Tokenizer.CHARACTER_TOKEN]:insertCharacters,[Tokenizer.NULL_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:ignoreToken,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:ignoreToken,[Tokenizer.END_TAG_TOKEN]:function endTagInText(p,token){token.tagName===$.SCRIPT&&(p.pendingScript=p.openElements.current);p.openElements.pop(),p.insertionMode=p.originalInsertionMode},[Tokenizer.EOF_TOKEN]:function eofInText(p,token){p._err(ERR.eofInElementThatCanContainOnlyText),p.openElements.pop(),p.insertionMode=p.originalInsertionMode,p._processToken(token)}},[IN_TABLE_MODE]:{[Tokenizer.CHARACTER_TOKEN]:characterInTable,[Tokenizer.NULL_CHARACTER_TOKEN]:characterInTable,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:characterInTable,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagInTable,[Tokenizer.END_TAG_TOKEN]:endTagInTable,[Tokenizer.EOF_TOKEN]:eofInBody},IN_TABLE_TEXT_MODE:{[Tokenizer.CHARACTER_TOKEN]:function characterInTableText(p,token){p.pendingCharacterTokens.push(token),p.hasNonWhitespacePendingCharacterToken=!0},[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:function whitespaceCharacterInTableText(p,token){p.pendingCharacterTokens.push(token)},[Tokenizer.COMMENT_TOKEN]:tokenInTableText,[Tokenizer.DOCTYPE_TOKEN]:tokenInTableText,[Tokenizer.START_TAG_TOKEN]:tokenInTableText,[Tokenizer.END_TAG_TOKEN]:tokenInTableText,[Tokenizer.EOF_TOKEN]:tokenInTableText},IN_CAPTION_MODE:{[Tokenizer.CHARACTER_TOKEN]:characterInBody,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInBody,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:function startTagInCaption(p,token){const tn=token.tagName;tn===$.CAPTION||tn===$.COL||tn===$.COLGROUP||tn===$.TBODY||tn===$.TD||tn===$.TFOOT||tn===$.TH||tn===$.THEAD||tn===$.TR?p.openElements.hasInTableScope($.CAPTION)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped($.CAPTION),p.activeFormattingElements.clearToLastMarker(),p.insertionMode=IN_TABLE_MODE,p._processToken(token)):startTagInBody(p,token)},[Tokenizer.END_TAG_TOKEN]:function endTagInCaption(p,token){const tn=token.tagName;tn===$.CAPTION||tn===$.TABLE?p.openElements.hasInTableScope($.CAPTION)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped($.CAPTION),p.activeFormattingElements.clearToLastMarker(),p.insertionMode=IN_TABLE_MODE,tn===$.TABLE&&p._processToken(token)):tn!==$.BODY&&tn!==$.COL&&tn!==$.COLGROUP&&tn!==$.HTML&&tn!==$.TBODY&&tn!==$.TD&&tn!==$.TFOOT&&tn!==$.TH&&tn!==$.THEAD&&tn!==$.TR&&endTagInBody(p,token)},[Tokenizer.EOF_TOKEN]:eofInBody},IN_COLUMN_GROUP_MODE:{[Tokenizer.CHARACTER_TOKEN]:tokenInColumnGroup,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenInColumnGroup,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:function startTagInColumnGroup(p,token){const tn=token.tagName;tn===$.HTML?startTagInBody(p,token):tn===$.COL?(p._appendElement(token,NS.HTML),token.ackSelfClosing=!0):tn===$.TEMPLATE?startTagInHead(p,token):tokenInColumnGroup(p,token)},[Tokenizer.END_TAG_TOKEN]:function endTagInColumnGroup(p,token){const tn=token.tagName;tn===$.COLGROUP?p.openElements.currentTagName===$.COLGROUP&&(p.openElements.pop(),p.insertionMode=IN_TABLE_MODE):tn===$.TEMPLATE?endTagInHead(p,token):tn!==$.COL&&tokenInColumnGroup(p,token)},[Tokenizer.EOF_TOKEN]:eofInBody},IN_TABLE_BODY_MODE:{[Tokenizer.CHARACTER_TOKEN]:characterInTable,[Tokenizer.NULL_CHARACTER_TOKEN]:characterInTable,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:characterInTable,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:function startTagInTableBody(p,token){const tn=token.tagName;tn===$.TR?(p.openElements.clearBackToTableBodyContext(),p._insertElement(token,NS.HTML),p.insertionMode="IN_ROW_MODE"):tn===$.TH||tn===$.TD?(p.openElements.clearBackToTableBodyContext(),p._insertFakeElement($.TR),p.insertionMode="IN_ROW_MODE",p._processToken(token)):tn===$.CAPTION||tn===$.COL||tn===$.COLGROUP||tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD?p.openElements.hasTableBodyContextInTableScope()&&(p.openElements.clearBackToTableBodyContext(),p.openElements.pop(),p.insertionMode=IN_TABLE_MODE,p._processToken(token)):startTagInTable(p,token)},[Tokenizer.END_TAG_TOKEN]:function endTagInTableBody(p,token){const tn=token.tagName;tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD?p.openElements.hasInTableScope(tn)&&(p.openElements.clearBackToTableBodyContext(),p.openElements.pop(),p.insertionMode=IN_TABLE_MODE):tn===$.TABLE?p.openElements.hasTableBodyContextInTableScope()&&(p.openElements.clearBackToTableBodyContext(),p.openElements.pop(),p.insertionMode=IN_TABLE_MODE,p._processToken(token)):(tn!==$.BODY&&tn!==$.CAPTION&&tn!==$.COL&&tn!==$.COLGROUP||tn!==$.HTML&&tn!==$.TD&&tn!==$.TH&&tn!==$.TR)&&endTagInTable(p,token)},[Tokenizer.EOF_TOKEN]:eofInBody},IN_ROW_MODE:{[Tokenizer.CHARACTER_TOKEN]:characterInTable,[Tokenizer.NULL_CHARACTER_TOKEN]:characterInTable,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:characterInTable,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:function startTagInRow(p,token){const tn=token.tagName;tn===$.TH||tn===$.TD?(p.openElements.clearBackToTableRowContext(),p._insertElement(token,NS.HTML),p.insertionMode="IN_CELL_MODE",p.activeFormattingElements.insertMarker()):tn===$.CAPTION||tn===$.COL||tn===$.COLGROUP||tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD||tn===$.TR?p.openElements.hasInTableScope($.TR)&&(p.openElements.clearBackToTableRowContext(),p.openElements.pop(),p.insertionMode="IN_TABLE_BODY_MODE",p._processToken(token)):startTagInTable(p,token)},[Tokenizer.END_TAG_TOKEN]:function endTagInRow(p,token){const tn=token.tagName;tn===$.TR?p.openElements.hasInTableScope($.TR)&&(p.openElements.clearBackToTableRowContext(),p.openElements.pop(),p.insertionMode="IN_TABLE_BODY_MODE"):tn===$.TABLE?p.openElements.hasInTableScope($.TR)&&(p.openElements.clearBackToTableRowContext(),p.openElements.pop(),p.insertionMode="IN_TABLE_BODY_MODE",p._processToken(token)):tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD?(p.openElements.hasInTableScope(tn)||p.openElements.hasInTableScope($.TR))&&(p.openElements.clearBackToTableRowContext(),p.openElements.pop(),p.insertionMode="IN_TABLE_BODY_MODE",p._processToken(token)):(tn!==$.BODY&&tn!==$.CAPTION&&tn!==$.COL&&tn!==$.COLGROUP||tn!==$.HTML&&tn!==$.TD&&tn!==$.TH)&&endTagInTable(p,token)},[Tokenizer.EOF_TOKEN]:eofInBody},IN_CELL_MODE:{[Tokenizer.CHARACTER_TOKEN]:characterInBody,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInBody,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:function startTagInCell(p,token){const tn=token.tagName;tn===$.CAPTION||tn===$.COL||tn===$.COLGROUP||tn===$.TBODY||tn===$.TD||tn===$.TFOOT||tn===$.TH||tn===$.THEAD||tn===$.TR?(p.openElements.hasInTableScope($.TD)||p.openElements.hasInTableScope($.TH))&&(p._closeTableCell(),p._processToken(token)):startTagInBody(p,token)},[Tokenizer.END_TAG_TOKEN]:function endTagInCell(p,token){const tn=token.tagName;tn===$.TD||tn===$.TH?p.openElements.hasInTableScope(tn)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped(tn),p.activeFormattingElements.clearToLastMarker(),p.insertionMode="IN_ROW_MODE"):tn===$.TABLE||tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD||tn===$.TR?p.openElements.hasInTableScope(tn)&&(p._closeTableCell(),p._processToken(token)):tn!==$.BODY&&tn!==$.CAPTION&&tn!==$.COL&&tn!==$.COLGROUP&&tn!==$.HTML&&endTagInBody(p,token)},[Tokenizer.EOF_TOKEN]:eofInBody},IN_SELECT_MODE:{[Tokenizer.CHARACTER_TOKEN]:insertCharacters,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagInSelect,[Tokenizer.END_TAG_TOKEN]:endTagInSelect,[Tokenizer.EOF_TOKEN]:eofInBody},IN_SELECT_IN_TABLE_MODE:{[Tokenizer.CHARACTER_TOKEN]:insertCharacters,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:function startTagInSelectInTable(p,token){const tn=token.tagName;tn===$.CAPTION||tn===$.TABLE||tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD||tn===$.TR||tn===$.TD||tn===$.TH?(p.openElements.popUntilTagNamePopped($.SELECT),p._resetInsertionMode(),p._processToken(token)):startTagInSelect(p,token)},[Tokenizer.END_TAG_TOKEN]:function endTagInSelectInTable(p,token){const tn=token.tagName;tn===$.CAPTION||tn===$.TABLE||tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD||tn===$.TR||tn===$.TD||tn===$.TH?p.openElements.hasInTableScope(tn)&&(p.openElements.popUntilTagNamePopped($.SELECT),p._resetInsertionMode(),p._processToken(token)):endTagInSelect(p,token)},[Tokenizer.EOF_TOKEN]:eofInBody},IN_TEMPLATE_MODE:{[Tokenizer.CHARACTER_TOKEN]:characterInBody,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInBody,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:function startTagInTemplate(p,token){const tn=token.tagName;if(tn===$.BASE||tn===$.BASEFONT||tn===$.BGSOUND||tn===$.LINK||tn===$.META||tn===$.NOFRAMES||tn===$.SCRIPT||tn===$.STYLE||tn===$.TEMPLATE||tn===$.TITLE)startTagInHead(p,token);else{const newInsertionMode=TEMPLATE_INSERTION_MODE_SWITCH_MAP[tn]||"IN_BODY_MODE";p._popTmplInsertionMode(),p._pushTmplInsertionMode(newInsertionMode),p.insertionMode=newInsertionMode,p._processToken(token)}},[Tokenizer.END_TAG_TOKEN]:function endTagInTemplate(p,token){token.tagName===$.TEMPLATE&&endTagInHead(p,token)},[Tokenizer.EOF_TOKEN]:eofInTemplate},AFTER_BODY_MODE:{[Tokenizer.CHARACTER_TOKEN]:tokenAfterBody,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenAfterBody,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInBody,[Tokenizer.COMMENT_TOKEN]:function appendCommentToRootHtmlElement(p,token){p._appendCommentNode(token,p.openElements.items[0])},[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:function startTagAfterBody(p,token){token.tagName===$.HTML?startTagInBody(p,token):tokenAfterBody(p,token)},[Tokenizer.END_TAG_TOKEN]:function endTagAfterBody(p,token){token.tagName===$.HTML?p.fragmentContext||(p.insertionMode="AFTER_AFTER_BODY_MODE"):tokenAfterBody(p,token)},[Tokenizer.EOF_TOKEN]:stopParsing},IN_FRAMESET_MODE:{[Tokenizer.CHARACTER_TOKEN]:ignoreToken,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:function startTagInFrameset(p,token){const tn=token.tagName;tn===$.HTML?startTagInBody(p,token):tn===$.FRAMESET?p._insertElement(token,NS.HTML):tn===$.FRAME?(p._appendElement(token,NS.HTML),token.ackSelfClosing=!0):tn===$.NOFRAMES&&startTagInHead(p,token)},[Tokenizer.END_TAG_TOKEN]:function endTagInFrameset(p,token){token.tagName!==$.FRAMESET||p.openElements.isRootHtmlElementCurrent()||(p.openElements.pop(),p.fragmentContext||p.openElements.currentTagName===$.FRAMESET||(p.insertionMode="AFTER_FRAMESET_MODE"))},[Tokenizer.EOF_TOKEN]:stopParsing},AFTER_FRAMESET_MODE:{[Tokenizer.CHARACTER_TOKEN]:ignoreToken,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:function startTagAfterFrameset(p,token){const tn=token.tagName;tn===$.HTML?startTagInBody(p,token):tn===$.NOFRAMES&&startTagInHead(p,token)},[Tokenizer.END_TAG_TOKEN]:function endTagAfterFrameset(p,token){token.tagName===$.HTML&&(p.insertionMode="AFTER_AFTER_FRAMESET_MODE")},[Tokenizer.EOF_TOKEN]:stopParsing},AFTER_AFTER_BODY_MODE:{[Tokenizer.CHARACTER_TOKEN]:tokenAfterAfterBody,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenAfterAfterBody,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInBody,[Tokenizer.COMMENT_TOKEN]:appendCommentToDocument,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:function startTagAfterAfterBody(p,token){token.tagName===$.HTML?startTagInBody(p,token):tokenAfterAfterBody(p,token)},[Tokenizer.END_TAG_TOKEN]:tokenAfterAfterBody,[Tokenizer.EOF_TOKEN]:stopParsing},AFTER_AFTER_FRAMESET_MODE:{[Tokenizer.CHARACTER_TOKEN]:ignoreToken,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInBody,[Tokenizer.COMMENT_TOKEN]:appendCommentToDocument,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:function startTagAfterAfterFrameset(p,token){const tn=token.tagName;tn===$.HTML?startTagInBody(p,token):tn===$.NOFRAMES&&startTagInHead(p,token)},[Tokenizer.END_TAG_TOKEN]:ignoreToken,[Tokenizer.EOF_TOKEN]:stopParsing}};function aaObtainFormattingElementEntry(p,token){let formattingElementEntry=p.activeFormattingElements.getElementEntryInScopeWithTagName(token.tagName);return formattingElementEntry?p.openElements.contains(formattingElementEntry.element)?p.openElements.hasInScope(token.tagName)||(formattingElementEntry=null):(p.activeFormattingElements.removeEntry(formattingElementEntry),formattingElementEntry=null):genericEndTagInBody(p,token),formattingElementEntry}function aaObtainFurthestBlock(p,formattingElementEntry){let furthestBlock=null;for(let i=p.openElements.stackTop;i>=0;i--){const element=p.openElements.items[i];if(element===formattingElementEntry.element)break;p._isSpecialElement(element)&&(furthestBlock=element)}return furthestBlock||(p.openElements.popUntilElementPopped(formattingElementEntry.element),p.activeFormattingElements.removeEntry(formattingElementEntry)),furthestBlock}function aaInnerLoop(p,furthestBlock,formattingElement){let lastElement=furthestBlock,nextElement=p.openElements.getCommonAncestor(furthestBlock);for(let i=0,element=nextElement;element!==formattingElement;i++,element=nextElement){nextElement=p.openElements.getCommonAncestor(element);const elementEntry=p.activeFormattingElements.getElementEntry(element),counterOverflow=elementEntry&&i>=3;!elementEntry||counterOverflow?(counterOverflow&&p.activeFormattingElements.removeEntry(elementEntry),p.openElements.remove(element)):(element=aaRecreateElementFromEntry(p,elementEntry),lastElement===furthestBlock&&(p.activeFormattingElements.bookmark=elementEntry),p.treeAdapter.detachNode(lastElement),p.treeAdapter.appendChild(element,lastElement),lastElement=element)}return lastElement}function aaRecreateElementFromEntry(p,elementEntry){const ns=p.treeAdapter.getNamespaceURI(elementEntry.element),newElement=p.treeAdapter.createElement(elementEntry.token.tagName,ns,elementEntry.token.attrs);return p.openElements.replace(elementEntry.element,newElement),elementEntry.element=newElement,newElement}function aaInsertLastNodeInCommonAncestor(p,commonAncestor,lastElement){if(p._isElementCausesFosterParenting(commonAncestor))p._fosterParentElement(lastElement);else{const tn=p.treeAdapter.getTagName(commonAncestor),ns=p.treeAdapter.getNamespaceURI(commonAncestor);tn===$.TEMPLATE&&ns===NS.HTML&&(commonAncestor=p.treeAdapter.getTemplateContent(commonAncestor)),p.treeAdapter.appendChild(commonAncestor,lastElement)}}function aaReplaceFormattingElement(p,furthestBlock,formattingElementEntry){const ns=p.treeAdapter.getNamespaceURI(formattingElementEntry.element),token=formattingElementEntry.token,newElement=p.treeAdapter.createElement(token.tagName,ns,token.attrs);p._adoptNodes(furthestBlock,newElement),p.treeAdapter.appendChild(furthestBlock,newElement),p.activeFormattingElements.insertElementAfterBookmark(newElement,formattingElementEntry.token),p.activeFormattingElements.removeEntry(formattingElementEntry),p.openElements.remove(formattingElementEntry.element),p.openElements.insertAfter(furthestBlock,newElement)}function callAdoptionAgency(p,token){let formattingElementEntry;for(let i=0;i<8&&(formattingElementEntry=aaObtainFormattingElementEntry(p,token),formattingElementEntry);i++){const furthestBlock=aaObtainFurthestBlock(p,formattingElementEntry);if(!furthestBlock)break;p.activeFormattingElements.bookmark=formattingElementEntry;const lastElement=aaInnerLoop(p,furthestBlock,formattingElementEntry.element),commonAncestor=p.openElements.getCommonAncestor(formattingElementEntry.element);p.treeAdapter.detachNode(lastElement),aaInsertLastNodeInCommonAncestor(p,commonAncestor,lastElement),aaReplaceFormattingElement(p,furthestBlock,formattingElementEntry)}}function ignoreToken(){}function misplacedDoctype(p){p._err(ERR.misplacedDoctype)}function appendComment(p,token){p._appendCommentNode(token,p.openElements.currentTmplContent||p.openElements.current)}function appendCommentToDocument(p,token){p._appendCommentNode(token,p.document)}function insertCharacters(p,token){p._insertCharacters(token)}function stopParsing(p){p.stopped=!0}function tokenInInitialMode(p,token){p._err(ERR.missingDoctype,{beforeToken:!0}),p.treeAdapter.setDocumentMode(p.document,HTML.DOCUMENT_MODE.QUIRKS),p.insertionMode="BEFORE_HTML_MODE",p._processToken(token)}function tokenBeforeHtml(p,token){p._insertFakeRootElement(),p.insertionMode="BEFORE_HEAD_MODE",p._processToken(token)}function tokenBeforeHead(p,token){p._insertFakeElement($.HEAD),p.headElement=p.openElements.current,p.insertionMode="IN_HEAD_MODE",p._processToken(token)}function startTagInHead(p,token){const tn=token.tagName;tn===$.HTML?startTagInBody(p,token):tn===$.BASE||tn===$.BASEFONT||tn===$.BGSOUND||tn===$.LINK||tn===$.META?(p._appendElement(token,NS.HTML),token.ackSelfClosing=!0):tn===$.TITLE?p._switchToTextParsing(token,Tokenizer.MODE.RCDATA):tn===$.NOSCRIPT?p.options.scriptingEnabled?p._switchToTextParsing(token,Tokenizer.MODE.RAWTEXT):(p._insertElement(token,NS.HTML),p.insertionMode="IN_HEAD_NO_SCRIPT_MODE"):tn===$.NOFRAMES||tn===$.STYLE?p._switchToTextParsing(token,Tokenizer.MODE.RAWTEXT):tn===$.SCRIPT?p._switchToTextParsing(token,Tokenizer.MODE.SCRIPT_DATA):tn===$.TEMPLATE?(p._insertTemplate(token,NS.HTML),p.activeFormattingElements.insertMarker(),p.framesetOk=!1,p.insertionMode="IN_TEMPLATE_MODE",p._pushTmplInsertionMode("IN_TEMPLATE_MODE")):tn===$.HEAD?p._err(ERR.misplacedStartTagForHeadElement):tokenInHead(p,token)}function endTagInHead(p,token){const tn=token.tagName;tn===$.HEAD?(p.openElements.pop(),p.insertionMode="AFTER_HEAD_MODE"):tn===$.BODY||tn===$.BR||tn===$.HTML?tokenInHead(p,token):tn===$.TEMPLATE&&p.openElements.tmplCount>0?(p.openElements.generateImpliedEndTagsThoroughly(),p.openElements.currentTagName!==$.TEMPLATE&&p._err(ERR.closingOfElementWithOpenChildElements),p.openElements.popUntilTagNamePopped($.TEMPLATE),p.activeFormattingElements.clearToLastMarker(),p._popTmplInsertionMode(),p._resetInsertionMode()):p._err(ERR.endTagWithoutMatchingOpenElement)}function tokenInHead(p,token){p.openElements.pop(),p.insertionMode="AFTER_HEAD_MODE",p._processToken(token)}function tokenInHeadNoScript(p,token){const errCode=token.type===Tokenizer.EOF_TOKEN?ERR.openElementsLeftAfterEof:ERR.disallowedContentInNoscriptInHead;p._err(errCode),p.openElements.pop(),p.insertionMode="IN_HEAD_MODE",p._processToken(token)}function tokenAfterHead(p,token){p._insertFakeElement($.BODY),p.insertionMode="IN_BODY_MODE",p._processToken(token)}function whitespaceCharacterInBody(p,token){p._reconstructActiveFormattingElements(),p._insertCharacters(token)}function characterInBody(p,token){p._reconstructActiveFormattingElements(),p._insertCharacters(token),p.framesetOk=!1}function addressStartTagInBody(p,token){p.openElements.hasInButtonScope($.P)&&p._closePElement(),p._insertElement(token,NS.HTML)}function preStartTagInBody(p,token){p.openElements.hasInButtonScope($.P)&&p._closePElement(),p._insertElement(token,NS.HTML),p.skipNextNewLine=!0,p.framesetOk=!1}function bStartTagInBody(p,token){p._reconstructActiveFormattingElements(),p._insertElement(token,NS.HTML),p.activeFormattingElements.pushElement(p.openElements.current,token)}function appletStartTagInBody(p,token){p._reconstructActiveFormattingElements(),p._insertElement(token,NS.HTML),p.activeFormattingElements.insertMarker(),p.framesetOk=!1}function areaStartTagInBody(p,token){p._reconstructActiveFormattingElements(),p._appendElement(token,NS.HTML),p.framesetOk=!1,token.ackSelfClosing=!0}function paramStartTagInBody(p,token){p._appendElement(token,NS.HTML),token.ackSelfClosing=!0}function noembedStartTagInBody(p,token){p._switchToTextParsing(token,Tokenizer.MODE.RAWTEXT)}function optgroupStartTagInBody(p,token){p.openElements.currentTagName===$.OPTION&&p.openElements.pop(),p._reconstructActiveFormattingElements(),p._insertElement(token,NS.HTML)}function rbStartTagInBody(p,token){p.openElements.hasInScope($.RUBY)&&p.openElements.generateImpliedEndTags(),p._insertElement(token,NS.HTML)}function genericStartTagInBody(p,token){p._reconstructActiveFormattingElements(),p._insertElement(token,NS.HTML)}function startTagInBody(p,token){const tn=token.tagName;switch(tn.length){case 1:tn===$.I||tn===$.S||tn===$.B||tn===$.U?bStartTagInBody(p,token):tn===$.P?addressStartTagInBody(p,token):tn===$.A?function aStartTagInBody(p,token){const activeElementEntry=p.activeFormattingElements.getElementEntryInScopeWithTagName($.A);activeElementEntry&&(callAdoptionAgency(p,token),p.openElements.remove(activeElementEntry.element),p.activeFormattingElements.removeEntry(activeElementEntry)),p._reconstructActiveFormattingElements(),p._insertElement(token,NS.HTML),p.activeFormattingElements.pushElement(p.openElements.current,token)}(p,token):genericStartTagInBody(p,token);break;case 2:tn===$.DL||tn===$.OL||tn===$.UL?addressStartTagInBody(p,token):tn===$.H1||tn===$.H2||tn===$.H3||tn===$.H4||tn===$.H5||tn===$.H6?function numberedHeaderStartTagInBody(p,token){p.openElements.hasInButtonScope($.P)&&p._closePElement();const tn=p.openElements.currentTagName;tn!==$.H1&&tn!==$.H2&&tn!==$.H3&&tn!==$.H4&&tn!==$.H5&&tn!==$.H6||p.openElements.pop(),p._insertElement(token,NS.HTML)}(p,token):tn===$.LI||tn===$.DD||tn===$.DT?function listItemStartTagInBody(p,token){p.framesetOk=!1;const tn=token.tagName;for(let i=p.openElements.stackTop;i>=0;i--){const element=p.openElements.items[i],elementTn=p.treeAdapter.getTagName(element);let closeTn=null;if(tn===$.LI&&elementTn===$.LI?closeTn=$.LI:tn!==$.DD&&tn!==$.DT||elementTn!==$.DD&&elementTn!==$.DT||(closeTn=elementTn),closeTn){p.openElements.generateImpliedEndTagsWithExclusion(closeTn),p.openElements.popUntilTagNamePopped(closeTn);break}if(elementTn!==$.ADDRESS&&elementTn!==$.DIV&&elementTn!==$.P&&p._isSpecialElement(element))break}p.openElements.hasInButtonScope($.P)&&p._closePElement(),p._insertElement(token,NS.HTML)}(p,token):tn===$.EM||tn===$.TT?bStartTagInBody(p,token):tn===$.BR?areaStartTagInBody(p,token):tn===$.HR?function hrStartTagInBody(p,token){p.openElements.hasInButtonScope($.P)&&p._closePElement(),p._appendElement(token,NS.HTML),p.framesetOk=!1,token.ackSelfClosing=!0}(p,token):tn===$.RB?rbStartTagInBody(p,token):tn===$.RT||tn===$.RP?function rtStartTagInBody(p,token){p.openElements.hasInScope($.RUBY)&&p.openElements.generateImpliedEndTagsWithExclusion($.RTC),p._insertElement(token,NS.HTML)}(p,token):tn!==$.TH&&tn!==$.TD&&tn!==$.TR&&genericStartTagInBody(p,token);break;case 3:tn===$.DIV||tn===$.DIR||tn===$.NAV?addressStartTagInBody(p,token):tn===$.PRE?preStartTagInBody(p,token):tn===$.BIG?bStartTagInBody(p,token):tn===$.IMG||tn===$.WBR?areaStartTagInBody(p,token):tn===$.XMP?function xmpStartTagInBody(p,token){p.openElements.hasInButtonScope($.P)&&p._closePElement(),p._reconstructActiveFormattingElements(),p.framesetOk=!1,p._switchToTextParsing(token,Tokenizer.MODE.RAWTEXT)}(p,token):tn===$.SVG?function svgStartTagInBody(p,token){p._reconstructActiveFormattingElements(),foreignContent.adjustTokenSVGAttrs(token),foreignContent.adjustTokenXMLAttrs(token),token.selfClosing?p._appendElement(token,NS.SVG):p._insertElement(token,NS.SVG),token.ackSelfClosing=!0}(p,token):tn===$.RTC?rbStartTagInBody(p,token):tn!==$.COL&&genericStartTagInBody(p,token);break;case 4:tn===$.HTML?function htmlStartTagInBody(p,token){0===p.openElements.tmplCount&&p.treeAdapter.adoptAttributes(p.openElements.items[0],token.attrs)}(p,token):tn===$.BASE||tn===$.LINK||tn===$.META?startTagInHead(p,token):tn===$.BODY?function bodyStartTagInBody(p,token){const bodyElement=p.openElements.tryPeekProperlyNestedBodyElement();bodyElement&&0===p.openElements.tmplCount&&(p.framesetOk=!1,p.treeAdapter.adoptAttributes(bodyElement,token.attrs))}(p,token):tn===$.MAIN||tn===$.MENU?addressStartTagInBody(p,token):tn===$.FORM?function formStartTagInBody(p,token){const inTemplate=p.openElements.tmplCount>0;p.formElement&&!inTemplate||(p.openElements.hasInButtonScope($.P)&&p._closePElement(),p._insertElement(token,NS.HTML),inTemplate||(p.formElement=p.openElements.current))}(p,token):tn===$.CODE||tn===$.FONT?bStartTagInBody(p,token):tn===$.NOBR?function nobrStartTagInBody(p,token){p._reconstructActiveFormattingElements(),p.openElements.hasInScope($.NOBR)&&(callAdoptionAgency(p,token),p._reconstructActiveFormattingElements()),p._insertElement(token,NS.HTML),p.activeFormattingElements.pushElement(p.openElements.current,token)}(p,token):tn===$.AREA?areaStartTagInBody(p,token):tn===$.MATH?function mathStartTagInBody(p,token){p._reconstructActiveFormattingElements(),foreignContent.adjustTokenMathMLAttrs(token),foreignContent.adjustTokenXMLAttrs(token),token.selfClosing?p._appendElement(token,NS.MATHML):p._insertElement(token,NS.MATHML),token.ackSelfClosing=!0}(p,token):tn===$.MENU?function menuStartTagInBody(p,token){p.openElements.hasInButtonScope($.P)&&p._closePElement(),p._insertElement(token,NS.HTML)}(p,token):tn!==$.HEAD&&genericStartTagInBody(p,token);break;case 5:tn===$.STYLE||tn===$.TITLE?startTagInHead(p,token):tn===$.ASIDE?addressStartTagInBody(p,token):tn===$.SMALL?bStartTagInBody(p,token):tn===$.TABLE?function tableStartTagInBody(p,token){p.treeAdapter.getDocumentMode(p.document)!==HTML.DOCUMENT_MODE.QUIRKS&&p.openElements.hasInButtonScope($.P)&&p._closePElement(),p._insertElement(token,NS.HTML),p.framesetOk=!1,p.insertionMode=IN_TABLE_MODE}(p,token):tn===$.EMBED?areaStartTagInBody(p,token):tn===$.INPUT?function inputStartTagInBody(p,token){p._reconstructActiveFormattingElements(),p._appendElement(token,NS.HTML);const inputType=Tokenizer.getTokenAttr(token,ATTRS.TYPE);inputType&&"hidden"===inputType.toLowerCase()||(p.framesetOk=!1),token.ackSelfClosing=!0}(p,token):tn===$.PARAM||tn===$.TRACK?paramStartTagInBody(p,token):tn===$.IMAGE?function imageStartTagInBody(p,token){token.tagName=$.IMG,areaStartTagInBody(p,token)}(p,token):tn!==$.FRAME&&tn!==$.TBODY&&tn!==$.TFOOT&&tn!==$.THEAD&&genericStartTagInBody(p,token);break;case 6:tn===$.SCRIPT?startTagInHead(p,token):tn===$.CENTER||tn===$.FIGURE||tn===$.FOOTER||tn===$.HEADER||tn===$.HGROUP||tn===$.DIALOG?addressStartTagInBody(p,token):tn===$.BUTTON?function buttonStartTagInBody(p,token){p.openElements.hasInScope($.BUTTON)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped($.BUTTON)),p._reconstructActiveFormattingElements(),p._insertElement(token,NS.HTML),p.framesetOk=!1}(p,token):tn===$.STRIKE||tn===$.STRONG?bStartTagInBody(p,token):tn===$.APPLET||tn===$.OBJECT?appletStartTagInBody(p,token):tn===$.KEYGEN?areaStartTagInBody(p,token):tn===$.SOURCE?paramStartTagInBody(p,token):tn===$.IFRAME?function iframeStartTagInBody(p,token){p.framesetOk=!1,p._switchToTextParsing(token,Tokenizer.MODE.RAWTEXT)}(p,token):tn===$.SELECT?function selectStartTagInBody(p,token){p._reconstructActiveFormattingElements(),p._insertElement(token,NS.HTML),p.framesetOk=!1,p.insertionMode===IN_TABLE_MODE||"IN_CAPTION_MODE"===p.insertionMode||"IN_TABLE_BODY_MODE"===p.insertionMode||"IN_ROW_MODE"===p.insertionMode||"IN_CELL_MODE"===p.insertionMode?p.insertionMode="IN_SELECT_IN_TABLE_MODE":p.insertionMode="IN_SELECT_MODE"}(p,token):tn===$.OPTION?optgroupStartTagInBody(p,token):genericStartTagInBody(p,token);break;case 7:tn===$.BGSOUND?startTagInHead(p,token):tn===$.DETAILS||tn===$.ADDRESS||tn===$.ARTICLE||tn===$.SECTION||tn===$.SUMMARY?addressStartTagInBody(p,token):tn===$.LISTING?preStartTagInBody(p,token):tn===$.MARQUEE?appletStartTagInBody(p,token):tn===$.NOEMBED?noembedStartTagInBody(p,token):tn!==$.CAPTION&&genericStartTagInBody(p,token);break;case 8:tn===$.BASEFONT?startTagInHead(p,token):tn===$.FRAMESET?function framesetStartTagInBody(p,token){const bodyElement=p.openElements.tryPeekProperlyNestedBodyElement();p.framesetOk&&bodyElement&&(p.treeAdapter.detachNode(bodyElement),p.openElements.popAllUpToHtmlElement(),p._insertElement(token,NS.HTML),p.insertionMode="IN_FRAMESET_MODE")}(p,token):tn===$.FIELDSET?addressStartTagInBody(p,token):tn===$.TEXTAREA?function textareaStartTagInBody(p,token){p._insertElement(token,NS.HTML),p.skipNextNewLine=!0,p.tokenizer.state=Tokenizer.MODE.RCDATA,p.originalInsertionMode=p.insertionMode,p.framesetOk=!1,p.insertionMode="TEXT_MODE"}(p,token):tn===$.TEMPLATE?startTagInHead(p,token):tn===$.NOSCRIPT?p.options.scriptingEnabled?noembedStartTagInBody(p,token):genericStartTagInBody(p,token):tn===$.OPTGROUP?optgroupStartTagInBody(p,token):tn!==$.COLGROUP&&genericStartTagInBody(p,token);break;case 9:tn===$.PLAINTEXT?function plaintextStartTagInBody(p,token){p.openElements.hasInButtonScope($.P)&&p._closePElement(),p._insertElement(token,NS.HTML),p.tokenizer.state=Tokenizer.MODE.PLAINTEXT}(p,token):genericStartTagInBody(p,token);break;case 10:tn===$.BLOCKQUOTE||tn===$.FIGCAPTION?addressStartTagInBody(p,token):genericStartTagInBody(p,token);break;default:genericStartTagInBody(p,token)}}function addressEndTagInBody(p,token){const tn=token.tagName;p.openElements.hasInScope(tn)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped(tn))}function appletEndTagInBody(p,token){const tn=token.tagName;p.openElements.hasInScope(tn)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped(tn),p.activeFormattingElements.clearToLastMarker())}function genericEndTagInBody(p,token){const tn=token.tagName;for(let i=p.openElements.stackTop;i>0;i--){const element=p.openElements.items[i];if(p.treeAdapter.getTagName(element)===tn){p.openElements.generateImpliedEndTagsWithExclusion(tn),p.openElements.popUntilElementPopped(element);break}if(p._isSpecialElement(element))break}}function endTagInBody(p,token){const tn=token.tagName;switch(tn.length){case 1:tn===$.A||tn===$.B||tn===$.I||tn===$.S||tn===$.U?callAdoptionAgency(p,token):tn===$.P?function pEndTagInBody(p){p.openElements.hasInButtonScope($.P)||p._insertFakeElement($.P),p._closePElement()}(p):genericEndTagInBody(p,token);break;case 2:tn===$.DL||tn===$.UL||tn===$.OL?addressEndTagInBody(p,token):tn===$.LI?function liEndTagInBody(p){p.openElements.hasInListItemScope($.LI)&&(p.openElements.generateImpliedEndTagsWithExclusion($.LI),p.openElements.popUntilTagNamePopped($.LI))}(p):tn===$.DD||tn===$.DT?function ddEndTagInBody(p,token){const tn=token.tagName;p.openElements.hasInScope(tn)&&(p.openElements.generateImpliedEndTagsWithExclusion(tn),p.openElements.popUntilTagNamePopped(tn))}(p,token):tn===$.H1||tn===$.H2||tn===$.H3||tn===$.H4||tn===$.H5||tn===$.H6?function numberedHeaderEndTagInBody(p){p.openElements.hasNumberedHeaderInScope()&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilNumberedHeaderPopped())}(p):tn===$.BR?function brEndTagInBody(p){p._reconstructActiveFormattingElements(),p._insertFakeElement($.BR),p.openElements.pop(),p.framesetOk=!1}(p):tn===$.EM||tn===$.TT?callAdoptionAgency(p,token):genericEndTagInBody(p,token);break;case 3:tn===$.BIG?callAdoptionAgency(p,token):tn===$.DIR||tn===$.DIV||tn===$.NAV||tn===$.PRE?addressEndTagInBody(p,token):genericEndTagInBody(p,token);break;case 4:tn===$.BODY?function bodyEndTagInBody(p){p.openElements.hasInScope($.BODY)&&(p.insertionMode="AFTER_BODY_MODE")}(p):tn===$.HTML?function htmlEndTagInBody(p,token){p.openElements.hasInScope($.BODY)&&(p.insertionMode="AFTER_BODY_MODE",p._processToken(token))}(p,token):tn===$.FORM?function formEndTagInBody(p){const inTemplate=p.openElements.tmplCount>0,formElement=p.formElement;inTemplate||(p.formElement=null),(formElement||inTemplate)&&p.openElements.hasInScope($.FORM)&&(p.openElements.generateImpliedEndTags(),inTemplate?p.openElements.popUntilTagNamePopped($.FORM):p.openElements.remove(formElement))}(p):tn===$.CODE||tn===$.FONT||tn===$.NOBR?callAdoptionAgency(p,token):tn===$.MAIN||tn===$.MENU?addressEndTagInBody(p,token):genericEndTagInBody(p,token);break;case 5:tn===$.ASIDE?addressEndTagInBody(p,token):tn===$.SMALL?callAdoptionAgency(p,token):genericEndTagInBody(p,token);break;case 6:tn===$.CENTER||tn===$.FIGURE||tn===$.FOOTER||tn===$.HEADER||tn===$.HGROUP||tn===$.DIALOG?addressEndTagInBody(p,token):tn===$.APPLET||tn===$.OBJECT?appletEndTagInBody(p,token):tn===$.STRIKE||tn===$.STRONG?callAdoptionAgency(p,token):genericEndTagInBody(p,token);break;case 7:tn===$.ADDRESS||tn===$.ARTICLE||tn===$.DETAILS||tn===$.SECTION||tn===$.SUMMARY||tn===$.LISTING?addressEndTagInBody(p,token):tn===$.MARQUEE?appletEndTagInBody(p,token):genericEndTagInBody(p,token);break;case 8:tn===$.FIELDSET?addressEndTagInBody(p,token):tn===$.TEMPLATE?endTagInHead(p,token):genericEndTagInBody(p,token);break;case 10:tn===$.BLOCKQUOTE||tn===$.FIGCAPTION?addressEndTagInBody(p,token):genericEndTagInBody(p,token);break;default:genericEndTagInBody(p,token)}}function eofInBody(p,token){p.tmplInsertionModeStackTop>-1?eofInTemplate(p,token):p.stopped=!0}function characterInTable(p,token){const curTn=p.openElements.currentTagName;curTn===$.TABLE||curTn===$.TBODY||curTn===$.TFOOT||curTn===$.THEAD||curTn===$.TR?(p.pendingCharacterTokens=[],p.hasNonWhitespacePendingCharacterToken=!1,p.originalInsertionMode=p.insertionMode,p.insertionMode="IN_TABLE_TEXT_MODE",p._processToken(token)):tokenInTable(p,token)}function startTagInTable(p,token){const tn=token.tagName;switch(tn.length){case 2:tn===$.TD||tn===$.TH||tn===$.TR?function tdStartTagInTable(p,token){p.openElements.clearBackToTableContext(),p._insertFakeElement($.TBODY),p.insertionMode="IN_TABLE_BODY_MODE",p._processToken(token)}(p,token):tokenInTable(p,token);break;case 3:tn===$.COL?function colStartTagInTable(p,token){p.openElements.clearBackToTableContext(),p._insertFakeElement($.COLGROUP),p.insertionMode="IN_COLUMN_GROUP_MODE",p._processToken(token)}(p,token):tokenInTable(p,token);break;case 4:tn===$.FORM?function formStartTagInTable(p,token){p.formElement||0!==p.openElements.tmplCount||(p._insertElement(token,NS.HTML),p.formElement=p.openElements.current,p.openElements.pop())}(p,token):tokenInTable(p,token);break;case 5:tn===$.TABLE?function tableStartTagInTable(p,token){p.openElements.hasInTableScope($.TABLE)&&(p.openElements.popUntilTagNamePopped($.TABLE),p._resetInsertionMode(),p._processToken(token))}(p,token):tn===$.STYLE?startTagInHead(p,token):tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD?function tbodyStartTagInTable(p,token){p.openElements.clearBackToTableContext(),p._insertElement(token,NS.HTML),p.insertionMode="IN_TABLE_BODY_MODE"}(p,token):tn===$.INPUT?function inputStartTagInTable(p,token){const inputType=Tokenizer.getTokenAttr(token,ATTRS.TYPE);inputType&&"hidden"===inputType.toLowerCase()?p._appendElement(token,NS.HTML):tokenInTable(p,token),token.ackSelfClosing=!0}(p,token):tokenInTable(p,token);break;case 6:tn===$.SCRIPT?startTagInHead(p,token):tokenInTable(p,token);break;case 7:tn===$.CAPTION?function captionStartTagInTable(p,token){p.openElements.clearBackToTableContext(),p.activeFormattingElements.insertMarker(),p._insertElement(token,NS.HTML),p.insertionMode="IN_CAPTION_MODE"}(p,token):tokenInTable(p,token);break;case 8:tn===$.COLGROUP?function colgroupStartTagInTable(p,token){p.openElements.clearBackToTableContext(),p._insertElement(token,NS.HTML),p.insertionMode="IN_COLUMN_GROUP_MODE"}(p,token):tn===$.TEMPLATE?startTagInHead(p,token):tokenInTable(p,token);break;default:tokenInTable(p,token)}}function endTagInTable(p,token){const tn=token.tagName;tn===$.TABLE?p.openElements.hasInTableScope($.TABLE)&&(p.openElements.popUntilTagNamePopped($.TABLE),p._resetInsertionMode()):tn===$.TEMPLATE?endTagInHead(p,token):tn!==$.BODY&&tn!==$.CAPTION&&tn!==$.COL&&tn!==$.COLGROUP&&tn!==$.HTML&&tn!==$.TBODY&&tn!==$.TD&&tn!==$.TFOOT&&tn!==$.TH&&tn!==$.THEAD&&tn!==$.TR&&tokenInTable(p,token)}function tokenInTable(p,token){const savedFosterParentingState=p.fosterParentingEnabled;p.fosterParentingEnabled=!0,p._processTokenInBodyMode(token),p.fosterParentingEnabled=savedFosterParentingState}function tokenInTableText(p,token){let i=0;if(p.hasNonWhitespacePendingCharacterToken)for(;i<p.pendingCharacterTokens.length;i++)tokenInTable(p,p.pendingCharacterTokens[i]);else for(;i<p.pendingCharacterTokens.length;i++)p._insertCharacters(p.pendingCharacterTokens[i]);p.insertionMode=p.originalInsertionMode,p._processToken(token)}function tokenInColumnGroup(p,token){p.openElements.currentTagName===$.COLGROUP&&(p.openElements.pop(),p.insertionMode=IN_TABLE_MODE,p._processToken(token))}function startTagInSelect(p,token){const tn=token.tagName;tn===$.HTML?startTagInBody(p,token):tn===$.OPTION?(p.openElements.currentTagName===$.OPTION&&p.openElements.pop(),p._insertElement(token,NS.HTML)):tn===$.OPTGROUP?(p.openElements.currentTagName===$.OPTION&&p.openElements.pop(),p.openElements.currentTagName===$.OPTGROUP&&p.openElements.pop(),p._insertElement(token,NS.HTML)):tn===$.INPUT||tn===$.KEYGEN||tn===$.TEXTAREA||tn===$.SELECT?p.openElements.hasInSelectScope($.SELECT)&&(p.openElements.popUntilTagNamePopped($.SELECT),p._resetInsertionMode(),tn!==$.SELECT&&p._processToken(token)):tn!==$.SCRIPT&&tn!==$.TEMPLATE||startTagInHead(p,token)}function endTagInSelect(p,token){const tn=token.tagName;if(tn===$.OPTGROUP){const prevOpenElement=p.openElements.items[p.openElements.stackTop-1],prevOpenElementTn=prevOpenElement&&p.treeAdapter.getTagName(prevOpenElement);p.openElements.currentTagName===$.OPTION&&prevOpenElementTn===$.OPTGROUP&&p.openElements.pop(),p.openElements.currentTagName===$.OPTGROUP&&p.openElements.pop()}else tn===$.OPTION?p.openElements.currentTagName===$.OPTION&&p.openElements.pop():tn===$.SELECT&&p.openElements.hasInSelectScope($.SELECT)?(p.openElements.popUntilTagNamePopped($.SELECT),p._resetInsertionMode()):tn===$.TEMPLATE&&endTagInHead(p,token)}function eofInTemplate(p,token){p.openElements.tmplCount>0?(p.openElements.popUntilTagNamePopped($.TEMPLATE),p.activeFormattingElements.clearToLastMarker(),p._popTmplInsertionMode(),p._resetInsertionMode(),p._processToken(token)):p.stopped=!0}function tokenAfterBody(p,token){p.insertionMode="IN_BODY_MODE",p._processToken(token)}function tokenAfterAfterBody(p,token){p.insertionMode="IN_BODY_MODE",p._processToken(token)}module.exports=class Parser{constructor(options){this.options=mergeOptions(DEFAULT_OPTIONS,options),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&Mixin.install(this,LocationInfoParserMixin),this.options.onParseError&&Mixin.install(this,ErrorReportingParserMixin,{onParseError:this.options.onParseError})}parse(html){const document=this.treeAdapter.createDocument();return this._bootstrap(document,null),this.tokenizer.write(html,!0),this._runParsingLoop(null),document}parseFragment(html,fragmentContext){fragmentContext||(fragmentContext=this.treeAdapter.createElement($.TEMPLATE,NS.HTML,[]));const documentMock=this.treeAdapter.createElement("documentmock",NS.HTML,[]);this._bootstrap(documentMock,fragmentContext),this.treeAdapter.getTagName(fragmentContext)===$.TEMPLATE&&this._pushTmplInsertionMode("IN_TEMPLATE_MODE"),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(html,!0),this._runParsingLoop(null);const rootElement=this.treeAdapter.getFirstChild(documentMock),fragment=this.treeAdapter.createDocumentFragment();return this._adoptNodes(rootElement,fragment),fragment}_bootstrap(document,fragmentContext){this.tokenizer=new Tokenizer(this.options),this.stopped=!1,this.insertionMode="INITIAL_MODE",this.originalInsertionMode="",this.document=document,this.fragmentContext=fragmentContext,this.headElement=null,this.formElement=null,this.openElements=new OpenElementStack(this.document,this.treeAdapter),this.activeFormattingElements=new FormattingElementList(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(scriptHandler){for(;!this.stopped;){this._setupTokenizerCDATAMode();const token=this.tokenizer.getNextToken();if(token.type===Tokenizer.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,token.type===Tokenizer.WHITESPACE_CHARACTER_TOKEN&&"\n"===token.chars[0])){if(1===token.chars.length)continue;token.chars=token.chars.substr(1)}if(this._processInputToken(token),scriptHandler&&this.pendingScript)break}}runParsingLoopForCurrentChunk(writeCallback,scriptHandler){if(this._runParsingLoop(scriptHandler),scriptHandler&&this.pendingScript){const script=this.pendingScript;return this.pendingScript=null,void scriptHandler(script)}writeCallback&&writeCallback()}_setupTokenizerCDATAMode(){const current=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=current&¤t!==this.document&&this.treeAdapter.getNamespaceURI(current)!==NS.HTML&&!this._isIntegrationPoint(current)}_switchToTextParsing(currentToken,nextTokenizerState){this._insertElement(currentToken,NS.HTML),this.tokenizer.state=nextTokenizerState,this.originalInsertionMode=this.insertionMode,this.insertionMode="TEXT_MODE"}switchToPlaintextParsing(){this.insertionMode="TEXT_MODE",this.originalInsertionMode="IN_BODY_MODE",this.tokenizer.state=Tokenizer.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let node=this.fragmentContext;do{if(this.treeAdapter.getTagName(node)===$.FORM){this.formElement=node;break}node=this.treeAdapter.getParentNode(node)}while(node)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===NS.HTML){const tn=this.treeAdapter.getTagName(this.fragmentContext);tn===$.TITLE||tn===$.TEXTAREA?this.tokenizer.state=Tokenizer.MODE.RCDATA:tn===$.STYLE||tn===$.XMP||tn===$.IFRAME||tn===$.NOEMBED||tn===$.NOFRAMES||tn===$.NOSCRIPT?this.tokenizer.state=Tokenizer.MODE.RAWTEXT:tn===$.SCRIPT?this.tokenizer.state=Tokenizer.MODE.SCRIPT_DATA:tn===$.PLAINTEXT&&(this.tokenizer.state=Tokenizer.MODE.PLAINTEXT)}}_setDocumentType(token){const name=token.name||"",publicId=token.publicId||"",systemId=token.systemId||"";this.treeAdapter.setDocumentType(this.document,name,publicId,systemId)}_attachElementToTree(element){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(element);else{const parent=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(parent,element)}}_appendElement(token,namespaceURI){const element=this.treeAdapter.createElement(token.tagName,namespaceURI,token.attrs);this._attachElementToTree(element)}_insertElement(token,namespaceURI){const element=this.treeAdapter.createElement(token.tagName,namespaceURI,token.attrs);this._attachElementToTree(element),this.openElements.push(element)}_insertFakeElement(tagName){const element=this.treeAdapter.createElement(tagName,NS.HTML,[]);this._attachElementToTree(element),this.openElements.push(element)}_insertTemplate(token){const tmpl=this.treeAdapter.createElement(token.tagName,NS.HTML,token.attrs),content=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(tmpl,content),this._attachElementToTree(tmpl),this.openElements.push(tmpl)}_insertFakeRootElement(){const element=this.treeAdapter.createElement($.HTML,NS.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,element),this.openElements.push(element)}_appendCommentNode(token,parent){const commentNode=this.treeAdapter.createCommentNode(token.data);this.treeAdapter.appendChild(parent,commentNode)}_insertCharacters(token){if(this._shouldFosterParentOnInsertion())this._fosterParentText(token.chars);else{const parent=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(parent,token.chars)}}_adoptNodes(donor,recipient){for(let child=this.treeAdapter.getFirstChild(donor);child;child=this.treeAdapter.getFirstChild(donor))this.treeAdapter.detachNode(child),this.treeAdapter.appendChild(recipient,child)}_shouldProcessTokenInForeignContent(token){const current=this._getAdjustedCurrentElement();if(!current||current===this.document)return!1;const ns=this.treeAdapter.getNamespaceURI(current);if(ns===NS.HTML)return!1;if(this.treeAdapter.getTagName(current)===$.ANNOTATION_XML&&ns===NS.MATHML&&token.type===Tokenizer.START_TAG_TOKEN&&token.tagName===$.SVG)return!1;const isCharacterToken=token.type===Tokenizer.CHARACTER_TOKEN||token.type===Tokenizer.NULL_CHARACTER_TOKEN||token.type===Tokenizer.WHITESPACE_CHARACTER_TOKEN;return(!(token.type===Tokenizer.START_TAG_TOKEN&&token.tagName!==$.MGLYPH&&token.tagName!==$.MALIGNMARK)&&!isCharacterToken||!this._isIntegrationPoint(current,NS.MATHML))&&((token.type!==Tokenizer.START_TAG_TOKEN&&!isCharacterToken||!this._isIntegrationPoint(current,NS.HTML))&&token.type!==Tokenizer.EOF_TOKEN)}_processToken(token){TOKEN_HANDLERS[this.insertionMode][token.type](this,token)}_processTokenInBodyMode(token){TOKEN_HANDLERS.IN_BODY_MODE[token.type](this,token)}_processTokenInForeignContent(token){token.type===Tokenizer.CHARACTER_TOKEN?function characterInForeignContent(p,token){p._insertCharacters(token),p.framesetOk=!1}(this,token):token.type===Tokenizer.NULL_CHARACTER_TOKEN?function nullCharacterInForeignContent(p,token){token.chars=unicode.REPLACEMENT_CHARACTER,p._insertCharacters(token)}(this,token):token.type===Tokenizer.WHITESPACE_CHARACTER_TOKEN?insertCharacters(this,token):token.type===Tokenizer.COMMENT_TOKEN?appendComment(this,token):token.type===Tokenizer.START_TAG_TOKEN?function startTagInForeignContent(p,token){if(foreignContent.causesExit(token)&&!p.fragmentContext){for(;p.treeAdapter.getNamespaceURI(p.openElements.current)!==NS.HTML&&!p._isIntegrationPoint(p.openElements.current);)p.openElements.pop();p._processToken(token)}else{const current=p._getAdjustedCurrentElement(),currentNs=p.treeAdapter.getNamespaceURI(current);currentNs===NS.MATHML?foreignContent.adjustTokenMathMLAttrs(token):currentNs===NS.SVG&&(foreignContent.adjustTokenSVGTagName(token),foreignContent.adjustTokenSVGAttrs(token)),foreignContent.adjustTokenXMLAttrs(token),token.selfClosing?p._appendElement(token,currentNs):p._insertElement(token,currentNs),token.ackSelfClosing=!0}}(this,token):token.type===Tokenizer.END_TAG_TOKEN&&function endTagInForeignContent(p,token){for(let i=p.openElements.stackTop;i>0;i--){const element=p.openElements.items[i];if(p.treeAdapter.getNamespaceURI(element)===NS.HTML){p._processToken(token);break}if(p.treeAdapter.getTagName(element).toLowerCase()===token.tagName){p.openElements.popUntilElementPopped(element);break}}}(this,token)}_processInputToken(token){this._shouldProcessTokenInForeignContent(token)?this._processTokenInForeignContent(token):this._processToken(token),token.type===Tokenizer.START_TAG_TOKEN&&token.selfClosing&&!token.ackSelfClosing&&this._err(ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(element,foreignNS){const tn=this.treeAdapter.getTagName(element),ns=this.treeAdapter.getNamespaceURI(element),attrs=this.treeAdapter.getAttrList(element);return foreignContent.isIntegrationPoint(tn,ns,attrs,foreignNS)}_reconstructActiveFormattingElements(){const listLength=this.activeFormattingElements.length;if(listLength){let unopenIdx=listLength,entry=null;do{if(unopenIdx--,entry=this.activeFormattingElements.entries[unopenIdx],entry.type===FormattingElementList.MARKER_ENTRY||this.openElements.contains(entry.element)){unopenIdx++;break}}while(unopenIdx>0);for(let i=unopenIdx;i<listLength;i++)entry=this.activeFormattingElements.entries[i],this._insertElement(entry.token,this.treeAdapter.getNamespaceURI(entry.element)),entry.element=this.openElements.current}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode="IN_ROW_MODE"}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion($.P),this.openElements.popUntilTagNamePopped($.P)}_resetInsertionMode(){for(let i=this.openElements.stackTop,last=!1;i>=0;i--){let element=this.openElements.items[i];0===i&&(last=!0,this.fragmentContext&&(element=this.fragmentContext));const tn=this.treeAdapter.getTagName(element),newInsertionMode=INSERTION_MODE_RESET_MAP[tn];if(newInsertionMode){this.insertionMode=newInsertionMode;break}if(!(last||tn!==$.TD&&tn!==$.TH)){this.insertionMode="IN_CELL_MODE";break}if(!last&&tn===$.HEAD){this.insertionMode="IN_HEAD_MODE";break}if(tn===$.SELECT){this._resetInsertionModeForSelect(i);break}if(tn===$.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(tn===$.HTML){this.insertionMode=this.headElement?"AFTER_HEAD_MODE":"BEFORE_HEAD_MODE";break}if(last){this.insertionMode="IN_BODY_MODE";break}}}_resetInsertionModeForSelect(selectIdx){if(selectIdx>0)for(let i=selectIdx-1;i>0;i--){const ancestor=this.openElements.items[i],tn=this.treeAdapter.getTagName(ancestor);if(tn===$.TEMPLATE)break;if(tn===$.TABLE)return void(this.insertionMode="IN_SELECT_IN_TABLE_MODE")}this.insertionMode="IN_SELECT_MODE"}_pushTmplInsertionMode(mode){this.tmplInsertionModeStack.push(mode),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=mode}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(element){const tn=this.treeAdapter.getTagName(element);return tn===$.TABLE||tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD||tn===$.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const location={parent:null,beforeElement:null};for(let i=this.openElements.stackTop;i>=0;i--){const openElement=this.openElements.items[i],tn=this.treeAdapter.getTagName(openElement),ns=this.treeAdapter.getNamespaceURI(openElement);if(tn===$.TEMPLATE&&ns===NS.HTML){location.parent=this.treeAdapter.getTemplateContent(openElement);break}if(tn===$.TABLE){location.parent=this.treeAdapter.getParentNode(openElement),location.parent?location.beforeElement=openElement:location.parent=this.openElements.items[i-1];break}}return location.parent||(location.parent=this.openElements.items[0]),location}_fosterParentElement(element){const location=this._findFosterParentingLocation();location.beforeElement?this.treeAdapter.insertBefore(location.parent,element,location.beforeElement):this.treeAdapter.appendChild(location.parent,element)}_fosterParentText(chars){const location=this._findFosterParentingLocation();location.beforeElement?this.treeAdapter.insertTextBefore(location.parent,chars,location.beforeElement):this.treeAdapter.insertText(location.parent,chars)}_isSpecialElement(element){const tn=this.treeAdapter.getTagName(element),ns=this.treeAdapter.getNamespaceURI(element);return HTML.SPECIAL_ELEMENTS[ns][tn]}}},46519:function(module,__unused_webpack_exports,__webpack_require__){const HTML=__webpack_require__(16152),$=HTML.TAG_NAMES,NS=HTML.NAMESPACES;function isImpliedEndTagRequired(tn){switch(tn.length){case 1:return tn===$.P;case 2:return tn===$.RB||tn===$.RP||tn===$.RT||tn===$.DD||tn===$.DT||tn===$.LI;case 3:return tn===$.RTC;case 6:return tn===$.OPTION;case 8:return tn===$.OPTGROUP}return!1}function isImpliedEndTagRequiredThoroughly(tn){switch(tn.length){case 1:return tn===$.P;case 2:return tn===$.RB||tn===$.RP||tn===$.RT||tn===$.DD||tn===$.DT||tn===$.LI||tn===$.TD||tn===$.TH||tn===$.TR;case 3:return tn===$.RTC;case 5:return tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD;case 6:return tn===$.OPTION;case 7:return tn===$.CAPTION;case 8:return tn===$.OPTGROUP||tn===$.COLGROUP}return!1}function isScopingElement(tn,ns){switch(tn.length){case 2:if(tn===$.TD||tn===$.TH)return ns===NS.HTML;if(tn===$.MI||tn===$.MO||tn===$.MN||tn===$.MS)return ns===NS.MATHML;break;case 4:if(tn===$.HTML)return ns===NS.HTML;if(tn===$.DESC)return ns===NS.SVG;break;case 5:if(tn===$.TABLE)return ns===NS.HTML;if(tn===$.MTEXT)return ns===NS.MATHML;if(tn===$.TITLE)return ns===NS.SVG;break;case 6:return(tn===$.APPLET||tn===$.OBJECT)&&ns===NS.HTML;case 7:return(tn===$.CAPTION||tn===$.MARQUEE)&&ns===NS.HTML;case 8:return tn===$.TEMPLATE&&ns===NS.HTML;case 13:return tn===$.FOREIGN_OBJECT&&ns===NS.SVG;case 14:return tn===$.ANNOTATION_XML&&ns===NS.MATHML}return!1}module.exports=class OpenElementStack{constructor(document,treeAdapter){this.stackTop=-1,this.items=[],this.current=document,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=treeAdapter}_indexOf(element){let idx=-1;for(let i=this.stackTop;i>=0;i--)if(this.items[i]===element){idx=i;break}return idx}_isInTemplate(){return this.currentTagName===$.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===NS.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(element){this.items[++this.stackTop]=element,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(oldElement,newElement){const idx=this._indexOf(oldElement);this.items[idx]=newElement,idx===this.stackTop&&this._updateCurrentElement()}insertAfter(referenceElement,newElement){const insertionIdx=this._indexOf(referenceElement)+1;this.items.splice(insertionIdx,0,newElement),insertionIdx===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(tagName){for(;this.stackTop>-1;){const tn=this.currentTagName,ns=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),tn===tagName&&ns===NS.HTML)break}}popUntilElementPopped(element){for(;this.stackTop>-1;){const poppedElement=this.current;if(this.pop(),poppedElement===element)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const tn=this.currentTagName,ns=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),tn===$.H1||tn===$.H2||tn===$.H3||tn===$.H4||tn===$.H5||tn===$.H6&&ns===NS.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const tn=this.currentTagName,ns=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),tn===$.TD||tn===$.TH&&ns===NS.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==$.TABLE&&this.currentTagName!==$.TEMPLATE&&this.currentTagName!==$.HTML||this.treeAdapter.getNamespaceURI(this.current)!==NS.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==$.TBODY&&this.currentTagName!==$.TFOOT&&this.currentTagName!==$.THEAD&&this.currentTagName!==$.TEMPLATE&&this.currentTagName!==$.HTML||this.treeAdapter.getNamespaceURI(this.current)!==NS.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==$.TR&&this.currentTagName!==$.TEMPLATE&&this.currentTagName!==$.HTML||this.treeAdapter.getNamespaceURI(this.current)!==NS.HTML;)this.pop()}remove(element){for(let i=this.stackTop;i>=0;i--)if(this.items[i]===element){this.items.splice(i,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const element=this.items[1];return element&&this.treeAdapter.getTagName(element)===$.BODY?element:null}contains(element){return this._indexOf(element)>-1}getCommonAncestor(element){let elementIdx=this._indexOf(element);return--elementIdx>=0?this.items[elementIdx]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===$.HTML}hasInScope(tagName){for(let i=this.stackTop;i>=0;i--){const tn=this.treeAdapter.getTagName(this.items[i]),ns=this.treeAdapter.getNamespaceURI(this.items[i]);if(tn===tagName&&ns===NS.HTML)return!0;if(isScopingElement(tn,ns))return!1}return!0}hasNumberedHeaderInScope(){for(let i=this.stackTop;i>=0;i--){const tn=this.treeAdapter.getTagName(this.items[i]),ns=this.treeAdapter.getNamespaceURI(this.items[i]);if((tn===$.H1||tn===$.H2||tn===$.H3||tn===$.H4||tn===$.H5||tn===$.H6)&&ns===NS.HTML)return!0;if(isScopingElement(tn,ns))return!1}return!0}hasInListItemScope(tagName){for(let i=this.stackTop;i>=0;i--){const tn=this.treeAdapter.getTagName(this.items[i]),ns=this.treeAdapter.getNamespaceURI(this.items[i]);if(tn===tagName&&ns===NS.HTML)return!0;if((tn===$.UL||tn===$.OL)&&ns===NS.HTML||isScopingElement(tn,ns))return!1}return!0}hasInButtonScope(tagName){for(let i=this.stackTop;i>=0;i--){const tn=this.treeAdapter.getTagName(this.items[i]),ns=this.treeAdapter.getNamespaceURI(this.items[i]);if(tn===tagName&&ns===NS.HTML)return!0;if(tn===$.BUTTON&&ns===NS.HTML||isScopingElement(tn,ns))return!1}return!0}hasInTableScope(tagName){for(let i=this.stackTop;i>=0;i--){const tn=this.treeAdapter.getTagName(this.items[i]);if(this.treeAdapter.getNamespaceURI(this.items[i])===NS.HTML){if(tn===tagName)return!0;if(tn===$.TABLE||tn===$.TEMPLATE||tn===$.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let i=this.stackTop;i>=0;i--){const tn=this.treeAdapter.getTagName(this.items[i]);if(this.treeAdapter.getNamespaceURI(this.items[i])===NS.HTML){if(tn===$.TBODY||tn===$.THEAD||tn===$.TFOOT)return!0;if(tn===$.TABLE||tn===$.HTML)return!1}}return!0}hasInSelectScope(tagName){for(let i=this.stackTop;i>=0;i--){const tn=this.treeAdapter.getTagName(this.items[i]);if(this.treeAdapter.getNamespaceURI(this.items[i])===NS.HTML){if(tn===tagName)return!0;if(tn!==$.OPTION&&tn!==$.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;isImpliedEndTagRequired(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;isImpliedEndTagRequiredThoroughly(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(exclusionTagName){for(;isImpliedEndTagRequired(this.currentTagName)&&this.currentTagName!==exclusionTagName;)this.pop()}}},83988:function(module,__unused_webpack_exports,__webpack_require__){const defaultTreeAdapter=__webpack_require__(17296),mergeOptions=__webpack_require__(8904),doctype=__webpack_require__(31515),HTML=__webpack_require__(16152),$=HTML.TAG_NAMES,NS=HTML.NAMESPACES,DEFAULT_OPTIONS={treeAdapter:defaultTreeAdapter},AMP_REGEX=/&/g,NBSP_REGEX=/\u00a0/g,DOUBLE_QUOTE_REGEX=/"/g,LT_REGEX=/</g,GT_REGEX=/>/g;class Serializer{constructor(node,options){this.options=mergeOptions(DEFAULT_OPTIONS,options),this.treeAdapter=this.options.treeAdapter,this.html="",this.startNode=node}serialize(){return this._serializeChildNodes(this.startNode),this.html}_serializeChildNodes(parentNode){const childNodes=this.treeAdapter.getChildNodes(parentNode);if(childNodes)for(let i=0,cnLength=childNodes.length;i<cnLength;i++){const currentNode=childNodes[i];this.treeAdapter.isElementNode(currentNode)?this._serializeElement(currentNode):this.treeAdapter.isTextNode(currentNode)?this._serializeTextNode(currentNode):this.treeAdapter.isCommentNode(currentNode)?this._serializeCommentNode(currentNode):this.treeAdapter.isDocumentTypeNode(currentNode)&&this._serializeDocumentTypeNode(currentNode)}}_serializeElement(node){const tn=this.treeAdapter.getTagName(node),ns=this.treeAdapter.getNamespaceURI(node);if(this.html+="<"+tn,this._serializeAttributes(node),this.html+=">",tn!==$.AREA&&tn!==$.BASE&&tn!==$.BASEFONT&&tn!==$.BGSOUND&&tn!==$.BR&&tn!==$.COL&&tn!==$.EMBED&&tn!==$.FRAME&&tn!==$.HR&&tn!==$.IMG&&tn!==$.INPUT&&tn!==$.KEYGEN&&tn!==$.LINK&&tn!==$.META&&tn!==$.PARAM&&tn!==$.SOURCE&&tn!==$.TRACK&&tn!==$.WBR){const childNodesHolder=tn===$.TEMPLATE&&ns===NS.HTML?this.treeAdapter.getTemplateContent(node):node;this._serializeChildNodes(childNodesHolder),this.html+="</"+tn+">"}}_serializeAttributes(node){const attrs=this.treeAdapter.getAttrList(node);for(let i=0,attrsLength=attrs.length;i<attrsLength;i++){const attr=attrs[i],value=Serializer.escapeString(attr.value,!0);this.html+=" ",attr.namespace?attr.namespace===NS.XML?this.html+="xml:"+attr.name:attr.namespace===NS.XMLNS?("xmlns"!==attr.name&&(this.html+="xmlns:"),this.html+=attr.name):attr.namespace===NS.XLINK?this.html+="xlink:"+attr.name:this.html+=attr.prefix+":"+attr.name:this.html+=attr.name,this.html+='="'+value+'"'}}_serializeTextNode(node){const content=this.treeAdapter.getTextNodeContent(node),parent=this.treeAdapter.getParentNode(node);let parentTn;parent&&this.treeAdapter.isElementNode(parent)&&(parentTn=this.treeAdapter.getTagName(parent)),parentTn===$.STYLE||parentTn===$.SCRIPT||parentTn===$.XMP||parentTn===$.IFRAME||parentTn===$.NOEMBED||parentTn===$.NOFRAMES||parentTn===$.PLAINTEXT||parentTn===$.NOSCRIPT?this.html+=content:this.html+=Serializer.escapeString(content,!1)}_serializeCommentNode(node){this.html+="\x3c!--"+this.treeAdapter.getCommentNodeContent(node)+"--\x3e"}_serializeDocumentTypeNode(node){const name=this.treeAdapter.getDocumentTypeNodeName(node);this.html+="<"+doctype.serializeContent(name,null,null)+">"}}Serializer.escapeString=function(str,attrMode){return str=str.replace(AMP_REGEX,"&").replace(NBSP_REGEX," "),str=attrMode?str.replace(DOUBLE_QUOTE_REGEX,"""):str.replace(LT_REGEX,"<").replace(GT_REGEX,">")},module.exports=Serializer},55763:function(module,__unused_webpack_exports,__webpack_require__){const Preprocessor=__webpack_require__(77118),unicode=__webpack_require__(54284),neTree=__webpack_require__(5482),ERR=__webpack_require__(41734),$=unicode.CODE_POINTS,$$=unicode.CODE_POINT_SEQUENCES,C1_CONTROLS_REFERENCE_REPLACEMENTS={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},DATA_STATE="DATA_STATE";function isWhitespace(cp){return cp===$.SPACE||cp===$.LINE_FEED||cp===$.TABULATION||cp===$.FORM_FEED}function isAsciiDigit(cp){return cp>=$.DIGIT_0&&cp<=$.DIGIT_9}function isAsciiUpper(cp){return cp>=$.LATIN_CAPITAL_A&&cp<=$.LATIN_CAPITAL_Z}function isAsciiLower(cp){return cp>=$.LATIN_SMALL_A&&cp<=$.LATIN_SMALL_Z}function isAsciiLetter(cp){return isAsciiLower(cp)||isAsciiUpper(cp)}function isAsciiAlphaNumeric(cp){return isAsciiLetter(cp)||isAsciiDigit(cp)}function isAsciiUpperHexDigit(cp){return cp>=$.LATIN_CAPITAL_A&&cp<=$.LATIN_CAPITAL_F}function isAsciiLowerHexDigit(cp){return cp>=$.LATIN_SMALL_A&&cp<=$.LATIN_SMALL_F}function toAsciiLowerCodePoint(cp){return cp+32}function toChar(cp){return cp<=65535?String.fromCharCode(cp):(cp-=65536,String.fromCharCode(cp>>>10&1023|55296)+String.fromCharCode(56320|1023&cp))}function toAsciiLowerChar(cp){return String.fromCharCode(toAsciiLowerCodePoint(cp))}function findNamedEntityTreeBranch(nodeIx,cp){const branchCount=neTree[++nodeIx];let lo=++nodeIx,hi=lo+branchCount-1;for(;lo<=hi;){const mid=lo+hi>>>1,midCp=neTree[mid];if(midCp<cp)lo=mid+1;else{if(!(midCp>cp))return neTree[mid+branchCount];hi=mid-1}}return-1}class Tokenizer{constructor(){this.preprocessor=new Preprocessor,this.tokenQueue=[],this.allowCDATA=!1,this.state=DATA_STATE,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(err){this._consume(),this._err(err),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const cp=this._consume();this._ensureHibernation()||this[this.state](cp)}return this.tokenQueue.shift()}write(chunk,isLastChunk){this.active=!0,this.preprocessor.write(chunk,isLastChunk)}insertHtmlAtCurrentPos(chunk){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(chunk)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:Tokenizer.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(state){this.state=state,this._unconsume()}_consumeSequenceIfMatch(pattern,startCp,caseSensitive){let consumedCount=0,isMatch=!0;const patternLength=pattern.length;let patternCp,patternPos=0,cp=startCp;for(;patternPos<patternLength;patternPos++){if(patternPos>0&&(cp=this._consume(),consumedCount++),cp===$.EOF){isMatch=!1;break}if(patternCp=pattern[patternPos],cp!==patternCp&&(caseSensitive||cp!==toAsciiLowerCodePoint(patternCp))){isMatch=!1;break}}if(!isMatch)for(;consumedCount--;)this._unconsume();return isMatch}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==$$.SCRIPT_STRING.length)return!1;for(let i=0;i<this.tempBuff.length;i++)if(this.tempBuff[i]!==$$.SCRIPT_STRING[i])return!1;return!0}_createStartTagToken(){this.currentToken={type:Tokenizer.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:Tokenizer.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:Tokenizer.COMMENT_TOKEN,data:""}}_createDoctypeToken(initialName){this.currentToken={type:Tokenizer.DOCTYPE_TOKEN,name:initialName,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(type,ch){this.currentCharacterToken={type:type,chars:ch}}_createEOFToken(){this.currentToken={type:Tokenizer.EOF_TOKEN}}_createAttr(attrNameFirstCh){this.currentAttr={name:attrNameFirstCh,value:""}}_leaveAttrName(toState){null===Tokenizer.getTokenAttr(this.currentToken,this.currentAttr.name)?this.currentToken.attrs.push(this.currentAttr):this._err(ERR.duplicateAttribute),this.state=toState}_leaveAttrValue(toState){this.state=toState}_emitCurrentToken(){this._emitCurrentCharacterToken();const ct=this.currentToken;this.currentToken=null,ct.type===Tokenizer.START_TAG_TOKEN?this.lastStartTagName=ct.tagName:ct.type===Tokenizer.END_TAG_TOKEN&&(ct.attrs.length>0&&this._err(ERR.endTagWithAttributes),ct.selfClosing&&this._err(ERR.endTagWithTrailingSolidus)),this.tokenQueue.push(ct)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(type,ch){this.currentCharacterToken&&this.currentCharacterToken.type!==type&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=ch:this._createCharacterToken(type,ch)}_emitCodePoint(cp){let type=Tokenizer.CHARACTER_TOKEN;isWhitespace(cp)?type=Tokenizer.WHITESPACE_CHARACTER_TOKEN:cp===$.NULL&&(type=Tokenizer.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(type,toChar(cp))}_emitSeveralCodePoints(codePoints){for(let i=0;i<codePoints.length;i++)this._emitCodePoint(codePoints[i])}_emitChars(ch){this._appendCharToCurrentCharacterToken(Tokenizer.CHARACTER_TOKEN,ch)}_matchNamedCharacterReference(startCp){let result=null,excess=1,i=findNamedEntityTreeBranch(0,startCp);for(this.tempBuff.push(startCp);i>-1;){const current=neTree[i],inNode=current<7;inNode&&1¤t&&(result=2¤t?[neTree[++i],neTree[++i]]:[neTree[++i]],excess=0);const cp=this._consume();if(this.tempBuff.push(cp),excess++,cp===$.EOF)break;i=inNode?4¤t?findNamedEntityTreeBranch(i,cp):-1:cp===current?++i:-1}for(;excess--;)this.tempBuff.pop(),this._unconsume();return result}_isCharacterReferenceInAttribute(){return"ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE"===this.returnState||"ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE"===this.returnState||"ATTRIBUTE_VALUE_UNQUOTED_STATE"===this.returnState}_isCharacterReferenceAttributeQuirk(withSemicolon){if(!withSemicolon&&this._isCharacterReferenceInAttribute()){const nextCp=this._consume();return this._unconsume(),nextCp===$.EQUALS_SIGN||isAsciiAlphaNumeric(nextCp)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let i=0;i<this.tempBuff.length;i++)this.currentAttr.value+=toChar(this.tempBuff[i]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}[DATA_STATE](cp){this.preprocessor.dropParsedChunk(),cp===$.LESS_THAN_SIGN?this.state="TAG_OPEN_STATE":cp===$.AMPERSAND?(this.returnState=DATA_STATE,this.state="CHARACTER_REFERENCE_STATE"):cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this._emitCodePoint(cp)):cp===$.EOF?this._emitEOFToken():this._emitCodePoint(cp)}RCDATA_STATE(cp){this.preprocessor.dropParsedChunk(),cp===$.AMPERSAND?(this.returnState="RCDATA_STATE",this.state="CHARACTER_REFERENCE_STATE"):cp===$.LESS_THAN_SIGN?this.state="RCDATA_LESS_THAN_SIGN_STATE":cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this._emitChars(unicode.REPLACEMENT_CHARACTER)):cp===$.EOF?this._emitEOFToken():this._emitCodePoint(cp)}RAWTEXT_STATE(cp){this.preprocessor.dropParsedChunk(),cp===$.LESS_THAN_SIGN?this.state="RAWTEXT_LESS_THAN_SIGN_STATE":cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this._emitChars(unicode.REPLACEMENT_CHARACTER)):cp===$.EOF?this._emitEOFToken():this._emitCodePoint(cp)}SCRIPT_DATA_STATE(cp){this.preprocessor.dropParsedChunk(),cp===$.LESS_THAN_SIGN?this.state="SCRIPT_DATA_LESS_THAN_SIGN_STATE":cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this._emitChars(unicode.REPLACEMENT_CHARACTER)):cp===$.EOF?this._emitEOFToken():this._emitCodePoint(cp)}PLAINTEXT_STATE(cp){this.preprocessor.dropParsedChunk(),cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this._emitChars(unicode.REPLACEMENT_CHARACTER)):cp===$.EOF?this._emitEOFToken():this._emitCodePoint(cp)}TAG_OPEN_STATE(cp){cp===$.EXCLAMATION_MARK?this.state="MARKUP_DECLARATION_OPEN_STATE":cp===$.SOLIDUS?this.state="END_TAG_OPEN_STATE":isAsciiLetter(cp)?(this._createStartTagToken(),this._reconsumeInState("TAG_NAME_STATE")):cp===$.QUESTION_MARK?(this._err(ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState("BOGUS_COMMENT_STATE")):cp===$.EOF?(this._err(ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(DATA_STATE))}END_TAG_OPEN_STATE(cp){isAsciiLetter(cp)?(this._createEndTagToken(),this._reconsumeInState("TAG_NAME_STATE")):cp===$.GREATER_THAN_SIGN?(this._err(ERR.missingEndTagName),this.state=DATA_STATE):cp===$.EOF?(this._err(ERR.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(ERR.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState("BOGUS_COMMENT_STATE"))}TAG_NAME_STATE(cp){isWhitespace(cp)?this.state="BEFORE_ATTRIBUTE_NAME_STATE":cp===$.SOLIDUS?this.state="SELF_CLOSING_START_TAG_STATE":cp===$.GREATER_THAN_SIGN?(this.state=DATA_STATE,this._emitCurrentToken()):isAsciiUpper(cp)?this.currentToken.tagName+=toAsciiLowerChar(cp):cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.currentToken.tagName+=unicode.REPLACEMENT_CHARACTER):cp===$.EOF?(this._err(ERR.eofInTag),this._emitEOFToken()):this.currentToken.tagName+=toChar(cp)}RCDATA_LESS_THAN_SIGN_STATE(cp){cp===$.SOLIDUS?(this.tempBuff=[],this.state="RCDATA_END_TAG_OPEN_STATE"):(this._emitChars("<"),this._reconsumeInState("RCDATA_STATE"))}RCDATA_END_TAG_OPEN_STATE(cp){isAsciiLetter(cp)?(this._createEndTagToken(),this._reconsumeInState("RCDATA_END_TAG_NAME_STATE")):(this._emitChars("</"),this._reconsumeInState("RCDATA_STATE"))}RCDATA_END_TAG_NAME_STATE(cp){if(isAsciiUpper(cp))this.currentToken.tagName+=toAsciiLowerChar(cp),this.tempBuff.push(cp);else if(isAsciiLower(cp))this.currentToken.tagName+=toChar(cp),this.tempBuff.push(cp);else{if(this.lastStartTagName===this.currentToken.tagName){if(isWhitespace(cp))return void(this.state="BEFORE_ATTRIBUTE_NAME_STATE");if(cp===$.SOLIDUS)return void(this.state="SELF_CLOSING_START_TAG_STATE");if(cp===$.GREATER_THAN_SIGN)return this.state=DATA_STATE,void this._emitCurrentToken()}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState("RCDATA_STATE")}}RAWTEXT_LESS_THAN_SIGN_STATE(cp){cp===$.SOLIDUS?(this.tempBuff=[],this.state="RAWTEXT_END_TAG_OPEN_STATE"):(this._emitChars("<"),this._reconsumeInState("RAWTEXT_STATE"))}RAWTEXT_END_TAG_OPEN_STATE(cp){isAsciiLetter(cp)?(this._createEndTagToken(),this._reconsumeInState("RAWTEXT_END_TAG_NAME_STATE")):(this._emitChars("</"),this._reconsumeInState("RAWTEXT_STATE"))}RAWTEXT_END_TAG_NAME_STATE(cp){if(isAsciiUpper(cp))this.currentToken.tagName+=toAsciiLowerChar(cp),this.tempBuff.push(cp);else if(isAsciiLower(cp))this.currentToken.tagName+=toChar(cp),this.tempBuff.push(cp);else{if(this.lastStartTagName===this.currentToken.tagName){if(isWhitespace(cp))return void(this.state="BEFORE_ATTRIBUTE_NAME_STATE");if(cp===$.SOLIDUS)return void(this.state="SELF_CLOSING_START_TAG_STATE");if(cp===$.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=DATA_STATE)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState("RAWTEXT_STATE")}}SCRIPT_DATA_LESS_THAN_SIGN_STATE(cp){cp===$.SOLIDUS?(this.tempBuff=[],this.state="SCRIPT_DATA_END_TAG_OPEN_STATE"):cp===$.EXCLAMATION_MARK?(this.state="SCRIPT_DATA_ESCAPE_START_STATE",this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState("SCRIPT_DATA_STATE"))}SCRIPT_DATA_END_TAG_OPEN_STATE(cp){isAsciiLetter(cp)?(this._createEndTagToken(),this._reconsumeInState("SCRIPT_DATA_END_TAG_NAME_STATE")):(this._emitChars("</"),this._reconsumeInState("SCRIPT_DATA_STATE"))}SCRIPT_DATA_END_TAG_NAME_STATE(cp){if(isAsciiUpper(cp))this.currentToken.tagName+=toAsciiLowerChar(cp),this.tempBuff.push(cp);else if(isAsciiLower(cp))this.currentToken.tagName+=toChar(cp),this.tempBuff.push(cp);else{if(this.lastStartTagName===this.currentToken.tagName){if(isWhitespace(cp))return void(this.state="BEFORE_ATTRIBUTE_NAME_STATE");if(cp===$.SOLIDUS)return void(this.state="SELF_CLOSING_START_TAG_STATE");if(cp===$.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=DATA_STATE)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState("SCRIPT_DATA_STATE")}}SCRIPT_DATA_ESCAPE_START_STATE(cp){cp===$.HYPHEN_MINUS?(this.state="SCRIPT_DATA_ESCAPE_START_DASH_STATE",this._emitChars("-")):this._reconsumeInState("SCRIPT_DATA_STATE")}SCRIPT_DATA_ESCAPE_START_DASH_STATE(cp){cp===$.HYPHEN_MINUS?(this.state="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",this._emitChars("-")):this._reconsumeInState("SCRIPT_DATA_STATE")}SCRIPT_DATA_ESCAPED_STATE(cp){cp===$.HYPHEN_MINUS?(this.state="SCRIPT_DATA_ESCAPED_DASH_STATE",this._emitChars("-")):cp===$.LESS_THAN_SIGN?this.state="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE":cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this._emitChars(unicode.REPLACEMENT_CHARACTER)):cp===$.EOF?(this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(cp)}SCRIPT_DATA_ESCAPED_DASH_STATE(cp){cp===$.HYPHEN_MINUS?(this.state="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",this._emitChars("-")):cp===$.LESS_THAN_SIGN?this.state="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE":cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.state="SCRIPT_DATA_ESCAPED_STATE",this._emitChars(unicode.REPLACEMENT_CHARACTER)):cp===$.EOF?(this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state="SCRIPT_DATA_ESCAPED_STATE",this._emitCodePoint(cp))}SCRIPT_DATA_ESCAPED_DASH_DASH_STATE(cp){cp===$.HYPHEN_MINUS?this._emitChars("-"):cp===$.LESS_THAN_SIGN?this.state="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE":cp===$.GREATER_THAN_SIGN?(this.state="SCRIPT_DATA_STATE",this._emitChars(">")):cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.state="SCRIPT_DATA_ESCAPED_STATE",this._emitChars(unicode.REPLACEMENT_CHARACTER)):cp===$.EOF?(this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state="SCRIPT_DATA_ESCAPED_STATE",this._emitCodePoint(cp))}SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE(cp){cp===$.SOLIDUS?(this.tempBuff=[],this.state="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE"):isAsciiLetter(cp)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState("SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE")):(this._emitChars("<"),this._reconsumeInState("SCRIPT_DATA_ESCAPED_STATE"))}SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE(cp){isAsciiLetter(cp)?(this._createEndTagToken(),this._reconsumeInState("SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE")):(this._emitChars("</"),this._reconsumeInState("SCRIPT_DATA_ESCAPED_STATE"))}SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE(cp){if(isAsciiUpper(cp))this.currentToken.tagName+=toAsciiLowerChar(cp),this.tempBuff.push(cp);else if(isAsciiLower(cp))this.currentToken.tagName+=toChar(cp),this.tempBuff.push(cp);else{if(this.lastStartTagName===this.currentToken.tagName){if(isWhitespace(cp))return void(this.state="BEFORE_ATTRIBUTE_NAME_STATE");if(cp===$.SOLIDUS)return void(this.state="SELF_CLOSING_START_TAG_STATE");if(cp===$.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=DATA_STATE)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState("SCRIPT_DATA_ESCAPED_STATE")}}SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE(cp){isWhitespace(cp)||cp===$.SOLIDUS||cp===$.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?"SCRIPT_DATA_DOUBLE_ESCAPED_STATE":"SCRIPT_DATA_ESCAPED_STATE",this._emitCodePoint(cp)):isAsciiUpper(cp)?(this.tempBuff.push(toAsciiLowerCodePoint(cp)),this._emitCodePoint(cp)):isAsciiLower(cp)?(this.tempBuff.push(cp),this._emitCodePoint(cp)):this._reconsumeInState("SCRIPT_DATA_ESCAPED_STATE")}SCRIPT_DATA_DOUBLE_ESCAPED_STATE(cp){cp===$.HYPHEN_MINUS?(this.state="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",this._emitChars("-")):cp===$.LESS_THAN_SIGN?(this.state="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",this._emitChars("<")):cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this._emitChars(unicode.REPLACEMENT_CHARACTER)):cp===$.EOF?(this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(cp)}SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE(cp){cp===$.HYPHEN_MINUS?(this.state="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",this._emitChars("-")):cp===$.LESS_THAN_SIGN?(this.state="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",this._emitChars("<")):cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.state="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitChars(unicode.REPLACEMENT_CHARACTER)):cp===$.EOF?(this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitCodePoint(cp))}SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE(cp){cp===$.HYPHEN_MINUS?this._emitChars("-"):cp===$.LESS_THAN_SIGN?(this.state="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",this._emitChars("<")):cp===$.GREATER_THAN_SIGN?(this.state="SCRIPT_DATA_STATE",this._emitChars(">")):cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.state="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitChars(unicode.REPLACEMENT_CHARACTER)):cp===$.EOF?(this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitCodePoint(cp))}SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE(cp){cp===$.SOLIDUS?(this.tempBuff=[],this.state="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",this._emitChars("/")):this._reconsumeInState("SCRIPT_DATA_DOUBLE_ESCAPED_STATE")}SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE(cp){isWhitespace(cp)||cp===$.SOLIDUS||cp===$.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?"SCRIPT_DATA_ESCAPED_STATE":"SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitCodePoint(cp)):isAsciiUpper(cp)?(this.tempBuff.push(toAsciiLowerCodePoint(cp)),this._emitCodePoint(cp)):isAsciiLower(cp)?(this.tempBuff.push(cp),this._emitCodePoint(cp)):this._reconsumeInState("SCRIPT_DATA_DOUBLE_ESCAPED_STATE")}BEFORE_ATTRIBUTE_NAME_STATE(cp){isWhitespace(cp)||(cp===$.SOLIDUS||cp===$.GREATER_THAN_SIGN||cp===$.EOF?this._reconsumeInState("AFTER_ATTRIBUTE_NAME_STATE"):cp===$.EQUALS_SIGN?(this._err(ERR.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state="ATTRIBUTE_NAME_STATE"):(this._createAttr(""),this._reconsumeInState("ATTRIBUTE_NAME_STATE")))}ATTRIBUTE_NAME_STATE(cp){isWhitespace(cp)||cp===$.SOLIDUS||cp===$.GREATER_THAN_SIGN||cp===$.EOF?(this._leaveAttrName("AFTER_ATTRIBUTE_NAME_STATE"),this._unconsume()):cp===$.EQUALS_SIGN?this._leaveAttrName("BEFORE_ATTRIBUTE_VALUE_STATE"):isAsciiUpper(cp)?this.currentAttr.name+=toAsciiLowerChar(cp):cp===$.QUOTATION_MARK||cp===$.APOSTROPHE||cp===$.LESS_THAN_SIGN?(this._err(ERR.unexpectedCharacterInAttributeName),this.currentAttr.name+=toChar(cp)):cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.currentAttr.name+=unicode.REPLACEMENT_CHARACTER):this.currentAttr.name+=toChar(cp)}AFTER_ATTRIBUTE_NAME_STATE(cp){isWhitespace(cp)||(cp===$.SOLIDUS?this.state="SELF_CLOSING_START_TAG_STATE":cp===$.EQUALS_SIGN?this.state="BEFORE_ATTRIBUTE_VALUE_STATE":cp===$.GREATER_THAN_SIGN?(this.state=DATA_STATE,this._emitCurrentToken()):cp===$.EOF?(this._err(ERR.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState("ATTRIBUTE_NAME_STATE")))}BEFORE_ATTRIBUTE_VALUE_STATE(cp){isWhitespace(cp)||(cp===$.QUOTATION_MARK?this.state="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE":cp===$.APOSTROPHE?this.state="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE":cp===$.GREATER_THAN_SIGN?(this._err(ERR.missingAttributeValue),this.state=DATA_STATE,this._emitCurrentToken()):this._reconsumeInState("ATTRIBUTE_VALUE_UNQUOTED_STATE"))}ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE(cp){cp===$.QUOTATION_MARK?this.state="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE":cp===$.AMPERSAND?(this.returnState="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",this.state="CHARACTER_REFERENCE_STATE"):cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.currentAttr.value+=unicode.REPLACEMENT_CHARACTER):cp===$.EOF?(this._err(ERR.eofInTag),this._emitEOFToken()):this.currentAttr.value+=toChar(cp)}ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE(cp){cp===$.APOSTROPHE?this.state="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE":cp===$.AMPERSAND?(this.returnState="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",this.state="CHARACTER_REFERENCE_STATE"):cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.currentAttr.value+=unicode.REPLACEMENT_CHARACTER):cp===$.EOF?(this._err(ERR.eofInTag),this._emitEOFToken()):this.currentAttr.value+=toChar(cp)}ATTRIBUTE_VALUE_UNQUOTED_STATE(cp){isWhitespace(cp)?this._leaveAttrValue("BEFORE_ATTRIBUTE_NAME_STATE"):cp===$.AMPERSAND?(this.returnState="ATTRIBUTE_VALUE_UNQUOTED_STATE",this.state="CHARACTER_REFERENCE_STATE"):cp===$.GREATER_THAN_SIGN?(this._leaveAttrValue(DATA_STATE),this._emitCurrentToken()):cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.currentAttr.value+=unicode.REPLACEMENT_CHARACTER):cp===$.QUOTATION_MARK||cp===$.APOSTROPHE||cp===$.LESS_THAN_SIGN||cp===$.EQUALS_SIGN||cp===$.GRAVE_ACCENT?(this._err(ERR.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=toChar(cp)):cp===$.EOF?(this._err(ERR.eofInTag),this._emitEOFToken()):this.currentAttr.value+=toChar(cp)}AFTER_ATTRIBUTE_VALUE_QUOTED_STATE(cp){isWhitespace(cp)?this._leaveAttrValue("BEFORE_ATTRIBUTE_NAME_STATE"):cp===$.SOLIDUS?this._leaveAttrValue("SELF_CLOSING_START_TAG_STATE"):cp===$.GREATER_THAN_SIGN?(this._leaveAttrValue(DATA_STATE),this._emitCurrentToken()):cp===$.EOF?(this._err(ERR.eofInTag),this._emitEOFToken()):(this._err(ERR.missingWhitespaceBetweenAttributes),this._reconsumeInState("BEFORE_ATTRIBUTE_NAME_STATE"))}SELF_CLOSING_START_TAG_STATE(cp){cp===$.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=DATA_STATE,this._emitCurrentToken()):cp===$.EOF?(this._err(ERR.eofInTag),this._emitEOFToken()):(this._err(ERR.unexpectedSolidusInTag),this._reconsumeInState("BEFORE_ATTRIBUTE_NAME_STATE"))}BOGUS_COMMENT_STATE(cp){cp===$.GREATER_THAN_SIGN?(this.state=DATA_STATE,this._emitCurrentToken()):cp===$.EOF?(this._emitCurrentToken(),this._emitEOFToken()):cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.currentToken.data+=unicode.REPLACEMENT_CHARACTER):this.currentToken.data+=toChar(cp)}MARKUP_DECLARATION_OPEN_STATE(cp){this._consumeSequenceIfMatch($$.DASH_DASH_STRING,cp,!0)?(this._createCommentToken(),this.state="COMMENT_START_STATE"):this._consumeSequenceIfMatch($$.DOCTYPE_STRING,cp,!1)?this.state="DOCTYPE_STATE":this._consumeSequenceIfMatch($$.CDATA_START_STRING,cp,!0)?this.allowCDATA?this.state="CDATA_SECTION_STATE":(this._err(ERR.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state="BOGUS_COMMENT_STATE"):this._ensureHibernation()||(this._err(ERR.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState("BOGUS_COMMENT_STATE"))}COMMENT_START_STATE(cp){cp===$.HYPHEN_MINUS?this.state="COMMENT_START_DASH_STATE":cp===$.GREATER_THAN_SIGN?(this._err(ERR.abruptClosingOfEmptyComment),this.state=DATA_STATE,this._emitCurrentToken()):this._reconsumeInState("COMMENT_STATE")}COMMENT_START_DASH_STATE(cp){cp===$.HYPHEN_MINUS?this.state="COMMENT_END_STATE":cp===$.GREATER_THAN_SIGN?(this._err(ERR.abruptClosingOfEmptyComment),this.state=DATA_STATE,this._emitCurrentToken()):cp===$.EOF?(this._err(ERR.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState("COMMENT_STATE"))}COMMENT_STATE(cp){cp===$.HYPHEN_MINUS?this.state="COMMENT_END_DASH_STATE":cp===$.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state="COMMENT_LESS_THAN_SIGN_STATE"):cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.currentToken.data+=unicode.REPLACEMENT_CHARACTER):cp===$.EOF?(this._err(ERR.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=toChar(cp)}COMMENT_LESS_THAN_SIGN_STATE(cp){cp===$.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state="COMMENT_LESS_THAN_SIGN_BANG_STATE"):cp===$.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState("COMMENT_STATE")}COMMENT_LESS_THAN_SIGN_BANG_STATE(cp){cp===$.HYPHEN_MINUS?this.state="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE":this._reconsumeInState("COMMENT_STATE")}COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE(cp){cp===$.HYPHEN_MINUS?this.state="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE":this._reconsumeInState("COMMENT_END_DASH_STATE")}COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE(cp){cp!==$.GREATER_THAN_SIGN&&cp!==$.EOF&&this._err(ERR.nestedComment),this._reconsumeInState("COMMENT_END_STATE")}COMMENT_END_DASH_STATE(cp){cp===$.HYPHEN_MINUS?this.state="COMMENT_END_STATE":cp===$.EOF?(this._err(ERR.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState("COMMENT_STATE"))}COMMENT_END_STATE(cp){cp===$.GREATER_THAN_SIGN?(this.state=DATA_STATE,this._emitCurrentToken()):cp===$.EXCLAMATION_MARK?this.state="COMMENT_END_BANG_STATE":cp===$.HYPHEN_MINUS?this.currentToken.data+="-":cp===$.EOF?(this._err(ERR.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState("COMMENT_STATE"))}COMMENT_END_BANG_STATE(cp){cp===$.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state="COMMENT_END_DASH_STATE"):cp===$.GREATER_THAN_SIGN?(this._err(ERR.incorrectlyClosedComment),this.state=DATA_STATE,this._emitCurrentToken()):cp===$.EOF?(this._err(ERR.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState("COMMENT_STATE"))}DOCTYPE_STATE(cp){isWhitespace(cp)?this.state="BEFORE_DOCTYPE_NAME_STATE":cp===$.GREATER_THAN_SIGN?this._reconsumeInState("BEFORE_DOCTYPE_NAME_STATE"):cp===$.EOF?(this._err(ERR.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ERR.missingWhitespaceBeforeDoctypeName),this._reconsumeInState("BEFORE_DOCTYPE_NAME_STATE"))}BEFORE_DOCTYPE_NAME_STATE(cp){isWhitespace(cp)||(isAsciiUpper(cp)?(this._createDoctypeToken(toAsciiLowerChar(cp)),this.state="DOCTYPE_NAME_STATE"):cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this._createDoctypeToken(unicode.REPLACEMENT_CHARACTER),this.state="DOCTYPE_NAME_STATE"):cp===$.GREATER_THAN_SIGN?(this._err(ERR.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=DATA_STATE):cp===$.EOF?(this._err(ERR.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(toChar(cp)),this.state="DOCTYPE_NAME_STATE"))}DOCTYPE_NAME_STATE(cp){isWhitespace(cp)?this.state="AFTER_DOCTYPE_NAME_STATE":cp===$.GREATER_THAN_SIGN?(this.state=DATA_STATE,this._emitCurrentToken()):isAsciiUpper(cp)?this.currentToken.name+=toAsciiLowerChar(cp):cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.currentToken.name+=unicode.REPLACEMENT_CHARACTER):cp===$.EOF?(this._err(ERR.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=toChar(cp)}AFTER_DOCTYPE_NAME_STATE(cp){isWhitespace(cp)||(cp===$.GREATER_THAN_SIGN?(this.state=DATA_STATE,this._emitCurrentToken()):cp===$.EOF?(this._err(ERR.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch($$.PUBLIC_STRING,cp,!1)?this.state="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE":this._consumeSequenceIfMatch($$.SYSTEM_STRING,cp,!1)?this.state="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE":this._ensureHibernation()||(this._err(ERR.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")))}AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE(cp){isWhitespace(cp)?this.state="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE":cp===$.QUOTATION_MARK?(this._err(ERR.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE"):cp===$.APOSTROPHE?(this._err(ERR.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE"):cp===$.GREATER_THAN_SIGN?(this._err(ERR.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=DATA_STATE,this._emitCurrentToken()):cp===$.EOF?(this._err(ERR.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ERR.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE"))}BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE(cp){isWhitespace(cp)||(cp===$.QUOTATION_MARK?(this.currentToken.publicId="",this.state="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE"):cp===$.APOSTROPHE?(this.currentToken.publicId="",this.state="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE"):cp===$.GREATER_THAN_SIGN?(this._err(ERR.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=DATA_STATE,this._emitCurrentToken()):cp===$.EOF?(this._err(ERR.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ERR.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")))}DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE(cp){cp===$.QUOTATION_MARK?this.state="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE":cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.currentToken.publicId+=unicode.REPLACEMENT_CHARACTER):cp===$.GREATER_THAN_SIGN?(this._err(ERR.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=DATA_STATE):cp===$.EOF?(this._err(ERR.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=toChar(cp)}DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE(cp){cp===$.APOSTROPHE?this.state="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE":cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.currentToken.publicId+=unicode.REPLACEMENT_CHARACTER):cp===$.GREATER_THAN_SIGN?(this._err(ERR.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=DATA_STATE):cp===$.EOF?(this._err(ERR.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=toChar(cp)}AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE(cp){isWhitespace(cp)?this.state="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE":cp===$.GREATER_THAN_SIGN?(this.state=DATA_STATE,this._emitCurrentToken()):cp===$.QUOTATION_MARK?(this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE"):cp===$.APOSTROPHE?(this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE"):cp===$.EOF?(this._err(ERR.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE"))}BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE(cp){isWhitespace(cp)||(cp===$.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=DATA_STATE):cp===$.QUOTATION_MARK?(this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE"):cp===$.APOSTROPHE?(this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE"):cp===$.EOF?(this._err(ERR.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")))}AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE(cp){isWhitespace(cp)?this.state="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE":cp===$.QUOTATION_MARK?(this._err(ERR.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE"):cp===$.APOSTROPHE?(this._err(ERR.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE"):cp===$.GREATER_THAN_SIGN?(this._err(ERR.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=DATA_STATE,this._emitCurrentToken()):cp===$.EOF?(this._err(ERR.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE"))}BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE(cp){isWhitespace(cp)||(cp===$.QUOTATION_MARK?(this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE"):cp===$.APOSTROPHE?(this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE"):cp===$.GREATER_THAN_SIGN?(this._err(ERR.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=DATA_STATE,this._emitCurrentToken()):cp===$.EOF?(this._err(ERR.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")))}DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE(cp){cp===$.QUOTATION_MARK?this.state="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE":cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.currentToken.systemId+=unicode.REPLACEMENT_CHARACTER):cp===$.GREATER_THAN_SIGN?(this._err(ERR.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=DATA_STATE):cp===$.EOF?(this._err(ERR.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=toChar(cp)}DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE(cp){cp===$.APOSTROPHE?this.state="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE":cp===$.NULL?(this._err(ERR.unexpectedNullCharacter),this.currentToken.systemId+=unicode.REPLACEMENT_CHARACTER):cp===$.GREATER_THAN_SIGN?(this._err(ERR.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=DATA_STATE):cp===$.EOF?(this._err(ERR.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=toChar(cp)}AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE(cp){isWhitespace(cp)||(cp===$.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=DATA_STATE):cp===$.EOF?(this._err(ERR.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ERR.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState("BOGUS_DOCTYPE_STATE")))}BOGUS_DOCTYPE_STATE(cp){cp===$.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=DATA_STATE):cp===$.NULL?this._err(ERR.unexpectedNullCharacter):cp===$.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}CDATA_SECTION_STATE(cp){cp===$.RIGHT_SQUARE_BRACKET?this.state="CDATA_SECTION_BRACKET_STATE":cp===$.EOF?(this._err(ERR.eofInCdata),this._emitEOFToken()):this._emitCodePoint(cp)}CDATA_SECTION_BRACKET_STATE(cp){cp===$.RIGHT_SQUARE_BRACKET?this.state="CDATA_SECTION_END_STATE":(this._emitChars("]"),this._reconsumeInState("CDATA_SECTION_STATE"))}CDATA_SECTION_END_STATE(cp){cp===$.GREATER_THAN_SIGN?this.state=DATA_STATE:cp===$.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState("CDATA_SECTION_STATE"))}CHARACTER_REFERENCE_STATE(cp){this.tempBuff=[$.AMPERSAND],cp===$.NUMBER_SIGN?(this.tempBuff.push(cp),this.state="NUMERIC_CHARACTER_REFERENCE_STATE"):isAsciiAlphaNumeric(cp)?this._reconsumeInState("NAMED_CHARACTER_REFERENCE_STATE"):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}NAMED_CHARACTER_REFERENCE_STATE(cp){const matchResult=this._matchNamedCharacterReference(cp);if(this._ensureHibernation())this.tempBuff=[$.AMPERSAND];else if(matchResult){const withSemicolon=this.tempBuff[this.tempBuff.length-1]===$.SEMICOLON;this._isCharacterReferenceAttributeQuirk(withSemicolon)||(withSemicolon||this._errOnNextCodePoint(ERR.missingSemicolonAfterCharacterReference),this.tempBuff=matchResult),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state="AMBIGUOS_AMPERSAND_STATE"}AMBIGUOS_AMPERSAND_STATE(cp){isAsciiAlphaNumeric(cp)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=toChar(cp):this._emitCodePoint(cp):(cp===$.SEMICOLON&&this._err(ERR.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}NUMERIC_CHARACTER_REFERENCE_STATE(cp){this.charRefCode=0,cp===$.LATIN_SMALL_X||cp===$.LATIN_CAPITAL_X?(this.tempBuff.push(cp),this.state="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE"):this._reconsumeInState("DECIMAL_CHARACTER_REFERENCE_START_STATE")}HEXADEMICAL_CHARACTER_REFERENCE_START_STATE(cp){!function isAsciiHexDigit(cp){return isAsciiDigit(cp)||isAsciiUpperHexDigit(cp)||isAsciiLowerHexDigit(cp)}(cp)?(this._err(ERR.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState("HEXADEMICAL_CHARACTER_REFERENCE_STATE")}DECIMAL_CHARACTER_REFERENCE_START_STATE(cp){isAsciiDigit(cp)?this._reconsumeInState("DECIMAL_CHARACTER_REFERENCE_STATE"):(this._err(ERR.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}HEXADEMICAL_CHARACTER_REFERENCE_STATE(cp){isAsciiUpperHexDigit(cp)?this.charRefCode=16*this.charRefCode+cp-55:isAsciiLowerHexDigit(cp)?this.charRefCode=16*this.charRefCode+cp-87:isAsciiDigit(cp)?this.charRefCode=16*this.charRefCode+cp-48:cp===$.SEMICOLON?this.state="NUMERIC_CHARACTER_REFERENCE_END_STATE":(this._err(ERR.missingSemicolonAfterCharacterReference),this._reconsumeInState("NUMERIC_CHARACTER_REFERENCE_END_STATE"))}DECIMAL_CHARACTER_REFERENCE_STATE(cp){isAsciiDigit(cp)?this.charRefCode=10*this.charRefCode+cp-48:cp===$.SEMICOLON?this.state="NUMERIC_CHARACTER_REFERENCE_END_STATE":(this._err(ERR.missingSemicolonAfterCharacterReference),this._reconsumeInState("NUMERIC_CHARACTER_REFERENCE_END_STATE"))}NUMERIC_CHARACTER_REFERENCE_END_STATE(){if(this.charRefCode===$.NULL)this._err(ERR.nullCharacterReference),this.charRefCode=$.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(ERR.characterReferenceOutsideUnicodeRange),this.charRefCode=$.REPLACEMENT_CHARACTER;else if(unicode.isSurrogate(this.charRefCode))this._err(ERR.surrogateCharacterReference),this.charRefCode=$.REPLACEMENT_CHARACTER;else if(unicode.isUndefinedCodePoint(this.charRefCode))this._err(ERR.noncharacterCharacterReference);else if(unicode.isControlCodePoint(this.charRefCode)||this.charRefCode===$.CARRIAGE_RETURN){this._err(ERR.controlCharacterReference);const replacement=C1_CONTROLS_REFERENCE_REPLACEMENTS[this.charRefCode];replacement&&(this.charRefCode=replacement)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}Tokenizer.CHARACTER_TOKEN="CHARACTER_TOKEN",Tokenizer.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",Tokenizer.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",Tokenizer.START_TAG_TOKEN="START_TAG_TOKEN",Tokenizer.END_TAG_TOKEN="END_TAG_TOKEN",Tokenizer.COMMENT_TOKEN="COMMENT_TOKEN",Tokenizer.DOCTYPE_TOKEN="DOCTYPE_TOKEN",Tokenizer.EOF_TOKEN="EOF_TOKEN",Tokenizer.HIBERNATION_TOKEN="HIBERNATION_TOKEN",Tokenizer.MODE={DATA:DATA_STATE,RCDATA:"RCDATA_STATE",RAWTEXT:"RAWTEXT_STATE",SCRIPT_DATA:"SCRIPT_DATA_STATE",PLAINTEXT:"PLAINTEXT_STATE"},Tokenizer.getTokenAttr=function(token,attrName){for(let i=token.attrs.length-1;i>=0;i--)if(token.attrs[i].name===attrName)return token.attrs[i].value;return null},module.exports=Tokenizer},5482:function(module){module.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])},77118:function(module,__unused_webpack_exports,__webpack_require__){const unicode=__webpack_require__(54284),ERR=__webpack_require__(41734),$=unicode.CODE_POINTS;module.exports=class Preprocessor{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(cp){if(this.pos!==this.lastCharPos){const nextCp=this.html.charCodeAt(this.pos+1);if(unicode.isSurrogatePair(nextCp))return this.pos++,this._addGap(),unicode.getSurrogatePairCodePoint(cp,nextCp)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,$.EOF;return this._err(ERR.surrogateInInputStream),cp}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(chunk,isLastChunk){this.html?this.html+=chunk:this.html=chunk,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=isLastChunk}insertHtmlAtCurrentPos(chunk){this.html=this.html.substring(0,this.pos+1)+chunk+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,$.EOF;let cp=this.html.charCodeAt(this.pos);if(this.skipNextNewLine&&cp===$.LINE_FEED)return this.skipNextNewLine=!1,this._addGap(),this.advance();if(cp===$.CARRIAGE_RETURN)return this.skipNextNewLine=!0,$.LINE_FEED;this.skipNextNewLine=!1,unicode.isSurrogate(cp)&&(cp=this._processSurrogate(cp));return cp>31&&cp<127||cp===$.LINE_FEED||cp===$.CARRIAGE_RETURN||cp>159&&cp<64976||this._checkForProblematicCharacters(cp),cp}_checkForProblematicCharacters(cp){unicode.isControlCodePoint(cp)?this._err(ERR.controlCharacterInInputStream):unicode.isUndefinedCodePoint(cp)&&this._err(ERR.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}},17296:function(__unused_webpack_module,exports,__webpack_require__){const{DOCUMENT_MODE:DOCUMENT_MODE}=__webpack_require__(16152);exports.createDocument=function(){return{nodeName:"#document",mode:DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}},exports.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},exports.createElement=function(tagName,namespaceURI,attrs){return{nodeName:tagName,tagName:tagName,attrs:attrs,namespaceURI:namespaceURI,childNodes:[],parentNode:null}},exports.createCommentNode=function(data){return{nodeName:"#comment",data:data,parentNode:null}};const createTextNode=function(value){return{nodeName:"#text",value:value,parentNode:null}},appendChild=exports.appendChild=function(parentNode,newNode){parentNode.childNodes.push(newNode),newNode.parentNode=parentNode},insertBefore=exports.insertBefore=function(parentNode,newNode,referenceNode){const insertionIdx=parentNode.childNodes.indexOf(referenceNode);parentNode.childNodes.splice(insertionIdx,0,newNode),newNode.parentNode=parentNode};exports.setTemplateContent=function(templateElement,contentElement){templateElement.content=contentElement},exports.getTemplateContent=function(templateElement){return templateElement.content},exports.setDocumentType=function(document,name,publicId,systemId){let doctypeNode=null;for(let i=0;i<document.childNodes.length;i++)if("#documentType"===document.childNodes[i].nodeName){doctypeNode=document.childNodes[i];break}doctypeNode?(doctypeNode.name=name,doctypeNode.publicId=publicId,doctypeNode.systemId=systemId):appendChild(document,{nodeName:"#documentType",name:name,publicId:publicId,systemId:systemId})},exports.setDocumentMode=function(document,mode){document.mode=mode},exports.getDocumentMode=function(document){return document.mode},exports.detachNode=function(node){if(node.parentNode){const idx=node.parentNode.childNodes.indexOf(node);node.parentNode.childNodes.splice(idx,1),node.parentNode=null}},exports.insertText=function(parentNode,text){if(parentNode.childNodes.length){const prevNode=parentNode.childNodes[parentNode.childNodes.length-1];if("#text"===prevNode.nodeName)return void(prevNode.value+=text)}appendChild(parentNode,createTextNode(text))},exports.insertTextBefore=function(parentNode,text,referenceNode){const prevNode=parentNode.childNodes[parentNode.childNodes.indexOf(referenceNode)-1];prevNode&&"#text"===prevNode.nodeName?prevNode.value+=text:insertBefore(parentNode,createTextNode(text),referenceNode)},exports.adoptAttributes=function(recipient,attrs){const recipientAttrsMap=[];for(let i=0;i<recipient.attrs.length;i++)recipientAttrsMap.push(recipient.attrs[i].name);for(let j=0;j<attrs.length;j++)-1===recipientAttrsMap.indexOf(attrs[j].name)&&recipient.attrs.push(attrs[j])},exports.getFirstChild=function(node){return node.childNodes[0]},exports.getChildNodes=function(node){return node.childNodes},exports.getParentNode=function(node){return node.parentNode},exports.getAttrList=function(element){return element.attrs},exports.getTagName=function(element){return element.tagName},exports.getNamespaceURI=function(element){return element.namespaceURI},exports.getTextNodeContent=function(textNode){return textNode.value},exports.getCommentNodeContent=function(commentNode){return commentNode.data},exports.getDocumentTypeNodeName=function(doctypeNode){return doctypeNode.name},exports.getDocumentTypeNodePublicId=function(doctypeNode){return doctypeNode.publicId},exports.getDocumentTypeNodeSystemId=function(doctypeNode){return doctypeNode.systemId},exports.isTextNode=function(node){return"#text"===node.nodeName},exports.isCommentNode=function(node){return"#comment"===node.nodeName},exports.isDocumentTypeNode=function(node){return"#documentType"===node.nodeName},exports.isElementNode=function(node){return!!node.tagName},exports.setNodeSourceCodeLocation=function(node,location){node.sourceCodeLocation=location},exports.getNodeSourceCodeLocation=function(node){return node.sourceCodeLocation},exports.updateNodeSourceCodeLocation=function(node,endLocation){node.sourceCodeLocation=Object.assign(node.sourceCodeLocation,endLocation)}},8904:function(module){module.exports=function mergeOptions(defaults,options){return[defaults,options=options||Object.create(null)].reduce(((merged,optObj)=>(Object.keys(optObj).forEach((key=>{merged[key]=optObj[key]})),merged)),Object.create(null))}},81704:function(module){class Mixin{constructor(host){const originalMethods={},overriddenMethods=this._getOverriddenMethods(this,originalMethods);for(const key of Object.keys(overriddenMethods))"function"==typeof overriddenMethods[key]&&(originalMethods[key]=host[key],host[key]=overriddenMethods[key])}_getOverriddenMethods(){throw new Error("Not implemented")}}Mixin.install=function(host,Ctor,opts){host.__mixins||(host.__mixins=[]);for(let i=0;i<host.__mixins.length;i++)if(host.__mixins[i].constructor===Ctor)return host.__mixins[i];const mixin=new Ctor(host,opts);return host.__mixins.push(mixin),mixin},module.exports=Mixin},26470:function(module,__unused_webpack_exports,__webpack_require__){var process=__webpack_require__(34155);function assertPath(path){if("string"!=typeof path)throw new TypeError("Path must be a string. Received "+JSON.stringify(path))}function normalizeStringPosix(path,allowAboveRoot){for(var code,res="",lastSegmentLength=0,lastSlash=-1,dots=0,i=0;i<=path.length;++i){if(i<path.length)code=path.charCodeAt(i);else{if(47===code)break;code=47}if(47===code){if(lastSlash===i-1||1===dots);else if(lastSlash!==i-1&&2===dots){if(res.length<2||2!==lastSegmentLength||46!==res.charCodeAt(res.length-1)||46!==res.charCodeAt(res.length-2))if(res.length>2){var lastSlashIndex=res.lastIndexOf("/");if(lastSlashIndex!==res.length-1){-1===lastSlashIndex?(res="",lastSegmentLength=0):lastSegmentLength=(res=res.slice(0,lastSlashIndex)).length-1-res.lastIndexOf("/"),lastSlash=i,dots=0;continue}}else if(2===res.length||1===res.length){res="",lastSegmentLength=0,lastSlash=i,dots=0;continue}allowAboveRoot&&(res.length>0?res+="/..":res="..",lastSegmentLength=2)}else res.length>0?res+="/"+path.slice(lastSlash+1,i):res=path.slice(lastSlash+1,i),lastSegmentLength=i-lastSlash-1;lastSlash=i,dots=0}else 46===code&&-1!==dots?++dots:dots=-1}return res}var posix={resolve:function resolve(){for(var cwd,resolvedPath="",resolvedAbsolute=!1,i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path;i>=0?path=arguments[i]:(void 0===cwd&&(cwd=process.cwd()),path=cwd),assertPath(path),0!==path.length&&(resolvedPath=path+"/"+resolvedPath,resolvedAbsolute=47===path.charCodeAt(0))}return resolvedPath=normalizeStringPosix(resolvedPath,!resolvedAbsolute),resolvedAbsolute?resolvedPath.length>0?"/"+resolvedPath:"/":resolvedPath.length>0?resolvedPath:"."},normalize:function normalize(path){if(assertPath(path),0===path.length)return".";var isAbsolute=47===path.charCodeAt(0),trailingSeparator=47===path.charCodeAt(path.length-1);return 0!==(path=normalizeStringPosix(path,!isAbsolute)).length||isAbsolute||(path="."),path.length>0&&trailingSeparator&&(path+="/"),isAbsolute?"/"+path:path},isAbsolute:function isAbsolute(path){return assertPath(path),path.length>0&&47===path.charCodeAt(0)},join:function join(){if(0===arguments.length)return".";for(var joined,i=0;i<arguments.length;++i){var arg=arguments[i];assertPath(arg),arg.length>0&&(void 0===joined?joined=arg:joined+="/"+arg)}return void 0===joined?".":posix.normalize(joined)},relative:function relative(from,to){if(assertPath(from),assertPath(to),from===to)return"";if((from=posix.resolve(from))===(to=posix.resolve(to)))return"";for(var fromStart=1;fromStart<from.length&&47===from.charCodeAt(fromStart);++fromStart);for(var fromEnd=from.length,fromLen=fromEnd-fromStart,toStart=1;toStart<to.length&&47===to.charCodeAt(toStart);++toStart);for(var toLen=to.length-toStart,length=fromLen<toLen?fromLen:toLen,lastCommonSep=-1,i=0;i<=length;++i){if(i===length){if(toLen>length){if(47===to.charCodeAt(toStart+i))return to.slice(toStart+i+1);if(0===i)return to.slice(toStart+i)}else fromLen>length&&(47===from.charCodeAt(fromStart+i)?lastCommonSep=i:0===i&&(lastCommonSep=0));break}var fromCode=from.charCodeAt(fromStart+i);if(fromCode!==to.charCodeAt(toStart+i))break;47===fromCode&&(lastCommonSep=i)}var out="";for(i=fromStart+lastCommonSep+1;i<=fromEnd;++i)i!==fromEnd&&47!==from.charCodeAt(i)||(0===out.length?out+="..":out+="/..");return out.length>0?out+to.slice(toStart+lastCommonSep):(toStart+=lastCommonSep,47===to.charCodeAt(toStart)&&++toStart,to.slice(toStart))},_makeLong:function _makeLong(path){return path},dirname:function dirname(path){if(assertPath(path),0===path.length)return".";for(var code=path.charCodeAt(0),hasRoot=47===code,end=-1,matchedSlash=!0,i=path.length-1;i>=1;--i)if(47===(code=path.charCodeAt(i))){if(!matchedSlash){end=i;break}}else matchedSlash=!1;return-1===end?hasRoot?"/":".":hasRoot&&1===end?"//":path.slice(0,end)},basename:function basename(path,ext){if(void 0!==ext&&"string"!=typeof ext)throw new TypeError('"ext" argument must be a string');assertPath(path);var i,start=0,end=-1,matchedSlash=!0;if(void 0!==ext&&ext.length>0&&ext.length<=path.length){if(ext.length===path.length&&ext===path)return"";var extIdx=ext.length-1,firstNonSlashEnd=-1;for(i=path.length-1;i>=0;--i){var code=path.charCodeAt(i);if(47===code){if(!matchedSlash){start=i+1;break}}else-1===firstNonSlashEnd&&(matchedSlash=!1,firstNonSlashEnd=i+1),extIdx>=0&&(code===ext.charCodeAt(extIdx)?-1==--extIdx&&(end=i):(extIdx=-1,end=firstNonSlashEnd))}return start===end?end=firstNonSlashEnd:-1===end&&(end=path.length),path.slice(start,end)}for(i=path.length-1;i>=0;--i)if(47===path.charCodeAt(i)){if(!matchedSlash){start=i+1;break}}else-1===end&&(matchedSlash=!1,end=i+1);return-1===end?"":path.slice(start,end)},extname:function extname(path){assertPath(path);for(var startDot=-1,startPart=0,end=-1,matchedSlash=!0,preDotState=0,i=path.length-1;i>=0;--i){var code=path.charCodeAt(i);if(47!==code)-1===end&&(matchedSlash=!1,end=i+1),46===code?-1===startDot?startDot=i:1!==preDotState&&(preDotState=1):-1!==startDot&&(preDotState=-1);else if(!matchedSlash){startPart=i+1;break}}return-1===startDot||-1===end||0===preDotState||1===preDotState&&startDot===end-1&&startDot===startPart+1?"":path.slice(startDot,end)},format:function format(pathObject){if(null===pathObject||"object"!=typeof pathObject)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof pathObject);return function _format(sep,pathObject){var dir=pathObject.dir||pathObject.root,base=pathObject.base||(pathObject.name||"")+(pathObject.ext||"");return dir?dir===pathObject.root?dir+base:dir+sep+base:base}("/",pathObject)},parse:function parse(path){assertPath(path);var ret={root:"",dir:"",base:"",ext:"",name:""};if(0===path.length)return ret;var start,code=path.charCodeAt(0),isAbsolute=47===code;isAbsolute?(ret.root="/",start=1):start=0;for(var startDot=-1,startPart=0,end=-1,matchedSlash=!0,i=path.length-1,preDotState=0;i>=start;--i)if(47!==(code=path.charCodeAt(i)))-1===end&&(matchedSlash=!1,end=i+1),46===code?-1===startDot?startDot=i:1!==preDotState&&(preDotState=1):-1!==startDot&&(preDotState=-1);else if(!matchedSlash){startPart=i+1;break}return-1===startDot||-1===end||0===preDotState||1===preDotState&&startDot===end-1&&startDot===startPart+1?-1!==end&&(ret.base=ret.name=0===startPart&&isAbsolute?path.slice(1,end):path.slice(startPart,end)):(0===startPart&&isAbsolute?(ret.name=path.slice(1,startDot),ret.base=path.slice(1,end)):(ret.name=path.slice(startPart,startDot),ret.base=path.slice(startPart,end)),ret.ext=path.slice(startDot,end)),startPart>0?ret.dir=path.slice(0,startPart-1):isAbsolute&&(ret.dir="/"),ret},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix,module.exports=posix},65539:function(module){function hasProperty(obj,name){return null!=obj&&name in Object(obj)}function parsePath(path){return path.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map((function mapMatches(value){if("constructor"===value||"__proto__"===value||"prototype"===value)return{};var mArr=/^\[(\d+)\]$/.exec(value);return mArr?{i:parseFloat(mArr[1])}:{p:value.replace(/\\([.[\]])/g,"$1")}}))}function internalGetPathValue(obj,parsed,pathDepth){var temporaryValue=obj,res=null;pathDepth=void 0===pathDepth?parsed.length:pathDepth;for(var i=0;i<pathDepth;i++){var part=parsed[i];temporaryValue&&(temporaryValue=void 0===part.p?temporaryValue[part.i]:temporaryValue[part.p],i===pathDepth-1&&(res=temporaryValue))}return res}function getPathInfo(obj,path){var parsed=parsePath(path),last=parsed[parsed.length-1],info={parent:parsed.length>1?internalGetPathValue(obj,parsed,parsed.length-1):obj,name:last.p||last.i,value:internalGetPathValue(obj,parsed)};return info.exists=hasProperty(info.parent,info.name),info}module.exports={hasProperty:hasProperty,getPathInfo:getPathInfo,getPathValue:function getPathValue(obj,path){return getPathInfo(obj,path).value},setPathValue:function setPathValue(obj,path,val){return function internalSetPathValue(obj,val,parsed){for(var tempObj=obj,pathDepth=parsed.length,part=null,i=0;i<pathDepth;i++){var propName=null,propVal=null;if(part=parsed[i],i===pathDepth-1)tempObj[propName=void 0===part.p?part.i:part.p]=val;else if(void 0!==part.p&&tempObj[part.p])tempObj=tempObj[part.p];else if(void 0!==part.i&&tempObj[part.i])tempObj=tempObj[part.i];else{var next=parsed[i+1];propName=void 0===part.p?part.i:part.p,propVal=void 0===next.p?[]:{},tempObj[propName]=propVal,tempObj=tempObj[propName]}}}(obj,val,parsePath(path)),obj}}},25632:function(__unused_webpack_module,exports,__webpack_require__){exports.pbkdf2=__webpack_require__(88638),exports.pbkdf2Sync=__webpack_require__(91257)},88638:function(module,__unused_webpack_exports,__webpack_require__){var ZERO_BUF,nextTick,Buffer=__webpack_require__(89509).Buffer,checkParameters=__webpack_require__(77357),defaultEncoding=__webpack_require__(12368),sync=__webpack_require__(91257),toBuffer=__webpack_require__(57777),subtle=__webpack_require__.g.crypto&&__webpack_require__.g.crypto.subtle,toBrowser={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},checks=[];function getNextTick(){return nextTick||(nextTick=__webpack_require__.g.process&&__webpack_require__.g.process.nextTick?__webpack_require__.g.process.nextTick:__webpack_require__.g.queueMicrotask?__webpack_require__.g.queueMicrotask:__webpack_require__.g.setImmediate?__webpack_require__.g.setImmediate:__webpack_require__.g.setTimeout)}function browserPbkdf2(password,salt,iterations,length,algo){return subtle.importKey("raw",password,{name:"PBKDF2"},!1,["deriveBits"]).then((function(key){return subtle.deriveBits({name:"PBKDF2",salt:salt,iterations:iterations,hash:{name:algo}},key,length<<3)})).then((function(res){return Buffer.from(res)}))}module.exports=function(password,salt,iterations,keylen,digest,callback){"function"==typeof digest&&(callback=digest,digest=void 0);var algo=toBrowser[(digest=digest||"sha1").toLowerCase()];if(algo&&"function"==typeof __webpack_require__.g.Promise){if(checkParameters(iterations,keylen),password=toBuffer(password,defaultEncoding,"Password"),salt=toBuffer(salt,defaultEncoding,"Salt"),"function"!=typeof callback)throw new Error("No callback provided to pbkdf2");!function resolvePromise(promise,callback){promise.then((function(out){getNextTick()((function(){callback(null,out)}))}),(function(e){getNextTick()((function(){callback(e)}))}))}(function checkNative(algo){if(__webpack_require__.g.process&&!__webpack_require__.g.process.browser)return Promise.resolve(!1);if(!subtle||!subtle.importKey||!subtle.deriveBits)return Promise.resolve(!1);if(void 0!==checks[algo])return checks[algo];var prom=browserPbkdf2(ZERO_BUF=ZERO_BUF||Buffer.alloc(8),ZERO_BUF,10,128,algo).then((function(){return!0})).catch((function(){return!1}));return checks[algo]=prom,prom}(algo).then((function(resp){return resp?browserPbkdf2(password,salt,iterations,keylen,algo):sync(password,salt,iterations,keylen,digest)})),callback)}else getNextTick()((function(){var out;try{out=sync(password,salt,iterations,keylen,digest)}catch(e){return callback(e)}callback(null,out)}))}},12368:function(module,__unused_webpack_exports,__webpack_require__){var defaultEncoding,process=__webpack_require__(34155);if(__webpack_require__.g.process&&__webpack_require__.g.process.browser)defaultEncoding="utf-8";else if(__webpack_require__.g.process&&__webpack_require__.g.process.version){defaultEncoding=parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else defaultEncoding="utf-8";module.exports=defaultEncoding},77357:function(module){var MAX_ALLOC=Math.pow(2,30)-1;module.exports=function(iterations,keylen){if("number"!=typeof iterations)throw new TypeError("Iterations not a number");if(iterations<0)throw new TypeError("Bad iterations");if("number"!=typeof keylen)throw new TypeError("Key length not a number");if(keylen<0||keylen>MAX_ALLOC||keylen!=keylen)throw new TypeError("Bad key length")}},91257:function(module,__unused_webpack_exports,__webpack_require__){var md5=__webpack_require__(78028),RIPEMD160=__webpack_require__(79785),sha=__webpack_require__(89072),Buffer=__webpack_require__(89509).Buffer,checkParameters=__webpack_require__(77357),defaultEncoding=__webpack_require__(12368),toBuffer=__webpack_require__(57777),ZEROS=Buffer.alloc(128),sizes={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function Hmac(alg,key,saltLen){var hash=function getDigest(alg){function shaFunc(data){return sha(alg).update(data).digest()}function rmd160Func(data){return(new RIPEMD160).update(data).digest()}return"rmd160"===alg||"ripemd160"===alg?rmd160Func:"md5"===alg?md5:shaFunc}(alg),blocksize="sha512"===alg||"sha384"===alg?128:64;key.length>blocksize?key=hash(key):key.length<blocksize&&(key=Buffer.concat([key,ZEROS],blocksize));for(var ipad=Buffer.allocUnsafe(blocksize+sizes[alg]),opad=Buffer.allocUnsafe(blocksize+sizes[alg]),i=0;i<blocksize;i++)ipad[i]=54^key[i],opad[i]=92^key[i];var ipad1=Buffer.allocUnsafe(blocksize+saltLen+4);ipad.copy(ipad1,0,0,blocksize),this.ipad1=ipad1,this.ipad2=ipad,this.opad=opad,this.alg=alg,this.blocksize=blocksize,this.hash=hash,this.size=sizes[alg]}Hmac.prototype.run=function(data,ipad){return data.copy(ipad,this.blocksize),this.hash(ipad).copy(this.opad,this.blocksize),this.hash(this.opad)},module.exports=function pbkdf2(password,salt,iterations,keylen,digest){checkParameters(iterations,keylen);var hmac=new Hmac(digest=digest||"sha1",password=toBuffer(password,defaultEncoding,"Password"),(salt=toBuffer(salt,defaultEncoding,"Salt")).length),DK=Buffer.allocUnsafe(keylen),block1=Buffer.allocUnsafe(salt.length+4);salt.copy(block1,0,0,salt.length);for(var destPos=0,hLen=sizes[digest],l=Math.ceil(keylen/hLen),i=1;i<=l;i++){block1.writeUInt32BE(i,salt.length);for(var T=hmac.run(block1,hmac.ipad1),U=T,j=1;j<iterations;j++){U=hmac.run(U,hmac.ipad2);for(var k=0;k<hLen;k++)T[k]^=U[k]}T.copy(DK,destPos),destPos+=hLen}return DK}},57777:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(89509).Buffer;module.exports=function(thing,encoding,name){if(Buffer.isBuffer(thing))return thing;if("string"==typeof thing)return Buffer.from(thing,encoding);if(ArrayBuffer.isView(thing))return Buffer.from(thing.buffer);throw new TypeError(name+" must be a string, a Buffer, a typed array or a DataView")}},34155:function(module){var cachedSetTimeout,cachedClearTimeout,process=module.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;function cleanUpNextTick(){draining&¤tQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&¤tQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}(timeout)}}function Item(fun,array){this.fun=fun,this.array=array}function noop(){}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),1!==queue.length||draining||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={},process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.prependListener=noop,process.prependOnceListener=noop,process.listeners=function(name){return[]},process.binding=function(name){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(dir){throw new Error("process.chdir is not supported")},process.umask=function(){return 0}},16244:function(__unused_webpack_module,exports,__webpack_require__){var Punycode=__webpack_require__(3689),internals={};internals.rules=__webpack_require__(3704).map((function(rule){return{rule:rule,suffix:rule.replace(/^(\*\.|\!)/,""),punySuffix:-1,wildcard:"*"===rule.charAt(0),exception:"!"===rule.charAt(0)}})),internals.endsWith=function(str,suffix){return-1!==str.indexOf(suffix,str.length-suffix.length)},internals.findRule=function(domain){var punyDomain=Punycode.toASCII(domain);return internals.rules.reduce((function(memo,rule){return-1===rule.punySuffix&&(rule.punySuffix=Punycode.toASCII(rule.suffix)),internals.endsWith(punyDomain,"."+rule.punySuffix)||punyDomain===rule.punySuffix?rule:memo}),null)},exports.errorCodes={DOMAIN_TOO_SHORT:"Domain name too short.",DOMAIN_TOO_LONG:"Domain name too long. It should be no more than 255 chars.",LABEL_STARTS_WITH_DASH:"Domain name label can not start with a dash.",LABEL_ENDS_WITH_DASH:"Domain name label can not end with a dash.",LABEL_TOO_LONG:"Domain name label should be at most 63 chars long.",LABEL_TOO_SHORT:"Domain name label should be at least 1 character long.",LABEL_INVALID_CHARS:"Domain name label can only contain alphanumeric characters or dashes."},internals.validate=function(input){var ascii=Punycode.toASCII(input);if(ascii.length<1)return"DOMAIN_TOO_SHORT";if(ascii.length>255)return"DOMAIN_TOO_LONG";for(var label,labels=ascii.split("."),i=0;i<labels.length;++i){if(!(label=labels[i]).length)return"LABEL_TOO_SHORT";if(label.length>63)return"LABEL_TOO_LONG";if("-"===label.charAt(0))return"LABEL_STARTS_WITH_DASH";if("-"===label.charAt(label.length-1))return"LABEL_ENDS_WITH_DASH";if(!/^[a-z0-9\-]+$/.test(label))return"LABEL_INVALID_CHARS"}},exports.parse=function(input){if("string"!=typeof input)throw new TypeError("Domain name must be a string.");var domain=input.slice(0).toLowerCase();"."===domain.charAt(domain.length-1)&&(domain=domain.slice(0,domain.length-1));var error=internals.validate(domain);if(error)return{input:input,error:{message:exports.errorCodes[error],code:error}};var parsed={input:input,tld:null,sld:null,domain:null,subdomain:null,listed:!1},domainParts=domain.split(".");if("local"===domainParts[domainParts.length-1])return parsed;var handlePunycode=function(){return/xn--/.test(domain)?(parsed.domain&&(parsed.domain=Punycode.toASCII(parsed.domain)),parsed.subdomain&&(parsed.subdomain=Punycode.toASCII(parsed.subdomain)),parsed):parsed},rule=internals.findRule(domain);if(!rule)return domainParts.length<2?parsed:(parsed.tld=domainParts.pop(),parsed.sld=domainParts.pop(),parsed.domain=[parsed.sld,parsed.tld].join("."),domainParts.length&&(parsed.subdomain=domainParts.pop()),handlePunycode());parsed.listed=!0;var tldParts=rule.suffix.split("."),privateParts=domainParts.slice(0,domainParts.length-tldParts.length);return rule.exception&&privateParts.push(tldParts.shift()),parsed.tld=tldParts.join("."),privateParts.length?(rule.wildcard&&(tldParts.unshift(privateParts.pop()),parsed.tld=tldParts.join(".")),privateParts.length?(parsed.sld=privateParts.pop(),parsed.domain=[parsed.sld,parsed.tld].join("."),privateParts.length&&(parsed.subdomain=privateParts.join(".")),handlePunycode()):handlePunycode()):handlePunycode()},exports.get=function(domain){return domain&&exports.parse(domain).domain||null},exports.isValid=function(domain){var parsed=exports.parse(domain);return Boolean(parsed.domain&&parsed.listed)}},7900:function(__unused_webpack_module,exports,__webpack_require__){exports.publicEncrypt=__webpack_require__(16559),exports.privateDecrypt=__webpack_require__(26138),exports.privateEncrypt=function privateEncrypt(key,buf){return exports.publicEncrypt(key,buf,!0)},exports.publicDecrypt=function publicDecrypt(key,buf){return exports.privateDecrypt(key,buf,!0)}},99199:function(module,__unused_webpack_exports,__webpack_require__){var createHash=__webpack_require__(23482),Buffer=__webpack_require__(89509).Buffer;function i2ops(c){var out=Buffer.allocUnsafe(4);return out.writeUInt32BE(c,0),out}module.exports=function(seed,len){for(var c,t=Buffer.alloc(0),i=0;t.length<len;)c=i2ops(i++),t=Buffer.concat([t,createHash("sha1").update(seed).update(c).digest()]);return t.slice(0,len)}},26138:function(module,__unused_webpack_exports,__webpack_require__){var parseKeys=__webpack_require__(70980),mgf=__webpack_require__(99199),xor=__webpack_require__(57859),BN=__webpack_require__(13550),crt=__webpack_require__(23663),createHash=__webpack_require__(23482),withPublic=__webpack_require__(84818),Buffer=__webpack_require__(89509).Buffer;module.exports=function privateDecrypt(privateKey,enc,reverse){var padding;padding=privateKey.padding?privateKey.padding:reverse?1:4;var msg,key=parseKeys(privateKey),k=key.modulus.byteLength();if(enc.length>k||new BN(enc).cmp(key.modulus)>=0)throw new Error("decryption error");msg=reverse?withPublic(new BN(enc),key):crt(enc,key);var zBuffer=Buffer.alloc(k-msg.length);if(msg=Buffer.concat([zBuffer,msg],k),4===padding)return function oaep(key,msg){var k=key.modulus.byteLength(),iHash=createHash("sha1").update(Buffer.alloc(0)).digest(),hLen=iHash.length;if(0!==msg[0])throw new Error("decryption error");var maskedSeed=msg.slice(1,hLen+1),maskedDb=msg.slice(hLen+1),seed=xor(maskedSeed,mgf(maskedDb,hLen)),db=xor(maskedDb,mgf(seed,k-hLen-1));if(function compare(a,b){a=Buffer.from(a),b=Buffer.from(b);var dif=0,len=a.length;a.length!==b.length&&(dif++,len=Math.min(a.length,b.length));var i=-1;for(;++i<len;)dif+=a[i]^b[i];return dif}(iHash,db.slice(0,hLen)))throw new Error("decryption error");var i=hLen;for(;0===db[i];)i++;if(1!==db[i++])throw new Error("decryption error");return db.slice(i)}(key,msg);if(1===padding)return function pkcs1(key,msg,reverse){var p1=msg.slice(0,2),i=2,status=0;for(;0!==msg[i++];)if(i>=msg.length){status++;break}var ps=msg.slice(2,i-1);("0002"!==p1.toString("hex")&&!reverse||"0001"!==p1.toString("hex")&&reverse)&&status++;ps.length<8&&status++;if(status)throw new Error("decryption error");return msg.slice(i)}(0,msg,reverse);if(3===padding)return msg;throw new Error("unknown padding")}},16559:function(module,__unused_webpack_exports,__webpack_require__){var parseKeys=__webpack_require__(70980),randomBytes=__webpack_require__(61798),createHash=__webpack_require__(23482),mgf=__webpack_require__(99199),xor=__webpack_require__(57859),BN=__webpack_require__(13550),withPublic=__webpack_require__(84818),crt=__webpack_require__(23663),Buffer=__webpack_require__(89509).Buffer;module.exports=function publicEncrypt(publicKey,msg,reverse){var padding;padding=publicKey.padding?publicKey.padding:reverse?1:4;var paddedMsg,key=parseKeys(publicKey);if(4===padding)paddedMsg=function oaep(key,msg){var k=key.modulus.byteLength(),mLen=msg.length,iHash=createHash("sha1").update(Buffer.alloc(0)).digest(),hLen=iHash.length,hLen2=2*hLen;if(mLen>k-hLen2-2)throw new Error("message too long");var ps=Buffer.alloc(k-mLen-hLen2-2),dblen=k-hLen-1,seed=randomBytes(hLen),maskedDb=xor(Buffer.concat([iHash,ps,Buffer.alloc(1,1),msg],dblen),mgf(seed,dblen)),maskedSeed=xor(seed,mgf(maskedDb,hLen));return new BN(Buffer.concat([Buffer.alloc(1),maskedSeed,maskedDb],k))}(key,msg);else if(1===padding)paddedMsg=function pkcs1(key,msg,reverse){var ps,mLen=msg.length,k=key.modulus.byteLength();if(mLen>k-11)throw new Error("message too long");ps=reverse?Buffer.alloc(k-mLen-3,255):function nonZero(len){var num,out=Buffer.allocUnsafe(len),i=0,cache=randomBytes(2*len),cur=0;for(;i<len;)cur===cache.length&&(cache=randomBytes(2*len),cur=0),(num=cache[cur++])&&(out[i++]=num);return out}(k-mLen-3);return new BN(Buffer.concat([Buffer.from([0,reverse?1:2]),ps,Buffer.alloc(1),msg],k))}(key,msg,reverse);else{if(3!==padding)throw new Error("unknown padding");if((paddedMsg=new BN(msg)).cmp(key.modulus)>=0)throw new Error("data too long for modulus")}return reverse?crt(paddedMsg,key):withPublic(paddedMsg,key)}},84818:function(module,__unused_webpack_exports,__webpack_require__){var BN=__webpack_require__(13550),Buffer=__webpack_require__(89509).Buffer;module.exports=function withPublic(paddedMsg,key){return Buffer.from(paddedMsg.toRed(BN.mont(key.modulus)).redPow(new BN(key.publicExponent)).fromRed().toArray())}},57859:function(module){module.exports=function xor(a,b){for(var len=a.length,i=-1;++i<len;)a[i]^=b[i];return a}},3689:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ucs2decode:function(){return ucs2decode},ucs2encode:function(){return ucs2encode},decode:function(){return decode},encode:function(){return encode},toASCII:function(){return toASCII},toUnicode:function(){return toUnicode}});const maxInt=2147483647,regexPunycode=/^xn--/,regexNonASCII=/[^\0-\x7E]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},floor=Math.floor,stringFromCharCode=String.fromCharCode;function error(type){throw new RangeError(errors[type])}function mapDomain(string,fn){const parts=string.split("@");let result="";parts.length>1&&(result=parts[0]+"@",string=parts[1]);const encoded=function map(array,fn){const result=[];let length=array.length;for(;length--;)result[length]=fn(array[length]);return result}((string=string.replace(regexSeparators,".")).split("."),fn).join(".");return result+encoded}function ucs2decode(string){const output=[];let counter=0;const length=string.length;for(;counter<length;){const value=string.charCodeAt(counter++);if(value>=55296&&value<=56319&&counter<length){const extra=string.charCodeAt(counter++);56320==(64512&extra)?output.push(((1023&value)<<10)+(1023&extra)+65536):(output.push(value),counter--)}else output.push(value)}return output}const ucs2encode=array=>String.fromCodePoint(...array),digitToBasic=function(digit,flag){return digit+22+75*(digit<26)-((0!=flag)<<5)},adapt=function(delta,numPoints,firstTime){let k=0;for(delta=firstTime?floor(delta/700):delta>>1,delta+=floor(delta/numPoints);delta>455;k+=36)delta=floor(delta/35);return floor(k+36*delta/(delta+38))},decode=function(input){const output=[],inputLength=input.length;let i=0,n=128,bias=72,basic=input.lastIndexOf("-");basic<0&&(basic=0);for(let j=0;j<basic;++j)input.charCodeAt(j)>=128&&error("not-basic"),output.push(input.charCodeAt(j));for(let index=basic>0?basic+1:0;index<inputLength;){let oldi=i;for(let w=1,k=36;;k+=36){index>=inputLength&&error("invalid-input");const digit=(codePoint=input.charCodeAt(index++))-48<10?codePoint-22:codePoint-65<26?codePoint-65:codePoint-97<26?codePoint-97:36;(digit>=36||digit>floor((maxInt-i)/w))&&error("overflow"),i+=digit*w;const t=k<=bias?1:k>=bias+26?26:k-bias;if(digit<t)break;const baseMinusT=36-t;w>floor(maxInt/baseMinusT)&&error("overflow"),w*=baseMinusT}const out=output.length+1;bias=adapt(i-oldi,out,0==oldi),floor(i/out)>maxInt-n&&error("overflow"),n+=floor(i/out),i%=out,output.splice(i++,0,n)}var codePoint;return String.fromCodePoint(...output)},encode=function(input){const output=[];let inputLength=(input=ucs2decode(input)).length,n=128,delta=0,bias=72;for(const currentValue of input)currentValue<128&&output.push(stringFromCharCode(currentValue));let basicLength=output.length,handledCPCount=basicLength;for(basicLength&&output.push("-");handledCPCount<inputLength;){let m=maxInt;for(const currentValue of input)currentValue>=n&¤tValue<m&&(m=currentValue);const handledCPCountPlusOne=handledCPCount+1;m-n>floor((maxInt-delta)/handledCPCountPlusOne)&&error("overflow"),delta+=(m-n)*handledCPCountPlusOne,n=m;for(const currentValue of input)if(currentValue<n&&++delta>maxInt&&error("overflow"),currentValue==n){let q=delta;for(let k=36;;k+=36){const t=k<=bias?1:k>=bias+26?26:k-bias;if(q<t)break;const qMinusT=q-t,baseMinusT=36-t;output.push(stringFromCharCode(digitToBasic(t+qMinusT%baseMinusT,0))),q=floor(qMinusT/baseMinusT)}output.push(stringFromCharCode(digitToBasic(q,0))),bias=adapt(delta,handledCPCountPlusOne,handledCPCount==basicLength),delta=0,++handledCPCount}++delta,++n}return output.join("")},toUnicode=function(input){return mapDomain(input,(function(string){return regexPunycode.test(string)?decode(string.slice(4).toLowerCase()):string}))},toASCII=function(input){return mapDomain(input,(function(string){return regexNonASCII.test(string)?"xn--"+encode(string):string}))},punycode={version:"2.1.0",ucs2:{decode:ucs2decode,encode:ucs2encode},decode:decode,encode:encode,toASCII:toASCII,toUnicode:toUnicode};__webpack_exports__.default=punycode},72043:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer;!function(exports){class BufferSourceConverter{static isArrayBuffer(data){return"[object ArrayBuffer]"===Object.prototype.toString.call(data)}static toArrayBuffer(data){const buf=this.toUint8Array(data);return buf.byteOffset||buf.length?buf.buffer.slice(buf.byteOffset,buf.byteOffset+buf.length):buf.buffer}static toUint8Array(data){return this.toView(data,Uint8Array)}static toView(data,type){if(void 0!==Buffer&&Buffer.isBuffer(data))return new type(data.buffer,data.byteOffset,data.byteLength);if(this.isArrayBuffer(data))return new type(data);if(this.isArrayBufferView(data))return new type(data.buffer,data.byteOffset,data.byteLength);throw new TypeError("The provided value is not of type '(ArrayBuffer or ArrayBufferView)'")}static isBufferSource(data){return this.isArrayBufferView(data)||this.isArrayBuffer(data)}static isArrayBufferView(data){return ArrayBuffer.isView(data)||data&&this.isArrayBuffer(data.buffer)}static isEqual(a,b){const aView=BufferSourceConverter.toUint8Array(a),bView=BufferSourceConverter.toUint8Array(b);if(aView.length!==bView.byteLength)return!1;for(let i=0;i<aView.length;i++)if(aView[i]!==bView[i])return!1;return!0}}class Utf8Converter{static fromString(text){const s=unescape(encodeURIComponent(text)),uintArray=new Uint8Array(s.length);for(let i=0;i<s.length;i++)uintArray[i]=s.charCodeAt(i);return uintArray.buffer}static toString(buffer){const buf=BufferSourceConverter.toUint8Array(buffer);let encodedString="";for(let i=0;i<buf.length;i++)encodedString+=String.fromCharCode(buf[i]);return decodeURIComponent(escape(encodedString))}}class Utf16Converter{static toString(buffer,littleEndian=!1){const arrayBuffer=BufferSourceConverter.toArrayBuffer(buffer),dataView=new DataView(arrayBuffer);let res="";for(let i=0;i<arrayBuffer.byteLength;i+=2){const code=dataView.getUint16(i,littleEndian);res+=String.fromCharCode(code)}return res}static fromString(text,littleEndian=!1){const res=new ArrayBuffer(2*text.length),dataView=new DataView(res);for(let i=0;i<text.length;i++)dataView.setUint16(2*i,text.charCodeAt(i),littleEndian);return res}}class Convert{static isHex(data){return"string"==typeof data&&/^[a-z0-9]+$/i.test(data)}static isBase64(data){return"string"==typeof data&&/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(data)}static isBase64Url(data){return"string"==typeof data&&/^[a-zA-Z0-9-_]+$/i.test(data)}static ToString(buffer,enc="utf8"){const buf=BufferSourceConverter.toUint8Array(buffer);switch(enc.toLowerCase()){case"utf8":return this.ToUtf8String(buf);case"binary":return this.ToBinary(buf);case"hex":return this.ToHex(buf);case"base64":return this.ToBase64(buf);case"base64url":return this.ToBase64Url(buf);case"utf16le":return Utf16Converter.toString(buf,!0);case"utf16":case"utf16be":return Utf16Converter.toString(buf);default:throw new Error(`Unknown type of encoding '${enc}'`)}}static FromString(str,enc="utf8"){if(!str)return new ArrayBuffer(0);switch(enc.toLowerCase()){case"utf8":return this.FromUtf8String(str);case"binary":return this.FromBinary(str);case"hex":return this.FromHex(str);case"base64":return this.FromBase64(str);case"base64url":return this.FromBase64Url(str);case"utf16le":return Utf16Converter.fromString(str,!0);case"utf16":case"utf16be":return Utf16Converter.fromString(str);default:throw new Error(`Unknown type of encoding '${enc}'`)}}static ToBase64(buffer){const buf=BufferSourceConverter.toUint8Array(buffer);if("undefined"!=typeof btoa){const binary=this.ToString(buf,"binary");return btoa(binary)}return Buffer.from(buf).toString("base64")}static FromBase64(base64){const formatted=this.formatString(base64);if(!formatted)return new ArrayBuffer(0);if(!Convert.isBase64(formatted))throw new TypeError("Argument 'base64Text' is not Base64 encoded");return"undefined"!=typeof atob?this.FromBinary(atob(formatted)):new Uint8Array(Buffer.from(formatted,"base64")).buffer}static FromBase64Url(base64url){const formatted=this.formatString(base64url);if(!formatted)return new ArrayBuffer(0);if(!Convert.isBase64Url(formatted))throw new TypeError("Argument 'base64url' is not Base64Url encoded");return this.FromBase64(this.Base64Padding(formatted.replace(/\-/g,"+").replace(/\_/g,"/")))}static ToBase64Url(data){return this.ToBase64(data).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"")}static FromUtf8String(text,encoding=Convert.DEFAULT_UTF8_ENCODING){switch(encoding){case"ascii":return this.FromBinary(text);case"utf8":return Utf8Converter.fromString(text);case"utf16":case"utf16be":return Utf16Converter.fromString(text);case"utf16le":case"usc2":return Utf16Converter.fromString(text,!0);default:throw new Error(`Unknown type of encoding '${encoding}'`)}}static ToUtf8String(buffer,encoding=Convert.DEFAULT_UTF8_ENCODING){switch(encoding){case"ascii":return this.ToBinary(buffer);case"utf8":return Utf8Converter.toString(buffer);case"utf16":case"utf16be":return Utf16Converter.toString(buffer);case"utf16le":case"usc2":return Utf16Converter.toString(buffer,!0);default:throw new Error(`Unknown type of encoding '${encoding}'`)}}static FromBinary(text){const stringLength=text.length,resultView=new Uint8Array(stringLength);for(let i=0;i<stringLength;i++)resultView[i]=text.charCodeAt(i);return resultView.buffer}static ToBinary(buffer){const buf=BufferSourceConverter.toUint8Array(buffer);let res="";for(let i=0;i<buf.length;i++)res+=String.fromCharCode(buf[i]);return res}static ToHex(buffer){const buf=BufferSourceConverter.toUint8Array(buffer),splitter="",res=[],len=buf.length;for(let i=0;i<len;i++){const char=buf[i].toString(16).padStart(2,"0");res.push(char)}return res.join(splitter)}static FromHex(hexString){let formatted=this.formatString(hexString);if(!formatted)return new ArrayBuffer(0);if(!Convert.isHex(formatted))throw new TypeError("Argument 'hexString' is not HEX encoded");formatted.length%2&&(formatted=`0${formatted}`);const res=new Uint8Array(formatted.length/2);for(let i=0;i<formatted.length;i+=2){const c=formatted.slice(i,i+2);res[i/2]=parseInt(c,16)}return res.buffer}static ToUtf16String(buffer,littleEndian=!1){return Utf16Converter.toString(buffer,littleEndian)}static FromUtf16String(text,littleEndian=!1){return Utf16Converter.fromString(text,littleEndian)}static Base64Padding(base64){const padCount=4-base64.length%4;if(padCount<4)for(let i=0;i<padCount;i++)base64+="=";return base64}static formatString(data){return(null==data?void 0:data.replace(/[\n\r\t ]/g,""))||""}}function assign(target,...sources){const res=arguments[0];for(let i=1;i<arguments.length;i++){const obj=arguments[i];for(const prop in obj)res[prop]=obj[prop]}return res}function combine(...buf){const totalByteLength=buf.map((item=>item.byteLength)).reduce(((prev,cur)=>prev+cur)),res=new Uint8Array(totalByteLength);let currentPos=0;return buf.map((item=>new Uint8Array(item))).forEach((arr=>{for(const item2 of arr)res[currentPos++]=item2})),res.buffer}function isEqual(bytes1,bytes2){if(!bytes1||!bytes2)return!1;if(bytes1.byteLength!==bytes2.byteLength)return!1;const b1=new Uint8Array(bytes1),b2=new Uint8Array(bytes2);for(let i=0;i<bytes1.byteLength;i++)if(b1[i]!==b2[i])return!1;return!0}Convert.DEFAULT_UTF8_ENCODING="utf8",exports.BufferSourceConverter=BufferSourceConverter,exports.Convert=Convert,exports.assign=assign,exports.combine=combine,exports.isEqual=isEqual,Object.defineProperty(exports,"__esModule",{value:!0})}(exports)},62587:function(module){function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}module.exports=function(qs,sep,eq,options){sep=sep||"&",eq=eq||"=";var obj={};if("string"!=typeof qs||0===qs.length)return obj;var regexp=/\+/g;qs=qs.split(sep);var maxKeys=1e3;options&&"number"==typeof options.maxKeys&&(maxKeys=options.maxKeys);var len=qs.length;maxKeys>0&&len>maxKeys&&(len=maxKeys);for(var i=0;i<len;++i){var kstr,vstr,k,v,x=qs[i].replace(regexp,"%20"),idx=x.indexOf(eq);idx>=0?(kstr=x.substr(0,idx),vstr=x.substr(idx+1)):(kstr=x,vstr=""),k=decodeURIComponent(kstr),v=decodeURIComponent(vstr),hasOwnProperty(obj,k)?Array.isArray(obj[k])?obj[k].push(v):obj[k]=[obj[k],v]:obj[k]=v}return obj}},12361:function(module){var stringifyPrimitive=function(v){switch(typeof v){case"string":return v;case"boolean":return v?"true":"false";case"number":return isFinite(v)?v:"";default:return""}};module.exports=function(obj,sep,eq,name){return sep=sep||"&",eq=eq||"=",null===obj&&(obj=void 0),"object"==typeof obj?Object.keys(obj).map((function(k){var ks=encodeURIComponent(stringifyPrimitive(k))+eq;return Array.isArray(obj[k])?obj[k].map((function(v){return ks+encodeURIComponent(stringifyPrimitive(v))})).join(sep):ks+encodeURIComponent(stringifyPrimitive(obj[k]))})).join(sep):name?encodeURIComponent(stringifyPrimitive(name))+eq+encodeURIComponent(stringifyPrimitive(obj)):""}},17673:function(__unused_webpack_module,exports,__webpack_require__){exports.decode=exports.parse=__webpack_require__(62587),exports.encode=exports.stringify=__webpack_require__(12361)},61798:function(module,__unused_webpack_exports,__webpack_require__){var process=__webpack_require__(34155);var Buffer=__webpack_require__(89509).Buffer,crypto=__webpack_require__.g.crypto||__webpack_require__.g.msCrypto;crypto&&crypto.getRandomValues?module.exports=function randomBytes(size,cb){if(size>4294967295)throw new RangeError("requested too many random bytes");var bytes=Buffer.allocUnsafe(size);if(size>0)if(size>65536)for(var generated=0;generated<size;generated+=65536)crypto.getRandomValues(bytes.slice(generated,generated+65536));else crypto.getRandomValues(bytes);if("function"==typeof cb)return process.nextTick((function(){cb(null,bytes)}));return bytes}:module.exports=function oldBrowser(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},77963:function(__unused_webpack_module,exports,__webpack_require__){var process=__webpack_require__(34155);function oldBrowser(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var safeBuffer=__webpack_require__(89509),randombytes=__webpack_require__(61798),Buffer=safeBuffer.Buffer,kBufferMaxLength=safeBuffer.kMaxLength,crypto=__webpack_require__.g.crypto||__webpack_require__.g.msCrypto,kMaxUint32=Math.pow(2,32)-1;function assertOffset(offset,length){if("number"!=typeof offset||offset!=offset)throw new TypeError("offset must be a number");if(offset>kMaxUint32||offset<0)throw new TypeError("offset must be a uint32");if(offset>kBufferMaxLength||offset>length)throw new RangeError("offset out of range")}function assertSize(size,offset,length){if("number"!=typeof size||size!=size)throw new TypeError("size must be a number");if(size>kMaxUint32||size<0)throw new TypeError("size must be a uint32");if(size+offset>length||size>kBufferMaxLength)throw new RangeError("buffer too small")}function actualFill(buf,offset,size,cb){if(process.browser){var ourBuf=buf.buffer,uint=new Uint8Array(ourBuf,offset,size);return crypto.getRandomValues(uint),cb?void process.nextTick((function(){cb(null,buf)})):buf}if(!cb)return randombytes(size).copy(buf,offset),buf;randombytes(size,(function(err,bytes){if(err)return cb(err);bytes.copy(buf,offset),cb(null,buf)}))}crypto&&crypto.getRandomValues||!process.browser?(exports.randomFill=function randomFill(buf,offset,size,cb){if(!(Buffer.isBuffer(buf)||buf instanceof __webpack_require__.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof offset)cb=offset,offset=0,size=buf.length;else if("function"==typeof size)cb=size,size=buf.length-offset;else if("function"!=typeof cb)throw new TypeError('"cb" argument must be a function');return assertOffset(offset,buf.length),assertSize(size,offset,buf.length),actualFill(buf,offset,size,cb)},exports.randomFillSync=function randomFillSync(buf,offset,size){void 0===offset&&(offset=0);if(!(Buffer.isBuffer(buf)||buf instanceof __webpack_require__.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');assertOffset(offset,buf.length),void 0===size&&(size=buf.length-offset);return assertSize(size,offset,buf.length),actualFill(buf,offset,size)}):(exports.randomFill=oldBrowser,exports.randomFillSync=oldBrowser)},94281:function(module){var codes={};function createErrorType(code,message,Base){Base||(Base=Error);var NodeError=function(_Base){function NodeError(arg1,arg2,arg3){return _Base.call(this,function getMessage(arg1,arg2,arg3){return"string"==typeof message?message:message(arg1,arg2,arg3)}(arg1,arg2,arg3))||this}return function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,subClass.__proto__=superClass}(NodeError,_Base),NodeError}(Base);NodeError.prototype.name=Base.name,NodeError.prototype.code=code,codes[code]=NodeError}function oneOf(expected,thing){if(Array.isArray(expected)){var len=expected.length;return expected=expected.map((function(i){return String(i)})),len>2?"one of ".concat(thing," ").concat(expected.slice(0,len-1).join(", "),", or ")+expected[len-1]:2===len?"one of ".concat(thing," ").concat(expected[0]," or ").concat(expected[1]):"of ".concat(thing," ").concat(expected[0])}return"of ".concat(thing," ").concat(String(expected))}createErrorType("ERR_INVALID_OPT_VALUE",(function(name,value){return'The value "'+value+'" is invalid for option "'+name+'"'}),TypeError),createErrorType("ERR_INVALID_ARG_TYPE",(function(name,expected,actual){var determiner,msg;if("string"==typeof expected&&function startsWith(str,search,pos){return str.substr(!pos||pos<0?0:+pos,search.length)===search}(expected,"not ")?(determiner="must not be",expected=expected.replace(/^not /,"")):determiner="must be",function endsWith(str,search,this_len){return(void 0===this_len||this_len>str.length)&&(this_len=str.length),str.substring(this_len-search.length,this_len)===search}(name," argument"))msg="The ".concat(name," ").concat(determiner," ").concat(oneOf(expected,"type"));else{var type=function includes(str,search,start){return"number"!=typeof start&&(start=0),!(start+search.length>str.length)&&-1!==str.indexOf(search,start)}(name,".")?"property":"argument";msg='The "'.concat(name,'" ').concat(type," ").concat(determiner," ").concat(oneOf(expected,"type"))}return msg+=". Received type ".concat(typeof actual)}),TypeError),createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),createErrorType("ERR_METHOD_NOT_IMPLEMENTED",(function(name){return"The "+name+" method is not implemented"})),createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close"),createErrorType("ERR_STREAM_DESTROYED",(function(name){return"Cannot call "+name+" after a stream was destroyed"})),createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end"),createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),createErrorType("ERR_UNKNOWN_ENCODING",(function(arg){return"Unknown encoding: "+arg}),TypeError),createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),module.exports.q=codes},56753:function(module,__unused_webpack_exports,__webpack_require__){var process=__webpack_require__(34155),objectKeys=Object.keys||function(obj){var keys=[];for(var key in obj)keys.push(key);return keys};module.exports=Duplex;var Readable=__webpack_require__(79481),Writable=__webpack_require__(64229);__webpack_require__(35717)(Duplex,Readable);for(var keys=objectKeys(Writable.prototype),v=0;v<keys.length;v++){var method=keys[v];Duplex.prototype[method]||(Duplex.prototype[method]=Writable.prototype[method])}function Duplex(options){if(!(this instanceof Duplex))return new Duplex(options);Readable.call(this,options),Writable.call(this,options),this.allowHalfOpen=!0,options&&(!1===options.readable&&(this.readable=!1),!1===options.writable&&(this.writable=!1),!1===options.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",onend)))}function onend(){this._writableState.ended||process.nextTick(onEndNT,this)}function onEndNT(self){self.end()}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:!1,get:function get(){return this._writableState.highWaterMark}}),Object.defineProperty(Duplex.prototype,"writableBuffer",{enumerable:!1,get:function get(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Duplex.prototype,"writableLength",{enumerable:!1,get:function get(){return this._writableState.length}}),Object.defineProperty(Duplex.prototype,"destroyed",{enumerable:!1,get:function get(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function set(value){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=value,this._writableState.destroyed=value)}})},82725:function(module,__unused_webpack_exports,__webpack_require__){module.exports=PassThrough;var Transform=__webpack_require__(74605);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options)}__webpack_require__(35717)(PassThrough,Transform),PassThrough.prototype._transform=function(chunk,encoding,cb){cb(null,chunk)}},79481:function(module,__unused_webpack_exports,__webpack_require__){var Duplex,process=__webpack_require__(34155);module.exports=Readable,Readable.ReadableState=ReadableState;__webpack_require__(17187).EventEmitter;var EElistenerCount=function EElistenerCount(emitter,type){return emitter.listeners(type).length},Stream=__webpack_require__(22503),Buffer=__webpack_require__(48764).Buffer,OurUint8Array=__webpack_require__.g.Uint8Array||function(){};var debug,debugUtil=__webpack_require__(94616);debug=debugUtil&&debugUtil.debuglog?debugUtil.debuglog("stream"):function debug(){};var StringDecoder,createReadableStreamAsyncIterator,from,BufferList=__webpack_require__(77086),destroyImpl=__webpack_require__(61195),getHighWaterMark=__webpack_require__(82457).getHighWaterMark,_require$codes=__webpack_require__(94281).q,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_STREAM_PUSH_AFTER_EOF=_require$codes.ERR_STREAM_PUSH_AFTER_EOF,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_STREAM_UNSHIFT_AFTER_END_EVENT=_require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;__webpack_require__(35717)(Readable,Stream);var errorOrDestroy=destroyImpl.errorOrDestroy,kProxyEvents=["error","close","destroy","pause","resume"];function ReadableState(options,stream,isDuplex){Duplex=Duplex||__webpack_require__(56753),options=options||{},"boolean"!=typeof isDuplex&&(isDuplex=stream instanceof Duplex),this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.readableObjectMode),this.highWaterMark=getHighWaterMark(this,options,"readableHighWaterMark",isDuplex),this.buffer=new BufferList,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==options.emitClose,this.autoDestroy=!!options.autoDestroy,this.destroyed=!1,this.defaultEncoding=options.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,options.encoding&&(StringDecoder||(StringDecoder=__webpack_require__(32553).s),this.decoder=new StringDecoder(options.encoding),this.encoding=options.encoding)}function Readable(options){if(Duplex=Duplex||__webpack_require__(56753),!(this instanceof Readable))return new Readable(options);var isDuplex=this instanceof Duplex;this._readableState=new ReadableState(options,this,isDuplex),this.readable=!0,options&&("function"==typeof options.read&&(this._read=options.read),"function"==typeof options.destroy&&(this._destroy=options.destroy)),Stream.call(this)}function readableAddChunk(stream,chunk,encoding,addToFront,skipChunkCheck){debug("readableAddChunk",chunk);var er,state=stream._readableState;if(null===chunk)state.reading=!1,function onEofChunk(stream,state){if(debug("onEofChunk"),state.ended)return;if(state.decoder){var chunk=state.decoder.end();chunk&&chunk.length&&(state.buffer.push(chunk),state.length+=state.objectMode?1:chunk.length)}state.ended=!0,state.sync?emitReadable(stream):(state.needReadable=!1,state.emittedReadable||(state.emittedReadable=!0,emitReadable_(stream)))}(stream,state);else if(skipChunkCheck||(er=function chunkInvalid(state,chunk){var er;(function _isUint8Array(obj){return Buffer.isBuffer(obj)||obj instanceof OurUint8Array})(chunk)||"string"==typeof chunk||void 0===chunk||state.objectMode||(er=new ERR_INVALID_ARG_TYPE("chunk",["string","Buffer","Uint8Array"],chunk));return er}(state,chunk)),er)errorOrDestroy(stream,er);else if(state.objectMode||chunk&&chunk.length>0)if("string"==typeof chunk||state.objectMode||Object.getPrototypeOf(chunk)===Buffer.prototype||(chunk=function _uint8ArrayToBuffer(chunk){return Buffer.from(chunk)}(chunk)),addToFront)state.endEmitted?errorOrDestroy(stream,new ERR_STREAM_UNSHIFT_AFTER_END_EVENT):addChunk(stream,state,chunk,!0);else if(state.ended)errorOrDestroy(stream,new ERR_STREAM_PUSH_AFTER_EOF);else{if(state.destroyed)return!1;state.reading=!1,state.decoder&&!encoding?(chunk=state.decoder.write(chunk),state.objectMode||0!==chunk.length?addChunk(stream,state,chunk,!1):maybeReadMore(stream,state)):addChunk(stream,state,chunk,!1)}else addToFront||(state.reading=!1,maybeReadMore(stream,state));return!state.ended&&(state.length<state.highWaterMark||0===state.length)}function addChunk(stream,state,chunk,addToFront){state.flowing&&0===state.length&&!state.sync?(state.awaitDrain=0,stream.emit("data",chunk)):(state.length+=state.objectMode?1:chunk.length,addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk),state.needReadable&&emitReadable(stream)),maybeReadMore(stream,state)}Object.defineProperty(Readable.prototype,"destroyed",{enumerable:!1,get:function get(){return void 0!==this._readableState&&this._readableState.destroyed},set:function set(value){this._readableState&&(this._readableState.destroyed=value)}}),Readable.prototype.destroy=destroyImpl.destroy,Readable.prototype._undestroy=destroyImpl.undestroy,Readable.prototype._destroy=function(err,cb){cb(err)},Readable.prototype.push=function(chunk,encoding){var skipChunkCheck,state=this._readableState;return state.objectMode?skipChunkCheck=!0:"string"==typeof chunk&&((encoding=encoding||state.defaultEncoding)!==state.encoding&&(chunk=Buffer.from(chunk,encoding),encoding=""),skipChunkCheck=!0),readableAddChunk(this,chunk,encoding,!1,skipChunkCheck)},Readable.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,!0,!1)},Readable.prototype.isPaused=function(){return!1===this._readableState.flowing},Readable.prototype.setEncoding=function(enc){StringDecoder||(StringDecoder=__webpack_require__(32553).s);var decoder=new StringDecoder(enc);this._readableState.decoder=decoder,this._readableState.encoding=this._readableState.decoder.encoding;for(var p=this._readableState.buffer.head,content="";null!==p;)content+=decoder.write(p.data),p=p.next;return this._readableState.buffer.clear(),""!==content&&this._readableState.buffer.push(content),this._readableState.length=content.length,this};function howMuchToRead(n,state){return n<=0||0===state.length&&state.ended?0:state.objectMode?1:n!=n?state.flowing&&state.length?state.buffer.head.data.length:state.length:(n>state.highWaterMark&&(state.highWaterMark=function computeNewHighWaterMark(n){return n>=1073741824?n=1073741824:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}(n)),n<=state.length?n:state.ended?state.length:(state.needReadable=!0,0))}function emitReadable(stream){var state=stream._readableState;debug("emitReadable",state.needReadable,state.emittedReadable),state.needReadable=!1,state.emittedReadable||(debug("emitReadable",state.flowing),state.emittedReadable=!0,process.nextTick(emitReadable_,stream))}function emitReadable_(stream){var state=stream._readableState;debug("emitReadable_",state.destroyed,state.length,state.ended),state.destroyed||!state.length&&!state.ended||(stream.emit("readable"),state.emittedReadable=!1),state.needReadable=!state.flowing&&!state.ended&&state.length<=state.highWaterMark,flow(stream)}function maybeReadMore(stream,state){state.readingMore||(state.readingMore=!0,process.nextTick(maybeReadMore_,stream,state))}function maybeReadMore_(stream,state){for(;!state.reading&&!state.ended&&(state.length<state.highWaterMark||state.flowing&&0===state.length);){var len=state.length;if(debug("maybeReadMore read 0"),stream.read(0),len===state.length)break}state.readingMore=!1}function updateReadableListening(self){var state=self._readableState;state.readableListening=self.listenerCount("readable")>0,state.resumeScheduled&&!state.paused?state.flowing=!0:self.listenerCount("data")>0&&self.resume()}function nReadingNextTick(self){debug("readable nexttick read 0"),self.read(0)}function resume_(stream,state){debug("resume",state.reading),state.reading||stream.read(0),state.resumeScheduled=!1,stream.emit("resume"),flow(stream),state.flowing&&!state.reading&&stream.read(0)}function flow(stream){var state=stream._readableState;for(debug("flow",state.flowing);state.flowing&&null!==stream.read(););}function fromList(n,state){return 0===state.length?null:(state.objectMode?ret=state.buffer.shift():!n||n>=state.length?(ret=state.decoder?state.buffer.join(""):1===state.buffer.length?state.buffer.first():state.buffer.concat(state.length),state.buffer.clear()):ret=state.buffer.consume(n,state.decoder),ret);var ret}function endReadable(stream){var state=stream._readableState;debug("endReadable",state.endEmitted),state.endEmitted||(state.ended=!0,process.nextTick(endReadableNT,state,stream))}function endReadableNT(state,stream){if(debug("endReadableNT",state.endEmitted,state.length),!state.endEmitted&&0===state.length&&(state.endEmitted=!0,stream.readable=!1,stream.emit("end"),state.autoDestroy)){var wState=stream._writableState;(!wState||wState.autoDestroy&&wState.finished)&&stream.destroy()}}function indexOf(xs,x){for(var i=0,l=xs.length;i<l;i++)if(xs[i]===x)return i;return-1}Readable.prototype.read=function(n){debug("read",n),n=parseInt(n,10);var state=this._readableState,nOrig=n;if(0!==n&&(state.emittedReadable=!1),0===n&&state.needReadable&&((0!==state.highWaterMark?state.length>=state.highWaterMark:state.length>0)||state.ended))return debug("read: emitReadable",state.length,state.ended),0===state.length&&state.ended?endReadable(this):emitReadable(this),null;if(0===(n=howMuchToRead(n,state))&&state.ended)return 0===state.length&&endReadable(this),null;var ret,doRead=state.needReadable;return debug("need readable",doRead),(0===state.length||state.length-n<state.highWaterMark)&&debug("length less than watermark",doRead=!0),state.ended||state.reading?debug("reading or ended",doRead=!1):doRead&&(debug("do read"),state.reading=!0,state.sync=!0,0===state.length&&(state.needReadable=!0),this._read(state.highWaterMark),state.sync=!1,state.reading||(n=howMuchToRead(nOrig,state))),null===(ret=n>0?fromList(n,state):null)?(state.needReadable=state.length<=state.highWaterMark,n=0):(state.length-=n,state.awaitDrain=0),0===state.length&&(state.ended||(state.needReadable=!0),nOrig!==n&&state.ended&&endReadable(this)),null!==ret&&this.emit("data",ret),ret},Readable.prototype._read=function(n){errorOrDestroy(this,new ERR_METHOD_NOT_IMPLEMENTED("_read()"))},Readable.prototype.pipe=function(dest,pipeOpts){var src=this,state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest)}state.pipesCount+=1,debug("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var endFn=(!pipeOpts||!1!==pipeOpts.end)&&dest!==process.stdout&&dest!==process.stderr?onend:unpipe;function onunpipe(readable,unpipeInfo){debug("onunpipe"),readable===src&&unpipeInfo&&!1===unpipeInfo.hasUnpiped&&(unpipeInfo.hasUnpiped=!0,function cleanup(){debug("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",unpipe),src.removeListener("data",ondata),cleanedUp=!0,!state.awaitDrain||dest._writableState&&!dest._writableState.needDrain||ondrain()}())}function onend(){debug("onend"),dest.end()}state.endEmitted?process.nextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);var ondrain=function pipeOnDrain(src){return function pipeOnDrainFunctionResult(){var state=src._readableState;debug("pipeOnDrain",state.awaitDrain),state.awaitDrain&&state.awaitDrain--,0===state.awaitDrain&&EElistenerCount(src,"data")&&(state.flowing=!0,flow(src))}}(src);dest.on("drain",ondrain);var cleanedUp=!1;function ondata(chunk){debug("ondata");var ret=dest.write(chunk);debug("dest.write",ret),!1===ret&&((1===state.pipesCount&&state.pipes===dest||state.pipesCount>1&&-1!==indexOf(state.pipes,dest))&&!cleanedUp&&(debug("false write response, pause",state.awaitDrain),state.awaitDrain++),src.pause())}function onerror(er){debug("onerror",er),unpipe(),dest.removeListener("error",onerror),0===EElistenerCount(dest,"error")&&errorOrDestroy(dest,er)}function onclose(){dest.removeListener("finish",onfinish),unpipe()}function onfinish(){debug("onfinish"),dest.removeListener("close",onclose),unpipe()}function unpipe(){debug("unpipe"),src.unpipe(dest)}return src.on("data",ondata),function prependListener(emitter,event,fn){if("function"==typeof emitter.prependListener)return emitter.prependListener(event,fn);emitter._events&&emitter._events[event]?Array.isArray(emitter._events[event])?emitter._events[event].unshift(fn):emitter._events[event]=[fn,emitter._events[event]]:emitter.on(event,fn)}(dest,"error",onerror),dest.once("close",onclose),dest.once("finish",onfinish),dest.emit("pipe",src),state.flowing||(debug("pipe resume"),src.resume()),dest},Readable.prototype.unpipe=function(dest){var state=this._readableState,unpipeInfo={hasUnpiped:!1};if(0===state.pipesCount)return this;if(1===state.pipesCount)return dest&&dest!==state.pipes||(dest||(dest=state.pipes),state.pipes=null,state.pipesCount=0,state.flowing=!1,dest&&dest.emit("unpipe",this,unpipeInfo)),this;if(!dest){var dests=state.pipes,len=state.pipesCount;state.pipes=null,state.pipesCount=0,state.flowing=!1;for(var i=0;i<len;i++)dests[i].emit("unpipe",this,{hasUnpiped:!1});return this}var index=indexOf(state.pipes,dest);return-1===index||(state.pipes.splice(index,1),state.pipesCount-=1,1===state.pipesCount&&(state.pipes=state.pipes[0]),dest.emit("unpipe",this,unpipeInfo)),this},Readable.prototype.on=function(ev,fn){var res=Stream.prototype.on.call(this,ev,fn),state=this._readableState;return"data"===ev?(state.readableListening=this.listenerCount("readable")>0,!1!==state.flowing&&this.resume()):"readable"===ev&&(state.endEmitted||state.readableListening||(state.readableListening=state.needReadable=!0,state.flowing=!1,state.emittedReadable=!1,debug("on readable",state.length,state.reading),state.length?emitReadable(this):state.reading||process.nextTick(nReadingNextTick,this))),res},Readable.prototype.addListener=Readable.prototype.on,Readable.prototype.removeListener=function(ev,fn){var res=Stream.prototype.removeListener.call(this,ev,fn);return"readable"===ev&&process.nextTick(updateReadableListening,this),res},Readable.prototype.removeAllListeners=function(ev){var res=Stream.prototype.removeAllListeners.apply(this,arguments);return"readable"!==ev&&void 0!==ev||process.nextTick(updateReadableListening,this),res},Readable.prototype.resume=function(){var state=this._readableState;return state.flowing||(debug("resume"),state.flowing=!state.readableListening,function resume(stream,state){state.resumeScheduled||(state.resumeScheduled=!0,process.nextTick(resume_,stream,state))}(this,state)),state.paused=!1,this},Readable.prototype.pause=function(){return debug("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(debug("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},Readable.prototype.wrap=function(stream){var _this=this,state=this._readableState,paused=!1;for(var i in stream.on("end",(function(){if(debug("wrapped end"),state.decoder&&!state.ended){var chunk=state.decoder.end();chunk&&chunk.length&&_this.push(chunk)}_this.push(null)})),stream.on("data",(function(chunk){(debug("wrapped data"),state.decoder&&(chunk=state.decoder.write(chunk)),state.objectMode&&null==chunk)||(state.objectMode||chunk&&chunk.length)&&(_this.push(chunk)||(paused=!0,stream.pause()))})),stream)void 0===this[i]&&"function"==typeof stream[i]&&(this[i]=function methodWrap(method){return function methodWrapReturnFunction(){return stream[method].apply(stream,arguments)}}(i));for(var n=0;n<kProxyEvents.length;n++)stream.on(kProxyEvents[n],this.emit.bind(this,kProxyEvents[n]));return this._read=function(n){debug("wrapped _read",n),paused&&(paused=!1,stream.resume())},this},"function"==typeof Symbol&&(Readable.prototype[Symbol.asyncIterator]=function(){return void 0===createReadableStreamAsyncIterator&&(createReadableStreamAsyncIterator=__webpack_require__(45850)),createReadableStreamAsyncIterator(this)}),Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function get(){return this._readableState.highWaterMark}}),Object.defineProperty(Readable.prototype,"readableBuffer",{enumerable:!1,get:function get(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Readable.prototype,"readableFlowing",{enumerable:!1,get:function get(){return this._readableState.flowing},set:function set(state){this._readableState&&(this._readableState.flowing=state)}}),Readable._fromList=fromList,Object.defineProperty(Readable.prototype,"readableLength",{enumerable:!1,get:function get(){return this._readableState.length}}),"function"==typeof Symbol&&(Readable.from=function(iterable,opts){return void 0===from&&(from=__webpack_require__(15167)),from(Readable,iterable,opts)})},74605:function(module,__unused_webpack_exports,__webpack_require__){module.exports=Transform;var _require$codes=__webpack_require__(94281).q,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_MULTIPLE_CALLBACK=_require$codes.ERR_MULTIPLE_CALLBACK,ERR_TRANSFORM_ALREADY_TRANSFORMING=_require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,ERR_TRANSFORM_WITH_LENGTH_0=_require$codes.ERR_TRANSFORM_WITH_LENGTH_0,Duplex=__webpack_require__(56753);function afterTransform(er,data){var ts=this._transformState;ts.transforming=!1;var cb=ts.writecb;if(null===cb)return this.emit("error",new ERR_MULTIPLE_CALLBACK);ts.writechunk=null,ts.writecb=null,null!=data&&this.push(data),cb(er);var rs=this._readableState;rs.reading=!1,(rs.needReadable||rs.length<rs.highWaterMark)&&this._read(rs.highWaterMark)}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex.call(this,options),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,options&&("function"==typeof options.transform&&(this._transform=options.transform),"function"==typeof options.flush&&(this._flush=options.flush)),this.on("prefinish",prefinish)}function prefinish(){var _this=this;"function"!=typeof this._flush||this._readableState.destroyed?done(this,null,null):this._flush((function(er,data){done(_this,er,data)}))}function done(stream,er,data){if(er)return stream.emit("error",er);if(null!=data&&stream.push(data),stream._writableState.length)throw new ERR_TRANSFORM_WITH_LENGTH_0;if(stream._transformState.transforming)throw new ERR_TRANSFORM_ALREADY_TRANSFORMING;return stream.push(null)}__webpack_require__(35717)(Transform,Duplex),Transform.prototype.push=function(chunk,encoding){return this._transformState.needTransform=!1,Duplex.prototype.push.call(this,chunk,encoding)},Transform.prototype._transform=function(chunk,encoding,cb){cb(new ERR_METHOD_NOT_IMPLEMENTED("_transform()"))},Transform.prototype._write=function(chunk,encoding,cb){var ts=this._transformState;if(ts.writecb=cb,ts.writechunk=chunk,ts.writeencoding=encoding,!ts.transforming){var rs=this._readableState;(ts.needTransform||rs.needReadable||rs.length<rs.highWaterMark)&&this._read(rs.highWaterMark)}},Transform.prototype._read=function(n){var ts=this._transformState;null===ts.writechunk||ts.transforming?ts.needTransform=!0:(ts.transforming=!0,this._transform(ts.writechunk,ts.writeencoding,ts.afterTransform))},Transform.prototype._destroy=function(err,cb){Duplex.prototype._destroy.call(this,err,(function(err2){cb(err2)}))}},64229:function(module,__unused_webpack_exports,__webpack_require__){var Duplex,process=__webpack_require__(34155);function CorkedRequest(state){var _this=this;this.next=null,this.entry=null,this.finish=function(){!function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;corkReq.entry=null;for(;entry;){var cb=entry.callback;state.pendingcb--,cb(err),entry=entry.next}state.corkedRequestsFree.next=corkReq}(_this,state)}}module.exports=Writable,Writable.WritableState=WritableState;var internalUtil={deprecate:__webpack_require__(94927)},Stream=__webpack_require__(22503),Buffer=__webpack_require__(48764).Buffer,OurUint8Array=__webpack_require__.g.Uint8Array||function(){};var realHasInstance,destroyImpl=__webpack_require__(61195),getHighWaterMark=__webpack_require__(82457).getHighWaterMark,_require$codes=__webpack_require__(94281).q,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_MULTIPLE_CALLBACK=_require$codes.ERR_MULTIPLE_CALLBACK,ERR_STREAM_CANNOT_PIPE=_require$codes.ERR_STREAM_CANNOT_PIPE,ERR_STREAM_DESTROYED=_require$codes.ERR_STREAM_DESTROYED,ERR_STREAM_NULL_VALUES=_require$codes.ERR_STREAM_NULL_VALUES,ERR_STREAM_WRITE_AFTER_END=_require$codes.ERR_STREAM_WRITE_AFTER_END,ERR_UNKNOWN_ENCODING=_require$codes.ERR_UNKNOWN_ENCODING,errorOrDestroy=destroyImpl.errorOrDestroy;function nop(){}function WritableState(options,stream,isDuplex){Duplex=Duplex||__webpack_require__(56753),options=options||{},"boolean"!=typeof isDuplex&&(isDuplex=stream instanceof Duplex),this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.writableObjectMode),this.highWaterMark=getHighWaterMark(this,options,"writableHighWaterMark",isDuplex),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var noDecode=!1===options.decodeStrings;this.decodeStrings=!noDecode,this.defaultEncoding=options.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(er){!function onwrite(stream,er){var state=stream._writableState,sync=state.sync,cb=state.writecb;if("function"!=typeof cb)throw new ERR_MULTIPLE_CALLBACK;if(function onwriteStateUpdate(state){state.writing=!1,state.writecb=null,state.length-=state.writelen,state.writelen=0}(state),er)!function onwriteError(stream,state,sync,er,cb){--state.pendingcb,sync?(process.nextTick(cb,er),process.nextTick(finishMaybe,stream,state),stream._writableState.errorEmitted=!0,errorOrDestroy(stream,er)):(cb(er),stream._writableState.errorEmitted=!0,errorOrDestroy(stream,er),finishMaybe(stream,state))}(stream,state,sync,er,cb);else{var finished=needFinish(state)||stream.destroyed;finished||state.corked||state.bufferProcessing||!state.bufferedRequest||clearBuffer(stream,state),sync?process.nextTick(afterWrite,stream,state,finished,cb):afterWrite(stream,state,finished,cb)}}(stream,er)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==options.emitClose,this.autoDestroy=!!options.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this)}function Writable(options){var isDuplex=this instanceof(Duplex=Duplex||__webpack_require__(56753));if(!isDuplex&&!realHasInstance.call(Writable,this))return new Writable(options);this._writableState=new WritableState(options,this,isDuplex),this.writable=!0,options&&("function"==typeof options.write&&(this._write=options.write),"function"==typeof options.writev&&(this._writev=options.writev),"function"==typeof options.destroy&&(this._destroy=options.destroy),"function"==typeof options.final&&(this._final=options.final)),Stream.call(this)}function doWrite(stream,state,writev,len,chunk,encoding,cb){state.writelen=len,state.writecb=cb,state.writing=!0,state.sync=!0,state.destroyed?state.onwrite(new ERR_STREAM_DESTROYED("write")):writev?stream._writev(chunk,state.onwrite):stream._write(chunk,encoding,state.onwrite),state.sync=!1}function afterWrite(stream,state,finished,cb){finished||function onwriteDrain(stream,state){0===state.length&&state.needDrain&&(state.needDrain=!1,stream.emit("drain"))}(stream,state),state.pendingcb--,cb(),finishMaybe(stream,state)}function clearBuffer(stream,state){state.bufferProcessing=!0;var entry=state.bufferedRequest;if(stream._writev&&entry&&entry.next){var l=state.bufferedRequestCount,buffer=new Array(l),holder=state.corkedRequestsFree;holder.entry=entry;for(var count=0,allBuffers=!0;entry;)buffer[count]=entry,entry.isBuf||(allBuffers=!1),entry=entry.next,count+=1;buffer.allBuffers=allBuffers,doWrite(stream,state,!0,state.length,buffer,"",holder.finish),state.pendingcb++,state.lastBufferedRequest=null,holder.next?(state.corkedRequestsFree=holder.next,holder.next=null):state.corkedRequestsFree=new CorkedRequest(state),state.bufferedRequestCount=0}else{for(;entry;){var chunk=entry.chunk,encoding=entry.encoding,cb=entry.callback;if(doWrite(stream,state,!1,state.objectMode?1:chunk.length,chunk,encoding,cb),entry=entry.next,state.bufferedRequestCount--,state.writing)break}null===entry&&(state.lastBufferedRequest=null)}state.bufferedRequest=entry,state.bufferProcessing=!1}function needFinish(state){return state.ending&&0===state.length&&null===state.bufferedRequest&&!state.finished&&!state.writing}function callFinal(stream,state){stream._final((function(err){state.pendingcb--,err&&errorOrDestroy(stream,err),state.prefinished=!0,stream.emit("prefinish"),finishMaybe(stream,state)}))}function finishMaybe(stream,state){var need=needFinish(state);if(need&&(function prefinish(stream,state){state.prefinished||state.finalCalled||("function"!=typeof stream._final||state.destroyed?(state.prefinished=!0,stream.emit("prefinish")):(state.pendingcb++,state.finalCalled=!0,process.nextTick(callFinal,stream,state)))}(stream,state),0===state.pendingcb&&(state.finished=!0,stream.emit("finish"),state.autoDestroy))){var rState=stream._readableState;(!rState||rState.autoDestroy&&rState.endEmitted)&&stream.destroy()}return need}__webpack_require__(35717)(Writable,Stream),WritableState.prototype.getBuffer=function getBuffer(){for(var current=this.bufferedRequest,out=[];current;)out.push(current),current=current.next;return out},function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate((function writableStateBufferGetter(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(_){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(realHasInstance=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function value(object){return!!realHasInstance.call(this,object)||this===Writable&&(object&&object._writableState instanceof WritableState)}})):realHasInstance=function realHasInstance(object){return object instanceof this},Writable.prototype.pipe=function(){errorOrDestroy(this,new ERR_STREAM_CANNOT_PIPE)},Writable.prototype.write=function(chunk,encoding,cb){var state=this._writableState,ret=!1,isBuf=!state.objectMode&&function _isUint8Array(obj){return Buffer.isBuffer(obj)||obj instanceof OurUint8Array}(chunk);return isBuf&&!Buffer.isBuffer(chunk)&&(chunk=function _uint8ArrayToBuffer(chunk){return Buffer.from(chunk)}(chunk)),"function"==typeof encoding&&(cb=encoding,encoding=null),isBuf?encoding="buffer":encoding||(encoding=state.defaultEncoding),"function"!=typeof cb&&(cb=nop),state.ending?function writeAfterEnd(stream,cb){var er=new ERR_STREAM_WRITE_AFTER_END;errorOrDestroy(stream,er),process.nextTick(cb,er)}(this,cb):(isBuf||function validChunk(stream,state,chunk,cb){var er;return null===chunk?er=new ERR_STREAM_NULL_VALUES:"string"==typeof chunk||state.objectMode||(er=new ERR_INVALID_ARG_TYPE("chunk",["string","Buffer"],chunk)),!er||(errorOrDestroy(stream,er),process.nextTick(cb,er),!1)}(this,state,chunk,cb))&&(state.pendingcb++,ret=function writeOrBuffer(stream,state,isBuf,chunk,encoding,cb){if(!isBuf){var newChunk=function decodeChunk(state,chunk,encoding){state.objectMode||!1===state.decodeStrings||"string"!=typeof chunk||(chunk=Buffer.from(chunk,encoding));return chunk}(state,chunk,encoding);chunk!==newChunk&&(isBuf=!0,encoding="buffer",chunk=newChunk)}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;ret||(state.needDrain=!0);if(state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk:chunk,encoding:encoding,isBuf:isBuf,callback:cb,next:null},last?last.next=state.lastBufferedRequest:state.bufferedRequest=state.lastBufferedRequest,state.bufferedRequestCount+=1}else doWrite(stream,state,!1,len,chunk,encoding,cb);return ret}(this,state,isBuf,chunk,encoding,cb)),ret},Writable.prototype.cork=function(){this._writableState.corked++},Writable.prototype.uncork=function(){var state=this._writableState;state.corked&&(state.corked--,state.writing||state.corked||state.bufferProcessing||!state.bufferedRequest||clearBuffer(this,state))},Writable.prototype.setDefaultEncoding=function setDefaultEncoding(encoding){if("string"==typeof encoding&&(encoding=encoding.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new ERR_UNKNOWN_ENCODING(encoding);return this._writableState.defaultEncoding=encoding,this},Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:!1,get:function get(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function get(){return this._writableState.highWaterMark}}),Writable.prototype._write=function(chunk,encoding,cb){cb(new ERR_METHOD_NOT_IMPLEMENTED("_write()"))},Writable.prototype._writev=null,Writable.prototype.end=function(chunk,encoding,cb){var state=this._writableState;return"function"==typeof chunk?(cb=chunk,chunk=null,encoding=null):"function"==typeof encoding&&(cb=encoding,encoding=null),null!=chunk&&this.write(chunk,encoding),state.corked&&(state.corked=1,this.uncork()),state.ending||function endWritable(stream,state,cb){state.ending=!0,finishMaybe(stream,state),cb&&(state.finished?process.nextTick(cb):stream.once("finish",cb));state.ended=!0,stream.writable=!1}(this,state,cb),this},Object.defineProperty(Writable.prototype,"writableLength",{enumerable:!1,get:function get(){return this._writableState.length}}),Object.defineProperty(Writable.prototype,"destroyed",{enumerable:!1,get:function get(){return void 0!==this._writableState&&this._writableState.destroyed},set:function set(value){this._writableState&&(this._writableState.destroyed=value)}}),Writable.prototype.destroy=destroyImpl.destroy,Writable.prototype._undestroy=destroyImpl.undestroy,Writable.prototype._destroy=function(err,cb){cb(err)}},45850:function(module,__unused_webpack_exports,__webpack_require__){var _Object$setPrototypeO,process=__webpack_require__(34155);function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var finished=__webpack_require__(8610),kLastResolve=Symbol("lastResolve"),kLastReject=Symbol("lastReject"),kError=Symbol("error"),kEnded=Symbol("ended"),kLastPromise=Symbol("lastPromise"),kHandlePromise=Symbol("handlePromise"),kStream=Symbol("stream");function createIterResult(value,done){return{value:value,done:done}}function readAndResolve(iter){var resolve=iter[kLastResolve];if(null!==resolve){var data=iter[kStream].read();null!==data&&(iter[kLastPromise]=null,iter[kLastResolve]=null,iter[kLastReject]=null,resolve(createIterResult(data,!1)))}}function onReadable(iter){process.nextTick(readAndResolve,iter)}var AsyncIteratorPrototype=Object.getPrototypeOf((function(){})),ReadableStreamAsyncIteratorPrototype=Object.setPrototypeOf((_defineProperty(_Object$setPrototypeO={get stream(){return this[kStream]},next:function next(){var _this=this,error=this[kError];if(null!==error)return Promise.reject(error);if(this[kEnded])return Promise.resolve(createIterResult(void 0,!0));if(this[kStream].destroyed)return new Promise((function(resolve,reject){process.nextTick((function(){_this[kError]?reject(_this[kError]):resolve(createIterResult(void 0,!0))}))}));var promise,lastPromise=this[kLastPromise];if(lastPromise)promise=new Promise(function wrapForNext(lastPromise,iter){return function(resolve,reject){lastPromise.then((function(){iter[kEnded]?resolve(createIterResult(void 0,!0)):iter[kHandlePromise](resolve,reject)}),reject)}}(lastPromise,this));else{var data=this[kStream].read();if(null!==data)return Promise.resolve(createIterResult(data,!1));promise=new Promise(this[kHandlePromise])}return this[kLastPromise]=promise,promise}},Symbol.asyncIterator,(function(){return this})),_defineProperty(_Object$setPrototypeO,"return",(function _return(){var _this2=this;return new Promise((function(resolve,reject){_this2[kStream].destroy(null,(function(err){err?reject(err):resolve(createIterResult(void 0,!0))}))}))})),_Object$setPrototypeO),AsyncIteratorPrototype);module.exports=function createReadableStreamAsyncIterator(stream){var _Object$create,iterator=Object.create(ReadableStreamAsyncIteratorPrototype,(_defineProperty(_Object$create={},kStream,{value:stream,writable:!0}),_defineProperty(_Object$create,kLastResolve,{value:null,writable:!0}),_defineProperty(_Object$create,kLastReject,{value:null,writable:!0}),_defineProperty(_Object$create,kError,{value:null,writable:!0}),_defineProperty(_Object$create,kEnded,{value:stream._readableState.endEmitted,writable:!0}),_defineProperty(_Object$create,kHandlePromise,{value:function value(resolve,reject){var data=iterator[kStream].read();data?(iterator[kLastPromise]=null,iterator[kLastResolve]=null,iterator[kLastReject]=null,resolve(createIterResult(data,!1))):(iterator[kLastResolve]=resolve,iterator[kLastReject]=reject)},writable:!0}),_Object$create));return iterator[kLastPromise]=null,finished(stream,(function(err){if(err&&"ERR_STREAM_PREMATURE_CLOSE"!==err.code){var reject=iterator[kLastReject];return null!==reject&&(iterator[kLastPromise]=null,iterator[kLastResolve]=null,iterator[kLastReject]=null,reject(err)),void(iterator[kError]=err)}var resolve=iterator[kLastResolve];null!==resolve&&(iterator[kLastPromise]=null,iterator[kLastResolve]=null,iterator[kLastReject]=null,resolve(createIterResult(void 0,!0))),iterator[kEnded]=!0})),stream.on("readable",onReadable.bind(null,iterator)),iterator}},77086:function(module,__unused_webpack_exports,__webpack_require__){function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var Buffer=__webpack_require__(48764).Buffer,inspect=__webpack_require__(52361).inspect,custom=inspect&&inspect.custom||"inspect";module.exports=function(){function BufferList(){!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,BufferList),this.head=null,this.tail=null,this.length=0}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}(BufferList,[{key:"push",value:function push(v){var entry={data:v,next:null};this.length>0?this.tail.next=entry:this.head=entry,this.tail=entry,++this.length}},{key:"unshift",value:function unshift(v){var entry={data:v,next:this.head};0===this.length&&(this.tail=entry),this.head=entry,++this.length}},{key:"shift",value:function shift(){if(0!==this.length){var ret=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,ret}}},{key:"clear",value:function clear(){this.head=this.tail=null,this.length=0}},{key:"join",value:function join(s){if(0===this.length)return"";for(var p=this.head,ret=""+p.data;p=p.next;)ret+=s+p.data;return ret}},{key:"concat",value:function concat(n){if(0===this.length)return Buffer.alloc(0);for(var src,target,offset,ret=Buffer.allocUnsafe(n>>>0),p=this.head,i=0;p;)src=p.data,target=ret,offset=i,Buffer.prototype.copy.call(src,target,offset),i+=p.data.length,p=p.next;return ret}},{key:"consume",value:function consume(n,hasStrings){var ret;return n<this.head.data.length?(ret=this.head.data.slice(0,n),this.head.data=this.head.data.slice(n)):ret=n===this.head.data.length?this.shift():hasStrings?this._getString(n):this._getBuffer(n),ret}},{key:"first",value:function first(){return this.head.data}},{key:"_getString",value:function _getString(n){var p=this.head,c=1,ret=p.data;for(n-=ret.length;p=p.next;){var str=p.data,nb=n>str.length?str.length:n;if(nb===str.length?ret+=str:ret+=str.slice(0,n),0===(n-=nb)){nb===str.length?(++c,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=str.slice(nb));break}++c}return this.length-=c,ret}},{key:"_getBuffer",value:function _getBuffer(n){var ret=Buffer.allocUnsafe(n),p=this.head,c=1;for(p.data.copy(ret),n-=p.data.length;p=p.next;){var buf=p.data,nb=n>buf.length?buf.length:n;if(buf.copy(ret,ret.length-n,0,nb),0===(n-=nb)){nb===buf.length?(++c,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=buf.slice(nb));break}++c}return this.length-=c,ret}},{key:custom,value:function value(_,options){return inspect(this,function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},options,{depth:0,customInspect:!1}))}}]),BufferList}()},61195:function(module,__unused_webpack_exports,__webpack_require__){var process=__webpack_require__(34155);function emitErrorAndCloseNT(self,err){emitErrorNT(self,err),emitCloseNT(self)}function emitCloseNT(self){self._writableState&&!self._writableState.emitClose||self._readableState&&!self._readableState.emitClose||self.emit("close")}function emitErrorNT(self,err){self.emit("error",err)}module.exports={destroy:function destroy(err,cb){var _this=this,readableDestroyed=this._readableState&&this._readableState.destroyed,writableDestroyed=this._writableState&&this._writableState.destroyed;return readableDestroyed||writableDestroyed?(cb?cb(err):err&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(emitErrorNT,this,err)):process.nextTick(emitErrorNT,this,err)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(err||null,(function(err){!cb&&err?_this._writableState?_this._writableState.errorEmitted?process.nextTick(emitCloseNT,_this):(_this._writableState.errorEmitted=!0,process.nextTick(emitErrorAndCloseNT,_this,err)):process.nextTick(emitErrorAndCloseNT,_this,err):cb?(process.nextTick(emitCloseNT,_this),cb(err)):process.nextTick(emitCloseNT,_this)})),this)},undestroy:function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function errorOrDestroy(stream,err){var rState=stream._readableState,wState=stream._writableState;rState&&rState.autoDestroy||wState&&wState.autoDestroy?stream.destroy(err):stream.emit("error",err)}}},8610:function(module,__unused_webpack_exports,__webpack_require__){var ERR_STREAM_PREMATURE_CLOSE=__webpack_require__(94281).q.ERR_STREAM_PREMATURE_CLOSE;function noop(){}module.exports=function eos(stream,opts,callback){if("function"==typeof opts)return eos(stream,null,opts);opts||(opts={}),callback=function once(callback){var called=!1;return function(){if(!called){called=!0;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];callback.apply(this,args)}}}(callback||noop);var readable=opts.readable||!1!==opts.readable&&stream.readable,writable=opts.writable||!1!==opts.writable&&stream.writable,onlegacyfinish=function onlegacyfinish(){stream.writable||onfinish()},writableEnded=stream._writableState&&stream._writableState.finished,onfinish=function onfinish(){writable=!1,writableEnded=!0,readable||callback.call(stream)},readableEnded=stream._readableState&&stream._readableState.endEmitted,onend=function onend(){readable=!1,readableEnded=!0,writable||callback.call(stream)},onerror=function onerror(err){callback.call(stream,err)},onclose=function onclose(){var err;return readable&&!readableEnded?(stream._readableState&&stream._readableState.ended||(err=new ERR_STREAM_PREMATURE_CLOSE),callback.call(stream,err)):writable&&!writableEnded?(stream._writableState&&stream._writableState.ended||(err=new ERR_STREAM_PREMATURE_CLOSE),callback.call(stream,err)):void 0},onrequest=function onrequest(){stream.req.on("finish",onfinish)};return!function isRequest(stream){return stream.setHeader&&"function"==typeof stream.abort}(stream)?writable&&!stream._writableState&&(stream.on("end",onlegacyfinish),stream.on("close",onlegacyfinish)):(stream.on("complete",onfinish),stream.on("abort",onclose),stream.req?onrequest():stream.on("request",onrequest)),stream.on("end",onend),stream.on("finish",onfinish),!1!==opts.error&&stream.on("error",onerror),stream.on("close",onclose),function(){stream.removeListener("complete",onfinish),stream.removeListener("abort",onclose),stream.removeListener("request",onrequest),stream.req&&stream.req.removeListener("finish",onfinish),stream.removeListener("end",onlegacyfinish),stream.removeListener("close",onlegacyfinish),stream.removeListener("finish",onfinish),stream.removeListener("end",onend),stream.removeListener("error",onerror),stream.removeListener("close",onclose)}}},15167:function(module){module.exports=function(){throw new Error("Readable.from is not available in the browser")}},59946:function(module,__unused_webpack_exports,__webpack_require__){var eos;var _require$codes=__webpack_require__(94281).q,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,ERR_STREAM_DESTROYED=_require$codes.ERR_STREAM_DESTROYED;function noop(err){if(err)throw err}function destroyer(stream,reading,writing,callback){callback=function once(callback){var called=!1;return function(){called||(called=!0,callback.apply(void 0,arguments))}}(callback);var closed=!1;stream.on("close",(function(){closed=!0})),void 0===eos&&(eos=__webpack_require__(8610)),eos(stream,{readable:reading,writable:writing},(function(err){if(err)return callback(err);closed=!0,callback()}));var destroyed=!1;return function(err){if(!closed&&!destroyed)return destroyed=!0,function isRequest(stream){return stream.setHeader&&"function"==typeof stream.abort}(stream)?stream.abort():"function"==typeof stream.destroy?stream.destroy():void callback(err||new ERR_STREAM_DESTROYED("pipe"))}}function call(fn){fn()}function pipe(from,to){return from.pipe(to)}function popCallback(streams){return streams.length?"function"!=typeof streams[streams.length-1]?noop:streams.pop():noop}module.exports=function pipeline(){for(var _len=arguments.length,streams=new Array(_len),_key=0;_key<_len;_key++)streams[_key]=arguments[_key];var error,callback=popCallback(streams);if(Array.isArray(streams[0])&&(streams=streams[0]),streams.length<2)throw new ERR_MISSING_ARGS("streams");var destroys=streams.map((function(stream,i){var reading=i<streams.length-1;return destroyer(stream,reading,i>0,(function(err){error||(error=err),err&&destroys.forEach(call),reading||(destroys.forEach(call),callback(error))}))}));return streams.reduce(pipe)}},82457:function(module,__unused_webpack_exports,__webpack_require__){var ERR_INVALID_OPT_VALUE=__webpack_require__(94281).q.ERR_INVALID_OPT_VALUE;module.exports={getHighWaterMark:function getHighWaterMark(state,options,duplexKey,isDuplex){var hwm=function highWaterMarkFrom(options,isDuplex,duplexKey){return null!=options.highWaterMark?options.highWaterMark:isDuplex?options[duplexKey]:null}(options,isDuplex,duplexKey);if(null!=hwm){if(!isFinite(hwm)||Math.floor(hwm)!==hwm||hwm<0)throw new ERR_INVALID_OPT_VALUE(isDuplex?duplexKey:"highWaterMark",hwm);return Math.floor(hwm)}return state.objectMode?16:16384}}},22503:function(module,__unused_webpack_exports,__webpack_require__){module.exports=__webpack_require__(17187).EventEmitter},88473:function(module,exports,__webpack_require__){(exports=module.exports=__webpack_require__(79481)).Stream=exports,exports.Readable=exports,exports.Writable=__webpack_require__(64229),exports.Duplex=__webpack_require__(56753),exports.Transform=__webpack_require__(74605),exports.PassThrough=__webpack_require__(82725),exports.finished=__webpack_require__(8610),exports.pipeline=__webpack_require__(59946)},35666:function(module){var runtime=function(exports){var Op=Object.prototype,hasOwn=Op.hasOwnProperty,$Symbol="function"==typeof Symbol?Symbol:{},iteratorSymbol=$Symbol.iterator||"@@iterator",asyncIteratorSymbol=$Symbol.asyncIterator||"@@asyncIterator",toStringTagSymbol=$Symbol.toStringTag||"@@toStringTag";function define(obj,key,value){return Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}),obj[key]}try{define({},"")}catch(err){define=function(obj,key,value){return obj[key]=value}}function wrap(innerFn,outerFn,self,tryLocsList){var protoGenerator=outerFn&&outerFn.prototype instanceof Generator?outerFn:Generator,generator=Object.create(protoGenerator.prototype),context=new Context(tryLocsList||[]);return generator._invoke=function makeInvokeMethod(innerFn,self,context){var state="suspendedStart";return function invoke(method,arg){if("executing"===state)throw new Error("Generator is already running");if("completed"===state){if("throw"===method)throw arg;return doneResult()}for(context.method=method,context.arg=arg;;){var delegate=context.delegate;if(delegate){var delegateResult=maybeInvokeDelegate(delegate,context);if(delegateResult){if(delegateResult===ContinueSentinel)continue;return delegateResult}}if("next"===context.method)context.sent=context._sent=context.arg;else if("throw"===context.method){if("suspendedStart"===state)throw state="completed",context.arg;context.dispatchException(context.arg)}else"return"===context.method&&context.abrupt("return",context.arg);state="executing";var record=tryCatch(innerFn,self,context);if("normal"===record.type){if(state=context.done?"completed":"suspendedYield",record.arg===ContinueSentinel)continue;return{value:record.arg,done:context.done}}"throw"===record.type&&(state="completed",context.method="throw",context.arg=record.arg)}}}(innerFn,self,context),generator}function tryCatch(fn,obj,arg){try{return{type:"normal",arg:fn.call(obj,arg)}}catch(err){return{type:"throw",arg:err}}}exports.wrap=wrap;var ContinueSentinel={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var IteratorPrototype={};define(IteratorPrototype,iteratorSymbol,(function(){return this}));var getProto=Object.getPrototypeOf,NativeIteratorPrototype=getProto&&getProto(getProto(values([])));NativeIteratorPrototype&&NativeIteratorPrototype!==Op&&hasOwn.call(NativeIteratorPrototype,iteratorSymbol)&&(IteratorPrototype=NativeIteratorPrototype);var Gp=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(IteratorPrototype);function defineIteratorMethods(prototype){["next","throw","return"].forEach((function(method){define(prototype,method,(function(arg){return this._invoke(method,arg)}))}))}function AsyncIterator(generator,PromiseImpl){function invoke(method,arg,resolve,reject){var record=tryCatch(generator[method],generator,arg);if("throw"!==record.type){var result=record.arg,value=result.value;return value&&"object"==typeof value&&hasOwn.call(value,"__await")?PromiseImpl.resolve(value.__await).then((function(value){invoke("next",value,resolve,reject)}),(function(err){invoke("throw",err,resolve,reject)})):PromiseImpl.resolve(value).then((function(unwrapped){result.value=unwrapped,resolve(result)}),(function(error){return invoke("throw",error,resolve,reject)}))}reject(record.arg)}var previousPromise;this._invoke=function enqueue(method,arg){function callInvokeWithMethodAndArg(){return new PromiseImpl((function(resolve,reject){invoke(method,arg,resolve,reject)}))}return previousPromise=previousPromise?previousPromise.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function maybeInvokeDelegate(delegate,context){var method=delegate.iterator[context.method];if(undefined===method){if(context.delegate=null,"throw"===context.method){if(delegate.iterator.return&&(context.method="return",context.arg=undefined,maybeInvokeDelegate(delegate,context),"throw"===context.method))return ContinueSentinel;context.method="throw",context.arg=new TypeError("The iterator does not provide a 'throw' method")}return ContinueSentinel}var record=tryCatch(method,delegate.iterator,context.arg);if("throw"===record.type)return context.method="throw",context.arg=record.arg,context.delegate=null,ContinueSentinel;var info=record.arg;return info?info.done?(context[delegate.resultName]=info.value,context.next=delegate.nextLoc,"return"!==context.method&&(context.method="next",context.arg=undefined),context.delegate=null,ContinueSentinel):info:(context.method="throw",context.arg=new TypeError("iterator result is not an object"),context.delegate=null,ContinueSentinel)}function pushTryEntry(locs){var entry={tryLoc:locs[0]};1 in locs&&(entry.catchLoc=locs[1]),2 in locs&&(entry.finallyLoc=locs[2],entry.afterLoc=locs[3]),this.tryEntries.push(entry)}function resetTryEntry(entry){var record=entry.completion||{};record.type="normal",delete record.arg,entry.completion=record}function Context(tryLocsList){this.tryEntries=[{tryLoc:"root"}],tryLocsList.forEach(pushTryEntry,this),this.reset(!0)}function values(iterable){if(iterable){var iteratorMethod=iterable[iteratorSymbol];if(iteratorMethod)return iteratorMethod.call(iterable);if("function"==typeof iterable.next)return iterable;if(!isNaN(iterable.length)){var i=-1,next=function next(){for(;++i<iterable.length;)if(hasOwn.call(iterable,i))return next.value=iterable[i],next.done=!1,next;return next.value=undefined,next.done=!0,next};return next.next=next}}return{next:doneResult}}function doneResult(){return{value:undefined,done:!0}}return GeneratorFunction.prototype=GeneratorFunctionPrototype,define(Gp,"constructor",GeneratorFunctionPrototype),define(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,toStringTagSymbol,"GeneratorFunction"),exports.isGeneratorFunction=function(genFun){var ctor="function"==typeof genFun&&genFun.constructor;return!!ctor&&(ctor===GeneratorFunction||"GeneratorFunction"===(ctor.displayName||ctor.name))},exports.mark=function(genFun){return Object.setPrototypeOf?Object.setPrototypeOf(genFun,GeneratorFunctionPrototype):(genFun.__proto__=GeneratorFunctionPrototype,define(genFun,toStringTagSymbol,"GeneratorFunction")),genFun.prototype=Object.create(Gp),genFun},exports.awrap=function(arg){return{__await:arg}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,asyncIteratorSymbol,(function(){return this})),exports.AsyncIterator=AsyncIterator,exports.async=function(innerFn,outerFn,self,tryLocsList,PromiseImpl){void 0===PromiseImpl&&(PromiseImpl=Promise);var iter=new AsyncIterator(wrap(innerFn,outerFn,self,tryLocsList),PromiseImpl);return exports.isGeneratorFunction(outerFn)?iter:iter.next().then((function(result){return result.done?result.value:iter.next()}))},defineIteratorMethods(Gp),define(Gp,toStringTagSymbol,"Generator"),define(Gp,iteratorSymbol,(function(){return this})),define(Gp,"toString",(function(){return"[object Generator]"})),exports.keys=function(object){var keys=[];for(var key in object)keys.push(key);return keys.reverse(),function next(){for(;keys.length;){var key=keys.pop();if(key in object)return next.value=key,next.done=!1,next}return next.done=!0,next}},exports.values=values,Context.prototype={constructor:Context,reset:function(skipTempReset){if(this.prev=0,this.next=0,this.sent=this._sent=undefined,this.done=!1,this.delegate=null,this.method="next",this.arg=undefined,this.tryEntries.forEach(resetTryEntry),!skipTempReset)for(var name in this)"t"===name.charAt(0)&&hasOwn.call(this,name)&&!isNaN(+name.slice(1))&&(this[name]=undefined)},stop:function(){this.done=!0;var rootRecord=this.tryEntries[0].completion;if("throw"===rootRecord.type)throw rootRecord.arg;return this.rval},dispatchException:function(exception){if(this.done)throw exception;var context=this;function handle(loc,caught){return record.type="throw",record.arg=exception,context.next=loc,caught&&(context.method="next",context.arg=undefined),!!caught}for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i],record=entry.completion;if("root"===entry.tryLoc)return handle("end");if(entry.tryLoc<=this.prev){var hasCatch=hasOwn.call(entry,"catchLoc"),hasFinally=hasOwn.call(entry,"finallyLoc");if(hasCatch&&hasFinally){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,!0);if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}else if(hasCatch){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,!0)}else{if(!hasFinally)throw new Error("try statement without catch or finally");if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}}}},abrupt:function(type,arg){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc<=this.prev&&hasOwn.call(entry,"finallyLoc")&&this.prev<entry.finallyLoc){var finallyEntry=entry;break}}finallyEntry&&("break"===type||"continue"===type)&&finallyEntry.tryLoc<=arg&&arg<=finallyEntry.finallyLoc&&(finallyEntry=null);var record=finallyEntry?finallyEntry.completion:{};return record.type=type,record.arg=arg,finallyEntry?(this.method="next",this.next=finallyEntry.finallyLoc,ContinueSentinel):this.complete(record)},complete:function(record,afterLoc){if("throw"===record.type)throw record.arg;return"break"===record.type||"continue"===record.type?this.next=record.arg:"return"===record.type?(this.rval=this.arg=record.arg,this.method="return",this.next="end"):"normal"===record.type&&afterLoc&&(this.next=afterLoc),ContinueSentinel},finish:function(finallyLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.finallyLoc===finallyLoc)return this.complete(entry.completion,entry.afterLoc),resetTryEntry(entry),ContinueSentinel}},catch:function(tryLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc===tryLoc){var record=entry.completion;if("throw"===record.type){var thrown=record.arg;resetTryEntry(entry)}return thrown}}throw new Error("illegal catch attempt")},delegateYield:function(iterable,resultName,nextLoc){return this.delegate={iterator:values(iterable),resultName:resultName,nextLoc:nextLoc},"next"===this.method&&(this.arg=undefined),ContinueSentinel}},exports}(module.exports);try{regeneratorRuntime=runtime}catch(accidentalStrictMode){"object"==typeof globalThis?globalThis.regeneratorRuntime=runtime:Function("r","regeneratorRuntime = r")(runtime)}},79785:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer,inherits=__webpack_require__(35717),HashBase=__webpack_require__(3349),ARRAY16=new Array(16),zl=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],zr=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],sl=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],sr=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],hl=[0,1518500249,1859775393,2400959708,2840853838],hr=[1352829926,1548603684,1836072691,2053994217,0];function RIPEMD160(){HashBase.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function rotl(x,n){return x<<n|x>>>32-n}function fn1(a,b,c,d,e,m,k,s){return rotl(a+(b^c^d)+m+k|0,s)+e|0}function fn2(a,b,c,d,e,m,k,s){return rotl(a+(b&c|~b&d)+m+k|0,s)+e|0}function fn3(a,b,c,d,e,m,k,s){return rotl(a+((b|~c)^d)+m+k|0,s)+e|0}function fn4(a,b,c,d,e,m,k,s){return rotl(a+(b&d|c&~d)+m+k|0,s)+e|0}function fn5(a,b,c,d,e,m,k,s){return rotl(a+(b^(c|~d))+m+k|0,s)+e|0}inherits(RIPEMD160,HashBase),RIPEMD160.prototype._update=function(){for(var words=ARRAY16,j=0;j<16;++j)words[j]=this._block.readInt32LE(4*j);for(var al=0|this._a,bl=0|this._b,cl=0|this._c,dl=0|this._d,el=0|this._e,ar=0|this._a,br=0|this._b,cr=0|this._c,dr=0|this._d,er=0|this._e,i=0;i<80;i+=1){var tl,tr;i<16?(tl=fn1(al,bl,cl,dl,el,words[zl[i]],hl[0],sl[i]),tr=fn5(ar,br,cr,dr,er,words[zr[i]],hr[0],sr[i])):i<32?(tl=fn2(al,bl,cl,dl,el,words[zl[i]],hl[1],sl[i]),tr=fn4(ar,br,cr,dr,er,words[zr[i]],hr[1],sr[i])):i<48?(tl=fn3(al,bl,cl,dl,el,words[zl[i]],hl[2],sl[i]),tr=fn3(ar,br,cr,dr,er,words[zr[i]],hr[2],sr[i])):i<64?(tl=fn4(al,bl,cl,dl,el,words[zl[i]],hl[3],sl[i]),tr=fn2(ar,br,cr,dr,er,words[zr[i]],hr[3],sr[i])):(tl=fn5(al,bl,cl,dl,el,words[zl[i]],hl[4],sl[i]),tr=fn1(ar,br,cr,dr,er,words[zr[i]],hr[4],sr[i])),al=el,el=dl,dl=rotl(cl,10),cl=bl,bl=tl,ar=er,er=dr,dr=rotl(cr,10),cr=br,br=tr}var t=this._b+cl+dr|0;this._b=this._c+dl+er|0,this._c=this._d+el+ar|0,this._d=this._e+al+br|0,this._e=this._a+bl+cr|0,this._a=t},RIPEMD160.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var buffer=Buffer.alloc?Buffer.alloc(20):new Buffer(20);return buffer.writeInt32LE(this._a,0),buffer.writeInt32LE(this._b,4),buffer.writeInt32LE(this._c,8),buffer.writeInt32LE(this._d,12),buffer.writeInt32LE(this._e,16),buffer},module.exports=RIPEMD160},89509:function(module,exports,__webpack_require__){var buffer=__webpack_require__(48764),Buffer=buffer.Buffer;function copyProps(src,dst){for(var key in src)dst[key]=src[key]}function SafeBuffer(arg,encodingOrOffset,length){return Buffer(arg,encodingOrOffset,length)}Buffer.from&&Buffer.alloc&&Buffer.allocUnsafe&&Buffer.allocUnsafeSlow?module.exports=buffer:(copyProps(buffer,exports),exports.Buffer=SafeBuffer),copyProps(Buffer,SafeBuffer),SafeBuffer.from=function(arg,encodingOrOffset,length){if("number"==typeof arg)throw new TypeError("Argument must not be a number");return Buffer(arg,encodingOrOffset,length)},SafeBuffer.alloc=function(size,fill,encoding){if("number"!=typeof size)throw new TypeError("Argument must be a number");var buf=Buffer(size);return void 0!==fill?"string"==typeof encoding?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0),buf},SafeBuffer.allocUnsafe=function(size){if("number"!=typeof size)throw new TypeError("Argument must be a number");return Buffer(size)},SafeBuffer.allocUnsafeSlow=function(size){if("number"!=typeof size)throw new TypeError("Argument must be a number");return buffer.SlowBuffer(size)}},2399:function(module,__unused_webpack_exports,__webpack_require__){var key,process=__webpack_require__(34155),buffer=__webpack_require__(48764),Buffer=buffer.Buffer,safer={};for(key in buffer)buffer.hasOwnProperty(key)&&"SlowBuffer"!==key&&"Buffer"!==key&&(safer[key]=buffer[key]);var Safer=safer.Buffer={};for(key in Buffer)Buffer.hasOwnProperty(key)&&"allocUnsafe"!==key&&"allocUnsafeSlow"!==key&&(Safer[key]=Buffer[key]);if(safer.Buffer.prototype=Buffer.prototype,Safer.from&&Safer.from!==Uint8Array.from||(Safer.from=function(value,encodingOrOffset,length){if("number"==typeof value)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof value);if(value&&void 0===value.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);return Buffer(value,encodingOrOffset,length)}),Safer.alloc||(Safer.alloc=function(size,fill,encoding){if("number"!=typeof size)throw new TypeError('The "size" argument must be of type number. Received type '+typeof size);if(size<0||size>=2*(1<<30))throw new RangeError('The value "'+size+'" is invalid for option "size"');var buf=Buffer(size);return fill&&0!==fill.length?"string"==typeof encoding?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0),buf}),!safer.kStringMaxLength)try{safer.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(e){}safer.constants||(safer.constants={MAX_LENGTH:safer.kMaxLength},safer.kStringMaxLength&&(safer.constants.MAX_STRING_LENGTH=safer.kStringMaxLength)),module.exports=safer},92208:function(__unused_webpack_module,exports,__webpack_require__){Object.defineProperty(exports,"__esModule",{value:!0});const ed5=__webpack_require__(83347),ed2=__webpack_require__(95285),NSed3=__webpack_require__(87046);var isS=ed5.isS,isChar10=ed5.isChar,isNameStartChar=ed5.isNameStartChar,isNameChar=ed5.isNameChar,S_LIST=ed5.S_LIST,NAME_RE=ed5.NAME_RE,isChar11=ed2.isChar,isNCNameStartChar=NSed3.isNCNameStartChar,isNCNameChar=NSed3.isNCNameChar,NC_NAME_RE=NSed3.NC_NAME_RE;const XML_NAMESPACE="http://www.w3.org/XML/1998/namespace",XMLNS_NAMESPACE="http://www.w3.org/2000/xmlns/",rootNS={__proto__:null,xml:XML_NAMESPACE,xmlns:XMLNS_NAMESPACE},XML_ENTITIES={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},isQuote=c=>34===c||39===c,QUOTES=[34,39],DOCTYPE_TERMINATOR=[...QUOTES,91,62],DTD_TERMINATOR=[...QUOTES,60,93],XML_DECL_NAME_TERMINATOR=[61,63,...S_LIST],ATTRIB_VALUE_UNQUOTED_TERMINATOR=[...S_LIST,62,38,60];function nsPairCheck(parser,prefix,uri){switch(prefix){case"xml":uri!==XML_NAMESPACE&&parser.fail(`xml prefix must be bound to ${XML_NAMESPACE}.`);break;case"xmlns":uri!==XMLNS_NAMESPACE&&parser.fail(`xmlns prefix must be bound to ${XMLNS_NAMESPACE}.`)}switch(uri){case XMLNS_NAMESPACE:parser.fail(""===prefix?`the default namespace may not be set to ${uri}.`:`may not assign a prefix (even "xmlns") to the URI ${XMLNS_NAMESPACE}.`);break;case XML_NAMESPACE:switch(prefix){case"xml":break;case"":parser.fail(`the default namespace may not be set to ${uri}.`);break;default:parser.fail("may not assign the xml namespace to another prefix.")}}}const isNCName=name=>NC_NAME_RE.test(name),isName=name=>NAME_RE.test(name);exports.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];const EVENT_NAME_TO_HANDLER_NAME={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};exports.SaxesParser=class SaxesParser{constructor(opt){this.opt=null!=opt?opt:{},this.fragmentOpt=!!this.opt.fragment;const xmlnsOpt=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,xmlnsOpt){this.nameStartCheck=isNCNameStartChar,this.nameCheck=isNCNameChar,this.isName=isNCName,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},rootNS);const additional=this.opt.additionalNamespaces;null!=additional&&(!function nsMappingCheck(parser,mapping){for(const local of Object.keys(mapping))nsPairCheck(parser,local,mapping[local])}(this,additional),Object.assign(this.ns,additional))}else this.nameStartCheck=isNameStartChar,this.nameCheck=isNameChar,this.isName=isName,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){var _a;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:fragmentOpt}=this;this.state=fragmentOpt?13:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=fragmentOpt,this.xmlDeclPossible=!fragmentOpt,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:defaultXMLVersion}=this.opt;if(void 0===defaultXMLVersion){if(!0===this.opt.forceXMLVersion)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");defaultXMLVersion="1.0"}this.setXMLVersion(defaultXMLVersion),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(XML_ENTITIES),null===(_a=this.readyHandler)||void 0===_a||_a.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(name,handler){this[EVENT_NAME_TO_HANDLER_NAME[name]]=handler}off(name){this[EVENT_NAME_TO_HANDLER_NAME[name]]=void 0}makeError(message){var _a;let msg=null!==(_a=this.fileName)&&void 0!==_a?_a:"";return this.trackPosition&&(msg.length>0&&(msg+=":"),msg+=`${this.line}:${this.column}`),msg.length>0&&(msg+=": "),new Error(msg+message)}fail(message){const err=this.makeError(message),handler=this.errorHandler;if(void 0===handler)throw err;return handler(err),this}write(chunk){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let end=!1;null===chunk?(end=!0,chunk=""):"object"==typeof chunk&&(chunk=chunk.toString()),void 0!==this.carriedFromPrevious&&(chunk=`${this.carriedFromPrevious}${chunk}`,this.carriedFromPrevious=void 0);let limit=chunk.length;const lastCode=chunk.charCodeAt(limit-1);!end&&(13===lastCode||lastCode>=55296&&lastCode<=56319)&&(this.carriedFromPrevious=chunk[limit-1],limit--,chunk=chunk.slice(0,limit));const{stateTable:stateTable}=this;for(this.chunk=chunk,this.i=0;this.i<limit;)stateTable[this.state].call(this);return this.chunkPosition+=limit,end?this.end():this}close(){return this.write(null)}getCode10(){const{chunk:chunk,i:i}=this;if(this.prevI=i,this.i=i+1,i>=chunk.length)return-1;const code=chunk.charCodeAt(i);if(this.column++,code<55296){if(code>=32||9===code)return code;switch(code){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:return 10===chunk.charCodeAt(i+1)&&(this.i=i+2),this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),code}}if(code>56319)return code>=57344&&code<=65533||this.fail("disallowed character."),code;const final=65536+1024*(code-55296)+(chunk.charCodeAt(i+1)-56320);return this.i=i+2,final>1114111&&this.fail("disallowed character."),final}getCode11(){const{chunk:chunk,i:i}=this;if(this.prevI=i,this.i=i+1,i>=chunk.length)return-1;const code=chunk.charCodeAt(i);if(this.column++,code<55296){if(code>31&&code<127||code>159&&8232!==code||9===code)return code;switch(code){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:{const next=chunk.charCodeAt(i+1);10!==next&&133!==next||(this.i=i+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),code}}if(code>56319)return code>=57344&&code<=65533||this.fail("disallowed character."),code;const final=65536+1024*(code-55296)+(chunk.charCodeAt(i+1)-56320);return this.i=i+2,final>1114111&&this.fail("disallowed character."),final}getCodeNorm(){const c=this.getCode();return-2===c?10:c}unget(){this.i=this.prevI,this.column--}captureTo(chars){let{i:start}=this;const{chunk:chunk}=this;for(;;){const c=this.getCode(),isNLLike=-2===c,final=isNLLike?10:c;if(-1===final||chars.includes(final))return this.text+=chunk.slice(start,this.prevI),final;isNLLike&&(this.text+=`${chunk.slice(start,this.prevI)}\n`,start=this.i)}}captureToChar(char){let{i:start}=this;const{chunk:chunk}=this;for(;;){let c=this.getCode();switch(c){case-2:this.text+=`${chunk.slice(start,this.prevI)}\n`,start=this.i,c=10;break;case-1:return this.text+=chunk.slice(start),!1}if(c===char)return this.text+=chunk.slice(start,this.prevI),!0}}captureNameChars(){const{chunk:chunk,i:start}=this;for(;;){const c=this.getCode();if(-1===c)return this.name+=chunk.slice(start),-1;if(!isNameChar(c))return this.name+=chunk.slice(start,this.prevI),-2===c?10:c}}skipSpaces(){for(;;){const c=this.getCodeNorm();if(-1===c||!isS(c))return c}}setXMLVersion(version){this.currentXMLVersion=version,"1.0"===version?(this.isChar=isChar10,this.getCode=this.getCode10):(this.isChar=isChar11,this.getCode=this.getCode11)}sBegin(){65279===this.chunk.charCodeAt(0)&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const iBefore=this.i,c=this.skipSpaces();switch(this.prevI!==iBefore&&(this.xmlDeclPossible=!1),c){case 60:if(this.state=15,0!==this.text.length)throw new Error("no-empty text at start");break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}sDoctype(){var _a;const c=this.captureTo(DOCTYPE_TERMINATOR);switch(c){case 62:null===(_a=this.doctypeHandler)||void 0===_a||_a.call(this,this.text),this.text="",this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(c),91===c?this.state=4:isQuote(c)&&(this.state=3,this.q=c)}}sDoctypeQuote(){const q=this.q;this.captureToChar(q)&&(this.text+=String.fromCodePoint(q),this.q=null,this.state=2)}sDTD(){const c=this.captureTo(DTD_TERMINATOR);-1!==c&&(this.text+=String.fromCodePoint(c),93===c?this.state=2:60===c?this.state=6:isQuote(c)&&(this.state=5,this.q=c))}sDTDQuoted(){const q=this.q;this.captureToChar(q)&&(this.text+=String.fromCodePoint(q),this.state=4,this.q=null)}sDTDOpenWaka(){const c=this.getCodeNorm();switch(this.text+=String.fromCodePoint(c),c){case 33:this.state=7,this.openWakaBang="";break;case 63:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const char=String.fromCodePoint(this.getCodeNorm()),owb=this.openWakaBang+=char;this.text+=char,"-"!==owb&&(this.state="--"===owb?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const c=this.getCodeNorm();this.text+=String.fromCodePoint(c),this.state=45===c?10:8}sDTDCommentEnded(){const c=this.getCodeNorm();this.text+=String.fromCodePoint(c),62===c?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(63)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const c=this.getCodeNorm();this.text+=String.fromCodePoint(c),62===c&&(this.state=4)}sText(){0!==this.tags.length?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:start}=this;const{chunk:chunk}=this;loop:for(;;)switch(this.getCode()){case-2:this.entity+=`${chunk.slice(start,this.prevI)}\n`,start=this.i;break;case 59:{const{entityReturnState:entityReturnState}=this,entity=this.entity+chunk.slice(start,this.prevI);let parsed;this.state=entityReturnState,""===entity?(this.fail("empty entity name."),parsed="&;"):(parsed=this.parseEntity(entity),this.entity=""),13===entityReturnState&&void 0===this.textHandler||(this.text+=parsed);break loop}case-1:this.entity+=chunk.slice(start);break loop}}sOpenWaka(){const c=this.getCode();if(isNameStartChar(c))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(c){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case 63:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=13,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){var _a;const c=this.getCodeNorm();45===c?(this.state=19,null===(_a=this.commentHandler)||void 0===_a||_a.call(this,this.text),this.text=""):(this.text+=`-${String.fromCodePoint(c)}`,this.state=17)}sCommentEnded(){const c=this.getCodeNorm();62!==c?(this.fail("malformed comment."),this.text+=`--${String.fromCodePoint(c)}`,this.state=17):this.state=13}sCData(){this.captureToChar(93)&&(this.state=21)}sCDataEnding(){const c=this.getCodeNorm();93===c?this.state=22:(this.text+=`]${String.fromCodePoint(c)}`,this.state=20)}sCDataEnding2(){var _a;const c=this.getCodeNorm();switch(c){case 62:null===(_a=this.cdataHandler)||void 0===_a||_a.call(this,this.text),this.text="",this.state=13;break;case 93:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(c)}`,this.state=20}}sPIFirstChar(){const c=this.getCodeNorm();this.nameStartCheck(c)?(this.piTarget+=String.fromCodePoint(c),this.state=24):63===c||isS(c)?(this.fail("processing instruction without a target."),this.state=63===c?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(c),this.state=24)}sPIRest(){const{chunk:chunk,i:start}=this;for(;;){const c=this.getCodeNorm();if(-1===c)return void(this.piTarget+=chunk.slice(start));if(!this.nameCheck(c)){this.piTarget+=chunk.slice(start,this.prevI);const isQuestion=63===c;isQuestion||isS(c)?"xml"===this.piTarget?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=isQuestion?33:27):this.state=isQuestion?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(c));break}}}sPIBody(){if(0===this.text.length){const c=this.getCodeNorm();63===c?this.state=26:isS(c)||(this.text=String.fromCodePoint(c))}else this.captureToChar(63)&&(this.state=26)}sPIEnding(){var _a;const c=this.getCodeNorm();if(62===c){const{piTarget:piTarget}=this;"xml"===piTarget.toLowerCase()&&this.fail("the XML declaration must appear at the start of the document."),null===(_a=this.piHandler)||void 0===_a||_a.call(this,{target:piTarget,body:this.text}),this.piTarget=this.text="",this.state=13}else 63===c?this.text+="?":(this.text+=`?${String.fromCodePoint(c)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const c=this.skipSpaces();63!==c?-1!==c&&(this.state=28,this.name=String.fromCodePoint(c)):this.state=33}sXMLDeclName(){const c=this.captureTo(XML_DECL_NAME_TERMINATOR);if(63===c)return this.state=33,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(isS(c)||61===c){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=61===c?30:29}}sXMLDeclEq(){const c=this.getCodeNorm();if(63===c)return this.state=33,void this.fail("XML declaration is incomplete.");isS(c)||(61!==c&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const c=this.getCodeNorm();if(63===c)return this.state=33,void this.fail("XML declaration is incomplete.");isS(c)||(isQuote(c)?this.q=c:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const c=this.captureTo([this.q,63]);if(63===c)return this.state=33,this.text="",void this.fail("XML declaration is incomplete.");if(-1===c)return;const value=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const version=value;this.xmlDecl.version=version,/^1\.[0-9]+$/.test(version)?this.opt.forceXMLVersion||this.setXMLVersion(version):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(value)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=value;break;case"standalone":"yes"!==value&&"no"!==value&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=value}this.name="",this.state=32}sXMLDeclSeparator(){const c=this.getCodeNorm();63!==c?(isS(c)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=33}sXMLDeclEnding(){var _a;62===this.getCodeNorm()?("xml"!==this.piTarget?this.fail("processing instructions are not allowed before root."):"version"!==this.name&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),null===(_a=this.xmldeclHandler)||void 0===_a||_a.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=13):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){var _a;const c=this.captureNameChars();if(-1===c)return;const tag=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=tag.ns=Object.create(null)),null===(_a=this.openTagStartHandler)||void 0===_a||_a.call(this,tag),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),c){case 62:this.openTag();break;case 47:this.state=35;break;default:isS(c)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){62===this.getCode()?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const c=this.skipSpaces();-1!==c&&(isNameStartChar(c)?(this.unget(),this.state=37):62===c?this.openTag():47===c?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const c=this.captureNameChars();61===c?this.state=39:isS(c)?this.state=38:62===c?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):-1!==c&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const c=this.skipSpaces();switch(c){case-1:return;case 61:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",62===c?this.openTag():isNameStartChar(c)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const c=this.getCodeNorm();isQuote(c)?(this.q=c,this.state=40):isS(c)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}sAttribValueQuoted(){const{q:q,chunk:chunk}=this;let{i:start}=this;for(;;)switch(this.getCode()){case q:return this.pushAttrib(this.name,this.text+chunk.slice(start,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=chunk.slice(start,this.prevI),this.state=14,void(this.entityReturnState=40);case 10:case-2:case 9:this.text+=`${chunk.slice(start,this.prevI)} `,start=this.i;break;case 60:return this.text+=chunk.slice(start,this.prevI),void this.fail("disallowed character.");case-1:return void(this.text+=chunk.slice(start))}}sAttribValueClosed(){const c=this.getCodeNorm();isS(c)?this.state=36:62===c?this.openTag():47===c?this.state=35:isNameStartChar(c)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const c=this.captureTo(ATTRIB_VALUE_UNQUOTED_TERMINATOR);switch(c){case 38:this.state=14,this.entityReturnState=42;break;case 60:this.fail("disallowed character.");break;case-1:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",62===c?this.openTag():this.state=36}}sCloseTag(){const c=this.captureNameChars();62===c?this.closeTag():isS(c)?this.state=44:-1!==c&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case 62:this.closeTag();break;case-1:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:start,forbiddenState:forbiddenState}=this;const{chunk:chunk,textHandler:handler}=this;scanLoop:for(;;)switch(this.getCode()){case 60:if(this.state=15,void 0!==handler){const{text:text}=this,slice=chunk.slice(start,this.prevI);0!==text.length?(handler(text+slice),this.text=""):0!==slice.length&&handler(slice)}forbiddenState=0;break scanLoop;case 38:this.state=14,this.entityReturnState=13,void 0!==handler&&(this.text+=chunk.slice(start,this.prevI)),forbiddenState=0;break scanLoop;case 93:switch(forbiddenState){case 0:forbiddenState=1;break;case 1:forbiddenState=2;break;case 2:break;default:throw new Error("impossible state")}break;case 62:2===forbiddenState&&this.fail('the string "]]>" is disallowed in char data.'),forbiddenState=0;break;case-2:void 0!==handler&&(this.text+=`${chunk.slice(start,this.prevI)}\n`),start=this.i,forbiddenState=0;break;case-1:void 0!==handler&&(this.text+=chunk.slice(start));break scanLoop;default:forbiddenState=0}this.forbiddenState=forbiddenState}handleTextOutsideRoot(){let{i:start}=this;const{chunk:chunk,textHandler:handler}=this;let nonSpace=!1;outRootLoop:for(;;){const code=this.getCode();switch(code){case 60:if(this.state=15,void 0!==handler){const{text:text}=this,slice=chunk.slice(start,this.prevI);0!==text.length?(handler(text+slice),this.text=""):0!==slice.length&&handler(slice)}break outRootLoop;case 38:this.state=14,this.entityReturnState=13,void 0!==handler&&(this.text+=chunk.slice(start,this.prevI)),nonSpace=!0;break outRootLoop;case-2:void 0!==handler&&(this.text+=`${chunk.slice(start,this.prevI)}\n`),start=this.i;break;case-1:void 0!==handler&&(this.text+=chunk.slice(start));break outRootLoop;default:isS(code)||(nonSpace=!0)}}nonSpace&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(name,value){var _a;const{prefix:prefix,local:local}=this.qname(name),attr={name:name,prefix:prefix,local:local,value:value};if(this.attribList.push(attr),null===(_a=this.attributeHandler)||void 0===_a||_a.call(this,attr),"xmlns"===prefix){const trimmed=value.trim();"1.0"===this.currentXMLVersion&&""===trimmed&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[local]=trimmed,nsPairCheck(this,local,trimmed)}else if("xmlns"===name){const trimmed=value.trim();this.topNS[""]=trimmed,nsPairCheck(this,"",trimmed)}}pushAttribPlain(name,value){var _a;const attr={name:name,value:value};this.attribList.push(attr),null===(_a=this.attributeHandler)||void 0===_a||_a.call(this,attr)}end(){var _a,_b;this.sawRoot||this.fail("document must contain a root element.");const{tags:tags}=this;for(;tags.length>0;){const tag=tags.pop();this.fail(`unclosed tag: ${tag.name}`)}0!==this.state&&13!==this.state&&this.fail("unexpected end.");const{text:text}=this;return 0!==text.length&&(null===(_a=this.textHandler)||void 0===_a||_a.call(this,text),this.text=""),this._closed=!0,null===(_b=this.endHandler)||void 0===_b||_b.call(this),this._init(),this}resolve(prefix){var _a,_b;let uri=this.topNS[prefix];if(void 0!==uri)return uri;const{tags:tags}=this;for(let index=tags.length-1;index>=0;index--)if(uri=tags[index].ns[prefix],void 0!==uri)return uri;return uri=this.ns[prefix],void 0!==uri?uri:null===(_b=(_a=this.opt).resolvePrefix)||void 0===_b?void 0:_b.call(_a,prefix)}qname(name){const colon=name.indexOf(":");if(-1===colon)return{prefix:"",local:name};const local=name.slice(colon+1),prefix=name.slice(0,colon);return(""===prefix||""===local||local.includes(":"))&&this.fail(`malformed name: ${name}.`),{prefix:prefix,local:local}}processAttribsNS(){var _a;const{attribList:attribList}=this,tag=this.tag;{const{prefix:prefix,local:local}=this.qname(tag.name);tag.prefix=prefix,tag.local=local;const uri=tag.uri=null!==(_a=this.resolve(prefix))&&void 0!==_a?_a:"";""!==prefix&&("xmlns"===prefix&&this.fail('tags may not have "xmlns" as prefix.'),""===uri&&(this.fail(`unbound namespace prefix: ${JSON.stringify(prefix)}.`),tag.uri=prefix))}if(0===attribList.length)return;const{attributes:attributes}=tag,seen=new Set;for(const attr of attribList){const{name:name,prefix:prefix,local:local}=attr;let uri,eqname;""===prefix?(uri="xmlns"===name?XMLNS_NAMESPACE:"",eqname=name):(uri=this.resolve(prefix),void 0===uri&&(this.fail(`unbound namespace prefix: ${JSON.stringify(prefix)}.`),uri=prefix),eqname=`{${uri}}${local}`),seen.has(eqname)&&this.fail(`duplicate attribute: ${eqname}.`),seen.add(eqname),attr.uri=uri,attributes[name]=attr}this.attribList=[]}processAttribsPlain(){const{attribList:attribList}=this,attributes=this.tag.attributes;for(const{name:name,value:value}of attribList)void 0!==attributes[name]&&this.fail(`duplicate attribute: ${name}.`),attributes[name]=value;this.attribList=[]}openTag(){var _a;this.processAttribs();const{tags:tags}=this,tag=this.tag;tag.isSelfClosing=!1,null===(_a=this.openTagHandler)||void 0===_a||_a.call(this,tag),tags.push(tag),this.state=13,this.name=""}openSelfClosingTag(){var _a,_b,_c;this.processAttribs();const{tags:tags}=this,tag=this.tag;tag.isSelfClosing=!0,null===(_a=this.openTagHandler)||void 0===_a||_a.call(this,tag),null===(_b=this.closeTagHandler)||void 0===_b||_b.call(this,tag);null===(this.tag=null!==(_c=tags[tags.length-1])&&void 0!==_c?_c:null)&&(this.closedRoot=!0),this.state=13,this.name=""}closeTag(){const{tags:tags,name:name}=this;if(this.state=13,this.name="",""===name)return this.fail("weird empty close tag."),void(this.text+="</>");const handler=this.closeTagHandler;let l=tags.length;for(;l-- >0;){const tag=this.tag=tags.pop();if(this.topNS=tag.ns,null==handler||handler(tag),tag.name===name)break;this.fail("unexpected close tag.")}0===l?this.closedRoot=!0:l<0&&(this.fail(`unmatched closing tag: ${name}.`),this.text+=`</${name}>`)}parseEntity(entity){if("#"!==entity[0]){const defined=this.ENTITIES[entity];return void 0!==defined?defined:(this.fail(this.isName(entity)?"undefined entity.":"disallowed character in entity name."),`&${entity};`)}let num=NaN;return"x"===entity[1]&&/^#x[0-9a-f]+$/i.test(entity)?num=parseInt(entity.slice(2),16):/^#[0-9]+$/.test(entity)&&(num=parseInt(entity.slice(1),10)),this.isChar(num)?String.fromCodePoint(num):(this.fail("malformed character entity."),`&${entity};`)}}},24189:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(89509).Buffer;function Hash(blockSize,finalSize){this._block=Buffer.alloc(blockSize),this._finalSize=finalSize,this._blockSize=blockSize,this._len=0}Hash.prototype.update=function(data,enc){"string"==typeof data&&(enc=enc||"utf8",data=Buffer.from(data,enc));for(var block=this._block,blockSize=this._blockSize,length=data.length,accum=this._len,offset=0;offset<length;){for(var assigned=accum%blockSize,remainder=Math.min(length-offset,blockSize-assigned),i=0;i<remainder;i++)block[assigned+i]=data[offset+i];offset+=remainder,(accum+=remainder)%blockSize==0&&this._update(block)}return this._len+=length,this},Hash.prototype.digest=function(enc){var rem=this._len%this._blockSize;this._block[rem]=128,this._block.fill(0,rem+1),rem>=this._finalSize&&(this._update(this._block),this._block.fill(0));var bits=8*this._len;if(bits<=4294967295)this._block.writeUInt32BE(bits,this._blockSize-4);else{var lowBits=(4294967295&bits)>>>0,highBits=(bits-lowBits)/4294967296;this._block.writeUInt32BE(highBits,this._blockSize-8),this._block.writeUInt32BE(lowBits,this._blockSize-4)}this._update(this._block);var hash=this._hash();return enc?hash.toString(enc):hash},Hash.prototype._update=function(){throw new Error("_update must be implemented by subclass")},module.exports=Hash},89072:function(module,__unused_webpack_exports,__webpack_require__){var exports=module.exports=function SHA(algorithm){algorithm=algorithm.toLowerCase();var Algorithm=exports[algorithm];if(!Algorithm)throw new Error(algorithm+" is not supported (we accept pull requests)");return new Algorithm};exports.sha=__webpack_require__(74448),exports.sha1=__webpack_require__(18336),exports.sha224=__webpack_require__(48432),exports.sha256=__webpack_require__(67499),exports.sha384=__webpack_require__(51686),exports.sha512=__webpack_require__(87816)},74448:function(module,__unused_webpack_exports,__webpack_require__){var inherits=__webpack_require__(35717),Hash=__webpack_require__(24189),Buffer=__webpack_require__(89509).Buffer,K=[1518500249,1859775393,-1894007588,-899497514],W=new Array(80);function Sha(){this.init(),this._w=W,Hash.call(this,64,56)}function rotl30(num){return num<<30|num>>>2}function ft(s,b,c,d){return 0===s?b&c|~b&d:2===s?b&c|b&d|c&d:b^c^d}inherits(Sha,Hash),Sha.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},Sha.prototype._update=function(M){for(var num,W=this._w,a=0|this._a,b=0|this._b,c=0|this._c,d=0|this._d,e=0|this._e,i=0;i<16;++i)W[i]=M.readInt32BE(4*i);for(;i<80;++i)W[i]=W[i-3]^W[i-8]^W[i-14]^W[i-16];for(var j=0;j<80;++j){var s=~~(j/20),t=0|((num=a)<<5|num>>>27)+ft(s,b,c,d)+e+W[j]+K[s];e=d,d=c,c=rotl30(b),b=a,a=t}this._a=a+this._a|0,this._b=b+this._b|0,this._c=c+this._c|0,this._d=d+this._d|0,this._e=e+this._e|0},Sha.prototype._hash=function(){var H=Buffer.allocUnsafe(20);return H.writeInt32BE(0|this._a,0),H.writeInt32BE(0|this._b,4),H.writeInt32BE(0|this._c,8),H.writeInt32BE(0|this._d,12),H.writeInt32BE(0|this._e,16),H},module.exports=Sha},18336:function(module,__unused_webpack_exports,__webpack_require__){var inherits=__webpack_require__(35717),Hash=__webpack_require__(24189),Buffer=__webpack_require__(89509).Buffer,K=[1518500249,1859775393,-1894007588,-899497514],W=new Array(80);function Sha1(){this.init(),this._w=W,Hash.call(this,64,56)}function rotl5(num){return num<<5|num>>>27}function rotl30(num){return num<<30|num>>>2}function ft(s,b,c,d){return 0===s?b&c|~b&d:2===s?b&c|b&d|c&d:b^c^d}inherits(Sha1,Hash),Sha1.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},Sha1.prototype._update=function(M){for(var num,W=this._w,a=0|this._a,b=0|this._b,c=0|this._c,d=0|this._d,e=0|this._e,i=0;i<16;++i)W[i]=M.readInt32BE(4*i);for(;i<80;++i)W[i]=(num=W[i-3]^W[i-8]^W[i-14]^W[i-16])<<1|num>>>31;for(var j=0;j<80;++j){var s=~~(j/20),t=rotl5(a)+ft(s,b,c,d)+e+W[j]+K[s]|0;e=d,d=c,c=rotl30(b),b=a,a=t}this._a=a+this._a|0,this._b=b+this._b|0,this._c=c+this._c|0,this._d=d+this._d|0,this._e=e+this._e|0},Sha1.prototype._hash=function(){var H=Buffer.allocUnsafe(20);return H.writeInt32BE(0|this._a,0),H.writeInt32BE(0|this._b,4),H.writeInt32BE(0|this._c,8),H.writeInt32BE(0|this._d,12),H.writeInt32BE(0|this._e,16),H},module.exports=Sha1},48432:function(module,__unused_webpack_exports,__webpack_require__){var inherits=__webpack_require__(35717),Sha256=__webpack_require__(67499),Hash=__webpack_require__(24189),Buffer=__webpack_require__(89509).Buffer,W=new Array(64);function Sha224(){this.init(),this._w=W,Hash.call(this,64,56)}inherits(Sha224,Sha256),Sha224.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},Sha224.prototype._hash=function(){var H=Buffer.allocUnsafe(28);return H.writeInt32BE(this._a,0),H.writeInt32BE(this._b,4),H.writeInt32BE(this._c,8),H.writeInt32BE(this._d,12),H.writeInt32BE(this._e,16),H.writeInt32BE(this._f,20),H.writeInt32BE(this._g,24),H},module.exports=Sha224},67499:function(module,__unused_webpack_exports,__webpack_require__){var inherits=__webpack_require__(35717),Hash=__webpack_require__(24189),Buffer=__webpack_require__(89509).Buffer,K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],W=new Array(64);function Sha256(){this.init(),this._w=W,Hash.call(this,64,56)}function ch(x,y,z){return z^x&(y^z)}function maj(x,y,z){return x&y|z&(x|y)}function sigma0(x){return(x>>>2|x<<30)^(x>>>13|x<<19)^(x>>>22|x<<10)}function sigma1(x){return(x>>>6|x<<26)^(x>>>11|x<<21)^(x>>>25|x<<7)}function gamma0(x){return(x>>>7|x<<25)^(x>>>18|x<<14)^x>>>3}inherits(Sha256,Hash),Sha256.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},Sha256.prototype._update=function(M){for(var x,W=this._w,a=0|this._a,b=0|this._b,c=0|this._c,d=0|this._d,e=0|this._e,f=0|this._f,g=0|this._g,h=0|this._h,i=0;i<16;++i)W[i]=M.readInt32BE(4*i);for(;i<64;++i)W[i]=0|(((x=W[i-2])>>>17|x<<15)^(x>>>19|x<<13)^x>>>10)+W[i-7]+gamma0(W[i-15])+W[i-16];for(var j=0;j<64;++j){var T1=h+sigma1(e)+ch(e,f,g)+K[j]+W[j]|0,T2=sigma0(a)+maj(a,b,c)|0;h=g,g=f,f=e,e=d+T1|0,d=c,c=b,b=a,a=T1+T2|0}this._a=a+this._a|0,this._b=b+this._b|0,this._c=c+this._c|0,this._d=d+this._d|0,this._e=e+this._e|0,this._f=f+this._f|0,this._g=g+this._g|0,this._h=h+this._h|0},Sha256.prototype._hash=function(){var H=Buffer.allocUnsafe(32);return H.writeInt32BE(this._a,0),H.writeInt32BE(this._b,4),H.writeInt32BE(this._c,8),H.writeInt32BE(this._d,12),H.writeInt32BE(this._e,16),H.writeInt32BE(this._f,20),H.writeInt32BE(this._g,24),H.writeInt32BE(this._h,28),H},module.exports=Sha256},51686:function(module,__unused_webpack_exports,__webpack_require__){var inherits=__webpack_require__(35717),SHA512=__webpack_require__(87816),Hash=__webpack_require__(24189),Buffer=__webpack_require__(89509).Buffer,W=new Array(160);function Sha384(){this.init(),this._w=W,Hash.call(this,128,112)}inherits(Sha384,SHA512),Sha384.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},Sha384.prototype._hash=function(){var H=Buffer.allocUnsafe(48);function writeInt64BE(h,l,offset){H.writeInt32BE(h,offset),H.writeInt32BE(l,offset+4)}return writeInt64BE(this._ah,this._al,0),writeInt64BE(this._bh,this._bl,8),writeInt64BE(this._ch,this._cl,16),writeInt64BE(this._dh,this._dl,24),writeInt64BE(this._eh,this._el,32),writeInt64BE(this._fh,this._fl,40),H},module.exports=Sha384},87816:function(module,__unused_webpack_exports,__webpack_require__){var inherits=__webpack_require__(35717),Hash=__webpack_require__(24189),Buffer=__webpack_require__(89509).Buffer,K=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],W=new Array(160);function Sha512(){this.init(),this._w=W,Hash.call(this,128,112)}function Ch(x,y,z){return z^x&(y^z)}function maj(x,y,z){return x&y|z&(x|y)}function sigma0(x,xl){return(x>>>28|xl<<4)^(xl>>>2|x<<30)^(xl>>>7|x<<25)}function sigma1(x,xl){return(x>>>14|xl<<18)^(x>>>18|xl<<14)^(xl>>>9|x<<23)}function Gamma0(x,xl){return(x>>>1|xl<<31)^(x>>>8|xl<<24)^x>>>7}function Gamma0l(x,xl){return(x>>>1|xl<<31)^(x>>>8|xl<<24)^(x>>>7|xl<<25)}function Gamma1(x,xl){return(x>>>19|xl<<13)^(xl>>>29|x<<3)^x>>>6}function Gamma1l(x,xl){return(x>>>19|xl<<13)^(xl>>>29|x<<3)^(x>>>6|xl<<26)}function getCarry(a,b){return a>>>0<b>>>0?1:0}inherits(Sha512,Hash),Sha512.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},Sha512.prototype._update=function(M){for(var W=this._w,ah=0|this._ah,bh=0|this._bh,ch=0|this._ch,dh=0|this._dh,eh=0|this._eh,fh=0|this._fh,gh=0|this._gh,hh=0|this._hh,al=0|this._al,bl=0|this._bl,cl=0|this._cl,dl=0|this._dl,el=0|this._el,fl=0|this._fl,gl=0|this._gl,hl=0|this._hl,i=0;i<32;i+=2)W[i]=M.readInt32BE(4*i),W[i+1]=M.readInt32BE(4*i+4);for(;i<160;i+=2){var xh=W[i-30],xl=W[i-30+1],gamma0=Gamma0(xh,xl),gamma0l=Gamma0l(xl,xh),gamma1=Gamma1(xh=W[i-4],xl=W[i-4+1]),gamma1l=Gamma1l(xl,xh),Wi7h=W[i-14],Wi7l=W[i-14+1],Wi16h=W[i-32],Wi16l=W[i-32+1],Wil=gamma0l+Wi7l|0,Wih=gamma0+Wi7h+getCarry(Wil,gamma0l)|0;Wih=(Wih=Wih+gamma1+getCarry(Wil=Wil+gamma1l|0,gamma1l)|0)+Wi16h+getCarry(Wil=Wil+Wi16l|0,Wi16l)|0,W[i]=Wih,W[i+1]=Wil}for(var j=0;j<160;j+=2){Wih=W[j],Wil=W[j+1];var majh=maj(ah,bh,ch),majl=maj(al,bl,cl),sigma0h=sigma0(ah,al),sigma0l=sigma0(al,ah),sigma1h=sigma1(eh,el),sigma1l=sigma1(el,eh),Kih=K[j],Kil=K[j+1],chh=Ch(eh,fh,gh),chl=Ch(el,fl,gl),t1l=hl+sigma1l|0,t1h=hh+sigma1h+getCarry(t1l,hl)|0;t1h=(t1h=(t1h=t1h+chh+getCarry(t1l=t1l+chl|0,chl)|0)+Kih+getCarry(t1l=t1l+Kil|0,Kil)|0)+Wih+getCarry(t1l=t1l+Wil|0,Wil)|0;var t2l=sigma0l+majl|0,t2h=sigma0h+majh+getCarry(t2l,sigma0l)|0;hh=gh,hl=gl,gh=fh,gl=fl,fh=eh,fl=el,eh=dh+t1h+getCarry(el=dl+t1l|0,dl)|0,dh=ch,dl=cl,ch=bh,cl=bl,bh=ah,bl=al,ah=t1h+t2h+getCarry(al=t1l+t2l|0,t1l)|0}this._al=this._al+al|0,this._bl=this._bl+bl|0,this._cl=this._cl+cl|0,this._dl=this._dl+dl|0,this._el=this._el+el|0,this._fl=this._fl+fl|0,this._gl=this._gl+gl|0,this._hl=this._hl+hl|0,this._ah=this._ah+ah+getCarry(this._al,al)|0,this._bh=this._bh+bh+getCarry(this._bl,bl)|0,this._ch=this._ch+ch+getCarry(this._cl,cl)|0,this._dh=this._dh+dh+getCarry(this._dl,dl)|0,this._eh=this._eh+eh+getCarry(this._el,el)|0,this._fh=this._fh+fh+getCarry(this._fl,fl)|0,this._gh=this._gh+gh+getCarry(this._gl,gl)|0,this._hh=this._hh+hh+getCarry(this._hl,hl)|0},Sha512.prototype._hash=function(){var H=Buffer.allocUnsafe(64);function writeInt64BE(h,l,offset){H.writeInt32BE(h,offset),H.writeInt32BE(l,offset+4)}return writeInt64BE(this._ah,this._al,0),writeInt64BE(this._bh,this._bl,8),writeInt64BE(this._ch,this._cl,16),writeInt64BE(this._dh,this._dl,24),writeInt64BE(this._eh,this._el,32),writeInt64BE(this._fh,this._fl,40),writeInt64BE(this._gh,this._gl,48),writeInt64BE(this._hh,this._hl,56),H},module.exports=Sha512},78213:function(__unused_webpack_module,exports,__webpack_require__){var util=__webpack_require__(32728),has=Object.prototype.hasOwnProperty,hasNativeMap="undefined"!=typeof Map;function ArraySet(){this._array=[],this._set=hasNativeMap?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(aArray,aAllowDuplicates){for(var set=new ArraySet,i=0,len=aArray.length;i<len;i++)set.add(aArray[i],aAllowDuplicates);return set},ArraySet.prototype.size=function ArraySet_size(){return hasNativeMap?this._set.size:Object.getOwnPropertyNames(this._set).length},ArraySet.prototype.add=function ArraySet_add(aStr,aAllowDuplicates){var sStr=hasNativeMap?aStr:util.toSetString(aStr),isDuplicate=hasNativeMap?this.has(aStr):has.call(this._set,sStr),idx=this._array.length;isDuplicate&&!aAllowDuplicates||this._array.push(aStr),isDuplicate||(hasNativeMap?this._set.set(aStr,idx):this._set[sStr]=idx)},ArraySet.prototype.has=function ArraySet_has(aStr){if(hasNativeMap)return this._set.has(aStr);var sStr=util.toSetString(aStr);return has.call(this._set,sStr)},ArraySet.prototype.indexOf=function ArraySet_indexOf(aStr){if(hasNativeMap){var idx=this._set.get(aStr);if(idx>=0)return idx}else{var sStr=util.toSetString(aStr);if(has.call(this._set,sStr))return this._set[sStr]}throw new Error('"'+aStr+'" is not in the set.')},ArraySet.prototype.at=function ArraySet_at(aIdx){if(aIdx>=0&&aIdx<this._array.length)return this._array[aIdx];throw new Error("No element indexed by "+aIdx)},ArraySet.prototype.toArray=function ArraySet_toArray(){return this._array.slice()},exports.I=ArraySet},16400:function(__unused_webpack_module,exports,__webpack_require__){var base64=__webpack_require__(67923);exports.encode=function base64VLQ_encode(aValue){var digit,encoded="",vlq=function toVLQSigned(aValue){return aValue<0?1+(-aValue<<1):0+(aValue<<1)}(aValue);do{digit=31&vlq,(vlq>>>=5)>0&&(digit|=32),encoded+=base64.encode(digit)}while(vlq>0);return encoded},exports.decode=function base64VLQ_decode(aStr,aIndex,aOutParam){var continuation,digit,strLen=aStr.length,result=0,shift=0;do{if(aIndex>=strLen)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(digit=base64.decode(aStr.charCodeAt(aIndex++))))throw new Error("Invalid base64 digit: "+aStr.charAt(aIndex-1));continuation=!!(32&digit),result+=(digit&=31)<<shift,shift+=5}while(continuation);aOutParam.value=function fromVLQSigned(aValue){var shifted=aValue>>1;return 1==(1&aValue)?-shifted:shifted}(result),aOutParam.rest=aIndex}},67923:function(__unused_webpack_module,exports){var intToCharMap="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");exports.encode=function(number){if(0<=number&&number<intToCharMap.length)return intToCharMap[number];throw new TypeError("Must be between 0 and 63: "+number)},exports.decode=function(charCode){return 65<=charCode&&charCode<=90?charCode-65:97<=charCode&&charCode<=122?charCode-97+26:48<=charCode&&charCode<=57?charCode-48+52:43==charCode?62:47==charCode?63:-1}},9216:function(__unused_webpack_module,exports){function recursiveSearch(aLow,aHigh,aNeedle,aHaystack,aCompare,aBias){var mid=Math.floor((aHigh-aLow)/2)+aLow,cmp=aCompare(aNeedle,aHaystack[mid],!0);return 0===cmp?mid:cmp>0?aHigh-mid>1?recursiveSearch(mid,aHigh,aNeedle,aHaystack,aCompare,aBias):aBias==exports.LEAST_UPPER_BOUND?aHigh<aHaystack.length?aHigh:-1:mid:mid-aLow>1?recursiveSearch(aLow,mid,aNeedle,aHaystack,aCompare,aBias):aBias==exports.LEAST_UPPER_BOUND?mid:aLow<0?-1:aLow}exports.GREATEST_LOWER_BOUND=1,exports.LEAST_UPPER_BOUND=2,exports.search=function search(aNeedle,aHaystack,aCompare,aBias){if(0===aHaystack.length)return-1;var index=recursiveSearch(-1,aHaystack.length,aNeedle,aHaystack,aCompare,aBias||exports.GREATEST_LOWER_BOUND);if(index<0)return-1;for(;index-1>=0&&0===aCompare(aHaystack[index],aHaystack[index-1],!0);)--index;return index}},21188:function(__unused_webpack_module,exports,__webpack_require__){var util=__webpack_require__(32728);function MappingList(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(aCallback,aThisArg){this._array.forEach(aCallback,aThisArg)},MappingList.prototype.add=function MappingList_add(aMapping){!function generatedPositionAfter(mappingA,mappingB){var lineA=mappingA.generatedLine,lineB=mappingB.generatedLine,columnA=mappingA.generatedColumn,columnB=mappingB.generatedColumn;return lineB>lineA||lineB==lineA&&columnB>=columnA||util.compareByGeneratedPositionsInflated(mappingA,mappingB)<=0}(this._last,aMapping)?(this._sorted=!1,this._array.push(aMapping)):(this._last=aMapping,this._array.push(aMapping))},MappingList.prototype.toArray=function MappingList_toArray(){return this._sorted||(this._array.sort(util.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},exports.H=MappingList},22826:function(__unused_webpack_module,exports){function swap(ary,x,y){var temp=ary[x];ary[x]=ary[y],ary[y]=temp}function doQuickSort(ary,comparator,p,r){if(p<r){var i=p-1;swap(ary,function randomIntInRange(low,high){return Math.round(low+Math.random()*(high-low))}(p,r),r);for(var pivot=ary[r],j=p;j<r;j++)comparator(ary[j],pivot)<=0&&swap(ary,i+=1,j);swap(ary,i+1,j);var q=i+1;doQuickSort(ary,comparator,p,q-1),doQuickSort(ary,comparator,q+1,r)}}exports.U=function(ary,comparator){doQuickSort(ary,comparator,0,ary.length-1)}},76771:function(__unused_webpack_module,exports,__webpack_require__){var util=__webpack_require__(32728),binarySearch=__webpack_require__(9216),ArraySet=__webpack_require__(78213).I,base64VLQ=__webpack_require__(16400),quickSort=__webpack_require__(22826).U;function SourceMapConsumer(aSourceMap){var sourceMap=aSourceMap;return"string"==typeof aSourceMap&&(sourceMap=JSON.parse(aSourceMap.replace(/^\)\]\}'/,""))),null!=sourceMap.sections?new IndexedSourceMapConsumer(sourceMap):new BasicSourceMapConsumer(sourceMap)}function BasicSourceMapConsumer(aSourceMap){var sourceMap=aSourceMap;"string"==typeof aSourceMap&&(sourceMap=JSON.parse(aSourceMap.replace(/^\)\]\}'/,"")));var version=util.getArg(sourceMap,"version"),sources=util.getArg(sourceMap,"sources"),names=util.getArg(sourceMap,"names",[]),sourceRoot=util.getArg(sourceMap,"sourceRoot",null),sourcesContent=util.getArg(sourceMap,"sourcesContent",null),mappings=util.getArg(sourceMap,"mappings"),file=util.getArg(sourceMap,"file",null);if(version!=this._version)throw new Error("Unsupported version: "+version);sources=sources.map(String).map(util.normalize).map((function(source){return sourceRoot&&util.isAbsolute(sourceRoot)&&util.isAbsolute(source)?util.relative(sourceRoot,source):source})),this._names=ArraySet.fromArray(names.map(String),!0),this._sources=ArraySet.fromArray(sources,!0),this.sourceRoot=sourceRoot,this.sourcesContent=sourcesContent,this._mappings=mappings,this.file=file}function Mapping(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function IndexedSourceMapConsumer(aSourceMap){var sourceMap=aSourceMap;"string"==typeof aSourceMap&&(sourceMap=JSON.parse(aSourceMap.replace(/^\)\]\}'/,"")));var version=util.getArg(sourceMap,"version"),sections=util.getArg(sourceMap,"sections");if(version!=this._version)throw new Error("Unsupported version: "+version);this._sources=new ArraySet,this._names=new ArraySet;var lastOffset={line:-1,column:0};this._sections=sections.map((function(s){if(s.url)throw new Error("Support for url field in sections not implemented.");var offset=util.getArg(s,"offset"),offsetLine=util.getArg(offset,"line"),offsetColumn=util.getArg(offset,"column");if(offsetLine<lastOffset.line||offsetLine===lastOffset.line&&offsetColumn<lastOffset.column)throw new Error("Section offsets must be ordered and non-overlapping.");return lastOffset=offset,{generatedOffset:{generatedLine:offsetLine+1,generatedColumn:offsetColumn+1},consumer:new SourceMapConsumer(util.getArg(s,"map"))}}))}SourceMapConsumer.fromSourceMap=function(aSourceMap){return BasicSourceMapConsumer.fromSourceMap(aSourceMap)},SourceMapConsumer.prototype._version=3,SourceMapConsumer.prototype.__generatedMappings=null,Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),SourceMapConsumer.prototype.__originalMappings=null,Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(aStr,index){var c=aStr.charAt(index);return";"===c||","===c},SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(aStr,aSourceRoot){throw new Error("Subclasses must implement _parseMappings")},SourceMapConsumer.GENERATED_ORDER=1,SourceMapConsumer.ORIGINAL_ORDER=2,SourceMapConsumer.GREATEST_LOWER_BOUND=1,SourceMapConsumer.LEAST_UPPER_BOUND=2,SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(aCallback,aContext,aOrder){var mappings,context=aContext||null;switch(aOrder||SourceMapConsumer.GENERATED_ORDER){case SourceMapConsumer.GENERATED_ORDER:mappings=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:mappings=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var sourceRoot=this.sourceRoot;mappings.map((function(mapping){var source=null===mapping.source?null:this._sources.at(mapping.source);return null!=source&&null!=sourceRoot&&(source=util.join(sourceRoot,source)),{source:source,generatedLine:mapping.generatedLine,generatedColumn:mapping.generatedColumn,originalLine:mapping.originalLine,originalColumn:mapping.originalColumn,name:null===mapping.name?null:this._names.at(mapping.name)}}),this).forEach(aCallback,context)},SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(aArgs){var line=util.getArg(aArgs,"line"),needle={source:util.getArg(aArgs,"source"),originalLine:line,originalColumn:util.getArg(aArgs,"column",0)};if(null!=this.sourceRoot&&(needle.source=util.relative(this.sourceRoot,needle.source)),!this._sources.has(needle.source))return[];needle.source=this._sources.indexOf(needle.source);var mappings=[],index=this._findMapping(needle,this._originalMappings,"originalLine","originalColumn",util.compareByOriginalPositions,binarySearch.LEAST_UPPER_BOUND);if(index>=0){var mapping=this._originalMappings[index];if(void 0===aArgs.column)for(var originalLine=mapping.originalLine;mapping&&mapping.originalLine===originalLine;)mappings.push({line:util.getArg(mapping,"generatedLine",null),column:util.getArg(mapping,"generatedColumn",null),lastColumn:util.getArg(mapping,"lastGeneratedColumn",null)}),mapping=this._originalMappings[++index];else for(var originalColumn=mapping.originalColumn;mapping&&mapping.originalLine===line&&mapping.originalColumn==originalColumn;)mappings.push({line:util.getArg(mapping,"generatedLine",null),column:util.getArg(mapping,"generatedColumn",null),lastColumn:util.getArg(mapping,"lastGeneratedColumn",null)}),mapping=this._originalMappings[++index]}return mappings},BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype),BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer,BasicSourceMapConsumer.fromSourceMap=function SourceMapConsumer_fromSourceMap(aSourceMap){var smc=Object.create(BasicSourceMapConsumer.prototype),names=smc._names=ArraySet.fromArray(aSourceMap._names.toArray(),!0),sources=smc._sources=ArraySet.fromArray(aSourceMap._sources.toArray(),!0);smc.sourceRoot=aSourceMap._sourceRoot,smc.sourcesContent=aSourceMap._generateSourcesContent(smc._sources.toArray(),smc.sourceRoot),smc.file=aSourceMap._file;for(var generatedMappings=aSourceMap._mappings.toArray().slice(),destGeneratedMappings=smc.__generatedMappings=[],destOriginalMappings=smc.__originalMappings=[],i=0,length=generatedMappings.length;i<length;i++){var srcMapping=generatedMappings[i],destMapping=new Mapping;destMapping.generatedLine=srcMapping.generatedLine,destMapping.generatedColumn=srcMapping.generatedColumn,srcMapping.source&&(destMapping.source=sources.indexOf(srcMapping.source),destMapping.originalLine=srcMapping.originalLine,destMapping.originalColumn=srcMapping.originalColumn,srcMapping.name&&(destMapping.name=names.indexOf(srcMapping.name)),destOriginalMappings.push(destMapping)),destGeneratedMappings.push(destMapping)}return quickSort(smc.__originalMappings,util.compareByOriginalPositions),smc},BasicSourceMapConsumer.prototype._version=3,Object.defineProperty(BasicSourceMapConsumer.prototype,"sources",{get:function(){return this._sources.toArray().map((function(s){return null!=this.sourceRoot?util.join(this.sourceRoot,s):s}),this)}}),BasicSourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(aStr,aSourceRoot){for(var mapping,str,segment,end,value,generatedLine=1,previousGeneratedColumn=0,previousOriginalLine=0,previousOriginalColumn=0,previousSource=0,previousName=0,length=aStr.length,index=0,cachedSegments={},temp={},originalMappings=[],generatedMappings=[];index<length;)if(";"===aStr.charAt(index))generatedLine++,index++,previousGeneratedColumn=0;else if(","===aStr.charAt(index))index++;else{for((mapping=new Mapping).generatedLine=generatedLine,end=index;end<length&&!this._charIsMappingSeparator(aStr,end);end++);if(segment=cachedSegments[str=aStr.slice(index,end)])index+=str.length;else{for(segment=[];index<end;)base64VLQ.decode(aStr,index,temp),value=temp.value,index=temp.rest,segment.push(value);if(2===segment.length)throw new Error("Found a source, but no line and column");if(3===segment.length)throw new Error("Found a source and line, but no column");cachedSegments[str]=segment}mapping.generatedColumn=previousGeneratedColumn+segment[0],previousGeneratedColumn=mapping.generatedColumn,segment.length>1&&(mapping.source=previousSource+segment[1],previousSource+=segment[1],mapping.originalLine=previousOriginalLine+segment[2],previousOriginalLine=mapping.originalLine,mapping.originalLine+=1,mapping.originalColumn=previousOriginalColumn+segment[3],previousOriginalColumn=mapping.originalColumn,segment.length>4&&(mapping.name=previousName+segment[4],previousName+=segment[4])),generatedMappings.push(mapping),"number"==typeof mapping.originalLine&&originalMappings.push(mapping)}quickSort(generatedMappings,util.compareByGeneratedPositionsDeflated),this.__generatedMappings=generatedMappings,quickSort(originalMappings,util.compareByOriginalPositions),this.__originalMappings=originalMappings},BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(aNeedle,aMappings,aLineName,aColumnName,aComparator,aBias){if(aNeedle[aLineName]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+aNeedle[aLineName]);if(aNeedle[aColumnName]<0)throw new TypeError("Column must be greater than or equal to 0, got "+aNeedle[aColumnName]);return binarySearch.search(aNeedle,aMappings,aComparator,aBias)},BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var index=0;index<this._generatedMappings.length;++index){var mapping=this._generatedMappings[index];if(index+1<this._generatedMappings.length){var nextMapping=this._generatedMappings[index+1];if(mapping.generatedLine===nextMapping.generatedLine){mapping.lastGeneratedColumn=nextMapping.generatedColumn-1;continue}}mapping.lastGeneratedColumn=1/0}},BasicSourceMapConsumer.prototype.originalPositionFor=function SourceMapConsumer_originalPositionFor(aArgs){var needle={generatedLine:util.getArg(aArgs,"line"),generatedColumn:util.getArg(aArgs,"column")},index=this._findMapping(needle,this._generatedMappings,"generatedLine","generatedColumn",util.compareByGeneratedPositionsDeflated,util.getArg(aArgs,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(index>=0){var mapping=this._generatedMappings[index];if(mapping.generatedLine===needle.generatedLine){var source=util.getArg(mapping,"source",null);null!==source&&(source=this._sources.at(source),null!=this.sourceRoot&&(source=util.join(this.sourceRoot,source)));var name=util.getArg(mapping,"name",null);return null!==name&&(name=this._names.at(name)),{source:source,line:util.getArg(mapping,"originalLine",null),column:util.getArg(mapping,"originalColumn",null),name:name}}}return{source:null,line:null,column:null,name:null}},BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(sc){return null==sc})))},BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(aSource,nullOnMissing){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(aSource=util.relative(this.sourceRoot,aSource)),this._sources.has(aSource))return this.sourcesContent[this._sources.indexOf(aSource)];var url;if(null!=this.sourceRoot&&(url=util.urlParse(this.sourceRoot))){var fileUriAbsPath=aSource.replace(/^file:\/\//,"");if("file"==url.scheme&&this._sources.has(fileUriAbsPath))return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)];if((!url.path||"/"==url.path)&&this._sources.has("/"+aSource))return this.sourcesContent[this._sources.indexOf("/"+aSource)]}if(nullOnMissing)return null;throw new Error('"'+aSource+'" is not in the SourceMap.')},BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(aArgs){var source=util.getArg(aArgs,"source");if(null!=this.sourceRoot&&(source=util.relative(this.sourceRoot,source)),!this._sources.has(source))return{line:null,column:null,lastColumn:null};var needle={source:source=this._sources.indexOf(source),originalLine:util.getArg(aArgs,"line"),originalColumn:util.getArg(aArgs,"column")},index=this._findMapping(needle,this._originalMappings,"originalLine","originalColumn",util.compareByOriginalPositions,util.getArg(aArgs,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(index>=0){var mapping=this._originalMappings[index];if(mapping.source===needle.source)return{line:util.getArg(mapping,"generatedLine",null),column:util.getArg(mapping,"generatedColumn",null),lastColumn:util.getArg(mapping,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype),IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer,IndexedSourceMapConsumer.prototype._version=3,Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){for(var sources=[],i=0;i<this._sections.length;i++)for(var j=0;j<this._sections[i].consumer.sources.length;j++)sources.push(this._sections[i].consumer.sources[j]);return sources}}),IndexedSourceMapConsumer.prototype.originalPositionFor=function IndexedSourceMapConsumer_originalPositionFor(aArgs){var needle={generatedLine:util.getArg(aArgs,"line"),generatedColumn:util.getArg(aArgs,"column")},sectionIndex=binarySearch.search(needle,this._sections,(function(needle,section){var cmp=needle.generatedLine-section.generatedOffset.generatedLine;return cmp||needle.generatedColumn-section.generatedOffset.generatedColumn})),section=this._sections[sectionIndex];return section?section.consumer.originalPositionFor({line:needle.generatedLine-(section.generatedOffset.generatedLine-1),column:needle.generatedColumn-(section.generatedOffset.generatedLine===needle.generatedLine?section.generatedOffset.generatedColumn-1:0),bias:aArgs.bias}):{source:null,line:null,column:null,name:null}},IndexedSourceMapConsumer.prototype.hasContentsOfAllSources=function IndexedSourceMapConsumer_hasContentsOfAllSources(){return this._sections.every((function(s){return s.consumer.hasContentsOfAllSources()}))},IndexedSourceMapConsumer.prototype.sourceContentFor=function IndexedSourceMapConsumer_sourceContentFor(aSource,nullOnMissing){for(var i=0;i<this._sections.length;i++){var content=this._sections[i].consumer.sourceContentFor(aSource,!0);if(content)return content}if(nullOnMissing)return null;throw new Error('"'+aSource+'" is not in the SourceMap.')},IndexedSourceMapConsumer.prototype.generatedPositionFor=function IndexedSourceMapConsumer_generatedPositionFor(aArgs){for(var i=0;i<this._sections.length;i++){var section=this._sections[i];if(-1!==section.consumer.sources.indexOf(util.getArg(aArgs,"source"))){var generatedPosition=section.consumer.generatedPositionFor(aArgs);if(generatedPosition)return{line:generatedPosition.line+(section.generatedOffset.generatedLine-1),column:generatedPosition.column+(section.generatedOffset.generatedLine===generatedPosition.line?section.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},IndexedSourceMapConsumer.prototype._parseMappings=function IndexedSourceMapConsumer_parseMappings(aStr,aSourceRoot){this.__generatedMappings=[],this.__originalMappings=[];for(var i=0;i<this._sections.length;i++)for(var section=this._sections[i],sectionMappings=section.consumer._generatedMappings,j=0;j<sectionMappings.length;j++){var mapping=sectionMappings[j],source=section.consumer._sources.at(mapping.source);null!==section.consumer.sourceRoot&&(source=util.join(section.consumer.sourceRoot,source)),this._sources.add(source),source=this._sources.indexOf(source);var name=section.consumer._names.at(mapping.name);this._names.add(name),name=this._names.indexOf(name);var adjustedMapping={source:source,generatedLine:mapping.generatedLine+(section.generatedOffset.generatedLine-1),generatedColumn:mapping.generatedColumn+(section.generatedOffset.generatedLine===mapping.generatedLine?section.generatedOffset.generatedColumn-1:0),originalLine:mapping.originalLine,originalColumn:mapping.originalColumn,name:name};this.__generatedMappings.push(adjustedMapping),"number"==typeof adjustedMapping.originalLine&&this.__originalMappings.push(adjustedMapping)}quickSort(this.__generatedMappings,util.compareByGeneratedPositionsDeflated),quickSort(this.__originalMappings,util.compareByOriginalPositions)}},34433:function(__unused_webpack_module,exports,__webpack_require__){var base64VLQ=__webpack_require__(16400),util=__webpack_require__(32728),ArraySet=__webpack_require__(78213).I,MappingList=__webpack_require__(21188).H;function SourceMapGenerator(aArgs){aArgs||(aArgs={}),this._file=util.getArg(aArgs,"file",null),this._sourceRoot=util.getArg(aArgs,"sourceRoot",null),this._skipValidation=util.getArg(aArgs,"skipValidation",!1),this._sources=new ArraySet,this._names=new ArraySet,this._mappings=new MappingList,this._sourcesContents=null}SourceMapGenerator.prototype._version=3,SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(aSourceMapConsumer){var sourceRoot=aSourceMapConsumer.sourceRoot,generator=new SourceMapGenerator({file:aSourceMapConsumer.file,sourceRoot:sourceRoot});return aSourceMapConsumer.eachMapping((function(mapping){var newMapping={generated:{line:mapping.generatedLine,column:mapping.generatedColumn}};null!=mapping.source&&(newMapping.source=mapping.source,null!=sourceRoot&&(newMapping.source=util.relative(sourceRoot,newMapping.source)),newMapping.original={line:mapping.originalLine,column:mapping.originalColumn},null!=mapping.name&&(newMapping.name=mapping.name)),generator.addMapping(newMapping)})),aSourceMapConsumer.sources.forEach((function(sourceFile){var content=aSourceMapConsumer.sourceContentFor(sourceFile);null!=content&&generator.setSourceContent(sourceFile,content)})),generator},SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(aArgs){var generated=util.getArg(aArgs,"generated"),original=util.getArg(aArgs,"original",null),source=util.getArg(aArgs,"source",null),name=util.getArg(aArgs,"name",null);this._skipValidation||this._validateMapping(generated,original,source,name),null!=source&&(source=String(source),this._sources.has(source)||this._sources.add(source)),null!=name&&(name=String(name),this._names.has(name)||this._names.add(name)),this._mappings.add({generatedLine:generated.line,generatedColumn:generated.column,originalLine:null!=original&&original.line,originalColumn:null!=original&&original.column,source:source,name:name})},SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(aSourceFile,aSourceContent){var source=aSourceFile;null!=this._sourceRoot&&(source=util.relative(this._sourceRoot,source)),null!=aSourceContent?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[util.toSetString(source)]=aSourceContent):this._sourcesContents&&(delete this._sourcesContents[util.toSetString(source)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(aSourceMapConsumer,aSourceFile,aSourceMapPath){var sourceFile=aSourceFile;if(null==aSourceFile){if(null==aSourceMapConsumer.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');sourceFile=aSourceMapConsumer.file}var sourceRoot=this._sourceRoot;null!=sourceRoot&&(sourceFile=util.relative(sourceRoot,sourceFile));var newSources=new ArraySet,newNames=new ArraySet;this._mappings.unsortedForEach((function(mapping){if(mapping.source===sourceFile&&null!=mapping.originalLine){var original=aSourceMapConsumer.originalPositionFor({line:mapping.originalLine,column:mapping.originalColumn});null!=original.source&&(mapping.source=original.source,null!=aSourceMapPath&&(mapping.source=util.join(aSourceMapPath,mapping.source)),null!=sourceRoot&&(mapping.source=util.relative(sourceRoot,mapping.source)),mapping.originalLine=original.line,mapping.originalColumn=original.column,null!=original.name&&(mapping.name=original.name))}var source=mapping.source;null==source||newSources.has(source)||newSources.add(source);var name=mapping.name;null==name||newNames.has(name)||newNames.add(name)}),this),this._sources=newSources,this._names=newNames,aSourceMapConsumer.sources.forEach((function(sourceFile){var content=aSourceMapConsumer.sourceContentFor(sourceFile);null!=content&&(null!=aSourceMapPath&&(sourceFile=util.join(aSourceMapPath,sourceFile)),null!=sourceRoot&&(sourceFile=util.relative(sourceRoot,sourceFile)),this.setSourceContent(sourceFile,content))}),this)},SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(aGenerated,aOriginal,aSource,aName){if(aOriginal&&"number"!=typeof aOriginal.line&&"number"!=typeof aOriginal.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(aGenerated&&"line"in aGenerated&&"column"in aGenerated&&aGenerated.line>0&&aGenerated.column>=0)||aOriginal||aSource||aName)&&!(aGenerated&&"line"in aGenerated&&"column"in aGenerated&&aOriginal&&"line"in aOriginal&&"column"in aOriginal&&aGenerated.line>0&&aGenerated.column>=0&&aOriginal.line>0&&aOriginal.column>=0&&aSource))throw new Error("Invalid mapping: "+JSON.stringify({generated:aGenerated,source:aSource,original:aOriginal,name:aName}))},SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){for(var next,mapping,nameIdx,sourceIdx,previousGeneratedColumn=0,previousGeneratedLine=1,previousOriginalColumn=0,previousOriginalLine=0,previousName=0,previousSource=0,result="",mappings=this._mappings.toArray(),i=0,len=mappings.length;i<len;i++){if(next="",(mapping=mappings[i]).generatedLine!==previousGeneratedLine)for(previousGeneratedColumn=0;mapping.generatedLine!==previousGeneratedLine;)next+=";",previousGeneratedLine++;else if(i>0){if(!util.compareByGeneratedPositionsInflated(mapping,mappings[i-1]))continue;next+=","}next+=base64VLQ.encode(mapping.generatedColumn-previousGeneratedColumn),previousGeneratedColumn=mapping.generatedColumn,null!=mapping.source&&(sourceIdx=this._sources.indexOf(mapping.source),next+=base64VLQ.encode(sourceIdx-previousSource),previousSource=sourceIdx,next+=base64VLQ.encode(mapping.originalLine-1-previousOriginalLine),previousOriginalLine=mapping.originalLine-1,next+=base64VLQ.encode(mapping.originalColumn-previousOriginalColumn),previousOriginalColumn=mapping.originalColumn,null!=mapping.name&&(nameIdx=this._names.indexOf(mapping.name),next+=base64VLQ.encode(nameIdx-previousName),previousName=nameIdx)),result+=next}return result},SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(aSources,aSourceRoot){return aSources.map((function(source){if(!this._sourcesContents)return null;null!=aSourceRoot&&(source=util.relative(aSourceRoot,source));var key=util.toSetString(source);return Object.prototype.hasOwnProperty.call(this._sourcesContents,key)?this._sourcesContents[key]:null}),this)},SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var map={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(map.file=this._file),null!=this._sourceRoot&&(map.sourceRoot=this._sourceRoot),this._sourcesContents&&(map.sourcesContent=this._generateSourcesContent(map.sources,map.sourceRoot)),map},SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())},exports.h=SourceMapGenerator},17085:function(__unused_webpack_module,exports,__webpack_require__){var SourceMapGenerator=__webpack_require__(34433).h,util=__webpack_require__(32728),REGEX_NEWLINE=/(\r?\n)/,isSourceNode="$$$isSourceNode$$$";function SourceNode(aLine,aColumn,aSource,aChunks,aName){this.children=[],this.sourceContents={},this.line=null==aLine?null:aLine,this.column=null==aColumn?null:aColumn,this.source=null==aSource?null:aSource,this.name=null==aName?null:aName,this[isSourceNode]=!0,null!=aChunks&&this.add(aChunks)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(aGeneratedCode,aSourceMapConsumer,aRelativePath){var node=new SourceNode,remainingLines=aGeneratedCode.split(REGEX_NEWLINE),remainingLinesIndex=0,shiftNextLine=function(){return getNextLine()+(getNextLine()||"");function getNextLine(){return remainingLinesIndex<remainingLines.length?remainingLines[remainingLinesIndex++]:void 0}},lastGeneratedLine=1,lastGeneratedColumn=0,lastMapping=null;return aSourceMapConsumer.eachMapping((function(mapping){if(null!==lastMapping){if(!(lastGeneratedLine<mapping.generatedLine)){var code=(nextLine=remainingLines[remainingLinesIndex]).substr(0,mapping.generatedColumn-lastGeneratedColumn);return remainingLines[remainingLinesIndex]=nextLine.substr(mapping.generatedColumn-lastGeneratedColumn),lastGeneratedColumn=mapping.generatedColumn,addMappingWithCode(lastMapping,code),void(lastMapping=mapping)}addMappingWithCode(lastMapping,shiftNextLine()),lastGeneratedLine++,lastGeneratedColumn=0}for(;lastGeneratedLine<mapping.generatedLine;)node.add(shiftNextLine()),lastGeneratedLine++;if(lastGeneratedColumn<mapping.generatedColumn){var nextLine=remainingLines[remainingLinesIndex];node.add(nextLine.substr(0,mapping.generatedColumn)),remainingLines[remainingLinesIndex]=nextLine.substr(mapping.generatedColumn),lastGeneratedColumn=mapping.generatedColumn}lastMapping=mapping}),this),remainingLinesIndex<remainingLines.length&&(lastMapping&&addMappingWithCode(lastMapping,shiftNextLine()),node.add(remainingLines.splice(remainingLinesIndex).join(""))),aSourceMapConsumer.sources.forEach((function(sourceFile){var content=aSourceMapConsumer.sourceContentFor(sourceFile);null!=content&&(null!=aRelativePath&&(sourceFile=util.join(aRelativePath,sourceFile)),node.setSourceContent(sourceFile,content))})),node;function addMappingWithCode(mapping,code){if(null===mapping||void 0===mapping.source)node.add(code);else{var source=aRelativePath?util.join(aRelativePath,mapping.source):mapping.source;node.add(new SourceNode(mapping.originalLine,mapping.originalColumn,source,code,mapping.name))}}},SourceNode.prototype.add=function SourceNode_add(aChunk){if(Array.isArray(aChunk))aChunk.forEach((function(chunk){this.add(chunk)}),this);else{if(!aChunk[isSourceNode]&&"string"!=typeof aChunk)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+aChunk);aChunk&&this.children.push(aChunk)}return this},SourceNode.prototype.prepend=function SourceNode_prepend(aChunk){if(Array.isArray(aChunk))for(var i=aChunk.length-1;i>=0;i--)this.prepend(aChunk[i]);else{if(!aChunk[isSourceNode]&&"string"!=typeof aChunk)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+aChunk);this.children.unshift(aChunk)}return this},SourceNode.prototype.walk=function SourceNode_walk(aFn){for(var chunk,i=0,len=this.children.length;i<len;i++)(chunk=this.children[i])[isSourceNode]?chunk.walk(aFn):""!==chunk&&aFn(chunk,{source:this.source,line:this.line,column:this.column,name:this.name})},SourceNode.prototype.join=function SourceNode_join(aSep){var newChildren,i,len=this.children.length;if(len>0){for(newChildren=[],i=0;i<len-1;i++)newChildren.push(this.children[i]),newChildren.push(aSep);newChildren.push(this.children[i]),this.children=newChildren}return this},SourceNode.prototype.replaceRight=function SourceNode_replaceRight(aPattern,aReplacement){var lastChild=this.children[this.children.length-1];return lastChild[isSourceNode]?lastChild.replaceRight(aPattern,aReplacement):"string"==typeof lastChild?this.children[this.children.length-1]=lastChild.replace(aPattern,aReplacement):this.children.push("".replace(aPattern,aReplacement)),this},SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(aSourceFile,aSourceContent){this.sourceContents[util.toSetString(aSourceFile)]=aSourceContent},SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(aFn){for(var i=0,len=this.children.length;i<len;i++)this.children[i][isSourceNode]&&this.children[i].walkSourceContents(aFn);var sources=Object.keys(this.sourceContents);for(i=0,len=sources.length;i<len;i++)aFn(util.fromSetString(sources[i]),this.sourceContents[sources[i]])},SourceNode.prototype.toString=function SourceNode_toString(){var str="";return this.walk((function(chunk){str+=chunk})),str},SourceNode.prototype.toStringWithSourceMap=function SourceNode_toStringWithSourceMap(aArgs){var generated={code:"",line:1,column:0},map=new SourceMapGenerator(aArgs),sourceMappingActive=!1,lastOriginalSource=null,lastOriginalLine=null,lastOriginalColumn=null,lastOriginalName=null;return this.walk((function(chunk,original){generated.code+=chunk,null!==original.source&&null!==original.line&&null!==original.column?(lastOriginalSource===original.source&&lastOriginalLine===original.line&&lastOriginalColumn===original.column&&lastOriginalName===original.name||map.addMapping({source:original.source,original:{line:original.line,column:original.column},generated:{line:generated.line,column:generated.column},name:original.name}),lastOriginalSource=original.source,lastOriginalLine=original.line,lastOriginalColumn=original.column,lastOriginalName=original.name,sourceMappingActive=!0):sourceMappingActive&&(map.addMapping({generated:{line:generated.line,column:generated.column}}),lastOriginalSource=null,sourceMappingActive=!1);for(var idx=0,length=chunk.length;idx<length;idx++)10===chunk.charCodeAt(idx)?(generated.line++,generated.column=0,idx+1===length?(lastOriginalSource=null,sourceMappingActive=!1):sourceMappingActive&&map.addMapping({source:original.source,original:{line:original.line,column:original.column},generated:{line:generated.line,column:generated.column},name:original.name})):generated.column++})),this.walkSourceContents((function(sourceFile,sourceContent){map.setSourceContent(sourceFile,sourceContent)})),{code:generated.code,map:map}},exports.SourceNode=SourceNode},32728:function(__unused_webpack_module,exports){exports.getArg=function getArg(aArgs,aName,aDefaultValue){if(aName in aArgs)return aArgs[aName];if(3===arguments.length)return aDefaultValue;throw new Error('"'+aName+'" is a required argument.')};var urlRegexp=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,dataUrlRegexp=/^data:.+\,.+$/;function urlParse(aUrl){var match=aUrl.match(urlRegexp);return match?{scheme:match[1],auth:match[2],host:match[3],port:match[4],path:match[5]}:null}function urlGenerate(aParsedUrl){var url="";return aParsedUrl.scheme&&(url+=aParsedUrl.scheme+":"),url+="//",aParsedUrl.auth&&(url+=aParsedUrl.auth+"@"),aParsedUrl.host&&(url+=aParsedUrl.host),aParsedUrl.port&&(url+=":"+aParsedUrl.port),aParsedUrl.path&&(url+=aParsedUrl.path),url}function normalize(aPath){var path=aPath,url=urlParse(aPath);if(url){if(!url.path)return aPath;path=url.path}for(var part,isAbsolute=exports.isAbsolute(path),parts=path.split(/\/+/),up=0,i=parts.length-1;i>=0;i--)"."===(part=parts[i])?parts.splice(i,1):".."===part?up++:up>0&&(""===part?(parts.splice(i+1,up),up=0):(parts.splice(i,2),up--));return""===(path=parts.join("/"))&&(path=isAbsolute?"/":"."),url?(url.path=path,urlGenerate(url)):path}exports.urlParse=urlParse,exports.urlGenerate=urlGenerate,exports.normalize=normalize,exports.join=function join(aRoot,aPath){""===aRoot&&(aRoot="."),""===aPath&&(aPath=".");var aPathUrl=urlParse(aPath),aRootUrl=urlParse(aRoot);if(aRootUrl&&(aRoot=aRootUrl.path||"/"),aPathUrl&&!aPathUrl.scheme)return aRootUrl&&(aPathUrl.scheme=aRootUrl.scheme),urlGenerate(aPathUrl);if(aPathUrl||aPath.match(dataUrlRegexp))return aPath;if(aRootUrl&&!aRootUrl.host&&!aRootUrl.path)return aRootUrl.host=aPath,urlGenerate(aRootUrl);var joined="/"===aPath.charAt(0)?aPath:normalize(aRoot.replace(/\/+$/,"")+"/"+aPath);return aRootUrl?(aRootUrl.path=joined,urlGenerate(aRootUrl)):joined},exports.isAbsolute=function(aPath){return"/"===aPath.charAt(0)||!!aPath.match(urlRegexp)},exports.relative=function relative(aRoot,aPath){""===aRoot&&(aRoot="."),aRoot=aRoot.replace(/\/$/,"");for(var level=0;0!==aPath.indexOf(aRoot+"/");){var index=aRoot.lastIndexOf("/");if(index<0)return aPath;if((aRoot=aRoot.slice(0,index)).match(/^([^\/]+:\/)?\/*$/))return aPath;++level}return Array(level+1).join("../")+aPath.substr(aRoot.length+1)};var supportsNullProto=!("__proto__"in Object.create(null));function identity(s){return s}function isProtoString(s){if(!s)return!1;var length=s.length;if(length<9)return!1;if(95!==s.charCodeAt(length-1)||95!==s.charCodeAt(length-2)||111!==s.charCodeAt(length-3)||116!==s.charCodeAt(length-4)||111!==s.charCodeAt(length-5)||114!==s.charCodeAt(length-6)||112!==s.charCodeAt(length-7)||95!==s.charCodeAt(length-8)||95!==s.charCodeAt(length-9))return!1;for(var i=length-10;i>=0;i--)if(36!==s.charCodeAt(i))return!1;return!0}function strcmp(aStr1,aStr2){return aStr1===aStr2?0:aStr1>aStr2?1:-1}exports.toSetString=supportsNullProto?identity:function toSetString(aStr){return isProtoString(aStr)?"$"+aStr:aStr},exports.fromSetString=supportsNullProto?identity:function fromSetString(aStr){return isProtoString(aStr)?aStr.slice(1):aStr},exports.compareByOriginalPositions=function compareByOriginalPositions(mappingA,mappingB,onlyCompareOriginal){var cmp=mappingA.source-mappingB.source;return 0!==cmp||0!==(cmp=mappingA.originalLine-mappingB.originalLine)||0!==(cmp=mappingA.originalColumn-mappingB.originalColumn)||onlyCompareOriginal||0!==(cmp=mappingA.generatedColumn-mappingB.generatedColumn)||0!==(cmp=mappingA.generatedLine-mappingB.generatedLine)?cmp:mappingA.name-mappingB.name},exports.compareByGeneratedPositionsDeflated=function compareByGeneratedPositionsDeflated(mappingA,mappingB,onlyCompareGenerated){var cmp=mappingA.generatedLine-mappingB.generatedLine;return 0!==cmp||0!==(cmp=mappingA.generatedColumn-mappingB.generatedColumn)||onlyCompareGenerated||0!==(cmp=mappingA.source-mappingB.source)||0!==(cmp=mappingA.originalLine-mappingB.originalLine)||0!==(cmp=mappingA.originalColumn-mappingB.originalColumn)?cmp:mappingA.name-mappingB.name},exports.compareByGeneratedPositionsInflated=function compareByGeneratedPositionsInflated(mappingA,mappingB){var cmp=mappingA.generatedLine-mappingB.generatedLine;return 0!==cmp||0!==(cmp=mappingA.generatedColumn-mappingB.generatedColumn)||0!==(cmp=strcmp(mappingA.source,mappingB.source))||0!==(cmp=mappingA.originalLine-mappingB.originalLine)||0!==(cmp=mappingA.originalColumn-mappingB.originalColumn)?cmp:strcmp(mappingA.name,mappingB.name)}},49125:function(__unused_webpack_module,exports,__webpack_require__){__webpack_require__(34433).h,__webpack_require__(76771),exports.SourceNode=__webpack_require__(17085).SourceNode},42830:function(module,__unused_webpack_exports,__webpack_require__){module.exports=Stream;var EE=__webpack_require__(17187).EventEmitter;function Stream(){EE.call(this)}__webpack_require__(35717)(Stream,EE),Stream.Readable=__webpack_require__(79481),Stream.Writable=__webpack_require__(64229),Stream.Duplex=__webpack_require__(56753),Stream.Transform=__webpack_require__(74605),Stream.PassThrough=__webpack_require__(82725),Stream.finished=__webpack_require__(8610),Stream.pipeline=__webpack_require__(59946),Stream.Stream=Stream,Stream.prototype.pipe=function(dest,options){var source=this;function ondata(chunk){dest.writable&&!1===dest.write(chunk)&&source.pause&&source.pause()}function ondrain(){source.readable&&source.resume&&source.resume()}source.on("data",ondata),dest.on("drain",ondrain),dest._isStdio||options&&!1===options.end||(source.on("end",onend),source.on("close",onclose));var didOnEnd=!1;function onend(){didOnEnd||(didOnEnd=!0,dest.end())}function onclose(){didOnEnd||(didOnEnd=!0,"function"==typeof dest.destroy&&dest.destroy())}function onerror(er){if(cleanup(),0===EE.listenerCount(this,"error"))throw er}function cleanup(){source.removeListener("data",ondata),dest.removeListener("drain",ondrain),source.removeListener("end",onend),source.removeListener("close",onclose),source.removeListener("error",onerror),dest.removeListener("error",onerror),source.removeListener("end",cleanup),source.removeListener("close",cleanup),dest.removeListener("close",cleanup)}return source.on("error",onerror),dest.on("error",onerror),source.on("end",cleanup),source.on("close",cleanup),dest.on("close",cleanup),dest.emit("pipe",source),dest}},8501:function(__unused_webpack_module,exports,__webpack_require__){var ClientRequest=__webpack_require__(11989),response=__webpack_require__(55676),extend=__webpack_require__(47529),statusCodes=__webpack_require__(50584),url=__webpack_require__(8575),http=exports;http.request=function(opts,cb){opts="string"==typeof opts?url.parse(opts):extend(opts);var defaultProtocol=-1===__webpack_require__.g.location.protocol.search(/^https?:$/)?"http:":"",protocol=opts.protocol||defaultProtocol,host=opts.hostname||opts.host,port=opts.port,path=opts.path||"/";host&&-1!==host.indexOf(":")&&(host="["+host+"]"),opts.url=(host?protocol+"//"+host:"")+(port?":"+port:"")+path,opts.method=(opts.method||"GET").toUpperCase(),opts.headers=opts.headers||{};var req=new ClientRequest(opts);return cb&&req.on("response",cb),req},http.get=function get(opts,cb){var req=http.request(opts,cb);return req.end(),req},http.ClientRequest=ClientRequest,http.IncomingMessage=response.IncomingMessage,http.Agent=function(){},http.Agent.defaultMaxSockets=4,http.globalAgent=new http.Agent,http.STATUS_CODES=statusCodes,http.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]},8725:function(__unused_webpack_module,exports,__webpack_require__){var xhr;function getXHR(){if(void 0!==xhr)return xhr;if(__webpack_require__.g.XMLHttpRequest){xhr=new __webpack_require__.g.XMLHttpRequest;try{xhr.open("GET",__webpack_require__.g.XDomainRequest?"/":"https://example.com")}catch(e){xhr=null}}else xhr=null;return xhr}function checkTypeSupport(type){var xhr=getXHR();if(!xhr)return!1;try{return xhr.responseType=type,xhr.responseType===type}catch(e){}return!1}function isFunction(value){return"function"==typeof value}exports.fetch=isFunction(__webpack_require__.g.fetch)&&isFunction(__webpack_require__.g.ReadableStream),exports.writableStream=isFunction(__webpack_require__.g.WritableStream),exports.abortController=isFunction(__webpack_require__.g.AbortController),exports.arraybuffer=exports.fetch||checkTypeSupport("arraybuffer"),exports.msstream=!exports.fetch&&checkTypeSupport("ms-stream"),exports.mozchunkedarraybuffer=!exports.fetch&&checkTypeSupport("moz-chunked-arraybuffer"),exports.overrideMimeType=exports.fetch||!!getXHR()&&isFunction(getXHR().overrideMimeType),xhr=null},11989:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer,process=__webpack_require__(34155),capability=__webpack_require__(8725),inherits=__webpack_require__(35717),response=__webpack_require__(55676),stream=__webpack_require__(88473),IncomingMessage=response.IncomingMessage,rStates=response.readyStates;var ClientRequest=module.exports=function(opts){var preferBinary,self=this;stream.Writable.call(self),self._opts=opts,self._body=[],self._headers={},opts.auth&&self.setHeader("Authorization","Basic "+Buffer.from(opts.auth).toString("base64")),Object.keys(opts.headers).forEach((function(name){self.setHeader(name,opts.headers[name])}));var useFetch=!0;if("disable-fetch"===opts.mode||"requestTimeout"in opts&&!capability.abortController)useFetch=!1,preferBinary=!0;else if("prefer-streaming"===opts.mode)preferBinary=!1;else if("allow-wrong-content-type"===opts.mode)preferBinary=!capability.overrideMimeType;else{if(opts.mode&&"default"!==opts.mode&&"prefer-fast"!==opts.mode)throw new Error("Invalid value for opts.mode");preferBinary=!0}self._mode=function decideMode(preferBinary,useFetch){return capability.fetch&&useFetch?"fetch":capability.mozchunkedarraybuffer?"moz-chunked-arraybuffer":capability.msstream?"ms-stream":capability.arraybuffer&&preferBinary?"arraybuffer":"text"}(preferBinary,useFetch),self._fetchTimer=null,self._socketTimeout=null,self._socketTimer=null,self.on("finish",(function(){self._onFinish()}))};inherits(ClientRequest,stream.Writable),ClientRequest.prototype.setHeader=function(name,value){var lowerName=name.toLowerCase();-1===unsafeHeaders.indexOf(lowerName)&&(this._headers[lowerName]={name:name,value:value})},ClientRequest.prototype.getHeader=function(name){var header=this._headers[name.toLowerCase()];return header?header.value:null},ClientRequest.prototype.removeHeader=function(name){delete this._headers[name.toLowerCase()]},ClientRequest.prototype._onFinish=function(){var self=this;if(!self._destroyed){var opts=self._opts;"timeout"in opts&&0!==opts.timeout&&self.setTimeout(opts.timeout);var headersObj=self._headers,body=null;"GET"!==opts.method&&"HEAD"!==opts.method&&(body=new Blob(self._body,{type:(headersObj["content-type"]||{}).value||""}));var headersList=[];if(Object.keys(headersObj).forEach((function(keyName){var name=headersObj[keyName].name,value=headersObj[keyName].value;Array.isArray(value)?value.forEach((function(v){headersList.push([name,v])})):headersList.push([name,value])})),"fetch"===self._mode){var signal=null;if(capability.abortController){var controller=new AbortController;signal=controller.signal,self._fetchAbortController=controller,"requestTimeout"in opts&&0!==opts.requestTimeout&&(self._fetchTimer=__webpack_require__.g.setTimeout((function(){self.emit("requestTimeout"),self._fetchAbortController&&self._fetchAbortController.abort()}),opts.requestTimeout))}__webpack_require__.g.fetch(self._opts.url,{method:self._opts.method,headers:headersList,body:body||void 0,mode:"cors",credentials:opts.withCredentials?"include":"same-origin",signal:signal}).then((function(response){self._fetchResponse=response,self._resetTimers(!1),self._connect()}),(function(reason){self._resetTimers(!0),self._destroyed||self.emit("error",reason)}))}else{var xhr=self._xhr=new __webpack_require__.g.XMLHttpRequest;try{xhr.open(self._opts.method,self._opts.url,!0)}catch(err){return void process.nextTick((function(){self.emit("error",err)}))}"responseType"in xhr&&(xhr.responseType=self._mode),"withCredentials"in xhr&&(xhr.withCredentials=!!opts.withCredentials),"text"===self._mode&&"overrideMimeType"in xhr&&xhr.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in opts&&(xhr.timeout=opts.requestTimeout,xhr.ontimeout=function(){self.emit("requestTimeout")}),headersList.forEach((function(header){xhr.setRequestHeader(header[0],header[1])})),self._response=null,xhr.onreadystatechange=function(){switch(xhr.readyState){case rStates.LOADING:case rStates.DONE:self._onXHRProgress()}},"moz-chunked-arraybuffer"===self._mode&&(xhr.onprogress=function(){self._onXHRProgress()}),xhr.onerror=function(){self._destroyed||(self._resetTimers(!0),self.emit("error",new Error("XHR error")))};try{xhr.send(body)}catch(err){return void process.nextTick((function(){self.emit("error",err)}))}}}},ClientRequest.prototype._onXHRProgress=function(){this._resetTimers(!1),function statusValid(xhr){try{var status=xhr.status;return null!==status&&0!==status}catch(e){return!1}}(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress(this._resetTimers.bind(this)))},ClientRequest.prototype._connect=function(){var self=this;self._destroyed||(self._response=new IncomingMessage(self._xhr,self._fetchResponse,self._mode,self._resetTimers.bind(self)),self._response.on("error",(function(err){self.emit("error",err)})),self.emit("response",self._response))},ClientRequest.prototype._write=function(chunk,encoding,cb){this._body.push(chunk),cb()},ClientRequest.prototype._resetTimers=function(done){var self=this;__webpack_require__.g.clearTimeout(self._socketTimer),self._socketTimer=null,done?(__webpack_require__.g.clearTimeout(self._fetchTimer),self._fetchTimer=null):self._socketTimeout&&(self._socketTimer=__webpack_require__.g.setTimeout((function(){self.emit("timeout")}),self._socketTimeout))},ClientRequest.prototype.abort=ClientRequest.prototype.destroy=function(err){this._destroyed=!0,this._resetTimers(!0),this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort(),err&&this.emit("error",err)},ClientRequest.prototype.end=function(data,encoding,cb){"function"==typeof data&&(cb=data,data=void 0),stream.Writable.prototype.end.call(this,data,encoding,cb)},ClientRequest.prototype.setTimeout=function(timeout,cb){cb&&this.once("timeout",cb),this._socketTimeout=timeout,this._resetTimers(!1)},ClientRequest.prototype.flushHeaders=function(){},ClientRequest.prototype.setNoDelay=function(){},ClientRequest.prototype.setSocketKeepAlive=function(){};var unsafeHeaders=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]},55676:function(__unused_webpack_module,exports,__webpack_require__){var process=__webpack_require__(34155),Buffer=__webpack_require__(48764).Buffer,capability=__webpack_require__(8725),inherits=__webpack_require__(35717),stream=__webpack_require__(88473),rStates=exports.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},IncomingMessage=exports.IncomingMessage=function(xhr,response,mode,resetTimers){var self=this;if(stream.Readable.call(self),self._mode=mode,self.headers={},self.rawHeaders=[],self.trailers={},self.rawTrailers=[],self.on("end",(function(){process.nextTick((function(){self.emit("close")}))})),"fetch"===mode){if(self._fetchResponse=response,self.url=response.url,self.statusCode=response.status,self.statusMessage=response.statusText,response.headers.forEach((function(header,key){self.headers[key.toLowerCase()]=header,self.rawHeaders.push(key,header)})),capability.writableStream){var writable=new WritableStream({write:function(chunk){return resetTimers(!1),new Promise((function(resolve,reject){self._destroyed?reject():self.push(Buffer.from(chunk))?resolve():self._resumeFetch=resolve}))},close:function(){resetTimers(!0),self._destroyed||self.push(null)},abort:function(err){resetTimers(!0),self._destroyed||self.emit("error",err)}});try{return void response.body.pipeTo(writable).catch((function(err){resetTimers(!0),self._destroyed||self.emit("error",err)}))}catch(e){}}var reader=response.body.getReader();!function read(){reader.read().then((function(result){self._destroyed||(resetTimers(result.done),result.done?self.push(null):(self.push(Buffer.from(result.value)),read()))})).catch((function(err){resetTimers(!0),self._destroyed||self.emit("error",err)}))}()}else{if(self._xhr=xhr,self._pos=0,self.url=xhr.responseURL,self.statusCode=xhr.status,self.statusMessage=xhr.statusText,xhr.getAllResponseHeaders().split(/\r?\n/).forEach((function(header){var matches=header.match(/^([^:]+):\s*(.*)/);if(matches){var key=matches[1].toLowerCase();"set-cookie"===key?(void 0===self.headers[key]&&(self.headers[key]=[]),self.headers[key].push(matches[2])):void 0!==self.headers[key]?self.headers[key]+=", "+matches[2]:self.headers[key]=matches[2],self.rawHeaders.push(matches[1],matches[2])}})),self._charset="x-user-defined",!capability.overrideMimeType){var mimeType=self.rawHeaders["mime-type"];if(mimeType){var charsetMatch=mimeType.match(/;\s*charset=([^;])(;|$)/);charsetMatch&&(self._charset=charsetMatch[1].toLowerCase())}self._charset||(self._charset="utf-8")}}};inherits(IncomingMessage,stream.Readable),IncomingMessage.prototype._read=function(){var resolve=this._resumeFetch;resolve&&(this._resumeFetch=null,resolve())},IncomingMessage.prototype._onXHRProgress=function(resetTimers){var self=this,xhr=self._xhr,response=null;switch(self._mode){case"text":if((response=xhr.responseText).length>self._pos){var newData=response.substr(self._pos);if("x-user-defined"===self._charset){for(var buffer=Buffer.alloc(newData.length),i=0;i<newData.length;i++)buffer[i]=255&newData.charCodeAt(i);self.push(buffer)}else self.push(newData,self._charset);self._pos=response.length}break;case"arraybuffer":if(xhr.readyState!==rStates.DONE||!xhr.response)break;response=xhr.response,self.push(Buffer.from(new Uint8Array(response)));break;case"moz-chunked-arraybuffer":if(response=xhr.response,xhr.readyState!==rStates.LOADING||!response)break;self.push(Buffer.from(new Uint8Array(response)));break;case"ms-stream":if(response=xhr.response,xhr.readyState!==rStates.LOADING)break;var reader=new __webpack_require__.g.MSStreamReader;reader.onprogress=function(){reader.result.byteLength>self._pos&&(self.push(Buffer.from(new Uint8Array(reader.result.slice(self._pos)))),self._pos=reader.result.byteLength)},reader.onload=function(){resetTimers(!0),self.push(null)},reader.readAsArrayBuffer(response)}self._xhr.readyState===rStates.DONE&&"ms-stream"!==self._mode&&(resetTimers(!0),self.push(null))}},32553:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(89509).Buffer,isEncoding=Buffer.isEncoding||function(encoding){switch((encoding=""+encoding)&&encoding.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function StringDecoder(encoding){var nb;switch(this.encoding=function normalizeEncoding(enc){var nenc=function _normalizeEncoding(enc){if(!enc)return"utf8";for(var retried;;)switch(enc){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return enc;default:if(retried)return;enc=(""+enc).toLowerCase(),retried=!0}}(enc);if("string"!=typeof nenc&&(Buffer.isEncoding===isEncoding||!isEncoding(enc)))throw new Error("Unknown encoding: "+enc);return nenc||enc}(encoding),this.encoding){case"utf16le":this.text=utf16Text,this.end=utf16End,nb=4;break;case"utf8":this.fillLast=utf8FillLast,nb=4;break;case"base64":this.text=base64Text,this.end=base64End,nb=3;break;default:return this.write=simpleWrite,void(this.end=simpleEnd)}this.lastNeed=0,this.lastTotal=0,this.lastChar=Buffer.allocUnsafe(nb)}function utf8CheckByte(byte){return byte<=127?0:byte>>5==6?2:byte>>4==14?3:byte>>3==30?4:byte>>6==2?-1:-2}function utf8FillLast(buf){var p=this.lastTotal-this.lastNeed,r=function utf8CheckExtraBytes(self,buf,p){if(128!=(192&buf[0]))return self.lastNeed=0,"�";if(self.lastNeed>1&&buf.length>1){if(128!=(192&buf[1]))return self.lastNeed=1,"�";if(self.lastNeed>2&&buf.length>2&&128!=(192&buf[2]))return self.lastNeed=2,"�"}}(this,buf);return void 0!==r?r:this.lastNeed<=buf.length?(buf.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(buf.copy(this.lastChar,p,0,buf.length),void(this.lastNeed-=buf.length))}function utf16Text(buf,i){if((buf.length-i)%2==0){var r=buf.toString("utf16le",i);if(r){var c=r.charCodeAt(r.length-1);if(c>=55296&&c<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=buf[buf.length-2],this.lastChar[1]=buf[buf.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=buf[buf.length-1],buf.toString("utf16le",i,buf.length-1)}function utf16End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed){var end=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,end)}return r}function base64Text(buf,i){var n=(buf.length-i)%3;return 0===n?buf.toString("base64",i):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=buf[buf.length-1]:(this.lastChar[0]=buf[buf.length-2],this.lastChar[1]=buf[buf.length-1]),buf.toString("base64",i,buf.length-n))}function base64End(buf){var r=buf&&buf.length?this.write(buf):"";return this.lastNeed?r+this.lastChar.toString("base64",0,3-this.lastNeed):r}function simpleWrite(buf){return buf.toString(this.encoding)}function simpleEnd(buf){return buf&&buf.length?this.write(buf):""}exports.s=StringDecoder,StringDecoder.prototype.write=function(buf){if(0===buf.length)return"";var r,i;if(this.lastNeed){if(void 0===(r=this.fillLast(buf)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<buf.length?r?r+this.text(buf,i):this.text(buf,i):r||""},StringDecoder.prototype.end=function utf8End(buf){var r=buf&&buf.length?this.write(buf):"";return this.lastNeed?r+"�":r},StringDecoder.prototype.text=function utf8Text(buf,i){var total=function utf8CheckIncomplete(self,buf,i){var j=buf.length-1;if(j<i)return 0;var nb=utf8CheckByte(buf[j]);if(nb>=0)return nb>0&&(self.lastNeed=nb-1),nb;if(--j<i||-2===nb)return 0;if((nb=utf8CheckByte(buf[j]))>=0)return nb>0&&(self.lastNeed=nb-2),nb;if(--j<i||-2===nb)return 0;if((nb=utf8CheckByte(buf[j]))>=0)return nb>0&&(2===nb?nb=0:self.lastNeed=nb-3),nb;return 0}(this,buf,i);if(!this.lastNeed)return buf.toString("utf8",i);this.lastTotal=total;var end=buf.length-(total-this.lastNeed);return buf.copy(this.lastChar,0,end),buf.toString("utf8",i,end)},StringDecoder.prototype.fillLast=function(buf){if(this.lastNeed<=buf.length)return buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,buf.length),this.lastNeed-=buf.length}},30291:function(module,__unused_webpack_exports,__webpack_require__){const SymbolTreeNode=__webpack_require__(16804),TreePosition=__webpack_require__(6601),TreeIterator=__webpack_require__(19509);function returnTrue(){return!0}function reverseArrayIndex(array,reverseIndex){return array[array.length-1-reverseIndex]}class SymbolTree{constructor(description){this.symbol=Symbol(description||"SymbolTree data")}initialize(object){return this._node(object),object}_node(object){if(!object)return null;const node=object[this.symbol];return node||(object[this.symbol]=new SymbolTreeNode)}hasChildren(object){return this._node(object).hasChildren}firstChild(object){return this._node(object).firstChild}lastChild(object){return this._node(object).lastChild}previousSibling(object){return this._node(object).previousSibling}nextSibling(object){return this._node(object).nextSibling}parent(object){return this._node(object).parent}lastInclusiveDescendant(object){let lastChild,current=object;for(;lastChild=this._node(current).lastChild;)current=lastChild;return current}preceding(object,options){if(object===(options&&options.root))return null;const previousSibling=this._node(object).previousSibling;return previousSibling?this.lastInclusiveDescendant(previousSibling):this._node(object).parent}following(object,options){const treeRoot=options&&options.root,firstChild=!(options&&options.skipChildren)&&this._node(object).firstChild;if(firstChild)return firstChild;let current=object;do{if(current===treeRoot)return null;const nextSibling=this._node(current).nextSibling;if(nextSibling)return nextSibling;current=this._node(current).parent}while(current);return null}childrenToArray(parent,options){const array=options&&options.array||[],filter=options&&options.filter||returnTrue,thisArg=options&&options.thisArg||void 0,parentNode=this._node(parent);let object=parentNode.firstChild,index=0;for(;object;){const node=this._node(object);node.setCachedIndex(parentNode,index),filter.call(thisArg,object)&&array.push(object),object=node.nextSibling,++index}return array}ancestorsToArray(object,options){const array=options&&options.array||[],filter=options&&options.filter||returnTrue,thisArg=options&&options.thisArg||void 0;let ancestor=object;for(;ancestor;)filter.call(thisArg,ancestor)&&array.push(ancestor),ancestor=this._node(ancestor).parent;return array}treeToArray(root,options){const array=options&&options.array||[],filter=options&&options.filter||returnTrue,thisArg=options&&options.thisArg||void 0;let object=root;for(;object;)filter.call(thisArg,object)&&array.push(object),object=this.following(object,{root:root});return array}childrenIterator(parent,options){const reverse=options&&options.reverse,parentNode=this._node(parent);return new TreeIterator(this,parent,reverse?parentNode.lastChild:parentNode.firstChild,reverse?TreeIterator.PREV:TreeIterator.NEXT)}previousSiblingsIterator(object){return new TreeIterator(this,object,this._node(object).previousSibling,TreeIterator.PREV)}nextSiblingsIterator(object){return new TreeIterator(this,object,this._node(object).nextSibling,TreeIterator.NEXT)}ancestorsIterator(object){return new TreeIterator(this,object,object,TreeIterator.PARENT)}treeIterator(root,options){const reverse=options&&options.reverse;return new TreeIterator(this,root,reverse?this.lastInclusiveDescendant(root):root,reverse?TreeIterator.PRECEDING:TreeIterator.FOLLOWING)}index(child){const childNode=this._node(child),parentNode=this._node(childNode.parent);if(!parentNode)return-1;let currentIndex=childNode.getCachedIndex(parentNode);if(currentIndex>=0)return currentIndex;currentIndex=0;let object=parentNode.firstChild;if(parentNode.childIndexCachedUpTo){const cachedUpToNode=this._node(parentNode.childIndexCachedUpTo);object=cachedUpToNode.nextSibling,currentIndex=cachedUpToNode.getCachedIndex(parentNode)+1}for(;object;){const node=this._node(object);if(node.setCachedIndex(parentNode,currentIndex),object===child)break;++currentIndex,object=node.nextSibling}return parentNode.childIndexCachedUpTo=child,currentIndex}childrenCount(parent){const parentNode=this._node(parent);return parentNode.lastChild?this.index(parentNode.lastChild)+1:0}compareTreePosition(left,right){if(left===right)return 0;const leftAncestors=[];{let leftAncestor=left;for(;leftAncestor;){if(leftAncestor===right)return TreePosition.CONTAINS|TreePosition.PRECEDING;leftAncestors.push(leftAncestor),leftAncestor=this.parent(leftAncestor)}}const rightAncestors=[];{let rightAncestor=right;for(;rightAncestor;){if(rightAncestor===left)return TreePosition.CONTAINED_BY|TreePosition.FOLLOWING;rightAncestors.push(rightAncestor),rightAncestor=this.parent(rightAncestor)}}const root=reverseArrayIndex(leftAncestors,0);if(!root||root!==reverseArrayIndex(rightAncestors,0))return TreePosition.DISCONNECTED;let commonAncestorIndex=0;const ancestorsMinLength=Math.min(leftAncestors.length,rightAncestors.length);for(let i=0;i<ancestorsMinLength;++i){if(reverseArrayIndex(leftAncestors,i)!==reverseArrayIndex(rightAncestors,i))break;commonAncestorIndex=i}const leftIndex=this.index(reverseArrayIndex(leftAncestors,commonAncestorIndex+1));return this.index(reverseArrayIndex(rightAncestors,commonAncestorIndex+1))<leftIndex?TreePosition.PRECEDING:TreePosition.FOLLOWING}remove(removeObject){const removeNode=this._node(removeObject),parentNode=this._node(removeNode.parent),prevNode=this._node(removeNode.previousSibling),nextNode=this._node(removeNode.nextSibling);return parentNode&&(parentNode.firstChild===removeObject&&(parentNode.firstChild=removeNode.nextSibling),parentNode.lastChild===removeObject&&(parentNode.lastChild=removeNode.previousSibling)),prevNode&&(prevNode.nextSibling=removeNode.nextSibling),nextNode&&(nextNode.previousSibling=removeNode.previousSibling),removeNode.parent=null,removeNode.previousSibling=null,removeNode.nextSibling=null,removeNode.cachedIndex=-1,removeNode.cachedIndexVersion=NaN,parentNode&&parentNode.childrenChanged(),removeObject}insertBefore(referenceObject,newObject){const referenceNode=this._node(referenceObject),prevNode=this._node(referenceNode.previousSibling),newNode=this._node(newObject),parentNode=this._node(referenceNode.parent);if(newNode.isAttached)throw Error("Given object is already present in this SymbolTree, remove it first");return newNode.parent=referenceNode.parent,newNode.previousSibling=referenceNode.previousSibling,newNode.nextSibling=referenceObject,referenceNode.previousSibling=newObject,prevNode&&(prevNode.nextSibling=newObject),parentNode&&parentNode.firstChild===referenceObject&&(parentNode.firstChild=newObject),parentNode&&parentNode.childrenChanged(),newObject}insertAfter(referenceObject,newObject){const referenceNode=this._node(referenceObject),nextNode=this._node(referenceNode.nextSibling),newNode=this._node(newObject),parentNode=this._node(referenceNode.parent);if(newNode.isAttached)throw Error("Given object is already present in this SymbolTree, remove it first");return newNode.parent=referenceNode.parent,newNode.previousSibling=referenceObject,newNode.nextSibling=referenceNode.nextSibling,referenceNode.nextSibling=newObject,nextNode&&(nextNode.previousSibling=newObject),parentNode&&parentNode.lastChild===referenceObject&&(parentNode.lastChild=newObject),parentNode&&parentNode.childrenChanged(),newObject}prependChild(referenceObject,newObject){const referenceNode=this._node(referenceObject),newNode=this._node(newObject);if(newNode.isAttached)throw Error("Given object is already present in this SymbolTree, remove it first");return referenceNode.hasChildren?this.insertBefore(referenceNode.firstChild,newObject):(newNode.parent=referenceObject,referenceNode.firstChild=newObject,referenceNode.lastChild=newObject,referenceNode.childrenChanged()),newObject}appendChild(referenceObject,newObject){const referenceNode=this._node(referenceObject),newNode=this._node(newObject);if(newNode.isAttached)throw Error("Given object is already present in this SymbolTree, remove it first");return referenceNode.hasChildren?this.insertAfter(referenceNode.lastChild,newObject):(newNode.parent=referenceObject,referenceNode.firstChild=newObject,referenceNode.lastChild=newObject,referenceNode.childrenChanged()),newObject}}module.exports=SymbolTree,SymbolTree.TreePosition=TreePosition},16804:function(module){module.exports=class SymbolTreeNode{constructor(){this.parent=null,this.previousSibling=null,this.nextSibling=null,this.firstChild=null,this.lastChild=null,this.childrenVersion=0,this.childIndexCachedUpTo=null,this.cachedIndex=-1,this.cachedIndexVersion=NaN}get isAttached(){return Boolean(this.parent||this.previousSibling||this.nextSibling)}get hasChildren(){return Boolean(this.firstChild)}childrenChanged(){this.childrenVersion=this.childrenVersion+1&4294967295,this.childIndexCachedUpTo=null}getCachedIndex(parentNode){return this.cachedIndexVersion!==parentNode.childrenVersion?(this.cachedIndexVersion=NaN,-1):this.cachedIndex}setCachedIndex(parentNode,index){this.cachedIndexVersion=parentNode.childrenVersion,this.cachedIndex=index}}},19509:function(module){const TREE=Symbol(),ROOT=Symbol(),NEXT=Symbol(),ITERATE_FUNC=Symbol();class TreeIterator{constructor(tree,root,firstResult,iterateFunction){this[TREE]=tree,this[ROOT]=root,this[NEXT]=firstResult,this[ITERATE_FUNC]=iterateFunction}next(){const tree=this[TREE],iterateFunc=this[ITERATE_FUNC],root=this[ROOT];if(!this[NEXT])return{done:!0,value:root};const value=this[NEXT];return this[NEXT]=1===iterateFunc?tree._node(value).previousSibling:2===iterateFunc?tree._node(value).nextSibling:3===iterateFunc?tree._node(value).parent:4===iterateFunc?tree.preceding(value,{root:root}):tree.following(value,{root:root}),{done:!1,value:value}}}Object.defineProperty(TreeIterator.prototype,Symbol.iterator,{value:function(){return this},writable:!1}),TreeIterator.PREV=1,TreeIterator.NEXT=2,TreeIterator.PARENT=3,TreeIterator.PRECEDING=4,TreeIterator.FOLLOWING=5,Object.freeze(TreeIterator),Object.freeze(TreeIterator.prototype),module.exports=TreeIterator},6601:function(module){module.exports=Object.freeze({DISCONNECTED:1,PRECEDING:2,FOLLOWING:4,CONTAINS:8,CONTAINED_BY:16})},18760:function(__unused_webpack_module,exports){var bind=Function.prototype.bind,slice=Array.prototype.slice,toString=Object.prototype.toString;function nativeTypeChecker(type){return type="[object "+type+"]",function(object){return toString.call(object)===type}}exports.bind=function(func,that){var args=slice.call(arguments,2);return bind?(args.unshift(that),bind.apply(func,args)):function(){return func.apply(that,args.concat(slice.call(arguments)))}},exports.slice=function(object,begin,end){return slice.call(object,begin,end)},exports.toString=function(object){return toString.call(object)},exports.isNull=nativeTypeChecker("Null"),exports.isDate=nativeTypeChecker("Date"),exports.isMath=nativeTypeChecker("Math"),exports.isJSON=nativeTypeChecker("JSON"),exports.isError=nativeTypeChecker("Error"),exports.isArray=Array.isArray||nativeTypeChecker("Array"),exports.isObject=nativeTypeChecker("Object"),exports.isRegExp=nativeTypeChecker("RegExp"),exports.isNumber=nativeTypeChecker("Number"),exports.isString=nativeTypeChecker("String"),exports.isBoolean=nativeTypeChecker("Boolean"),exports.isFunction=nativeTypeChecker("Function"),exports.isArguments=nativeTypeChecker("Arguments"),exports.isUndefined=nativeTypeChecker("Undefined"),exports.isValid=function(object){return!exports.isInvalid(object)},exports.isInvalid=function(object){return exports.isNull(object)||exports.isUndefined(object)},exports.isImmutable=function(object){return!exports.isMutable(object)},exports.isMutable=function(object){return object&&!exports.isNumber(object)&&!exports.isString(object)&&!exports.isBoolean(object)},exports.isEnumerable=function(object){return!!object&&(exports.isNumber(object)?exports.isInteger(object):exports.isInteger(object.length)?object.length>=0:exports.isEnumerableObject(object))},exports.isEnumerableObject=function(object){for(var _ in object)return!0;return!1},exports.isEmpty=function(object){return exports.isObject(object)?!exports.isEnumerableObject(object):!exports.isEnumerable(object)},exports.isFiniteNumber=function(number){return exports.isNumber(number)&&isFinite(number)},exports.isInteger=function(number){return exports.isFiniteNumber(number)&&Math.floor(number)===number},exports.isVague=function(object){return object&&"object"==typeof object},exports.isList=function(list){return exports.isVague(list)&&exports.isInteger(list.length)&&list.length>=0},exports.isNaN=isNaN,exports.nativeTypeOf=function(object){var nativeType=object.toString(object);return nativeType.substring(8,nativeType.length-1)},exports.typeOf=function(object){return exports.isObject(object)?object.constructor.name||"Object":exports.nativeTypeOf(object)},exports.safeApply=function(func,args,that){return exports.isFunction(func)?func.apply(that||this,args):void 0},exports.enumerate=function(object,iterator,that,_ignoreForEach){if(!object)return object;if(that=that||this,!_ignoreForEach&&exports.isFunction(object.forEach))return object.forEach(iterator,that);var key=0,end=object.length;if(exports.isString(object))for(;key<end;key+=1)iterator.call(that,object.charAt(key),key,object);if(exports.isList(object))for(;key<end;key+=1)iterator.call(that,object[key],key,object);else if(exports.isInteger(object))for(object<0?(end=0,key=object):end=object;key<end;key+=1)iterator.call(that,key,Math.abs(key),object);else exports.enumerateObject(object,iterator,that);return object},exports.enumerateObject=function(object,iterator,that){var key;for(key in object)iterator.call(that,object[key],key,object);return object},exports.assignAll=function(target,giver,filter,that,_method){return exports.isMutable(target)?(exports[_method="enumerate"===_method?_method:"enumerateObject"](giver,(function(value,key){exports.safeApply(filter,arguments,that||target)||(target[key]=value)})),target):target},exports.assignList=function(target,giver,filter,that){return exports.assignAll(target,giver,filter,that,"enumerate")},exports.assign=function(target,giver,filter,that){return exports.assignAll(target,giver,(function(_,key){return!giver.hasOwnProperty(key)||exports.safeApply(filter,arguments,that||this)}),that)},exports.toArray=function(object,begin,end){return exports.isArray()?exports.isInteger(begin)?exports.slice(object,begin,end):object:exports.isArguments(object)||exports.isString(object)?exports.slice(object,begin,end):exports.isList(object)?(exports.isInteger(end)||(end=object.length),begin=begin||0,exports.assignList([],object,(function(_,i){return begin>i||i>=end}))):void 0}},47857:function(__unused_webpack_module,exports,__webpack_require__){ +/*! + * Copyright (c) 2015, Salesforce.com, Inc. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * 3. Neither the name of Salesforce.com nor the names of its contributors may + * be used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +const punycode=__webpack_require__(3689),urlParse=__webpack_require__(8575).parse,util=__webpack_require__(89539),pubsuffix=__webpack_require__(10752),Store=__webpack_require__(82224).y,MemoryCookieStore=__webpack_require__(25761).m,pathMatch=__webpack_require__(88971).U,VERSION=__webpack_require__(456),{fromCallback:fromCallback}=__webpack_require__(38981),COOKIE_OCTETS=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/,CONTROL_CHARS=/[\x00-\x1F]/,TERMINATORS=["\n","\r","\0"],PATH_VALUE=/[\x20-\x3A\x3C-\x7E]+/,DATE_DELIM=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,MONTH_TO_NUM={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},SAME_SITE_CONTEXT_VAL_ERR='Invalid sameSiteContext option for getCookies(); expected one of "strict", "lax", or "none"';function checkSameSiteContext(value){const context=String(value).toLowerCase();return"none"===context||"lax"===context||"strict"===context?context:null}const PrefixSecurityEnum=Object.freeze({SILENT:"silent",STRICT:"strict",DISABLED:"unsafe-disabled"});var IP_REGEX_LOWERCASE=/(?:^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$)|(?:^(?:(?:[a-f\d]{1,4}:){7}(?:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,2}|:)|(?:[a-f\d]{1,4}:){4}(?:(?::[a-f\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,3}|:)|(?:[a-f\d]{1,4}:){3}(?:(?::[a-f\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,4}|:)|(?:[a-f\d]{1,4}:){2}(?:(?::[a-f\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,5}|:)|(?:[a-f\d]{1,4}:){1}(?:(?::[a-f\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,6}|:)|(?::(?:(?::[a-f\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,7}|:)))$)/;function parseDigits(token,minDigits,maxDigits,trailingOK){let count=0;for(;count<token.length;){const c=token.charCodeAt(count);if(c<=47||c>=58)break;count++}return count<minDigits||count>maxDigits?null:trailingOK||count==token.length?parseInt(token.substr(0,count),10):null}function parseTime(token){const parts=token.split(":"),result=[0,0,0];if(3!==parts.length)return null;for(let i=0;i<3;i++){const trailingOK=2==i,num=parseDigits(parts[i],1,2,trailingOK);if(null===num)return null;result[i]=num}return result}function parseMonth(token){token=String(token).substr(0,3).toLowerCase();const num=MONTH_TO_NUM[token];return num>=0?num:null}function parseDate(str){if(!str)return;const tokens=str.split(DATE_DELIM);if(!tokens)return;let hour=null,minute=null,second=null,dayOfMonth=null,month=null,year=null;for(let i=0;i<tokens.length;i++){const token=tokens[i].trim();if(!token.length)continue;let result;null===second&&(result=parseTime(token),result)?(hour=result[0],minute=result[1],second=result[2]):null!==dayOfMonth||(result=parseDigits(token,1,2,!0),null===result)?null!==month||(result=parseMonth(token),null===result)?null===year&&(result=parseDigits(token,2,4,!0),null!==result&&(year=result,year>=70&&year<=99?year+=1900:year>=0&&year<=69&&(year+=2e3))):month=result:dayOfMonth=result}return null===dayOfMonth||null===month||null===year||null===second||dayOfMonth<1||dayOfMonth>31||year<1601||hour>23||minute>59||second>59?void 0:new Date(Date.UTC(year,month,dayOfMonth,hour,minute,second))}function formatDate(date){return date.toUTCString()}function canonicalDomain(str){return null==str?null:(str=str.trim().replace(/^\./,""),punycode&&/[^\u0001-\u007f]/.test(str)&&(str=punycode.toASCII(str)),str.toLowerCase())}function domainMatch(str,domStr,canonicalize){if(null==str||null==domStr)return null;if(!1!==canonicalize&&(str=canonicalDomain(str),domStr=canonicalDomain(domStr)),str==domStr)return!0;const idx=str.indexOf(domStr);return!(idx<=0)&&(str.length===domStr.length+idx&&("."===str.substr(idx-1,1)&&!IP_REGEX_LOWERCASE.test(str)))}function defaultPath(path){if(!path||"/"!==path.substr(0,1))return"/";if("/"===path)return path;const rightSlash=path.lastIndexOf("/");return 0===rightSlash?"/":path.slice(0,rightSlash)}function parseCookiePair(cookiePair,looseMode){let cookieName,cookieValue,firstEq=(cookiePair=function trimTerminator(str){for(let t=0;t<TERMINATORS.length;t++){const terminatorIdx=str.indexOf(TERMINATORS[t]);-1!==terminatorIdx&&(str=str.substr(0,terminatorIdx))}return str}(cookiePair)).indexOf("=");if(looseMode)0===firstEq&&(firstEq=(cookiePair=cookiePair.substr(1)).indexOf("="));else if(firstEq<=0)return;if(firstEq<=0?(cookieName="",cookieValue=cookiePair.trim()):(cookieName=cookiePair.substr(0,firstEq).trim(),cookieValue=cookiePair.substr(firstEq+1).trim()),CONTROL_CHARS.test(cookieName)||CONTROL_CHARS.test(cookieValue))return;const c=new Cookie;return c.key=cookieName,c.value=cookieValue,c}function parse(str,options){options&&"object"==typeof options||(options={});const firstSemi=(str=str.trim()).indexOf(";"),c=parseCookiePair(-1===firstSemi?str:str.substr(0,firstSemi),!!options.loose);if(!c)return;if(-1===firstSemi)return c;const unparsed=str.slice(firstSemi+1).trim();if(0===unparsed.length)return c;const cookie_avs=unparsed.split(";");for(;cookie_avs.length;){const av=cookie_avs.shift().trim();if(0===av.length)continue;const av_sep=av.indexOf("=");let av_key,av_value;switch(-1===av_sep?(av_key=av,av_value=null):(av_key=av.substr(0,av_sep),av_value=av.substr(av_sep+1)),av_key=av_key.trim().toLowerCase(),av_value&&(av_value=av_value.trim()),av_key){case"expires":if(av_value){const exp=parseDate(av_value);exp&&(c.expires=exp)}break;case"max-age":if(av_value&&/^-?[0-9]+$/.test(av_value)){const delta=parseInt(av_value,10);c.setMaxAge(delta)}break;case"domain":if(av_value){const domain=av_value.trim().replace(/^\./,"");domain&&(c.domain=domain.toLowerCase())}break;case"path":c.path=av_value&&"/"===av_value[0]?av_value:null;break;case"secure":c.secure=!0;break;case"httponly":c.httpOnly=!0;break;case"samesite":switch(av_value?av_value.toLowerCase():""){case"strict":c.sameSite="strict";break;case"lax":c.sameSite="lax"}break;default:c.extensions=c.extensions||[],c.extensions.push(av)}}return c}function jsonParse(str){let obj;try{obj=JSON.parse(str)}catch(e){return e}return obj}function fromJSON(str){if(!str)return null;let obj;if("string"==typeof str){if(obj=jsonParse(str),obj instanceof Error)return null}else obj=str;const c=new Cookie;for(let i=0;i<Cookie.serializableProperties.length;i++){const prop=Cookie.serializableProperties[i];void 0!==obj[prop]&&obj[prop]!==cookieDefaults[prop]&&("expires"===prop||"creation"===prop||"lastAccessed"===prop?null===obj[prop]?c[prop]=null:c[prop]="Infinity"==obj[prop]?"Infinity":new Date(obj[prop]):c[prop]=obj[prop])}return c}function cookieCompare(a,b){let cmp=0;const aPathLen=a.path?a.path.length:0;if(cmp=(b.path?b.path.length:0)-aPathLen,0!==cmp)return cmp;return cmp=(a.creation?a.creation.getTime():2147483647e3)-(b.creation?b.creation.getTime():2147483647e3),0!==cmp||(cmp=a.creationIndex-b.creationIndex),cmp}function getCookieContext(url){if(url instanceof Object)return url;try{url=decodeURI(url)}catch(err){}return urlParse(url)}const cookieDefaults={key:"",value:"",expires:"Infinity",maxAge:null,domain:null,path:null,secure:!1,httpOnly:!1,extensions:null,hostOnly:null,pathIsDefault:null,creation:null,lastAccessed:null,sameSite:"none"};class Cookie{constructor(options={}){util.inspect.custom&&(this[util.inspect.custom]=this.inspect),Object.assign(this,cookieDefaults,options),this.creation=this.creation||new Date,Object.defineProperty(this,"creationIndex",{configurable:!1,enumerable:!1,writable:!0,value:++Cookie.cookiesCreated})}inspect(){const now=Date.now(),hostOnly=null!=this.hostOnly?this.hostOnly:"?",createAge=this.creation?now-this.creation.getTime()+"ms":"?",accessAge=this.lastAccessed?now-this.lastAccessed.getTime()+"ms":"?";return`Cookie="${this.toString()}; hostOnly=${hostOnly}; aAge=${accessAge}; cAge=${createAge}"`}toJSON(){const obj={};for(const prop of Cookie.serializableProperties)this[prop]!==cookieDefaults[prop]&&("expires"===prop||"creation"===prop||"lastAccessed"===prop?null===this[prop]?obj[prop]=null:obj[prop]="Infinity"==this[prop]?"Infinity":this[prop].toISOString():"maxAge"===prop?null!==this[prop]&&(obj[prop]=this[prop]==1/0||this[prop]==-1/0?this[prop].toString():this[prop]):this[prop]!==cookieDefaults[prop]&&(obj[prop]=this[prop]));return obj}clone(){return fromJSON(this.toJSON())}validate(){if(!COOKIE_OCTETS.test(this.value))return!1;if(!(this.expires==1/0||this.expires instanceof Date||parseDate(this.expires)))return!1;if(null!=this.maxAge&&this.maxAge<=0)return!1;if(null!=this.path&&!PATH_VALUE.test(this.path))return!1;const cdomain=this.cdomain();if(cdomain){if(cdomain.match(/\.$/))return!1;if(null==pubsuffix.getPublicSuffix(cdomain))return!1}return!0}setExpires(exp){exp instanceof Date?this.expires=exp:this.expires=parseDate(exp)||"Infinity"}setMaxAge(age){this.maxAge=age===1/0||age===-1/0?age.toString():age}cookieString(){let val=this.value;return null==val&&(val=""),""===this.key?val:`${this.key}=${val}`}toString(){let str=this.cookieString();if(this.expires!=1/0&&(this.expires instanceof Date?str+=`; Expires=${formatDate(this.expires)}`:str+=`; Expires=${this.expires}`),null!=this.maxAge&&this.maxAge!=1/0&&(str+=`; Max-Age=${this.maxAge}`),this.domain&&!this.hostOnly&&(str+=`; Domain=${this.domain}`),this.path&&(str+=`; Path=${this.path}`),this.secure&&(str+="; Secure"),this.httpOnly&&(str+="; HttpOnly"),this.sameSite&&"none"!==this.sameSite){const ssCanon=Cookie.sameSiteCanonical[this.sameSite.toLowerCase()];str+=`; SameSite=${ssCanon||this.sameSite}`}return this.extensions&&this.extensions.forEach((ext=>{str+=`; ${ext}`})),str}TTL(now){if(null!=this.maxAge)return this.maxAge<=0?0:1e3*this.maxAge;let expires=this.expires;return expires!=1/0?(expires instanceof Date||(expires=parseDate(expires)||1/0),expires==1/0?1/0:expires.getTime()-(now||Date.now())):1/0}expiryTime(now){if(null!=this.maxAge){const relativeTo=now||this.creation||new Date,age=this.maxAge<=0?-1/0:1e3*this.maxAge;return relativeTo.getTime()+age}return this.expires==1/0?1/0:this.expires.getTime()}expiryDate(now){const millisec=this.expiryTime(now);return millisec==1/0?new Date(2147483647e3):millisec==-1/0?new Date(0):new Date(millisec)}isPersistent(){return null!=this.maxAge||this.expires!=1/0}canonicalizedDomain(){return null==this.domain?null:canonicalDomain(this.domain)}cdomain(){return this.canonicalizedDomain()}}Cookie.cookiesCreated=0,Cookie.parse=parse,Cookie.fromJSON=fromJSON,Cookie.serializableProperties=Object.keys(cookieDefaults),Cookie.sameSiteLevel={strict:3,lax:2,none:1},Cookie.sameSiteCanonical={strict:"Strict",lax:"Lax"};class CookieJar{constructor(store,options={rejectPublicSuffixes:!0}){"boolean"==typeof options&&(options={rejectPublicSuffixes:options}),this.rejectPublicSuffixes=options.rejectPublicSuffixes,this.enableLooseMode=!!options.looseMode,this.allowSpecialUseDomain=!!options.allowSpecialUseDomain,this.store=store||new MemoryCookieStore,this.prefixSecurity=function getNormalizedPrefixSecurity(prefixSecurity){if(null!=prefixSecurity){const normalizedPrefixSecurity=prefixSecurity.toLowerCase();switch(normalizedPrefixSecurity){case PrefixSecurityEnum.STRICT:case PrefixSecurityEnum.SILENT:case PrefixSecurityEnum.DISABLED:return normalizedPrefixSecurity}}return PrefixSecurityEnum.SILENT}(options.prefixSecurity),this._cloneSync=syncWrap("clone"),this._importCookiesSync=syncWrap("_importCookies"),this.getCookiesSync=syncWrap("getCookies"),this.getCookieStringSync=syncWrap("getCookieString"),this.getSetCookieStringsSync=syncWrap("getSetCookieStrings"),this.removeAllCookiesSync=syncWrap("removeAllCookies"),this.setCookieSync=syncWrap("setCookie"),this.serializeSync=syncWrap("serialize")}setCookie(cookie,url,options,cb){let err;const context=getCookieContext(url);"function"==typeof options&&(cb=options,options={});const host=canonicalDomain(context.hostname),loose=options.loose||this.enableLooseMode;let sameSiteContext=null;if(options.sameSiteContext&&(sameSiteContext=checkSameSiteContext(options.sameSiteContext),!sameSiteContext))return cb(new Error(SAME_SITE_CONTEXT_VAL_ERR));if("string"==typeof cookie||cookie instanceof String){if(!(cookie=Cookie.parse(cookie,{loose:loose})))return err=new Error("Cookie failed to parse"),cb(options.ignoreError?null:err)}else if(!(cookie instanceof Cookie))return err=new Error("First argument to setCookie must be a Cookie object or string"),cb(options.ignoreError?null:err);const now=options.now||new Date;if(this.rejectPublicSuffixes&&cookie.domain){if(null==pubsuffix.getPublicSuffix(cookie.cdomain()))return err=new Error("Cookie has domain set to a public suffix"),cb(options.ignoreError?null:err)}if(cookie.domain){if(!domainMatch(host,cookie.cdomain(),!1))return err=new Error(`Cookie not in this host's domain. Cookie:${cookie.cdomain()} Request:${host}`),cb(options.ignoreError?null:err);null==cookie.hostOnly&&(cookie.hostOnly=!1)}else cookie.hostOnly=!0,cookie.domain=host;if(cookie.path&&"/"===cookie.path[0]||(cookie.path=defaultPath(context.pathname),cookie.pathIsDefault=!0),!1===options.http&&cookie.httpOnly)return err=new Error("Cookie is HttpOnly and this isn't an HTTP API"),cb(options.ignoreError?null:err);if("none"!==cookie.sameSite&&sameSiteContext&&"none"===sameSiteContext)return err=new Error("Cookie is SameSite but this is a cross-origin request"),cb(options.ignoreError?null:err);const ignoreErrorForPrefixSecurity=this.prefixSecurity===PrefixSecurityEnum.SILENT;if(!(this.prefixSecurity===PrefixSecurityEnum.DISABLED)){let errorMsg,errorFound=!1;if(!function isSecurePrefixConditionMet(cookie){return!cookie.key.startsWith("__Secure-")||cookie.secure}(cookie)?(errorFound=!0,errorMsg="Cookie has __Secure prefix but Secure attribute is not set"):function isHostPrefixConditionMet(cookie){return!cookie.key.startsWith("__Host-")||cookie.secure&&cookie.hostOnly&&null!=cookie.path&&"/"===cookie.path}(cookie)||(errorFound=!0,errorMsg="Cookie has __Host prefix but either Secure or HostOnly attribute is not set or Path is not '/'"),errorFound)return cb(options.ignoreError||ignoreErrorForPrefixSecurity?null:new Error(errorMsg))}const store=this.store;store.updateCookie||(store.updateCookie=function(oldCookie,newCookie,cb){this.putCookie(newCookie,cb)}),store.findCookie(cookie.domain,cookie.path,cookie.key,(function withCookie(err,oldCookie){if(err)return cb(err);const next=function(err){if(err)return cb(err);cb(null,cookie)};if(oldCookie){if(!1===options.http&&oldCookie.httpOnly)return err=new Error("old Cookie is HttpOnly and this isn't an HTTP API"),cb(options.ignoreError?null:err);cookie.creation=oldCookie.creation,cookie.creationIndex=oldCookie.creationIndex,cookie.lastAccessed=now,store.updateCookie(oldCookie,cookie,next)}else cookie.creation=cookie.lastAccessed=now,store.putCookie(cookie,next)}))}getCookies(url,options,cb){const context=getCookieContext(url);"function"==typeof options&&(cb=options,options={});const host=canonicalDomain(context.hostname),path=context.pathname||"/";let secure=options.secure;null!=secure||!context.protocol||"https:"!=context.protocol&&"wss:"!=context.protocol||(secure=!0);let sameSiteLevel=0;if(options.sameSiteContext){const sameSiteContext=checkSameSiteContext(options.sameSiteContext);if(sameSiteLevel=Cookie.sameSiteLevel[sameSiteContext],!sameSiteLevel)return cb(new Error(SAME_SITE_CONTEXT_VAL_ERR))}let http=options.http;null==http&&(http=!0);const now=options.now||Date.now(),expireCheck=!1!==options.expire,allPaths=!!options.allPaths,store=this.store;function matchingCookie(c){if(c.hostOnly){if(c.domain!=host)return!1}else if(!domainMatch(host,c.domain,!1))return!1;if(!allPaths&&!pathMatch(path,c.path))return!1;if(c.secure&&!secure)return!1;if(c.httpOnly&&!http)return!1;if(sameSiteLevel){if(Cookie.sameSiteLevel[c.sameSite||"none"]>sameSiteLevel)return!1}return!(expireCheck&&c.expiryTime()<=now)||(store.removeCookie(c.domain,c.path,c.key,(()=>{})),!1)}store.findCookies(host,allPaths?null:path,this.allowSpecialUseDomain,((err,cookies)=>{if(err)return cb(err);cookies=cookies.filter(matchingCookie),!1!==options.sort&&(cookies=cookies.sort(cookieCompare));const now=new Date;for(const cookie of cookies)cookie.lastAccessed=now;cb(null,cookies)}))}getCookieString(...args){const cb=args.pop();args.push((function(err,cookies){err?cb(err):cb(null,cookies.sort(cookieCompare).map((c=>c.cookieString())).join("; "))})),this.getCookies.apply(this,args)}getSetCookieStrings(...args){const cb=args.pop();args.push((function(err,cookies){err?cb(err):cb(null,cookies.map((c=>c.toString())))})),this.getCookies.apply(this,args)}serialize(cb){let type=this.store.constructor.name;"Object"===type&&(type=null);const serialized={version:`tough-cookie@${VERSION}`,storeType:type,rejectPublicSuffixes:!!this.rejectPublicSuffixes,cookies:[]};if(!this.store.getAllCookies||"function"!=typeof this.store.getAllCookies)return cb(new Error("store does not support getAllCookies and cannot be serialized"));this.store.getAllCookies(((err,cookies)=>err?cb(err):(serialized.cookies=cookies.map((cookie=>(delete(cookie=cookie instanceof Cookie?cookie.toJSON():cookie).creationIndex,cookie))),cb(null,serialized))))}toJSON(){return this.serializeSync()}_importCookies(serialized,cb){let cookies=serialized.cookies;if(!cookies||!Array.isArray(cookies))return cb(new Error("serialized jar has no cookies array"));cookies=cookies.slice();const putNext=err=>{if(err)return cb(err);if(!cookies.length)return cb(err,this);let cookie;try{cookie=fromJSON(cookies.shift())}catch(e){return cb(e)}if(null===cookie)return putNext(null);this.store.putCookie(cookie,putNext)};putNext()}clone(newStore,cb){1===arguments.length&&(cb=newStore,newStore=null),this.serialize(((err,serialized)=>{if(err)return cb(err);CookieJar.deserialize(serialized,newStore,cb)}))}cloneSync(newStore){if(0===arguments.length)return this._cloneSync();if(!newStore.synchronous)throw new Error("CookieJar clone destination store is not synchronous; use async API instead.");return this._cloneSync(newStore)}removeAllCookies(cb){const store=this.store;if("function"==typeof store.removeAllCookies&&store.removeAllCookies!==Store.prototype.removeAllCookies)return store.removeAllCookies(cb);store.getAllCookies(((err,cookies)=>{if(err)return cb(err);if(0===cookies.length)return cb(null);let completedCount=0;const removeErrors=[];function removeCookieCb(removeErr){if(removeErr&&removeErrors.push(removeErr),completedCount++,completedCount===cookies.length)return cb(removeErrors.length?removeErrors[0]:null)}cookies.forEach((cookie=>{store.removeCookie(cookie.domain,cookie.path,cookie.key,removeCookieCb)}))}))}static deserialize(strOrObj,store,cb){let serialized;if(3!==arguments.length&&(cb=store,store=null),"string"==typeof strOrObj){if(serialized=jsonParse(strOrObj),serialized instanceof Error)return cb(serialized)}else serialized=strOrObj;const jar=new CookieJar(store,serialized.rejectPublicSuffixes);jar._importCookies(serialized,(err=>{if(err)return cb(err);cb(null,jar)}))}static deserializeSync(strOrObj,store){const serialized="string"==typeof strOrObj?JSON.parse(strOrObj):strOrObj,jar=new CookieJar(store,serialized.rejectPublicSuffixes);if(!jar.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");return jar._importCookiesSync(serialized),jar}}function syncWrap(method){return function(...args){if(!this.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");let syncErr,syncResult;if(this[method](...args,((err,result)=>{syncErr=err,syncResult=result})),syncErr)throw syncErr;return syncResult}}CookieJar.fromJSON=CookieJar.deserializeSync,["_importCookies","clone","getCookies","getCookieString","getSetCookieStrings","removeAllCookies","serialize","setCookie"].forEach((name=>{CookieJar.prototype[name]=fromCallback(CookieJar.prototype[name])})),CookieJar.deserialize=fromCallback(CookieJar.deserialize),exports.version=VERSION,exports.CookieJar=CookieJar,exports.Cookie=Cookie,exports.Store=Store,exports.MemoryCookieStore=MemoryCookieStore,exports.parseDate=parseDate,exports.formatDate=formatDate,exports.parse=parse,exports.fromJSON=fromJSON,exports.domainMatch=domainMatch,exports.defaultPath=defaultPath,exports.pathMatch=pathMatch,exports.getPublicSuffix=pubsuffix.getPublicSuffix,exports.cookieCompare=cookieCompare,exports.permuteDomain=__webpack_require__(87324).permuteDomain,exports.permutePath=function permutePath(path){if("/"===path)return["/"];const permutations=[path];for(;path.length>1;){const lindex=path.lastIndexOf("/");if(0===lindex)break;path=path.substr(0,lindex),permutations.push(path)}return permutations.push("/"),permutations},exports.canonicalDomain=canonicalDomain,exports.PrefixSecurityEnum=PrefixSecurityEnum},25761:function(__unused_webpack_module,exports,__webpack_require__){ +/*! + * Copyright (c) 2015, Salesforce.com, Inc. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * 3. Neither the name of Salesforce.com nor the names of its contributors may + * be used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +const{fromCallback:fromCallback}=__webpack_require__(38981),Store=__webpack_require__(82224).y,permuteDomain=__webpack_require__(87324).permuteDomain,pathMatch=__webpack_require__(88971).U,util=__webpack_require__(89539);class MemoryCookieStore extends Store{constructor(){super(),this.synchronous=!0,this.idx={},util.inspect.custom&&(this[util.inspect.custom]=this.inspect)}inspect(){return`{ idx: ${util.inspect(this.idx,!1,2)} }`}findCookie(domain,path,key,cb){return this.idx[domain]&&this.idx[domain][path]?cb(null,this.idx[domain][path][key]||null):cb(null,void 0)}findCookies(domain,path,allowSpecialUseDomain,cb){const results=[];if("function"==typeof allowSpecialUseDomain&&(cb=allowSpecialUseDomain,allowSpecialUseDomain=!1),!domain)return cb(null,[]);let pathMatcher;pathMatcher=path?function matchRFC(domainIndex){Object.keys(domainIndex).forEach((cookiePath=>{if(pathMatch(path,cookiePath)){const pathIndex=domainIndex[cookiePath];for(const key in pathIndex)results.push(pathIndex[key])}}))}:function matchAll(domainIndex){for(const curPath in domainIndex){const pathIndex=domainIndex[curPath];for(const key in pathIndex)results.push(pathIndex[key])}};const domains=permuteDomain(domain,allowSpecialUseDomain)||[domain],idx=this.idx;domains.forEach((curDomain=>{const domainIndex=idx[curDomain];domainIndex&&pathMatcher(domainIndex)})),cb(null,results)}putCookie(cookie,cb){this.idx[cookie.domain]||(this.idx[cookie.domain]={}),this.idx[cookie.domain][cookie.path]||(this.idx[cookie.domain][cookie.path]={}),this.idx[cookie.domain][cookie.path][cookie.key]=cookie,cb(null)}updateCookie(oldCookie,newCookie,cb){this.putCookie(newCookie,cb)}removeCookie(domain,path,key,cb){this.idx[domain]&&this.idx[domain][path]&&this.idx[domain][path][key]&&delete this.idx[domain][path][key],cb(null)}removeCookies(domain,path,cb){return this.idx[domain]&&(path?delete this.idx[domain][path]:delete this.idx[domain]),cb(null)}removeAllCookies(cb){return this.idx={},cb(null)}getAllCookies(cb){const cookies=[],idx=this.idx;Object.keys(idx).forEach((domain=>{Object.keys(idx[domain]).forEach((path=>{Object.keys(idx[domain][path]).forEach((key=>{null!==key&&cookies.push(idx[domain][path][key])}))}))})),cookies.sort(((a,b)=>(a.creationIndex||0)-(b.creationIndex||0))),cb(null,cookies)}}["findCookie","findCookies","putCookie","updateCookie","removeCookie","removeCookies","removeAllCookies","getAllCookies"].forEach((name=>{MemoryCookieStore[name]=fromCallback(MemoryCookieStore.prototype[name])})),exports.m=MemoryCookieStore},88971:function(__unused_webpack_module,exports){exports.U= +/*! + * Copyright (c) 2015, Salesforce.com, Inc. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * 3. Neither the name of Salesforce.com nor the names of its contributors may + * be used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +function pathMatch(reqPath,cookiePath){if(cookiePath===reqPath)return!0;if(0===reqPath.indexOf(cookiePath)){if("/"===cookiePath.substr(-1))return!0;if("/"===reqPath.substr(cookiePath.length,1))return!0}return!1}},87324:function(__unused_webpack_module,exports,__webpack_require__){ +/*! + * Copyright (c) 2015, Salesforce.com, Inc. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * 3. Neither the name of Salesforce.com nor the names of its contributors may + * be used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +const pubsuffix=__webpack_require__(10752),SPECIAL_USE_DOMAINS=["local"];exports.permuteDomain=function permuteDomain(domain,allowSpecialUseDomain){let pubSuf=null;if(allowSpecialUseDomain){const domainParts=domain.split(".");pubSuf=SPECIAL_USE_DOMAINS.includes(domainParts[domainParts.length-1])?`${domainParts[domainParts.length-2]}.${domainParts[domainParts.length-1]}`:pubsuffix.getPublicSuffix(domain)}else pubSuf=pubsuffix.getPublicSuffix(domain);if(!pubSuf)return null;if(pubSuf==domain)return[domain];const parts=domain.slice(0,-(pubSuf.length+1)).split(".").reverse();let cur=pubSuf;const permutations=[cur];for(;parts.length;)cur=`${parts.shift()}.${cur}`,permutations.push(cur);return permutations}},10752:function(__unused_webpack_module,exports,__webpack_require__){ +/*! + * Copyright (c) 2018, Salesforce.com, Inc. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * 3. Neither the name of Salesforce.com nor the names of its contributors may + * be used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +const psl=__webpack_require__(16244);exports.getPublicSuffix=function getPublicSuffix(domain){return psl.get(domain)}},82224:function(__unused_webpack_module,exports){exports.y= +/*! + * Copyright (c) 2015, Salesforce.com, Inc. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * 3. Neither the name of Salesforce.com nor the names of its contributors may + * be used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +class Store{constructor(){this.synchronous=!1}findCookie(domain,path,key,cb){throw new Error("findCookie is not implemented")}findCookies(domain,path,allowSpecialUseDomain,cb){throw new Error("findCookies is not implemented")}putCookie(cookie,cb){throw new Error("putCookie is not implemented")}updateCookie(oldCookie,newCookie,cb){throw new Error("updateCookie is not implemented")}removeCookie(domain,path,key,cb){throw new Error("removeCookie is not implemented")}removeCookies(domain,path,cb){throw new Error("removeCookies is not implemented")}removeAllCookies(cb){throw new Error("removeAllCookies is not implemented")}getAllCookies(cb){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}}},456:function(module){module.exports="4.0.0"},54742:function(module,__unused_webpack_exports,__webpack_require__){const punycode=__webpack_require__(3689),regexes=__webpack_require__(29069),mappingTable=__webpack_require__(72020),{STATUS_MAPPING:STATUS_MAPPING}=__webpack_require__(70428);function findStatus(val,{useSTD3ASCIIRules:useSTD3ASCIIRules}){let start=0,end=mappingTable.length-1;for(;start<=end;){const mid=Math.floor((start+end)/2),target=mappingTable[mid],min=Array.isArray(target[0])?target[0][0]:target[0],max=Array.isArray(target[0])?target[0][1]:target[0];if(min<=val&&max>=val)return!useSTD3ASCIIRules||target[1]!==STATUS_MAPPING.disallowed_STD3_valid&&target[1]!==STATUS_MAPPING.disallowed_STD3_mapped?target[1]===STATUS_MAPPING.disallowed_STD3_valid?[STATUS_MAPPING.valid,...target.slice(2)]:target[1]===STATUS_MAPPING.disallowed_STD3_mapped?[STATUS_MAPPING.mapped,...target.slice(2)]:target.slice(1):[STATUS_MAPPING.disallowed,...target.slice(2)];min>val?end=mid-1:start=mid+1}return null}function validateLabel(label,{checkHyphens:checkHyphens,checkBidi:checkBidi,checkJoiners:checkJoiners,processingOption:processingOption,useSTD3ASCIIRules:useSTD3ASCIIRules}){if(label.normalize("NFC")!==label)return!1;const codePoints=Array.from(label);if(checkHyphens&&("-"===codePoints[2]&&"-"===codePoints[3]||label.startsWith("-")||label.endsWith("-")))return!1;if(label.includes(".")||codePoints.length>0&®exes.combiningMarks.test(codePoints[0]))return!1;for(const ch of codePoints){const[status]=findStatus(ch.codePointAt(0),{useSTD3ASCIIRules:useSTD3ASCIIRules});if("transitional"===processingOption&&status!==STATUS_MAPPING.valid||"nontransitional"===processingOption&&status!==STATUS_MAPPING.valid&&status!==STATUS_MAPPING.deviation)return!1}if(checkJoiners){let last=0;for(const[i,ch]of codePoints.entries())if(""===ch||""===ch){if(i>0){if(regexes.combiningClassVirama.test(codePoints[i-1]))continue;if(""===ch){const next=codePoints.indexOf("",i+1),test=next<0?codePoints.slice(last):codePoints.slice(last,next);if(regexes.validZWNJ.test(test.join(""))){last=i+1;continue}}}return!1}}if(checkBidi){let rtl;if(regexes.bidiS1LTR.test(codePoints[0]))rtl=!1;else{if(!regexes.bidiS1RTL.test(codePoints[0]))return!1;rtl=!0}if(rtl){if(!regexes.bidiS2.test(label)||!regexes.bidiS3.test(label)||regexes.bidiS4EN.test(label)&®exes.bidiS4AN.test(label))return!1}else if(!regexes.bidiS5.test(label)||!regexes.bidiS6.test(label))return!1}return!0}function processing(domainName,options){const{processingOption:processingOption}=options;let{string:string,error:error}=function mapChars(domainName,{useSTD3ASCIIRules:useSTD3ASCIIRules,processingOption:processingOption}){let hasError=!1,processed="";for(const ch of domainName){const[status,mapping]=findStatus(ch.codePointAt(0),{useSTD3ASCIIRules:useSTD3ASCIIRules});switch(status){case STATUS_MAPPING.disallowed:hasError=!0,processed+=ch;break;case STATUS_MAPPING.ignored:break;case STATUS_MAPPING.mapped:processed+=mapping;break;case STATUS_MAPPING.deviation:processed+="transitional"===processingOption?mapping:ch;break;case STATUS_MAPPING.valid:processed+=ch}}return{string:processed,error:hasError}}(domainName,options);string=string.normalize("NFC");const labels=string.split("."),isBidi=function isBidiDomain(labels){const domain=labels.map((label=>{if(label.startsWith("xn--"))try{return punycode.decode(label.substring(4))}catch(err){return""}return label})).join(".");return regexes.bidiDomain.test(domain)}(labels);for(const[i,origLabel]of labels.entries()){let label=origLabel,curProcessing=processingOption;if(label.startsWith("xn--")){try{label=punycode.decode(label.substring(4)),labels[i]=label}catch(err){error=!0;continue}curProcessing="nontransitional"}if(error)continue;validateLabel(label,{...options,processingOption:curProcessing,checkBidi:options.checkBidi&&isBidi})||(error=!0)}return{string:labels.join("."),error:error}}module.exports={toASCII:function toASCII(domainName,{checkHyphens:checkHyphens=!1,checkBidi:checkBidi=!1,checkJoiners:checkJoiners=!1,useSTD3ASCIIRules:useSTD3ASCIIRules=!1,processingOption:processingOption="nontransitional",verifyDNSLength:verifyDNSLength=!1}={}){if("transitional"!==processingOption&&"nontransitional"!==processingOption)throw new RangeError("processingOption must be either transitional or nontransitional");const result=processing(domainName,{processingOption:processingOption,checkHyphens:checkHyphens,checkBidi:checkBidi,checkJoiners:checkJoiners,useSTD3ASCIIRules:useSTD3ASCIIRules});let labels=result.string.split(".");if(labels=labels.map((l=>{if(function containsNonASCII(str){return/[^\x00-\x7F]/u.test(str)}(l))try{return`xn--${punycode.encode(l)}`}catch(e){result.error=!0}return l})),verifyDNSLength){const total=labels.join(".").length;(total>253||0===total)&&(result.error=!0);for(let i=0;i<labels.length;++i)if(labels[i].length>63||0===labels[i].length){result.error=!0;break}}return result.error?null:labels.join(".")},toUnicode:function toUnicode(domainName,{checkHyphens:checkHyphens=!1,checkBidi:checkBidi=!1,checkJoiners:checkJoiners=!1,useSTD3ASCIIRules:useSTD3ASCIIRules=!1,processingOption:processingOption="nontransitional"}={}){const result=processing(domainName,{processingOption:processingOption,checkHyphens:checkHyphens,checkBidi:checkBidi,checkJoiners:checkJoiners,useSTD3ASCIIRules:useSTD3ASCIIRules});return{domain:result.string,error:result.error}}}},29069:function(module){module.exports={combiningMarks:/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10EAB}\u{10EAC}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11000}-\u{11002}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11082}\u{110B0}-\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{11134}\u{11145}\u{11146}\u{11173}\u{11180}-\u{11182}\u{111B3}-\u{111C0}\u{111C9}-\u{111CC}\u{111CE}\u{111CF}\u{1122C}-\u{11237}\u{1123E}\u{112DF}-\u{112EA}\u{11300}-\u{11303}\u{1133B}\u{1133C}\u{1133E}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11357}\u{11362}\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11435}-\u{11446}\u{1145E}\u{114B0}-\u{114C3}\u{115AF}-\u{115B5}\u{115B8}-\u{115C0}\u{115DC}\u{115DD}\u{11630}-\u{11640}\u{116AB}-\u{116B7}\u{1171D}-\u{1172B}\u{1182C}-\u{1183A}\u{11930}-\u{11935}\u{11937}\u{11938}\u{1193B}-\u{1193E}\u{11940}\u{11942}\u{11943}\u{119D1}-\u{119D7}\u{119DA}-\u{119E0}\u{119E4}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A39}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A5B}\u{11A8A}-\u{11A99}\u{11C2F}-\u{11C36}\u{11C38}-\u{11C3F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D8A}-\u{11D8E}\u{11D90}\u{11D91}\u{11D93}-\u{11D97}\u{11EF3}-\u{11EF6}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F51}-\u{16F87}\u{16F8F}-\u{16F92}\u{16FE4}\u{16FF0}\u{16FF1}\u{1BC9D}\u{1BC9E}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D165}-\u{1D169}\u{1D16D}-\u{1D172}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]/u,combiningClassVirama:/[\u094D\u09CD\u0A4D\u0ACD\u0B4D\u0BCD\u0C4D\u0CCD\u0D3B\u0D3C\u0D4D\u0DCA\u0E3A\u0EBA\u0F84\u1039\u103A\u1714\u1734\u17D2\u1A60\u1B44\u1BAA\u1BAB\u1BF2\u1BF3\u2D7F\uA806\uA8C4\uA953\uA9C0\uAAF6\uABED\u{10A3F}\u{11046}\u{1107F}\u{110B9}\u{11133}\u{11134}\u{111C0}\u{11235}\u{112EA}\u{1134D}\u{11442}\u{114C2}\u{115BF}\u{1163F}\u{116B6}\u{1172B}\u{11839}\u{119E0}\u{11A34}\u{11A47}\u{11A99}\u{11C3F}\u{11D44}\u{11D45}\u{11D97}]/u,validZWNJ:/[\u0620\u0626\u0628\u062A-\u062E\u0633-\u063F\u0641-\u0647\u0649\u064A\u066E\u066F\u0678-\u0687\u069A-\u06BF\u06C1\u06C2\u06CC\u06CE\u06D0\u06D1\u06FA-\u06FC\u06FF\u0712-\u0714\u071A-\u071D\u071F-\u0727\u0729\u072B\u072D\u072E\u074E-\u0758\u075C-\u076A\u076D-\u0770\u0772\u0775-\u0777\u077A-\u077F\u07CA-\u07EA\u0841-\u0845\u0848\u084A-\u0853\u0855\u0860\u0862-\u0865\u0868\u08A0-\u08A9\u08AF\u08B0\u08B3\u08B4\u08B6-\u08B8\u08BA-\u08BD\u1807\u1820-\u1878\u1887-\u18A8\u18AA\uA840-\uA872\u{10AC0}-\u{10AC4}\u{10ACD}\u{10AD3}-\u{10ADC}\u{10ADE}-\u{10AE0}\u{10AEB}-\u{10AEE}\u{10B80}\u{10B82}\u{10B86}-\u{10B88}\u{10B8A}\u{10B8B}\u{10B8D}\u{10B90}\u{10BAD}\u{10BAE}\u{10D00}-\u{10D21}\u{10D23}\u{10F30}-\u{10F32}\u{10F34}-\u{10F44}\u{10F51}-\u{10F53}\u{1E900}-\u{1E943}][\xAD\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u061C\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u070F\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200B\u200E\u200F\u202A-\u202E\u2060-\u2064\u206A-\u206F\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFEFF\uFFF9-\uFFFB\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10F46}-\u{10F50}\u{11001}\u{11038}-\u{11046}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C3F}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{13430}-\u{13438}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E130}-\u{1E136}\u{1E2EC}-\u{1E2EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94B}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*\u200C[\xAD\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u061C\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u070F\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200B\u200E\u200F\u202A-\u202E\u2060-\u2064\u206A-\u206F\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFEFF\uFFF9-\uFFFB\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10F46}-\u{10F50}\u{11001}\u{11038}-\u{11046}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C3F}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{13430}-\u{13438}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E130}-\u{1E136}\u{1E2EC}-\u{1E2EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94B}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*[\u0620\u0622-\u063F\u0641-\u064A\u066E\u066F\u0671-\u0673\u0675-\u06D3\u06D5\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u077F\u07CA-\u07EA\u0840-\u0855\u0860\u0862-\u0865\u0867-\u086A\u08A0-\u08AC\u08AE-\u08B4\u08B6-\u08BD\u1807\u1820-\u1878\u1887-\u18A8\u18AA\uA840-\uA871\u{10AC0}-\u{10AC5}\u{10AC7}\u{10AC9}\u{10ACA}\u{10ACE}-\u{10AD6}\u{10AD8}-\u{10AE1}\u{10AE4}\u{10AEB}-\u{10AEF}\u{10B80}-\u{10B91}\u{10BA9}-\u{10BAE}\u{10D01}-\u{10D23}\u{10F30}-\u{10F44}\u{10F51}-\u{10F54}\u{1E900}-\u{1E943}]/u,bidiDomain:/[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0600-\u0605\u0608\u060B\u060D\u061B-\u064A\u0660-\u0669\u066B-\u066F\u0671-\u06D5\u06DD\u06E5\u06E6\u06EE\u06EF\u06FA-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u0870-\u088E\u0890\u0891\u08A0-\u08C9\u08E2\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10D30}-\u{10D39}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAD}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10F70}-\u{10F81}\u{10F86}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}]/u,bidiS1LTR:/[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02BB-\u02C1\u02D0\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0482\u048A-\u052F\u0531-\u0556\u0559-\u0589\u0903-\u0939\u093B\u093D-\u0940\u0949-\u094C\u094E-\u0950\u0958-\u0961\u0964-\u0980\u0982\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C0\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09FA\u09FC\u09FD\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A76\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC0\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0\u0AE1\u0AE6-\u0AF0\u0AF9\u0B02\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C77\u0C7F\u0C80\u0C82-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D4F\u0D54-\u0D61\u0D66-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E4F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F17\u0F1A-\u0F34\u0F36\u0F38\u0F3E-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u1000-\u102C\u1031\u1038\u103B\u103C\u103F-\u1057\u105A-\u105D\u1061-\u1070\u1075-\u1081\u1083\u1084\u1087-\u108C\u108E-\u109C\u109E-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u167F\u1681-\u169A\u16A0-\u16F8\u1700-\u1711\u1715\u171F-\u1731\u1734-\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7\u17C8\u17D4-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A19\u1A1A\u1A1E-\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1B04-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B4C\u1B50-\u1B6A\u1B74-\u1B7E\u1B82-\u1BA1\u1BA6\u1BA7\u1BAA\u1BAE-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1BFC-\u1C2B\u1C34\u1C35\u1C3B-\u1C49\u1C4D-\u1C88\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5-\u1CF7\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2188\u2336-\u237A\u2395\u249C-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u302E\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31BF\u31F0-\u321C\u3220-\u324F\u3260-\u327B\u327F-\u32B0\u32C0-\u32CB\u32D0-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA60C\uA610-\uA62B\uA640-\uA66E\uA680-\uA69D\uA6A0-\uA6EF\uA6F2-\uA6F7\uA722-\uA787\uA789-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA824\uA827\uA830-\uA837\uA840-\uA873\uA880-\uA8C3\uA8CE-\uA8D9\uA8F2-\uA8FE\uA900-\uA925\uA92E-\uA946\uA952\uA953\uA95F-\uA97C\uA983-\uA9B2\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA2F\uAA30\uAA33\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA7B\uAA7D-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAAEB\uAAEE-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB69\uAB70-\uABE4\uABE6\uABE7\uABE9-\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1013F}\u{1018D}\u{1018E}\u{101D0}-\u{101FC}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{11000}\u{11002}-\u{11037}\u{11047}-\u{1104D}\u{11066}-\u{1106F}\u{11071}\u{11072}\u{11075}\u{11082}-\u{110B2}\u{110B7}\u{110B8}\u{110BB}-\u{110C1}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{1112C}\u{11136}-\u{11147}\u{11150}-\u{11172}\u{11174}-\u{11176}\u{11182}-\u{111B5}\u{111BF}-\u{111C8}\u{111CD}\u{111CE}\u{111D0}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1122E}\u{11232}\u{11233}\u{11235}\u{11238}-\u{1123D}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112DE}\u{112E0}-\u{112E2}\u{112F0}-\u{112F9}\u{11302}\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}-\u{1133F}\u{11341}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11400}-\u{11437}\u{11440}\u{11441}\u{11445}\u{11447}-\u{1145B}\u{1145D}\u{1145F}-\u{11461}\u{11480}-\u{114B2}\u{114B9}\u{114BB}-\u{114BE}\u{114C1}\u{114C4}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B1}\u{115B8}-\u{115BB}\u{115BE}\u{115C1}-\u{115DB}\u{11600}-\u{11632}\u{1163B}\u{1163C}\u{1163E}\u{11641}-\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116AC}\u{116AE}\u{116AF}\u{116B6}\u{116B8}\u{116B9}\u{116C0}-\u{116C9}\u{11700}-\u{1171A}\u{11720}\u{11721}\u{11726}\u{11730}-\u{11746}\u{11800}-\u{1182E}\u{11838}\u{1183B}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193D}\u{1193F}-\u{11942}\u{11944}-\u{11946}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D3}\u{119DC}-\u{119DF}\u{119E1}-\u{119E4}\u{11A00}\u{11A07}\u{11A08}\u{11A0B}-\u{11A32}\u{11A39}\u{11A3A}\u{11A3F}-\u{11A46}\u{11A50}\u{11A57}\u{11A58}\u{11A5C}-\u{11A89}\u{11A97}\u{11A9A}-\u{11AA2}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2F}\u{11C3E}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11CA9}\u{11CB1}\u{11CB4}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D93}\u{11D94}\u{11D96}\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF2}\u{11EF5}-\u{11EF8}\u{11FB0}\u{11FC0}-\u{11FD4}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{12F90}-\u{12FF2}\u{13000}-\u{1342E}\u{13430}-\u{13438}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF5}\u{16B00}-\u{16B2F}\u{16B37}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F50}-\u{16F87}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FF0}\u{16FF1}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B150}-\u{1B152}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}\u{1BC9F}\u{1CF50}-\u{1CFC3}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D166}\u{1D16A}-\u{1D172}\u{1D183}\u{1D184}\u{1D18C}-\u{1D1A9}\u{1D1AE}-\u{1D1E8}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6DA}\u{1D6DC}-\u{1D714}\u{1D716}-\u{1D74E}\u{1D750}-\u{1D788}\u{1D78A}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D800}-\u{1D9FF}\u{1DA37}-\u{1DA3A}\u{1DA6D}-\u{1DA74}\u{1DA76}-\u{1DA83}\u{1DA85}-\u{1DA8B}\u{1DF00}-\u{1DF1E}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E2F0}-\u{1E2F9}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1F110}-\u{1F12E}\u{1F130}-\u{1F169}\u{1F170}-\u{1F1AC}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B738}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}]/u,bidiS1RTL:/[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u0870-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10E80}-\u{10EA9}\u{10EAD}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10F70}-\u{10F81}\u{10F86}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}]/u,bidiS2:/^[\0-\x08\x0E-\x1B!-@\[-`\{-\x84\x86-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02B9\u02BA\u02C2-\u02CF\u02D2-\u02DF\u02E5-\u02ED\u02EF-\u036F\u0374\u0375\u037E\u0384\u0385\u0387\u03F6\u0483-\u0489\u058A\u058D-\u058F\u0591-\u05C7\u05D0-\u05EA\u05EF-\u05F4\u0600-\u070D\u070F-\u074A\u074D-\u07B1\u07C0-\u07FA\u07FD-\u082D\u0830-\u083E\u0840-\u085B\u085E\u0860-\u086A\u0870-\u088E\u0890\u0891\u0898-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09F2\u09F3\u09FB\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AF1\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0BF3-\u0BFA\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C78-\u0C7E\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E3F\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39-\u0F3D\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1390-\u1399\u1400\u169B\u169C\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DB\u17DD\u17F0-\u17F9\u1800-\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1940\u1944\u1945\u19DE-\u19FF\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u200B-\u200D\u200F-\u2027\u202F-\u205E\u2060-\u2064\u206A-\u2070\u2074-\u207E\u2080-\u208E\u20A0-\u20C0\u20D0-\u20F0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u2150-\u215F\u2189-\u218B\u2190-\u2335\u237B-\u2394\u2396-\u2426\u2440-\u244A\u2460-\u249B\u24EA-\u26AB\u26AD-\u27FF\u2900-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2CEF-\u2CF1\u2CF9-\u2CFF\u2D7F\u2DE0-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u3004\u3008-\u3020\u302A-\u302D\u3030\u3036\u3037\u303D-\u303F\u3099-\u309C\u30A0\u30FB\u31C0-\u31E3\u321D\u321E\u3250-\u325F\u327C-\u327E\u32B1-\u32BF\u32CC-\u32CF\u3377-\u337A\u33DE\u33DF\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA60D-\uA60F\uA66F-\uA67F\uA69E\uA69F\uA6F0\uA6F1\uA700-\uA721\uA788\uA802\uA806\uA80B\uA825\uA826\uA828-\uA82C\uA838\uA839\uA874-\uA877\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uAB6A\uAB6B\uABE5\uABE8\uABED\uFB1D-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD8F\uFD92-\uFDC7\uFDCF\uFDF0-\uFE19\uFE20-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF01-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD\u{10101}\u{10140}-\u{1018C}\u{10190}-\u{1019C}\u{101A0}\u{101FD}\u{102E0}-\u{102FB}\u{10376}-\u{1037A}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{1091F}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A38}-\u{10A3A}\u{10A3F}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE6}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B39}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D27}\u{10D30}-\u{10D39}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAB}-\u{10EAD}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F27}\u{10F30}-\u{10F59}\u{10F70}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{11001}\u{11038}-\u{11046}\u{11052}-\u{11065}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{11660}-\u{1166C}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11FD5}-\u{11FF1}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE2}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D1E9}\u{1D1EA}\u{1D200}-\u{1D245}\u{1D300}-\u{1D356}\u{1D6DB}\u{1D715}\u{1D74F}\u{1D789}\u{1D7C3}\u{1D7CE}-\u{1D7FF}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E2FF}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8D6}\u{1E900}-\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1EEF0}\u{1EEF1}\u{1F000}-\u{1F02B}\u{1F030}-\u{1F093}\u{1F0A0}-\u{1F0AE}\u{1F0B1}-\u{1F0BF}\u{1F0C1}-\u{1F0CF}\u{1F0D1}-\u{1F0F5}\u{1F100}-\u{1F10F}\u{1F12F}\u{1F16A}-\u{1F16F}\u{1F1AD}\u{1F260}-\u{1F265}\u{1F300}-\u{1F6D7}\u{1F6DD}-\u{1F6EC}\u{1F6F0}-\u{1F6FC}\u{1F700}-\u{1F773}\u{1F780}-\u{1F7D8}\u{1F7E0}-\u{1F7EB}\u{1F7F0}\u{1F800}-\u{1F80B}\u{1F810}-\u{1F847}\u{1F850}-\u{1F859}\u{1F860}-\u{1F887}\u{1F890}-\u{1F8AD}\u{1F8B0}\u{1F8B1}\u{1F900}-\u{1FA53}\u{1FA60}-\u{1FA6D}\u{1FA70}-\u{1FA74}\u{1FA78}-\u{1FA7C}\u{1FA80}-\u{1FA86}\u{1FA90}-\u{1FAAC}\u{1FAB0}-\u{1FABA}\u{1FAC0}-\u{1FAC5}\u{1FAD0}-\u{1FAD9}\u{1FAE0}-\u{1FAE7}\u{1FAF0}-\u{1FAF6}\u{1FB00}-\u{1FB92}\u{1FB94}-\u{1FBCA}\u{1FBF0}-\u{1FBF9}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*$/u,bidiS3:/[0-9\xB2\xB3\xB9\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0600-\u0605\u0608\u060B\u060D\u061B-\u064A\u0660-\u0669\u066B-\u066F\u0671-\u06D5\u06DD\u06E5\u06E6\u06EE-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u0870-\u088E\u0890\u0891\u08A0-\u08C9\u08E2\u200F\u2070\u2074-\u2079\u2080-\u2089\u2488-\u249B\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC2\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\u{102E1}-\u{102FB}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10D30}-\u{10D39}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAD}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10F70}-\u{10F81}\u{10F86}-\u{10F89}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{1D7CE}-\u{1D7FF}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1F100}-\u{1F10A}\u{1FBF0}-\u{1FBF9}][\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10EAB}\u{10EAC}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11001}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]*$/u,bidiS4EN:/[0-9\xB2\xB3\xB9\u06F0-\u06F9\u2070\u2074-\u2079\u2080-\u2089\u2488-\u249B\uFF10-\uFF19\u{102E1}-\u{102FB}\u{1D7CE}-\u{1D7FF}\u{1F100}-\u{1F10A}\u{1FBF0}-\u{1FBF9}]/u,bidiS4AN:/[\u0600-\u0605\u0660-\u0669\u066B\u066C\u06DD\u0890\u0891\u08E2\u{10D30}-\u{10D39}\u{10E60}-\u{10E7E}]/u,bidiS5:/^[\0-\x08\x0E-\x1B!-\x84\x86-\u0377\u037A-\u037F\u0384-\u038A\u038C\u038E-\u03A1\u03A3-\u052F\u0531-\u0556\u0559-\u058A\u058D-\u058F\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0606\u0607\u0609\u060A\u060C\u060E-\u061A\u064B-\u065F\u066A\u0670\u06D6-\u06DC\u06DE-\u06E4\u06E7-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07F6-\u07F9\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A76\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AF1\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B77\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BFA\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C77-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4F\u0D54-\u0D63\u0D66-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E3A\u0E3F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F47\u0F49-\u0F6C\u0F71-\u0F97\u0F99-\u0FBC\u0FBE-\u0FCC\u0FCE-\u0FDA\u1000-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u137C\u1380-\u1399\u13A0-\u13F5\u13F8-\u13FD\u1400-\u167F\u1681-\u169C\u16A0-\u16F8\u1700-\u1715\u171F-\u1736\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u1800-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1940\u1944-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u19DE-\u1A1B\u1A1E-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1AB0-\u1ACE\u1B00-\u1B4C\u1B50-\u1B7E\u1B80-\u1BF3\u1BFC-\u1C37\u1C3B-\u1C49\u1C4D-\u1C88\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD0-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEF\u1FF2-\u1FF4\u1FF6-\u1FFE\u200B-\u200E\u2010-\u2027\u202F-\u205E\u2060-\u2064\u206A-\u2071\u2074-\u208E\u2090-\u209C\u20A0-\u20C0\u20D0-\u20F0\u2100-\u218B\u2190-\u2426\u2440-\u244A\u2460-\u2B73\u2B76-\u2B95\u2B97-\u2CF3\u2CF9-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303F\u3041-\u3096\u3099-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31E3\u31F0-\u321E\u3220-\uA48C\uA490-\uA4C6\uA4D0-\uA62B\uA640-\uA6F7\uA700-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA82C\uA830-\uA839\uA840-\uA877\uA880-\uA8C5\uA8CE-\uA8D9\uA8E0-\uA953\uA95F-\uA97C\uA980-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA5C-\uAAC2\uAADB-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB6B\uAB70-\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1E\uFB29\uFD3E-\uFD4F\uFDCF\uFDFD-\uFE19\uFE20-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}-\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1018E}\u{10190}-\u{1019C}\u{101A0}\u{101D0}-\u{101FD}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E0}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{1037A}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{1091F}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10B39}-\u{10B3F}\u{10D24}-\u{10D27}\u{10EAB}\u{10EAC}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11000}-\u{1104D}\u{11052}-\u{11075}\u{1107F}-\u{110C2}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11100}-\u{11134}\u{11136}-\u{11147}\u{11150}-\u{11176}\u{11180}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1123E}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112EA}\u{112F0}-\u{112F9}\u{11300}-\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133B}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11400}-\u{1145B}\u{1145D}-\u{11461}\u{11480}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B5}\u{115B8}-\u{115DD}\u{11600}-\u{11644}\u{11650}-\u{11659}\u{11660}-\u{1166C}\u{11680}-\u{116B9}\u{116C0}-\u{116C9}\u{11700}-\u{1171A}\u{1171D}-\u{1172B}\u{11730}-\u{11746}\u{11800}-\u{1183B}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193B}-\u{11946}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D7}\u{119DA}-\u{119E4}\u{11A00}-\u{11A47}\u{11A50}-\u{11AA2}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C36}\u{11C38}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D47}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D90}\u{11D91}\u{11D93}-\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF8}\u{11FB0}\u{11FC0}-\u{11FF1}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{12F90}-\u{12FF2}\u{13000}-\u{1342E}\u{13430}-\u{13438}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF0}-\u{16AF5}\u{16B00}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F4F}-\u{16F87}\u{16F8F}-\u{16F9F}\u{16FE0}-\u{16FE4}\u{16FF0}\u{16FF1}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B150}-\u{1B152}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}-\u{1BCA3}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1CF50}-\u{1CFC3}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D1EA}\u{1D200}-\u{1D245}\u{1D2E0}-\u{1D2F3}\u{1D300}-\u{1D356}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D7CB}\u{1D7CE}-\u{1DA8B}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1DF00}-\u{1DF1E}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E100}-\u{1E12C}\u{1E130}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E290}-\u{1E2AE}\u{1E2C0}-\u{1E2F9}\u{1E2FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{1EEF0}\u{1EEF1}\u{1F000}-\u{1F02B}\u{1F030}-\u{1F093}\u{1F0A0}-\u{1F0AE}\u{1F0B1}-\u{1F0BF}\u{1F0C1}-\u{1F0CF}\u{1F0D1}-\u{1F0F5}\u{1F100}-\u{1F1AD}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{1F260}-\u{1F265}\u{1F300}-\u{1F6D7}\u{1F6DD}-\u{1F6EC}\u{1F6F0}-\u{1F6FC}\u{1F700}-\u{1F773}\u{1F780}-\u{1F7D8}\u{1F7E0}-\u{1F7EB}\u{1F7F0}\u{1F800}-\u{1F80B}\u{1F810}-\u{1F847}\u{1F850}-\u{1F859}\u{1F860}-\u{1F887}\u{1F890}-\u{1F8AD}\u{1F8B0}\u{1F8B1}\u{1F900}-\u{1FA53}\u{1FA60}-\u{1FA6D}\u{1FA70}-\u{1FA74}\u{1FA78}-\u{1FA7C}\u{1FA80}-\u{1FA86}\u{1FA90}-\u{1FAAC}\u{1FAB0}-\u{1FABA}\u{1FAC0}-\u{1FAC5}\u{1FAD0}-\u{1FAD9}\u{1FAE0}-\u{1FAE7}\u{1FAF0}-\u{1FAF6}\u{1FB00}-\u{1FB92}\u{1FB94}-\u{1FBCA}\u{1FBF0}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B738}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}]*$/u,bidiS6:/[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02BB-\u02C1\u02D0\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0482\u048A-\u052F\u0531-\u0556\u0559-\u0589\u06F0-\u06F9\u0903-\u0939\u093B\u093D-\u0940\u0949-\u094C\u094E-\u0950\u0958-\u0961\u0964-\u0980\u0982\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C0\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09FA\u09FC\u09FD\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A76\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC0\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0\u0AE1\u0AE6-\u0AF0\u0AF9\u0B02\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C77\u0C7F\u0C80\u0C82-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D4F\u0D54-\u0D61\u0D66-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E4F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F17\u0F1A-\u0F34\u0F36\u0F38\u0F3E-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u1000-\u102C\u1031\u1038\u103B\u103C\u103F-\u1057\u105A-\u105D\u1061-\u1070\u1075-\u1081\u1083\u1084\u1087-\u108C\u108E-\u109C\u109E-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u167F\u1681-\u169A\u16A0-\u16F8\u1700-\u1711\u1715\u171F-\u1731\u1734-\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7\u17C8\u17D4-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A19\u1A1A\u1A1E-\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1B04-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B4C\u1B50-\u1B6A\u1B74-\u1B7E\u1B82-\u1BA1\u1BA6\u1BA7\u1BAA\u1BAE-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1BFC-\u1C2B\u1C34\u1C35\u1C3B-\u1C49\u1C4D-\u1C88\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5-\u1CF7\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2188\u2336-\u237A\u2395\u2488-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u302E\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31BF\u31F0-\u321C\u3220-\u324F\u3260-\u327B\u327F-\u32B0\u32C0-\u32CB\u32D0-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA60C\uA610-\uA62B\uA640-\uA66E\uA680-\uA69D\uA6A0-\uA6EF\uA6F2-\uA6F7\uA722-\uA787\uA789-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA824\uA827\uA830-\uA837\uA840-\uA873\uA880-\uA8C3\uA8CE-\uA8D9\uA8F2-\uA8FE\uA900-\uA925\uA92E-\uA946\uA952\uA953\uA95F-\uA97C\uA983-\uA9B2\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA2F\uAA30\uAA33\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA7B\uAA7D-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAAEB\uAAEE-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB69\uAB70-\uABE4\uABE6\uABE7\uABE9-\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1013F}\u{1018D}\u{1018E}\u{101D0}-\u{101FC}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E1}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{11000}\u{11002}-\u{11037}\u{11047}-\u{1104D}\u{11066}-\u{1106F}\u{11071}\u{11072}\u{11075}\u{11082}-\u{110B2}\u{110B7}\u{110B8}\u{110BB}-\u{110C1}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{1112C}\u{11136}-\u{11147}\u{11150}-\u{11172}\u{11174}-\u{11176}\u{11182}-\u{111B5}\u{111BF}-\u{111C8}\u{111CD}\u{111CE}\u{111D0}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1122E}\u{11232}\u{11233}\u{11235}\u{11238}-\u{1123D}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112DE}\u{112E0}-\u{112E2}\u{112F0}-\u{112F9}\u{11302}\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}-\u{1133F}\u{11341}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11400}-\u{11437}\u{11440}\u{11441}\u{11445}\u{11447}-\u{1145B}\u{1145D}\u{1145F}-\u{11461}\u{11480}-\u{114B2}\u{114B9}\u{114BB}-\u{114BE}\u{114C1}\u{114C4}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B1}\u{115B8}-\u{115BB}\u{115BE}\u{115C1}-\u{115DB}\u{11600}-\u{11632}\u{1163B}\u{1163C}\u{1163E}\u{11641}-\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116AC}\u{116AE}\u{116AF}\u{116B6}\u{116B8}\u{116B9}\u{116C0}-\u{116C9}\u{11700}-\u{1171A}\u{11720}\u{11721}\u{11726}\u{11730}-\u{11746}\u{11800}-\u{1182E}\u{11838}\u{1183B}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193D}\u{1193F}-\u{11942}\u{11944}-\u{11946}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D3}\u{119DC}-\u{119DF}\u{119E1}-\u{119E4}\u{11A00}\u{11A07}\u{11A08}\u{11A0B}-\u{11A32}\u{11A39}\u{11A3A}\u{11A3F}-\u{11A46}\u{11A50}\u{11A57}\u{11A58}\u{11A5C}-\u{11A89}\u{11A97}\u{11A9A}-\u{11AA2}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2F}\u{11C3E}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11CA9}\u{11CB1}\u{11CB4}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D93}\u{11D94}\u{11D96}\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF2}\u{11EF5}-\u{11EF8}\u{11FB0}\u{11FC0}-\u{11FD4}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{12F90}-\u{12FF2}\u{13000}-\u{1342E}\u{13430}-\u{13438}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF5}\u{16B00}-\u{16B2F}\u{16B37}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F50}-\u{16F87}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FF0}\u{16FF1}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B150}-\u{1B152}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}\u{1BC9F}\u{1CF50}-\u{1CFC3}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D166}\u{1D16A}-\u{1D172}\u{1D183}\u{1D184}\u{1D18C}-\u{1D1A9}\u{1D1AE}-\u{1D1E8}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6DA}\u{1D6DC}-\u{1D714}\u{1D716}-\u{1D74E}\u{1D750}-\u{1D788}\u{1D78A}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D7CE}-\u{1D9FF}\u{1DA37}-\u{1DA3A}\u{1DA6D}-\u{1DA74}\u{1DA76}-\u{1DA83}\u{1DA85}-\u{1DA8B}\u{1DF00}-\u{1DF1E}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E2F0}-\u{1E2F9}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1F100}-\u{1F10A}\u{1F110}-\u{1F12E}\u{1F130}-\u{1F169}\u{1F170}-\u{1F1AC}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{1FBF0}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B738}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}][\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10EAB}\u{10EAC}\u{10F46}-\u{10F50}\u{10F82}-\u{10F85}\u{11001}\u{11038}-\u{11046}\u{11070}\u{11073}\u{11074}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110C2}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{111CF}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{1193B}\u{1193C}\u{1193E}\u{11943}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE4}\u{1BC9D}\u{1BC9E}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D167}-\u{1D169}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E130}-\u{1E136}\u{1E2AE}\u{1E2EC}-\u{1E2EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]*$/u}},70428:function(module){module.exports.STATUS_MAPPING={mapped:1,valid:2,disallowed:3,disallowed_STD3_valid:4,disallowed_STD3_mapped:5,deviation:6,ignored:7}},27013:function(module,__unused_webpack_exports,__webpack_require__){module.exports=function(){var promiseExists="function"==typeof Promise,globalObject="object"==typeof self?self:__webpack_require__.g,symbolExists="undefined"!=typeof Symbol,mapExists="undefined"!=typeof Map,setExists="undefined"!=typeof Set,weakMapExists="undefined"!=typeof WeakMap,weakSetExists="undefined"!=typeof WeakSet,dataViewExists="undefined"!=typeof DataView,symbolIteratorExists=symbolExists&&void 0!==Symbol.iterator,symbolToStringTagExists=symbolExists&&void 0!==Symbol.toStringTag,setEntriesExists=setExists&&"function"==typeof Set.prototype.entries,mapEntriesExists=mapExists&&"function"==typeof Map.prototype.entries,setIteratorPrototype=setEntriesExists&&Object.getPrototypeOf((new Set).entries()),mapIteratorPrototype=mapEntriesExists&&Object.getPrototypeOf((new Map).entries()),arrayIteratorExists=symbolIteratorExists&&"function"==typeof Array.prototype[Symbol.iterator],arrayIteratorPrototype=arrayIteratorExists&&Object.getPrototypeOf([][Symbol.iterator]()),stringIteratorExists=symbolIteratorExists&&"function"==typeof String.prototype[Symbol.iterator],stringIteratorPrototype=stringIteratorExists&&Object.getPrototypeOf(""[Symbol.iterator]()),toStringLeftSliceLength=8,toStringRightSliceLength=-1;function typeDetect(obj){var typeofObj=typeof obj;if("object"!==typeofObj)return typeofObj;if(null===obj)return"null";if(obj===globalObject)return"global";if(Array.isArray(obj)&&(!1===symbolToStringTagExists||!(Symbol.toStringTag in obj)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&obj===window.location)return"Location";if("object"==typeof window.document&&obj===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&obj===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&obj===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&obj instanceof window.HTMLElement){if("BLOCKQUOTE"===obj.tagName)return"HTMLQuoteElement";if("TD"===obj.tagName)return"HTMLTableDataCellElement";if("TH"===obj.tagName)return"HTMLTableHeaderCellElement"}}var stringTag=symbolToStringTagExists&&obj[Symbol.toStringTag];if("string"==typeof stringTag)return stringTag;var objPrototype=Object.getPrototypeOf(obj);return objPrototype===RegExp.prototype?"RegExp":objPrototype===Date.prototype?"Date":promiseExists&&objPrototype===Promise.prototype?"Promise":setExists&&objPrototype===Set.prototype?"Set":mapExists&&objPrototype===Map.prototype?"Map":weakSetExists&&objPrototype===WeakSet.prototype?"WeakSet":weakMapExists&&objPrototype===WeakMap.prototype?"WeakMap":dataViewExists&&objPrototype===DataView.prototype?"DataView":mapExists&&objPrototype===mapIteratorPrototype?"Map Iterator":setExists&&objPrototype===setIteratorPrototype?"Set Iterator":arrayIteratorExists&&objPrototype===arrayIteratorPrototype?"Array Iterator":stringIteratorExists&&objPrototype===stringIteratorPrototype?"String Iterator":null===objPrototype?"Object":Object.prototype.toString.call(obj).slice(toStringLeftSliceLength,toStringRightSliceLength)}return typeDetect}()},38981:function(__unused_webpack_module,exports){exports.fromCallback=function(fn){return Object.defineProperty((function(...args){if("function"!=typeof args[args.length-1])return new Promise(((resolve,reject)=>{fn.call(this,...args,((err,res)=>null!=err?reject(err):resolve(res)))}));fn.apply(this,args)}),"name",{value:fn.name})},exports.fromPromise=function(fn){return Object.defineProperty((function(...args){const cb=args[args.length-1];if("function"!=typeof cb)return fn.apply(this,args);fn.apply(this,args.slice(0,-1)).then((r=>cb(null,r)),cb)}),"name",{value:fn.name})}},8575:function(__unused_webpack_module,exports,__webpack_require__){var punycode=__webpack_require__(3689),util=__webpack_require__(62502);function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}exports.parse=urlParse,exports.resolve=function urlResolve(source,relative){return urlParse(source,!1,!0).resolve(relative)},exports.resolveObject=function urlResolveObject(source,relative){return source?urlParse(source,!1,!0).resolveObject(relative):relative},exports.format=function urlFormat(obj){util.isString(obj)&&(obj=urlParse(obj));return obj instanceof Url?obj.format():Url.prototype.format.call(obj)},exports.Url=Url;var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,unwise=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},querystring=__webpack_require__(17673);function urlParse(url,parseQueryString,slashesDenoteHost){if(url&&util.isObject(url)&&url instanceof Url)return url;var u=new Url;return u.parse(url,parseQueryString,slashesDenoteHost),u}Url.prototype.parse=function(url,parseQueryString,slashesDenoteHost){if(!util.isString(url))throw new TypeError("Parameter 'url' must be a string, not "+typeof url);var queryIndex=url.indexOf("?"),splitter=-1!==queryIndex&&queryIndex<url.indexOf("#")?"?":"#",uSplit=url.split(splitter);uSplit[0]=uSplit[0].replace(/\\/g,"/");var rest=url=uSplit.join(splitter);if(rest=rest.trim(),!slashesDenoteHost&&1===url.split("#").length){var simplePath=simplePathPattern.exec(rest);if(simplePath)return this.path=rest,this.href=rest,this.pathname=simplePath[1],simplePath[2]?(this.search=simplePath[2],this.query=parseQueryString?querystring.parse(this.search.substr(1)):this.search.substr(1)):parseQueryString&&(this.search="",this.query={}),this}var proto=protocolPattern.exec(rest);if(proto){var lowerProto=(proto=proto[0]).toLowerCase();this.protocol=lowerProto,rest=rest.substr(proto.length)}if(slashesDenoteHost||proto||rest.match(/^\/\/[^@\/]+@[^@\/]+/)){var slashes="//"===rest.substr(0,2);!slashes||proto&&hostlessProtocol[proto]||(rest=rest.substr(2),this.slashes=!0)}if(!hostlessProtocol[proto]&&(slashes||proto&&!slashedProtocol[proto])){for(var auth,atSign,hostEnd=-1,i=0;i<hostEndingChars.length;i++){-1!==(hec=rest.indexOf(hostEndingChars[i]))&&(-1===hostEnd||hec<hostEnd)&&(hostEnd=hec)}-1!==(atSign=-1===hostEnd?rest.lastIndexOf("@"):rest.lastIndexOf("@",hostEnd))&&(auth=rest.slice(0,atSign),rest=rest.slice(atSign+1),this.auth=decodeURIComponent(auth)),hostEnd=-1;for(i=0;i<nonHostChars.length;i++){var hec;-1!==(hec=rest.indexOf(nonHostChars[i]))&&(-1===hostEnd||hec<hostEnd)&&(hostEnd=hec)}-1===hostEnd&&(hostEnd=rest.length),this.host=rest.slice(0,hostEnd),rest=rest.slice(hostEnd),this.parseHost(),this.hostname=this.hostname||"";var ipv6Hostname="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!ipv6Hostname)for(var hostparts=this.hostname.split(/\./),l=(i=0,hostparts.length);i<l;i++){var part=hostparts[i];if(part&&!part.match(hostnamePartPattern)){for(var newpart="",j=0,k=part.length;j<k;j++)part.charCodeAt(j)>127?newpart+="x":newpart+=part[j];if(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i),notHost=hostparts.slice(i+1),bit=part.match(hostnamePartStart);bit&&(validParts.push(bit[1]),notHost.unshift(bit[2])),notHost.length&&(rest="/"+notHost.join(".")+rest),this.hostname=validParts.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),ipv6Hostname||(this.hostname=punycode.toASCII(this.hostname));var p=this.port?":"+this.port:"",h=this.hostname||"";this.host=h+p,this.href+=this.host,ipv6Hostname&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==rest[0]&&(rest="/"+rest))}if(!unsafeProtocol[lowerProto])for(i=0,l=autoEscape.length;i<l;i++){var ae=autoEscape[i];if(-1!==rest.indexOf(ae)){var esc=encodeURIComponent(ae);esc===ae&&(esc=escape(ae)),rest=rest.split(ae).join(esc)}}var hash=rest.indexOf("#");-1!==hash&&(this.hash=rest.substr(hash),rest=rest.slice(0,hash));var qm=rest.indexOf("?");if(-1!==qm?(this.search=rest.substr(qm),this.query=rest.substr(qm+1),parseQueryString&&(this.query=querystring.parse(this.query)),rest=rest.slice(0,qm)):parseQueryString&&(this.search="",this.query={}),rest&&(this.pathname=rest),slashedProtocol[lowerProto]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){p=this.pathname||"";var s=this.search||"";this.path=p+s}return this.href=this.format(),this},Url.prototype.format=function(){var auth=this.auth||"";auth&&(auth=(auth=encodeURIComponent(auth)).replace(/%3A/i,":"),auth+="@");var protocol=this.protocol||"",pathname=this.pathname||"",hash=this.hash||"",host=!1,query="";this.host?host=auth+this.host:this.hostname&&(host=auth+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(host+=":"+this.port)),this.query&&util.isObject(this.query)&&Object.keys(this.query).length&&(query=querystring.stringify(this.query));var search=this.search||query&&"?"+query||"";return protocol&&":"!==protocol.substr(-1)&&(protocol+=":"),this.slashes||(!protocol||slashedProtocol[protocol])&&!1!==host?(host="//"+(host||""),pathname&&"/"!==pathname.charAt(0)&&(pathname="/"+pathname)):host||(host=""),hash&&"#"!==hash.charAt(0)&&(hash="#"+hash),search&&"?"!==search.charAt(0)&&(search="?"+search),protocol+host+(pathname=pathname.replace(/[?#]/g,(function(match){return encodeURIComponent(match)})))+(search=search.replace("#","%23"))+hash},Url.prototype.resolve=function(relative){return this.resolveObject(urlParse(relative,!1,!0)).format()},Url.prototype.resolveObject=function(relative){if(util.isString(relative)){var rel=new Url;rel.parse(relative,!1,!0),relative=rel}for(var result=new Url,tkeys=Object.keys(this),tk=0;tk<tkeys.length;tk++){var tkey=tkeys[tk];result[tkey]=this[tkey]}if(result.hash=relative.hash,""===relative.href)return result.href=result.format(),result;if(relative.slashes&&!relative.protocol){for(var rkeys=Object.keys(relative),rk=0;rk<rkeys.length;rk++){var rkey=rkeys[rk];"protocol"!==rkey&&(result[rkey]=relative[rkey])}return slashedProtocol[result.protocol]&&result.hostname&&!result.pathname&&(result.path=result.pathname="/"),result.href=result.format(),result}if(relative.protocol&&relative.protocol!==result.protocol){if(!slashedProtocol[relative.protocol]){for(var keys=Object.keys(relative),v=0;v<keys.length;v++){var k=keys[v];result[k]=relative[k]}return result.href=result.format(),result}if(result.protocol=relative.protocol,relative.host||hostlessProtocol[relative.protocol])result.pathname=relative.pathname;else{for(var relPath=(relative.pathname||"").split("/");relPath.length&&!(relative.host=relPath.shift()););relative.host||(relative.host=""),relative.hostname||(relative.hostname=""),""!==relPath[0]&&relPath.unshift(""),relPath.length<2&&relPath.unshift(""),result.pathname=relPath.join("/")}if(result.search=relative.search,result.query=relative.query,result.host=relative.host||"",result.auth=relative.auth,result.hostname=relative.hostname||relative.host,result.port=relative.port,result.pathname||result.search){var p=result.pathname||"",s=result.search||"";result.path=p+s}return result.slashes=result.slashes||relative.slashes,result.href=result.format(),result}var isSourceAbs=result.pathname&&"/"===result.pathname.charAt(0),isRelAbs=relative.host||relative.pathname&&"/"===relative.pathname.charAt(0),mustEndAbs=isRelAbs||isSourceAbs||result.host&&relative.pathname,removeAllDots=mustEndAbs,srcPath=result.pathname&&result.pathname.split("/")||[],psychotic=(relPath=relative.pathname&&relative.pathname.split("/")||[],result.protocol&&!slashedProtocol[result.protocol]);if(psychotic&&(result.hostname="",result.port=null,result.host&&(""===srcPath[0]?srcPath[0]=result.host:srcPath.unshift(result.host)),result.host="",relative.protocol&&(relative.hostname=null,relative.port=null,relative.host&&(""===relPath[0]?relPath[0]=relative.host:relPath.unshift(relative.host)),relative.host=null),mustEndAbs=mustEndAbs&&(""===relPath[0]||""===srcPath[0])),isRelAbs)result.host=relative.host||""===relative.host?relative.host:result.host,result.hostname=relative.hostname||""===relative.hostname?relative.hostname:result.hostname,result.search=relative.search,result.query=relative.query,srcPath=relPath;else if(relPath.length)srcPath||(srcPath=[]),srcPath.pop(),srcPath=srcPath.concat(relPath),result.search=relative.search,result.query=relative.query;else if(!util.isNullOrUndefined(relative.search)){if(psychotic)result.hostname=result.host=srcPath.shift(),(authInHost=!!(result.host&&result.host.indexOf("@")>0)&&result.host.split("@"))&&(result.auth=authInHost.shift(),result.host=result.hostname=authInHost.shift());return result.search=relative.search,result.query=relative.query,util.isNull(result.pathname)&&util.isNull(result.search)||(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")),result.href=result.format(),result}if(!srcPath.length)return result.pathname=null,result.search?result.path="/"+result.search:result.path=null,result.href=result.format(),result;for(var last=srcPath.slice(-1)[0],hasTrailingSlash=(result.host||relative.host||srcPath.length>1)&&("."===last||".."===last)||""===last,up=0,i=srcPath.length;i>=0;i--)"."===(last=srcPath[i])?srcPath.splice(i,1):".."===last?(srcPath.splice(i,1),up++):up&&(srcPath.splice(i,1),up--);if(!mustEndAbs&&!removeAllDots)for(;up--;up)srcPath.unshift("..");!mustEndAbs||""===srcPath[0]||srcPath[0]&&"/"===srcPath[0].charAt(0)||srcPath.unshift(""),hasTrailingSlash&&"/"!==srcPath.join("/").substr(-1)&&srcPath.push("");var authInHost,isAbsolute=""===srcPath[0]||srcPath[0]&&"/"===srcPath[0].charAt(0);psychotic&&(result.hostname=result.host=isAbsolute?"":srcPath.length?srcPath.shift():"",(authInHost=!!(result.host&&result.host.indexOf("@")>0)&&result.host.split("@"))&&(result.auth=authInHost.shift(),result.host=result.hostname=authInHost.shift()));return(mustEndAbs=mustEndAbs||result.host&&srcPath.length)&&!isAbsolute&&srcPath.unshift(""),srcPath.length?result.pathname=srcPath.join("/"):(result.pathname=null,result.path=null),util.isNull(result.pathname)&&util.isNull(result.search)||(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")),result.auth=relative.auth||result.auth,result.slashes=result.slashes||relative.slashes,result.href=result.format(),result},Url.prototype.parseHost=function(){var host=this.host,port=portPattern.exec(host);port&&(":"!==(port=port[0])&&(this.port=port.substr(1)),host=host.substr(0,host.length-port.length)),host&&(this.hostname=host)}},62502:function(module){module.exports={isString:function(arg){return"string"==typeof arg},isObject:function(arg){return"object"==typeof arg&&null!==arg},isNull:function(arg){return null===arg},isNullOrUndefined:function(arg){return null==arg}}},94927:function(module,__unused_webpack_exports,__webpack_require__){function config(name){try{if(!__webpack_require__.g.localStorage)return!1}catch(_){return!1}var val=__webpack_require__.g.localStorage[name];return null!=val&&"true"===String(val).toLowerCase()}module.exports=function deprecate(fn,msg){if(config("noDeprecation"))return fn;var warned=!1;return function deprecated(){if(!warned){if(config("throwDeprecation"))throw new Error(msg);config("traceDeprecation")?console.trace(msg):console.warn(msg),warned=!0}return fn.apply(this,arguments)}}},20384:function(module){module.exports=function isBuffer(arg){return arg&&"object"==typeof arg&&"function"==typeof arg.copy&&"function"==typeof arg.fill&&"function"==typeof arg.readUInt8}},55955:function(__unused_webpack_module,exports,__webpack_require__){var isArgumentsObject=__webpack_require__(82584),isGeneratorFunction=__webpack_require__(48662),whichTypedArray=__webpack_require__(86430),isTypedArray=__webpack_require__(85692);function uncurryThis(f){return f.call.bind(f)}var BigIntSupported="undefined"!=typeof BigInt,SymbolSupported="undefined"!=typeof Symbol,ObjectToString=uncurryThis(Object.prototype.toString),numberValue=uncurryThis(Number.prototype.valueOf),stringValue=uncurryThis(String.prototype.valueOf),booleanValue=uncurryThis(Boolean.prototype.valueOf);if(BigIntSupported)var bigIntValue=uncurryThis(BigInt.prototype.valueOf);if(SymbolSupported)var symbolValue=uncurryThis(Symbol.prototype.valueOf);function checkBoxedPrimitive(value,prototypeValueOf){if("object"!=typeof value)return!1;try{return prototypeValueOf(value),!0}catch(e){return!1}}function isMapToString(value){return"[object Map]"===ObjectToString(value)}function isSetToString(value){return"[object Set]"===ObjectToString(value)}function isWeakMapToString(value){return"[object WeakMap]"===ObjectToString(value)}function isWeakSetToString(value){return"[object WeakSet]"===ObjectToString(value)}function isArrayBufferToString(value){return"[object ArrayBuffer]"===ObjectToString(value)}function isArrayBuffer(value){return"undefined"!=typeof ArrayBuffer&&(isArrayBufferToString.working?isArrayBufferToString(value):value instanceof ArrayBuffer)}function isDataViewToString(value){return"[object DataView]"===ObjectToString(value)}function isDataView(value){return"undefined"!=typeof DataView&&(isDataViewToString.working?isDataViewToString(value):value instanceof DataView)}exports.isArgumentsObject=isArgumentsObject,exports.isGeneratorFunction=isGeneratorFunction,exports.isTypedArray=isTypedArray,exports.isPromise=function isPromise(input){return"undefined"!=typeof Promise&&input instanceof Promise||null!==input&&"object"==typeof input&&"function"==typeof input.then&&"function"==typeof input.catch},exports.isArrayBufferView=function isArrayBufferView(value){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(value):isTypedArray(value)||isDataView(value)},exports.isUint8Array=function isUint8Array(value){return"Uint8Array"===whichTypedArray(value)},exports.isUint8ClampedArray=function isUint8ClampedArray(value){return"Uint8ClampedArray"===whichTypedArray(value)},exports.isUint16Array=function isUint16Array(value){return"Uint16Array"===whichTypedArray(value)},exports.isUint32Array=function isUint32Array(value){return"Uint32Array"===whichTypedArray(value)},exports.isInt8Array=function isInt8Array(value){return"Int8Array"===whichTypedArray(value)},exports.isInt16Array=function isInt16Array(value){return"Int16Array"===whichTypedArray(value)},exports.isInt32Array=function isInt32Array(value){return"Int32Array"===whichTypedArray(value)},exports.isFloat32Array=function isFloat32Array(value){return"Float32Array"===whichTypedArray(value)},exports.isFloat64Array=function isFloat64Array(value){return"Float64Array"===whichTypedArray(value)},exports.isBigInt64Array=function isBigInt64Array(value){return"BigInt64Array"===whichTypedArray(value)},exports.isBigUint64Array=function isBigUint64Array(value){return"BigUint64Array"===whichTypedArray(value)},isMapToString.working="undefined"!=typeof Map&&isMapToString(new Map),exports.isMap=function isMap(value){return"undefined"!=typeof Map&&(isMapToString.working?isMapToString(value):value instanceof Map)},isSetToString.working="undefined"!=typeof Set&&isSetToString(new Set),exports.isSet=function isSet(value){return"undefined"!=typeof Set&&(isSetToString.working?isSetToString(value):value instanceof Set)},isWeakMapToString.working="undefined"!=typeof WeakMap&&isWeakMapToString(new WeakMap),exports.isWeakMap=function isWeakMap(value){return"undefined"!=typeof WeakMap&&(isWeakMapToString.working?isWeakMapToString(value):value instanceof WeakMap)},isWeakSetToString.working="undefined"!=typeof WeakSet&&isWeakSetToString(new WeakSet),exports.isWeakSet=function isWeakSet(value){return isWeakSetToString(value)},isArrayBufferToString.working="undefined"!=typeof ArrayBuffer&&isArrayBufferToString(new ArrayBuffer),exports.isArrayBuffer=isArrayBuffer,isDataViewToString.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&isDataViewToString(new DataView(new ArrayBuffer(1),0,1)),exports.isDataView=isDataView;var SharedArrayBufferCopy="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function isSharedArrayBufferToString(value){return"[object SharedArrayBuffer]"===ObjectToString(value)}function isSharedArrayBuffer(value){return void 0!==SharedArrayBufferCopy&&(void 0===isSharedArrayBufferToString.working&&(isSharedArrayBufferToString.working=isSharedArrayBufferToString(new SharedArrayBufferCopy)),isSharedArrayBufferToString.working?isSharedArrayBufferToString(value):value instanceof SharedArrayBufferCopy)}function isNumberObject(value){return checkBoxedPrimitive(value,numberValue)}function isStringObject(value){return checkBoxedPrimitive(value,stringValue)}function isBooleanObject(value){return checkBoxedPrimitive(value,booleanValue)}function isBigIntObject(value){return BigIntSupported&&checkBoxedPrimitive(value,bigIntValue)}function isSymbolObject(value){return SymbolSupported&&checkBoxedPrimitive(value,symbolValue)}exports.isSharedArrayBuffer=isSharedArrayBuffer,exports.isAsyncFunction=function isAsyncFunction(value){return"[object AsyncFunction]"===ObjectToString(value)},exports.isMapIterator=function isMapIterator(value){return"[object Map Iterator]"===ObjectToString(value)},exports.isSetIterator=function isSetIterator(value){return"[object Set Iterator]"===ObjectToString(value)},exports.isGeneratorObject=function isGeneratorObject(value){return"[object Generator]"===ObjectToString(value)},exports.isWebAssemblyCompiledModule=function isWebAssemblyCompiledModule(value){return"[object WebAssembly.Module]"===ObjectToString(value)},exports.isNumberObject=isNumberObject,exports.isStringObject=isStringObject,exports.isBooleanObject=isBooleanObject,exports.isBigIntObject=isBigIntObject,exports.isSymbolObject=isSymbolObject,exports.isBoxedPrimitive=function isBoxedPrimitive(value){return isNumberObject(value)||isStringObject(value)||isBooleanObject(value)||isBigIntObject(value)||isSymbolObject(value)},exports.isAnyArrayBuffer=function isAnyArrayBuffer(value){return"undefined"!=typeof Uint8Array&&(isArrayBuffer(value)||isSharedArrayBuffer(value))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(method){Object.defineProperty(exports,method,{enumerable:!1,value:function(){throw new Error(method+" is not supported in userland")}})}))},89539:function(__unused_webpack_module,exports,__webpack_require__){var process=__webpack_require__(34155),getOwnPropertyDescriptors=Object.getOwnPropertyDescriptors||function getOwnPropertyDescriptors(obj){for(var keys=Object.keys(obj),descriptors={},i=0;i<keys.length;i++)descriptors[keys[i]]=Object.getOwnPropertyDescriptor(obj,keys[i]);return descriptors},formatRegExp=/%[sdj%]/g;exports.format=function(f){if(!isString(f)){for(var objects=[],i=0;i<arguments.length;i++)objects.push(inspect(arguments[i]));return objects.join(" ")}i=1;for(var args=arguments,len=args.length,str=String(f).replace(formatRegExp,(function(x){if("%%"===x)return"%";if(i>=len)return x;switch(x){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}default:return x}})),x=args[i];i<len;x=args[++i])isNull(x)||!isObject(x)?str+=" "+x:str+=" "+inspect(x);return str},exports.deprecate=function(fn,msg){if(void 0!==process&&!0===process.noDeprecation)return fn;if(void 0===process)return function(){return exports.deprecate(fn,msg).apply(this,arguments)};var warned=!1;return function deprecated(){if(!warned){if(process.throwDeprecation)throw new Error(msg);process.traceDeprecation?console.trace(msg):console.error(msg),warned=!0}return fn.apply(this,arguments)}};var debugs={},debugEnvRegex=/^$/;if(process.env.NODE_DEBUG){var debugEnv=process.env.NODE_DEBUG;debugEnv=debugEnv.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),debugEnvRegex=new RegExp("^"+debugEnv+"$","i")}function inspect(obj,opts){var ctx={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(ctx.depth=arguments[2]),arguments.length>=4&&(ctx.colors=arguments[3]),isBoolean(opts)?ctx.showHidden=opts:opts&&exports._extend(ctx,opts),isUndefined(ctx.showHidden)&&(ctx.showHidden=!1),isUndefined(ctx.depth)&&(ctx.depth=2),isUndefined(ctx.colors)&&(ctx.colors=!1),isUndefined(ctx.customInspect)&&(ctx.customInspect=!0),ctx.colors&&(ctx.stylize=stylizeWithColor),formatValue(ctx,obj,ctx.depth)}function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];return style?"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m":str}function stylizeNoColor(str,styleType){return str}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&(!value.constructor||value.constructor.prototype!==value)){var ret=value.inspect(recurseTimes,ctx);return isString(ret)||(ret=formatValue(ctx,ret,recurseTimes)),ret}var primitive=function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ctx.stylize(simple,"string")}if(isNumber(value))return ctx.stylize(""+value,"number");if(isBoolean(value))return ctx.stylize(""+value,"boolean");if(isNull(value))return ctx.stylize("null","null")}(ctx,value);if(primitive)return primitive;var keys=Object.keys(value),visibleKeys=function arrayToHash(array){var hash={};return array.forEach((function(val,idx){hash[val]=!0})),hash}(keys);if(ctx.showHidden&&(keys=Object.getOwnPropertyNames(value)),isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0))return formatError(value);if(0===keys.length){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value))return ctx.stylize(RegExp.prototype.toString.call(value),"regexp");if(isDate(value))return ctx.stylize(Date.prototype.toString.call(value),"date");if(isError(value))return formatError(value)}var output,base="",array=!1,braces=["{","}"];(isArray(value)&&(array=!0,braces=["[","]"]),isFunction(value))&&(base=" [Function"+(value.name?": "+value.name:"")+"]");return isRegExp(value)&&(base=" "+RegExp.prototype.toString.call(value)),isDate(value)&&(base=" "+Date.prototype.toUTCString.call(value)),isError(value)&&(base=" "+formatError(value)),0!==keys.length||array&&0!=value.length?recurseTimes<0?isRegExp(value)?ctx.stylize(RegExp.prototype.toString.call(value),"regexp"):ctx.stylize("[Object]","special"):(ctx.seen.push(value),output=array?function formatArray(ctx,value,recurseTimes,visibleKeys,keys){for(var output=[],i=0,l=value.length;i<l;++i)hasOwnProperty(value,String(i))?output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,String(i),!0)):output.push("");return keys.forEach((function(key){key.match(/^\d+$/)||output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,key,!0))})),output}(ctx,value,recurseTimes,visibleKeys,keys):keys.map((function(key){return formatProperty(ctx,value,recurseTimes,visibleKeys,key,array)})),ctx.seen.pop(),function reduceToSingleString(output,base,braces){if(output.reduce((function(prev,cur){return cur.indexOf("\n")>=0&&0,prev+cur.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return braces[0]+(""===base?"":base+"\n ")+" "+output.join(",\n ")+" "+braces[1];return braces[0]+base+" "+output.join(", ")+" "+braces[1]}(output,base,braces)):braces[0]+base+braces[1]}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatProperty(ctx,value,recurseTimes,visibleKeys,key,array){var name,str,desc;if((desc=Object.getOwnPropertyDescriptor(value,key)||{value:value[key]}).get?str=desc.set?ctx.stylize("[Getter/Setter]","special"):ctx.stylize("[Getter]","special"):desc.set&&(str=ctx.stylize("[Setter]","special")),hasOwnProperty(visibleKeys,key)||(name="["+key+"]"),str||(ctx.seen.indexOf(desc.value)<0?(str=isNull(recurseTimes)?formatValue(ctx,desc.value,null):formatValue(ctx,desc.value,recurseTimes-1)).indexOf("\n")>-1&&(str=array?str.split("\n").map((function(line){return" "+line})).join("\n").substr(2):"\n"+str.split("\n").map((function(line){return" "+line})).join("\n")):str=ctx.stylize("[Circular]","special")),isUndefined(name)){if(array&&key.match(/^\d+$/))return str;(name=JSON.stringify(""+key)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(name=name.substr(1,name.length-2),name=ctx.stylize(name,"name")):(name=name.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),name=ctx.stylize(name,"string"))}return name+": "+str}function isArray(ar){return Array.isArray(ar)}function isBoolean(arg){return"boolean"==typeof arg}function isNull(arg){return null===arg}function isNumber(arg){return"number"==typeof arg}function isString(arg){return"string"==typeof arg}function isUndefined(arg){return void 0===arg}function isRegExp(re){return isObject(re)&&"[object RegExp]"===objectToString(re)}function isObject(arg){return"object"==typeof arg&&null!==arg}function isDate(d){return isObject(d)&&"[object Date]"===objectToString(d)}function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}function isFunction(arg){return"function"==typeof arg}function objectToString(o){return Object.prototype.toString.call(o)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}exports.debuglog=function(set){if(set=set.toUpperCase(),!debugs[set])if(debugEnvRegex.test(set)){var pid=process.pid;debugs[set]=function(){var msg=exports.format.apply(exports,arguments);console.error("%s %d: %s",set,pid,msg)}}else debugs[set]=function(){};return debugs[set]},exports.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},exports.types=__webpack_require__(55955),exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=function isNullOrUndefined(arg){return null==arg},exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=function isSymbol(arg){return"symbol"==typeof arg},exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.types.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.types.isDate=isDate,exports.isError=isError,exports.types.isNativeError=isError,exports.isFunction=isFunction,exports.isPrimitive=function isPrimitive(arg){return null===arg||"boolean"==typeof arg||"number"==typeof arg||"string"==typeof arg||"symbol"==typeof arg||void 0===arg},exports.isBuffer=__webpack_require__(20384);var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function timestamp(){var d=new Date,time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(":");return[d.getDate(),months[d.getMonth()],time].join(" ")}function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))},exports.inherits=__webpack_require__(35717),exports._extend=function(origin,add){if(!add||!isObject(add))return origin;for(var keys=Object.keys(add),i=keys.length;i--;)origin[keys[i]]=add[keys[i]];return origin};var kCustomPromisifiedSymbol="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function callbackifyOnRejected(reason,cb){if(!reason){var newReason=new Error("Promise was rejected with a falsy value");newReason.reason=reason,reason=newReason}return cb(reason)}exports.promisify=function promisify(original){if("function"!=typeof original)throw new TypeError('The "original" argument must be of type Function');if(kCustomPromisifiedSymbol&&original[kCustomPromisifiedSymbol]){var fn;if("function"!=typeof(fn=original[kCustomPromisifiedSymbol]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(fn,kCustomPromisifiedSymbol,{value:fn,enumerable:!1,writable:!1,configurable:!0}),fn}function fn(){for(var promiseResolve,promiseReject,promise=new Promise((function(resolve,reject){promiseResolve=resolve,promiseReject=reject})),args=[],i=0;i<arguments.length;i++)args.push(arguments[i]);args.push((function(err,value){err?promiseReject(err):promiseResolve(value)}));try{original.apply(this,args)}catch(err){promiseReject(err)}return promise}return Object.setPrototypeOf(fn,Object.getPrototypeOf(original)),kCustomPromisifiedSymbol&&Object.defineProperty(fn,kCustomPromisifiedSymbol,{value:fn,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(fn,getOwnPropertyDescriptors(original))},exports.promisify.custom=kCustomPromisifiedSymbol,exports.callbackify=function callbackify(original){if("function"!=typeof original)throw new TypeError('The "original" argument must be of type Function');function callbackified(){for(var args=[],i=0;i<arguments.length;i++)args.push(arguments[i]);var maybeCb=args.pop();if("function"!=typeof maybeCb)throw new TypeError("The last argument must be of type Function");var self=this,cb=function(){return maybeCb.apply(self,arguments)};original.apply(this,args).then((function(ret){process.nextTick(cb.bind(null,null,ret))}),(function(rej){process.nextTick(callbackifyOnRejected.bind(null,rej,cb))}))}return Object.setPrototypeOf(callbackified,Object.getPrototypeOf(original)),Object.defineProperties(callbackified,getOwnPropertyDescriptors(original)),callbackified}},83993:function(module,__unused_webpack_exports,__webpack_require__){const{getGlobalMonotonicClockMS:getGlobalMonotonicClockMS}=__webpack_require__(57465),{Performance:Performance}=__webpack_require__(29070),clockIsAccurate=__webpack_require__(71531);module.exports={Performance:Performance,getGlobalMonotonicClockMS:getGlobalMonotonicClockMS,clockIsAccurate:clockIsAccurate}},81280:function(module,__unused_webpack_exports,__webpack_require__){const{getGlobalMonotonicClockMS:getGlobalMonotonicClockMS}=__webpack_require__(57465);function calculateClockOffset(){const start=Date.now();let cur=start;for(let i=0;i<1e6&&cur===start;i++)cur=Date.now();return cur-getGlobalMonotonicClockMS()}__webpack_require__(71531)?(calculateClockOffset(),calculateClockOffset(),calculateClockOffset(),module.exports=calculateClockOffset):module.exports=void 0},71531:function(module,__unused_webpack_exports,__webpack_require__){const{hrtime:hrtime}=__webpack_require__(59742);function testClockAccuracy(){const roundTrip=hrtime(hrtime());if(roundTrip[0]>1||roundTrip[1]>1e4)return!1;let times,cur,start,end;for(times=100,start=hrtime();times-- >0;)cur=Date.now();if(end=hrtime(start),1e9*end[0]+end[1]>1e6)return!1;for(times=1e4,start=hrtime();times-- >0;)cur=Date.now();return end=hrtime(start),!(1e9*end[0]+end[1]>5e7)}testClockAccuracy(),testClockAccuracy(),testClockAccuracy();let accurates=0;for(let i=0;i<5;i++)testClockAccuracy()&&accurates++;const isAccurate=accurates>=3;module.exports=isAccurate},57465:function(module,__unused_webpack_exports,__webpack_require__){const{hrtime:hrtime,toMS:toMS}=__webpack_require__(59742);module.exports={getGlobalMonotonicClockMS:function getGlobalMonotonicClockMS(){return toMS(hrtime())}}},29070:function(module,__unused_webpack_exports,__webpack_require__){const clockIsAccurate=__webpack_require__(71531),calculateClockOffset=__webpack_require__(81280),{hrtime:hrtime,toMS:toMS}=__webpack_require__(59742),kTimeOrigin=Symbol("time origin"),kTimeOriginTimestamp=Symbol("time origin timestamp");module.exports={Performance:class Performance{constructor(){const timeOrigin=hrtime();if(this[kTimeOrigin]=timeOrigin,clockIsAccurate){const t1=calculateClockOffset(),t2=toMS(timeOrigin);this[kTimeOriginTimestamp]=t1+t2}else{const cur=Date.now();this[kTimeOriginTimestamp]=cur}}get timeOrigin(){return this[kTimeOriginTimestamp]}now(){const diff=toMS(hrtime(this[kTimeOrigin]));return clockIsAccurate?diff:Math.round(diff)}toJSON(){return{timeOrigin:this.timeOrigin}}}}},59742:function(module,__unused_webpack_exports,__webpack_require__){const hrtime=__webpack_require__(46838);module.exports={hrtime:hrtime,toMS:function toMS([sec,nanosec]){return 1e3*sec+nanosec/1e6}}},1556:function(module,__unused_webpack_exports,__webpack_require__){const xnv=__webpack_require__(20330),{NAMESPACES:NAMESPACES}=__webpack_require__(49609);function generatePrefix(map,newNamespace,prefixIndex){const generatedPrefix=`ns${prefixIndex}`;return map[newNamespace]=[generatedPrefix],generatedPrefix}function preferredPrefixString(map,ns,preferredPrefix){const candidateList=map[ns];return candidateList?candidateList.includes(preferredPrefix)?preferredPrefix:candidateList[candidateList.length-1]:null}function serializeAttributeValue(value){return null===value?"":value.replace(/&/gu,"&").replace(/"/gu,""").replace(/</gu,"<").replace(/>/gu,">").replace(/\t/gu,"	").replace(/\n/gu,"
").replace(/\r/gu,"
")}module.exports.preferredPrefixString=preferredPrefixString,module.exports.generatePrefix=generatePrefix,module.exports.serializeAttributeValue=serializeAttributeValue,module.exports.serializeAttributes=function serializeAttributes(element,map,localPrefixes,ignoreNamespaceDefAttr,requireWellFormed,refs){let result="";const namespaceLocalnames=Object.create(null);for(const attr of element.attributes){if(requireWellFormed&&namespaceLocalnames[attr.namespaceURI]&&namespaceLocalnames[attr.namespaceURI].has(attr.localName))throw new Error("Found duplicated attribute");namespaceLocalnames[attr.namespaceURI]||(namespaceLocalnames[attr.namespaceURI]=new Set),namespaceLocalnames[attr.namespaceURI].add(attr.localName);const attributeNamespace=attr.namespaceURI;let candidatePrefix=null;if(null!==attributeNamespace)if(candidatePrefix=preferredPrefixString(map,attributeNamespace,attr.prefix),attributeNamespace===NAMESPACES.XMLNS){if(attr.value===NAMESPACES.XML||null===attr.prefix&&ignoreNamespaceDefAttr||null!==attr.prefix&&localPrefixes[attr.localName]!==attr.value&&map[attr.value].includes(attr.localName))continue;if(requireWellFormed&&attr.value===NAMESPACES.XMLNS)throw new Error("The XMLNS namespace is reserved and cannot be applied as an element's namespace via XML parsing");if(requireWellFormed&&""===attr.value)throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace");"xmlns"===attr.prefix&&(candidatePrefix="xmlns")}else null===candidatePrefix&&(candidatePrefix=generatePrefix(map,attributeNamespace,refs.prefixIndex++),result+=` xmlns:${candidatePrefix}="${serializeAttributeValue(attributeNamespace)}"`);if(result+=" ",null!==candidatePrefix&&(result+=`${candidatePrefix}:`),requireWellFormed&&(attr.localName.includes(":")||!xnv.name(attr.localName)||"xmlns"===attr.localName&&null===attributeNamespace))throw new Error("Invalid attribute localName value");result+=`${attr.localName}="${serializeAttributeValue(attr.value)}"`}return result}},49609:function(module){module.exports.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"},module.exports.NODE_TYPES={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12},module.exports.VOID_ELEMENTS=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"])},67768:function(module,__unused_webpack_exports,__webpack_require__){const xnv=__webpack_require__(20330),attributeUtils=__webpack_require__(1556),{NAMESPACES:NAMESPACES,VOID_ELEMENTS:VOID_ELEMENTS,NODE_TYPES:NODE_TYPES}=__webpack_require__(49609),XML_CHAR=/^(\x09|\x0A|\x0D|[\x20-\uD7FF]|[\uE000-\uFFFD]|(?:[\uD800-\uDBFF][\uDC00-\uDFFF]))*$/u,PUBID_CHAR=/^(\x20|\x0D|\x0A|[a-zA-Z0-9]|[-'()+,./:=?;!*#@$_%])*$/u;function serializeElement(node,namespace,prefixMap,requireWellFormed,refs){if(requireWellFormed&&(node.localName.includes(":")||!xnv.name(node.localName)))throw new Error("Failed to serialize XML: element node localName is not a valid XML name.");let markup="<",qualifiedName="",skipEndTag=!1,ignoreNamespaceDefinitionAttr=!1;const map={...prefixMap},localPrefixesMap=Object.create(null),localDefaultNamespace=function recordNamespaceInformation(element,map,prefixMap){let defaultNamespaceAttrValue=null;for(let i=0;i<element.attributes.length;++i){const attr=element.attributes[i];if(attr.namespaceURI===NAMESPACES.XMLNS){if(null===attr.prefix){defaultNamespaceAttrValue=attr.value;continue}let namespaceDefinition=attr.value;if(namespaceDefinition===NAMESPACES.XML)continue;if(null===namespaceDefinition&&(namespaceDefinition=""),namespaceDefinition in map&&map[namespaceDefinition].includes(attr.localName))continue;namespaceDefinition in map||(map[namespaceDefinition]=[]),map[namespaceDefinition].push(attr.localName),prefixMap[attr.localName]=namespaceDefinition}}return defaultNamespaceAttrValue}(node,map,localPrefixesMap);let inheritedNs=namespace;const ns=node.namespaceURI;if(inheritedNs===ns)null!==localDefaultNamespace&&(ignoreNamespaceDefinitionAttr=!0),qualifiedName=ns===NAMESPACES.XML?`xml:${node.localName}`:node.localName,markup+=qualifiedName;else{let{prefix:prefix}=node,candidatePrefix=attributeUtils.preferredPrefixString(map,ns,prefix);if("xmlns"===prefix){if(requireWellFormed)throw new Error('Failed to serialize XML: element nodes can\'t have a prefix of "xmlns".');candidatePrefix="xmlns"}null!==candidatePrefix?(qualifiedName=`${candidatePrefix}:${node.localName}`,null!==localDefaultNamespace&&localDefaultNamespace!==NAMESPACES.XML&&(inheritedNs=""===localDefaultNamespace?null:localDefaultNamespace),markup+=qualifiedName):null!==prefix?(prefix in localPrefixesMap&&(prefix=attributeUtils.generatePrefix(map,ns,refs.prefixIndex++)),map[ns]?map[ns].push(prefix):map[ns]=[prefix],qualifiedName=`${prefix}:${node.localName}`,markup+=`${qualifiedName} xmlns:${prefix}="${attributeUtils.serializeAttributeValue(ns,requireWellFormed)}"`,null!==localDefaultNamespace&&(inheritedNs=""===localDefaultNamespace?null:localDefaultNamespace)):null===localDefaultNamespace||localDefaultNamespace!==ns?(ignoreNamespaceDefinitionAttr=!0,qualifiedName=node.localName,inheritedNs=ns,markup+=`${qualifiedName} xmlns="${attributeUtils.serializeAttributeValue(ns,requireWellFormed)}"`):(qualifiedName=node.localName,inheritedNs=ns,markup+=qualifiedName)}if(markup+=attributeUtils.serializeAttributes(node,map,localPrefixesMap,ignoreNamespaceDefinitionAttr,requireWellFormed,refs),ns===NAMESPACES.HTML&&0===node.childNodes.length&&VOID_ELEMENTS.has(node.localName)?(markup+=" /",skipEndTag=!0):ns!==NAMESPACES.HTML&&0===node.childNodes.length&&(markup+="/",skipEndTag=!0),markup+=">",skipEndTag)return markup;if(ns===NAMESPACES.HTML&&"template"===node.localName)markup+=xmlSerialization(node.content,inheritedNs,map,requireWellFormed,refs);else for(const child of node.childNodes)markup+=xmlSerialization(child,inheritedNs,map,requireWellFormed,refs);return markup+=`</${qualifiedName}>`,markup}function xmlSerialization(node,namespace,prefixMap,requireWellFormed,refs){switch(node.nodeType){case NODE_TYPES.ELEMENT_NODE:return serializeElement(node,namespace,prefixMap,requireWellFormed,refs);case NODE_TYPES.DOCUMENT_NODE:return function serializeDocument(node,namespace,prefixMap,requireWellFormed,refs){if(requireWellFormed&&null===node.documentElement)throw new Error("Failed to serialize XML: document does not have a document element.");let serializedDocument="";for(const child of node.childNodes)serializedDocument+=xmlSerialization(child,namespace,prefixMap,requireWellFormed,refs);return serializedDocument}(node,namespace,prefixMap,requireWellFormed,refs);case NODE_TYPES.COMMENT_NODE:return function serializeComment(node,namespace,prefixMap,requireWellFormed){if(requireWellFormed&&!XML_CHAR.test(node.data))throw new Error("Failed to serialize XML: comment node data is not well-formed.");if(requireWellFormed&&(node.data.includes("--")||node.data.endsWith("-")))throw new Error("Failed to serialize XML: found hyphens in illegal places in comment node data.");return`\x3c!--${node.data}--\x3e`}(node,0,0,requireWellFormed);case NODE_TYPES.TEXT_NODE:return function serializeText(node,namespace,prefixMap,requireWellFormed){if(requireWellFormed&&!XML_CHAR.test(node.data))throw new Error("Failed to serialize XML: text node data is not well-formed.");return node.data.replace(/&/gu,"&").replace(/</gu,"<").replace(/>/gu,">")}(node,0,0,requireWellFormed);case NODE_TYPES.DOCUMENT_FRAGMENT_NODE:return function serializeDocumentFragment(node,namespace,prefixMap,requireWellFormed,refs){let markup="";for(const child of node.childNodes)markup+=xmlSerialization(child,namespace,prefixMap,requireWellFormed,refs);return markup}(node,namespace,prefixMap,requireWellFormed,refs);case NODE_TYPES.DOCUMENT_TYPE_NODE:return function serializeDocumentType(node,namespace,prefixMap,requireWellFormed){if(requireWellFormed&&!PUBID_CHAR.test(node.publicId))throw new Error("Failed to serialize XML: document type node publicId is not well-formed.");if(requireWellFormed&&(!XML_CHAR.test(node.systemId)||node.systemId.includes('"')&&node.systemId.includes("'")))throw new Error("Failed to serialize XML: document type node systemId is not well-formed.");let markup=`<!DOCTYPE ${node.name}`;return""!==node.publicId?markup+=` PUBLIC "${node.publicId}"`:""!==node.systemId&&(markup+=" SYSTEM"),""!==node.systemId&&(markup+=` "${node.systemId}"`),`${markup}>`}(node,0,0,requireWellFormed);case NODE_TYPES.PROCESSING_INSTRUCTION_NODE:return function serializeProcessingInstruction(node,namespace,prefixMap,requireWellFormed){if(requireWellFormed&&(node.target.includes(":")||function asciiCaseInsensitiveMatch(a,b){if(a.length!==b.length)return!1;for(let i=0;i<a.length;++i)if((32|a.charCodeAt(i))!=(32|b.charCodeAt(i)))return!1;return!0}(node.target,"xml")))throw new Error("Failed to serialize XML: processing instruction node target is not well-formed.");if(requireWellFormed&&(!XML_CHAR.test(node.data)||node.data.includes("?>")))throw new Error("Failed to serialize XML: processing instruction node data is not well-formed.");return`<?${node.target} ${node.data}?>`}(node,0,0,requireWellFormed);case NODE_TYPES.ATTRIBUTE_NODE:return"";case NODE_TYPES.CDATA_SECTION_NODE:return function serializeCDATASection(node){return`<![CDATA[${node.data}]]>`}(node);default:throw new TypeError("Failed to serialize XML: only Nodes can be serialized.")}}module.exports=(root,{requireWellFormed:requireWellFormed=!1}={})=>{const namespacePrefixMap=Object.create(null);return namespacePrefixMap["http://www.w3.org/XML/1998/namespace"]=["xml"],xmlSerialization(root,null,namespacePrefixMap,requireWellFormed,{prefixIndex:1})}},10993:function(__unused_webpack_module,exports){function makeException(ErrorType,message,options){return options.globals&&(ErrorType=options.globals[ErrorType.name]),new ErrorType(`${options.context?options.context:"Value"} ${message}.`)}function toNumber(value,options){if("bigint"==typeof value)throw makeException(TypeError,"is a BigInt which cannot be converted to a number",options);return options.globals?options.globals.Number(value):Number(value)}function evenRound(x){return censorNegativeZero(x>0&&x%1==.5&&0==(1&x)||x<0&&x%1==-.5&&1==(1&x)?Math.floor(x):Math.round(x))}function integerPart(n){return censorNegativeZero(Math.trunc(n))}function sign(x){return x<0?-1:1}function censorNegativeZero(x){return 0===x?0:x}function createIntegerConversion(bitLength,{unsigned:unsigned}){let lowerBound,upperBound;unsigned?(lowerBound=0,upperBound=2**bitLength-1):(lowerBound=-(2**(bitLength-1)),upperBound=2**(bitLength-1)-1);const twoToTheBitLength=2**bitLength,twoToOneLessThanTheBitLength=2**(bitLength-1);return(value,options={})=>{let x=toNumber(value,options);if(x=censorNegativeZero(x),options.enforceRange){if(!Number.isFinite(x))throw makeException(TypeError,"is not a finite number",options);if(x=integerPart(x),x<lowerBound||x>upperBound)throw makeException(TypeError,`is outside the accepted range of ${lowerBound} to ${upperBound}, inclusive`,options);return x}return!Number.isNaN(x)&&options.clamp?(x=Math.min(Math.max(x,lowerBound),upperBound),x=evenRound(x),x):Number.isFinite(x)&&0!==x?(x=integerPart(x),x>=lowerBound&&x<=upperBound?x:(x=function modulo(x,y){const signMightNotMatch=x%y;return sign(y)!==sign(signMightNotMatch)?signMightNotMatch+y:signMightNotMatch}(x,twoToTheBitLength),!unsigned&&x>=twoToOneLessThanTheBitLength?x-twoToTheBitLength:x)):0}}function createLongLongConversion(bitLength,{unsigned:unsigned}){const upperBound=Number.MAX_SAFE_INTEGER,lowerBound=unsigned?0:Number.MIN_SAFE_INTEGER,asBigIntN=unsigned?BigInt.asUintN:BigInt.asIntN;return(value,options={})=>{let x=toNumber(value,options);if(x=censorNegativeZero(x),options.enforceRange){if(!Number.isFinite(x))throw makeException(TypeError,"is not a finite number",options);if(x=integerPart(x),x<lowerBound||x>upperBound)throw makeException(TypeError,`is outside the accepted range of ${lowerBound} to ${upperBound}, inclusive`,options);return x}if(!Number.isNaN(x)&&options.clamp)return x=Math.min(Math.max(x,lowerBound),upperBound),x=evenRound(x),x;if(!Number.isFinite(x)||0===x)return 0;let xBigInt=BigInt(integerPart(x));return xBigInt=asBigIntN(bitLength,xBigInt),Number(xBigInt)}}exports.any=value=>value,exports.undefined=()=>{},exports.boolean=value=>Boolean(value),exports.byte=createIntegerConversion(8,{unsigned:!1}),exports.octet=createIntegerConversion(8,{unsigned:!0}),exports.short=createIntegerConversion(16,{unsigned:!1}),exports["unsigned short"]=createIntegerConversion(16,{unsigned:!0}),exports.long=createIntegerConversion(32,{unsigned:!1}),exports["unsigned long"]=createIntegerConversion(32,{unsigned:!0}),exports["long long"]=createLongLongConversion(64,{unsigned:!1}),exports["unsigned long long"]=createLongLongConversion(64,{unsigned:!0}),exports.double=(value,options={})=>{const x=toNumber(value,options);if(!Number.isFinite(x))throw makeException(TypeError,"is not a finite floating-point value",options);return x},exports["unrestricted double"]=(value,options={})=>toNumber(value,options),exports.float=(value,options={})=>{const x=toNumber(value,options);if(!Number.isFinite(x))throw makeException(TypeError,"is not a finite floating-point value",options);if(Object.is(x,-0))return x;const y=Math.fround(x);if(!Number.isFinite(y))throw makeException(TypeError,"is outside the range of a single-precision floating-point value",options);return y},exports["unrestricted float"]=(value,options={})=>{const x=toNumber(value,options);return isNaN(x)||Object.is(x,-0)?x:Math.fround(x)},exports.DOMString=(value,options={})=>{if(options.treatNullAsEmptyString&&null===value)return"";if("symbol"==typeof value)throw makeException(TypeError,"is a symbol, which cannot be converted to a string",options);return(options.globals?options.globals.String:String)(value)},exports.ByteString=(value,options={})=>{const x=exports.DOMString(value,options);let c;for(let i=0;void 0!==(c=x.codePointAt(i));++i)if(c>255)throw makeException(TypeError,"is not a valid ByteString",options);return x},exports.USVString=(value,options={})=>{const S=exports.DOMString(value,options),n=S.length,U=[];for(let i=0;i<n;++i){const c=S.charCodeAt(i);if(c<55296||c>57343)U.push(String.fromCodePoint(c));else if(56320<=c&&c<=57343)U.push(String.fromCodePoint(65533));else if(i===n-1)U.push(String.fromCodePoint(65533));else{const d=S.charCodeAt(i+1);if(56320<=d&&d<=57343){const a=1023&c,b=1023&d;U.push(String.fromCodePoint(65536+1024*a+b)),++i}else U.push(String.fromCodePoint(65533))}}return U.join("")},exports.object=(value,options={})=>{if(null===value||"object"!=typeof value&&"function"!=typeof value)throw makeException(TypeError,"is not an object",options);return value};const abByteLengthGetter=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,sabByteLengthGetter="function"==typeof SharedArrayBuffer?Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get:null;function isNonSharedArrayBuffer(value){try{return abByteLengthGetter.call(value),!0}catch{return!1}}function isSharedArrayBuffer(value){try{return sabByteLengthGetter.call(value),!0}catch{return!1}}function isArrayBufferDetached(value){try{return new Uint8Array(value),!1}catch{return!0}}exports.ArrayBuffer=(value,options={})=>{if(!isNonSharedArrayBuffer(value)){if(options.allowShared&&!isSharedArrayBuffer(value))throw makeException(TypeError,"is not an ArrayBuffer or SharedArrayBuffer",options);throw makeException(TypeError,"is not an ArrayBuffer",options)}if(isArrayBufferDetached(value))throw makeException(TypeError,"is a detached ArrayBuffer",options);return value};const dvByteLengthGetter=Object.getOwnPropertyDescriptor(DataView.prototype,"byteLength").get;exports.DataView=(value,options={})=>{try{dvByteLengthGetter.call(value)}catch(e){throw makeException(TypeError,"is not a DataView",options)}if(!options.allowShared&&isSharedArrayBuffer(value.buffer))throw makeException(TypeError,"is backed by a SharedArrayBuffer, which is not allowed",options);if(isArrayBufferDetached(value.buffer))throw makeException(TypeError,"is backed by a detached ArrayBuffer",options);return value};const typedArrayNameGetter=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Uint8Array).prototype,Symbol.toStringTag).get;[Int8Array,Int16Array,Int32Array,Uint8Array,Uint16Array,Uint32Array,Uint8ClampedArray,Float32Array,Float64Array].forEach((func=>{const{name:name}=func,article=/^[AEIOU]/u.test(name)?"an":"a";exports[name]=(value,options={})=>{if(!ArrayBuffer.isView(value)||typedArrayNameGetter.call(value)!==name)throw makeException(TypeError,`is not ${article} ${name} object`,options);if(!options.allowShared&&isSharedArrayBuffer(value.buffer))throw makeException(TypeError,"is a view on a SharedArrayBuffer, which is not allowed",options);if(isArrayBufferDetached(value.buffer))throw makeException(TypeError,"is a view on a detached ArrayBuffer",options);return value}})),exports.ArrayBufferView=(value,options={})=>{if(!ArrayBuffer.isView(value))throw makeException(TypeError,"is not a view on an ArrayBuffer or SharedArrayBuffer",options);if(!options.allowShared&&isSharedArrayBuffer(value.buffer))throw makeException(TypeError,"is a view on a SharedArrayBuffer, which is not allowed",options);if(isArrayBufferDetached(value.buffer))throw makeException(TypeError,"is a view on a detached ArrayBuffer",options);return value},exports.BufferSource=(value,options={})=>{if(ArrayBuffer.isView(value)){if(!options.allowShared&&isSharedArrayBuffer(value.buffer))throw makeException(TypeError,"is a view on a SharedArrayBuffer, which is not allowed",options);if(isArrayBufferDetached(value.buffer))throw makeException(TypeError,"is a view on a detached ArrayBuffer",options);return value}if(!options.allowShared&&!isNonSharedArrayBuffer(value))throw makeException(TypeError,"is not an ArrayBuffer or a view on one",options);if(options.allowShared&&!isSharedArrayBuffer(value)&&!isNonSharedArrayBuffer(value))throw makeException(TypeError,"is not an ArrayBuffer, SharedArrayBuffer, or a view on one",options);if(isArrayBufferDetached(value))throw makeException(TypeError,"is a detached ArrayBuffer",options);return value},exports.DOMTimeStamp=exports["unsigned long long"]},81479:function(__unused_webpack_module,exports,__webpack_require__){const iconvLite=__webpack_require__(4914),supportedNames=__webpack_require__(30394),labelsToNames=__webpack_require__(45952),supportedNamesSet=new Set(supportedNames);exports.labelToName=label=>(label=String(label).trim().toLowerCase(),labelsToNames[label]||null),exports.decode=(uint8Array,fallbackEncodingName)=>{let encoding=fallbackEncodingName;if(!exports.isSupported(encoding))throw new RangeError(`"${encoding}" is not a supported encoding name`);const bomEncoding=exports.getBOMEncoding(uint8Array);return null!==bomEncoding&&(encoding=bomEncoding),iconvLite.decode(uint8Array,encoding)},exports.getBOMEncoding=uint8Array=>254===uint8Array[0]&&255===uint8Array[1]?"UTF-16BE":255===uint8Array[0]&&254===uint8Array[1]?"UTF-16LE":239===uint8Array[0]&&187===uint8Array[1]&&191===uint8Array[2]?"UTF-8":null,exports.isSupported=name=>supportedNamesSet.has(String(name))},10372:function(module,__unused_webpack_exports,__webpack_require__){const{asciiLowercase:asciiLowercase,solelyContainsHTTPTokenCodePoints:solelyContainsHTTPTokenCodePoints,soleyContainsHTTPQuotedStringTokenCodePoints:soleyContainsHTTPQuotedStringTokenCodePoints}=__webpack_require__(61056);module.exports=class MIMETypeParameters{constructor(map){this._map=map}get size(){return this._map.size}get(name){return name=asciiLowercase(String(name)),this._map.get(name)}has(name){return name=asciiLowercase(String(name)),this._map.has(name)}set(name,value){if(name=asciiLowercase(String(name)),value=String(value),!solelyContainsHTTPTokenCodePoints(name))throw new Error(`Invalid MIME type parameter name "${name}": only HTTP token code points are valid.`);if(!soleyContainsHTTPQuotedStringTokenCodePoints(value))throw new Error(`Invalid MIME type parameter value "${value}": only HTTP quoted-string token code points are valid.`);return this._map.set(name,value)}clear(){this._map.clear()}delete(name){return name=asciiLowercase(String(name)),this._map.delete(name)}forEach(callbackFn,thisArg){this._map.forEach(callbackFn,thisArg)}keys(){return this._map.keys()}values(){return this._map.values()}entries(){return this._map.entries()}[Symbol.iterator](){return this._map[Symbol.iterator]()}}},36766:function(module,__unused_webpack_exports,__webpack_require__){const MIMETypeParameters=__webpack_require__(10372),parse=__webpack_require__(10172),serialize=__webpack_require__(29400),{asciiLowercase:asciiLowercase,solelyContainsHTTPTokenCodePoints:solelyContainsHTTPTokenCodePoints}=__webpack_require__(61056);module.exports=class MIMEType{constructor(string){string=String(string);const result=parse(string);if(null===result)throw new Error(`Could not parse MIME type string "${string}"`);this._type=result.type,this._subtype=result.subtype,this._parameters=new MIMETypeParameters(result.parameters)}static parse(string){try{return new this(string)}catch(e){return null}}get essence(){return`${this.type}/${this.subtype}`}get type(){return this._type}set type(value){if(0===(value=asciiLowercase(String(value))).length)throw new Error("Invalid type: must be a non-empty string");if(!solelyContainsHTTPTokenCodePoints(value))throw new Error(`Invalid type ${value}: must contain only HTTP token code points`);this._type=value}get subtype(){return this._subtype}set subtype(value){if(0===(value=asciiLowercase(String(value))).length)throw new Error("Invalid subtype: must be a non-empty string");if(!solelyContainsHTTPTokenCodePoints(value))throw new Error(`Invalid subtype ${value}: must contain only HTTP token code points`);this._subtype=value}get parameters(){return this._parameters}toString(){return serialize(this)}isJavaScript({prohibitParameters:prohibitParameters=!1}={}){switch(this._type){case"text":switch(this._subtype){case"ecmascript":case"javascript":case"javascript1.0":case"javascript1.1":case"javascript1.2":case"javascript1.3":case"javascript1.4":case"javascript1.5":case"jscript":case"livescript":case"x-ecmascript":case"x-javascript":return!prohibitParameters||0===this._parameters.size;default:return!1}case"application":switch(this._subtype){case"ecmascript":case"javascript":case"x-ecmascript":case"x-javascript":return!prohibitParameters||0===this._parameters.size;default:return!1}default:return!1}}isXML(){return"xml"===this._subtype&&("text"===this._type||"application"===this._type)||this._subtype.endsWith("+xml")}isHTML(){return"html"===this._subtype&&"text"===this._type}}},10172:function(module,__unused_webpack_exports,__webpack_require__){const{removeLeadingAndTrailingHTTPWhitespace:removeLeadingAndTrailingHTTPWhitespace,removeTrailingHTTPWhitespace:removeTrailingHTTPWhitespace,isHTTPWhitespaceChar:isHTTPWhitespaceChar,solelyContainsHTTPTokenCodePoints:solelyContainsHTTPTokenCodePoints,soleyContainsHTTPQuotedStringTokenCodePoints:soleyContainsHTTPQuotedStringTokenCodePoints,asciiLowercase:asciiLowercase,collectAnHTTPQuotedString:collectAnHTTPQuotedString}=__webpack_require__(61056);module.exports=input=>{input=removeLeadingAndTrailingHTTPWhitespace(input);let position=0,type="";for(;position<input.length&&"/"!==input[position];)type+=input[position],++position;if(0===type.length||!solelyContainsHTTPTokenCodePoints(type))return null;if(position>=input.length)return null;++position;let subtype="";for(;position<input.length&&";"!==input[position];)subtype+=input[position],++position;if(subtype=removeTrailingHTTPWhitespace(subtype),0===subtype.length||!solelyContainsHTTPTokenCodePoints(subtype))return null;const mimeType={type:asciiLowercase(type),subtype:asciiLowercase(subtype),parameters:new Map};for(;position<input.length;){for(++position;isHTTPWhitespaceChar(input[position]);)++position;let parameterName="";for(;position<input.length&&";"!==input[position]&&"="!==input[position];)parameterName+=input[position],++position;if(parameterName=asciiLowercase(parameterName),position<input.length){if(";"===input[position])continue;++position}let parameterValue=null;if('"'===input[position])for([parameterValue,position]=collectAnHTTPQuotedString(input,position);position<input.length&&";"!==input[position];)++position;else{for(parameterValue="";position<input.length&&";"!==input[position];)parameterValue+=input[position],++position;if(parameterValue=removeTrailingHTTPWhitespace(parameterValue),""===parameterValue)continue}parameterName.length>0&&solelyContainsHTTPTokenCodePoints(parameterName)&&soleyContainsHTTPQuotedStringTokenCodePoints(parameterValue)&&!mimeType.parameters.has(parameterName)&&mimeType.parameters.set(parameterName,parameterValue)}return mimeType}},29400:function(module,__unused_webpack_exports,__webpack_require__){const{solelyContainsHTTPTokenCodePoints:solelyContainsHTTPTokenCodePoints}=__webpack_require__(61056);module.exports=mimeType=>{let serialization=`${mimeType.type}/${mimeType.subtype}`;if(0===mimeType.parameters.size)return serialization;for(let[name,value]of mimeType.parameters)serialization+=";",serialization+=name,serialization+="=",solelyContainsHTTPTokenCodePoints(value)&&0!==value.length||(value=value.replace(/(["\\])/gu,"\\$1"),value=`"${value}"`),serialization+=value;return serialization}},61056:function(__unused_webpack_module,exports){exports.removeLeadingAndTrailingHTTPWhitespace=string=>string.replace(/^[ \t\n\r]+/u,"").replace(/[ \t\n\r]+$/u,""),exports.removeTrailingHTTPWhitespace=string=>string.replace(/[ \t\n\r]+$/u,""),exports.isHTTPWhitespaceChar=char=>" "===char||"\t"===char||"\n"===char||"\r"===char,exports.solelyContainsHTTPTokenCodePoints=string=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(string),exports.soleyContainsHTTPQuotedStringTokenCodePoints=string=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(string),exports.asciiLowercase=string=>string.replace(/[A-Z]/gu,(l=>l.toLowerCase())),exports.collectAnHTTPQuotedString=(input,position)=>{let value="";for(position++;;){for(;position<input.length&&'"'!==input[position]&&"\\"!==input[position];)value+=input[position],++position;if(position>=input.length)break;const quoteOrBackslash=input[position];if(++position,"\\"!==quoteOrBackslash)break;if(position>=input.length){value+="\\";break}value+=input[position],++position}return[value,position]}},77101:function(__unused_webpack_module,exports,__webpack_require__){const{URL:URL,URLSearchParams:URLSearchParams}=__webpack_require__(97135),urlStateMachine=__webpack_require__(65341),percentEncoding=__webpack_require__(65942),sharedGlobalObject={Array:Array,Object:Object,Promise:Promise,String:String,TypeError:TypeError};URL.install(sharedGlobalObject,["Window"]),URLSearchParams.install(sharedGlobalObject,["Window"]),exports.URL=sharedGlobalObject.URL,exports.URLSearchParams=sharedGlobalObject.URLSearchParams,exports.parseURL=urlStateMachine.parseURL,exports.basicURLParse=urlStateMachine.basicURLParse,exports.serializeURL=urlStateMachine.serializeURL,exports.serializeHost=urlStateMachine.serializeHost,exports.serializeInteger=urlStateMachine.serializeInteger,exports.serializeURLOrigin=urlStateMachine.serializeURLOrigin,exports.setTheUsername=urlStateMachine.setTheUsername,exports.setThePassword=urlStateMachine.setThePassword,exports.cannotHaveAUsernamePasswordPort=urlStateMachine.cannotHaveAUsernamePasswordPort,exports.percentDecodeString=percentEncoding.percentDecodeString,exports.percentDecodeBytes=percentEncoding.percentDecodeBytes},49604:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(9581);exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if("function"!=typeof value)throw new globalObject.TypeError(context+" is not a function");function invokeTheCallbackFunction(...args){const thisArg=utils.tryWrapperForImpl(this);let callResult;for(let i=0;i<args.length;i++)args[i]=utils.tryWrapperForImpl(args[i]);return callResult=Reflect.apply(value,thisArg,args),callResult=conversions.any(callResult,{context:context,globals:globalObject}),callResult}return invokeTheCallbackFunction.construct=(...args)=>{for(let i=0;i<args.length;i++)args[i]=utils.tryWrapperForImpl(args[i]);let callResult=Reflect.construct(value,args);return callResult=conversions.any(callResult,{context:context,globals:globalObject}),callResult},invokeTheCallbackFunction[utils.wrapperSymbol]=value,invokeTheCallbackFunction.objectReference=value,invokeTheCallbackFunction}},39718:function(__unused_webpack_module,exports,__webpack_require__){const usm=__webpack_require__(65341),urlencoded=__webpack_require__(91248),URLSearchParams=__webpack_require__(36736);exports.implementation=class URLImpl{constructor(globalObject,constructorArgs){const url=constructorArgs[0],base=constructorArgs[1];let parsedBase=null;if(void 0!==base&&(parsedBase=usm.basicURLParse(base),null===parsedBase))throw new TypeError(`Invalid base URL: ${base}`);const parsedURL=usm.basicURLParse(url,{baseURL:parsedBase});if(null===parsedURL)throw new TypeError(`Invalid URL: ${url}`);const query=null!==parsedURL.query?parsedURL.query:"";this._url=parsedURL,this._query=URLSearchParams.createImpl(globalObject,[query],{doNotStripQMark:!0}),this._query._url=this}get href(){return usm.serializeURL(this._url)}set href(v){const parsedURL=usm.basicURLParse(v);if(null===parsedURL)throw new TypeError(`Invalid URL: ${v}`);this._url=parsedURL,this._query._list.splice(0);const{query:query}=parsedURL;null!==query&&(this._query._list=urlencoded.parseUrlencodedString(query))}get origin(){return usm.serializeURLOrigin(this._url)}get protocol(){return`${this._url.scheme}:`}set protocol(v){usm.basicURLParse(`${v}:`,{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(v){usm.cannotHaveAUsernamePasswordPort(this._url)||usm.setTheUsername(this._url,v)}get password(){return this._url.password}set password(v){usm.cannotHaveAUsernamePasswordPort(this._url)||usm.setThePassword(this._url,v)}get host(){const url=this._url;return null===url.host?"":null===url.port?usm.serializeHost(url.host):`${usm.serializeHost(url.host)}:${usm.serializeInteger(url.port)}`}set host(v){this._url.cannotBeABaseURL||usm.basicURLParse(v,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":usm.serializeHost(this._url.host)}set hostname(v){this._url.cannotBeABaseURL||usm.basicURLParse(v,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":usm.serializeInteger(this._url.port)}set port(v){usm.cannotHaveAUsernamePasswordPort(this._url)||(""===v?this._url.port=null:usm.basicURLParse(v,{url:this._url,stateOverride:"port"}))}get pathname(){return this._url.cannotBeABaseURL?this._url.path[0]:0===this._url.path.length?"":`/${this._url.path.join("/")}`}set pathname(v){this._url.cannotBeABaseURL||(this._url.path=[],usm.basicURLParse(v,{url:this._url,stateOverride:"path start"}))}get search(){return null===this._url.query||""===this._url.query?"":`?${this._url.query}`}set search(v){const url=this._url;if(""===v)return url.query=null,void(this._query._list=[]);const input="?"===v[0]?v.substring(1):v;url.query="",usm.basicURLParse(input,{url:url,stateOverride:"query"}),this._query._list=urlencoded.parseUrlencodedString(input)}get searchParams(){return this._query}get hash(){return null===this._url.fragment||""===this._url.fragment?"":`#${this._url.fragment}`}set hash(v){if(""===v)return void(this._url.fragment=null);const input="#"===v[0]?v.substring(1):v;this._url.fragment="",usm.basicURLParse(input,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}},64328:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(9581),implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].URL.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'URL'.`)},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class URL{constructor(url){if(arguments.length<1)throw new globalObject.TypeError(`Failed to construct 'URL': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to construct 'URL': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];void 0!==curArg&&(curArg=conversions.USVString(curArg,{context:"Failed to construct 'URL': parameter 2",globals:globalObject})),args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}toJSON(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'toJSON' called on an object that is not a valid instance of URL.");return esValue[implSymbol].toJSON()}get href(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get href' called on an object that is not a valid instance of URL.");return esValue[implSymbol].href}set href(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set href' called on an object that is not a valid instance of URL.");V=conversions.USVString(V,{context:"Failed to set the 'href' property on 'URL': The provided value",globals:globalObject}),esValue[implSymbol].href=V}toString(){if(!exports.is(this))throw new globalObject.TypeError("'toString' called on an object that is not a valid instance of URL.");return this[implSymbol].href}get origin(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get origin' called on an object that is not a valid instance of URL.");return esValue[implSymbol].origin}get protocol(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get protocol' called on an object that is not a valid instance of URL.");return esValue[implSymbol].protocol}set protocol(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set protocol' called on an object that is not a valid instance of URL.");V=conversions.USVString(V,{context:"Failed to set the 'protocol' property on 'URL': The provided value",globals:globalObject}),esValue[implSymbol].protocol=V}get username(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get username' called on an object that is not a valid instance of URL.");return esValue[implSymbol].username}set username(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set username' called on an object that is not a valid instance of URL.");V=conversions.USVString(V,{context:"Failed to set the 'username' property on 'URL': The provided value",globals:globalObject}),esValue[implSymbol].username=V}get password(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get password' called on an object that is not a valid instance of URL.");return esValue[implSymbol].password}set password(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set password' called on an object that is not a valid instance of URL.");V=conversions.USVString(V,{context:"Failed to set the 'password' property on 'URL': The provided value",globals:globalObject}),esValue[implSymbol].password=V}get host(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get host' called on an object that is not a valid instance of URL.");return esValue[implSymbol].host}set host(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set host' called on an object that is not a valid instance of URL.");V=conversions.USVString(V,{context:"Failed to set the 'host' property on 'URL': The provided value",globals:globalObject}),esValue[implSymbol].host=V}get hostname(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hostname' called on an object that is not a valid instance of URL.");return esValue[implSymbol].hostname}set hostname(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set hostname' called on an object that is not a valid instance of URL.");V=conversions.USVString(V,{context:"Failed to set the 'hostname' property on 'URL': The provided value",globals:globalObject}),esValue[implSymbol].hostname=V}get port(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get port' called on an object that is not a valid instance of URL.");return esValue[implSymbol].port}set port(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set port' called on an object that is not a valid instance of URL.");V=conversions.USVString(V,{context:"Failed to set the 'port' property on 'URL': The provided value",globals:globalObject}),esValue[implSymbol].port=V}get pathname(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get pathname' called on an object that is not a valid instance of URL.");return esValue[implSymbol].pathname}set pathname(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set pathname' called on an object that is not a valid instance of URL.");V=conversions.USVString(V,{context:"Failed to set the 'pathname' property on 'URL': The provided value",globals:globalObject}),esValue[implSymbol].pathname=V}get search(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get search' called on an object that is not a valid instance of URL.");return esValue[implSymbol].search}set search(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set search' called on an object that is not a valid instance of URL.");V=conversions.USVString(V,{context:"Failed to set the 'search' property on 'URL': The provided value",globals:globalObject}),esValue[implSymbol].search=V}get searchParams(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get searchParams' called on an object that is not a valid instance of URL.");return utils.getSameObject(this,"searchParams",(()=>utils.tryWrapperForImpl(esValue[implSymbol].searchParams)))}get hash(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get hash' called on an object that is not a valid instance of URL.");return esValue[implSymbol].hash}set hash(V){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set hash' called on an object that is not a valid instance of URL.");V=conversions.USVString(V,{context:"Failed to set the 'hash' property on 'URL': The provided value",globals:globalObject}),esValue[implSymbol].hash=V}}Object.defineProperties(URL.prototype,{toJSON:{enumerable:!0},href:{enumerable:!0},toString:{enumerable:!0},origin:{enumerable:!0},protocol:{enumerable:!0},username:{enumerable:!0},password:{enumerable:!0},host:{enumerable:!0},hostname:{enumerable:!0},port:{enumerable:!0},pathname:{enumerable:!0},search:{enumerable:!0},searchParams:{enumerable:!0},hash:{enumerable:!0},[Symbol.toStringTag]:{value:"URL",configurable:!0}}),ctorRegistry.URL=URL,Object.defineProperty(globalObject,"URL",{configurable:!0,writable:!0,value:URL}),globalNames.includes("Window")&&Object.defineProperty(globalObject,"webkitURL",{configurable:!0,writable:!0,value:URL})};const Impl=__webpack_require__(39718)},1888:function(__unused_webpack_module,exports,__webpack_require__){const urlencoded=__webpack_require__(91248);exports.implementation=class URLSearchParamsImpl{constructor(globalObject,constructorArgs,{doNotStripQMark:doNotStripQMark=!1}){let init=constructorArgs[0];if(this._list=[],this._url=null,doNotStripQMark||"string"!=typeof init||"?"!==init[0]||(init=init.slice(1)),Array.isArray(init))for(const pair of init){if(2!==pair.length)throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element does not contain exactly two elements.");this._list.push([pair[0],pair[1]])}else if("object"==typeof init&&null===Object.getPrototypeOf(init))for(const name of Object.keys(init)){const value=init[name];this._list.push([name,value])}else this._list=urlencoded.parseUrlencodedString(init)}_updateSteps(){if(null!==this._url){let query=urlencoded.serializeUrlencoded(this._list);""===query&&(query=null),this._url._url.query=query}}append(name,value){this._list.push([name,value]),this._updateSteps()}delete(name){let i=0;for(;i<this._list.length;)this._list[i][0]===name?this._list.splice(i,1):i++;this._updateSteps()}get(name){for(const tuple of this._list)if(tuple[0]===name)return tuple[1];return null}getAll(name){const output=[];for(const tuple of this._list)tuple[0]===name&&output.push(tuple[1]);return output}has(name){for(const tuple of this._list)if(tuple[0]===name)return!0;return!1}set(name,value){let found=!1,i=0;for(;i<this._list.length;)this._list[i][0]===name?found?this._list.splice(i,1):(found=!0,this._list[i][1]=value,i++):i++;found||this._list.push([name,value]),this._updateSteps()}sort(){this._list.sort(((a,b)=>a[0]<b[0]?-1:a[0]>b[0]?1:0)),this._updateSteps()}[Symbol.iterator](){return this._list[Symbol.iterator]()}toString(){return urlencoded.serializeUrlencoded(this._list)}}},36736:function(__unused_webpack_module,exports,__webpack_require__){const conversions=__webpack_require__(10993),utils=__webpack_require__(9581),Function=__webpack_require__(49604),newObjectInRealm=utils.newObjectInRealm,implSymbol=utils.implSymbol,ctorRegistrySymbol=utils.ctorRegistrySymbol;function makeWrapper(globalObject,newTarget){let proto;return void 0!==newTarget&&(proto=newTarget.prototype),utils.isObject(proto)||(proto=globalObject[ctorRegistrySymbol].URLSearchParams.prototype),Object.create(proto)}exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation,exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation,exports.convert=(globalObject,value,{context:context="The provided value"}={})=>{if(exports.is(value))return utils.implForWrapper(value);throw new globalObject.TypeError(`${context} is not of type 'URLSearchParams'.`)},exports.createDefaultIterator=(globalObject,target,kind)=>{const iteratorPrototype=globalObject[ctorRegistrySymbol]["URLSearchParams Iterator"],iterator=Object.create(iteratorPrototype);return Object.defineProperty(iterator,utils.iterInternalSymbol,{value:{target:target,kind:kind,index:0},configurable:!0}),iterator},exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)},exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)},exports._internalSetup=(wrapper,globalObject)=>{},exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>(privateData.wrapper=wrapper,exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper),exports.new=(globalObject,newTarget)=>{const wrapper=makeWrapper(globalObject,newTarget);return exports._internalSetup(wrapper,globalObject),Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:!0}),wrapper[implSymbol][utils.wrapperSymbol]=wrapper,Impl.init&&Impl.init(wrapper[implSymbol]),wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some((globalName=>exposed.has(globalName))))return;const ctorRegistry=utils.initCtorRegistry(globalObject);class URLSearchParams{constructor(){const args=[];{let curArg=arguments[0];if(void 0!==curArg)if(utils.isObject(curArg))if(void 0!==curArg[Symbol.iterator]){if(!utils.isObject(curArg))throw new globalObject.TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence is not an iterable object.");{const V=[],tmp=curArg;for(let nextItem of tmp){if(!utils.isObject(nextItem))throw new globalObject.TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element is not an iterable object.");{const V=[],tmp=nextItem;for(let nextItem of tmp)nextItem=conversions.USVString(nextItem,{context:"Failed to construct 'URLSearchParams': parameter 1 sequence's element's element",globals:globalObject}),V.push(nextItem);nextItem=V}V.push(nextItem)}curArg=V}}else{if(!utils.isObject(curArg))throw new globalObject.TypeError("Failed to construct 'URLSearchParams': parameter 1 record is not an object.");{const result=Object.create(null);for(const key of Reflect.ownKeys(curArg)){const desc=Object.getOwnPropertyDescriptor(curArg,key);if(desc&&desc.enumerable){let typedKey=key;typedKey=conversions.USVString(typedKey,{context:"Failed to construct 'URLSearchParams': parameter 1 record's key",globals:globalObject});let typedValue=curArg[key];typedValue=conversions.USVString(typedValue,{context:"Failed to construct 'URLSearchParams': parameter 1 record's value",globals:globalObject}),result[typedKey]=typedValue}}curArg=result}}else curArg=conversions.USVString(curArg,{context:"Failed to construct 'URLSearchParams': parameter 1",globals:globalObject});else curArg="";args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}append(name,value){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'append' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'append' on 'URLSearchParams': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.USVString(curArg,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 2",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].append(...args))}delete(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'delete' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'delete' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'delete' on 'URLSearchParams': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].delete(...args))}get(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'get' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'get' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'get' on 'URLSearchParams': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].get(...args)}getAll(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'getAll' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'getAll' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'getAll' on 'URLSearchParams': parameter 1",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getAll(...args))}has(name){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'has' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new globalObject.TypeError(`Failed to execute 'has' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'has' on 'URLSearchParams': parameter 1",globals:globalObject}),args.push(curArg)}return esValue[implSymbol].has(...args)}set(name,value){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'set' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<2)throw new globalObject.TypeError(`Failed to execute 'set' on 'URLSearchParams': 2 arguments required, but only ${arguments.length} present.`);const args=[];{let curArg=arguments[0];curArg=conversions.USVString(curArg,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 1",globals:globalObject}),args.push(curArg)}{let curArg=arguments[1];curArg=conversions.USVString(curArg,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 2",globals:globalObject}),args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].set(...args))}sort(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'sort' called on an object that is not a valid instance of URLSearchParams.");return utils.tryWrapperForImpl(esValue[implSymbol].sort())}toString(){const esValue=null!=this?this:globalObject;if(!exports.is(esValue))throw new globalObject.TypeError("'toString' called on an object that is not a valid instance of URLSearchParams.");return esValue[implSymbol].toString()}keys(){if(!exports.is(this))throw new globalObject.TypeError("'keys' called on an object that is not a valid instance of URLSearchParams.");return exports.createDefaultIterator(globalObject,this,"key")}values(){if(!exports.is(this))throw new globalObject.TypeError("'values' called on an object that is not a valid instance of URLSearchParams.");return exports.createDefaultIterator(globalObject,this,"value")}entries(){if(!exports.is(this))throw new globalObject.TypeError("'entries' called on an object that is not a valid instance of URLSearchParams.");return exports.createDefaultIterator(globalObject,this,"key+value")}forEach(callback){if(!exports.is(this))throw new globalObject.TypeError("'forEach' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new globalObject.TypeError("Failed to execute 'forEach' on 'iterable': 1 argument required, but only 0 present.");callback=Function.convert(globalObject,callback,{context:"Failed to execute 'forEach' on 'iterable': The callback provided as parameter 1"});const thisArg=arguments[1];let pairs=Array.from(this[implSymbol]),i=0;for(;i<pairs.length;){const[key,value]=pairs[i].map(utils.tryWrapperForImpl);callback.call(thisArg,value,key,this),pairs=Array.from(this[implSymbol]),i++}}}Object.defineProperties(URLSearchParams.prototype,{append:{enumerable:!0},delete:{enumerable:!0},get:{enumerable:!0},getAll:{enumerable:!0},has:{enumerable:!0},set:{enumerable:!0},sort:{enumerable:!0},toString:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0},forEach:{enumerable:!0},[Symbol.toStringTag]:{value:"URLSearchParams",configurable:!0},[Symbol.iterator]:{value:URLSearchParams.prototype.entries,configurable:!0,writable:!0}}),ctorRegistry.URLSearchParams=URLSearchParams,ctorRegistry["URLSearchParams Iterator"]=Object.create(ctorRegistry["%IteratorPrototype%"],{[Symbol.toStringTag]:{configurable:!0,value:"URLSearchParams Iterator"}}),utils.define(ctorRegistry["URLSearchParams Iterator"],{next(){const internal=this&&this[utils.iterInternalSymbol];if(!internal)throw new globalObject.TypeError("next() called on a value that is not a URLSearchParams iterator object");const{target:target,kind:kind,index:index}=internal,values=Array.from(target[implSymbol]);if(index>=values.length)return newObjectInRealm(globalObject,{value:void 0,done:!0});const pair=values[index];return internal.index=index+1,newObjectInRealm(globalObject,utils.iteratorResult(pair.map(utils.tryWrapperForImpl),kind))}}),Object.defineProperty(globalObject,"URLSearchParams",{configurable:!0,writable:!0,value:URLSearchParams})};const Impl=__webpack_require__(1888)},13364:function(module){const utf8Encoder=new TextEncoder,utf8Decoder=new TextDecoder("utf-8",{ignoreBOM:!0});module.exports={utf8Encode:function utf8Encode(string){return utf8Encoder.encode(string)},utf8DecodeWithoutBOM:function utf8DecodeWithoutBOM(bytes){return utf8Decoder.decode(bytes)}}},94149:function(module){function isASCIIDigit(c){return c>=48&&c<=57}function isASCIIAlpha(c){return c>=65&&c<=90||c>=97&&c<=122}module.exports={isASCIIDigit:isASCIIDigit,isASCIIAlpha:isASCIIAlpha,isASCIIAlphanumeric:function isASCIIAlphanumeric(c){return isASCIIAlpha(c)||isASCIIDigit(c)},isASCIIHex:function isASCIIHex(c){return isASCIIDigit(c)||c>=65&&c<=70||c>=97&&c<=102}}},65942:function(module,__unused_webpack_exports,__webpack_require__){const{isASCIIHex:isASCIIHex}=__webpack_require__(94149),{utf8Encode:utf8Encode}=__webpack_require__(13364);function p(char){return char.codePointAt(0)}function percentEncode(c){let hex=c.toString(16).toUpperCase();return 1===hex.length&&(hex=`0${hex}`),`%${hex}`}function percentDecodeBytes(input){const output=new Uint8Array(input.byteLength);let outputIndex=0;for(let i=0;i<input.byteLength;++i){const byte=input[i];if(37!==byte)output[outputIndex++]=byte;else if(37!==byte||isASCIIHex(input[i+1])&&isASCIIHex(input[i+2])){const bytePoint=parseInt(String.fromCodePoint(input[i+1],input[i+2]),16);output[outputIndex++]=bytePoint,i+=2}else output[outputIndex++]=byte}return output.slice(0,outputIndex)}function isC0ControlPercentEncode(c){return c<=31||c>126}const extraFragmentPercentEncodeSet=new Set([p(" "),p('"'),p("<"),p(">"),p("`")]);const extraQueryPercentEncodeSet=new Set([p(" "),p('"'),p("#"),p("<"),p(">")]);function isQueryPercentEncode(c){return isC0ControlPercentEncode(c)||extraQueryPercentEncodeSet.has(c)}const extraPathPercentEncodeSet=new Set([p("?"),p("`"),p("{"),p("}")]);function isPathPercentEncode(c){return isQueryPercentEncode(c)||extraPathPercentEncodeSet.has(c)}const extraUserinfoPercentEncodeSet=new Set([p("/"),p(":"),p(";"),p("="),p("@"),p("["),p("\\"),p("]"),p("^"),p("|")]);function isUserinfoPercentEncode(c){return isPathPercentEncode(c)||extraUserinfoPercentEncodeSet.has(c)}const extraComponentPercentEncodeSet=new Set([p("$"),p("%"),p("&"),p("+"),p(",")]);const extraURLEncodedPercentEncodeSet=new Set([p("!"),p("'"),p("("),p(")"),p("~")]);function utf8PercentEncodeCodePointInternal(codePoint,percentEncodePredicate){const bytes=utf8Encode(codePoint);let output="";for(const byte of bytes)percentEncodePredicate(byte)?output+=percentEncode(byte):output+=String.fromCharCode(byte);return output}module.exports={isC0ControlPercentEncode:isC0ControlPercentEncode,isFragmentPercentEncode:function isFragmentPercentEncode(c){return isC0ControlPercentEncode(c)||extraFragmentPercentEncodeSet.has(c)},isQueryPercentEncode:isQueryPercentEncode,isSpecialQueryPercentEncode:function isSpecialQueryPercentEncode(c){return isQueryPercentEncode(c)||c===p("'")},isPathPercentEncode:isPathPercentEncode,isUserinfoPercentEncode:isUserinfoPercentEncode,isURLEncodedPercentEncode:function isURLEncodedPercentEncode(c){return function isComponentPercentEncode(c){return isUserinfoPercentEncode(c)||extraComponentPercentEncodeSet.has(c)}(c)||extraURLEncodedPercentEncodeSet.has(c)},percentDecodeString:function percentDecodeString(input){return percentDecodeBytes(utf8Encode(input))},percentDecodeBytes:percentDecodeBytes,utf8PercentEncodeString:function utf8PercentEncodeString(input,percentEncodePredicate,spaceAsPlus=!1){let output="";for(const codePoint of input)output+=spaceAsPlus&&" "===codePoint?"+":utf8PercentEncodeCodePointInternal(codePoint,percentEncodePredicate);return output},utf8PercentEncodeCodePoint:function utf8PercentEncodeCodePoint(codePoint,percentEncodePredicate){return utf8PercentEncodeCodePointInternal(String.fromCodePoint(codePoint),percentEncodePredicate)}}},65341:function(module,__unused_webpack_exports,__webpack_require__){const tr46=__webpack_require__(54742),infra=__webpack_require__(94149),{utf8DecodeWithoutBOM:utf8DecodeWithoutBOM}=__webpack_require__(13364),{percentDecodeString:percentDecodeString,utf8PercentEncodeCodePoint:utf8PercentEncodeCodePoint,utf8PercentEncodeString:utf8PercentEncodeString,isC0ControlPercentEncode:isC0ControlPercentEncode,isFragmentPercentEncode:isFragmentPercentEncode,isQueryPercentEncode:isQueryPercentEncode,isSpecialQueryPercentEncode:isSpecialQueryPercentEncode,isPathPercentEncode:isPathPercentEncode,isUserinfoPercentEncode:isUserinfoPercentEncode}=__webpack_require__(65942);function p(char){return char.codePointAt(0)}const specialSchemes={ftp:21,file:null,http:80,https:443,ws:80,wss:443},failure=Symbol("failure");function countSymbols(str){return[...str].length}function at(input,idx){const c=input[idx];return isNaN(c)?void 0:String.fromCodePoint(c)}function isSingleDot(buffer){return"."===buffer||"%2e"===buffer.toLowerCase()}function isWindowsDriveLetterString(string){return 2===string.length&&infra.isASCIIAlpha(string.codePointAt(0))&&(":"===string[1]||"|"===string[1])}function isSpecialScheme(scheme){return void 0!==specialSchemes[scheme]}function isSpecial(url){return isSpecialScheme(url.scheme)}function isNotSpecial(url){return!isSpecialScheme(url.scheme)}function defaultPort(scheme){return specialSchemes[scheme]}function parseIPv4Number(input){if(""===input)return failure;let R=10;if(input.length>=2&&"0"===input.charAt(0)&&"x"===input.charAt(1).toLowerCase()?(input=input.substring(2),R=16):input.length>=2&&"0"===input.charAt(0)&&(input=input.substring(1),R=8),""===input)return 0;let regex=/[^0-7]/u;return 10===R&&(regex=/[^0-9]/u),16===R&&(regex=/[^0-9A-Fa-f]/u),regex.test(input)?failure:parseInt(input,R)}function parseHost(input,isNotSpecialArg=!1){if("["===input[0])return"]"!==input[input.length-1]?failure:function parseIPv6(input){const address=[0,0,0,0,0,0,0,0];let pieceIndex=0,compress=null,pointer=0;if((input=Array.from(input,(c=>c.codePointAt(0))))[pointer]===p(":")){if(input[pointer+1]!==p(":"))return failure;pointer+=2,++pieceIndex,compress=pieceIndex}for(;pointer<input.length;){if(8===pieceIndex)return failure;if(input[pointer]===p(":")){if(null!==compress)return failure;++pointer,++pieceIndex,compress=pieceIndex;continue}let value=0,length=0;for(;length<4&&infra.isASCIIHex(input[pointer]);)value=16*value+parseInt(at(input,pointer),16),++pointer,++length;if(input[pointer]===p(".")){if(0===length)return failure;if(pointer-=length,pieceIndex>6)return failure;let numbersSeen=0;for(;void 0!==input[pointer];){let ipv4Piece=null;if(numbersSeen>0){if(!(input[pointer]===p(".")&&numbersSeen<4))return failure;++pointer}if(!infra.isASCIIDigit(input[pointer]))return failure;for(;infra.isASCIIDigit(input[pointer]);){const number=parseInt(at(input,pointer));if(null===ipv4Piece)ipv4Piece=number;else{if(0===ipv4Piece)return failure;ipv4Piece=10*ipv4Piece+number}if(ipv4Piece>255)return failure;++pointer}address[pieceIndex]=256*address[pieceIndex]+ipv4Piece,++numbersSeen,2!==numbersSeen&&4!==numbersSeen||++pieceIndex}if(4!==numbersSeen)return failure;break}if(input[pointer]===p(":")){if(++pointer,void 0===input[pointer])return failure}else if(void 0!==input[pointer])return failure;address[pieceIndex]=value,++pieceIndex}if(null!==compress){let swaps=pieceIndex-compress;for(pieceIndex=7;0!==pieceIndex&&swaps>0;){const temp=address[compress+swaps-1];address[compress+swaps-1]=address[pieceIndex],address[pieceIndex]=temp,--pieceIndex,--swaps}}else if(null===compress&&8!==pieceIndex)return failure;return address}(input.substring(1,input.length-1));if(isNotSpecialArg)return function parseOpaqueHost(input){if(function containsForbiddenHostCodePointExcludingPercent(string){return-1!==string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|<|>|\?|@|\[|\\|\]|\^|\|/u)}(input))return failure;return utf8PercentEncodeString(input,isC0ControlPercentEncode)}(input);const asciiDomain=function domainToASCII(domain,beStrict=!1){const result=tr46.toASCII(domain,{checkBidi:!0,checkHyphens:!1,checkJoiners:!0,useSTD3ASCIIRules:beStrict,verifyDNSLength:beStrict});if(null===result||""===result)return failure;return result}(utf8DecodeWithoutBOM(percentDecodeString(input)));return asciiDomain===failure||function containsForbiddenHostCodePoint(string){return-1!==string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|<|>|\?|@|\[|\\|\]|\^|\|/u)}(asciiDomain)?failure:function endsInANumber(input){const parts=input.split(".");if(""===parts[parts.length-1]){if(1===parts.length)return!1;parts.pop()}const last=parts[parts.length-1];if(parseIPv4Number(last)!==failure)return!0;if(/^[0-9]+$/u.test(last))return!0;return!1}(asciiDomain)?function parseIPv4(input){const parts=input.split(".");if(""===parts[parts.length-1]&&parts.length>1&&parts.pop(),parts.length>4)return failure;const numbers=[];for(const part of parts){const n=parseIPv4Number(part);if(n===failure)return failure;numbers.push(n)}for(let i=0;i<numbers.length-1;++i)if(numbers[i]>255)return failure;if(numbers[numbers.length-1]>=256**(5-numbers.length))return failure;let ipv4=numbers.pop(),counter=0;for(const n of numbers)ipv4+=n*256**(3-counter),++counter;return ipv4}(asciiDomain):asciiDomain}function serializeHost(host){return"number"==typeof host?function serializeIPv4(address){let output="",n=address;for(let i=1;i<=4;++i)output=String(n%256)+output,4!==i&&(output=`.${output}`),n=Math.floor(n/256);return output}(host):host instanceof Array?`[${function serializeIPv6(address){let output="";const compress=function findLongestZeroSequence(arr){let maxIdx=null,maxLen=1,currStart=null,currLen=0;for(let i=0;i<arr.length;++i)0!==arr[i]?(currLen>maxLen&&(maxIdx=currStart,maxLen=currLen),currStart=null,currLen=0):(null===currStart&&(currStart=i),++currLen);return currLen>maxLen?currStart:maxIdx}(address);let ignore0=!1;for(let pieceIndex=0;pieceIndex<=7;++pieceIndex)ignore0&&0===address[pieceIndex]||(ignore0&&(ignore0=!1),compress!==pieceIndex?(output+=address[pieceIndex].toString(16),7!==pieceIndex&&(output+=":")):(output+=0===pieceIndex?"::":":",ignore0=!0));return output}(host)}]`:host}function shortenPath(url){const{path:path}=url;0!==path.length&&("file"===url.scheme&&1===path.length&&function isNormalizedWindowsDriveLetter(string){return/^[A-Za-z]:$/u.test(string)}(path[0])||path.pop())}function includesCredentials(url){return""!==url.username||""!==url.password}function URLStateMachine(input,base,encodingOverride,url,stateOverride){if(this.pointer=0,this.input=input,this.base=base||null,this.encodingOverride=encodingOverride||"utf-8",this.stateOverride=stateOverride,this.url=url,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};const res=function trimControlChars(url){return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/gu,"")}(this.input);res!==this.input&&(this.parseError=!0),this.input=res}const res=function trimTabAndNewline(url){return url.replace(/\u0009|\u000A|\u000D/gu,"")}(this.input);for(res!==this.input&&(this.parseError=!0),this.input=res,this.state=stateOverride||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=Array.from(this.input,(c=>c.codePointAt(0)));this.pointer<=this.input.length;++this.pointer){const c=this.input[this.pointer],cStr=isNaN(c)?void 0:String.fromCodePoint(c),ret=this[`parse ${this.state}`](c,cStr);if(!ret)break;if(ret===failure){this.failure=!0;break}}}URLStateMachine.prototype["parse scheme start"]=function parseSchemeStart(c,cStr){if(infra.isASCIIAlpha(c))this.buffer+=cStr.toLowerCase(),this.state="scheme";else{if(this.stateOverride)return this.parseError=!0,failure;this.state="no scheme",--this.pointer}return!0},URLStateMachine.prototype["parse scheme"]=function parseScheme(c,cStr){if(infra.isASCIIAlphanumeric(c)||c===p("+")||c===p("-")||c===p("."))this.buffer+=cStr.toLowerCase();else if(c===p(":")){if(this.stateOverride){if(isSpecial(this.url)&&!isSpecialScheme(this.buffer))return!1;if(!isSpecial(this.url)&&isSpecialScheme(this.buffer))return!1;if((includesCredentials(this.url)||null!==this.url.port)&&"file"===this.buffer)return!1;if("file"===this.url.scheme&&""===this.url.host)return!1}if(this.url.scheme=this.buffer,this.stateOverride)return this.url.port===defaultPort(this.url.scheme)&&(this.url.port=null),!1;this.buffer="","file"===this.url.scheme?(this.input[this.pointer+1]===p("/")&&this.input[this.pointer+2]===p("/")||(this.parseError=!0),this.state="file"):isSpecial(this.url)&&null!==this.base&&this.base.scheme===this.url.scheme?this.state="special relative or authority":isSpecial(this.url)?this.state="special authority slashes":this.input[this.pointer+1]===p("/")?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else{if(this.stateOverride)return this.parseError=!0,failure;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},URLStateMachine.prototype["parse no scheme"]=function parseNoScheme(c){return null===this.base||this.base.cannotBeABaseURL&&c!==p("#")?failure:(this.base.cannotBeABaseURL&&c===p("#")?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):"file"===this.base.scheme?(this.state="file",--this.pointer):(this.state="relative",--this.pointer),!0)},URLStateMachine.prototype["parse special relative or authority"]=function parseSpecialRelativeOrAuthority(c){return c===p("/")&&this.input[this.pointer+1]===p("/")?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0},URLStateMachine.prototype["parse path or authority"]=function parsePathOrAuthority(c){return c===p("/")?this.state="authority":(this.state="path",--this.pointer),!0},URLStateMachine.prototype["parse relative"]=function parseRelative(c){return this.url.scheme=this.base.scheme,c===p("/")?this.state="relative slash":isSpecial(this.url)&&c===p("\\")?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,c===p("?")?(this.url.query="",this.state="query"):c===p("#")?(this.url.fragment="",this.state="fragment"):isNaN(c)||(this.url.query=null,this.url.path.pop(),this.state="path",--this.pointer)),!0},URLStateMachine.prototype["parse relative slash"]=function parseRelativeSlash(c){return!isSpecial(this.url)||c!==p("/")&&c!==p("\\")?c===p("/")?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer):(c===p("\\")&&(this.parseError=!0),this.state="special authority ignore slashes"),!0},URLStateMachine.prototype["parse special authority slashes"]=function parseSpecialAuthoritySlashes(c){return c===p("/")&&this.input[this.pointer+1]===p("/")?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0},URLStateMachine.prototype["parse special authority ignore slashes"]=function parseSpecialAuthorityIgnoreSlashes(c){return c!==p("/")&&c!==p("\\")?(this.state="authority",--this.pointer):this.parseError=!0,!0},URLStateMachine.prototype["parse authority"]=function parseAuthority(c,cStr){if(c===p("@")){this.parseError=!0,this.atFlag&&(this.buffer=`%40${this.buffer}`),this.atFlag=!0;const len=countSymbols(this.buffer);for(let pointer=0;pointer<len;++pointer){const codePoint=this.buffer.codePointAt(pointer);if(codePoint===p(":")&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=!0;continue}const encodedCodePoints=utf8PercentEncodeCodePoint(codePoint,isUserinfoPercentEncode);this.passwordTokenSeenFlag?this.url.password+=encodedCodePoints:this.url.username+=encodedCodePoints}this.buffer=""}else if(isNaN(c)||c===p("/")||c===p("?")||c===p("#")||isSpecial(this.url)&&c===p("\\")){if(this.atFlag&&""===this.buffer)return this.parseError=!0,failure;this.pointer-=countSymbols(this.buffer)+1,this.buffer="",this.state="host"}else this.buffer+=cStr;return!0},URLStateMachine.prototype["parse hostname"]=URLStateMachine.prototype["parse host"]=function parseHostName(c,cStr){if(this.stateOverride&&"file"===this.url.scheme)--this.pointer,this.state="file host";else if(c!==p(":")||this.arrFlag)if(isNaN(c)||c===p("/")||c===p("?")||c===p("#")||isSpecial(this.url)&&c===p("\\")){if(--this.pointer,isSpecial(this.url)&&""===this.buffer)return this.parseError=!0,failure;if(this.stateOverride&&""===this.buffer&&(includesCredentials(this.url)||null!==this.url.port))return this.parseError=!0,!1;const host=parseHost(this.buffer,isNotSpecial(this.url));if(host===failure)return failure;if(this.url.host=host,this.buffer="",this.state="path start",this.stateOverride)return!1}else c===p("[")?this.arrFlag=!0:c===p("]")&&(this.arrFlag=!1),this.buffer+=cStr;else{if(""===this.buffer)return this.parseError=!0,failure;if("hostname"===this.stateOverride)return!1;const host=parseHost(this.buffer,isNotSpecial(this.url));if(host===failure)return failure;this.url.host=host,this.buffer="",this.state="port"}return!0},URLStateMachine.prototype["parse port"]=function parsePort(c,cStr){if(infra.isASCIIDigit(c))this.buffer+=cStr;else{if(!(isNaN(c)||c===p("/")||c===p("?")||c===p("#")||isSpecial(this.url)&&c===p("\\")||this.stateOverride))return this.parseError=!0,failure;if(""!==this.buffer){const port=parseInt(this.buffer);if(port>65535)return this.parseError=!0,failure;this.url.port=port===defaultPort(this.url.scheme)?null:port,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}return!0};const fileOtherwiseCodePoints=new Set([p("/"),p("\\"),p("?"),p("#")]);function startsWithWindowsDriveLetter(input,pointer){const length=input.length-pointer;return length>=2&&function isWindowsDriveLetterCodePoints(cp1,cp2){return infra.isASCIIAlpha(cp1)&&(cp2===p(":")||cp2===p("|"))}(input[pointer],input[pointer+1])&&(2===length||fileOtherwiseCodePoints.has(input[pointer+2]))}URLStateMachine.prototype["parse file"]=function parseFile(c){return this.url.scheme="file",this.url.host="",c===p("/")||c===p("\\")?(c===p("\\")&&(this.parseError=!0),this.state="file slash"):null!==this.base&&"file"===this.base.scheme?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,c===p("?")?(this.url.query="",this.state="query"):c===p("#")?(this.url.fragment="",this.state="fragment"):isNaN(c)||(this.url.query=null,startsWithWindowsDriveLetter(this.input,this.pointer)?(this.parseError=!0,this.url.path=[]):shortenPath(this.url),this.state="path",--this.pointer)):(this.state="path",--this.pointer),!0},URLStateMachine.prototype["parse file slash"]=function parseFileSlash(c){return c===p("/")||c===p("\\")?(c===p("\\")&&(this.parseError=!0),this.state="file host"):(null!==this.base&&"file"===this.base.scheme&&(!startsWithWindowsDriveLetter(this.input,this.pointer)&&function isNormalizedWindowsDriveLetterString(string){return 2===string.length&&infra.isASCIIAlpha(string.codePointAt(0))&&":"===string[1]}(this.base.path[0])&&this.url.path.push(this.base.path[0]),this.url.host=this.base.host),this.state="path",--this.pointer),!0},URLStateMachine.prototype["parse file host"]=function parseFileHost(c,cStr){if(isNaN(c)||c===p("/")||c===p("\\")||c===p("?")||c===p("#"))if(--this.pointer,!this.stateOverride&&isWindowsDriveLetterString(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let host=parseHost(this.buffer,isNotSpecial(this.url));if(host===failure)return failure;if("localhost"===host&&(host=""),this.url.host=host,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=cStr;return!0},URLStateMachine.prototype["parse path start"]=function parsePathStart(c){return isSpecial(this.url)?(c===p("\\")&&(this.parseError=!0),this.state="path",c!==p("/")&&c!==p("\\")&&--this.pointer):this.stateOverride||c!==p("?")?this.stateOverride||c!==p("#")?void 0!==c?(this.state="path",c!==p("/")&&--this.pointer):this.stateOverride&&null===this.url.host&&this.url.path.push(""):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},URLStateMachine.prototype["parse path"]=function parsePath(c){return isNaN(c)||c===p("/")||isSpecial(this.url)&&c===p("\\")||!this.stateOverride&&(c===p("?")||c===p("#"))?(isSpecial(this.url)&&c===p("\\")&&(this.parseError=!0),!function isDoubleDot(buffer){return".."===(buffer=buffer.toLowerCase())||"%2e."===buffer||".%2e"===buffer||"%2e%2e"===buffer}(this.buffer)?!isSingleDot(this.buffer)||c===p("/")||isSpecial(this.url)&&c===p("\\")?isSingleDot(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&isWindowsDriveLetterString(this.buffer)&&(this.buffer=`${this.buffer[0]}:`),this.url.path.push(this.buffer)):this.url.path.push(""):(shortenPath(this.url),c===p("/")||isSpecial(this.url)&&c===p("\\")||this.url.path.push("")),this.buffer="",c===p("?")&&(this.url.query="",this.state="query"),c===p("#")&&(this.url.fragment="",this.state="fragment")):(c!==p("%")||infra.isASCIIHex(this.input[this.pointer+1])&&infra.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=utf8PercentEncodeCodePoint(c,isPathPercentEncode)),!0},URLStateMachine.prototype["parse cannot-be-a-base-URL path"]=function parseCannotBeABaseURLPath(c){return c===p("?")?(this.url.query="",this.state="query"):c===p("#")?(this.url.fragment="",this.state="fragment"):(isNaN(c)||c===p("%")||(this.parseError=!0),c!==p("%")||infra.isASCIIHex(this.input[this.pointer+1])&&infra.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),isNaN(c)||(this.url.path[0]+=utf8PercentEncodeCodePoint(c,isC0ControlPercentEncode))),!0},URLStateMachine.prototype["parse query"]=function parseQuery(c,cStr){if(isSpecial(this.url)&&"ws"!==this.url.scheme&&"wss"!==this.url.scheme||(this.encodingOverride="utf-8"),!this.stateOverride&&c===p("#")||isNaN(c)){const queryPercentEncodePredicate=isSpecial(this.url)?isSpecialQueryPercentEncode:isQueryPercentEncode;this.url.query+=utf8PercentEncodeString(this.buffer,queryPercentEncodePredicate),this.buffer="",c===p("#")&&(this.url.fragment="",this.state="fragment")}else isNaN(c)||(c!==p("%")||infra.isASCIIHex(this.input[this.pointer+1])&&infra.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=cStr);return!0},URLStateMachine.prototype["parse fragment"]=function parseFragment(c){return isNaN(c)||(c!==p("%")||infra.isASCIIHex(this.input[this.pointer+1])&&infra.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),this.url.fragment+=utf8PercentEncodeCodePoint(c,isFragmentPercentEncode)),!0},module.exports.serializeURL=function serializeURL(url,excludeFragment){let output=`${url.scheme}:`;if(null!==url.host&&(output+="//",""===url.username&&""===url.password||(output+=url.username,""!==url.password&&(output+=`:${url.password}`),output+="@"),output+=serializeHost(url.host),null!==url.port&&(output+=`:${url.port}`)),url.cannotBeABaseURL)output+=url.path[0];else{null===url.host&&url.path.length>1&&""===url.path[0]&&(output+="/.");for(const segment of url.path)output+=`/${segment}`}return null!==url.query&&(output+=`?${url.query}`),excludeFragment||null===url.fragment||(output+=`#${url.fragment}`),output},module.exports.serializeURLOrigin=function(url){switch(url.scheme){case"blob":try{return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0]))}catch(e){return"null"}case"ftp":case"http":case"https":case"ws":case"wss":return function serializeOrigin(tuple){let result=`${tuple.scheme}://`;return result+=serializeHost(tuple.host),null!==tuple.port&&(result+=`:${tuple.port}`),result}({scheme:url.scheme,host:url.host,port:url.port});case"file":default:return"null"}},module.exports.basicURLParse=function(input,options){void 0===options&&(options={});const usm=new URLStateMachine(input,options.baseURL,options.encodingOverride,options.url,options.stateOverride);return usm.failure?null:usm.url},module.exports.setTheUsername=function(url,username){url.username=utf8PercentEncodeString(username,isUserinfoPercentEncode)},module.exports.setThePassword=function(url,password){url.password=utf8PercentEncodeString(password,isUserinfoPercentEncode)},module.exports.serializeHost=serializeHost,module.exports.cannotHaveAUsernamePasswordPort=function cannotHaveAUsernamePasswordPort(url){return null===url.host||""===url.host||url.cannotBeABaseURL||"file"===url.scheme},module.exports.serializeInteger=function(integer){return String(integer)},module.exports.parseURL=function(input,options){return void 0===options&&(options={}),module.exports.basicURLParse(input,{baseURL:options.baseURL,encodingOverride:options.encodingOverride})}},91248:function(module,__unused_webpack_exports,__webpack_require__){const{utf8Encode:utf8Encode,utf8DecodeWithoutBOM:utf8DecodeWithoutBOM}=__webpack_require__(13364),{percentDecodeBytes:percentDecodeBytes,utf8PercentEncodeString:utf8PercentEncodeString,isURLEncodedPercentEncode:isURLEncodedPercentEncode}=__webpack_require__(65942);function p(char){return char.codePointAt(0)}function replaceByteInByteSequence(buf,from,to){let i=buf.indexOf(from);for(;i>=0;)buf[i]=to,i=buf.indexOf(from,i+1);return buf}module.exports={parseUrlencodedString:function parseUrlencodedString(input){return function parseUrlencoded(input){const sequences=function strictlySplitByteSequence(buf,cp){const list=[];let last=0,i=buf.indexOf(cp);for(;i>=0;)list.push(buf.slice(last,i)),last=i+1,i=buf.indexOf(cp,last);return last!==buf.length&&list.push(buf.slice(last)),list}(input,p("&")),output=[];for(const bytes of sequences){if(0===bytes.length)continue;let name,value;const indexOfEqual=bytes.indexOf(p("="));indexOfEqual>=0?(name=bytes.slice(0,indexOfEqual),value=bytes.slice(indexOfEqual+1)):(name=bytes,value=new Uint8Array(0)),name=replaceByteInByteSequence(name,43,32),value=replaceByteInByteSequence(value,43,32);const nameString=utf8DecodeWithoutBOM(percentDecodeBytes(name)),valueString=utf8DecodeWithoutBOM(percentDecodeBytes(value));output.push([nameString,valueString])}return output}(utf8Encode(input))},serializeUrlencoded:function serializeUrlencoded(tuples,encodingOverride){let encoding="utf-8";void 0!==encodingOverride&&(encoding=encodingOverride);let output="";for(const[i,tuple]of tuples.entries()){const name=utf8PercentEncodeString(tuple[0],isURLEncodedPercentEncode,!0);let value=tuple[1];tuple.length>2&&void 0!==tuple[2]&&("hidden"===tuple[2]&&"_charset_"===name?value=encoding:"file"===tuple[2]&&(value=value.name)),value=utf8PercentEncodeString(value,isURLEncodedPercentEncode,!0),0!==i&&(output+="&"),output+=`${name}=${value}`}return output}}},9581:function(module,exports){const hasOwn=Function.prototype.call.bind(Object.prototype.hasOwnProperty);const wrapperSymbol=Symbol("wrapper"),implSymbol=Symbol("impl"),sameObjectCaches=Symbol("SameObject caches"),ctorRegistrySymbol=Symbol.for("[webidl2js] constructor registry"),AsyncIteratorPrototype=Object.getPrototypeOf(Object.getPrototypeOf((async function*(){})).prototype);function initCtorRegistry(globalObject){if(hasOwn(globalObject,ctorRegistrySymbol))return globalObject[ctorRegistrySymbol];const ctorRegistry=Object.create(null);ctorRegistry["%Object.prototype%"]=globalObject.Object.prototype,ctorRegistry["%IteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf((new globalObject.Array)[Symbol.iterator]()));try{ctorRegistry["%AsyncIteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf(globalObject.eval("(async function* () {})").prototype))}catch{ctorRegistry["%AsyncIteratorPrototype%"]=AsyncIteratorPrototype}return globalObject[ctorRegistrySymbol]=ctorRegistry,ctorRegistry}function wrapperForImpl(impl){return impl?impl[wrapperSymbol]:null}function implForWrapper(wrapper){return wrapper?wrapper[implSymbol]:null}const iterInternalSymbol=Symbol("internal");const byteLengthGetter=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get;const supportsPropertyIndex=Symbol("supports property index"),supportedPropertyIndices=Symbol("supported property indices"),supportsPropertyName=Symbol("supports property name"),supportedPropertyNames=Symbol("supported property names"),indexedGet=Symbol("indexed property get"),indexedSetNew=Symbol("indexed property set new"),indexedSetExisting=Symbol("indexed property set existing"),namedGet=Symbol("named property get"),namedSetNew=Symbol("named property set new"),namedSetExisting=Symbol("named property set existing"),namedDelete=Symbol("named property delete"),asyncIteratorNext=Symbol("async iterator get the next iteration result"),asyncIteratorReturn=Symbol("async iterator return steps"),asyncIteratorInit=Symbol("async iterator initialization steps"),asyncIteratorEOI=Symbol("async iterator end of iteration");module.exports={isObject:function isObject(value){return"object"==typeof value&&null!==value||"function"==typeof value},hasOwn:hasOwn,define:function define(target,source){for(const key of Reflect.ownKeys(source)){const descriptor=Reflect.getOwnPropertyDescriptor(source,key);if(descriptor&&!Reflect.defineProperty(target,key,descriptor))throw new TypeError(`Cannot redefine property: ${String(key)}`)}},newObjectInRealm:function newObjectInRealm(globalObject,object){const ctorRegistry=initCtorRegistry(globalObject);return Object.defineProperties(Object.create(ctorRegistry["%Object.prototype%"]),Object.getOwnPropertyDescriptors(object))},wrapperSymbol:wrapperSymbol,implSymbol:implSymbol,getSameObject:function getSameObject(wrapper,prop,creator){return wrapper[sameObjectCaches]||(wrapper[sameObjectCaches]=Object.create(null)),prop in wrapper[sameObjectCaches]||(wrapper[sameObjectCaches][prop]=creator()),wrapper[sameObjectCaches][prop]},ctorRegistrySymbol:ctorRegistrySymbol,initCtorRegistry:initCtorRegistry,wrapperForImpl:wrapperForImpl,implForWrapper:implForWrapper,tryWrapperForImpl:function tryWrapperForImpl(impl){const wrapper=wrapperForImpl(impl);return wrapper||impl},tryImplForWrapper:function tryImplForWrapper(wrapper){const impl=implForWrapper(wrapper);return impl||wrapper},iterInternalSymbol:iterInternalSymbol,isArrayBuffer:function isArrayBuffer(value){try{return byteLengthGetter.call(value),!0}catch(e){return!1}},isArrayIndexPropName:function isArrayIndexPropName(P){if("string"!=typeof P)return!1;const i=P>>>0;return i!==2**32-1&&P===`${i}`},supportsPropertyIndex:supportsPropertyIndex,supportedPropertyIndices:supportedPropertyIndices,supportsPropertyName:supportsPropertyName,supportedPropertyNames:supportedPropertyNames,indexedGet:indexedGet,indexedSetNew:indexedSetNew,indexedSetExisting:indexedSetExisting,namedGet:namedGet,namedSetNew:namedSetNew,namedSetExisting:namedSetExisting,namedDelete:namedDelete,asyncIteratorNext:asyncIteratorNext,asyncIteratorReturn:asyncIteratorReturn,asyncIteratorInit:asyncIteratorInit,asyncIteratorEOI:asyncIteratorEOI,iteratorResult:function iteratorResult([key,value],kind){let result;switch(kind){case"key":result=key;break;case"value":result=value;break;case"key+value":result=[key,value]}return{value:result,done:!1}}}},97135:function(__unused_webpack_module,exports,__webpack_require__){const URL=__webpack_require__(64328),URLSearchParams=__webpack_require__(36736);exports.URL=URL,exports.URLSearchParams=URLSearchParams},86430:function(module,__unused_webpack_exports,__webpack_require__){var forEach=__webpack_require__(49804),availableTypedArrays=__webpack_require__(63083),callBound=__webpack_require__(21924),$toString=callBound("Object.prototype.toString"),hasToStringTag=__webpack_require__(96410)(),g="undefined"==typeof globalThis?__webpack_require__.g:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),toStrTags={},gOPD=__webpack_require__(20882),getPrototypeOf=Object.getPrototypeOf;hasToStringTag&&gOPD&&getPrototypeOf&&forEach(typedArrays,(function(typedArray){if("function"==typeof g[typedArray]){var arr=new g[typedArray];if(Symbol.toStringTag in arr){var proto=getPrototypeOf(arr),descriptor=gOPD(proto,Symbol.toStringTag);if(!descriptor){var superProto=getPrototypeOf(proto);descriptor=gOPD(superProto,Symbol.toStringTag)}toStrTags[typedArray]=descriptor.get}}}));var isTypedArray=__webpack_require__(85692);module.exports=function whichTypedArray(value){return!!isTypedArray(value)&&(hasToStringTag&&Symbol.toStringTag in value?function tryAllTypedArrays(value){var foundName=!1;return forEach(toStrTags,(function(getter,typedArray){if(!foundName)try{var name=getter.call(value);name===typedArray&&(foundName=name)}catch(e){}})),foundName}(value):$slice($toString(value),8,-1))}},20330:function(__unused_webpack_module,exports){exports.name=potentialName=>/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/u.test(potentialName),exports.qname=potentialQname=>/(?:^[A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}][A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*:[A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}][A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$)|(?:^[A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}][A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$)/u.test(potentialQname)},83347:function(__unused_webpack_module,exports){ +/** + * Character classes and associated utilities for the 5th edition of XML 1.0. + * + * @author Louis-Dominique Dubeau + * @license MIT + * @copyright Louis-Dominique Dubeau + */ +Object.defineProperty(exports,"__esModule",{value:!0}),exports.CHAR="\t\n\r --�𐀀-",exports.S=" \t\r\n",exports.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",exports.NAME_CHAR="-"+exports.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",exports.CHAR_RE=new RegExp("^["+exports.CHAR+"]$","u"),exports.S_RE=new RegExp("^["+exports.S+"]+$","u"),exports.NAME_START_CHAR_RE=new RegExp("^["+exports.NAME_START_CHAR+"]$","u"),exports.NAME_CHAR_RE=new RegExp("^["+exports.NAME_CHAR+"]$","u"),exports.NAME_RE=new RegExp("^["+exports.NAME_START_CHAR+"]["+exports.NAME_CHAR+"]*$","u"),exports.NMTOKEN_RE=new RegExp("^["+exports.NAME_CHAR+"]+$","u");function isNameStartChar(c){return c>=65&&c<=90||c>=97&&c<=122||58===c||95===c||8204===c||8205===c||c>=192&&c<=214||c>=216&&c<=246||c>=248&&c<=767||c>=880&&c<=893||c>=895&&c<=8191||c>=8304&&c<=8591||c>=11264&&c<=12271||c>=12289&&c<=55295||c>=63744&&c<=64975||c>=65008&&c<=65533||c>=65536&&c<=983039}exports.S_LIST=[32,10,13,9],exports.isChar=function isChar(c){return c>=32&&c<=55295||10===c||13===c||9===c||c>=57344&&c<=65533||c>=65536&&c<=1114111},exports.isS=function isS(c){return 32===c||10===c||13===c||9===c},exports.isNameStartChar=isNameStartChar,exports.isNameChar=function isNameChar(c){return isNameStartChar(c)||c>=48&&c<=57||45===c||46===c||183===c||c>=768&&c<=879||c>=8255&&c<=8256}},95285:function(__unused_webpack_module,exports){ +/** + * Character classes and associated utilities for the 2nd edition of XML 1.1. + * + * @author Louis-Dominique Dubeau + * @license MIT + * @copyright Louis-Dominique Dubeau + */ +Object.defineProperty(exports,"__esModule",{value:!0}),exports.CHAR="--�𐀀-",exports.RESTRICTED_CHAR="-\b\v\f---",exports.S=" \t\r\n",exports.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",exports.NAME_CHAR="-"+exports.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",exports.CHAR_RE=new RegExp("^["+exports.CHAR+"]$","u"),exports.RESTRICTED_CHAR_RE=new RegExp("^["+exports.RESTRICTED_CHAR+"]$","u"),exports.S_RE=new RegExp("^["+exports.S+"]+$","u"),exports.NAME_START_CHAR_RE=new RegExp("^["+exports.NAME_START_CHAR+"]$","u"),exports.NAME_CHAR_RE=new RegExp("^["+exports.NAME_CHAR+"]$","u"),exports.NAME_RE=new RegExp("^["+exports.NAME_START_CHAR+"]["+exports.NAME_CHAR+"]*$","u"),exports.NMTOKEN_RE=new RegExp("^["+exports.NAME_CHAR+"]+$","u");function isNameStartChar(c){return c>=65&&c<=90||c>=97&&c<=122||58===c||95===c||8204===c||8205===c||c>=192&&c<=214||c>=216&&c<=246||c>=248&&c<=767||c>=880&&c<=893||c>=895&&c<=8191||c>=8304&&c<=8591||c>=11264&&c<=12271||c>=12289&&c<=55295||c>=63744&&c<=64975||c>=65008&&c<=65533||c>=65536&&c<=983039}exports.S_LIST=[32,10,13,9],exports.isChar=function isChar(c){return c>=1&&c<=55295||c>=57344&&c<=65533||c>=65536&&c<=1114111},exports.isRestrictedChar=function isRestrictedChar(c){return c>=1&&c<=8||11===c||12===c||c>=14&&c<=31||c>=127&&c<=132||c>=134&&c<=159},exports.isCharAndNotRestricted=function isCharAndNotRestricted(c){return 9===c||10===c||13===c||c>31&&c<127||133===c||c>159&&c<=55295||c>=57344&&c<=65533||c>=65536&&c<=1114111},exports.isS=function isS(c){return 32===c||10===c||13===c||9===c},exports.isNameStartChar=isNameStartChar,exports.isNameChar=function isNameChar(c){return isNameStartChar(c)||c>=48&&c<=57||45===c||46===c||183===c||c>=768&&c<=879||c>=8255&&c<=8256}},87046:function(__unused_webpack_module,exports){function isNCNameStartChar(c){return c>=65&&c<=90||95===c||c>=97&&c<=122||c>=192&&c<=214||c>=216&&c<=246||c>=248&&c<=767||c>=880&&c<=893||c>=895&&c<=8191||c>=8204&&c<=8205||c>=8304&&c<=8591||c>=11264&&c<=12271||c>=12289&&c<=55295||c>=63744&&c<=64975||c>=65008&&c<=65533||c>=65536&&c<=983039} +/** + * Character class utilities for XML NS 1.0 edition 3. + * + * @author Louis-Dominique Dubeau + * @license MIT + * @copyright Louis-Dominique Dubeau + */ +Object.defineProperty(exports,"__esModule",{value:!0}),exports.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",exports.NC_NAME_CHAR="-"+exports.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",exports.NC_NAME_START_CHAR_RE=new RegExp("^["+exports.NC_NAME_START_CHAR+"]$","u"),exports.NC_NAME_CHAR_RE=new RegExp("^["+exports.NC_NAME_CHAR+"]$","u"),exports.NC_NAME_RE=new RegExp("^["+exports.NC_NAME_START_CHAR+"]["+exports.NC_NAME_CHAR+"]*$","u"),exports.isNCNameStartChar=isNCNameStartChar,exports.isNCNameChar=function isNCNameChar(c){return isNCNameStartChar(c)||45===c||46===c||c>=48&&c<=57||183===c||c>=768&&c<=879||c>=8255&&c<=8256}},47529:function(module){module.exports=function extend(){for(var target={},i=0;i<arguments.length;i++){var source=arguments[i];for(var key in source)hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var hasOwnProperty=Object.prototype.hasOwnProperty},46601:function(){},89214:function(){},25832:function(){},51459:function(){},32256:function(){},16299:function(){},93645:function(){},99927:function(){},56952:function(){},52361:function(){},94616:function(){},63083:function(module,__unused_webpack_exports,__webpack_require__){var possibleNames=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],g="undefined"==typeof globalThis?__webpack_require__.g:globalThis;module.exports=function availableTypedArrays(){for(var out=[],i=0;i<possibleNames.length;i++)"function"==typeof g[possibleNames[i]]&&(out[out.length]=possibleNames[i]);return out}},20882:function(module,__unused_webpack_exports,__webpack_require__){var $gOPD=__webpack_require__(40210)("%Object.getOwnPropertyDescriptor%");if($gOPD)try{$gOPD([],"length")}catch(e){$gOPD=null}module.exports=$gOPD},30907:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}__webpack_require__.d(__webpack_exports__,{Z:function(){return _arrayLikeToArray}})},97326:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}__webpack_require__.d(__webpack_exports__,{Z:function(){return _assertThisInitialized}})},15671:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}__webpack_require__.d(__webpack_exports__,{Z:function(){return _classCallCheck}})},43144:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}__webpack_require__.d(__webpack_exports__,{Z:function(){return _createClass}})},11752:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Z:function(){return _get}});var getPrototypeOf=__webpack_require__(61120);function _superPropBase(object,property){for(;!Object.prototype.hasOwnProperty.call(object,property)&&null!==(object=(0,getPrototypeOf.Z)(object)););return object}function _get(){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function _get(target,property,receiver){var base=_superPropBase(target,property);if(base){var desc=Object.getOwnPropertyDescriptor(base,property);return desc.get?desc.get.call(arguments.length<3?target:receiver):desc.value}}).apply(this,arguments)}},61120:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}__webpack_require__.d(__webpack_exports__,{Z:function(){return _getPrototypeOf}})},60136:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Z:function(){return _inherits}});var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(89611);function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),superClass&&(0,_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__.Z)(subClass,superClass)}},82963:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Z:function(){return _possibleConstructorReturn}});var _typeof_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(71002),_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(97326);function _possibleConstructorReturn(self,call){if(call&&("object"===(0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__.Z)(call)||"function"==typeof call))return call;if(void 0!==call)throw new TypeError("Derived constructors may only return object or undefined");return(0,_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__.Z)(self)}},89611:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o})(o,p)}__webpack_require__.d(__webpack_exports__,{Z:function(){return _setPrototypeOf}})},70885:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Z:function(){return _slicedToArray}});var unsupportedIterableToArray=__webpack_require__(40181);function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||(0,unsupportedIterableToArray.Z)(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},42982:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Z:function(){return _toConsumableArray}});var arrayLikeToArray=__webpack_require__(30907);var unsupportedIterableToArray=__webpack_require__(40181);function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return(0,arrayLikeToArray.Z)(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||(0,unsupportedIterableToArray.Z)(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},71002:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}__webpack_require__.d(__webpack_exports__,{Z:function(){return _typeof}})},40181:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Z:function(){return _unsupportedIterableToArray}});var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(30907);function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return(0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__.Z)(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__.Z)(o,minLen):void 0}}},72407:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Z:function(){return _wrapNativeSuper}});var getPrototypeOf=__webpack_require__(61120),setPrototypeOf=__webpack_require__(89611);function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _construct(Parent,args,Class){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function _construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var instance=new(Function.bind.apply(Parent,a));return Class&&(0,setPrototypeOf.Z)(instance,Class.prototype),instance}).apply(null,arguments)}function _wrapNativeSuper(Class){var _cache="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function _wrapNativeSuper(Class){if(null===Class||!function _isNativeFunction(fn){return-1!==Function.toString.call(fn).indexOf("[native code]")}(Class))return Class;if("function"!=typeof Class)throw new TypeError("Super expression must either be null or a function");if(void 0!==_cache){if(_cache.has(Class))return _cache.get(Class);_cache.set(Class,Wrapper)}function Wrapper(){return _construct(Class,arguments,(0,getPrototypeOf.Z)(this).constructor)}return Wrapper.prototype=Object.create(Class.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),(0,setPrototypeOf.Z)(Wrapper,Class)})(Class)}},49667:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){function simple(node,visitors,baseVisitor,state,override){baseVisitor||(baseVisitor=base),function c(node,st,override){var type=override||node.type,found=visitors[type];baseVisitor[type](node,st,c),found&&found(node,st)}(node,state,override)}function ancestor(node,visitors,baseVisitor,state,override){var ancestors=[];baseVisitor||(baseVisitor=base),function c(node,st,override){var type=override||node.type,found=visitors[type],isNew=node!==ancestors[ancestors.length-1];isNew&&ancestors.push(node),baseVisitor[type](node,st,c),found&&found(node,st||ancestors,ancestors),isNew&&ancestors.pop()}(node,state,override)}function recursive(node,state,funcs,baseVisitor,override){var visitor=funcs?make(funcs,baseVisitor||void 0):baseVisitor;!function c(node,st,override){visitor[override||node.type](node,st,c)}(node,state,override)}function makeTest(test){return"string"==typeof test?function(type){return type===test}:test||function(){return!0}}__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ancestor:function(){return ancestor},base:function(){return base},findNodeAfter:function(){return findNodeAfter},findNodeAround:function(){return findNodeAround},findNodeAt:function(){return findNodeAt},findNodeBefore:function(){return findNodeBefore},full:function(){return full},fullAncestor:function(){return fullAncestor},make:function(){return make},recursive:function(){return recursive},simple:function(){return simple}});var Found=function Found(node,state){this.node=node,this.state=state};function full(node,callback,baseVisitor,state,override){baseVisitor||(baseVisitor=base),function c(node,st,override){var type=override||node.type;baseVisitor[type](node,st,c),override||callback(node,st,type)}(node,state,override)}function fullAncestor(node,callback,baseVisitor,state){baseVisitor||(baseVisitor=base);var ancestors=[];!function c(node,st,override){var type=override||node.type,isNew=node!==ancestors[ancestors.length-1];isNew&&ancestors.push(node),baseVisitor[type](node,st,c),override||callback(node,st||ancestors,ancestors,type),isNew&&ancestors.pop()}(node,state)}function findNodeAt(node,start,end,test,baseVisitor,state){baseVisitor||(baseVisitor=base),test=makeTest(test);try{!function c(node,st,override){var type=override||node.type;if((null==start||node.start<=start)&&(null==end||node.end>=end)&&baseVisitor[type](node,st,c),(null==start||node.start===start)&&(null==end||node.end===end)&&test(type,node))throw new Found(node,st)}(node,state)}catch(e){if(e instanceof Found)return e;throw e}}function findNodeAround(node,pos,test,baseVisitor,state){test=makeTest(test),baseVisitor||(baseVisitor=base);try{!function c(node,st,override){var type=override||node.type;if(!(node.start>pos||node.end<pos)&&(baseVisitor[type](node,st,c),test(type,node)))throw new Found(node,st)}(node,state)}catch(e){if(e instanceof Found)return e;throw e}}function findNodeAfter(node,pos,test,baseVisitor,state){test=makeTest(test),baseVisitor||(baseVisitor=base);try{!function c(node,st,override){if(!(node.end<pos)){var type=override||node.type;if(node.start>=pos&&test(type,node))throw new Found(node,st);baseVisitor[type](node,st,c)}}(node,state)}catch(e){if(e instanceof Found)return e;throw e}}function findNodeBefore(node,pos,test,baseVisitor,state){var max;return test=makeTest(test),baseVisitor||(baseVisitor=base),function c(node,st,override){if(!(node.start>pos)){var type=override||node.type;node.end<=pos&&(!max||max.node.end<node.end)&&test(type,node)&&(max=new Found(node,st)),baseVisitor[type](node,st,c)}}(node,state),max}var create=Object.create||function(proto){function Ctor(){}return Ctor.prototype=proto,new Ctor};function make(funcs,baseVisitor){var visitor=create(baseVisitor||base);for(var type in funcs)visitor[type]=funcs[type];return visitor}function skipThrough(node,st,c){c(node,st)}function ignore(_node,_st,_c){}var base={};base.Program=base.BlockStatement=function(node,st,c){for(var i=0,list=node.body;i<list.length;i+=1){c(list[i],st,"Statement")}},base.Statement=skipThrough,base.EmptyStatement=ignore,base.ExpressionStatement=base.ParenthesizedExpression=base.ChainExpression=function(node,st,c){return c(node.expression,st,"Expression")},base.IfStatement=function(node,st,c){c(node.test,st,"Expression"),c(node.consequent,st,"Statement"),node.alternate&&c(node.alternate,st,"Statement")},base.LabeledStatement=function(node,st,c){return c(node.body,st,"Statement")},base.BreakStatement=base.ContinueStatement=ignore,base.WithStatement=function(node,st,c){c(node.object,st,"Expression"),c(node.body,st,"Statement")},base.SwitchStatement=function(node,st,c){c(node.discriminant,st,"Expression");for(var i$1=0,list$1=node.cases;i$1<list$1.length;i$1+=1){var cs=list$1[i$1];cs.test&&c(cs.test,st,"Expression");for(var i=0,list=cs.consequent;i<list.length;i+=1){c(list[i],st,"Statement")}}},base.SwitchCase=function(node,st,c){node.test&&c(node.test,st,"Expression");for(var i=0,list=node.consequent;i<list.length;i+=1){c(list[i],st,"Statement")}},base.ReturnStatement=base.YieldExpression=base.AwaitExpression=function(node,st,c){node.argument&&c(node.argument,st,"Expression")},base.ThrowStatement=base.SpreadElement=function(node,st,c){return c(node.argument,st,"Expression")},base.TryStatement=function(node,st,c){c(node.block,st,"Statement"),node.handler&&c(node.handler,st),node.finalizer&&c(node.finalizer,st,"Statement")},base.CatchClause=function(node,st,c){node.param&&c(node.param,st,"Pattern"),c(node.body,st,"Statement")},base.WhileStatement=base.DoWhileStatement=function(node,st,c){c(node.test,st,"Expression"),c(node.body,st,"Statement")},base.ForStatement=function(node,st,c){node.init&&c(node.init,st,"ForInit"),node.test&&c(node.test,st,"Expression"),node.update&&c(node.update,st,"Expression"),c(node.body,st,"Statement")},base.ForInStatement=base.ForOfStatement=function(node,st,c){c(node.left,st,"ForInit"),c(node.right,st,"Expression"),c(node.body,st,"Statement")},base.ForInit=function(node,st,c){"VariableDeclaration"===node.type?c(node,st):c(node,st,"Expression")},base.DebuggerStatement=ignore,base.FunctionDeclaration=function(node,st,c){return c(node,st,"Function")},base.VariableDeclaration=function(node,st,c){for(var i=0,list=node.declarations;i<list.length;i+=1){c(list[i],st)}},base.VariableDeclarator=function(node,st,c){c(node.id,st,"Pattern"),node.init&&c(node.init,st,"Expression")},base.Function=function(node,st,c){node.id&&c(node.id,st,"Pattern");for(var i=0,list=node.params;i<list.length;i+=1){c(list[i],st,"Pattern")}c(node.body,st,node.expression?"Expression":"Statement")},base.Pattern=function(node,st,c){"Identifier"===node.type?c(node,st,"VariablePattern"):"MemberExpression"===node.type?c(node,st,"MemberPattern"):c(node,st)},base.VariablePattern=ignore,base.MemberPattern=skipThrough,base.RestElement=function(node,st,c){return c(node.argument,st,"Pattern")},base.ArrayPattern=function(node,st,c){for(var i=0,list=node.elements;i<list.length;i+=1){var elt=list[i];elt&&c(elt,st,"Pattern")}},base.ObjectPattern=function(node,st,c){for(var i=0,list=node.properties;i<list.length;i+=1){var prop=list[i];"Property"===prop.type?(prop.computed&&c(prop.key,st,"Expression"),c(prop.value,st,"Pattern")):"RestElement"===prop.type&&c(prop.argument,st,"Pattern")}},base.Expression=skipThrough,base.ThisExpression=base.Super=base.MetaProperty=ignore,base.ArrayExpression=function(node,st,c){for(var i=0,list=node.elements;i<list.length;i+=1){var elt=list[i];elt&&c(elt,st,"Expression")}},base.ObjectExpression=function(node,st,c){for(var i=0,list=node.properties;i<list.length;i+=1){c(list[i],st)}},base.FunctionExpression=base.ArrowFunctionExpression=base.FunctionDeclaration,base.SequenceExpression=function(node,st,c){for(var i=0,list=node.expressions;i<list.length;i+=1){c(list[i],st,"Expression")}},base.TemplateLiteral=function(node,st,c){for(var i=0,list=node.quasis;i<list.length;i+=1){c(list[i],st)}for(var i$1=0,list$1=node.expressions;i$1<list$1.length;i$1+=1){c(list$1[i$1],st,"Expression")}},base.TemplateElement=ignore,base.UnaryExpression=base.UpdateExpression=function(node,st,c){c(node.argument,st,"Expression")},base.BinaryExpression=base.LogicalExpression=function(node,st,c){c(node.left,st,"Expression"),c(node.right,st,"Expression")},base.AssignmentExpression=base.AssignmentPattern=function(node,st,c){c(node.left,st,"Pattern"),c(node.right,st,"Expression")},base.ConditionalExpression=function(node,st,c){c(node.test,st,"Expression"),c(node.consequent,st,"Expression"),c(node.alternate,st,"Expression")},base.NewExpression=base.CallExpression=function(node,st,c){if(c(node.callee,st,"Expression"),node.arguments)for(var i=0,list=node.arguments;i<list.length;i+=1){c(list[i],st,"Expression")}},base.MemberExpression=function(node,st,c){c(node.object,st,"Expression"),node.computed&&c(node.property,st,"Expression")},base.ExportNamedDeclaration=base.ExportDefaultDeclaration=function(node,st,c){node.declaration&&c(node.declaration,st,"ExportNamedDeclaration"===node.type||node.declaration.id?"Statement":"Expression"),node.source&&c(node.source,st,"Expression")},base.ExportAllDeclaration=function(node,st,c){node.exported&&c(node.exported,st),c(node.source,st,"Expression")},base.ImportDeclaration=function(node,st,c){for(var i=0,list=node.specifiers;i<list.length;i+=1){c(list[i],st)}c(node.source,st,"Expression")},base.ImportExpression=function(node,st,c){c(node.source,st,"Expression")},base.ImportSpecifier=base.ImportDefaultSpecifier=base.ImportNamespaceSpecifier=base.Identifier=base.Literal=ignore,base.TaggedTemplateExpression=function(node,st,c){c(node.tag,st,"Expression"),c(node.quasi,st,"Expression")},base.ClassDeclaration=base.ClassExpression=function(node,st,c){return c(node,st,"Class")},base.Class=function(node,st,c){node.id&&c(node.id,st,"Pattern"),node.superClass&&c(node.superClass,st,"Expression"),c(node.body,st)},base.ClassBody=function(node,st,c){for(var i=0,list=node.body;i<list.length;i+=1){c(list[i],st)}},base.MethodDefinition=base.Property=function(node,st,c){node.computed&&c(node.key,st,"Expression"),c(node.value,st,"Expression")}},44946:function(module){module.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},75207:function(module){module.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},1308:function(module){module.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},3800:function(module){module.exports=JSON.parse('["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","transparent","currentcolor"]')},29799:function(module){module.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},34370:function(module){module.exports=JSON.parse('{"IndexSizeError":1,"HierarchyRequestError":3,"WrongDocumentError":4,"InvalidCharacterError":5,"NoModificationAllowedError":7,"NotFoundError":8,"NotSupportedError":9,"InUseAttributeError":10,"InvalidStateError":11,"SyntaxError":12,"InvalidModificationError":13,"NamespaceError":14,"InvalidAccessError":15,"TypeMismatchError":17,"SecurityError":18,"NetworkError":19,"AbortError":20,"URLMismatchError":21,"QuotaExceededError":22,"TimeoutError":23,"InvalidNodeTypeError":24,"DataCloneError":25}')},18597:function(module){module.exports={i8:"6.5.4"}},78531:function(module){module.exports={version:"2.0.0"}},63480:function(module){module.exports=JSON.parse('[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒÊ̄ẾÊ̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜüê̄ếê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","■"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]')},13336:function(module){module.exports=JSON.parse('[["0","\\u0000",127,"€"],["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],["9980","檧檨檪檭",114,"欥欦欨",6],["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],["a1a1"," 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],["a2a1","ⅰ",9],["a2b1","⒈",19,"⑴",19,"①",9],["a2e5","㈠",9],["a2f1","Ⅰ",11],["a3a1","!"#¥%",88," ̄"],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],["a6ee","︻︼︷︸︱"],["a6f4","︳︴"],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],["a8bd","ńň"],["a8c0","ɡ"],["a8c5","ㄅ",36],["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦"],["a959","℡㈱"],["a95c","‐"],["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],["a980","﹢",4,"﹨﹩﹪﹫"],["a996","〇"],["a9a4","─",75],["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],["bb40","籃",9,"籎",36,"籵",5,"籾",9],["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],["bd40","紷",54,"絯",7],["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],["be40","継",12,"綧",6,"綯",42],["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],["bf40","緻",62],["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],["c040","繞",35,"纃",23,"纜纝纞"],["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],["d440","訞",31,"訿",8,"詉",21],["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],["d540","誁",7,"誋",7,"誔",46],["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],["d640","諤",34,"謈",27],["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],["d740","譆",31,"譧",4,"譭",25],["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],["d940","貮",62],["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],["dd40","軥",62],["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],["e240","釦",62],["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],["e340","鉆",45,"鉵",16],["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],["e440","銨",5,"銯",24,"鋉",31],["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],["e540","錊",51,"錿",10],["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],["e640","鍬",34,"鎐",27],["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],["e740","鏎",7,"鏗",54],["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],["ee40","頏",62],["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],["f040","餈",4,"餎餏餑",28,"餯",26],["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],["f140","馌馎馚",10,"馦馧馩",47],["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],["f240","駺",62],["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],["f540","魼",62],["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],["f640","鯜",62],["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],["f740","鰼",62],["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],["f840","鳣",62],["f880","鴢",32],["f940","鵃",62],["f980","鶂",32],["fa40","鶣",62],["fa80","鷢",32],["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]]')},77348:function(module){module.exports=JSON.parse('[["0","\\u0000",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],["8361","긝",18,"긲긳긵긶긹긻긼"],["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],["8741","놞",9,"놩",15],["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],["8a61","둧",4,"둭",18,"뒁뒂"],["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],["8c41","똀",15,"똒똓똕똖똗똙",4],["8c61","똞",6,"똦",5,"똭",6,"똵",5],["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],["8d41","뛃",16,"뛕",8],["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],["8e61","럂",4,"럈럊",19],["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],["8f41","뢅",7,"뢎",17],["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],["9061","륾",5,"릆릈릋릌릏",15],["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],["9461","봞",5,"봥",6,"봭",12],["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],["9641","뺸",23,"뻒뻓"],["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],["9741","뾃",16,"뾕",8],["9761","뾞",17,"뾱",7],["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],["9841","쁀",16,"쁒",5,"쁙쁚쁛"],["9861","쁝쁞쁟쁡",6,"쁪",15],["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],["9a41","숤숥숦숧숪숬숮숰숳숵",16],["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],["9b61","쌳",17,"썆",7],["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],["9c61","쏿",8,"쐉",6,"쐑",9],["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],["9d41","쒪",13,"쒹쒺쒻쒽",8],["9d61","쓆",25],["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],["a141","좥좦좧좩",18,"좾좿죀죁"],["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎 、。·‥…¨〃―∥\∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬"],["a241","줐줒",5,"줙",18],["a261","줭",6,"줵",18],["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],["a361","즑",6,"즚즜즞",16],["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛!",58,"₩]",32," ̄"],["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],["a481","쨦쨧쨨쨪",28,"ㄱ",93],["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],["a561","쩫",17,"쩾",5,"쪅쪆"],["a581","쪇",16,"쪙",14,"ⅰ",9],["a5b0","Ⅰ",9],["a5c1","Α",16,"Σ",6],["a5e1","α",16,"σ",6],["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],["a761","쬪",22,"쭂쭃쭄"],["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],["a841","쭭",10,"쭺",14],["a861","쮉",18,"쮝",6],["a881","쮤",19,"쮹",11,"ÆÐªĦ"],["a8a6","IJ"],["a8a8","ĿŁØŒºÞŦŊ"],["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],["a941","쯅",14,"쯕",10],["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],["aa81","챳챴챶",29,"ぁ",82],["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],["acd1","а",5,"ёж",25],["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],["ae41","췆",5,"췍췎췏췑",16],["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],["af41","츬츭츮츯츲츴츶",19],["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],["b041","캚",5,"캢캦",5,"캮",12],["b061","캻",5,"컂",19],["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],["b161","켥",6,"켮켲",5,"켹",11],["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],["b261","쾎",18,"쾢",5,"쾩"],["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],["b541","킕",14,"킦킧킩킪킫킭",5],["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],["b641","턅",7,"턎",17],["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],["b741","텮",13,"텽",6,"톅톆톇톉톊"],["b761","톋",20,"톢톣톥톦톧"],["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],["b841","퇐",7,"퇙",17],["b861","퇫",8,"퇵퇶퇷퇹",13],["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],["be41","퐸",7,"푁푂푃푅",14],["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],["bf41","풞",10,"풪",14],["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],["c061","픞",25],["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],["c161","햌햍햎햏햑",19,"햦햧"],["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],["c361","홢",4,"홨홪",5,"홲홳홵",11],["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],["c641","힍힎힏힑",6,"힚힜힞",5],["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]]')},74284:function(module){module.exports=JSON.parse('[["0","\\u0000",127],["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢",4,"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/"],["a240","\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳0",9,"Ⅰ",9,"〡",8,"十卄卅A",25,"a",21],["a340","wxyzΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],["a3a1","ㄐ",25,"˙ˉˊˇˋ"],["a3e1","€"],["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]]')},31532:function(module){module.exports=JSON.parse('[["0","\\u0000",127],["8ea1","。",62],["a1a1"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨¬⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","ʼn♯♭♪†‡¶"],["a2fe","◯"],["a3b0","0",9],["a3c1","A",25],["a3e1","a",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"Ⅰ",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],["f4a1","堯槇遙瑤凜熙"],["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["fcf1","ⅰ",9,"¬¦'""],["8fa2af","˘ˇ¸˙˝¯˛˚~΄΅"],["8fa2c2","¡¦¿"],["8fa2eb","ºª©®™¤№"],["8fa6e1","ΆΈΉΊΪ"],["8fa6e7","Ό"],["8fa6e9","ΎΫ"],["8fa6ec","Ώ"],["8fa6f1","άέήίϊΐόςύϋΰώ"],["8fa7c2","Ђ",10,"ЎЏ"],["8fa7f2","ђ",10,"ўџ"],["8fa9a1","ÆĐ"],["8fa9a4","Ħ"],["8fa9a6","IJ"],["8fa9a8","ŁĿ"],["8fa9ab","ŊØŒ"],["8fa9af","ŦÞ"],["8fa9c1","æđðħıijĸłŀʼnŋøœßŧþ"],["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],["8fabbd","ġĥíìïîǐ"],["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]]')},36258:function(module){module.exports=JSON.parse('{"uChars":[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],"gbChars":[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189000]}')},44346:function(module){module.exports=JSON.parse('[["a140","",62],["a180","",32],["a240","",62],["a280","",32],["a2ab","",5],["a2e3","€"],["a2ef",""],["a2fd",""],["a340","",62],["a380","",31," "],["a440","",62],["a480","",32],["a4f4","",10],["a540","",62],["a580","",32],["a5f7","",7],["a640","",62],["a680","",32],["a6b9","",7],["a6d9","",6],["a6ec",""],["a6f3",""],["a6f6","",8],["a740","",62],["a780","",32],["a7c2","",14],["a7f2","",12],["a896","",10],["a8bc","ḿ"],["a8bf","ǹ"],["a8c1",""],["a8ea","",20],["a958",""],["a95b",""],["a95d",""],["a989","〾⿰",11],["a997","",12],["a9f0","",14],["aaa1","",93],["aba1","",93],["aca1","",93],["ada1","",93],["aea1","",93],["afa1","",93],["d7fa","",4],["f8a1","",93],["f9a1","",93],["faa1","",93],["fba1","",93],["fca1","",93],["fda1","",93],["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93],["8135f437",""]]')},27014:function(module){module.exports=JSON.parse('[["0","\\u0000",128],["a1","。",62],["8140"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×"],["8180","÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],["81b8","∈∋⊆⊇⊂⊃∪∩"],["81c8","∧∨¬⇒⇔∀∃"],["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["81f0","ʼn♯♭♪†‡¶"],["81fc","◯"],["824f","0",9],["8260","A",25],["8281","a",25],["829f","ぁ",82],["8340","ァ",62],["8380","ム",22],["839f","Α",16,"Σ",6],["83bf","α",16,"σ",6],["8440","А",5,"ЁЖ",25],["8470","а",5,"ёж",7],["8480","о",17],["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["8740","①",19,"Ⅰ",9],["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["877e","㍻"],["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["eeef","ⅰ",9,"¬¦'""],["f040","",62],["f080","",124],["f140","",62],["f180","",124],["f240","",62],["f280","",124],["f340","",62],["f380","",124],["f440","",62],["f480","",124],["f540","",62],["f580","",124],["f640","",62],["f680","",124],["f740","",62],["f780","",124],["f840","",62],["f880","",124],["f940",""],["fa40","ⅰ",9,"Ⅰ",9,"¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]]')},40264:function(module){module.exports=JSON.parse('{"Object":{"writable":true,"enumerable":false,"configurable":true},"Function":{"writable":true,"enumerable":false,"configurable":true},"Array":{"writable":true,"enumerable":false,"configurable":true},"Number":{"writable":true,"enumerable":false,"configurable":true},"parseFloat":{"writable":true,"enumerable":false,"configurable":true},"parseInt":{"writable":true,"enumerable":false,"configurable":true},"Infinity":{"writable":false,"enumerable":false,"configurable":false},"NaN":{"writable":false,"enumerable":false,"configurable":false},"undefined":{"writable":false,"enumerable":false,"configurable":false},"Boolean":{"writable":true,"enumerable":false,"configurable":true},"String":{"writable":true,"enumerable":false,"configurable":true},"Symbol":{"writable":true,"enumerable":false,"configurable":true},"Date":{"writable":true,"enumerable":false,"configurable":true},"Promise":{"writable":true,"enumerable":false,"configurable":true},"RegExp":{"writable":true,"enumerable":false,"configurable":true},"Error":{"writable":true,"enumerable":false,"configurable":true},"AggregateError":{"writable":true,"enumerable":false,"configurable":true},"EvalError":{"writable":true,"enumerable":false,"configurable":true},"RangeError":{"writable":true,"enumerable":false,"configurable":true},"ReferenceError":{"writable":true,"enumerable":false,"configurable":true},"SyntaxError":{"writable":true,"enumerable":false,"configurable":true},"TypeError":{"writable":true,"enumerable":false,"configurable":true},"URIError":{"writable":true,"enumerable":false,"configurable":true},"globalThis":{"writable":true,"enumerable":false,"configurable":true},"JSON":{"writable":true,"enumerable":false,"configurable":true},"Math":{"writable":true,"enumerable":false,"configurable":true},"Intl":{"writable":true,"enumerable":false,"configurable":true},"ArrayBuffer":{"writable":true,"enumerable":false,"configurable":true},"Uint8Array":{"writable":true,"enumerable":false,"configurable":true},"Int8Array":{"writable":true,"enumerable":false,"configurable":true},"Uint16Array":{"writable":true,"enumerable":false,"configurable":true},"Int16Array":{"writable":true,"enumerable":false,"configurable":true},"Uint32Array":{"writable":true,"enumerable":false,"configurable":true},"Int32Array":{"writable":true,"enumerable":false,"configurable":true},"Float32Array":{"writable":true,"enumerable":false,"configurable":true},"Float64Array":{"writable":true,"enumerable":false,"configurable":true},"Uint8ClampedArray":{"writable":true,"enumerable":false,"configurable":true},"BigUint64Array":{"writable":true,"enumerable":false,"configurable":true},"BigInt64Array":{"writable":true,"enumerable":false,"configurable":true},"DataView":{"writable":true,"enumerable":false,"configurable":true},"Map":{"writable":true,"enumerable":false,"configurable":true},"BigInt":{"writable":true,"enumerable":false,"configurable":true},"Set":{"writable":true,"enumerable":false,"configurable":true},"WeakMap":{"writable":true,"enumerable":false,"configurable":true},"WeakSet":{"writable":true,"enumerable":false,"configurable":true},"Proxy":{"writable":true,"enumerable":false,"configurable":true},"Reflect":{"writable":true,"enumerable":false,"configurable":true},"FinalizationRegistry":{"writable":true,"enumerable":false,"configurable":true},"WeakRef":{"writable":true,"enumerable":false,"configurable":true},"decodeURI":{"writable":true,"enumerable":false,"configurable":true},"decodeURIComponent":{"writable":true,"enumerable":false,"configurable":true},"encodeURI":{"writable":true,"enumerable":false,"configurable":true},"encodeURIComponent":{"writable":true,"enumerable":false,"configurable":true},"escape":{"writable":true,"enumerable":false,"configurable":true},"unescape":{"writable":true,"enumerable":false,"configurable":true},"eval":{"writable":true,"enumerable":false,"configurable":true},"isFinite":{"writable":true,"enumerable":false,"configurable":true},"isNaN":{"writable":true,"enumerable":false,"configurable":true},"SharedArrayBuffer":{"writable":true,"enumerable":false,"configurable":true},"Atomics":{"writable":true,"enumerable":false,"configurable":true},"WebAssembly":{"writable":true,"enumerable":false,"configurable":true}}')},89244:function(module){module.exports={i8:"19.0.0"}},22562:function(module){module.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},3704:function(module){module.exports=JSON.parse('["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac","org.ac","ad","nom.ad","ae","co.ae","net.ae","org.ae","sch.ae","ac.ae","gov.ae","mil.ae","aero","accident-investigation.aero","accident-prevention.aero","aerobatic.aero","aeroclub.aero","aerodrome.aero","agents.aero","aircraft.aero","airline.aero","airport.aero","air-surveillance.aero","airtraffic.aero","air-traffic-control.aero","ambulance.aero","amusement.aero","association.aero","author.aero","ballooning.aero","broker.aero","caa.aero","cargo.aero","catering.aero","certification.aero","championship.aero","charter.aero","civilaviation.aero","club.aero","conference.aero","consultant.aero","consulting.aero","control.aero","council.aero","crew.aero","design.aero","dgca.aero","educator.aero","emergency.aero","engine.aero","engineer.aero","entertainment.aero","equipment.aero","exchange.aero","express.aero","federation.aero","flight.aero","freight.aero","fuel.aero","gliding.aero","government.aero","groundhandling.aero","group.aero","hanggliding.aero","homebuilt.aero","insurance.aero","journal.aero","journalist.aero","leasing.aero","logistics.aero","magazine.aero","maintenance.aero","media.aero","microlight.aero","modelling.aero","navigation.aero","parachuting.aero","paragliding.aero","passenger-association.aero","pilot.aero","press.aero","production.aero","recreation.aero","repbody.aero","res.aero","research.aero","rotorcraft.aero","safety.aero","scientist.aero","services.aero","show.aero","skydiving.aero","software.aero","student.aero","trader.aero","trading.aero","trainer.aero","union.aero","workinggroup.aero","works.aero","af","gov.af","com.af","org.af","net.af","edu.af","ag","com.ag","org.ag","net.ag","co.ag","nom.ag","ai","off.ai","com.ai","net.ai","org.ai","al","com.al","edu.al","gov.al","mil.al","net.al","org.al","am","co.am","com.am","commune.am","net.am","org.am","ao","ed.ao","gv.ao","og.ao","co.ao","pb.ao","it.ao","aq","ar","com.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","musica.ar","net.ar","org.ar","tur.ar","arpa","e164.arpa","in-addr.arpa","ip6.arpa","iris.arpa","uri.arpa","urn.arpa","as","gov.as","asia","at","ac.at","co.at","gv.at","or.at","au","com.au","net.au","org.au","edu.au","gov.au","asn.au","id.au","info.au","conf.au","oz.au","act.au","nsw.au","nt.au","qld.au","sa.au","tas.au","vic.au","wa.au","act.edu.au","catholic.edu.au","nsw.edu.au","nt.edu.au","qld.edu.au","sa.edu.au","tas.edu.au","vic.edu.au","wa.edu.au","qld.gov.au","sa.gov.au","tas.gov.au","vic.gov.au","wa.gov.au","education.tas.edu.au","schools.nsw.edu.au","aw","com.aw","ax","az","com.az","net.az","int.az","gov.az","org.az","edu.az","info.az","pp.az","mil.az","name.az","pro.az","biz.az","ba","com.ba","edu.ba","gov.ba","mil.ba","net.ba","org.ba","bb","biz.bb","co.bb","com.bb","edu.bb","gov.bb","info.bb","net.bb","org.bb","store.bb","tv.bb","*.bd","be","ac.be","bf","gov.bf","bg","a.bg","b.bg","c.bg","d.bg","e.bg","f.bg","g.bg","h.bg","i.bg","j.bg","k.bg","l.bg","m.bg","n.bg","o.bg","p.bg","q.bg","r.bg","s.bg","t.bg","u.bg","v.bg","w.bg","x.bg","y.bg","z.bg","0.bg","1.bg","2.bg","3.bg","4.bg","5.bg","6.bg","7.bg","8.bg","9.bg","bh","com.bh","edu.bh","net.bh","org.bh","gov.bh","bi","co.bi","com.bi","edu.bi","or.bi","org.bi","biz","bj","asso.bj","barreau.bj","gouv.bj","bm","com.bm","edu.bm","gov.bm","net.bm","org.bm","bn","com.bn","edu.bn","gov.bn","net.bn","org.bn","bo","com.bo","edu.bo","gob.bo","int.bo","org.bo","net.bo","mil.bo","tv.bo","web.bo","academia.bo","agro.bo","arte.bo","blog.bo","bolivia.bo","ciencia.bo","cooperativa.bo","democracia.bo","deporte.bo","ecologia.bo","economia.bo","empresa.bo","indigena.bo","industria.bo","info.bo","medicina.bo","movimiento.bo","musica.bo","natural.bo","nombre.bo","noticias.bo","patria.bo","politica.bo","profesional.bo","plurinacional.bo","pueblo.bo","revista.bo","salud.bo","tecnologia.bo","tksat.bo","transporte.bo","wiki.bo","br","9guacu.br","abc.br","adm.br","adv.br","agr.br","aju.br","am.br","anani.br","aparecida.br","arq.br","art.br","ato.br","b.br","barueri.br","belem.br","bhz.br","bio.br","blog.br","bmd.br","boavista.br","bsb.br","campinagrande.br","campinas.br","caxias.br","cim.br","cng.br","cnt.br","com.br","contagem.br","coop.br","cri.br","cuiaba.br","curitiba.br","def.br","ecn.br","eco.br","edu.br","emp.br","eng.br","esp.br","etc.br","eti.br","far.br","feira.br","flog.br","floripa.br","fm.br","fnd.br","fortal.br","fot.br","foz.br","fst.br","g12.br","ggf.br","goiania.br","gov.br","ac.gov.br","al.gov.br","am.gov.br","ap.gov.br","ba.gov.br","ce.gov.br","df.gov.br","es.gov.br","go.gov.br","ma.gov.br","mg.gov.br","ms.gov.br","mt.gov.br","pa.gov.br","pb.gov.br","pe.gov.br","pi.gov.br","pr.gov.br","rj.gov.br","rn.gov.br","ro.gov.br","rr.gov.br","rs.gov.br","sc.gov.br","se.gov.br","sp.gov.br","to.gov.br","gru.br","imb.br","ind.br","inf.br","jab.br","jampa.br","jdf.br","joinville.br","jor.br","jus.br","leg.br","lel.br","londrina.br","macapa.br","maceio.br","manaus.br","maringa.br","mat.br","med.br","mil.br","morena.br","mp.br","mus.br","natal.br","net.br","niteroi.br","*.nom.br","not.br","ntr.br","odo.br","ong.br","org.br","osasco.br","palmas.br","poa.br","ppg.br","pro.br","psc.br","psi.br","pvh.br","qsl.br","radio.br","rec.br","recife.br","ribeirao.br","rio.br","riobranco.br","riopreto.br","salvador.br","sampa.br","santamaria.br","santoandre.br","saobernardo.br","saogonca.br","sjc.br","slg.br","slz.br","sorocaba.br","srv.br","taxi.br","tc.br","teo.br","the.br","tmp.br","trd.br","tur.br","tv.br","udi.br","vet.br","vix.br","vlog.br","wiki.br","zlg.br","bs","com.bs","net.bs","org.bs","edu.bs","gov.bs","bt","com.bt","edu.bt","gov.bt","net.bt","org.bt","bv","bw","co.bw","org.bw","by","gov.by","mil.by","com.by","of.by","bz","com.bz","net.bz","org.bz","edu.bz","gov.bz","ca","ab.ca","bc.ca","mb.ca","nb.ca","nf.ca","nl.ca","ns.ca","nt.ca","nu.ca","on.ca","pe.ca","qc.ca","sk.ca","yk.ca","gc.ca","cat","cc","cd","gov.cd","cf","cg","ch","ci","org.ci","or.ci","com.ci","co.ci","edu.ci","ed.ci","ac.ci","net.ci","go.ci","asso.ci","aéroport.ci","int.ci","presse.ci","md.ci","gouv.ci","*.ck","!www.ck","cl","aprendemas.cl","co.cl","gob.cl","gov.cl","mil.cl","cm","co.cm","com.cm","gov.cm","net.cm","cn","ac.cn","com.cn","edu.cn","gov.cn","net.cn","org.cn","mil.cn","公司.cn","网络.cn","網絡.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gz.cn","gx.cn","ha.cn","hb.cn","he.cn","hi.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","sx.cn","tj.cn","xj.cn","xz.cn","yn.cn","zj.cn","hk.cn","mo.cn","tw.cn","co","arts.co","com.co","edu.co","firm.co","gov.co","info.co","int.co","mil.co","net.co","nom.co","org.co","rec.co","web.co","com","coop","cr","ac.cr","co.cr","ed.cr","fi.cr","go.cr","or.cr","sa.cr","cu","com.cu","edu.cu","org.cu","net.cu","gov.cu","inf.cu","cv","cw","com.cw","edu.cw","net.cw","org.cw","cx","gov.cx","cy","ac.cy","biz.cy","com.cy","ekloges.cy","gov.cy","ltd.cy","name.cy","net.cy","org.cy","parliament.cy","press.cy","pro.cy","tm.cy","cz","de","dj","dk","dm","com.dm","net.dm","org.dm","edu.dm","gov.dm","do","art.do","com.do","edu.do","gob.do","gov.do","mil.do","net.do","org.do","sld.do","web.do","dz","com.dz","org.dz","net.dz","gov.dz","edu.dz","asso.dz","pol.dz","art.dz","ec","com.ec","info.ec","net.ec","fin.ec","k12.ec","med.ec","pro.ec","org.ec","edu.ec","gov.ec","gob.ec","mil.ec","edu","ee","edu.ee","gov.ee","riik.ee","lib.ee","med.ee","com.ee","pri.ee","aip.ee","org.ee","fie.ee","eg","com.eg","edu.eg","eun.eg","gov.eg","mil.eg","name.eg","net.eg","org.eg","sci.eg","*.er","es","com.es","nom.es","org.es","gob.es","edu.es","et","com.et","gov.et","org.et","edu.et","biz.et","name.et","info.et","net.et","eu","fi","aland.fi","fj","ac.fj","biz.fj","com.fj","gov.fj","info.fj","mil.fj","name.fj","net.fj","org.fj","pro.fj","*.fk","fm","fo","fr","asso.fr","com.fr","gouv.fr","nom.fr","prd.fr","tm.fr","aeroport.fr","avocat.fr","avoues.fr","cci.fr","chambagri.fr","chirurgiens-dentistes.fr","experts-comptables.fr","geometre-expert.fr","greta.fr","huissier-justice.fr","medecin.fr","notaires.fr","pharmacien.fr","port.fr","veterinaire.fr","ga","gb","gd","ge","com.ge","edu.ge","gov.ge","org.ge","mil.ge","net.ge","pvt.ge","gf","gg","co.gg","net.gg","org.gg","gh","com.gh","edu.gh","gov.gh","org.gh","mil.gh","gi","com.gi","ltd.gi","gov.gi","mod.gi","edu.gi","org.gi","gl","co.gl","com.gl","edu.gl","net.gl","org.gl","gm","gn","ac.gn","com.gn","edu.gn","gov.gn","org.gn","net.gn","gov","gp","com.gp","net.gp","mobi.gp","edu.gp","org.gp","asso.gp","gq","gr","com.gr","edu.gr","net.gr","org.gr","gov.gr","gs","gt","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","gu","com.gu","edu.gu","gov.gu","guam.gu","info.gu","net.gu","org.gu","web.gu","gw","gy","co.gy","com.gy","edu.gy","gov.gy","net.gy","org.gy","hk","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","公司.hk","教育.hk","敎育.hk","政府.hk","個人.hk","个人.hk","箇人.hk","網络.hk","网络.hk","组織.hk","網絡.hk","网絡.hk","组织.hk","組織.hk","組织.hk","hm","hn","com.hn","edu.hn","org.hn","net.hn","mil.hn","gob.hn","hr","iz.hr","from.hr","name.hr","com.hr","ht","com.ht","shop.ht","firm.ht","info.ht","adult.ht","net.ht","pro.ht","org.ht","med.ht","art.ht","coop.ht","pol.ht","asso.ht","edu.ht","rel.ht","gouv.ht","perso.ht","hu","co.hu","info.hu","org.hu","priv.hu","sport.hu","tm.hu","2000.hu","agrar.hu","bolt.hu","casino.hu","city.hu","erotica.hu","erotika.hu","film.hu","forum.hu","games.hu","hotel.hu","ingatlan.hu","jogasz.hu","konyvelo.hu","lakas.hu","media.hu","news.hu","reklam.hu","sex.hu","shop.hu","suli.hu","szex.hu","tozsde.hu","utazas.hu","video.hu","id","ac.id","biz.id","co.id","desa.id","go.id","mil.id","my.id","net.id","or.id","ponpes.id","sch.id","web.id","ie","gov.ie","il","ac.il","co.il","gov.il","idf.il","k12.il","muni.il","net.il","org.il","im","ac.im","co.im","com.im","ltd.co.im","net.im","org.im","plc.co.im","tt.im","tv.im","in","co.in","firm.in","net.in","org.in","gen.in","ind.in","nic.in","ac.in","edu.in","res.in","gov.in","mil.in","info","int","eu.int","io","com.io","iq","gov.iq","edu.iq","mil.iq","com.iq","org.iq","net.iq","ir","ac.ir","co.ir","gov.ir","id.ir","net.ir","org.ir","sch.ir","ایران.ir","ايران.ir","is","net.is","com.is","edu.is","gov.is","org.is","int.is","it","gov.it","edu.it","abr.it","abruzzo.it","aosta-valley.it","aostavalley.it","bas.it","basilicata.it","cal.it","calabria.it","cam.it","campania.it","emilia-romagna.it","emiliaromagna.it","emr.it","friuli-v-giulia.it","friuli-ve-giulia.it","friuli-vegiulia.it","friuli-venezia-giulia.it","friuli-veneziagiulia.it","friuli-vgiulia.it","friuliv-giulia.it","friulive-giulia.it","friulivegiulia.it","friulivenezia-giulia.it","friuliveneziagiulia.it","friulivgiulia.it","fvg.it","laz.it","lazio.it","lig.it","liguria.it","lom.it","lombardia.it","lombardy.it","lucania.it","mar.it","marche.it","mol.it","molise.it","piedmont.it","piemonte.it","pmn.it","pug.it","puglia.it","sar.it","sardegna.it","sardinia.it","sic.it","sicilia.it","sicily.it","taa.it","tos.it","toscana.it","trentin-sud-tirol.it","trentin-süd-tirol.it","trentin-sudtirol.it","trentin-südtirol.it","trentin-sued-tirol.it","trentin-suedtirol.it","trentino-a-adige.it","trentino-aadige.it","trentino-alto-adige.it","trentino-altoadige.it","trentino-s-tirol.it","trentino-stirol.it","trentino-sud-tirol.it","trentino-süd-tirol.it","trentino-sudtirol.it","trentino-südtirol.it","trentino-sued-tirol.it","trentino-suedtirol.it","trentino.it","trentinoa-adige.it","trentinoaadige.it","trentinoalto-adige.it","trentinoaltoadige.it","trentinos-tirol.it","trentinostirol.it","trentinosud-tirol.it","trentinosüd-tirol.it","trentinosudtirol.it","trentinosüdtirol.it","trentinosued-tirol.it","trentinosuedtirol.it","trentinsud-tirol.it","trentinsüd-tirol.it","trentinsudtirol.it","trentinsüdtirol.it","trentinsued-tirol.it","trentinsuedtirol.it","tuscany.it","umb.it","umbria.it","val-d-aosta.it","val-daosta.it","vald-aosta.it","valdaosta.it","valle-aosta.it","valle-d-aosta.it","valle-daosta.it","valleaosta.it","valled-aosta.it","valledaosta.it","vallee-aoste.it","vallée-aoste.it","vallee-d-aoste.it","vallée-d-aoste.it","valleeaoste.it","valléeaoste.it","valleedaoste.it","valléedaoste.it","vao.it","vda.it","ven.it","veneto.it","ag.it","agrigento.it","al.it","alessandria.it","alto-adige.it","altoadige.it","an.it","ancona.it","andria-barletta-trani.it","andria-trani-barletta.it","andriabarlettatrani.it","andriatranibarletta.it","ao.it","aosta.it","aoste.it","ap.it","aq.it","aquila.it","ar.it","arezzo.it","ascoli-piceno.it","ascolipiceno.it","asti.it","at.it","av.it","avellino.it","ba.it","balsan-sudtirol.it","balsan-südtirol.it","balsan-suedtirol.it","balsan.it","bari.it","barletta-trani-andria.it","barlettatraniandria.it","belluno.it","benevento.it","bergamo.it","bg.it","bi.it","biella.it","bl.it","bn.it","bo.it","bologna.it","bolzano-altoadige.it","bolzano.it","bozen-sudtirol.it","bozen-südtirol.it","bozen-suedtirol.it","bozen.it","br.it","brescia.it","brindisi.it","bs.it","bt.it","bulsan-sudtirol.it","bulsan-südtirol.it","bulsan-suedtirol.it","bulsan.it","bz.it","ca.it","cagliari.it","caltanissetta.it","campidano-medio.it","campidanomedio.it","campobasso.it","carbonia-iglesias.it","carboniaiglesias.it","carrara-massa.it","carraramassa.it","caserta.it","catania.it","catanzaro.it","cb.it","ce.it","cesena-forli.it","cesena-forlì.it","cesenaforli.it","cesenaforlì.it","ch.it","chieti.it","ci.it","cl.it","cn.it","co.it","como.it","cosenza.it","cr.it","cremona.it","crotone.it","cs.it","ct.it","cuneo.it","cz.it","dell-ogliastra.it","dellogliastra.it","en.it","enna.it","fc.it","fe.it","fermo.it","ferrara.it","fg.it","fi.it","firenze.it","florence.it","fm.it","foggia.it","forli-cesena.it","forlì-cesena.it","forlicesena.it","forlìcesena.it","fr.it","frosinone.it","ge.it","genoa.it","genova.it","go.it","gorizia.it","gr.it","grosseto.it","iglesias-carbonia.it","iglesiascarbonia.it","im.it","imperia.it","is.it","isernia.it","kr.it","la-spezia.it","laquila.it","laspezia.it","latina.it","lc.it","le.it","lecce.it","lecco.it","li.it","livorno.it","lo.it","lodi.it","lt.it","lu.it","lucca.it","macerata.it","mantova.it","massa-carrara.it","massacarrara.it","matera.it","mb.it","mc.it","me.it","medio-campidano.it","mediocampidano.it","messina.it","mi.it","milan.it","milano.it","mn.it","mo.it","modena.it","monza-brianza.it","monza-e-della-brianza.it","monza.it","monzabrianza.it","monzaebrianza.it","monzaedellabrianza.it","ms.it","mt.it","na.it","naples.it","napoli.it","no.it","novara.it","nu.it","nuoro.it","og.it","ogliastra.it","olbia-tempio.it","olbiatempio.it","or.it","oristano.it","ot.it","pa.it","padova.it","padua.it","palermo.it","parma.it","pavia.it","pc.it","pd.it","pe.it","perugia.it","pesaro-urbino.it","pesarourbino.it","pescara.it","pg.it","pi.it","piacenza.it","pisa.it","pistoia.it","pn.it","po.it","pordenone.it","potenza.it","pr.it","prato.it","pt.it","pu.it","pv.it","pz.it","ra.it","ragusa.it","ravenna.it","rc.it","re.it","reggio-calabria.it","reggio-emilia.it","reggiocalabria.it","reggioemilia.it","rg.it","ri.it","rieti.it","rimini.it","rm.it","rn.it","ro.it","roma.it","rome.it","rovigo.it","sa.it","salerno.it","sassari.it","savona.it","si.it","siena.it","siracusa.it","so.it","sondrio.it","sp.it","sr.it","ss.it","suedtirol.it","südtirol.it","sv.it","ta.it","taranto.it","te.it","tempio-olbia.it","tempioolbia.it","teramo.it","terni.it","tn.it","to.it","torino.it","tp.it","tr.it","trani-andria-barletta.it","trani-barletta-andria.it","traniandriabarletta.it","tranibarlettaandria.it","trapani.it","trento.it","treviso.it","trieste.it","ts.it","turin.it","tv.it","ud.it","udine.it","urbino-pesaro.it","urbinopesaro.it","va.it","varese.it","vb.it","vc.it","ve.it","venezia.it","venice.it","verbania.it","vercelli.it","verona.it","vi.it","vibo-valentia.it","vibovalentia.it","vicenza.it","viterbo.it","vr.it","vs.it","vt.it","vv.it","je","co.je","net.je","org.je","*.jm","jo","com.jo","org.jo","net.jo","edu.jo","sch.jo","gov.jo","mil.jo","name.jo","jobs","jp","ac.jp","ad.jp","co.jp","ed.jp","go.jp","gr.jp","lg.jp","ne.jp","or.jp","aichi.jp","akita.jp","aomori.jp","chiba.jp","ehime.jp","fukui.jp","fukuoka.jp","fukushima.jp","gifu.jp","gunma.jp","hiroshima.jp","hokkaido.jp","hyogo.jp","ibaraki.jp","ishikawa.jp","iwate.jp","kagawa.jp","kagoshima.jp","kanagawa.jp","kochi.jp","kumamoto.jp","kyoto.jp","mie.jp","miyagi.jp","miyazaki.jp","nagano.jp","nagasaki.jp","nara.jp","niigata.jp","oita.jp","okayama.jp","okinawa.jp","osaka.jp","saga.jp","saitama.jp","shiga.jp","shimane.jp","shizuoka.jp","tochigi.jp","tokushima.jp","tokyo.jp","tottori.jp","toyama.jp","wakayama.jp","yamagata.jp","yamaguchi.jp","yamanashi.jp","栃木.jp","愛知.jp","愛媛.jp","兵庫.jp","熊本.jp","茨城.jp","北海道.jp","千葉.jp","和歌山.jp","長崎.jp","長野.jp","新潟.jp","青森.jp","静岡.jp","東京.jp","石川.jp","埼玉.jp","三重.jp","京都.jp","佐賀.jp","大分.jp","大阪.jp","奈良.jp","宮城.jp","宮崎.jp","富山.jp","山口.jp","山形.jp","山梨.jp","岩手.jp","岐阜.jp","岡山.jp","島根.jp","広島.jp","徳島.jp","沖縄.jp","滋賀.jp","神奈川.jp","福井.jp","福岡.jp","福島.jp","秋田.jp","群馬.jp","香川.jp","高知.jp","鳥取.jp","鹿児島.jp","*.kawasaki.jp","*.kitakyushu.jp","*.kobe.jp","*.nagoya.jp","*.sapporo.jp","*.sendai.jp","*.yokohama.jp","!city.kawasaki.jp","!city.kitakyushu.jp","!city.kobe.jp","!city.nagoya.jp","!city.sapporo.jp","!city.sendai.jp","!city.yokohama.jp","aisai.aichi.jp","ama.aichi.jp","anjo.aichi.jp","asuke.aichi.jp","chiryu.aichi.jp","chita.aichi.jp","fuso.aichi.jp","gamagori.aichi.jp","handa.aichi.jp","hazu.aichi.jp","hekinan.aichi.jp","higashiura.aichi.jp","ichinomiya.aichi.jp","inazawa.aichi.jp","inuyama.aichi.jp","isshiki.aichi.jp","iwakura.aichi.jp","kanie.aichi.jp","kariya.aichi.jp","kasugai.aichi.jp","kira.aichi.jp","kiyosu.aichi.jp","komaki.aichi.jp","konan.aichi.jp","kota.aichi.jp","mihama.aichi.jp","miyoshi.aichi.jp","nishio.aichi.jp","nisshin.aichi.jp","obu.aichi.jp","oguchi.aichi.jp","oharu.aichi.jp","okazaki.aichi.jp","owariasahi.aichi.jp","seto.aichi.jp","shikatsu.aichi.jp","shinshiro.aichi.jp","shitara.aichi.jp","tahara.aichi.jp","takahama.aichi.jp","tobishima.aichi.jp","toei.aichi.jp","togo.aichi.jp","tokai.aichi.jp","tokoname.aichi.jp","toyoake.aichi.jp","toyohashi.aichi.jp","toyokawa.aichi.jp","toyone.aichi.jp","toyota.aichi.jp","tsushima.aichi.jp","yatomi.aichi.jp","akita.akita.jp","daisen.akita.jp","fujisato.akita.jp","gojome.akita.jp","hachirogata.akita.jp","happou.akita.jp","higashinaruse.akita.jp","honjo.akita.jp","honjyo.akita.jp","ikawa.akita.jp","kamikoani.akita.jp","kamioka.akita.jp","katagami.akita.jp","kazuno.akita.jp","kitaakita.akita.jp","kosaka.akita.jp","kyowa.akita.jp","misato.akita.jp","mitane.akita.jp","moriyoshi.akita.jp","nikaho.akita.jp","noshiro.akita.jp","odate.akita.jp","oga.akita.jp","ogata.akita.jp","semboku.akita.jp","yokote.akita.jp","yurihonjo.akita.jp","aomori.aomori.jp","gonohe.aomori.jp","hachinohe.aomori.jp","hashikami.aomori.jp","hiranai.aomori.jp","hirosaki.aomori.jp","itayanagi.aomori.jp","kuroishi.aomori.jp","misawa.aomori.jp","mutsu.aomori.jp","nakadomari.aomori.jp","noheji.aomori.jp","oirase.aomori.jp","owani.aomori.jp","rokunohe.aomori.jp","sannohe.aomori.jp","shichinohe.aomori.jp","shingo.aomori.jp","takko.aomori.jp","towada.aomori.jp","tsugaru.aomori.jp","tsuruta.aomori.jp","abiko.chiba.jp","asahi.chiba.jp","chonan.chiba.jp","chosei.chiba.jp","choshi.chiba.jp","chuo.chiba.jp","funabashi.chiba.jp","futtsu.chiba.jp","hanamigawa.chiba.jp","ichihara.chiba.jp","ichikawa.chiba.jp","ichinomiya.chiba.jp","inzai.chiba.jp","isumi.chiba.jp","kamagaya.chiba.jp","kamogawa.chiba.jp","kashiwa.chiba.jp","katori.chiba.jp","katsuura.chiba.jp","kimitsu.chiba.jp","kisarazu.chiba.jp","kozaki.chiba.jp","kujukuri.chiba.jp","kyonan.chiba.jp","matsudo.chiba.jp","midori.chiba.jp","mihama.chiba.jp","minamiboso.chiba.jp","mobara.chiba.jp","mutsuzawa.chiba.jp","nagara.chiba.jp","nagareyama.chiba.jp","narashino.chiba.jp","narita.chiba.jp","noda.chiba.jp","oamishirasato.chiba.jp","omigawa.chiba.jp","onjuku.chiba.jp","otaki.chiba.jp","sakae.chiba.jp","sakura.chiba.jp","shimofusa.chiba.jp","shirako.chiba.jp","shiroi.chiba.jp","shisui.chiba.jp","sodegaura.chiba.jp","sosa.chiba.jp","tako.chiba.jp","tateyama.chiba.jp","togane.chiba.jp","tohnosho.chiba.jp","tomisato.chiba.jp","urayasu.chiba.jp","yachimata.chiba.jp","yachiyo.chiba.jp","yokaichiba.chiba.jp","yokoshibahikari.chiba.jp","yotsukaido.chiba.jp","ainan.ehime.jp","honai.ehime.jp","ikata.ehime.jp","imabari.ehime.jp","iyo.ehime.jp","kamijima.ehime.jp","kihoku.ehime.jp","kumakogen.ehime.jp","masaki.ehime.jp","matsuno.ehime.jp","matsuyama.ehime.jp","namikata.ehime.jp","niihama.ehime.jp","ozu.ehime.jp","saijo.ehime.jp","seiyo.ehime.jp","shikokuchuo.ehime.jp","tobe.ehime.jp","toon.ehime.jp","uchiko.ehime.jp","uwajima.ehime.jp","yawatahama.ehime.jp","echizen.fukui.jp","eiheiji.fukui.jp","fukui.fukui.jp","ikeda.fukui.jp","katsuyama.fukui.jp","mihama.fukui.jp","minamiechizen.fukui.jp","obama.fukui.jp","ohi.fukui.jp","ono.fukui.jp","sabae.fukui.jp","sakai.fukui.jp","takahama.fukui.jp","tsuruga.fukui.jp","wakasa.fukui.jp","ashiya.fukuoka.jp","buzen.fukuoka.jp","chikugo.fukuoka.jp","chikuho.fukuoka.jp","chikujo.fukuoka.jp","chikushino.fukuoka.jp","chikuzen.fukuoka.jp","chuo.fukuoka.jp","dazaifu.fukuoka.jp","fukuchi.fukuoka.jp","hakata.fukuoka.jp","higashi.fukuoka.jp","hirokawa.fukuoka.jp","hisayama.fukuoka.jp","iizuka.fukuoka.jp","inatsuki.fukuoka.jp","kaho.fukuoka.jp","kasuga.fukuoka.jp","kasuya.fukuoka.jp","kawara.fukuoka.jp","keisen.fukuoka.jp","koga.fukuoka.jp","kurate.fukuoka.jp","kurogi.fukuoka.jp","kurume.fukuoka.jp","minami.fukuoka.jp","miyako.fukuoka.jp","miyama.fukuoka.jp","miyawaka.fukuoka.jp","mizumaki.fukuoka.jp","munakata.fukuoka.jp","nakagawa.fukuoka.jp","nakama.fukuoka.jp","nishi.fukuoka.jp","nogata.fukuoka.jp","ogori.fukuoka.jp","okagaki.fukuoka.jp","okawa.fukuoka.jp","oki.fukuoka.jp","omuta.fukuoka.jp","onga.fukuoka.jp","onojo.fukuoka.jp","oto.fukuoka.jp","saigawa.fukuoka.jp","sasaguri.fukuoka.jp","shingu.fukuoka.jp","shinyoshitomi.fukuoka.jp","shonai.fukuoka.jp","soeda.fukuoka.jp","sue.fukuoka.jp","tachiarai.fukuoka.jp","tagawa.fukuoka.jp","takata.fukuoka.jp","toho.fukuoka.jp","toyotsu.fukuoka.jp","tsuiki.fukuoka.jp","ukiha.fukuoka.jp","umi.fukuoka.jp","usui.fukuoka.jp","yamada.fukuoka.jp","yame.fukuoka.jp","yanagawa.fukuoka.jp","yukuhashi.fukuoka.jp","aizubange.fukushima.jp","aizumisato.fukushima.jp","aizuwakamatsu.fukushima.jp","asakawa.fukushima.jp","bandai.fukushima.jp","date.fukushima.jp","fukushima.fukushima.jp","furudono.fukushima.jp","futaba.fukushima.jp","hanawa.fukushima.jp","higashi.fukushima.jp","hirata.fukushima.jp","hirono.fukushima.jp","iitate.fukushima.jp","inawashiro.fukushima.jp","ishikawa.fukushima.jp","iwaki.fukushima.jp","izumizaki.fukushima.jp","kagamiishi.fukushima.jp","kaneyama.fukushima.jp","kawamata.fukushima.jp","kitakata.fukushima.jp","kitashiobara.fukushima.jp","koori.fukushima.jp","koriyama.fukushima.jp","kunimi.fukushima.jp","miharu.fukushima.jp","mishima.fukushima.jp","namie.fukushima.jp","nango.fukushima.jp","nishiaizu.fukushima.jp","nishigo.fukushima.jp","okuma.fukushima.jp","omotego.fukushima.jp","ono.fukushima.jp","otama.fukushima.jp","samegawa.fukushima.jp","shimogo.fukushima.jp","shirakawa.fukushima.jp","showa.fukushima.jp","soma.fukushima.jp","sukagawa.fukushima.jp","taishin.fukushima.jp","tamakawa.fukushima.jp","tanagura.fukushima.jp","tenei.fukushima.jp","yabuki.fukushima.jp","yamato.fukushima.jp","yamatsuri.fukushima.jp","yanaizu.fukushima.jp","yugawa.fukushima.jp","anpachi.gifu.jp","ena.gifu.jp","gifu.gifu.jp","ginan.gifu.jp","godo.gifu.jp","gujo.gifu.jp","hashima.gifu.jp","hichiso.gifu.jp","hida.gifu.jp","higashishirakawa.gifu.jp","ibigawa.gifu.jp","ikeda.gifu.jp","kakamigahara.gifu.jp","kani.gifu.jp","kasahara.gifu.jp","kasamatsu.gifu.jp","kawaue.gifu.jp","kitagata.gifu.jp","mino.gifu.jp","minokamo.gifu.jp","mitake.gifu.jp","mizunami.gifu.jp","motosu.gifu.jp","nakatsugawa.gifu.jp","ogaki.gifu.jp","sakahogi.gifu.jp","seki.gifu.jp","sekigahara.gifu.jp","shirakawa.gifu.jp","tajimi.gifu.jp","takayama.gifu.jp","tarui.gifu.jp","toki.gifu.jp","tomika.gifu.jp","wanouchi.gifu.jp","yamagata.gifu.jp","yaotsu.gifu.jp","yoro.gifu.jp","annaka.gunma.jp","chiyoda.gunma.jp","fujioka.gunma.jp","higashiagatsuma.gunma.jp","isesaki.gunma.jp","itakura.gunma.jp","kanna.gunma.jp","kanra.gunma.jp","katashina.gunma.jp","kawaba.gunma.jp","kiryu.gunma.jp","kusatsu.gunma.jp","maebashi.gunma.jp","meiwa.gunma.jp","midori.gunma.jp","minakami.gunma.jp","naganohara.gunma.jp","nakanojo.gunma.jp","nanmoku.gunma.jp","numata.gunma.jp","oizumi.gunma.jp","ora.gunma.jp","ota.gunma.jp","shibukawa.gunma.jp","shimonita.gunma.jp","shinto.gunma.jp","showa.gunma.jp","takasaki.gunma.jp","takayama.gunma.jp","tamamura.gunma.jp","tatebayashi.gunma.jp","tomioka.gunma.jp","tsukiyono.gunma.jp","tsumagoi.gunma.jp","ueno.gunma.jp","yoshioka.gunma.jp","asaminami.hiroshima.jp","daiwa.hiroshima.jp","etajima.hiroshima.jp","fuchu.hiroshima.jp","fukuyama.hiroshima.jp","hatsukaichi.hiroshima.jp","higashihiroshima.hiroshima.jp","hongo.hiroshima.jp","jinsekikogen.hiroshima.jp","kaita.hiroshima.jp","kui.hiroshima.jp","kumano.hiroshima.jp","kure.hiroshima.jp","mihara.hiroshima.jp","miyoshi.hiroshima.jp","naka.hiroshima.jp","onomichi.hiroshima.jp","osakikamijima.hiroshima.jp","otake.hiroshima.jp","saka.hiroshima.jp","sera.hiroshima.jp","seranishi.hiroshima.jp","shinichi.hiroshima.jp","shobara.hiroshima.jp","takehara.hiroshima.jp","abashiri.hokkaido.jp","abira.hokkaido.jp","aibetsu.hokkaido.jp","akabira.hokkaido.jp","akkeshi.hokkaido.jp","asahikawa.hokkaido.jp","ashibetsu.hokkaido.jp","ashoro.hokkaido.jp","assabu.hokkaido.jp","atsuma.hokkaido.jp","bibai.hokkaido.jp","biei.hokkaido.jp","bifuka.hokkaido.jp","bihoro.hokkaido.jp","biratori.hokkaido.jp","chippubetsu.hokkaido.jp","chitose.hokkaido.jp","date.hokkaido.jp","ebetsu.hokkaido.jp","embetsu.hokkaido.jp","eniwa.hokkaido.jp","erimo.hokkaido.jp","esan.hokkaido.jp","esashi.hokkaido.jp","fukagawa.hokkaido.jp","fukushima.hokkaido.jp","furano.hokkaido.jp","furubira.hokkaido.jp","haboro.hokkaido.jp","hakodate.hokkaido.jp","hamatonbetsu.hokkaido.jp","hidaka.hokkaido.jp","higashikagura.hokkaido.jp","higashikawa.hokkaido.jp","hiroo.hokkaido.jp","hokuryu.hokkaido.jp","hokuto.hokkaido.jp","honbetsu.hokkaido.jp","horokanai.hokkaido.jp","horonobe.hokkaido.jp","ikeda.hokkaido.jp","imakane.hokkaido.jp","ishikari.hokkaido.jp","iwamizawa.hokkaido.jp","iwanai.hokkaido.jp","kamifurano.hokkaido.jp","kamikawa.hokkaido.jp","kamishihoro.hokkaido.jp","kamisunagawa.hokkaido.jp","kamoenai.hokkaido.jp","kayabe.hokkaido.jp","kembuchi.hokkaido.jp","kikonai.hokkaido.jp","kimobetsu.hokkaido.jp","kitahiroshima.hokkaido.jp","kitami.hokkaido.jp","kiyosato.hokkaido.jp","koshimizu.hokkaido.jp","kunneppu.hokkaido.jp","kuriyama.hokkaido.jp","kuromatsunai.hokkaido.jp","kushiro.hokkaido.jp","kutchan.hokkaido.jp","kyowa.hokkaido.jp","mashike.hokkaido.jp","matsumae.hokkaido.jp","mikasa.hokkaido.jp","minamifurano.hokkaido.jp","mombetsu.hokkaido.jp","moseushi.hokkaido.jp","mukawa.hokkaido.jp","muroran.hokkaido.jp","naie.hokkaido.jp","nakagawa.hokkaido.jp","nakasatsunai.hokkaido.jp","nakatombetsu.hokkaido.jp","nanae.hokkaido.jp","nanporo.hokkaido.jp","nayoro.hokkaido.jp","nemuro.hokkaido.jp","niikappu.hokkaido.jp","niki.hokkaido.jp","nishiokoppe.hokkaido.jp","noboribetsu.hokkaido.jp","numata.hokkaido.jp","obihiro.hokkaido.jp","obira.hokkaido.jp","oketo.hokkaido.jp","okoppe.hokkaido.jp","otaru.hokkaido.jp","otobe.hokkaido.jp","otofuke.hokkaido.jp","otoineppu.hokkaido.jp","oumu.hokkaido.jp","ozora.hokkaido.jp","pippu.hokkaido.jp","rankoshi.hokkaido.jp","rebun.hokkaido.jp","rikubetsu.hokkaido.jp","rishiri.hokkaido.jp","rishirifuji.hokkaido.jp","saroma.hokkaido.jp","sarufutsu.hokkaido.jp","shakotan.hokkaido.jp","shari.hokkaido.jp","shibecha.hokkaido.jp","shibetsu.hokkaido.jp","shikabe.hokkaido.jp","shikaoi.hokkaido.jp","shimamaki.hokkaido.jp","shimizu.hokkaido.jp","shimokawa.hokkaido.jp","shinshinotsu.hokkaido.jp","shintoku.hokkaido.jp","shiranuka.hokkaido.jp","shiraoi.hokkaido.jp","shiriuchi.hokkaido.jp","sobetsu.hokkaido.jp","sunagawa.hokkaido.jp","taiki.hokkaido.jp","takasu.hokkaido.jp","takikawa.hokkaido.jp","takinoue.hokkaido.jp","teshikaga.hokkaido.jp","tobetsu.hokkaido.jp","tohma.hokkaido.jp","tomakomai.hokkaido.jp","tomari.hokkaido.jp","toya.hokkaido.jp","toyako.hokkaido.jp","toyotomi.hokkaido.jp","toyoura.hokkaido.jp","tsubetsu.hokkaido.jp","tsukigata.hokkaido.jp","urakawa.hokkaido.jp","urausu.hokkaido.jp","uryu.hokkaido.jp","utashinai.hokkaido.jp","wakkanai.hokkaido.jp","wassamu.hokkaido.jp","yakumo.hokkaido.jp","yoichi.hokkaido.jp","aioi.hyogo.jp","akashi.hyogo.jp","ako.hyogo.jp","amagasaki.hyogo.jp","aogaki.hyogo.jp","asago.hyogo.jp","ashiya.hyogo.jp","awaji.hyogo.jp","fukusaki.hyogo.jp","goshiki.hyogo.jp","harima.hyogo.jp","himeji.hyogo.jp","ichikawa.hyogo.jp","inagawa.hyogo.jp","itami.hyogo.jp","kakogawa.hyogo.jp","kamigori.hyogo.jp","kamikawa.hyogo.jp","kasai.hyogo.jp","kasuga.hyogo.jp","kawanishi.hyogo.jp","miki.hyogo.jp","minamiawaji.hyogo.jp","nishinomiya.hyogo.jp","nishiwaki.hyogo.jp","ono.hyogo.jp","sanda.hyogo.jp","sannan.hyogo.jp","sasayama.hyogo.jp","sayo.hyogo.jp","shingu.hyogo.jp","shinonsen.hyogo.jp","shiso.hyogo.jp","sumoto.hyogo.jp","taishi.hyogo.jp","taka.hyogo.jp","takarazuka.hyogo.jp","takasago.hyogo.jp","takino.hyogo.jp","tamba.hyogo.jp","tatsuno.hyogo.jp","toyooka.hyogo.jp","yabu.hyogo.jp","yashiro.hyogo.jp","yoka.hyogo.jp","yokawa.hyogo.jp","ami.ibaraki.jp","asahi.ibaraki.jp","bando.ibaraki.jp","chikusei.ibaraki.jp","daigo.ibaraki.jp","fujishiro.ibaraki.jp","hitachi.ibaraki.jp","hitachinaka.ibaraki.jp","hitachiomiya.ibaraki.jp","hitachiota.ibaraki.jp","ibaraki.ibaraki.jp","ina.ibaraki.jp","inashiki.ibaraki.jp","itako.ibaraki.jp","iwama.ibaraki.jp","joso.ibaraki.jp","kamisu.ibaraki.jp","kasama.ibaraki.jp","kashima.ibaraki.jp","kasumigaura.ibaraki.jp","koga.ibaraki.jp","miho.ibaraki.jp","mito.ibaraki.jp","moriya.ibaraki.jp","naka.ibaraki.jp","namegata.ibaraki.jp","oarai.ibaraki.jp","ogawa.ibaraki.jp","omitama.ibaraki.jp","ryugasaki.ibaraki.jp","sakai.ibaraki.jp","sakuragawa.ibaraki.jp","shimodate.ibaraki.jp","shimotsuma.ibaraki.jp","shirosato.ibaraki.jp","sowa.ibaraki.jp","suifu.ibaraki.jp","takahagi.ibaraki.jp","tamatsukuri.ibaraki.jp","tokai.ibaraki.jp","tomobe.ibaraki.jp","tone.ibaraki.jp","toride.ibaraki.jp","tsuchiura.ibaraki.jp","tsukuba.ibaraki.jp","uchihara.ibaraki.jp","ushiku.ibaraki.jp","yachiyo.ibaraki.jp","yamagata.ibaraki.jp","yawara.ibaraki.jp","yuki.ibaraki.jp","anamizu.ishikawa.jp","hakui.ishikawa.jp","hakusan.ishikawa.jp","kaga.ishikawa.jp","kahoku.ishikawa.jp","kanazawa.ishikawa.jp","kawakita.ishikawa.jp","komatsu.ishikawa.jp","nakanoto.ishikawa.jp","nanao.ishikawa.jp","nomi.ishikawa.jp","nonoichi.ishikawa.jp","noto.ishikawa.jp","shika.ishikawa.jp","suzu.ishikawa.jp","tsubata.ishikawa.jp","tsurugi.ishikawa.jp","uchinada.ishikawa.jp","wajima.ishikawa.jp","fudai.iwate.jp","fujisawa.iwate.jp","hanamaki.iwate.jp","hiraizumi.iwate.jp","hirono.iwate.jp","ichinohe.iwate.jp","ichinoseki.iwate.jp","iwaizumi.iwate.jp","iwate.iwate.jp","joboji.iwate.jp","kamaishi.iwate.jp","kanegasaki.iwate.jp","karumai.iwate.jp","kawai.iwate.jp","kitakami.iwate.jp","kuji.iwate.jp","kunohe.iwate.jp","kuzumaki.iwate.jp","miyako.iwate.jp","mizusawa.iwate.jp","morioka.iwate.jp","ninohe.iwate.jp","noda.iwate.jp","ofunato.iwate.jp","oshu.iwate.jp","otsuchi.iwate.jp","rikuzentakata.iwate.jp","shiwa.iwate.jp","shizukuishi.iwate.jp","sumita.iwate.jp","tanohata.iwate.jp","tono.iwate.jp","yahaba.iwate.jp","yamada.iwate.jp","ayagawa.kagawa.jp","higashikagawa.kagawa.jp","kanonji.kagawa.jp","kotohira.kagawa.jp","manno.kagawa.jp","marugame.kagawa.jp","mitoyo.kagawa.jp","naoshima.kagawa.jp","sanuki.kagawa.jp","tadotsu.kagawa.jp","takamatsu.kagawa.jp","tonosho.kagawa.jp","uchinomi.kagawa.jp","utazu.kagawa.jp","zentsuji.kagawa.jp","akune.kagoshima.jp","amami.kagoshima.jp","hioki.kagoshima.jp","isa.kagoshima.jp","isen.kagoshima.jp","izumi.kagoshima.jp","kagoshima.kagoshima.jp","kanoya.kagoshima.jp","kawanabe.kagoshima.jp","kinko.kagoshima.jp","kouyama.kagoshima.jp","makurazaki.kagoshima.jp","matsumoto.kagoshima.jp","minamitane.kagoshima.jp","nakatane.kagoshima.jp","nishinoomote.kagoshima.jp","satsumasendai.kagoshima.jp","soo.kagoshima.jp","tarumizu.kagoshima.jp","yusui.kagoshima.jp","aikawa.kanagawa.jp","atsugi.kanagawa.jp","ayase.kanagawa.jp","chigasaki.kanagawa.jp","ebina.kanagawa.jp","fujisawa.kanagawa.jp","hadano.kanagawa.jp","hakone.kanagawa.jp","hiratsuka.kanagawa.jp","isehara.kanagawa.jp","kaisei.kanagawa.jp","kamakura.kanagawa.jp","kiyokawa.kanagawa.jp","matsuda.kanagawa.jp","minamiashigara.kanagawa.jp","miura.kanagawa.jp","nakai.kanagawa.jp","ninomiya.kanagawa.jp","odawara.kanagawa.jp","oi.kanagawa.jp","oiso.kanagawa.jp","sagamihara.kanagawa.jp","samukawa.kanagawa.jp","tsukui.kanagawa.jp","yamakita.kanagawa.jp","yamato.kanagawa.jp","yokosuka.kanagawa.jp","yugawara.kanagawa.jp","zama.kanagawa.jp","zushi.kanagawa.jp","aki.kochi.jp","geisei.kochi.jp","hidaka.kochi.jp","higashitsuno.kochi.jp","ino.kochi.jp","kagami.kochi.jp","kami.kochi.jp","kitagawa.kochi.jp","kochi.kochi.jp","mihara.kochi.jp","motoyama.kochi.jp","muroto.kochi.jp","nahari.kochi.jp","nakamura.kochi.jp","nankoku.kochi.jp","nishitosa.kochi.jp","niyodogawa.kochi.jp","ochi.kochi.jp","okawa.kochi.jp","otoyo.kochi.jp","otsuki.kochi.jp","sakawa.kochi.jp","sukumo.kochi.jp","susaki.kochi.jp","tosa.kochi.jp","tosashimizu.kochi.jp","toyo.kochi.jp","tsuno.kochi.jp","umaji.kochi.jp","yasuda.kochi.jp","yusuhara.kochi.jp","amakusa.kumamoto.jp","arao.kumamoto.jp","aso.kumamoto.jp","choyo.kumamoto.jp","gyokuto.kumamoto.jp","kamiamakusa.kumamoto.jp","kikuchi.kumamoto.jp","kumamoto.kumamoto.jp","mashiki.kumamoto.jp","mifune.kumamoto.jp","minamata.kumamoto.jp","minamioguni.kumamoto.jp","nagasu.kumamoto.jp","nishihara.kumamoto.jp","oguni.kumamoto.jp","ozu.kumamoto.jp","sumoto.kumamoto.jp","takamori.kumamoto.jp","uki.kumamoto.jp","uto.kumamoto.jp","yamaga.kumamoto.jp","yamato.kumamoto.jp","yatsushiro.kumamoto.jp","ayabe.kyoto.jp","fukuchiyama.kyoto.jp","higashiyama.kyoto.jp","ide.kyoto.jp","ine.kyoto.jp","joyo.kyoto.jp","kameoka.kyoto.jp","kamo.kyoto.jp","kita.kyoto.jp","kizu.kyoto.jp","kumiyama.kyoto.jp","kyotamba.kyoto.jp","kyotanabe.kyoto.jp","kyotango.kyoto.jp","maizuru.kyoto.jp","minami.kyoto.jp","minamiyamashiro.kyoto.jp","miyazu.kyoto.jp","muko.kyoto.jp","nagaokakyo.kyoto.jp","nakagyo.kyoto.jp","nantan.kyoto.jp","oyamazaki.kyoto.jp","sakyo.kyoto.jp","seika.kyoto.jp","tanabe.kyoto.jp","uji.kyoto.jp","ujitawara.kyoto.jp","wazuka.kyoto.jp","yamashina.kyoto.jp","yawata.kyoto.jp","asahi.mie.jp","inabe.mie.jp","ise.mie.jp","kameyama.mie.jp","kawagoe.mie.jp","kiho.mie.jp","kisosaki.mie.jp","kiwa.mie.jp","komono.mie.jp","kumano.mie.jp","kuwana.mie.jp","matsusaka.mie.jp","meiwa.mie.jp","mihama.mie.jp","minamiise.mie.jp","misugi.mie.jp","miyama.mie.jp","nabari.mie.jp","shima.mie.jp","suzuka.mie.jp","tado.mie.jp","taiki.mie.jp","taki.mie.jp","tamaki.mie.jp","toba.mie.jp","tsu.mie.jp","udono.mie.jp","ureshino.mie.jp","watarai.mie.jp","yokkaichi.mie.jp","furukawa.miyagi.jp","higashimatsushima.miyagi.jp","ishinomaki.miyagi.jp","iwanuma.miyagi.jp","kakuda.miyagi.jp","kami.miyagi.jp","kawasaki.miyagi.jp","marumori.miyagi.jp","matsushima.miyagi.jp","minamisanriku.miyagi.jp","misato.miyagi.jp","murata.miyagi.jp","natori.miyagi.jp","ogawara.miyagi.jp","ohira.miyagi.jp","onagawa.miyagi.jp","osaki.miyagi.jp","rifu.miyagi.jp","semine.miyagi.jp","shibata.miyagi.jp","shichikashuku.miyagi.jp","shikama.miyagi.jp","shiogama.miyagi.jp","shiroishi.miyagi.jp","tagajo.miyagi.jp","taiwa.miyagi.jp","tome.miyagi.jp","tomiya.miyagi.jp","wakuya.miyagi.jp","watari.miyagi.jp","yamamoto.miyagi.jp","zao.miyagi.jp","aya.miyazaki.jp","ebino.miyazaki.jp","gokase.miyazaki.jp","hyuga.miyazaki.jp","kadogawa.miyazaki.jp","kawaminami.miyazaki.jp","kijo.miyazaki.jp","kitagawa.miyazaki.jp","kitakata.miyazaki.jp","kitaura.miyazaki.jp","kobayashi.miyazaki.jp","kunitomi.miyazaki.jp","kushima.miyazaki.jp","mimata.miyazaki.jp","miyakonojo.miyazaki.jp","miyazaki.miyazaki.jp","morotsuka.miyazaki.jp","nichinan.miyazaki.jp","nishimera.miyazaki.jp","nobeoka.miyazaki.jp","saito.miyazaki.jp","shiiba.miyazaki.jp","shintomi.miyazaki.jp","takaharu.miyazaki.jp","takanabe.miyazaki.jp","takazaki.miyazaki.jp","tsuno.miyazaki.jp","achi.nagano.jp","agematsu.nagano.jp","anan.nagano.jp","aoki.nagano.jp","asahi.nagano.jp","azumino.nagano.jp","chikuhoku.nagano.jp","chikuma.nagano.jp","chino.nagano.jp","fujimi.nagano.jp","hakuba.nagano.jp","hara.nagano.jp","hiraya.nagano.jp","iida.nagano.jp","iijima.nagano.jp","iiyama.nagano.jp","iizuna.nagano.jp","ikeda.nagano.jp","ikusaka.nagano.jp","ina.nagano.jp","karuizawa.nagano.jp","kawakami.nagano.jp","kiso.nagano.jp","kisofukushima.nagano.jp","kitaaiki.nagano.jp","komagane.nagano.jp","komoro.nagano.jp","matsukawa.nagano.jp","matsumoto.nagano.jp","miasa.nagano.jp","minamiaiki.nagano.jp","minamimaki.nagano.jp","minamiminowa.nagano.jp","minowa.nagano.jp","miyada.nagano.jp","miyota.nagano.jp","mochizuki.nagano.jp","nagano.nagano.jp","nagawa.nagano.jp","nagiso.nagano.jp","nakagawa.nagano.jp","nakano.nagano.jp","nozawaonsen.nagano.jp","obuse.nagano.jp","ogawa.nagano.jp","okaya.nagano.jp","omachi.nagano.jp","omi.nagano.jp","ookuwa.nagano.jp","ooshika.nagano.jp","otaki.nagano.jp","otari.nagano.jp","sakae.nagano.jp","sakaki.nagano.jp","saku.nagano.jp","sakuho.nagano.jp","shimosuwa.nagano.jp","shinanomachi.nagano.jp","shiojiri.nagano.jp","suwa.nagano.jp","suzaka.nagano.jp","takagi.nagano.jp","takamori.nagano.jp","takayama.nagano.jp","tateshina.nagano.jp","tatsuno.nagano.jp","togakushi.nagano.jp","togura.nagano.jp","tomi.nagano.jp","ueda.nagano.jp","wada.nagano.jp","yamagata.nagano.jp","yamanouchi.nagano.jp","yasaka.nagano.jp","yasuoka.nagano.jp","chijiwa.nagasaki.jp","futsu.nagasaki.jp","goto.nagasaki.jp","hasami.nagasaki.jp","hirado.nagasaki.jp","iki.nagasaki.jp","isahaya.nagasaki.jp","kawatana.nagasaki.jp","kuchinotsu.nagasaki.jp","matsuura.nagasaki.jp","nagasaki.nagasaki.jp","obama.nagasaki.jp","omura.nagasaki.jp","oseto.nagasaki.jp","saikai.nagasaki.jp","sasebo.nagasaki.jp","seihi.nagasaki.jp","shimabara.nagasaki.jp","shinkamigoto.nagasaki.jp","togitsu.nagasaki.jp","tsushima.nagasaki.jp","unzen.nagasaki.jp","ando.nara.jp","gose.nara.jp","heguri.nara.jp","higashiyoshino.nara.jp","ikaruga.nara.jp","ikoma.nara.jp","kamikitayama.nara.jp","kanmaki.nara.jp","kashiba.nara.jp","kashihara.nara.jp","katsuragi.nara.jp","kawai.nara.jp","kawakami.nara.jp","kawanishi.nara.jp","koryo.nara.jp","kurotaki.nara.jp","mitsue.nara.jp","miyake.nara.jp","nara.nara.jp","nosegawa.nara.jp","oji.nara.jp","ouda.nara.jp","oyodo.nara.jp","sakurai.nara.jp","sango.nara.jp","shimoichi.nara.jp","shimokitayama.nara.jp","shinjo.nara.jp","soni.nara.jp","takatori.nara.jp","tawaramoto.nara.jp","tenkawa.nara.jp","tenri.nara.jp","uda.nara.jp","yamatokoriyama.nara.jp","yamatotakada.nara.jp","yamazoe.nara.jp","yoshino.nara.jp","aga.niigata.jp","agano.niigata.jp","gosen.niigata.jp","itoigawa.niigata.jp","izumozaki.niigata.jp","joetsu.niigata.jp","kamo.niigata.jp","kariwa.niigata.jp","kashiwazaki.niigata.jp","minamiuonuma.niigata.jp","mitsuke.niigata.jp","muika.niigata.jp","murakami.niigata.jp","myoko.niigata.jp","nagaoka.niigata.jp","niigata.niigata.jp","ojiya.niigata.jp","omi.niigata.jp","sado.niigata.jp","sanjo.niigata.jp","seiro.niigata.jp","seirou.niigata.jp","sekikawa.niigata.jp","shibata.niigata.jp","tagami.niigata.jp","tainai.niigata.jp","tochio.niigata.jp","tokamachi.niigata.jp","tsubame.niigata.jp","tsunan.niigata.jp","uonuma.niigata.jp","yahiko.niigata.jp","yoita.niigata.jp","yuzawa.niigata.jp","beppu.oita.jp","bungoono.oita.jp","bungotakada.oita.jp","hasama.oita.jp","hiji.oita.jp","himeshima.oita.jp","hita.oita.jp","kamitsue.oita.jp","kokonoe.oita.jp","kuju.oita.jp","kunisaki.oita.jp","kusu.oita.jp","oita.oita.jp","saiki.oita.jp","taketa.oita.jp","tsukumi.oita.jp","usa.oita.jp","usuki.oita.jp","yufu.oita.jp","akaiwa.okayama.jp","asakuchi.okayama.jp","bizen.okayama.jp","hayashima.okayama.jp","ibara.okayama.jp","kagamino.okayama.jp","kasaoka.okayama.jp","kibichuo.okayama.jp","kumenan.okayama.jp","kurashiki.okayama.jp","maniwa.okayama.jp","misaki.okayama.jp","nagi.okayama.jp","niimi.okayama.jp","nishiawakura.okayama.jp","okayama.okayama.jp","satosho.okayama.jp","setouchi.okayama.jp","shinjo.okayama.jp","shoo.okayama.jp","soja.okayama.jp","takahashi.okayama.jp","tamano.okayama.jp","tsuyama.okayama.jp","wake.okayama.jp","yakage.okayama.jp","aguni.okinawa.jp","ginowan.okinawa.jp","ginoza.okinawa.jp","gushikami.okinawa.jp","haebaru.okinawa.jp","higashi.okinawa.jp","hirara.okinawa.jp","iheya.okinawa.jp","ishigaki.okinawa.jp","ishikawa.okinawa.jp","itoman.okinawa.jp","izena.okinawa.jp","kadena.okinawa.jp","kin.okinawa.jp","kitadaito.okinawa.jp","kitanakagusuku.okinawa.jp","kumejima.okinawa.jp","kunigami.okinawa.jp","minamidaito.okinawa.jp","motobu.okinawa.jp","nago.okinawa.jp","naha.okinawa.jp","nakagusuku.okinawa.jp","nakijin.okinawa.jp","nanjo.okinawa.jp","nishihara.okinawa.jp","ogimi.okinawa.jp","okinawa.okinawa.jp","onna.okinawa.jp","shimoji.okinawa.jp","taketomi.okinawa.jp","tarama.okinawa.jp","tokashiki.okinawa.jp","tomigusuku.okinawa.jp","tonaki.okinawa.jp","urasoe.okinawa.jp","uruma.okinawa.jp","yaese.okinawa.jp","yomitan.okinawa.jp","yonabaru.okinawa.jp","yonaguni.okinawa.jp","zamami.okinawa.jp","abeno.osaka.jp","chihayaakasaka.osaka.jp","chuo.osaka.jp","daito.osaka.jp","fujiidera.osaka.jp","habikino.osaka.jp","hannan.osaka.jp","higashiosaka.osaka.jp","higashisumiyoshi.osaka.jp","higashiyodogawa.osaka.jp","hirakata.osaka.jp","ibaraki.osaka.jp","ikeda.osaka.jp","izumi.osaka.jp","izumiotsu.osaka.jp","izumisano.osaka.jp","kadoma.osaka.jp","kaizuka.osaka.jp","kanan.osaka.jp","kashiwara.osaka.jp","katano.osaka.jp","kawachinagano.osaka.jp","kishiwada.osaka.jp","kita.osaka.jp","kumatori.osaka.jp","matsubara.osaka.jp","minato.osaka.jp","minoh.osaka.jp","misaki.osaka.jp","moriguchi.osaka.jp","neyagawa.osaka.jp","nishi.osaka.jp","nose.osaka.jp","osakasayama.osaka.jp","sakai.osaka.jp","sayama.osaka.jp","sennan.osaka.jp","settsu.osaka.jp","shijonawate.osaka.jp","shimamoto.osaka.jp","suita.osaka.jp","tadaoka.osaka.jp","taishi.osaka.jp","tajiri.osaka.jp","takaishi.osaka.jp","takatsuki.osaka.jp","tondabayashi.osaka.jp","toyonaka.osaka.jp","toyono.osaka.jp","yao.osaka.jp","ariake.saga.jp","arita.saga.jp","fukudomi.saga.jp","genkai.saga.jp","hamatama.saga.jp","hizen.saga.jp","imari.saga.jp","kamimine.saga.jp","kanzaki.saga.jp","karatsu.saga.jp","kashima.saga.jp","kitagata.saga.jp","kitahata.saga.jp","kiyama.saga.jp","kouhoku.saga.jp","kyuragi.saga.jp","nishiarita.saga.jp","ogi.saga.jp","omachi.saga.jp","ouchi.saga.jp","saga.saga.jp","shiroishi.saga.jp","taku.saga.jp","tara.saga.jp","tosu.saga.jp","yoshinogari.saga.jp","arakawa.saitama.jp","asaka.saitama.jp","chichibu.saitama.jp","fujimi.saitama.jp","fujimino.saitama.jp","fukaya.saitama.jp","hanno.saitama.jp","hanyu.saitama.jp","hasuda.saitama.jp","hatogaya.saitama.jp","hatoyama.saitama.jp","hidaka.saitama.jp","higashichichibu.saitama.jp","higashimatsuyama.saitama.jp","honjo.saitama.jp","ina.saitama.jp","iruma.saitama.jp","iwatsuki.saitama.jp","kamiizumi.saitama.jp","kamikawa.saitama.jp","kamisato.saitama.jp","kasukabe.saitama.jp","kawagoe.saitama.jp","kawaguchi.saitama.jp","kawajima.saitama.jp","kazo.saitama.jp","kitamoto.saitama.jp","koshigaya.saitama.jp","kounosu.saitama.jp","kuki.saitama.jp","kumagaya.saitama.jp","matsubushi.saitama.jp","minano.saitama.jp","misato.saitama.jp","miyashiro.saitama.jp","miyoshi.saitama.jp","moroyama.saitama.jp","nagatoro.saitama.jp","namegawa.saitama.jp","niiza.saitama.jp","ogano.saitama.jp","ogawa.saitama.jp","ogose.saitama.jp","okegawa.saitama.jp","omiya.saitama.jp","otaki.saitama.jp","ranzan.saitama.jp","ryokami.saitama.jp","saitama.saitama.jp","sakado.saitama.jp","satte.saitama.jp","sayama.saitama.jp","shiki.saitama.jp","shiraoka.saitama.jp","soka.saitama.jp","sugito.saitama.jp","toda.saitama.jp","tokigawa.saitama.jp","tokorozawa.saitama.jp","tsurugashima.saitama.jp","urawa.saitama.jp","warabi.saitama.jp","yashio.saitama.jp","yokoze.saitama.jp","yono.saitama.jp","yorii.saitama.jp","yoshida.saitama.jp","yoshikawa.saitama.jp","yoshimi.saitama.jp","aisho.shiga.jp","gamo.shiga.jp","higashiomi.shiga.jp","hikone.shiga.jp","koka.shiga.jp","konan.shiga.jp","kosei.shiga.jp","koto.shiga.jp","kusatsu.shiga.jp","maibara.shiga.jp","moriyama.shiga.jp","nagahama.shiga.jp","nishiazai.shiga.jp","notogawa.shiga.jp","omihachiman.shiga.jp","otsu.shiga.jp","ritto.shiga.jp","ryuoh.shiga.jp","takashima.shiga.jp","takatsuki.shiga.jp","torahime.shiga.jp","toyosato.shiga.jp","yasu.shiga.jp","akagi.shimane.jp","ama.shimane.jp","gotsu.shimane.jp","hamada.shimane.jp","higashiizumo.shimane.jp","hikawa.shimane.jp","hikimi.shimane.jp","izumo.shimane.jp","kakinoki.shimane.jp","masuda.shimane.jp","matsue.shimane.jp","misato.shimane.jp","nishinoshima.shimane.jp","ohda.shimane.jp","okinoshima.shimane.jp","okuizumo.shimane.jp","shimane.shimane.jp","tamayu.shimane.jp","tsuwano.shimane.jp","unnan.shimane.jp","yakumo.shimane.jp","yasugi.shimane.jp","yatsuka.shimane.jp","arai.shizuoka.jp","atami.shizuoka.jp","fuji.shizuoka.jp","fujieda.shizuoka.jp","fujikawa.shizuoka.jp","fujinomiya.shizuoka.jp","fukuroi.shizuoka.jp","gotemba.shizuoka.jp","haibara.shizuoka.jp","hamamatsu.shizuoka.jp","higashiizu.shizuoka.jp","ito.shizuoka.jp","iwata.shizuoka.jp","izu.shizuoka.jp","izunokuni.shizuoka.jp","kakegawa.shizuoka.jp","kannami.shizuoka.jp","kawanehon.shizuoka.jp","kawazu.shizuoka.jp","kikugawa.shizuoka.jp","kosai.shizuoka.jp","makinohara.shizuoka.jp","matsuzaki.shizuoka.jp","minamiizu.shizuoka.jp","mishima.shizuoka.jp","morimachi.shizuoka.jp","nishiizu.shizuoka.jp","numazu.shizuoka.jp","omaezaki.shizuoka.jp","shimada.shizuoka.jp","shimizu.shizuoka.jp","shimoda.shizuoka.jp","shizuoka.shizuoka.jp","susono.shizuoka.jp","yaizu.shizuoka.jp","yoshida.shizuoka.jp","ashikaga.tochigi.jp","bato.tochigi.jp","haga.tochigi.jp","ichikai.tochigi.jp","iwafune.tochigi.jp","kaminokawa.tochigi.jp","kanuma.tochigi.jp","karasuyama.tochigi.jp","kuroiso.tochigi.jp","mashiko.tochigi.jp","mibu.tochigi.jp","moka.tochigi.jp","motegi.tochigi.jp","nasu.tochigi.jp","nasushiobara.tochigi.jp","nikko.tochigi.jp","nishikata.tochigi.jp","nogi.tochigi.jp","ohira.tochigi.jp","ohtawara.tochigi.jp","oyama.tochigi.jp","sakura.tochigi.jp","sano.tochigi.jp","shimotsuke.tochigi.jp","shioya.tochigi.jp","takanezawa.tochigi.jp","tochigi.tochigi.jp","tsuga.tochigi.jp","ujiie.tochigi.jp","utsunomiya.tochigi.jp","yaita.tochigi.jp","aizumi.tokushima.jp","anan.tokushima.jp","ichiba.tokushima.jp","itano.tokushima.jp","kainan.tokushima.jp","komatsushima.tokushima.jp","matsushige.tokushima.jp","mima.tokushima.jp","minami.tokushima.jp","miyoshi.tokushima.jp","mugi.tokushima.jp","nakagawa.tokushima.jp","naruto.tokushima.jp","sanagochi.tokushima.jp","shishikui.tokushima.jp","tokushima.tokushima.jp","wajiki.tokushima.jp","adachi.tokyo.jp","akiruno.tokyo.jp","akishima.tokyo.jp","aogashima.tokyo.jp","arakawa.tokyo.jp","bunkyo.tokyo.jp","chiyoda.tokyo.jp","chofu.tokyo.jp","chuo.tokyo.jp","edogawa.tokyo.jp","fuchu.tokyo.jp","fussa.tokyo.jp","hachijo.tokyo.jp","hachioji.tokyo.jp","hamura.tokyo.jp","higashikurume.tokyo.jp","higashimurayama.tokyo.jp","higashiyamato.tokyo.jp","hino.tokyo.jp","hinode.tokyo.jp","hinohara.tokyo.jp","inagi.tokyo.jp","itabashi.tokyo.jp","katsushika.tokyo.jp","kita.tokyo.jp","kiyose.tokyo.jp","kodaira.tokyo.jp","koganei.tokyo.jp","kokubunji.tokyo.jp","komae.tokyo.jp","koto.tokyo.jp","kouzushima.tokyo.jp","kunitachi.tokyo.jp","machida.tokyo.jp","meguro.tokyo.jp","minato.tokyo.jp","mitaka.tokyo.jp","mizuho.tokyo.jp","musashimurayama.tokyo.jp","musashino.tokyo.jp","nakano.tokyo.jp","nerima.tokyo.jp","ogasawara.tokyo.jp","okutama.tokyo.jp","ome.tokyo.jp","oshima.tokyo.jp","ota.tokyo.jp","setagaya.tokyo.jp","shibuya.tokyo.jp","shinagawa.tokyo.jp","shinjuku.tokyo.jp","suginami.tokyo.jp","sumida.tokyo.jp","tachikawa.tokyo.jp","taito.tokyo.jp","tama.tokyo.jp","toshima.tokyo.jp","chizu.tottori.jp","hino.tottori.jp","kawahara.tottori.jp","koge.tottori.jp","kotoura.tottori.jp","misasa.tottori.jp","nanbu.tottori.jp","nichinan.tottori.jp","sakaiminato.tottori.jp","tottori.tottori.jp","wakasa.tottori.jp","yazu.tottori.jp","yonago.tottori.jp","asahi.toyama.jp","fuchu.toyama.jp","fukumitsu.toyama.jp","funahashi.toyama.jp","himi.toyama.jp","imizu.toyama.jp","inami.toyama.jp","johana.toyama.jp","kamiichi.toyama.jp","kurobe.toyama.jp","nakaniikawa.toyama.jp","namerikawa.toyama.jp","nanto.toyama.jp","nyuzen.toyama.jp","oyabe.toyama.jp","taira.toyama.jp","takaoka.toyama.jp","tateyama.toyama.jp","toga.toyama.jp","tonami.toyama.jp","toyama.toyama.jp","unazuki.toyama.jp","uozu.toyama.jp","yamada.toyama.jp","arida.wakayama.jp","aridagawa.wakayama.jp","gobo.wakayama.jp","hashimoto.wakayama.jp","hidaka.wakayama.jp","hirogawa.wakayama.jp","inami.wakayama.jp","iwade.wakayama.jp","kainan.wakayama.jp","kamitonda.wakayama.jp","katsuragi.wakayama.jp","kimino.wakayama.jp","kinokawa.wakayama.jp","kitayama.wakayama.jp","koya.wakayama.jp","koza.wakayama.jp","kozagawa.wakayama.jp","kudoyama.wakayama.jp","kushimoto.wakayama.jp","mihama.wakayama.jp","misato.wakayama.jp","nachikatsuura.wakayama.jp","shingu.wakayama.jp","shirahama.wakayama.jp","taiji.wakayama.jp","tanabe.wakayama.jp","wakayama.wakayama.jp","yuasa.wakayama.jp","yura.wakayama.jp","asahi.yamagata.jp","funagata.yamagata.jp","higashine.yamagata.jp","iide.yamagata.jp","kahoku.yamagata.jp","kaminoyama.yamagata.jp","kaneyama.yamagata.jp","kawanishi.yamagata.jp","mamurogawa.yamagata.jp","mikawa.yamagata.jp","murayama.yamagata.jp","nagai.yamagata.jp","nakayama.yamagata.jp","nanyo.yamagata.jp","nishikawa.yamagata.jp","obanazawa.yamagata.jp","oe.yamagata.jp","oguni.yamagata.jp","ohkura.yamagata.jp","oishida.yamagata.jp","sagae.yamagata.jp","sakata.yamagata.jp","sakegawa.yamagata.jp","shinjo.yamagata.jp","shirataka.yamagata.jp","shonai.yamagata.jp","takahata.yamagata.jp","tendo.yamagata.jp","tozawa.yamagata.jp","tsuruoka.yamagata.jp","yamagata.yamagata.jp","yamanobe.yamagata.jp","yonezawa.yamagata.jp","yuza.yamagata.jp","abu.yamaguchi.jp","hagi.yamaguchi.jp","hikari.yamaguchi.jp","hofu.yamaguchi.jp","iwakuni.yamaguchi.jp","kudamatsu.yamaguchi.jp","mitou.yamaguchi.jp","nagato.yamaguchi.jp","oshima.yamaguchi.jp","shimonoseki.yamaguchi.jp","shunan.yamaguchi.jp","tabuse.yamaguchi.jp","tokuyama.yamaguchi.jp","toyota.yamaguchi.jp","ube.yamaguchi.jp","yuu.yamaguchi.jp","chuo.yamanashi.jp","doshi.yamanashi.jp","fuefuki.yamanashi.jp","fujikawa.yamanashi.jp","fujikawaguchiko.yamanashi.jp","fujiyoshida.yamanashi.jp","hayakawa.yamanashi.jp","hokuto.yamanashi.jp","ichikawamisato.yamanashi.jp","kai.yamanashi.jp","kofu.yamanashi.jp","koshu.yamanashi.jp","kosuge.yamanashi.jp","minami-alps.yamanashi.jp","minobu.yamanashi.jp","nakamichi.yamanashi.jp","nanbu.yamanashi.jp","narusawa.yamanashi.jp","nirasaki.yamanashi.jp","nishikatsura.yamanashi.jp","oshino.yamanashi.jp","otsuki.yamanashi.jp","showa.yamanashi.jp","tabayama.yamanashi.jp","tsuru.yamanashi.jp","uenohara.yamanashi.jp","yamanakako.yamanashi.jp","yamanashi.yamanashi.jp","ke","ac.ke","co.ke","go.ke","info.ke","me.ke","mobi.ke","ne.ke","or.ke","sc.ke","kg","org.kg","net.kg","com.kg","edu.kg","gov.kg","mil.kg","*.kh","ki","edu.ki","biz.ki","net.ki","org.ki","gov.ki","info.ki","com.ki","km","org.km","nom.km","gov.km","prd.km","tm.km","edu.km","mil.km","ass.km","com.km","coop.km","asso.km","presse.km","medecin.km","notaires.km","pharmaciens.km","veterinaire.km","gouv.km","kn","net.kn","org.kn","edu.kn","gov.kn","kp","com.kp","edu.kp","gov.kp","org.kp","rep.kp","tra.kp","kr","ac.kr","co.kr","es.kr","go.kr","hs.kr","kg.kr","mil.kr","ms.kr","ne.kr","or.kr","pe.kr","re.kr","sc.kr","busan.kr","chungbuk.kr","chungnam.kr","daegu.kr","daejeon.kr","gangwon.kr","gwangju.kr","gyeongbuk.kr","gyeonggi.kr","gyeongnam.kr","incheon.kr","jeju.kr","jeonbuk.kr","jeonnam.kr","seoul.kr","ulsan.kr","kw","com.kw","edu.kw","emb.kw","gov.kw","ind.kw","net.kw","org.kw","ky","edu.ky","gov.ky","com.ky","org.ky","net.ky","kz","org.kz","edu.kz","net.kz","gov.kz","mil.kz","com.kz","la","int.la","net.la","info.la","edu.la","gov.la","per.la","com.la","org.la","lb","com.lb","edu.lb","gov.lb","net.lb","org.lb","lc","com.lc","net.lc","co.lc","org.lc","edu.lc","gov.lc","li","lk","gov.lk","sch.lk","net.lk","int.lk","com.lk","org.lk","edu.lk","ngo.lk","soc.lk","web.lk","ltd.lk","assn.lk","grp.lk","hotel.lk","ac.lk","lr","com.lr","edu.lr","gov.lr","org.lr","net.lr","ls","ac.ls","biz.ls","co.ls","edu.ls","gov.ls","info.ls","net.ls","org.ls","sc.ls","lt","gov.lt","lu","lv","com.lv","edu.lv","gov.lv","org.lv","mil.lv","id.lv","net.lv","asn.lv","conf.lv","ly","com.ly","net.ly","gov.ly","plc.ly","edu.ly","sch.ly","med.ly","org.ly","id.ly","ma","co.ma","net.ma","gov.ma","org.ma","ac.ma","press.ma","mc","tm.mc","asso.mc","md","me","co.me","net.me","org.me","edu.me","ac.me","gov.me","its.me","priv.me","mg","org.mg","nom.mg","gov.mg","prd.mg","tm.mg","edu.mg","mil.mg","com.mg","co.mg","mh","mil","mk","com.mk","org.mk","net.mk","edu.mk","gov.mk","inf.mk","name.mk","ml","com.ml","edu.ml","gouv.ml","gov.ml","net.ml","org.ml","presse.ml","*.mm","mn","gov.mn","edu.mn","org.mn","mo","com.mo","net.mo","org.mo","edu.mo","gov.mo","mobi","mp","mq","mr","gov.mr","ms","com.ms","edu.ms","gov.ms","net.ms","org.ms","mt","com.mt","edu.mt","net.mt","org.mt","mu","com.mu","net.mu","org.mu","gov.mu","ac.mu","co.mu","or.mu","museum","academy.museum","agriculture.museum","air.museum","airguard.museum","alabama.museum","alaska.museum","amber.museum","ambulance.museum","american.museum","americana.museum","americanantiques.museum","americanart.museum","amsterdam.museum","and.museum","annefrank.museum","anthro.museum","anthropology.museum","antiques.museum","aquarium.museum","arboretum.museum","archaeological.museum","archaeology.museum","architecture.museum","art.museum","artanddesign.museum","artcenter.museum","artdeco.museum","arteducation.museum","artgallery.museum","arts.museum","artsandcrafts.museum","asmatart.museum","assassination.museum","assisi.museum","association.museum","astronomy.museum","atlanta.museum","austin.museum","australia.museum","automotive.museum","aviation.museum","axis.museum","badajoz.museum","baghdad.museum","bahn.museum","bale.museum","baltimore.museum","barcelona.museum","baseball.museum","basel.museum","baths.museum","bauern.museum","beauxarts.museum","beeldengeluid.museum","bellevue.museum","bergbau.museum","berkeley.museum","berlin.museum","bern.museum","bible.museum","bilbao.museum","bill.museum","birdart.museum","birthplace.museum","bonn.museum","boston.museum","botanical.museum","botanicalgarden.museum","botanicgarden.museum","botany.museum","brandywinevalley.museum","brasil.museum","bristol.museum","british.museum","britishcolumbia.museum","broadcast.museum","brunel.museum","brussel.museum","brussels.museum","bruxelles.museum","building.museum","burghof.museum","bus.museum","bushey.museum","cadaques.museum","california.museum","cambridge.museum","can.museum","canada.museum","capebreton.museum","carrier.museum","cartoonart.museum","casadelamoneda.museum","castle.museum","castres.museum","celtic.museum","center.museum","chattanooga.museum","cheltenham.museum","chesapeakebay.museum","chicago.museum","children.museum","childrens.museum","childrensgarden.museum","chiropractic.museum","chocolate.museum","christiansburg.museum","cincinnati.museum","cinema.museum","circus.museum","civilisation.museum","civilization.museum","civilwar.museum","clinton.museum","clock.museum","coal.museum","coastaldefence.museum","cody.museum","coldwar.museum","collection.museum","colonialwilliamsburg.museum","coloradoplateau.museum","columbia.museum","columbus.museum","communication.museum","communications.museum","community.museum","computer.museum","computerhistory.museum","comunicações.museum","contemporary.museum","contemporaryart.museum","convent.museum","copenhagen.museum","corporation.museum","correios-e-telecomunicações.museum","corvette.museum","costume.museum","countryestate.museum","county.museum","crafts.museum","cranbrook.museum","creation.museum","cultural.museum","culturalcenter.museum","culture.museum","cyber.museum","cymru.museum","dali.museum","dallas.museum","database.museum","ddr.museum","decorativearts.museum","delaware.museum","delmenhorst.museum","denmark.museum","depot.museum","design.museum","detroit.museum","dinosaur.museum","discovery.museum","dolls.museum","donostia.museum","durham.museum","eastafrica.museum","eastcoast.museum","education.museum","educational.museum","egyptian.museum","eisenbahn.museum","elburg.museum","elvendrell.museum","embroidery.museum","encyclopedic.museum","england.museum","entomology.museum","environment.museum","environmentalconservation.museum","epilepsy.museum","essex.museum","estate.museum","ethnology.museum","exeter.museum","exhibition.museum","family.museum","farm.museum","farmequipment.museum","farmers.museum","farmstead.museum","field.museum","figueres.museum","filatelia.museum","film.museum","fineart.museum","finearts.museum","finland.museum","flanders.museum","florida.museum","force.museum","fortmissoula.museum","fortworth.museum","foundation.museum","francaise.museum","frankfurt.museum","franziskaner.museum","freemasonry.museum","freiburg.museum","fribourg.museum","frog.museum","fundacio.museum","furniture.museum","gallery.museum","garden.museum","gateway.museum","geelvinck.museum","gemological.museum","geology.museum","georgia.museum","giessen.museum","glas.museum","glass.museum","gorge.museum","grandrapids.museum","graz.museum","guernsey.museum","halloffame.museum","hamburg.museum","handson.museum","harvestcelebration.museum","hawaii.museum","health.museum","heimatunduhren.museum","hellas.museum","helsinki.museum","hembygdsforbund.museum","heritage.museum","histoire.museum","historical.museum","historicalsociety.museum","historichouses.museum","historisch.museum","historisches.museum","history.museum","historyofscience.museum","horology.museum","house.museum","humanities.museum","illustration.museum","imageandsound.museum","indian.museum","indiana.museum","indianapolis.museum","indianmarket.museum","intelligence.museum","interactive.museum","iraq.museum","iron.museum","isleofman.museum","jamison.museum","jefferson.museum","jerusalem.museum","jewelry.museum","jewish.museum","jewishart.museum","jfk.museum","journalism.museum","judaica.museum","judygarland.museum","juedisches.museum","juif.museum","karate.museum","karikatur.museum","kids.museum","koebenhavn.museum","koeln.museum","kunst.museum","kunstsammlung.museum","kunstunddesign.museum","labor.museum","labour.museum","lajolla.museum","lancashire.museum","landes.museum","lans.museum","läns.museum","larsson.museum","lewismiller.museum","lincoln.museum","linz.museum","living.museum","livinghistory.museum","localhistory.museum","london.museum","losangeles.museum","louvre.museum","loyalist.museum","lucerne.museum","luxembourg.museum","luzern.museum","mad.museum","madrid.museum","mallorca.museum","manchester.museum","mansion.museum","mansions.museum","manx.museum","marburg.museum","maritime.museum","maritimo.museum","maryland.museum","marylhurst.museum","media.museum","medical.museum","medizinhistorisches.museum","meeres.museum","memorial.museum","mesaverde.museum","michigan.museum","midatlantic.museum","military.museum","mill.museum","miners.museum","mining.museum","minnesota.museum","missile.museum","missoula.museum","modern.museum","moma.museum","money.museum","monmouth.museum","monticello.museum","montreal.museum","moscow.museum","motorcycle.museum","muenchen.museum","muenster.museum","mulhouse.museum","muncie.museum","museet.museum","museumcenter.museum","museumvereniging.museum","music.museum","national.museum","nationalfirearms.museum","nationalheritage.museum","nativeamerican.museum","naturalhistory.museum","naturalhistorymuseum.museum","naturalsciences.museum","nature.museum","naturhistorisches.museum","natuurwetenschappen.museum","naumburg.museum","naval.museum","nebraska.museum","neues.museum","newhampshire.museum","newjersey.museum","newmexico.museum","newport.museum","newspaper.museum","newyork.museum","niepce.museum","norfolk.museum","north.museum","nrw.museum","nyc.museum","nyny.museum","oceanographic.museum","oceanographique.museum","omaha.museum","online.museum","ontario.museum","openair.museum","oregon.museum","oregontrail.museum","otago.museum","oxford.museum","pacific.museum","paderborn.museum","palace.museum","paleo.museum","palmsprings.museum","panama.museum","paris.museum","pasadena.museum","pharmacy.museum","philadelphia.museum","philadelphiaarea.museum","philately.museum","phoenix.museum","photography.museum","pilots.museum","pittsburgh.museum","planetarium.museum","plantation.museum","plants.museum","plaza.museum","portal.museum","portland.museum","portlligat.museum","posts-and-telecommunications.museum","preservation.museum","presidio.museum","press.museum","project.museum","public.museum","pubol.museum","quebec.museum","railroad.museum","railway.museum","research.museum","resistance.museum","riodejaneiro.museum","rochester.museum","rockart.museum","roma.museum","russia.museum","saintlouis.museum","salem.museum","salvadordali.museum","salzburg.museum","sandiego.museum","sanfrancisco.museum","santabarbara.museum","santacruz.museum","santafe.museum","saskatchewan.museum","satx.museum","savannahga.museum","schlesisches.museum","schoenbrunn.museum","schokoladen.museum","school.museum","schweiz.museum","science.museum","scienceandhistory.museum","scienceandindustry.museum","sciencecenter.museum","sciencecenters.museum","science-fiction.museum","sciencehistory.museum","sciences.museum","sciencesnaturelles.museum","scotland.museum","seaport.museum","settlement.museum","settlers.museum","shell.museum","sherbrooke.museum","sibenik.museum","silk.museum","ski.museum","skole.museum","society.museum","sologne.museum","soundandvision.museum","southcarolina.museum","southwest.museum","space.museum","spy.museum","square.museum","stadt.museum","stalbans.museum","starnberg.museum","state.museum","stateofdelaware.museum","station.museum","steam.museum","steiermark.museum","stjohn.museum","stockholm.museum","stpetersburg.museum","stuttgart.museum","suisse.museum","surgeonshall.museum","surrey.museum","svizzera.museum","sweden.museum","sydney.museum","tank.museum","tcm.museum","technology.museum","telekommunikation.museum","television.museum","texas.museum","textile.museum","theater.museum","time.museum","timekeeping.museum","topology.museum","torino.museum","touch.museum","town.museum","transport.museum","tree.museum","trolley.museum","trust.museum","trustee.museum","uhren.museum","ulm.museum","undersea.museum","university.museum","usa.museum","usantiques.museum","usarts.museum","uscountryestate.museum","usculture.museum","usdecorativearts.museum","usgarden.museum","ushistory.museum","ushuaia.museum","uslivinghistory.museum","utah.museum","uvic.museum","valley.museum","vantaa.museum","versailles.museum","viking.museum","village.museum","virginia.museum","virtual.museum","virtuel.museum","vlaanderen.museum","volkenkunde.museum","wales.museum","wallonie.museum","war.museum","washingtondc.museum","watchandclock.museum","watch-and-clock.museum","western.museum","westfalen.museum","whaling.museum","wildlife.museum","williamsburg.museum","windmill.museum","workshop.museum","york.museum","yorkshire.museum","yosemite.museum","youth.museum","zoological.museum","zoology.museum","ירושלים.museum","иком.museum","mv","aero.mv","biz.mv","com.mv","coop.mv","edu.mv","gov.mv","info.mv","int.mv","mil.mv","museum.mv","name.mv","net.mv","org.mv","pro.mv","mw","ac.mw","biz.mw","co.mw","com.mw","coop.mw","edu.mw","gov.mw","int.mw","museum.mw","net.mw","org.mw","mx","com.mx","org.mx","gob.mx","edu.mx","net.mx","my","com.my","net.my","org.my","gov.my","edu.my","mil.my","name.my","mz","ac.mz","adv.mz","co.mz","edu.mz","gov.mz","mil.mz","net.mz","org.mz","na","info.na","pro.na","name.na","school.na","or.na","dr.na","us.na","mx.na","ca.na","in.na","cc.na","tv.na","ws.na","mobi.na","co.na","com.na","org.na","name","nc","asso.nc","nom.nc","ne","net","nf","com.nf","net.nf","per.nf","rec.nf","web.nf","arts.nf","firm.nf","info.nf","other.nf","store.nf","ng","com.ng","edu.ng","gov.ng","i.ng","mil.ng","mobi.ng","name.ng","net.ng","org.ng","sch.ng","ni","ac.ni","biz.ni","co.ni","com.ni","edu.ni","gob.ni","in.ni","info.ni","int.ni","mil.ni","net.ni","nom.ni","org.ni","web.ni","nl","no","fhs.no","vgs.no","fylkesbibl.no","folkebibl.no","museum.no","idrett.no","priv.no","mil.no","stat.no","dep.no","kommune.no","herad.no","aa.no","ah.no","bu.no","fm.no","hl.no","hm.no","jan-mayen.no","mr.no","nl.no","nt.no","of.no","ol.no","oslo.no","rl.no","sf.no","st.no","svalbard.no","tm.no","tr.no","va.no","vf.no","gs.aa.no","gs.ah.no","gs.bu.no","gs.fm.no","gs.hl.no","gs.hm.no","gs.jan-mayen.no","gs.mr.no","gs.nl.no","gs.nt.no","gs.of.no","gs.ol.no","gs.oslo.no","gs.rl.no","gs.sf.no","gs.st.no","gs.svalbard.no","gs.tm.no","gs.tr.no","gs.va.no","gs.vf.no","akrehamn.no","åkrehamn.no","algard.no","ålgård.no","arna.no","brumunddal.no","bryne.no","bronnoysund.no","brønnøysund.no","drobak.no","drøbak.no","egersund.no","fetsund.no","floro.no","florø.no","fredrikstad.no","hokksund.no","honefoss.no","hønefoss.no","jessheim.no","jorpeland.no","jørpeland.no","kirkenes.no","kopervik.no","krokstadelva.no","langevag.no","langevåg.no","leirvik.no","mjondalen.no","mjøndalen.no","mo-i-rana.no","mosjoen.no","mosjøen.no","nesoddtangen.no","orkanger.no","osoyro.no","osøyro.no","raholt.no","råholt.no","sandnessjoen.no","sandnessjøen.no","skedsmokorset.no","slattum.no","spjelkavik.no","stathelle.no","stavern.no","stjordalshalsen.no","stjørdalshalsen.no","tananger.no","tranby.no","vossevangen.no","afjord.no","åfjord.no","agdenes.no","al.no","ål.no","alesund.no","ålesund.no","alstahaug.no","alta.no","áltá.no","alaheadju.no","álaheadju.no","alvdal.no","amli.no","åmli.no","amot.no","åmot.no","andebu.no","andoy.no","andøy.no","andasuolo.no","ardal.no","årdal.no","aremark.no","arendal.no","ås.no","aseral.no","åseral.no","asker.no","askim.no","askvoll.no","askoy.no","askøy.no","asnes.no","åsnes.no","audnedaln.no","aukra.no","aure.no","aurland.no","aurskog-holand.no","aurskog-høland.no","austevoll.no","austrheim.no","averoy.no","averøy.no","balestrand.no","ballangen.no","balat.no","bálát.no","balsfjord.no","bahccavuotna.no","báhccavuotna.no","bamble.no","bardu.no","beardu.no","beiarn.no","bajddar.no","bájddar.no","baidar.no","báidár.no","berg.no","bergen.no","berlevag.no","berlevåg.no","bearalvahki.no","bearalváhki.no","bindal.no","birkenes.no","bjarkoy.no","bjarkøy.no","bjerkreim.no","bjugn.no","bodo.no","bodø.no","badaddja.no","bådåddjå.no","budejju.no","bokn.no","bremanger.no","bronnoy.no","brønnøy.no","bygland.no","bykle.no","barum.no","bærum.no","bo.telemark.no","bø.telemark.no","bo.nordland.no","bø.nordland.no","bievat.no","bievát.no","bomlo.no","bømlo.no","batsfjord.no","båtsfjord.no","bahcavuotna.no","báhcavuotna.no","dovre.no","drammen.no","drangedal.no","dyroy.no","dyrøy.no","donna.no","dønna.no","eid.no","eidfjord.no","eidsberg.no","eidskog.no","eidsvoll.no","eigersund.no","elverum.no","enebakk.no","engerdal.no","etne.no","etnedal.no","evenes.no","evenassi.no","evenášši.no","evje-og-hornnes.no","farsund.no","fauske.no","fuossko.no","fuoisku.no","fedje.no","fet.no","finnoy.no","finnøy.no","fitjar.no","fjaler.no","fjell.no","flakstad.no","flatanger.no","flekkefjord.no","flesberg.no","flora.no","fla.no","flå.no","folldal.no","forsand.no","fosnes.no","frei.no","frogn.no","froland.no","frosta.no","frana.no","fræna.no","froya.no","frøya.no","fusa.no","fyresdal.no","forde.no","førde.no","gamvik.no","gangaviika.no","gáŋgaviika.no","gaular.no","gausdal.no","gildeskal.no","gildeskål.no","giske.no","gjemnes.no","gjerdrum.no","gjerstad.no","gjesdal.no","gjovik.no","gjøvik.no","gloppen.no","gol.no","gran.no","grane.no","granvin.no","gratangen.no","grimstad.no","grong.no","kraanghke.no","kråanghke.no","grue.no","gulen.no","hadsel.no","halden.no","halsa.no","hamar.no","hamaroy.no","habmer.no","hábmer.no","hapmir.no","hápmir.no","hammerfest.no","hammarfeasta.no","hámmárfeasta.no","haram.no","hareid.no","harstad.no","hasvik.no","aknoluokta.no","ákŋoluokta.no","hattfjelldal.no","aarborte.no","haugesund.no","hemne.no","hemnes.no","hemsedal.no","heroy.more-og-romsdal.no","herøy.møre-og-romsdal.no","heroy.nordland.no","herøy.nordland.no","hitra.no","hjartdal.no","hjelmeland.no","hobol.no","hobøl.no","hof.no","hol.no","hole.no","holmestrand.no","holtalen.no","holtålen.no","hornindal.no","horten.no","hurdal.no","hurum.no","hvaler.no","hyllestad.no","hagebostad.no","hægebostad.no","hoyanger.no","høyanger.no","hoylandet.no","høylandet.no","ha.no","hå.no","ibestad.no","inderoy.no","inderøy.no","iveland.no","jevnaker.no","jondal.no","jolster.no","jølster.no","karasjok.no","karasjohka.no","kárášjohka.no","karlsoy.no","galsa.no","gálsá.no","karmoy.no","karmøy.no","kautokeino.no","guovdageaidnu.no","klepp.no","klabu.no","klæbu.no","kongsberg.no","kongsvinger.no","kragero.no","kragerø.no","kristiansand.no","kristiansund.no","krodsherad.no","krødsherad.no","kvalsund.no","rahkkeravju.no","ráhkkerávju.no","kvam.no","kvinesdal.no","kvinnherad.no","kviteseid.no","kvitsoy.no","kvitsøy.no","kvafjord.no","kvæfjord.no","giehtavuoatna.no","kvanangen.no","kvænangen.no","navuotna.no","návuotna.no","kafjord.no","kåfjord.no","gaivuotna.no","gáivuotna.no","larvik.no","lavangen.no","lavagis.no","loabat.no","loabát.no","lebesby.no","davvesiida.no","leikanger.no","leirfjord.no","leka.no","leksvik.no","lenvik.no","leangaviika.no","leaŋgaviika.no","lesja.no","levanger.no","lier.no","lierne.no","lillehammer.no","lillesand.no","lindesnes.no","lindas.no","lindås.no","lom.no","loppa.no","lahppi.no","láhppi.no","lund.no","lunner.no","luroy.no","lurøy.no","luster.no","lyngdal.no","lyngen.no","ivgu.no","lardal.no","lerdal.no","lærdal.no","lodingen.no","lødingen.no","lorenskog.no","lørenskog.no","loten.no","løten.no","malvik.no","masoy.no","måsøy.no","muosat.no","muosát.no","mandal.no","marker.no","marnardal.no","masfjorden.no","meland.no","meldal.no","melhus.no","meloy.no","meløy.no","meraker.no","meråker.no","moareke.no","moåreke.no","midsund.no","midtre-gauldal.no","modalen.no","modum.no","molde.no","moskenes.no","moss.no","mosvik.no","malselv.no","målselv.no","malatvuopmi.no","málatvuopmi.no","namdalseid.no","aejrie.no","namsos.no","namsskogan.no","naamesjevuemie.no","nååmesjevuemie.no","laakesvuemie.no","nannestad.no","narvik.no","narviika.no","naustdal.no","nedre-eiker.no","nes.akershus.no","nes.buskerud.no","nesna.no","nesodden.no","nesseby.no","unjarga.no","unjárga.no","nesset.no","nissedal.no","nittedal.no","nord-aurdal.no","nord-fron.no","nord-odal.no","norddal.no","nordkapp.no","davvenjarga.no","davvenjárga.no","nordre-land.no","nordreisa.no","raisa.no","ráisa.no","nore-og-uvdal.no","notodden.no","naroy.no","nærøy.no","notteroy.no","nøtterøy.no","odda.no","oksnes.no","øksnes.no","oppdal.no","oppegard.no","oppegård.no","orkdal.no","orland.no","ørland.no","orskog.no","ørskog.no","orsta.no","ørsta.no","os.hedmark.no","os.hordaland.no","osen.no","osteroy.no","osterøy.no","ostre-toten.no","østre-toten.no","overhalla.no","ovre-eiker.no","øvre-eiker.no","oyer.no","øyer.no","oygarden.no","øygarden.no","oystre-slidre.no","øystre-slidre.no","porsanger.no","porsangu.no","porsáŋgu.no","porsgrunn.no","radoy.no","radøy.no","rakkestad.no","rana.no","ruovat.no","randaberg.no","rauma.no","rendalen.no","rennebu.no","rennesoy.no","rennesøy.no","rindal.no","ringebu.no","ringerike.no","ringsaker.no","rissa.no","risor.no","risør.no","roan.no","rollag.no","rygge.no","ralingen.no","rælingen.no","rodoy.no","rødøy.no","romskog.no","rømskog.no","roros.no","røros.no","rost.no","røst.no","royken.no","røyken.no","royrvik.no","røyrvik.no","rade.no","råde.no","salangen.no","siellak.no","saltdal.no","salat.no","sálát.no","sálat.no","samnanger.no","sande.more-og-romsdal.no","sande.møre-og-romsdal.no","sande.vestfold.no","sandefjord.no","sandnes.no","sandoy.no","sandøy.no","sarpsborg.no","sauda.no","sauherad.no","sel.no","selbu.no","selje.no","seljord.no","sigdal.no","siljan.no","sirdal.no","skaun.no","skedsmo.no","ski.no","skien.no","skiptvet.no","skjervoy.no","skjervøy.no","skierva.no","skiervá.no","skjak.no","skjåk.no","skodje.no","skanland.no","skånland.no","skanit.no","skánit.no","smola.no","smøla.no","snillfjord.no","snasa.no","snåsa.no","snoasa.no","snaase.no","snåase.no","sogndal.no","sokndal.no","sola.no","solund.no","songdalen.no","sortland.no","spydeberg.no","stange.no","stavanger.no","steigen.no","steinkjer.no","stjordal.no","stjørdal.no","stokke.no","stor-elvdal.no","stord.no","stordal.no","storfjord.no","omasvuotna.no","strand.no","stranda.no","stryn.no","sula.no","suldal.no","sund.no","sunndal.no","surnadal.no","sveio.no","svelvik.no","sykkylven.no","sogne.no","søgne.no","somna.no","sømna.no","sondre-land.no","søndre-land.no","sor-aurdal.no","sør-aurdal.no","sor-fron.no","sør-fron.no","sor-odal.no","sør-odal.no","sor-varanger.no","sør-varanger.no","matta-varjjat.no","mátta-várjjat.no","sorfold.no","sørfold.no","sorreisa.no","sørreisa.no","sorum.no","sørum.no","tana.no","deatnu.no","time.no","tingvoll.no","tinn.no","tjeldsund.no","dielddanuorri.no","tjome.no","tjøme.no","tokke.no","tolga.no","torsken.no","tranoy.no","tranøy.no","tromso.no","tromsø.no","tromsa.no","romsa.no","trondheim.no","troandin.no","trysil.no","trana.no","træna.no","trogstad.no","trøgstad.no","tvedestrand.no","tydal.no","tynset.no","tysfjord.no","divtasvuodna.no","divttasvuotna.no","tysnes.no","tysvar.no","tysvær.no","tonsberg.no","tønsberg.no","ullensaker.no","ullensvang.no","ulvik.no","utsira.no","vadso.no","vadsø.no","cahcesuolo.no","čáhcesuolo.no","vaksdal.no","valle.no","vang.no","vanylven.no","vardo.no","vardø.no","varggat.no","várggát.no","vefsn.no","vaapste.no","vega.no","vegarshei.no","vegårshei.no","vennesla.no","verdal.no","verran.no","vestby.no","vestnes.no","vestre-slidre.no","vestre-toten.no","vestvagoy.no","vestvågøy.no","vevelstad.no","vik.no","vikna.no","vindafjord.no","volda.no","voss.no","varoy.no","værøy.no","vagan.no","vågan.no","voagat.no","vagsoy.no","vågsøy.no","vaga.no","vågå.no","valer.ostfold.no","våler.østfold.no","valer.hedmark.no","våler.hedmark.no","*.np","nr","biz.nr","info.nr","gov.nr","edu.nr","org.nr","net.nr","com.nr","nu","nz","ac.nz","co.nz","cri.nz","geek.nz","gen.nz","govt.nz","health.nz","iwi.nz","kiwi.nz","maori.nz","mil.nz","māori.nz","net.nz","org.nz","parliament.nz","school.nz","om","co.om","com.om","edu.om","gov.om","med.om","museum.om","net.om","org.om","pro.om","onion","org","pa","ac.pa","gob.pa","com.pa","org.pa","sld.pa","edu.pa","net.pa","ing.pa","abo.pa","med.pa","nom.pa","pe","edu.pe","gob.pe","nom.pe","mil.pe","org.pe","com.pe","net.pe","pf","com.pf","org.pf","edu.pf","*.pg","ph","com.ph","net.ph","org.ph","gov.ph","edu.ph","ngo.ph","mil.ph","i.ph","pk","com.pk","net.pk","edu.pk","org.pk","fam.pk","biz.pk","web.pk","gov.pk","gob.pk","gok.pk","gon.pk","gop.pk","gos.pk","info.pk","pl","com.pl","net.pl","org.pl","aid.pl","agro.pl","atm.pl","auto.pl","biz.pl","edu.pl","gmina.pl","gsm.pl","info.pl","mail.pl","miasta.pl","media.pl","mil.pl","nieruchomosci.pl","nom.pl","pc.pl","powiat.pl","priv.pl","realestate.pl","rel.pl","sex.pl","shop.pl","sklep.pl","sos.pl","szkola.pl","targi.pl","tm.pl","tourism.pl","travel.pl","turystyka.pl","gov.pl","ap.gov.pl","ic.gov.pl","is.gov.pl","us.gov.pl","kmpsp.gov.pl","kppsp.gov.pl","kwpsp.gov.pl","psp.gov.pl","wskr.gov.pl","kwp.gov.pl","mw.gov.pl","ug.gov.pl","um.gov.pl","umig.gov.pl","ugim.gov.pl","upow.gov.pl","uw.gov.pl","starostwo.gov.pl","pa.gov.pl","po.gov.pl","psse.gov.pl","pup.gov.pl","rzgw.gov.pl","sa.gov.pl","so.gov.pl","sr.gov.pl","wsa.gov.pl","sko.gov.pl","uzs.gov.pl","wiih.gov.pl","winb.gov.pl","pinb.gov.pl","wios.gov.pl","witd.gov.pl","wzmiuw.gov.pl","piw.gov.pl","wiw.gov.pl","griw.gov.pl","wif.gov.pl","oum.gov.pl","sdn.gov.pl","zp.gov.pl","uppo.gov.pl","mup.gov.pl","wuoz.gov.pl","konsulat.gov.pl","oirm.gov.pl","augustow.pl","babia-gora.pl","bedzin.pl","beskidy.pl","bialowieza.pl","bialystok.pl","bielawa.pl","bieszczady.pl","boleslawiec.pl","bydgoszcz.pl","bytom.pl","cieszyn.pl","czeladz.pl","czest.pl","dlugoleka.pl","elblag.pl","elk.pl","glogow.pl","gniezno.pl","gorlice.pl","grajewo.pl","ilawa.pl","jaworzno.pl","jelenia-gora.pl","jgora.pl","kalisz.pl","kazimierz-dolny.pl","karpacz.pl","kartuzy.pl","kaszuby.pl","katowice.pl","kepno.pl","ketrzyn.pl","klodzko.pl","kobierzyce.pl","kolobrzeg.pl","konin.pl","konskowola.pl","kutno.pl","lapy.pl","lebork.pl","legnica.pl","lezajsk.pl","limanowa.pl","lomza.pl","lowicz.pl","lubin.pl","lukow.pl","malbork.pl","malopolska.pl","mazowsze.pl","mazury.pl","mielec.pl","mielno.pl","mragowo.pl","naklo.pl","nowaruda.pl","nysa.pl","olawa.pl","olecko.pl","olkusz.pl","olsztyn.pl","opoczno.pl","opole.pl","ostroda.pl","ostroleka.pl","ostrowiec.pl","ostrowwlkp.pl","pila.pl","pisz.pl","podhale.pl","podlasie.pl","polkowice.pl","pomorze.pl","pomorskie.pl","prochowice.pl","pruszkow.pl","przeworsk.pl","pulawy.pl","radom.pl","rawa-maz.pl","rybnik.pl","rzeszow.pl","sanok.pl","sejny.pl","slask.pl","slupsk.pl","sosnowiec.pl","stalowa-wola.pl","skoczow.pl","starachowice.pl","stargard.pl","suwalki.pl","swidnica.pl","swiebodzin.pl","swinoujscie.pl","szczecin.pl","szczytno.pl","tarnobrzeg.pl","tgory.pl","turek.pl","tychy.pl","ustka.pl","walbrzych.pl","warmia.pl","warszawa.pl","waw.pl","wegrow.pl","wielun.pl","wlocl.pl","wloclawek.pl","wodzislaw.pl","wolomin.pl","wroclaw.pl","zachpomor.pl","zagan.pl","zarow.pl","zgora.pl","zgorzelec.pl","pm","pn","gov.pn","co.pn","org.pn","edu.pn","net.pn","post","pr","com.pr","net.pr","org.pr","gov.pr","edu.pr","isla.pr","pro.pr","biz.pr","info.pr","name.pr","est.pr","prof.pr","ac.pr","pro","aaa.pro","aca.pro","acct.pro","avocat.pro","bar.pro","cpa.pro","eng.pro","jur.pro","law.pro","med.pro","recht.pro","ps","edu.ps","gov.ps","sec.ps","plo.ps","com.ps","org.ps","net.ps","pt","net.pt","gov.pt","org.pt","edu.pt","int.pt","publ.pt","com.pt","nome.pt","pw","co.pw","ne.pw","or.pw","ed.pw","go.pw","belau.pw","py","com.py","coop.py","edu.py","gov.py","mil.py","net.py","org.py","qa","com.qa","edu.qa","gov.qa","mil.qa","name.qa","net.qa","org.qa","sch.qa","re","asso.re","com.re","nom.re","ro","arts.ro","com.ro","firm.ro","info.ro","nom.ro","nt.ro","org.ro","rec.ro","store.ro","tm.ro","www.ro","rs","ac.rs","co.rs","edu.rs","gov.rs","in.rs","org.rs","ru","rw","ac.rw","co.rw","coop.rw","gov.rw","mil.rw","net.rw","org.rw","sa","com.sa","net.sa","org.sa","gov.sa","med.sa","pub.sa","edu.sa","sch.sa","sb","com.sb","edu.sb","gov.sb","net.sb","org.sb","sc","com.sc","gov.sc","net.sc","org.sc","edu.sc","sd","com.sd","net.sd","org.sd","edu.sd","med.sd","tv.sd","gov.sd","info.sd","se","a.se","ac.se","b.se","bd.se","brand.se","c.se","d.se","e.se","f.se","fh.se","fhsk.se","fhv.se","g.se","h.se","i.se","k.se","komforb.se","kommunalforbund.se","komvux.se","l.se","lanbib.se","m.se","n.se","naturbruksgymn.se","o.se","org.se","p.se","parti.se","pp.se","press.se","r.se","s.se","t.se","tm.se","u.se","w.se","x.se","y.se","z.se","sg","com.sg","net.sg","org.sg","gov.sg","edu.sg","per.sg","sh","com.sh","net.sh","gov.sh","org.sh","mil.sh","si","sj","sk","sl","com.sl","net.sl","edu.sl","gov.sl","org.sl","sm","sn","art.sn","com.sn","edu.sn","gouv.sn","org.sn","perso.sn","univ.sn","so","com.so","edu.so","gov.so","me.so","net.so","org.so","sr","ss","biz.ss","com.ss","edu.ss","gov.ss","net.ss","org.ss","st","co.st","com.st","consulado.st","edu.st","embaixada.st","gov.st","mil.st","net.st","org.st","principe.st","saotome.st","store.st","su","sv","com.sv","edu.sv","gob.sv","org.sv","red.sv","sx","gov.sx","sy","edu.sy","gov.sy","net.sy","mil.sy","com.sy","org.sy","sz","co.sz","ac.sz","org.sz","tc","td","tel","tf","tg","th","ac.th","co.th","go.th","in.th","mi.th","net.th","or.th","tj","ac.tj","biz.tj","co.tj","com.tj","edu.tj","go.tj","gov.tj","int.tj","mil.tj","name.tj","net.tj","nic.tj","org.tj","test.tj","web.tj","tk","tl","gov.tl","tm","com.tm","co.tm","org.tm","net.tm","nom.tm","gov.tm","mil.tm","edu.tm","tn","com.tn","ens.tn","fin.tn","gov.tn","ind.tn","intl.tn","nat.tn","net.tn","org.tn","info.tn","perso.tn","tourism.tn","edunet.tn","rnrt.tn","rns.tn","rnu.tn","mincom.tn","agrinet.tn","defense.tn","turen.tn","to","com.to","gov.to","net.to","org.to","edu.to","mil.to","tr","av.tr","bbs.tr","bel.tr","biz.tr","com.tr","dr.tr","edu.tr","gen.tr","gov.tr","info.tr","mil.tr","k12.tr","kep.tr","name.tr","net.tr","org.tr","pol.tr","tel.tr","tsk.tr","tv.tr","web.tr","nc.tr","gov.nc.tr","tt","co.tt","com.tt","org.tt","net.tt","biz.tt","info.tt","pro.tt","int.tt","coop.tt","jobs.tt","mobi.tt","travel.tt","museum.tt","aero.tt","name.tt","gov.tt","edu.tt","tv","tw","edu.tw","gov.tw","mil.tw","com.tw","net.tw","org.tw","idv.tw","game.tw","ebiz.tw","club.tw","網路.tw","組織.tw","商業.tw","tz","ac.tz","co.tz","go.tz","hotel.tz","info.tz","me.tz","mil.tz","mobi.tz","ne.tz","or.tz","sc.tz","tv.tz","ua","com.ua","edu.ua","gov.ua","in.ua","net.ua","org.ua","cherkassy.ua","cherkasy.ua","chernigov.ua","chernihiv.ua","chernivtsi.ua","chernovtsy.ua","ck.ua","cn.ua","cr.ua","crimea.ua","cv.ua","dn.ua","dnepropetrovsk.ua","dnipropetrovsk.ua","dominic.ua","donetsk.ua","dp.ua","if.ua","ivano-frankivsk.ua","kh.ua","kharkiv.ua","kharkov.ua","kherson.ua","khmelnitskiy.ua","khmelnytskyi.ua","kiev.ua","kirovograd.ua","km.ua","kr.ua","krym.ua","ks.ua","kv.ua","kyiv.ua","lg.ua","lt.ua","lugansk.ua","lutsk.ua","lv.ua","lviv.ua","mk.ua","mykolaiv.ua","nikolaev.ua","od.ua","odesa.ua","odessa.ua","pl.ua","poltava.ua","rivne.ua","rovno.ua","rv.ua","sb.ua","sebastopol.ua","sevastopol.ua","sm.ua","sumy.ua","te.ua","ternopil.ua","uz.ua","uzhgorod.ua","vinnica.ua","vinnytsia.ua","vn.ua","volyn.ua","yalta.ua","zaporizhzhe.ua","zaporizhzhia.ua","zhitomir.ua","zhytomyr.ua","zp.ua","zt.ua","ug","co.ug","or.ug","ac.ug","sc.ug","go.ug","ne.ug","com.ug","org.ug","uk","ac.uk","co.uk","gov.uk","ltd.uk","me.uk","net.uk","nhs.uk","org.uk","plc.uk","police.uk","*.sch.uk","us","dni.us","fed.us","isa.us","kids.us","nsn.us","ak.us","al.us","ar.us","as.us","az.us","ca.us","co.us","ct.us","dc.us","de.us","fl.us","ga.us","gu.us","hi.us","ia.us","id.us","il.us","in.us","ks.us","ky.us","la.us","ma.us","md.us","me.us","mi.us","mn.us","mo.us","ms.us","mt.us","nc.us","nd.us","ne.us","nh.us","nj.us","nm.us","nv.us","ny.us","oh.us","ok.us","or.us","pa.us","pr.us","ri.us","sc.us","sd.us","tn.us","tx.us","ut.us","vi.us","vt.us","va.us","wa.us","wi.us","wv.us","wy.us","k12.ak.us","k12.al.us","k12.ar.us","k12.as.us","k12.az.us","k12.ca.us","k12.co.us","k12.ct.us","k12.dc.us","k12.de.us","k12.fl.us","k12.ga.us","k12.gu.us","k12.ia.us","k12.id.us","k12.il.us","k12.in.us","k12.ks.us","k12.ky.us","k12.la.us","k12.ma.us","k12.md.us","k12.me.us","k12.mi.us","k12.mn.us","k12.mo.us","k12.ms.us","k12.mt.us","k12.nc.us","k12.ne.us","k12.nh.us","k12.nj.us","k12.nm.us","k12.nv.us","k12.ny.us","k12.oh.us","k12.ok.us","k12.or.us","k12.pa.us","k12.pr.us","k12.ri.us","k12.sc.us","k12.tn.us","k12.tx.us","k12.ut.us","k12.vi.us","k12.vt.us","k12.va.us","k12.wa.us","k12.wi.us","k12.wy.us","cc.ak.us","cc.al.us","cc.ar.us","cc.as.us","cc.az.us","cc.ca.us","cc.co.us","cc.ct.us","cc.dc.us","cc.de.us","cc.fl.us","cc.ga.us","cc.gu.us","cc.hi.us","cc.ia.us","cc.id.us","cc.il.us","cc.in.us","cc.ks.us","cc.ky.us","cc.la.us","cc.ma.us","cc.md.us","cc.me.us","cc.mi.us","cc.mn.us","cc.mo.us","cc.ms.us","cc.mt.us","cc.nc.us","cc.nd.us","cc.ne.us","cc.nh.us","cc.nj.us","cc.nm.us","cc.nv.us","cc.ny.us","cc.oh.us","cc.ok.us","cc.or.us","cc.pa.us","cc.pr.us","cc.ri.us","cc.sc.us","cc.sd.us","cc.tn.us","cc.tx.us","cc.ut.us","cc.vi.us","cc.vt.us","cc.va.us","cc.wa.us","cc.wi.us","cc.wv.us","cc.wy.us","lib.ak.us","lib.al.us","lib.ar.us","lib.as.us","lib.az.us","lib.ca.us","lib.co.us","lib.ct.us","lib.dc.us","lib.fl.us","lib.ga.us","lib.gu.us","lib.hi.us","lib.ia.us","lib.id.us","lib.il.us","lib.in.us","lib.ks.us","lib.ky.us","lib.la.us","lib.ma.us","lib.md.us","lib.me.us","lib.mi.us","lib.mn.us","lib.mo.us","lib.ms.us","lib.mt.us","lib.nc.us","lib.nd.us","lib.ne.us","lib.nh.us","lib.nj.us","lib.nm.us","lib.nv.us","lib.ny.us","lib.oh.us","lib.ok.us","lib.or.us","lib.pa.us","lib.pr.us","lib.ri.us","lib.sc.us","lib.sd.us","lib.tn.us","lib.tx.us","lib.ut.us","lib.vi.us","lib.vt.us","lib.va.us","lib.wa.us","lib.wi.us","lib.wy.us","pvt.k12.ma.us","chtr.k12.ma.us","paroch.k12.ma.us","ann-arbor.mi.us","cog.mi.us","dst.mi.us","eaton.mi.us","gen.mi.us","mus.mi.us","tec.mi.us","washtenaw.mi.us","uy","com.uy","edu.uy","gub.uy","mil.uy","net.uy","org.uy","uz","co.uz","com.uz","net.uz","org.uz","va","vc","com.vc","net.vc","org.vc","gov.vc","mil.vc","edu.vc","ve","arts.ve","co.ve","com.ve","e12.ve","edu.ve","firm.ve","gob.ve","gov.ve","info.ve","int.ve","mil.ve","net.ve","org.ve","rec.ve","store.ve","tec.ve","web.ve","vg","vi","co.vi","com.vi","k12.vi","net.vi","org.vi","vn","com.vn","net.vn","org.vn","edu.vn","gov.vn","int.vn","ac.vn","biz.vn","info.vn","name.vn","pro.vn","health.vn","vu","com.vu","edu.vu","net.vu","org.vu","wf","ws","com.ws","net.ws","org.ws","gov.ws","edu.ws","yt","امارات","հայ","বাংলা","бг","бел","中国","中國","الجزائر","مصر","ею","ευ","موريتانيا","გე","ελ","香港","公司.香港","教育.香港","政府.香港","個人.香港","網絡.香港","組織.香港","ಭಾರತ","ଭାରତ","ভাৰত","भारतम्","भारोत","ڀارت","ഭാരതം","भारत","بارت","بھارت","భారత్","ભારત","ਭਾਰਤ","ভারত","இந்தியா","ایران","ايران","عراق","الاردن","한국","қаз","ලංකා","இலங்கை","المغرب","мкд","мон","澳門","澳门","مليسيا","عمان","پاکستان","پاكستان","فلسطين","срб","пр.срб","орг.срб","обр.срб","од.срб","упр.срб","ак.срб","рф","قطر","السعودية","السعودیة","السعودیۃ","السعوديه","سودان","新加坡","சிங்கப்பூர்","سورية","سوريا","ไทย","ศึกษา.ไทย","ธุรกิจ.ไทย","รัฐบาล.ไทย","ทหาร.ไทย","เน็ต.ไทย","องค์กร.ไทย","تونس","台灣","台湾","臺灣","укр","اليمن","xxx","*.ye","ac.za","agric.za","alt.za","co.za","edu.za","gov.za","grondar.za","law.za","mil.za","net.za","ngo.za","nic.za","nis.za","nom.za","org.za","school.za","tm.za","web.za","zm","ac.zm","biz.zm","co.zm","com.zm","edu.zm","gov.zm","info.zm","mil.zm","net.zm","org.zm","sch.zm","zw","ac.zw","co.zw","gov.zw","mil.zw","org.zw","aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","academy","accenture","accountant","accountants","aco","actor","adac","ads","adult","aeg","aetna","afamilycompany","afl","africa","agakhan","agency","aig","aigo","airbus","airforce","airtel","akdn","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","aol","apartments","app","apple","aquarelle","arab","aramco","archi","army","art","arte","asda","associates","athleta","attorney","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aws","axa","azure","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bbc","bbt","bbva","bcg","bcn","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bharti","bible","bid","bike","bing","bingo","bio","black","blackfriday","blockbuster","blog","bloomberg","blue","bms","bmw","bnpparibas","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","bradesco","bridgestone","broadway","broker","brother","brussels","budapest","bugatti","build","builders","business","buy","buzz","bzh","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","caseih","cash","casino","catering","catholic","cba","cbn","cbre","cbs","ceb","center","ceo","cern","cfa","cfd","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","coach","codes","coffee","college","cologne","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","corsica","country","coupon","coupons","courses","cpa","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","csc","cuisinella","cymru","cyou","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dnp","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","duck","dunlop","dupont","durban","dvag","dvr","earth","eat","eco","edeka","education","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","ericsson","erni","esq","estate","esurance","etisalat","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","flickr","flights","flir","florist","flowers","fly","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fujixerox","fun","fund","furniture","futbol","fyi","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gbiz","gdn","gea","gent","genting","george","ggee","gift","gifts","gives","giving","glade","glass","gle","global","globo","gmail","gmbh","gmo","gmx","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","grainger","graphics","gratis","green","gripe","grocery","group","guardian","gucci","guge","guide","guitars","guru","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hkt","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hsbc","hughes","hyatt","hyundai","ibm","icbc","ice","icu","ieee","ifm","ikano","imamat","imdb","immo","immobilien","inc","industries","infiniti","ing","ink","institute","insurance","insure","intel","international","intuit","investments","ipiranga","irish","ismaili","ist","istanbul","itau","itv","iveco","jaguar","java","jcb","jcp","jeep","jetzt","jewelry","jio","jll","jmp","jnj","joburg","jot","joy","jpmorgan","jprs","juegos","juniper","kaufen","kddi","kerryhotels","kerrylogistics","kerryproperties","kfh","kia","kim","kinder","kindle","kitchen","kiwi","koeln","komatsu","kosher","kpmg","kpn","krd","kred","kuokgroup","kyoto","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lixil","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","ltd","ltda","lundbeck","lupin","luxe","luxury","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mckinsey","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","metlife","miami","microsoft","mini","mint","mit","mitsubishi","mlb","mls","mma","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","msd","mtn","mtr","mutual","nab","nadex","nagoya","nationwide","natura","navy","nba","nec","netbank","netflix","network","neustar","new","newholland","news","next","nextdirect","nexus","nfl","ngo","nhk","nico","nike","nikon","ninja","nissan","nissay","nokia","northwesternmutual","norton","now","nowruz","nowtv","nra","nrw","ntt","nyc","obi","observer","off","office","okinawa","olayan","olayangroup","oldnavy","ollo","omega","one","ong","onl","online","onyourside","ooo","open","oracle","orange","organic","origins","osaka","otsuka","ott","ovh","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pet","pfizer","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","place","play","playstation","plumbing","plus","pnc","pohl","poker","politie","porn","pramerica","praxi","press","prime","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","pub","pwc","qpon","quebec","quest","qvc","racing","radio","raid","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","rightathome","ril","rio","rip","rmit","rocher","rocks","rodeo","rogers","room","rsvp","rugby","ruhr","run","rwe","ryukyu","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sbi","sbs","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scjohnson","scor","scot","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","shriram","silk","sina","singles","site","ski","skin","sky","skype","sling","smart","smile","sncf","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","spreadbetting","srl","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","sucks","supplies","supply","support","surf","surgery","suzuki","swatch","swiftcover","swiss","sydney","symantec","systems","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tci","tdk","team","tech","technology","temasek","tennis","teva","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tjmaxx","tjx","tkmaxx","tmall","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tube","tui","tunes","tushu","tvs","ubank","ubs","unicom","university","uno","uol","ups","vacations","vana","vanguard","vegas","ventures","verisign","versicherung","vet","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vodka","volkswagen","volvo","vote","voting","voto","voyage","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","कॉम","セール","佛山","慈善","集团","在线","大众汽车","点看","คอม","八卦","موقع","公益","公司","香格里拉","网站","移动","我爱你","москва","католик","онлайн","сайт","联通","קום","时尚","微博","淡马锡","ファッション","орг","नेट","ストア","アマゾン","삼성","商标","商店","商城","дети","ポイント","新闻","工行","家電","كوم","中文网","中信","娱乐","谷歌","電訊盈科","购物","クラウド","通販","网店","संगठन","餐厅","网络","ком","亚马逊","诺基亚","食品","飞利浦","手表","手机","ارامكو","العليان","اتصالات","بازار","ابوظبي","كاثوليك","همراه","닷컴","政府","شبكة","بيتك","عرب","机构","组织机构","健康","招聘","рус","珠宝","大拿","みんな","グーグル","世界","書籍","网址","닷넷","コム","天主教","游戏","vermögensberater","vermögensberatung","企业","信息","嘉里大酒店","嘉里","广东","政务","xyz","yachts","yahoo","yamaxun","yandex","yodobashi","yoga","yokohama","you","youtube","yun","zappos","zara","zero","zip","zone","zuerich","cc.ua","inf.ua","ltd.ua","adobeaemcloud.com","adobeaemcloud.net","*.dev.adobeaemcloud.com","beep.pl","barsy.ca","*.compute.estate","*.alces.network","altervista.org","alwaysdata.net","cloudfront.net","*.compute.amazonaws.com","*.compute-1.amazonaws.com","*.compute.amazonaws.com.cn","us-east-1.amazonaws.com","cn-north-1.eb.amazonaws.com.cn","cn-northwest-1.eb.amazonaws.com.cn","elasticbeanstalk.com","ap-northeast-1.elasticbeanstalk.com","ap-northeast-2.elasticbeanstalk.com","ap-northeast-3.elasticbeanstalk.com","ap-south-1.elasticbeanstalk.com","ap-southeast-1.elasticbeanstalk.com","ap-southeast-2.elasticbeanstalk.com","ca-central-1.elasticbeanstalk.com","eu-central-1.elasticbeanstalk.com","eu-west-1.elasticbeanstalk.com","eu-west-2.elasticbeanstalk.com","eu-west-3.elasticbeanstalk.com","sa-east-1.elasticbeanstalk.com","us-east-1.elasticbeanstalk.com","us-east-2.elasticbeanstalk.com","us-gov-west-1.elasticbeanstalk.com","us-west-1.elasticbeanstalk.com","us-west-2.elasticbeanstalk.com","*.elb.amazonaws.com","*.elb.amazonaws.com.cn","s3.amazonaws.com","s3-ap-northeast-1.amazonaws.com","s3-ap-northeast-2.amazonaws.com","s3-ap-south-1.amazonaws.com","s3-ap-southeast-1.amazonaws.com","s3-ap-southeast-2.amazonaws.com","s3-ca-central-1.amazonaws.com","s3-eu-central-1.amazonaws.com","s3-eu-west-1.amazonaws.com","s3-eu-west-2.amazonaws.com","s3-eu-west-3.amazonaws.com","s3-external-1.amazonaws.com","s3-fips-us-gov-west-1.amazonaws.com","s3-sa-east-1.amazonaws.com","s3-us-gov-west-1.amazonaws.com","s3-us-east-2.amazonaws.com","s3-us-west-1.amazonaws.com","s3-us-west-2.amazonaws.com","s3.ap-northeast-2.amazonaws.com","s3.ap-south-1.amazonaws.com","s3.cn-north-1.amazonaws.com.cn","s3.ca-central-1.amazonaws.com","s3.eu-central-1.amazonaws.com","s3.eu-west-2.amazonaws.com","s3.eu-west-3.amazonaws.com","s3.us-east-2.amazonaws.com","s3.dualstack.ap-northeast-1.amazonaws.com","s3.dualstack.ap-northeast-2.amazonaws.com","s3.dualstack.ap-south-1.amazonaws.com","s3.dualstack.ap-southeast-1.amazonaws.com","s3.dualstack.ap-southeast-2.amazonaws.com","s3.dualstack.ca-central-1.amazonaws.com","s3.dualstack.eu-central-1.amazonaws.com","s3.dualstack.eu-west-1.amazonaws.com","s3.dualstack.eu-west-2.amazonaws.com","s3.dualstack.eu-west-3.amazonaws.com","s3.dualstack.sa-east-1.amazonaws.com","s3.dualstack.us-east-1.amazonaws.com","s3.dualstack.us-east-2.amazonaws.com","s3-website-us-east-1.amazonaws.com","s3-website-us-west-1.amazonaws.com","s3-website-us-west-2.amazonaws.com","s3-website-ap-northeast-1.amazonaws.com","s3-website-ap-southeast-1.amazonaws.com","s3-website-ap-southeast-2.amazonaws.com","s3-website-eu-west-1.amazonaws.com","s3-website-sa-east-1.amazonaws.com","s3-website.ap-northeast-2.amazonaws.com","s3-website.ap-south-1.amazonaws.com","s3-website.ca-central-1.amazonaws.com","s3-website.eu-central-1.amazonaws.com","s3-website.eu-west-2.amazonaws.com","s3-website.eu-west-3.amazonaws.com","s3-website.us-east-2.amazonaws.com","amsw.nl","t3l3p0rt.net","tele.amune.org","apigee.io","on-aptible.com","user.aseinet.ne.jp","gv.vc","d.gv.vc","user.party.eus","pimienta.org","poivron.org","potager.org","sweetpepper.org","myasustor.com","myfritz.net","*.awdev.ca","*.advisor.ws","b-data.io","backplaneapp.io","balena-devices.com","app.banzaicloud.io","betainabox.com","bnr.la","blackbaudcdn.net","boomla.net","boxfuse.io","square7.ch","bplaced.com","bplaced.de","square7.de","bplaced.net","square7.net","browsersafetymark.io","uk0.bigv.io","dh.bytemark.co.uk","vm.bytemark.co.uk","mycd.eu","carrd.co","crd.co","uwu.ai","ae.org","ar.com","br.com","cn.com","com.de","com.se","de.com","eu.com","gb.com","gb.net","hu.com","hu.net","jp.net","jpn.com","kr.com","mex.com","no.com","qc.com","ru.com","sa.com","se.net","uk.com","uk.net","us.com","uy.com","za.bz","za.com","africa.com","gr.com","in.net","us.org","co.com","c.la","certmgr.org","xenapponazure.com","discourse.group","discourse.team","virtueeldomein.nl","cleverapps.io","*.lcl.dev","*.stg.dev","c66.me","cloud66.ws","cloud66.zone","jdevcloud.com","wpdevcloud.com","cloudaccess.host","freesite.host","cloudaccess.net","cloudcontrolled.com","cloudcontrolapp.com","cloudera.site","trycloudflare.com","workers.dev","wnext.app","co.ca","*.otap.co","co.cz","c.cdn77.org","cdn77-ssl.net","r.cdn77.net","rsc.cdn77.org","ssl.origin.cdn77-secure.org","cloudns.asia","cloudns.biz","cloudns.club","cloudns.cc","cloudns.eu","cloudns.in","cloudns.info","cloudns.org","cloudns.pro","cloudns.pw","cloudns.us","cloudeity.net","cnpy.gdn","co.nl","co.no","webhosting.be","hosting-cluster.nl","ac.ru","edu.ru","gov.ru","int.ru","mil.ru","test.ru","dyn.cosidns.de","dynamisches-dns.de","dnsupdater.de","internet-dns.de","l-o-g-i-n.de","dynamic-dns.info","feste-ip.net","knx-server.net","static-access.net","realm.cz","*.cryptonomic.net","cupcake.is","*.customer-oci.com","*.oci.customer-oci.com","*.ocp.customer-oci.com","*.ocs.customer-oci.com","cyon.link","cyon.site","daplie.me","localhost.daplie.me","dattolocal.com","dattorelay.com","dattoweb.com","mydatto.com","dattolocal.net","mydatto.net","biz.dk","co.dk","firm.dk","reg.dk","store.dk","*.dapps.earth","*.bzz.dapps.earth","builtwithdark.com","edgestack.me","debian.net","dedyn.io","dnshome.de","online.th","shop.th","drayddns.com","dreamhosters.com","mydrobo.com","drud.io","drud.us","duckdns.org","dy.fi","tunk.org","dyndns-at-home.com","dyndns-at-work.com","dyndns-blog.com","dyndns-free.com","dyndns-home.com","dyndns-ip.com","dyndns-mail.com","dyndns-office.com","dyndns-pics.com","dyndns-remote.com","dyndns-server.com","dyndns-web.com","dyndns-wiki.com","dyndns-work.com","dyndns.biz","dyndns.info","dyndns.org","dyndns.tv","at-band-camp.net","ath.cx","barrel-of-knowledge.info","barrell-of-knowledge.info","better-than.tv","blogdns.com","blogdns.net","blogdns.org","blogsite.org","boldlygoingnowhere.org","broke-it.net","buyshouses.net","cechire.com","dnsalias.com","dnsalias.net","dnsalias.org","dnsdojo.com","dnsdojo.net","dnsdojo.org","does-it.net","doesntexist.com","doesntexist.org","dontexist.com","dontexist.net","dontexist.org","doomdns.com","doomdns.org","dvrdns.org","dyn-o-saur.com","dynalias.com","dynalias.net","dynalias.org","dynathome.net","dyndns.ws","endofinternet.net","endofinternet.org","endoftheinternet.org","est-a-la-maison.com","est-a-la-masion.com","est-le-patron.com","est-mon-blogueur.com","for-better.biz","for-more.biz","for-our.info","for-some.biz","for-the.biz","forgot.her.name","forgot.his.name","from-ak.com","from-al.com","from-ar.com","from-az.net","from-ca.com","from-co.net","from-ct.com","from-dc.com","from-de.com","from-fl.com","from-ga.com","from-hi.com","from-ia.com","from-id.com","from-il.com","from-in.com","from-ks.com","from-ky.com","from-la.net","from-ma.com","from-md.com","from-me.org","from-mi.com","from-mn.com","from-mo.com","from-ms.com","from-mt.com","from-nc.com","from-nd.com","from-ne.com","from-nh.com","from-nj.com","from-nm.com","from-nv.com","from-ny.net","from-oh.com","from-ok.com","from-or.com","from-pa.com","from-pr.com","from-ri.com","from-sc.com","from-sd.com","from-tn.com","from-tx.com","from-ut.com","from-va.com","from-vt.com","from-wa.com","from-wi.com","from-wv.com","from-wy.com","ftpaccess.cc","fuettertdasnetz.de","game-host.org","game-server.cc","getmyip.com","gets-it.net","go.dyndns.org","gotdns.com","gotdns.org","groks-the.info","groks-this.info","ham-radio-op.net","here-for-more.info","hobby-site.com","hobby-site.org","home.dyndns.org","homedns.org","homeftp.net","homeftp.org","homeip.net","homelinux.com","homelinux.net","homelinux.org","homeunix.com","homeunix.net","homeunix.org","iamallama.com","in-the-band.net","is-a-anarchist.com","is-a-blogger.com","is-a-bookkeeper.com","is-a-bruinsfan.org","is-a-bulls-fan.com","is-a-candidate.org","is-a-caterer.com","is-a-celticsfan.org","is-a-chef.com","is-a-chef.net","is-a-chef.org","is-a-conservative.com","is-a-cpa.com","is-a-cubicle-slave.com","is-a-democrat.com","is-a-designer.com","is-a-doctor.com","is-a-financialadvisor.com","is-a-geek.com","is-a-geek.net","is-a-geek.org","is-a-green.com","is-a-guru.com","is-a-hard-worker.com","is-a-hunter.com","is-a-knight.org","is-a-landscaper.com","is-a-lawyer.com","is-a-liberal.com","is-a-libertarian.com","is-a-linux-user.org","is-a-llama.com","is-a-musician.com","is-a-nascarfan.com","is-a-nurse.com","is-a-painter.com","is-a-patsfan.org","is-a-personaltrainer.com","is-a-photographer.com","is-a-player.com","is-a-republican.com","is-a-rockstar.com","is-a-socialist.com","is-a-soxfan.org","is-a-student.com","is-a-teacher.com","is-a-techie.com","is-a-therapist.com","is-an-accountant.com","is-an-actor.com","is-an-actress.com","is-an-anarchist.com","is-an-artist.com","is-an-engineer.com","is-an-entertainer.com","is-by.us","is-certified.com","is-found.org","is-gone.com","is-into-anime.com","is-into-cars.com","is-into-cartoons.com","is-into-games.com","is-leet.com","is-lost.org","is-not-certified.com","is-saved.org","is-slick.com","is-uberleet.com","is-very-bad.org","is-very-evil.org","is-very-good.org","is-very-nice.org","is-very-sweet.org","is-with-theband.com","isa-geek.com","isa-geek.net","isa-geek.org","isa-hockeynut.com","issmarterthanyou.com","isteingeek.de","istmein.de","kicks-ass.net","kicks-ass.org","knowsitall.info","land-4-sale.us","lebtimnetz.de","leitungsen.de","likes-pie.com","likescandy.com","merseine.nu","mine.nu","misconfused.org","mypets.ws","myphotos.cc","neat-url.com","office-on-the.net","on-the-web.tv","podzone.net","podzone.org","readmyblog.org","saves-the-whales.com","scrapper-site.net","scrapping.cc","selfip.biz","selfip.com","selfip.info","selfip.net","selfip.org","sells-for-less.com","sells-for-u.com","sells-it.net","sellsyourhome.org","servebbs.com","servebbs.net","servebbs.org","serveftp.net","serveftp.org","servegame.org","shacknet.nu","simple-url.com","space-to-rent.com","stuff-4-sale.org","stuff-4-sale.us","teaches-yoga.com","thruhere.net","traeumtgerade.de","webhop.biz","webhop.info","webhop.net","webhop.org","worse-than.tv","writesthisblog.com","ddnss.de","dyn.ddnss.de","dyndns.ddnss.de","dyndns1.de","dyn-ip24.de","home-webserver.de","dyn.home-webserver.de","myhome-server.de","ddnss.org","definima.net","definima.io","bci.dnstrace.pro","ddnsfree.com","ddnsgeek.com","giize.com","gleeze.com","kozow.com","loseyourip.com","ooguy.com","theworkpc.com","casacam.net","dynu.net","accesscam.org","camdvr.org","freeddns.org","mywire.org","webredirect.org","myddns.rocks","blogsite.xyz","dynv6.net","e4.cz","en-root.fr","mytuleap.com","onred.one","staging.onred.one","enonic.io","customer.enonic.io","eu.org","al.eu.org","asso.eu.org","at.eu.org","au.eu.org","be.eu.org","bg.eu.org","ca.eu.org","cd.eu.org","ch.eu.org","cn.eu.org","cy.eu.org","cz.eu.org","de.eu.org","dk.eu.org","edu.eu.org","ee.eu.org","es.eu.org","fi.eu.org","fr.eu.org","gr.eu.org","hr.eu.org","hu.eu.org","ie.eu.org","il.eu.org","in.eu.org","int.eu.org","is.eu.org","it.eu.org","jp.eu.org","kr.eu.org","lt.eu.org","lu.eu.org","lv.eu.org","mc.eu.org","me.eu.org","mk.eu.org","mt.eu.org","my.eu.org","net.eu.org","ng.eu.org","nl.eu.org","no.eu.org","nz.eu.org","paris.eu.org","pl.eu.org","pt.eu.org","q-a.eu.org","ro.eu.org","ru.eu.org","se.eu.org","si.eu.org","sk.eu.org","tr.eu.org","uk.eu.org","us.eu.org","eu-1.evennode.com","eu-2.evennode.com","eu-3.evennode.com","eu-4.evennode.com","us-1.evennode.com","us-2.evennode.com","us-3.evennode.com","us-4.evennode.com","twmail.cc","twmail.net","twmail.org","mymailer.com.tw","url.tw","apps.fbsbx.com","ru.net","adygeya.ru","bashkiria.ru","bir.ru","cbg.ru","com.ru","dagestan.ru","grozny.ru","kalmykia.ru","kustanai.ru","marine.ru","mordovia.ru","msk.ru","mytis.ru","nalchik.ru","nov.ru","pyatigorsk.ru","spb.ru","vladikavkaz.ru","vladimir.ru","abkhazia.su","adygeya.su","aktyubinsk.su","arkhangelsk.su","armenia.su","ashgabad.su","azerbaijan.su","balashov.su","bashkiria.su","bryansk.su","bukhara.su","chimkent.su","dagestan.su","east-kazakhstan.su","exnet.su","georgia.su","grozny.su","ivanovo.su","jambyl.su","kalmykia.su","kaluga.su","karacol.su","karaganda.su","karelia.su","khakassia.su","krasnodar.su","kurgan.su","kustanai.su","lenug.su","mangyshlak.su","mordovia.su","msk.su","murmansk.su","nalchik.su","navoi.su","north-kazakhstan.su","nov.su","obninsk.su","penza.su","pokrovsk.su","sochi.su","spb.su","tashkent.su","termez.su","togliatti.su","troitsk.su","tselinograd.su","tula.su","tuva.su","vladikavkaz.su","vladimir.su","vologda.su","channelsdvr.net","u.channelsdvr.net","fastly-terrarium.com","fastlylb.net","map.fastlylb.net","freetls.fastly.net","map.fastly.net","a.prod.fastly.net","global.prod.fastly.net","a.ssl.fastly.net","b.ssl.fastly.net","global.ssl.fastly.net","fastpanel.direct","fastvps-server.com","fhapp.xyz","fedorainfracloud.org","fedorapeople.org","cloud.fedoraproject.org","app.os.fedoraproject.org","app.os.stg.fedoraproject.org","mydobiss.com","filegear.me","filegear-au.me","filegear-de.me","filegear-gb.me","filegear-ie.me","filegear-jp.me","filegear-sg.me","firebaseapp.com","flynnhub.com","flynnhosting.net","0e.vc","freebox-os.com","freeboxos.com","fbx-os.fr","fbxos.fr","freebox-os.fr","freeboxos.fr","freedesktop.org","*.futurecms.at","*.ex.futurecms.at","*.in.futurecms.at","futurehosting.at","futuremailing.at","*.ex.ortsinfo.at","*.kunden.ortsinfo.at","*.statics.cloud","service.gov.uk","gehirn.ne.jp","usercontent.jp","gentapps.com","lab.ms","github.io","githubusercontent.com","gitlab.io","glitch.me","lolipop.io","cloudapps.digital","london.cloudapps.digital","homeoffice.gov.uk","ro.im","shop.ro","goip.de","run.app","a.run.app","web.app","*.0emm.com","appspot.com","*.r.appspot.com","blogspot.ae","blogspot.al","blogspot.am","blogspot.ba","blogspot.be","blogspot.bg","blogspot.bj","blogspot.ca","blogspot.cf","blogspot.ch","blogspot.cl","blogspot.co.at","blogspot.co.id","blogspot.co.il","blogspot.co.ke","blogspot.co.nz","blogspot.co.uk","blogspot.co.za","blogspot.com","blogspot.com.ar","blogspot.com.au","blogspot.com.br","blogspot.com.by","blogspot.com.co","blogspot.com.cy","blogspot.com.ee","blogspot.com.eg","blogspot.com.es","blogspot.com.mt","blogspot.com.ng","blogspot.com.tr","blogspot.com.uy","blogspot.cv","blogspot.cz","blogspot.de","blogspot.dk","blogspot.fi","blogspot.fr","blogspot.gr","blogspot.hk","blogspot.hr","blogspot.hu","blogspot.ie","blogspot.in","blogspot.is","blogspot.it","blogspot.jp","blogspot.kr","blogspot.li","blogspot.lt","blogspot.lu","blogspot.md","blogspot.mk","blogspot.mr","blogspot.mx","blogspot.my","blogspot.nl","blogspot.no","blogspot.pe","blogspot.pt","blogspot.qa","blogspot.re","blogspot.ro","blogspot.rs","blogspot.ru","blogspot.se","blogspot.sg","blogspot.si","blogspot.sk","blogspot.sn","blogspot.td","blogspot.tw","blogspot.ug","blogspot.vn","cloudfunctions.net","cloud.goog","codespot.com","googleapis.com","googlecode.com","pagespeedmobilizer.com","publishproxy.com","withgoogle.com","withyoutube.com","awsmppl.com","fin.ci","free.hr","caa.li","ua.rs","conf.se","hs.zone","hs.run","hashbang.sh","hasura.app","hasura-app.io","hepforge.org","herokuapp.com","herokussl.com","myravendb.com","ravendb.community","ravendb.me","development.run","ravendb.run","bpl.biz","orx.biz","ng.city","biz.gl","ng.ink","col.ng","firm.ng","gen.ng","ltd.ng","ngo.ng","ng.school","sch.so","häkkinen.fi","*.moonscale.io","moonscale.net","iki.fi","dyn-berlin.de","in-berlin.de","in-brb.de","in-butter.de","in-dsl.de","in-dsl.net","in-dsl.org","in-vpn.de","in-vpn.net","in-vpn.org","biz.at","info.at","info.cx","ac.leg.br","al.leg.br","am.leg.br","ap.leg.br","ba.leg.br","ce.leg.br","df.leg.br","es.leg.br","go.leg.br","ma.leg.br","mg.leg.br","ms.leg.br","mt.leg.br","pa.leg.br","pb.leg.br","pe.leg.br","pi.leg.br","pr.leg.br","rj.leg.br","rn.leg.br","ro.leg.br","rr.leg.br","rs.leg.br","sc.leg.br","se.leg.br","sp.leg.br","to.leg.br","pixolino.com","ipifony.net","mein-iserv.de","test-iserv.de","iserv.dev","iobb.net","myjino.ru","*.hosting.myjino.ru","*.landing.myjino.ru","*.spectrum.myjino.ru","*.vps.myjino.ru","*.triton.zone","*.cns.joyent.com","js.org","kaas.gg","khplay.nl","keymachine.de","kinghost.net","uni5.net","knightpoint.systems","oya.to","co.krd","edu.krd","git-repos.de","lcube-server.de","svn-repos.de","leadpages.co","lpages.co","lpusercontent.com","lelux.site","co.business","co.education","co.events","co.financial","co.network","co.place","co.technology","app.lmpm.com","linkitools.space","linkyard.cloud","linkyard-cloud.ch","members.linode.com","nodebalancer.linode.com","we.bs","loginline.app","loginline.dev","loginline.io","loginline.services","loginline.site","krasnik.pl","leczna.pl","lubartow.pl","lublin.pl","poniatowa.pl","swidnik.pl","uklugs.org","glug.org.uk","lug.org.uk","lugs.org.uk","barsy.bg","barsy.co.uk","barsyonline.co.uk","barsycenter.com","barsyonline.com","barsy.club","barsy.de","barsy.eu","barsy.in","barsy.info","barsy.io","barsy.me","barsy.menu","barsy.mobi","barsy.net","barsy.online","barsy.org","barsy.pro","barsy.pub","barsy.shop","barsy.site","barsy.support","barsy.uk","*.magentosite.cloud","mayfirst.info","mayfirst.org","hb.cldmail.ru","miniserver.com","memset.net","cloud.metacentrum.cz","custom.metacentrum.cz","flt.cloud.muni.cz","usr.cloud.muni.cz","meteorapp.com","eu.meteorapp.com","co.pl","azurecontainer.io","azurewebsites.net","azure-mobile.net","cloudapp.net","mozilla-iot.org","bmoattachments.org","net.ru","org.ru","pp.ru","ui.nabu.casa","pony.club","of.fashion","on.fashion","of.football","in.london","of.london","for.men","and.mom","for.mom","for.one","for.sale","of.work","to.work","nctu.me","bitballoon.com","netlify.com","4u.com","ngrok.io","nh-serv.co.uk","nfshost.com","dnsking.ch","mypi.co","n4t.co","001www.com","ddnslive.com","myiphost.com","forumz.info","16-b.it","32-b.it","64-b.it","soundcast.me","tcp4.me","dnsup.net","hicam.net","now-dns.net","ownip.net","vpndns.net","dynserv.org","now-dns.org","x443.pw","now-dns.top","ntdll.top","freeddns.us","crafting.xyz","zapto.xyz","nsupdate.info","nerdpol.ovh","blogsyte.com","brasilia.me","cable-modem.org","ciscofreak.com","collegefan.org","couchpotatofries.org","damnserver.com","ddns.me","ditchyourip.com","dnsfor.me","dnsiskinky.com","dvrcam.info","dynns.com","eating-organic.net","fantasyleague.cc","geekgalaxy.com","golffan.us","health-carereform.com","homesecuritymac.com","homesecuritypc.com","hopto.me","ilovecollege.info","loginto.me","mlbfan.org","mmafan.biz","myactivedirectory.com","mydissent.net","myeffect.net","mymediapc.net","mypsx.net","mysecuritycamera.com","mysecuritycamera.net","mysecuritycamera.org","net-freaks.com","nflfan.org","nhlfan.net","no-ip.ca","no-ip.co.uk","no-ip.net","noip.us","onthewifi.com","pgafan.net","point2this.com","pointto.us","privatizehealthinsurance.net","quicksytes.com","read-books.org","securitytactics.com","serveexchange.com","servehumour.com","servep2p.com","servesarcasm.com","stufftoread.com","ufcfan.org","unusualperson.com","workisboring.com","3utilities.com","bounceme.net","ddns.net","ddnsking.com","gotdns.ch","hopto.org","myftp.biz","myftp.org","myvnc.com","no-ip.biz","no-ip.info","no-ip.org","noip.me","redirectme.net","servebeer.com","serveblog.net","servecounterstrike.com","serveftp.com","servegame.com","servehalflife.com","servehttp.com","serveirc.com","serveminecraft.net","servemp3.com","servepics.com","servequake.com","sytes.net","webhop.me","zapto.org","stage.nodeart.io","nodum.co","nodum.io","pcloud.host","nyc.mn","nom.ae","nom.af","nom.ai","nom.al","nym.by","nom.bz","nym.bz","nom.cl","nym.ec","nom.gd","nom.ge","nom.gl","nym.gr","nom.gt","nym.gy","nym.hk","nom.hn","nym.ie","nom.im","nom.ke","nym.kz","nym.la","nym.lc","nom.li","nym.li","nym.lt","nym.lu","nom.lv","nym.me","nom.mk","nym.mn","nym.mx","nom.nu","nym.nz","nym.pe","nym.pt","nom.pw","nom.qa","nym.ro","nom.rs","nom.si","nym.sk","nom.st","nym.su","nym.sx","nom.tj","nym.tw","nom.ug","nom.uy","nom.vc","nom.vg","static.observableusercontent.com","cya.gg","cloudycluster.net","nid.io","opencraft.hosting","operaunite.com","skygearapp.com","outsystemscloud.com","ownprovider.com","own.pm","ox.rs","oy.lc","pgfog.com","pagefrontapp.com","art.pl","gliwice.pl","krakow.pl","poznan.pl","wroc.pl","zakopane.pl","pantheonsite.io","gotpantheon.com","mypep.link","perspecta.cloud","on-web.fr","*.platform.sh","*.platformsh.site","dyn53.io","co.bn","xen.prgmr.com","priv.at","prvcy.page","*.dweb.link","protonet.io","chirurgiens-dentistes-en-france.fr","byen.site","pubtls.org","qualifioapp.com","qbuser.com","instantcloud.cn","ras.ru","qa2.com","qcx.io","*.sys.qcx.io","dev-myqnapcloud.com","alpha-myqnapcloud.com","myqnapcloud.com","*.quipelements.com","vapor.cloud","vaporcloud.io","rackmaze.com","rackmaze.net","*.on-k3s.io","*.on-rancher.cloud","*.on-rio.io","readthedocs.io","rhcloud.com","app.render.com","onrender.com","repl.co","repl.run","resindevice.io","devices.resinstaging.io","hzc.io","wellbeingzone.eu","ptplus.fit","wellbeingzone.co.uk","git-pages.rit.edu","sandcats.io","logoip.de","logoip.com","schokokeks.net","gov.scot","scrysec.com","firewall-gateway.com","firewall-gateway.de","my-gateway.de","my-router.de","spdns.de","spdns.eu","firewall-gateway.net","my-firewall.org","myfirewall.org","spdns.org","senseering.net","biz.ua","co.ua","pp.ua","shiftedit.io","myshopblocks.com","shopitsite.com","mo-siemens.io","1kapp.com","appchizi.com","applinzi.com","sinaapp.com","vipsinaapp.com","siteleaf.net","bounty-full.com","alpha.bounty-full.com","beta.bounty-full.com","stackhero-network.com","static.land","dev.static.land","sites.static.land","apps.lair.io","*.stolos.io","spacekit.io","customer.speedpartner.de","api.stdlib.com","storj.farm","utwente.io","soc.srcf.net","user.srcf.net","temp-dns.com","applicationcloud.io","scapp.io","*.s5y.io","*.sensiosite.cloud","syncloud.it","diskstation.me","dscloud.biz","dscloud.me","dscloud.mobi","dsmynas.com","dsmynas.net","dsmynas.org","familyds.com","familyds.net","familyds.org","i234.me","myds.me","synology.me","vpnplus.to","direct.quickconnect.to","taifun-dns.de","gda.pl","gdansk.pl","gdynia.pl","med.pl","sopot.pl","edugit.org","telebit.app","telebit.io","*.telebit.xyz","gwiddle.co.uk","thingdustdata.com","cust.dev.thingdust.io","cust.disrec.thingdust.io","cust.prod.thingdust.io","cust.testing.thingdust.io","arvo.network","azimuth.network","bloxcms.com","townnews-staging.com","12hp.at","2ix.at","4lima.at","lima-city.at","12hp.ch","2ix.ch","4lima.ch","lima-city.ch","trafficplex.cloud","de.cool","12hp.de","2ix.de","4lima.de","lima-city.de","1337.pictures","clan.rip","lima-city.rocks","webspace.rocks","lima.zone","*.transurl.be","*.transurl.eu","*.transurl.nl","tuxfamily.org","dd-dns.de","diskstation.eu","diskstation.org","dray-dns.de","draydns.de","dyn-vpn.de","dynvpn.de","mein-vigor.de","my-vigor.de","my-wan.de","syno-ds.de","synology-diskstation.de","synology-ds.de","uber.space","*.uberspace.de","hk.com","hk.org","ltd.hk","inc.hk","virtualuser.de","virtual-user.de","urown.cloud","dnsupdate.info","lib.de.us","2038.io","router.management","v-info.info","voorloper.cloud","v.ua","wafflecell.com","*.webhare.dev","wedeploy.io","wedeploy.me","wedeploy.sh","remotewd.com","wmflabs.org","myforum.community","community-pro.de","diskussionsbereich.de","community-pro.net","meinforum.net","half.host","xnbay.com","u2.xnbay.com","u2-local.xnbay.com","cistron.nl","demon.nl","xs4all.space","yandexcloud.net","storage.yandexcloud.net","website.yandexcloud.net","official.academy","yolasite.com","ybo.faith","yombo.me","homelink.one","ybo.party","ybo.review","ybo.science","ybo.trade","nohost.me","noho.st","za.net","za.org","now.sh","bss.design","basicserver.io","virtualserver.io","enterprisecloud.nu"]')},72020:function(module){module.exports=JSON.parse('[[[0,44],4],[[45,46],2],[47,4],[[48,57],2],[[58,64],4],[65,1,"a"],[66,1,"b"],[67,1,"c"],[68,1,"d"],[69,1,"e"],[70,1,"f"],[71,1,"g"],[72,1,"h"],[73,1,"i"],[74,1,"j"],[75,1,"k"],[76,1,"l"],[77,1,"m"],[78,1,"n"],[79,1,"o"],[80,1,"p"],[81,1,"q"],[82,1,"r"],[83,1,"s"],[84,1,"t"],[85,1,"u"],[86,1,"v"],[87,1,"w"],[88,1,"x"],[89,1,"y"],[90,1,"z"],[[91,96],4],[[97,122],2],[[123,127],4],[[128,159],3],[160,5," "],[[161,167],2],[168,5," ̈"],[169,2],[170,1,"a"],[[171,172],2],[173,7],[174,2],[175,5," ̄"],[[176,177],2],[178,1,"2"],[179,1,"3"],[180,5," ́"],[181,1,"μ"],[182,2],[183,2],[184,5," ̧"],[185,1,"1"],[186,1,"o"],[187,2],[188,1,"1⁄4"],[189,1,"1⁄2"],[190,1,"3⁄4"],[191,2],[192,1,"à"],[193,1,"á"],[194,1,"â"],[195,1,"ã"],[196,1,"ä"],[197,1,"å"],[198,1,"æ"],[199,1,"ç"],[200,1,"è"],[201,1,"é"],[202,1,"ê"],[203,1,"ë"],[204,1,"ì"],[205,1,"í"],[206,1,"î"],[207,1,"ï"],[208,1,"ð"],[209,1,"ñ"],[210,1,"ò"],[211,1,"ó"],[212,1,"ô"],[213,1,"õ"],[214,1,"ö"],[215,2],[216,1,"ø"],[217,1,"ù"],[218,1,"ú"],[219,1,"û"],[220,1,"ü"],[221,1,"ý"],[222,1,"þ"],[223,6,"ss"],[[224,246],2],[247,2],[[248,255],2],[256,1,"ā"],[257,2],[258,1,"ă"],[259,2],[260,1,"ą"],[261,2],[262,1,"ć"],[263,2],[264,1,"ĉ"],[265,2],[266,1,"ċ"],[267,2],[268,1,"č"],[269,2],[270,1,"ď"],[271,2],[272,1,"đ"],[273,2],[274,1,"ē"],[275,2],[276,1,"ĕ"],[277,2],[278,1,"ė"],[279,2],[280,1,"ę"],[281,2],[282,1,"ě"],[283,2],[284,1,"ĝ"],[285,2],[286,1,"ğ"],[287,2],[288,1,"ġ"],[289,2],[290,1,"ģ"],[291,2],[292,1,"ĥ"],[293,2],[294,1,"ħ"],[295,2],[296,1,"ĩ"],[297,2],[298,1,"ī"],[299,2],[300,1,"ĭ"],[301,2],[302,1,"į"],[303,2],[304,1,"i̇"],[305,2],[[306,307],1,"ij"],[308,1,"ĵ"],[309,2],[310,1,"ķ"],[[311,312],2],[313,1,"ĺ"],[314,2],[315,1,"ļ"],[316,2],[317,1,"ľ"],[318,2],[[319,320],1,"l·"],[321,1,"ł"],[322,2],[323,1,"ń"],[324,2],[325,1,"ņ"],[326,2],[327,1,"ň"],[328,2],[329,1,"ʼn"],[330,1,"ŋ"],[331,2],[332,1,"ō"],[333,2],[334,1,"ŏ"],[335,2],[336,1,"ő"],[337,2],[338,1,"œ"],[339,2],[340,1,"ŕ"],[341,2],[342,1,"ŗ"],[343,2],[344,1,"ř"],[345,2],[346,1,"ś"],[347,2],[348,1,"ŝ"],[349,2],[350,1,"ş"],[351,2],[352,1,"š"],[353,2],[354,1,"ţ"],[355,2],[356,1,"ť"],[357,2],[358,1,"ŧ"],[359,2],[360,1,"ũ"],[361,2],[362,1,"ū"],[363,2],[364,1,"ŭ"],[365,2],[366,1,"ů"],[367,2],[368,1,"ű"],[369,2],[370,1,"ų"],[371,2],[372,1,"ŵ"],[373,2],[374,1,"ŷ"],[375,2],[376,1,"ÿ"],[377,1,"ź"],[378,2],[379,1,"ż"],[380,2],[381,1,"ž"],[382,2],[383,1,"s"],[384,2],[385,1,"ɓ"],[386,1,"ƃ"],[387,2],[388,1,"ƅ"],[389,2],[390,1,"ɔ"],[391,1,"ƈ"],[392,2],[393,1,"ɖ"],[394,1,"ɗ"],[395,1,"ƌ"],[[396,397],2],[398,1,"ǝ"],[399,1,"ə"],[400,1,"ɛ"],[401,1,"ƒ"],[402,2],[403,1,"ɠ"],[404,1,"ɣ"],[405,2],[406,1,"ɩ"],[407,1,"ɨ"],[408,1,"ƙ"],[[409,411],2],[412,1,"ɯ"],[413,1,"ɲ"],[414,2],[415,1,"ɵ"],[416,1,"ơ"],[417,2],[418,1,"ƣ"],[419,2],[420,1,"ƥ"],[421,2],[422,1,"ʀ"],[423,1,"ƨ"],[424,2],[425,1,"ʃ"],[[426,427],2],[428,1,"ƭ"],[429,2],[430,1,"ʈ"],[431,1,"ư"],[432,2],[433,1,"ʊ"],[434,1,"ʋ"],[435,1,"ƴ"],[436,2],[437,1,"ƶ"],[438,2],[439,1,"ʒ"],[440,1,"ƹ"],[[441,443],2],[444,1,"ƽ"],[[445,451],2],[[452,454],1,"dž"],[[455,457],1,"lj"],[[458,460],1,"nj"],[461,1,"ǎ"],[462,2],[463,1,"ǐ"],[464,2],[465,1,"ǒ"],[466,2],[467,1,"ǔ"],[468,2],[469,1,"ǖ"],[470,2],[471,1,"ǘ"],[472,2],[473,1,"ǚ"],[474,2],[475,1,"ǜ"],[[476,477],2],[478,1,"ǟ"],[479,2],[480,1,"ǡ"],[481,2],[482,1,"ǣ"],[483,2],[484,1,"ǥ"],[485,2],[486,1,"ǧ"],[487,2],[488,1,"ǩ"],[489,2],[490,1,"ǫ"],[491,2],[492,1,"ǭ"],[493,2],[494,1,"ǯ"],[[495,496],2],[[497,499],1,"dz"],[500,1,"ǵ"],[501,2],[502,1,"ƕ"],[503,1,"ƿ"],[504,1,"ǹ"],[505,2],[506,1,"ǻ"],[507,2],[508,1,"ǽ"],[509,2],[510,1,"ǿ"],[511,2],[512,1,"ȁ"],[513,2],[514,1,"ȃ"],[515,2],[516,1,"ȅ"],[517,2],[518,1,"ȇ"],[519,2],[520,1,"ȉ"],[521,2],[522,1,"ȋ"],[523,2],[524,1,"ȍ"],[525,2],[526,1,"ȏ"],[527,2],[528,1,"ȑ"],[529,2],[530,1,"ȓ"],[531,2],[532,1,"ȕ"],[533,2],[534,1,"ȗ"],[535,2],[536,1,"ș"],[537,2],[538,1,"ț"],[539,2],[540,1,"ȝ"],[541,2],[542,1,"ȟ"],[543,2],[544,1,"ƞ"],[545,2],[546,1,"ȣ"],[547,2],[548,1,"ȥ"],[549,2],[550,1,"ȧ"],[551,2],[552,1,"ȩ"],[553,2],[554,1,"ȫ"],[555,2],[556,1,"ȭ"],[557,2],[558,1,"ȯ"],[559,2],[560,1,"ȱ"],[561,2],[562,1,"ȳ"],[563,2],[[564,566],2],[[567,569],2],[570,1,"ⱥ"],[571,1,"ȼ"],[572,2],[573,1,"ƚ"],[574,1,"ⱦ"],[[575,576],2],[577,1,"ɂ"],[578,2],[579,1,"ƀ"],[580,1,"ʉ"],[581,1,"ʌ"],[582,1,"ɇ"],[583,2],[584,1,"ɉ"],[585,2],[586,1,"ɋ"],[587,2],[588,1,"ɍ"],[589,2],[590,1,"ɏ"],[591,2],[[592,680],2],[[681,685],2],[[686,687],2],[688,1,"h"],[689,1,"ɦ"],[690,1,"j"],[691,1,"r"],[692,1,"ɹ"],[693,1,"ɻ"],[694,1,"ʁ"],[695,1,"w"],[696,1,"y"],[[697,705],2],[[706,709],2],[[710,721],2],[[722,727],2],[728,5," ̆"],[729,5," ̇"],[730,5," ̊"],[731,5," ̨"],[732,5," ̃"],[733,5," ̋"],[734,2],[735,2],[736,1,"ɣ"],[737,1,"l"],[738,1,"s"],[739,1,"x"],[740,1,"ʕ"],[[741,745],2],[[746,747],2],[748,2],[749,2],[750,2],[[751,767],2],[[768,831],2],[832,1,"̀"],[833,1,"́"],[834,2],[835,1,"̓"],[836,1,"̈́"],[837,1,"ι"],[[838,846],2],[847,7],[[848,855],2],[[856,860],2],[[861,863],2],[[864,865],2],[866,2],[[867,879],2],[880,1,"ͱ"],[881,2],[882,1,"ͳ"],[883,2],[884,1,"ʹ"],[885,2],[886,1,"ͷ"],[887,2],[[888,889],3],[890,5," ι"],[[891,893],2],[894,5,";"],[895,1,"ϳ"],[[896,899],3],[900,5," ́"],[901,5," ̈́"],[902,1,"ά"],[903,1,"·"],[904,1,"έ"],[905,1,"ή"],[906,1,"ί"],[907,3],[908,1,"ό"],[909,3],[910,1,"ύ"],[911,1,"ώ"],[912,2],[913,1,"α"],[914,1,"β"],[915,1,"γ"],[916,1,"δ"],[917,1,"ε"],[918,1,"ζ"],[919,1,"η"],[920,1,"θ"],[921,1,"ι"],[922,1,"κ"],[923,1,"λ"],[924,1,"μ"],[925,1,"ν"],[926,1,"ξ"],[927,1,"ο"],[928,1,"π"],[929,1,"ρ"],[930,3],[931,1,"σ"],[932,1,"τ"],[933,1,"υ"],[934,1,"φ"],[935,1,"χ"],[936,1,"ψ"],[937,1,"ω"],[938,1,"ϊ"],[939,1,"ϋ"],[[940,961],2],[962,6,"σ"],[[963,974],2],[975,1,"ϗ"],[976,1,"β"],[977,1,"θ"],[978,1,"υ"],[979,1,"ύ"],[980,1,"ϋ"],[981,1,"φ"],[982,1,"π"],[983,2],[984,1,"ϙ"],[985,2],[986,1,"ϛ"],[987,2],[988,1,"ϝ"],[989,2],[990,1,"ϟ"],[991,2],[992,1,"ϡ"],[993,2],[994,1,"ϣ"],[995,2],[996,1,"ϥ"],[997,2],[998,1,"ϧ"],[999,2],[1000,1,"ϩ"],[1001,2],[1002,1,"ϫ"],[1003,2],[1004,1,"ϭ"],[1005,2],[1006,1,"ϯ"],[1007,2],[1008,1,"κ"],[1009,1,"ρ"],[1010,1,"σ"],[1011,2],[1012,1,"θ"],[1013,1,"ε"],[1014,2],[1015,1,"ϸ"],[1016,2],[1017,1,"σ"],[1018,1,"ϻ"],[1019,2],[1020,2],[1021,1,"ͻ"],[1022,1,"ͼ"],[1023,1,"ͽ"],[1024,1,"ѐ"],[1025,1,"ё"],[1026,1,"ђ"],[1027,1,"ѓ"],[1028,1,"є"],[1029,1,"ѕ"],[1030,1,"і"],[1031,1,"ї"],[1032,1,"ј"],[1033,1,"љ"],[1034,1,"њ"],[1035,1,"ћ"],[1036,1,"ќ"],[1037,1,"ѝ"],[1038,1,"ў"],[1039,1,"џ"],[1040,1,"а"],[1041,1,"б"],[1042,1,"в"],[1043,1,"г"],[1044,1,"д"],[1045,1,"е"],[1046,1,"ж"],[1047,1,"з"],[1048,1,"и"],[1049,1,"й"],[1050,1,"к"],[1051,1,"л"],[1052,1,"м"],[1053,1,"н"],[1054,1,"о"],[1055,1,"п"],[1056,1,"р"],[1057,1,"с"],[1058,1,"т"],[1059,1,"у"],[1060,1,"ф"],[1061,1,"х"],[1062,1,"ц"],[1063,1,"ч"],[1064,1,"ш"],[1065,1,"щ"],[1066,1,"ъ"],[1067,1,"ы"],[1068,1,"ь"],[1069,1,"э"],[1070,1,"ю"],[1071,1,"я"],[[1072,1103],2],[1104,2],[[1105,1116],2],[1117,2],[[1118,1119],2],[1120,1,"ѡ"],[1121,2],[1122,1,"ѣ"],[1123,2],[1124,1,"ѥ"],[1125,2],[1126,1,"ѧ"],[1127,2],[1128,1,"ѩ"],[1129,2],[1130,1,"ѫ"],[1131,2],[1132,1,"ѭ"],[1133,2],[1134,1,"ѯ"],[1135,2],[1136,1,"ѱ"],[1137,2],[1138,1,"ѳ"],[1139,2],[1140,1,"ѵ"],[1141,2],[1142,1,"ѷ"],[1143,2],[1144,1,"ѹ"],[1145,2],[1146,1,"ѻ"],[1147,2],[1148,1,"ѽ"],[1149,2],[1150,1,"ѿ"],[1151,2],[1152,1,"ҁ"],[1153,2],[1154,2],[[1155,1158],2],[1159,2],[[1160,1161],2],[1162,1,"ҋ"],[1163,2],[1164,1,"ҍ"],[1165,2],[1166,1,"ҏ"],[1167,2],[1168,1,"ґ"],[1169,2],[1170,1,"ғ"],[1171,2],[1172,1,"ҕ"],[1173,2],[1174,1,"җ"],[1175,2],[1176,1,"ҙ"],[1177,2],[1178,1,"қ"],[1179,2],[1180,1,"ҝ"],[1181,2],[1182,1,"ҟ"],[1183,2],[1184,1,"ҡ"],[1185,2],[1186,1,"ң"],[1187,2],[1188,1,"ҥ"],[1189,2],[1190,1,"ҧ"],[1191,2],[1192,1,"ҩ"],[1193,2],[1194,1,"ҫ"],[1195,2],[1196,1,"ҭ"],[1197,2],[1198,1,"ү"],[1199,2],[1200,1,"ұ"],[1201,2],[1202,1,"ҳ"],[1203,2],[1204,1,"ҵ"],[1205,2],[1206,1,"ҷ"],[1207,2],[1208,1,"ҹ"],[1209,2],[1210,1,"һ"],[1211,2],[1212,1,"ҽ"],[1213,2],[1214,1,"ҿ"],[1215,2],[1216,3],[1217,1,"ӂ"],[1218,2],[1219,1,"ӄ"],[1220,2],[1221,1,"ӆ"],[1222,2],[1223,1,"ӈ"],[1224,2],[1225,1,"ӊ"],[1226,2],[1227,1,"ӌ"],[1228,2],[1229,1,"ӎ"],[1230,2],[1231,2],[1232,1,"ӑ"],[1233,2],[1234,1,"ӓ"],[1235,2],[1236,1,"ӕ"],[1237,2],[1238,1,"ӗ"],[1239,2],[1240,1,"ә"],[1241,2],[1242,1,"ӛ"],[1243,2],[1244,1,"ӝ"],[1245,2],[1246,1,"ӟ"],[1247,2],[1248,1,"ӡ"],[1249,2],[1250,1,"ӣ"],[1251,2],[1252,1,"ӥ"],[1253,2],[1254,1,"ӧ"],[1255,2],[1256,1,"ө"],[1257,2],[1258,1,"ӫ"],[1259,2],[1260,1,"ӭ"],[1261,2],[1262,1,"ӯ"],[1263,2],[1264,1,"ӱ"],[1265,2],[1266,1,"ӳ"],[1267,2],[1268,1,"ӵ"],[1269,2],[1270,1,"ӷ"],[1271,2],[1272,1,"ӹ"],[1273,2],[1274,1,"ӻ"],[1275,2],[1276,1,"ӽ"],[1277,2],[1278,1,"ӿ"],[1279,2],[1280,1,"ԁ"],[1281,2],[1282,1,"ԃ"],[1283,2],[1284,1,"ԅ"],[1285,2],[1286,1,"ԇ"],[1287,2],[1288,1,"ԉ"],[1289,2],[1290,1,"ԋ"],[1291,2],[1292,1,"ԍ"],[1293,2],[1294,1,"ԏ"],[1295,2],[1296,1,"ԑ"],[1297,2],[1298,1,"ԓ"],[1299,2],[1300,1,"ԕ"],[1301,2],[1302,1,"ԗ"],[1303,2],[1304,1,"ԙ"],[1305,2],[1306,1,"ԛ"],[1307,2],[1308,1,"ԝ"],[1309,2],[1310,1,"ԟ"],[1311,2],[1312,1,"ԡ"],[1313,2],[1314,1,"ԣ"],[1315,2],[1316,1,"ԥ"],[1317,2],[1318,1,"ԧ"],[1319,2],[1320,1,"ԩ"],[1321,2],[1322,1,"ԫ"],[1323,2],[1324,1,"ԭ"],[1325,2],[1326,1,"ԯ"],[1327,2],[1328,3],[1329,1,"ա"],[1330,1,"բ"],[1331,1,"գ"],[1332,1,"դ"],[1333,1,"ե"],[1334,1,"զ"],[1335,1,"է"],[1336,1,"ը"],[1337,1,"թ"],[1338,1,"ժ"],[1339,1,"ի"],[1340,1,"լ"],[1341,1,"խ"],[1342,1,"ծ"],[1343,1,"կ"],[1344,1,"հ"],[1345,1,"ձ"],[1346,1,"ղ"],[1347,1,"ճ"],[1348,1,"մ"],[1349,1,"յ"],[1350,1,"ն"],[1351,1,"շ"],[1352,1,"ո"],[1353,1,"չ"],[1354,1,"պ"],[1355,1,"ջ"],[1356,1,"ռ"],[1357,1,"ս"],[1358,1,"վ"],[1359,1,"տ"],[1360,1,"ր"],[1361,1,"ց"],[1362,1,"ւ"],[1363,1,"փ"],[1364,1,"ք"],[1365,1,"օ"],[1366,1,"ֆ"],[[1367,1368],3],[1369,2],[[1370,1375],2],[1376,2],[[1377,1414],2],[1415,1,"եւ"],[1416,2],[1417,2],[1418,2],[[1419,1420],3],[[1421,1422],2],[1423,2],[1424,3],[[1425,1441],2],[1442,2],[[1443,1455],2],[[1456,1465],2],[1466,2],[[1467,1469],2],[1470,2],[1471,2],[1472,2],[[1473,1474],2],[1475,2],[1476,2],[1477,2],[1478,2],[1479,2],[[1480,1487],3],[[1488,1514],2],[[1515,1518],3],[1519,2],[[1520,1524],2],[[1525,1535],3],[[1536,1539],3],[1540,3],[1541,3],[[1542,1546],2],[1547,2],[1548,2],[[1549,1551],2],[[1552,1557],2],[[1558,1562],2],[1563,2],[1564,3],[1565,2],[1566,2],[1567,2],[1568,2],[[1569,1594],2],[[1595,1599],2],[1600,2],[[1601,1618],2],[[1619,1621],2],[[1622,1624],2],[[1625,1630],2],[1631,2],[[1632,1641],2],[[1642,1645],2],[[1646,1647],2],[[1648,1652],2],[1653,1,"اٴ"],[1654,1,"وٴ"],[1655,1,"ۇٴ"],[1656,1,"يٴ"],[[1657,1719],2],[[1720,1721],2],[[1722,1726],2],[1727,2],[[1728,1742],2],[1743,2],[[1744,1747],2],[1748,2],[[1749,1756],2],[1757,3],[1758,2],[[1759,1768],2],[1769,2],[[1770,1773],2],[[1774,1775],2],[[1776,1785],2],[[1786,1790],2],[1791,2],[[1792,1805],2],[1806,3],[1807,3],[[1808,1836],2],[[1837,1839],2],[[1840,1866],2],[[1867,1868],3],[[1869,1871],2],[[1872,1901],2],[[1902,1919],2],[[1920,1968],2],[1969,2],[[1970,1983],3],[[1984,2037],2],[[2038,2042],2],[[2043,2044],3],[2045,2],[[2046,2047],2],[[2048,2093],2],[[2094,2095],3],[[2096,2110],2],[2111,3],[[2112,2139],2],[[2140,2141],3],[2142,2],[2143,3],[[2144,2154],2],[[2155,2159],3],[[2160,2183],2],[2184,2],[[2185,2190],2],[2191,3],[[2192,2193],3],[[2194,2199],3],[[2200,2207],2],[2208,2],[2209,2],[[2210,2220],2],[[2221,2226],2],[[2227,2228],2],[2229,2],[[2230,2237],2],[[2238,2247],2],[[2248,2258],2],[2259,2],[[2260,2273],2],[2274,3],[2275,2],[[2276,2302],2],[2303,2],[2304,2],[[2305,2307],2],[2308,2],[[2309,2361],2],[[2362,2363],2],[[2364,2381],2],[2382,2],[2383,2],[[2384,2388],2],[2389,2],[[2390,2391],2],[2392,1,"क़"],[2393,1,"ख़"],[2394,1,"ग़"],[2395,1,"ज़"],[2396,1,"ड़"],[2397,1,"ढ़"],[2398,1,"फ़"],[2399,1,"य़"],[[2400,2403],2],[[2404,2405],2],[[2406,2415],2],[2416,2],[[2417,2418],2],[[2419,2423],2],[2424,2],[[2425,2426],2],[[2427,2428],2],[2429,2],[[2430,2431],2],[2432,2],[[2433,2435],2],[2436,3],[[2437,2444],2],[[2445,2446],3],[[2447,2448],2],[[2449,2450],3],[[2451,2472],2],[2473,3],[[2474,2480],2],[2481,3],[2482,2],[[2483,2485],3],[[2486,2489],2],[[2490,2491],3],[2492,2],[2493,2],[[2494,2500],2],[[2501,2502],3],[[2503,2504],2],[[2505,2506],3],[[2507,2509],2],[2510,2],[[2511,2518],3],[2519,2],[[2520,2523],3],[2524,1,"ড়"],[2525,1,"ঢ়"],[2526,3],[2527,1,"য়"],[[2528,2531],2],[[2532,2533],3],[[2534,2545],2],[[2546,2554],2],[2555,2],[2556,2],[2557,2],[2558,2],[[2559,2560],3],[2561,2],[2562,2],[2563,2],[2564,3],[[2565,2570],2],[[2571,2574],3],[[2575,2576],2],[[2577,2578],3],[[2579,2600],2],[2601,3],[[2602,2608],2],[2609,3],[2610,2],[2611,1,"ਲ਼"],[2612,3],[2613,2],[2614,1,"ਸ਼"],[2615,3],[[2616,2617],2],[[2618,2619],3],[2620,2],[2621,3],[[2622,2626],2],[[2627,2630],3],[[2631,2632],2],[[2633,2634],3],[[2635,2637],2],[[2638,2640],3],[2641,2],[[2642,2648],3],[2649,1,"ਖ਼"],[2650,1,"ਗ਼"],[2651,1,"ਜ਼"],[2652,2],[2653,3],[2654,1,"ਫ਼"],[[2655,2661],3],[[2662,2676],2],[2677,2],[2678,2],[[2679,2688],3],[[2689,2691],2],[2692,3],[[2693,2699],2],[2700,2],[2701,2],[2702,3],[[2703,2705],2],[2706,3],[[2707,2728],2],[2729,3],[[2730,2736],2],[2737,3],[[2738,2739],2],[2740,3],[[2741,2745],2],[[2746,2747],3],[[2748,2757],2],[2758,3],[[2759,2761],2],[2762,3],[[2763,2765],2],[[2766,2767],3],[2768,2],[[2769,2783],3],[2784,2],[[2785,2787],2],[[2788,2789],3],[[2790,2799],2],[2800,2],[2801,2],[[2802,2808],3],[2809,2],[[2810,2815],2],[2816,3],[[2817,2819],2],[2820,3],[[2821,2828],2],[[2829,2830],3],[[2831,2832],2],[[2833,2834],3],[[2835,2856],2],[2857,3],[[2858,2864],2],[2865,3],[[2866,2867],2],[2868,3],[2869,2],[[2870,2873],2],[[2874,2875],3],[[2876,2883],2],[2884,2],[[2885,2886],3],[[2887,2888],2],[[2889,2890],3],[[2891,2893],2],[[2894,2900],3],[2901,2],[[2902,2903],2],[[2904,2907],3],[2908,1,"ଡ଼"],[2909,1,"ଢ଼"],[2910,3],[[2911,2913],2],[[2914,2915],2],[[2916,2917],3],[[2918,2927],2],[2928,2],[2929,2],[[2930,2935],2],[[2936,2945],3],[[2946,2947],2],[2948,3],[[2949,2954],2],[[2955,2957],3],[[2958,2960],2],[2961,3],[[2962,2965],2],[[2966,2968],3],[[2969,2970],2],[2971,3],[2972,2],[2973,3],[[2974,2975],2],[[2976,2978],3],[[2979,2980],2],[[2981,2983],3],[[2984,2986],2],[[2987,2989],3],[[2990,2997],2],[2998,2],[[2999,3001],2],[[3002,3005],3],[[3006,3010],2],[[3011,3013],3],[[3014,3016],2],[3017,3],[[3018,3021],2],[[3022,3023],3],[3024,2],[[3025,3030],3],[3031,2],[[3032,3045],3],[3046,2],[[3047,3055],2],[[3056,3058],2],[[3059,3066],2],[[3067,3071],3],[3072,2],[[3073,3075],2],[3076,2],[[3077,3084],2],[3085,3],[[3086,3088],2],[3089,3],[[3090,3112],2],[3113,3],[[3114,3123],2],[3124,2],[[3125,3129],2],[[3130,3131],3],[3132,2],[3133,2],[[3134,3140],2],[3141,3],[[3142,3144],2],[3145,3],[[3146,3149],2],[[3150,3156],3],[[3157,3158],2],[3159,3],[[3160,3161],2],[3162,2],[[3163,3164],3],[3165,2],[[3166,3167],3],[[3168,3169],2],[[3170,3171],2],[[3172,3173],3],[[3174,3183],2],[[3184,3190],3],[3191,2],[[3192,3199],2],[3200,2],[3201,2],[[3202,3203],2],[3204,2],[[3205,3212],2],[3213,3],[[3214,3216],2],[3217,3],[[3218,3240],2],[3241,3],[[3242,3251],2],[3252,3],[[3253,3257],2],[[3258,3259],3],[[3260,3261],2],[[3262,3268],2],[3269,3],[[3270,3272],2],[3273,3],[[3274,3277],2],[[3278,3284],3],[[3285,3286],2],[[3287,3292],3],[3293,2],[3294,2],[3295,3],[[3296,3297],2],[[3298,3299],2],[[3300,3301],3],[[3302,3311],2],[3312,3],[[3313,3314],2],[[3315,3327],3],[3328,2],[3329,2],[[3330,3331],2],[3332,2],[[3333,3340],2],[3341,3],[[3342,3344],2],[3345,3],[[3346,3368],2],[3369,2],[[3370,3385],2],[3386,2],[[3387,3388],2],[3389,2],[[3390,3395],2],[3396,2],[3397,3],[[3398,3400],2],[3401,3],[[3402,3405],2],[3406,2],[3407,2],[[3408,3411],3],[[3412,3414],2],[3415,2],[[3416,3422],2],[3423,2],[[3424,3425],2],[[3426,3427],2],[[3428,3429],3],[[3430,3439],2],[[3440,3445],2],[[3446,3448],2],[3449,2],[[3450,3455],2],[3456,3],[3457,2],[[3458,3459],2],[3460,3],[[3461,3478],2],[[3479,3481],3],[[3482,3505],2],[3506,3],[[3507,3515],2],[3516,3],[3517,2],[[3518,3519],3],[[3520,3526],2],[[3527,3529],3],[3530,2],[[3531,3534],3],[[3535,3540],2],[3541,3],[3542,2],[3543,3],[[3544,3551],2],[[3552,3557],3],[[3558,3567],2],[[3568,3569],3],[[3570,3571],2],[3572,2],[[3573,3584],3],[[3585,3634],2],[3635,1,"ํา"],[[3636,3642],2],[[3643,3646],3],[3647,2],[[3648,3662],2],[3663,2],[[3664,3673],2],[[3674,3675],2],[[3676,3712],3],[[3713,3714],2],[3715,3],[3716,2],[3717,3],[3718,2],[[3719,3720],2],[3721,2],[3722,2],[3723,3],[3724,2],[3725,2],[[3726,3731],2],[[3732,3735],2],[3736,2],[[3737,3743],2],[3744,2],[[3745,3747],2],[3748,3],[3749,2],[3750,3],[3751,2],[[3752,3753],2],[[3754,3755],2],[3756,2],[[3757,3762],2],[3763,1,"ໍາ"],[[3764,3769],2],[3770,2],[[3771,3773],2],[[3774,3775],3],[[3776,3780],2],[3781,3],[3782,2],[3783,3],[[3784,3789],2],[[3790,3791],3],[[3792,3801],2],[[3802,3803],3],[3804,1,"ຫນ"],[3805,1,"ຫມ"],[[3806,3807],2],[[3808,3839],3],[3840,2],[[3841,3850],2],[3851,2],[3852,1,"་"],[[3853,3863],2],[[3864,3865],2],[[3866,3871],2],[[3872,3881],2],[[3882,3892],2],[3893,2],[3894,2],[3895,2],[3896,2],[3897,2],[[3898,3901],2],[[3902,3906],2],[3907,1,"གྷ"],[[3908,3911],2],[3912,3],[[3913,3916],2],[3917,1,"ཌྷ"],[[3918,3921],2],[3922,1,"དྷ"],[[3923,3926],2],[3927,1,"བྷ"],[[3928,3931],2],[3932,1,"ཛྷ"],[[3933,3944],2],[3945,1,"ཀྵ"],[3946,2],[[3947,3948],2],[[3949,3952],3],[[3953,3954],2],[3955,1,"ཱི"],[3956,2],[3957,1,"ཱུ"],[3958,1,"ྲྀ"],[3959,1,"ྲཱྀ"],[3960,1,"ླྀ"],[3961,1,"ླཱྀ"],[[3962,3968],2],[3969,1,"ཱྀ"],[[3970,3972],2],[3973,2],[[3974,3979],2],[[3980,3983],2],[[3984,3986],2],[3987,1,"ྒྷ"],[[3988,3989],2],[3990,2],[3991,2],[3992,3],[[3993,3996],2],[3997,1,"ྜྷ"],[[3998,4001],2],[4002,1,"ྡྷ"],[[4003,4006],2],[4007,1,"ྦྷ"],[[4008,4011],2],[4012,1,"ྫྷ"],[4013,2],[[4014,4016],2],[[4017,4023],2],[4024,2],[4025,1,"ྐྵ"],[[4026,4028],2],[4029,3],[[4030,4037],2],[4038,2],[[4039,4044],2],[4045,3],[4046,2],[4047,2],[[4048,4049],2],[[4050,4052],2],[[4053,4056],2],[[4057,4058],2],[[4059,4095],3],[[4096,4129],2],[4130,2],[[4131,4135],2],[4136,2],[[4137,4138],2],[4139,2],[[4140,4146],2],[[4147,4149],2],[[4150,4153],2],[[4154,4159],2],[[4160,4169],2],[[4170,4175],2],[[4176,4185],2],[[4186,4249],2],[[4250,4253],2],[[4254,4255],2],[[4256,4293],3],[4294,3],[4295,1,"ⴧ"],[[4296,4300],3],[4301,1,"ⴭ"],[[4302,4303],3],[[4304,4342],2],[[4343,4344],2],[[4345,4346],2],[4347,2],[4348,1,"ნ"],[[4349,4351],2],[[4352,4441],2],[[4442,4446],2],[[4447,4448],3],[[4449,4514],2],[[4515,4519],2],[[4520,4601],2],[[4602,4607],2],[[4608,4614],2],[4615,2],[[4616,4678],2],[4679,2],[4680,2],[4681,3],[[4682,4685],2],[[4686,4687],3],[[4688,4694],2],[4695,3],[4696,2],[4697,3],[[4698,4701],2],[[4702,4703],3],[[4704,4742],2],[4743,2],[4744,2],[4745,3],[[4746,4749],2],[[4750,4751],3],[[4752,4782],2],[4783,2],[4784,2],[4785,3],[[4786,4789],2],[[4790,4791],3],[[4792,4798],2],[4799,3],[4800,2],[4801,3],[[4802,4805],2],[[4806,4807],3],[[4808,4814],2],[4815,2],[[4816,4822],2],[4823,3],[[4824,4846],2],[4847,2],[[4848,4878],2],[4879,2],[4880,2],[4881,3],[[4882,4885],2],[[4886,4887],3],[[4888,4894],2],[4895,2],[[4896,4934],2],[4935,2],[[4936,4954],2],[[4955,4956],3],[[4957,4958],2],[4959,2],[4960,2],[[4961,4988],2],[[4989,4991],3],[[4992,5007],2],[[5008,5017],2],[[5018,5023],3],[[5024,5108],2],[5109,2],[[5110,5111],3],[5112,1,"Ᏸ"],[5113,1,"Ᏹ"],[5114,1,"Ᏺ"],[5115,1,"Ᏻ"],[5116,1,"Ᏼ"],[5117,1,"Ᏽ"],[[5118,5119],3],[5120,2],[[5121,5740],2],[[5741,5742],2],[[5743,5750],2],[[5751,5759],2],[5760,3],[[5761,5786],2],[[5787,5788],2],[[5789,5791],3],[[5792,5866],2],[[5867,5872],2],[[5873,5880],2],[[5881,5887],3],[[5888,5900],2],[5901,2],[[5902,5908],2],[5909,2],[[5910,5918],3],[5919,2],[[5920,5940],2],[[5941,5942],2],[[5943,5951],3],[[5952,5971],2],[[5972,5983],3],[[5984,5996],2],[5997,3],[[5998,6000],2],[6001,3],[[6002,6003],2],[[6004,6015],3],[[6016,6067],2],[[6068,6069],3],[[6070,6099],2],[[6100,6102],2],[6103,2],[[6104,6107],2],[6108,2],[6109,2],[[6110,6111],3],[[6112,6121],2],[[6122,6127],3],[[6128,6137],2],[[6138,6143],3],[[6144,6149],2],[6150,3],[[6151,6154],2],[[6155,6157],7],[6158,3],[6159,7],[[6160,6169],2],[[6170,6175],3],[[6176,6263],2],[6264,2],[[6265,6271],3],[[6272,6313],2],[6314,2],[[6315,6319],3],[[6320,6389],2],[[6390,6399],3],[[6400,6428],2],[[6429,6430],2],[6431,3],[[6432,6443],2],[[6444,6447],3],[[6448,6459],2],[[6460,6463],3],[6464,2],[[6465,6467],3],[[6468,6469],2],[[6470,6509],2],[[6510,6511],3],[[6512,6516],2],[[6517,6527],3],[[6528,6569],2],[[6570,6571],2],[[6572,6575],3],[[6576,6601],2],[[6602,6607],3],[[6608,6617],2],[6618,2],[[6619,6621],3],[[6622,6623],2],[[6624,6655],2],[[6656,6683],2],[[6684,6685],3],[[6686,6687],2],[[6688,6750],2],[6751,3],[[6752,6780],2],[[6781,6782],3],[[6783,6793],2],[[6794,6799],3],[[6800,6809],2],[[6810,6815],3],[[6816,6822],2],[6823,2],[[6824,6829],2],[[6830,6831],3],[[6832,6845],2],[6846,2],[[6847,6848],2],[[6849,6862],2],[[6863,6911],3],[[6912,6987],2],[6988,2],[[6989,6991],3],[[6992,7001],2],[[7002,7018],2],[[7019,7027],2],[[7028,7036],2],[[7037,7038],2],[7039,3],[[7040,7082],2],[[7083,7085],2],[[7086,7097],2],[[7098,7103],2],[[7104,7155],2],[[7156,7163],3],[[7164,7167],2],[[7168,7223],2],[[7224,7226],3],[[7227,7231],2],[[7232,7241],2],[[7242,7244],3],[[7245,7293],2],[[7294,7295],2],[7296,1,"в"],[7297,1,"д"],[7298,1,"о"],[7299,1,"с"],[[7300,7301],1,"т"],[7302,1,"ъ"],[7303,1,"ѣ"],[7304,1,"ꙋ"],[[7305,7311],3],[7312,1,"ა"],[7313,1,"ბ"],[7314,1,"გ"],[7315,1,"დ"],[7316,1,"ე"],[7317,1,"ვ"],[7318,1,"ზ"],[7319,1,"თ"],[7320,1,"ი"],[7321,1,"კ"],[7322,1,"ლ"],[7323,1,"მ"],[7324,1,"ნ"],[7325,1,"ო"],[7326,1,"პ"],[7327,1,"ჟ"],[7328,1,"რ"],[7329,1,"ს"],[7330,1,"ტ"],[7331,1,"უ"],[7332,1,"ფ"],[7333,1,"ქ"],[7334,1,"ღ"],[7335,1,"ყ"],[7336,1,"შ"],[7337,1,"ჩ"],[7338,1,"ც"],[7339,1,"ძ"],[7340,1,"წ"],[7341,1,"ჭ"],[7342,1,"ხ"],[7343,1,"ჯ"],[7344,1,"ჰ"],[7345,1,"ჱ"],[7346,1,"ჲ"],[7347,1,"ჳ"],[7348,1,"ჴ"],[7349,1,"ჵ"],[7350,1,"ჶ"],[7351,1,"ჷ"],[7352,1,"ჸ"],[7353,1,"ჹ"],[7354,1,"ჺ"],[[7355,7356],3],[7357,1,"ჽ"],[7358,1,"ჾ"],[7359,1,"ჿ"],[[7360,7367],2],[[7368,7375],3],[[7376,7378],2],[7379,2],[[7380,7410],2],[[7411,7414],2],[7415,2],[[7416,7417],2],[7418,2],[[7419,7423],3],[[7424,7467],2],[7468,1,"a"],[7469,1,"æ"],[7470,1,"b"],[7471,2],[7472,1,"d"],[7473,1,"e"],[7474,1,"ǝ"],[7475,1,"g"],[7476,1,"h"],[7477,1,"i"],[7478,1,"j"],[7479,1,"k"],[7480,1,"l"],[7481,1,"m"],[7482,1,"n"],[7483,2],[7484,1,"o"],[7485,1,"ȣ"],[7486,1,"p"],[7487,1,"r"],[7488,1,"t"],[7489,1,"u"],[7490,1,"w"],[7491,1,"a"],[7492,1,"ɐ"],[7493,1,"ɑ"],[7494,1,"ᴂ"],[7495,1,"b"],[7496,1,"d"],[7497,1,"e"],[7498,1,"ə"],[7499,1,"ɛ"],[7500,1,"ɜ"],[7501,1,"g"],[7502,2],[7503,1,"k"],[7504,1,"m"],[7505,1,"ŋ"],[7506,1,"o"],[7507,1,"ɔ"],[7508,1,"ᴖ"],[7509,1,"ᴗ"],[7510,1,"p"],[7511,1,"t"],[7512,1,"u"],[7513,1,"ᴝ"],[7514,1,"ɯ"],[7515,1,"v"],[7516,1,"ᴥ"],[7517,1,"β"],[7518,1,"γ"],[7519,1,"δ"],[7520,1,"φ"],[7521,1,"χ"],[7522,1,"i"],[7523,1,"r"],[7524,1,"u"],[7525,1,"v"],[7526,1,"β"],[7527,1,"γ"],[7528,1,"ρ"],[7529,1,"φ"],[7530,1,"χ"],[7531,2],[[7532,7543],2],[7544,1,"н"],[[7545,7578],2],[7579,1,"ɒ"],[7580,1,"c"],[7581,1,"ɕ"],[7582,1,"ð"],[7583,1,"ɜ"],[7584,1,"f"],[7585,1,"ɟ"],[7586,1,"ɡ"],[7587,1,"ɥ"],[7588,1,"ɨ"],[7589,1,"ɩ"],[7590,1,"ɪ"],[7591,1,"ᵻ"],[7592,1,"ʝ"],[7593,1,"ɭ"],[7594,1,"ᶅ"],[7595,1,"ʟ"],[7596,1,"ɱ"],[7597,1,"ɰ"],[7598,1,"ɲ"],[7599,1,"ɳ"],[7600,1,"ɴ"],[7601,1,"ɵ"],[7602,1,"ɸ"],[7603,1,"ʂ"],[7604,1,"ʃ"],[7605,1,"ƫ"],[7606,1,"ʉ"],[7607,1,"ʊ"],[7608,1,"ᴜ"],[7609,1,"ʋ"],[7610,1,"ʌ"],[7611,1,"z"],[7612,1,"ʐ"],[7613,1,"ʑ"],[7614,1,"ʒ"],[7615,1,"θ"],[[7616,7619],2],[[7620,7626],2],[[7627,7654],2],[[7655,7669],2],[[7670,7673],2],[7674,2],[7675,2],[7676,2],[7677,2],[[7678,7679],2],[7680,1,"ḁ"],[7681,2],[7682,1,"ḃ"],[7683,2],[7684,1,"ḅ"],[7685,2],[7686,1,"ḇ"],[7687,2],[7688,1,"ḉ"],[7689,2],[7690,1,"ḋ"],[7691,2],[7692,1,"ḍ"],[7693,2],[7694,1,"ḏ"],[7695,2],[7696,1,"ḑ"],[7697,2],[7698,1,"ḓ"],[7699,2],[7700,1,"ḕ"],[7701,2],[7702,1,"ḗ"],[7703,2],[7704,1,"ḙ"],[7705,2],[7706,1,"ḛ"],[7707,2],[7708,1,"ḝ"],[7709,2],[7710,1,"ḟ"],[7711,2],[7712,1,"ḡ"],[7713,2],[7714,1,"ḣ"],[7715,2],[7716,1,"ḥ"],[7717,2],[7718,1,"ḧ"],[7719,2],[7720,1,"ḩ"],[7721,2],[7722,1,"ḫ"],[7723,2],[7724,1,"ḭ"],[7725,2],[7726,1,"ḯ"],[7727,2],[7728,1,"ḱ"],[7729,2],[7730,1,"ḳ"],[7731,2],[7732,1,"ḵ"],[7733,2],[7734,1,"ḷ"],[7735,2],[7736,1,"ḹ"],[7737,2],[7738,1,"ḻ"],[7739,2],[7740,1,"ḽ"],[7741,2],[7742,1,"ḿ"],[7743,2],[7744,1,"ṁ"],[7745,2],[7746,1,"ṃ"],[7747,2],[7748,1,"ṅ"],[7749,2],[7750,1,"ṇ"],[7751,2],[7752,1,"ṉ"],[7753,2],[7754,1,"ṋ"],[7755,2],[7756,1,"ṍ"],[7757,2],[7758,1,"ṏ"],[7759,2],[7760,1,"ṑ"],[7761,2],[7762,1,"ṓ"],[7763,2],[7764,1,"ṕ"],[7765,2],[7766,1,"ṗ"],[7767,2],[7768,1,"ṙ"],[7769,2],[7770,1,"ṛ"],[7771,2],[7772,1,"ṝ"],[7773,2],[7774,1,"ṟ"],[7775,2],[7776,1,"ṡ"],[7777,2],[7778,1,"ṣ"],[7779,2],[7780,1,"ṥ"],[7781,2],[7782,1,"ṧ"],[7783,2],[7784,1,"ṩ"],[7785,2],[7786,1,"ṫ"],[7787,2],[7788,1,"ṭ"],[7789,2],[7790,1,"ṯ"],[7791,2],[7792,1,"ṱ"],[7793,2],[7794,1,"ṳ"],[7795,2],[7796,1,"ṵ"],[7797,2],[7798,1,"ṷ"],[7799,2],[7800,1,"ṹ"],[7801,2],[7802,1,"ṻ"],[7803,2],[7804,1,"ṽ"],[7805,2],[7806,1,"ṿ"],[7807,2],[7808,1,"ẁ"],[7809,2],[7810,1,"ẃ"],[7811,2],[7812,1,"ẅ"],[7813,2],[7814,1,"ẇ"],[7815,2],[7816,1,"ẉ"],[7817,2],[7818,1,"ẋ"],[7819,2],[7820,1,"ẍ"],[7821,2],[7822,1,"ẏ"],[7823,2],[7824,1,"ẑ"],[7825,2],[7826,1,"ẓ"],[7827,2],[7828,1,"ẕ"],[[7829,7833],2],[7834,1,"aʾ"],[7835,1,"ṡ"],[[7836,7837],2],[7838,1,"ss"],[7839,2],[7840,1,"ạ"],[7841,2],[7842,1,"ả"],[7843,2],[7844,1,"ấ"],[7845,2],[7846,1,"ầ"],[7847,2],[7848,1,"ẩ"],[7849,2],[7850,1,"ẫ"],[7851,2],[7852,1,"ậ"],[7853,2],[7854,1,"ắ"],[7855,2],[7856,1,"ằ"],[7857,2],[7858,1,"ẳ"],[7859,2],[7860,1,"ẵ"],[7861,2],[7862,1,"ặ"],[7863,2],[7864,1,"ẹ"],[7865,2],[7866,1,"ẻ"],[7867,2],[7868,1,"ẽ"],[7869,2],[7870,1,"ế"],[7871,2],[7872,1,"ề"],[7873,2],[7874,1,"ể"],[7875,2],[7876,1,"ễ"],[7877,2],[7878,1,"ệ"],[7879,2],[7880,1,"ỉ"],[7881,2],[7882,1,"ị"],[7883,2],[7884,1,"ọ"],[7885,2],[7886,1,"ỏ"],[7887,2],[7888,1,"ố"],[7889,2],[7890,1,"ồ"],[7891,2],[7892,1,"ổ"],[7893,2],[7894,1,"ỗ"],[7895,2],[7896,1,"ộ"],[7897,2],[7898,1,"ớ"],[7899,2],[7900,1,"ờ"],[7901,2],[7902,1,"ở"],[7903,2],[7904,1,"ỡ"],[7905,2],[7906,1,"ợ"],[7907,2],[7908,1,"ụ"],[7909,2],[7910,1,"ủ"],[7911,2],[7912,1,"ứ"],[7913,2],[7914,1,"ừ"],[7915,2],[7916,1,"ử"],[7917,2],[7918,1,"ữ"],[7919,2],[7920,1,"ự"],[7921,2],[7922,1,"ỳ"],[7923,2],[7924,1,"ỵ"],[7925,2],[7926,1,"ỷ"],[7927,2],[7928,1,"ỹ"],[7929,2],[7930,1,"ỻ"],[7931,2],[7932,1,"ỽ"],[7933,2],[7934,1,"ỿ"],[7935,2],[[7936,7943],2],[7944,1,"ἀ"],[7945,1,"ἁ"],[7946,1,"ἂ"],[7947,1,"ἃ"],[7948,1,"ἄ"],[7949,1,"ἅ"],[7950,1,"ἆ"],[7951,1,"ἇ"],[[7952,7957],2],[[7958,7959],3],[7960,1,"ἐ"],[7961,1,"ἑ"],[7962,1,"ἒ"],[7963,1,"ἓ"],[7964,1,"ἔ"],[7965,1,"ἕ"],[[7966,7967],3],[[7968,7975],2],[7976,1,"ἠ"],[7977,1,"ἡ"],[7978,1,"ἢ"],[7979,1,"ἣ"],[7980,1,"ἤ"],[7981,1,"ἥ"],[7982,1,"ἦ"],[7983,1,"ἧ"],[[7984,7991],2],[7992,1,"ἰ"],[7993,1,"ἱ"],[7994,1,"ἲ"],[7995,1,"ἳ"],[7996,1,"ἴ"],[7997,1,"ἵ"],[7998,1,"ἶ"],[7999,1,"ἷ"],[[8000,8005],2],[[8006,8007],3],[8008,1,"ὀ"],[8009,1,"ὁ"],[8010,1,"ὂ"],[8011,1,"ὃ"],[8012,1,"ὄ"],[8013,1,"ὅ"],[[8014,8015],3],[[8016,8023],2],[8024,3],[8025,1,"ὑ"],[8026,3],[8027,1,"ὓ"],[8028,3],[8029,1,"ὕ"],[8030,3],[8031,1,"ὗ"],[[8032,8039],2],[8040,1,"ὠ"],[8041,1,"ὡ"],[8042,1,"ὢ"],[8043,1,"ὣ"],[8044,1,"ὤ"],[8045,1,"ὥ"],[8046,1,"ὦ"],[8047,1,"ὧ"],[8048,2],[8049,1,"ά"],[8050,2],[8051,1,"έ"],[8052,2],[8053,1,"ή"],[8054,2],[8055,1,"ί"],[8056,2],[8057,1,"ό"],[8058,2],[8059,1,"ύ"],[8060,2],[8061,1,"ώ"],[[8062,8063],3],[8064,1,"ἀι"],[8065,1,"ἁι"],[8066,1,"ἂι"],[8067,1,"ἃι"],[8068,1,"ἄι"],[8069,1,"ἅι"],[8070,1,"ἆι"],[8071,1,"ἇι"],[8072,1,"ἀι"],[8073,1,"ἁι"],[8074,1,"ἂι"],[8075,1,"ἃι"],[8076,1,"ἄι"],[8077,1,"ἅι"],[8078,1,"ἆι"],[8079,1,"ἇι"],[8080,1,"ἠι"],[8081,1,"ἡι"],[8082,1,"ἢι"],[8083,1,"ἣι"],[8084,1,"ἤι"],[8085,1,"ἥι"],[8086,1,"ἦι"],[8087,1,"ἧι"],[8088,1,"ἠι"],[8089,1,"ἡι"],[8090,1,"ἢι"],[8091,1,"ἣι"],[8092,1,"ἤι"],[8093,1,"ἥι"],[8094,1,"ἦι"],[8095,1,"ἧι"],[8096,1,"ὠι"],[8097,1,"ὡι"],[8098,1,"ὢι"],[8099,1,"ὣι"],[8100,1,"ὤι"],[8101,1,"ὥι"],[8102,1,"ὦι"],[8103,1,"ὧι"],[8104,1,"ὠι"],[8105,1,"ὡι"],[8106,1,"ὢι"],[8107,1,"ὣι"],[8108,1,"ὤι"],[8109,1,"ὥι"],[8110,1,"ὦι"],[8111,1,"ὧι"],[[8112,8113],2],[8114,1,"ὰι"],[8115,1,"αι"],[8116,1,"άι"],[8117,3],[8118,2],[8119,1,"ᾶι"],[8120,1,"ᾰ"],[8121,1,"ᾱ"],[8122,1,"ὰ"],[8123,1,"ά"],[8124,1,"αι"],[8125,5," ̓"],[8126,1,"ι"],[8127,5," ̓"],[8128,5," ͂"],[8129,5," ̈͂"],[8130,1,"ὴι"],[8131,1,"ηι"],[8132,1,"ήι"],[8133,3],[8134,2],[8135,1,"ῆι"],[8136,1,"ὲ"],[8137,1,"έ"],[8138,1,"ὴ"],[8139,1,"ή"],[8140,1,"ηι"],[8141,5," ̓̀"],[8142,5," ̓́"],[8143,5," ̓͂"],[[8144,8146],2],[8147,1,"ΐ"],[[8148,8149],3],[[8150,8151],2],[8152,1,"ῐ"],[8153,1,"ῑ"],[8154,1,"ὶ"],[8155,1,"ί"],[8156,3],[8157,5," ̔̀"],[8158,5," ̔́"],[8159,5," ̔͂"],[[8160,8162],2],[8163,1,"ΰ"],[[8164,8167],2],[8168,1,"ῠ"],[8169,1,"ῡ"],[8170,1,"ὺ"],[8171,1,"ύ"],[8172,1,"ῥ"],[8173,5," ̈̀"],[8174,5," ̈́"],[8175,5,"`"],[[8176,8177],3],[8178,1,"ὼι"],[8179,1,"ωι"],[8180,1,"ώι"],[8181,3],[8182,2],[8183,1,"ῶι"],[8184,1,"ὸ"],[8185,1,"ό"],[8186,1,"ὼ"],[8187,1,"ώ"],[8188,1,"ωι"],[8189,5," ́"],[8190,5," ̔"],[8191,3],[[8192,8202],5," "],[8203,7],[[8204,8205],6,""],[[8206,8207],3],[8208,2],[8209,1,"‐"],[[8210,8214],2],[8215,5," ̳"],[[8216,8227],2],[[8228,8230],3],[8231,2],[[8232,8238],3],[8239,5," "],[[8240,8242],2],[8243,1,"′′"],[8244,1,"′′′"],[8245,2],[8246,1,"‵‵"],[8247,1,"‵‵‵"],[[8248,8251],2],[8252,5,"!!"],[8253,2],[8254,5," ̅"],[[8255,8262],2],[8263,5,"??"],[8264,5,"?!"],[8265,5,"!?"],[[8266,8269],2],[[8270,8274],2],[[8275,8276],2],[[8277,8278],2],[8279,1,"′′′′"],[[8280,8286],2],[8287,5," "],[8288,7],[[8289,8291],3],[8292,7],[8293,3],[[8294,8297],3],[[8298,8303],3],[8304,1,"0"],[8305,1,"i"],[[8306,8307],3],[8308,1,"4"],[8309,1,"5"],[8310,1,"6"],[8311,1,"7"],[8312,1,"8"],[8313,1,"9"],[8314,5,"+"],[8315,1,"−"],[8316,5,"="],[8317,5,"("],[8318,5,")"],[8319,1,"n"],[8320,1,"0"],[8321,1,"1"],[8322,1,"2"],[8323,1,"3"],[8324,1,"4"],[8325,1,"5"],[8326,1,"6"],[8327,1,"7"],[8328,1,"8"],[8329,1,"9"],[8330,5,"+"],[8331,1,"−"],[8332,5,"="],[8333,5,"("],[8334,5,")"],[8335,3],[8336,1,"a"],[8337,1,"e"],[8338,1,"o"],[8339,1,"x"],[8340,1,"ə"],[8341,1,"h"],[8342,1,"k"],[8343,1,"l"],[8344,1,"m"],[8345,1,"n"],[8346,1,"p"],[8347,1,"s"],[8348,1,"t"],[[8349,8351],3],[[8352,8359],2],[8360,1,"rs"],[[8361,8362],2],[8363,2],[8364,2],[[8365,8367],2],[[8368,8369],2],[[8370,8373],2],[[8374,8376],2],[8377,2],[8378,2],[[8379,8381],2],[8382,2],[8383,2],[8384,2],[[8385,8399],3],[[8400,8417],2],[[8418,8419],2],[[8420,8426],2],[8427,2],[[8428,8431],2],[8432,2],[[8433,8447],3],[8448,5,"a/c"],[8449,5,"a/s"],[8450,1,"c"],[8451,1,"°c"],[8452,2],[8453,5,"c/o"],[8454,5,"c/u"],[8455,1,"ɛ"],[8456,2],[8457,1,"°f"],[8458,1,"g"],[[8459,8462],1,"h"],[8463,1,"ħ"],[[8464,8465],1,"i"],[[8466,8467],1,"l"],[8468,2],[8469,1,"n"],[8470,1,"no"],[[8471,8472],2],[8473,1,"p"],[8474,1,"q"],[[8475,8477],1,"r"],[[8478,8479],2],[8480,1,"sm"],[8481,1,"tel"],[8482,1,"tm"],[8483,2],[8484,1,"z"],[8485,2],[8486,1,"ω"],[8487,2],[8488,1,"z"],[8489,2],[8490,1,"k"],[8491,1,"å"],[8492,1,"b"],[8493,1,"c"],[8494,2],[[8495,8496],1,"e"],[8497,1,"f"],[8498,3],[8499,1,"m"],[8500,1,"o"],[8501,1,"א"],[8502,1,"ב"],[8503,1,"ג"],[8504,1,"ד"],[8505,1,"i"],[8506,2],[8507,1,"fax"],[8508,1,"π"],[[8509,8510],1,"γ"],[8511,1,"π"],[8512,1,"∑"],[[8513,8516],2],[[8517,8518],1,"d"],[8519,1,"e"],[8520,1,"i"],[8521,1,"j"],[[8522,8523],2],[8524,2],[8525,2],[8526,2],[8527,2],[8528,1,"1⁄7"],[8529,1,"1⁄9"],[8530,1,"1⁄10"],[8531,1,"1⁄3"],[8532,1,"2⁄3"],[8533,1,"1⁄5"],[8534,1,"2⁄5"],[8535,1,"3⁄5"],[8536,1,"4⁄5"],[8537,1,"1⁄6"],[8538,1,"5⁄6"],[8539,1,"1⁄8"],[8540,1,"3⁄8"],[8541,1,"5⁄8"],[8542,1,"7⁄8"],[8543,1,"1⁄"],[8544,1,"i"],[8545,1,"ii"],[8546,1,"iii"],[8547,1,"iv"],[8548,1,"v"],[8549,1,"vi"],[8550,1,"vii"],[8551,1,"viii"],[8552,1,"ix"],[8553,1,"x"],[8554,1,"xi"],[8555,1,"xii"],[8556,1,"l"],[8557,1,"c"],[8558,1,"d"],[8559,1,"m"],[8560,1,"i"],[8561,1,"ii"],[8562,1,"iii"],[8563,1,"iv"],[8564,1,"v"],[8565,1,"vi"],[8566,1,"vii"],[8567,1,"viii"],[8568,1,"ix"],[8569,1,"x"],[8570,1,"xi"],[8571,1,"xii"],[8572,1,"l"],[8573,1,"c"],[8574,1,"d"],[8575,1,"m"],[[8576,8578],2],[8579,3],[8580,2],[[8581,8584],2],[8585,1,"0⁄3"],[[8586,8587],2],[[8588,8591],3],[[8592,8682],2],[[8683,8691],2],[[8692,8703],2],[[8704,8747],2],[8748,1,"∫∫"],[8749,1,"∫∫∫"],[8750,2],[8751,1,"∮∮"],[8752,1,"∮∮∮"],[[8753,8799],2],[8800,4],[[8801,8813],2],[[8814,8815],4],[[8816,8945],2],[[8946,8959],2],[8960,2],[8961,2],[[8962,9000],2],[9001,1,"〈"],[9002,1,"〉"],[[9003,9082],2],[9083,2],[9084,2],[[9085,9114],2],[[9115,9166],2],[[9167,9168],2],[[9169,9179],2],[[9180,9191],2],[9192,2],[[9193,9203],2],[[9204,9210],2],[[9211,9214],2],[9215,2],[[9216,9252],2],[[9253,9254],2],[[9255,9279],3],[[9280,9290],2],[[9291,9311],3],[9312,1,"1"],[9313,1,"2"],[9314,1,"3"],[9315,1,"4"],[9316,1,"5"],[9317,1,"6"],[9318,1,"7"],[9319,1,"8"],[9320,1,"9"],[9321,1,"10"],[9322,1,"11"],[9323,1,"12"],[9324,1,"13"],[9325,1,"14"],[9326,1,"15"],[9327,1,"16"],[9328,1,"17"],[9329,1,"18"],[9330,1,"19"],[9331,1,"20"],[9332,5,"(1)"],[9333,5,"(2)"],[9334,5,"(3)"],[9335,5,"(4)"],[9336,5,"(5)"],[9337,5,"(6)"],[9338,5,"(7)"],[9339,5,"(8)"],[9340,5,"(9)"],[9341,5,"(10)"],[9342,5,"(11)"],[9343,5,"(12)"],[9344,5,"(13)"],[9345,5,"(14)"],[9346,5,"(15)"],[9347,5,"(16)"],[9348,5,"(17)"],[9349,5,"(18)"],[9350,5,"(19)"],[9351,5,"(20)"],[[9352,9371],3],[9372,5,"(a)"],[9373,5,"(b)"],[9374,5,"(c)"],[9375,5,"(d)"],[9376,5,"(e)"],[9377,5,"(f)"],[9378,5,"(g)"],[9379,5,"(h)"],[9380,5,"(i)"],[9381,5,"(j)"],[9382,5,"(k)"],[9383,5,"(l)"],[9384,5,"(m)"],[9385,5,"(n)"],[9386,5,"(o)"],[9387,5,"(p)"],[9388,5,"(q)"],[9389,5,"(r)"],[9390,5,"(s)"],[9391,5,"(t)"],[9392,5,"(u)"],[9393,5,"(v)"],[9394,5,"(w)"],[9395,5,"(x)"],[9396,5,"(y)"],[9397,5,"(z)"],[9398,1,"a"],[9399,1,"b"],[9400,1,"c"],[9401,1,"d"],[9402,1,"e"],[9403,1,"f"],[9404,1,"g"],[9405,1,"h"],[9406,1,"i"],[9407,1,"j"],[9408,1,"k"],[9409,1,"l"],[9410,1,"m"],[9411,1,"n"],[9412,1,"o"],[9413,1,"p"],[9414,1,"q"],[9415,1,"r"],[9416,1,"s"],[9417,1,"t"],[9418,1,"u"],[9419,1,"v"],[9420,1,"w"],[9421,1,"x"],[9422,1,"y"],[9423,1,"z"],[9424,1,"a"],[9425,1,"b"],[9426,1,"c"],[9427,1,"d"],[9428,1,"e"],[9429,1,"f"],[9430,1,"g"],[9431,1,"h"],[9432,1,"i"],[9433,1,"j"],[9434,1,"k"],[9435,1,"l"],[9436,1,"m"],[9437,1,"n"],[9438,1,"o"],[9439,1,"p"],[9440,1,"q"],[9441,1,"r"],[9442,1,"s"],[9443,1,"t"],[9444,1,"u"],[9445,1,"v"],[9446,1,"w"],[9447,1,"x"],[9448,1,"y"],[9449,1,"z"],[9450,1,"0"],[[9451,9470],2],[9471,2],[[9472,9621],2],[[9622,9631],2],[[9632,9711],2],[[9712,9719],2],[[9720,9727],2],[[9728,9747],2],[[9748,9749],2],[[9750,9751],2],[9752,2],[9753,2],[[9754,9839],2],[[9840,9841],2],[[9842,9853],2],[[9854,9855],2],[[9856,9865],2],[[9866,9873],2],[[9874,9884],2],[9885,2],[[9886,9887],2],[[9888,9889],2],[[9890,9905],2],[9906,2],[[9907,9916],2],[[9917,9919],2],[[9920,9923],2],[[9924,9933],2],[9934,2],[[9935,9953],2],[9954,2],[9955,2],[[9956,9959],2],[[9960,9983],2],[9984,2],[[9985,9988],2],[9989,2],[[9990,9993],2],[[9994,9995],2],[[9996,10023],2],[10024,2],[[10025,10059],2],[10060,2],[10061,2],[10062,2],[[10063,10066],2],[[10067,10069],2],[10070,2],[10071,2],[[10072,10078],2],[[10079,10080],2],[[10081,10087],2],[[10088,10101],2],[[10102,10132],2],[[10133,10135],2],[[10136,10159],2],[10160,2],[[10161,10174],2],[10175,2],[[10176,10182],2],[[10183,10186],2],[10187,2],[10188,2],[10189,2],[[10190,10191],2],[[10192,10219],2],[[10220,10223],2],[[10224,10239],2],[[10240,10495],2],[[10496,10763],2],[10764,1,"∫∫∫∫"],[[10765,10867],2],[10868,5,"::="],[10869,5,"=="],[10870,5,"==="],[[10871,10971],2],[10972,1,"⫝̸"],[[10973,11007],2],[[11008,11021],2],[[11022,11027],2],[[11028,11034],2],[[11035,11039],2],[[11040,11043],2],[[11044,11084],2],[[11085,11087],2],[[11088,11092],2],[[11093,11097],2],[[11098,11123],2],[[11124,11125],3],[[11126,11157],2],[11158,3],[11159,2],[[11160,11193],2],[[11194,11196],2],[[11197,11208],2],[11209,2],[[11210,11217],2],[11218,2],[[11219,11243],2],[[11244,11247],2],[[11248,11262],2],[11263,2],[11264,1,"ⰰ"],[11265,1,"ⰱ"],[11266,1,"ⰲ"],[11267,1,"ⰳ"],[11268,1,"ⰴ"],[11269,1,"ⰵ"],[11270,1,"ⰶ"],[11271,1,"ⰷ"],[11272,1,"ⰸ"],[11273,1,"ⰹ"],[11274,1,"ⰺ"],[11275,1,"ⰻ"],[11276,1,"ⰼ"],[11277,1,"ⰽ"],[11278,1,"ⰾ"],[11279,1,"ⰿ"],[11280,1,"ⱀ"],[11281,1,"ⱁ"],[11282,1,"ⱂ"],[11283,1,"ⱃ"],[11284,1,"ⱄ"],[11285,1,"ⱅ"],[11286,1,"ⱆ"],[11287,1,"ⱇ"],[11288,1,"ⱈ"],[11289,1,"ⱉ"],[11290,1,"ⱊ"],[11291,1,"ⱋ"],[11292,1,"ⱌ"],[11293,1,"ⱍ"],[11294,1,"ⱎ"],[11295,1,"ⱏ"],[11296,1,"ⱐ"],[11297,1,"ⱑ"],[11298,1,"ⱒ"],[11299,1,"ⱓ"],[11300,1,"ⱔ"],[11301,1,"ⱕ"],[11302,1,"ⱖ"],[11303,1,"ⱗ"],[11304,1,"ⱘ"],[11305,1,"ⱙ"],[11306,1,"ⱚ"],[11307,1,"ⱛ"],[11308,1,"ⱜ"],[11309,1,"ⱝ"],[11310,1,"ⱞ"],[11311,1,"ⱟ"],[[11312,11358],2],[11359,2],[11360,1,"ⱡ"],[11361,2],[11362,1,"ɫ"],[11363,1,"ᵽ"],[11364,1,"ɽ"],[[11365,11366],2],[11367,1,"ⱨ"],[11368,2],[11369,1,"ⱪ"],[11370,2],[11371,1,"ⱬ"],[11372,2],[11373,1,"ɑ"],[11374,1,"ɱ"],[11375,1,"ɐ"],[11376,1,"ɒ"],[11377,2],[11378,1,"ⱳ"],[11379,2],[11380,2],[11381,1,"ⱶ"],[[11382,11383],2],[[11384,11387],2],[11388,1,"j"],[11389,1,"v"],[11390,1,"ȿ"],[11391,1,"ɀ"],[11392,1,"ⲁ"],[11393,2],[11394,1,"ⲃ"],[11395,2],[11396,1,"ⲅ"],[11397,2],[11398,1,"ⲇ"],[11399,2],[11400,1,"ⲉ"],[11401,2],[11402,1,"ⲋ"],[11403,2],[11404,1,"ⲍ"],[11405,2],[11406,1,"ⲏ"],[11407,2],[11408,1,"ⲑ"],[11409,2],[11410,1,"ⲓ"],[11411,2],[11412,1,"ⲕ"],[11413,2],[11414,1,"ⲗ"],[11415,2],[11416,1,"ⲙ"],[11417,2],[11418,1,"ⲛ"],[11419,2],[11420,1,"ⲝ"],[11421,2],[11422,1,"ⲟ"],[11423,2],[11424,1,"ⲡ"],[11425,2],[11426,1,"ⲣ"],[11427,2],[11428,1,"ⲥ"],[11429,2],[11430,1,"ⲧ"],[11431,2],[11432,1,"ⲩ"],[11433,2],[11434,1,"ⲫ"],[11435,2],[11436,1,"ⲭ"],[11437,2],[11438,1,"ⲯ"],[11439,2],[11440,1,"ⲱ"],[11441,2],[11442,1,"ⲳ"],[11443,2],[11444,1,"ⲵ"],[11445,2],[11446,1,"ⲷ"],[11447,2],[11448,1,"ⲹ"],[11449,2],[11450,1,"ⲻ"],[11451,2],[11452,1,"ⲽ"],[11453,2],[11454,1,"ⲿ"],[11455,2],[11456,1,"ⳁ"],[11457,2],[11458,1,"ⳃ"],[11459,2],[11460,1,"ⳅ"],[11461,2],[11462,1,"ⳇ"],[11463,2],[11464,1,"ⳉ"],[11465,2],[11466,1,"ⳋ"],[11467,2],[11468,1,"ⳍ"],[11469,2],[11470,1,"ⳏ"],[11471,2],[11472,1,"ⳑ"],[11473,2],[11474,1,"ⳓ"],[11475,2],[11476,1,"ⳕ"],[11477,2],[11478,1,"ⳗ"],[11479,2],[11480,1,"ⳙ"],[11481,2],[11482,1,"ⳛ"],[11483,2],[11484,1,"ⳝ"],[11485,2],[11486,1,"ⳟ"],[11487,2],[11488,1,"ⳡ"],[11489,2],[11490,1,"ⳣ"],[[11491,11492],2],[[11493,11498],2],[11499,1,"ⳬ"],[11500,2],[11501,1,"ⳮ"],[[11502,11505],2],[11506,1,"ⳳ"],[11507,2],[[11508,11512],3],[[11513,11519],2],[[11520,11557],2],[11558,3],[11559,2],[[11560,11564],3],[11565,2],[[11566,11567],3],[[11568,11621],2],[[11622,11623],2],[[11624,11630],3],[11631,1,"ⵡ"],[11632,2],[[11633,11646],3],[11647,2],[[11648,11670],2],[[11671,11679],3],[[11680,11686],2],[11687,3],[[11688,11694],2],[11695,3],[[11696,11702],2],[11703,3],[[11704,11710],2],[11711,3],[[11712,11718],2],[11719,3],[[11720,11726],2],[11727,3],[[11728,11734],2],[11735,3],[[11736,11742],2],[11743,3],[[11744,11775],2],[[11776,11799],2],[[11800,11803],2],[[11804,11805],2],[[11806,11822],2],[11823,2],[11824,2],[11825,2],[[11826,11835],2],[[11836,11842],2],[[11843,11844],2],[[11845,11849],2],[[11850,11854],2],[11855,2],[[11856,11858],2],[[11859,11869],2],[[11870,11903],3],[[11904,11929],2],[11930,3],[[11931,11934],2],[11935,1,"母"],[[11936,12018],2],[12019,1,"龟"],[[12020,12031],3],[12032,1,"一"],[12033,1,"丨"],[12034,1,"丶"],[12035,1,"丿"],[12036,1,"乙"],[12037,1,"亅"],[12038,1,"二"],[12039,1,"亠"],[12040,1,"人"],[12041,1,"儿"],[12042,1,"入"],[12043,1,"八"],[12044,1,"冂"],[12045,1,"冖"],[12046,1,"冫"],[12047,1,"几"],[12048,1,"凵"],[12049,1,"刀"],[12050,1,"力"],[12051,1,"勹"],[12052,1,"匕"],[12053,1,"匚"],[12054,1,"匸"],[12055,1,"十"],[12056,1,"卜"],[12057,1,"卩"],[12058,1,"厂"],[12059,1,"厶"],[12060,1,"又"],[12061,1,"口"],[12062,1,"囗"],[12063,1,"土"],[12064,1,"士"],[12065,1,"夂"],[12066,1,"夊"],[12067,1,"夕"],[12068,1,"大"],[12069,1,"女"],[12070,1,"子"],[12071,1,"宀"],[12072,1,"寸"],[12073,1,"小"],[12074,1,"尢"],[12075,1,"尸"],[12076,1,"屮"],[12077,1,"山"],[12078,1,"巛"],[12079,1,"工"],[12080,1,"己"],[12081,1,"巾"],[12082,1,"干"],[12083,1,"幺"],[12084,1,"广"],[12085,1,"廴"],[12086,1,"廾"],[12087,1,"弋"],[12088,1,"弓"],[12089,1,"彐"],[12090,1,"彡"],[12091,1,"彳"],[12092,1,"心"],[12093,1,"戈"],[12094,1,"戶"],[12095,1,"手"],[12096,1,"支"],[12097,1,"攴"],[12098,1,"文"],[12099,1,"斗"],[12100,1,"斤"],[12101,1,"方"],[12102,1,"无"],[12103,1,"日"],[12104,1,"曰"],[12105,1,"月"],[12106,1,"木"],[12107,1,"欠"],[12108,1,"止"],[12109,1,"歹"],[12110,1,"殳"],[12111,1,"毋"],[12112,1,"比"],[12113,1,"毛"],[12114,1,"氏"],[12115,1,"气"],[12116,1,"水"],[12117,1,"火"],[12118,1,"爪"],[12119,1,"父"],[12120,1,"爻"],[12121,1,"爿"],[12122,1,"片"],[12123,1,"牙"],[12124,1,"牛"],[12125,1,"犬"],[12126,1,"玄"],[12127,1,"玉"],[12128,1,"瓜"],[12129,1,"瓦"],[12130,1,"甘"],[12131,1,"生"],[12132,1,"用"],[12133,1,"田"],[12134,1,"疋"],[12135,1,"疒"],[12136,1,"癶"],[12137,1,"白"],[12138,1,"皮"],[12139,1,"皿"],[12140,1,"目"],[12141,1,"矛"],[12142,1,"矢"],[12143,1,"石"],[12144,1,"示"],[12145,1,"禸"],[12146,1,"禾"],[12147,1,"穴"],[12148,1,"立"],[12149,1,"竹"],[12150,1,"米"],[12151,1,"糸"],[12152,1,"缶"],[12153,1,"网"],[12154,1,"羊"],[12155,1,"羽"],[12156,1,"老"],[12157,1,"而"],[12158,1,"耒"],[12159,1,"耳"],[12160,1,"聿"],[12161,1,"肉"],[12162,1,"臣"],[12163,1,"自"],[12164,1,"至"],[12165,1,"臼"],[12166,1,"舌"],[12167,1,"舛"],[12168,1,"舟"],[12169,1,"艮"],[12170,1,"色"],[12171,1,"艸"],[12172,1,"虍"],[12173,1,"虫"],[12174,1,"血"],[12175,1,"行"],[12176,1,"衣"],[12177,1,"襾"],[12178,1,"見"],[12179,1,"角"],[12180,1,"言"],[12181,1,"谷"],[12182,1,"豆"],[12183,1,"豕"],[12184,1,"豸"],[12185,1,"貝"],[12186,1,"赤"],[12187,1,"走"],[12188,1,"足"],[12189,1,"身"],[12190,1,"車"],[12191,1,"辛"],[12192,1,"辰"],[12193,1,"辵"],[12194,1,"邑"],[12195,1,"酉"],[12196,1,"釆"],[12197,1,"里"],[12198,1,"金"],[12199,1,"長"],[12200,1,"門"],[12201,1,"阜"],[12202,1,"隶"],[12203,1,"隹"],[12204,1,"雨"],[12205,1,"靑"],[12206,1,"非"],[12207,1,"面"],[12208,1,"革"],[12209,1,"韋"],[12210,1,"韭"],[12211,1,"音"],[12212,1,"頁"],[12213,1,"風"],[12214,1,"飛"],[12215,1,"食"],[12216,1,"首"],[12217,1,"香"],[12218,1,"馬"],[12219,1,"骨"],[12220,1,"高"],[12221,1,"髟"],[12222,1,"鬥"],[12223,1,"鬯"],[12224,1,"鬲"],[12225,1,"鬼"],[12226,1,"魚"],[12227,1,"鳥"],[12228,1,"鹵"],[12229,1,"鹿"],[12230,1,"麥"],[12231,1,"麻"],[12232,1,"黃"],[12233,1,"黍"],[12234,1,"黑"],[12235,1,"黹"],[12236,1,"黽"],[12237,1,"鼎"],[12238,1,"鼓"],[12239,1,"鼠"],[12240,1,"鼻"],[12241,1,"齊"],[12242,1,"齒"],[12243,1,"龍"],[12244,1,"龜"],[12245,1,"龠"],[[12246,12271],3],[[12272,12283],3],[[12284,12287],3],[12288,5," "],[12289,2],[12290,1,"."],[[12291,12292],2],[[12293,12295],2],[[12296,12329],2],[[12330,12333],2],[[12334,12341],2],[12342,1,"〒"],[12343,2],[12344,1,"十"],[12345,1,"卄"],[12346,1,"卅"],[12347,2],[12348,2],[12349,2],[12350,2],[12351,2],[12352,3],[[12353,12436],2],[[12437,12438],2],[[12439,12440],3],[[12441,12442],2],[12443,5," ゙"],[12444,5," ゚"],[[12445,12446],2],[12447,1,"より"],[12448,2],[[12449,12542],2],[12543,1,"コト"],[[12544,12548],3],[[12549,12588],2],[12589,2],[12590,2],[12591,2],[12592,3],[12593,1,"ᄀ"],[12594,1,"ᄁ"],[12595,1,"ᆪ"],[12596,1,"ᄂ"],[12597,1,"ᆬ"],[12598,1,"ᆭ"],[12599,1,"ᄃ"],[12600,1,"ᄄ"],[12601,1,"ᄅ"],[12602,1,"ᆰ"],[12603,1,"ᆱ"],[12604,1,"ᆲ"],[12605,1,"ᆳ"],[12606,1,"ᆴ"],[12607,1,"ᆵ"],[12608,1,"ᄚ"],[12609,1,"ᄆ"],[12610,1,"ᄇ"],[12611,1,"ᄈ"],[12612,1,"ᄡ"],[12613,1,"ᄉ"],[12614,1,"ᄊ"],[12615,1,"ᄋ"],[12616,1,"ᄌ"],[12617,1,"ᄍ"],[12618,1,"ᄎ"],[12619,1,"ᄏ"],[12620,1,"ᄐ"],[12621,1,"ᄑ"],[12622,1,"ᄒ"],[12623,1,"ᅡ"],[12624,1,"ᅢ"],[12625,1,"ᅣ"],[12626,1,"ᅤ"],[12627,1,"ᅥ"],[12628,1,"ᅦ"],[12629,1,"ᅧ"],[12630,1,"ᅨ"],[12631,1,"ᅩ"],[12632,1,"ᅪ"],[12633,1,"ᅫ"],[12634,1,"ᅬ"],[12635,1,"ᅭ"],[12636,1,"ᅮ"],[12637,1,"ᅯ"],[12638,1,"ᅰ"],[12639,1,"ᅱ"],[12640,1,"ᅲ"],[12641,1,"ᅳ"],[12642,1,"ᅴ"],[12643,1,"ᅵ"],[12644,3],[12645,1,"ᄔ"],[12646,1,"ᄕ"],[12647,1,"ᇇ"],[12648,1,"ᇈ"],[12649,1,"ᇌ"],[12650,1,"ᇎ"],[12651,1,"ᇓ"],[12652,1,"ᇗ"],[12653,1,"ᇙ"],[12654,1,"ᄜ"],[12655,1,"ᇝ"],[12656,1,"ᇟ"],[12657,1,"ᄝ"],[12658,1,"ᄞ"],[12659,1,"ᄠ"],[12660,1,"ᄢ"],[12661,1,"ᄣ"],[12662,1,"ᄧ"],[12663,1,"ᄩ"],[12664,1,"ᄫ"],[12665,1,"ᄬ"],[12666,1,"ᄭ"],[12667,1,"ᄮ"],[12668,1,"ᄯ"],[12669,1,"ᄲ"],[12670,1,"ᄶ"],[12671,1,"ᅀ"],[12672,1,"ᅇ"],[12673,1,"ᅌ"],[12674,1,"ᇱ"],[12675,1,"ᇲ"],[12676,1,"ᅗ"],[12677,1,"ᅘ"],[12678,1,"ᅙ"],[12679,1,"ᆄ"],[12680,1,"ᆅ"],[12681,1,"ᆈ"],[12682,1,"ᆑ"],[12683,1,"ᆒ"],[12684,1,"ᆔ"],[12685,1,"ᆞ"],[12686,1,"ᆡ"],[12687,3],[[12688,12689],2],[12690,1,"一"],[12691,1,"二"],[12692,1,"三"],[12693,1,"四"],[12694,1,"上"],[12695,1,"中"],[12696,1,"下"],[12697,1,"甲"],[12698,1,"乙"],[12699,1,"丙"],[12700,1,"丁"],[12701,1,"天"],[12702,1,"地"],[12703,1,"人"],[[12704,12727],2],[[12728,12730],2],[[12731,12735],2],[[12736,12751],2],[[12752,12771],2],[[12772,12783],3],[[12784,12799],2],[12800,5,"(ᄀ)"],[12801,5,"(ᄂ)"],[12802,5,"(ᄃ)"],[12803,5,"(ᄅ)"],[12804,5,"(ᄆ)"],[12805,5,"(ᄇ)"],[12806,5,"(ᄉ)"],[12807,5,"(ᄋ)"],[12808,5,"(ᄌ)"],[12809,5,"(ᄎ)"],[12810,5,"(ᄏ)"],[12811,5,"(ᄐ)"],[12812,5,"(ᄑ)"],[12813,5,"(ᄒ)"],[12814,5,"(가)"],[12815,5,"(나)"],[12816,5,"(다)"],[12817,5,"(라)"],[12818,5,"(마)"],[12819,5,"(바)"],[12820,5,"(사)"],[12821,5,"(아)"],[12822,5,"(자)"],[12823,5,"(차)"],[12824,5,"(카)"],[12825,5,"(타)"],[12826,5,"(파)"],[12827,5,"(하)"],[12828,5,"(주)"],[12829,5,"(오전)"],[12830,5,"(오후)"],[12831,3],[12832,5,"(一)"],[12833,5,"(二)"],[12834,5,"(三)"],[12835,5,"(四)"],[12836,5,"(五)"],[12837,5,"(六)"],[12838,5,"(七)"],[12839,5,"(八)"],[12840,5,"(九)"],[12841,5,"(十)"],[12842,5,"(月)"],[12843,5,"(火)"],[12844,5,"(水)"],[12845,5,"(木)"],[12846,5,"(金)"],[12847,5,"(土)"],[12848,5,"(日)"],[12849,5,"(株)"],[12850,5,"(有)"],[12851,5,"(社)"],[12852,5,"(名)"],[12853,5,"(特)"],[12854,5,"(財)"],[12855,5,"(祝)"],[12856,5,"(労)"],[12857,5,"(代)"],[12858,5,"(呼)"],[12859,5,"(学)"],[12860,5,"(監)"],[12861,5,"(企)"],[12862,5,"(資)"],[12863,5,"(協)"],[12864,5,"(祭)"],[12865,5,"(休)"],[12866,5,"(自)"],[12867,5,"(至)"],[12868,1,"問"],[12869,1,"幼"],[12870,1,"文"],[12871,1,"箏"],[[12872,12879],2],[12880,1,"pte"],[12881,1,"21"],[12882,1,"22"],[12883,1,"23"],[12884,1,"24"],[12885,1,"25"],[12886,1,"26"],[12887,1,"27"],[12888,1,"28"],[12889,1,"29"],[12890,1,"30"],[12891,1,"31"],[12892,1,"32"],[12893,1,"33"],[12894,1,"34"],[12895,1,"35"],[12896,1,"ᄀ"],[12897,1,"ᄂ"],[12898,1,"ᄃ"],[12899,1,"ᄅ"],[12900,1,"ᄆ"],[12901,1,"ᄇ"],[12902,1,"ᄉ"],[12903,1,"ᄋ"],[12904,1,"ᄌ"],[12905,1,"ᄎ"],[12906,1,"ᄏ"],[12907,1,"ᄐ"],[12908,1,"ᄑ"],[12909,1,"ᄒ"],[12910,1,"가"],[12911,1,"나"],[12912,1,"다"],[12913,1,"라"],[12914,1,"마"],[12915,1,"바"],[12916,1,"사"],[12917,1,"아"],[12918,1,"자"],[12919,1,"차"],[12920,1,"카"],[12921,1,"타"],[12922,1,"파"],[12923,1,"하"],[12924,1,"참고"],[12925,1,"주의"],[12926,1,"우"],[12927,2],[12928,1,"一"],[12929,1,"二"],[12930,1,"三"],[12931,1,"四"],[12932,1,"五"],[12933,1,"六"],[12934,1,"七"],[12935,1,"八"],[12936,1,"九"],[12937,1,"十"],[12938,1,"月"],[12939,1,"火"],[12940,1,"水"],[12941,1,"木"],[12942,1,"金"],[12943,1,"土"],[12944,1,"日"],[12945,1,"株"],[12946,1,"有"],[12947,1,"社"],[12948,1,"名"],[12949,1,"特"],[12950,1,"財"],[12951,1,"祝"],[12952,1,"労"],[12953,1,"秘"],[12954,1,"男"],[12955,1,"女"],[12956,1,"適"],[12957,1,"優"],[12958,1,"印"],[12959,1,"注"],[12960,1,"項"],[12961,1,"休"],[12962,1,"写"],[12963,1,"正"],[12964,1,"上"],[12965,1,"中"],[12966,1,"下"],[12967,1,"左"],[12968,1,"右"],[12969,1,"医"],[12970,1,"宗"],[12971,1,"学"],[12972,1,"監"],[12973,1,"企"],[12974,1,"資"],[12975,1,"協"],[12976,1,"夜"],[12977,1,"36"],[12978,1,"37"],[12979,1,"38"],[12980,1,"39"],[12981,1,"40"],[12982,1,"41"],[12983,1,"42"],[12984,1,"43"],[12985,1,"44"],[12986,1,"45"],[12987,1,"46"],[12988,1,"47"],[12989,1,"48"],[12990,1,"49"],[12991,1,"50"],[12992,1,"1月"],[12993,1,"2月"],[12994,1,"3月"],[12995,1,"4月"],[12996,1,"5月"],[12997,1,"6月"],[12998,1,"7月"],[12999,1,"8月"],[13000,1,"9月"],[13001,1,"10月"],[13002,1,"11月"],[13003,1,"12月"],[13004,1,"hg"],[13005,1,"erg"],[13006,1,"ev"],[13007,1,"ltd"],[13008,1,"ア"],[13009,1,"イ"],[13010,1,"ウ"],[13011,1,"エ"],[13012,1,"オ"],[13013,1,"カ"],[13014,1,"キ"],[13015,1,"ク"],[13016,1,"ケ"],[13017,1,"コ"],[13018,1,"サ"],[13019,1,"シ"],[13020,1,"ス"],[13021,1,"セ"],[13022,1,"ソ"],[13023,1,"タ"],[13024,1,"チ"],[13025,1,"ツ"],[13026,1,"テ"],[13027,1,"ト"],[13028,1,"ナ"],[13029,1,"ニ"],[13030,1,"ヌ"],[13031,1,"ネ"],[13032,1,"ノ"],[13033,1,"ハ"],[13034,1,"ヒ"],[13035,1,"フ"],[13036,1,"ヘ"],[13037,1,"ホ"],[13038,1,"マ"],[13039,1,"ミ"],[13040,1,"ム"],[13041,1,"メ"],[13042,1,"モ"],[13043,1,"ヤ"],[13044,1,"ユ"],[13045,1,"ヨ"],[13046,1,"ラ"],[13047,1,"リ"],[13048,1,"ル"],[13049,1,"レ"],[13050,1,"ロ"],[13051,1,"ワ"],[13052,1,"ヰ"],[13053,1,"ヱ"],[13054,1,"ヲ"],[13055,1,"令和"],[13056,1,"アパート"],[13057,1,"アルファ"],[13058,1,"アンペア"],[13059,1,"アール"],[13060,1,"イニング"],[13061,1,"インチ"],[13062,1,"ウォン"],[13063,1,"エスクード"],[13064,1,"エーカー"],[13065,1,"オンス"],[13066,1,"オーム"],[13067,1,"カイリ"],[13068,1,"カラット"],[13069,1,"カロリー"],[13070,1,"ガロン"],[13071,1,"ガンマ"],[13072,1,"ギガ"],[13073,1,"ギニー"],[13074,1,"キュリー"],[13075,1,"ギルダー"],[13076,1,"キロ"],[13077,1,"キログラム"],[13078,1,"キロメートル"],[13079,1,"キロワット"],[13080,1,"グラム"],[13081,1,"グラムトン"],[13082,1,"クルゼイロ"],[13083,1,"クローネ"],[13084,1,"ケース"],[13085,1,"コルナ"],[13086,1,"コーポ"],[13087,1,"サイクル"],[13088,1,"サンチーム"],[13089,1,"シリング"],[13090,1,"センチ"],[13091,1,"セント"],[13092,1,"ダース"],[13093,1,"デシ"],[13094,1,"ドル"],[13095,1,"トン"],[13096,1,"ナノ"],[13097,1,"ノット"],[13098,1,"ハイツ"],[13099,1,"パーセント"],[13100,1,"パーツ"],[13101,1,"バーレル"],[13102,1,"ピアストル"],[13103,1,"ピクル"],[13104,1,"ピコ"],[13105,1,"ビル"],[13106,1,"ファラッド"],[13107,1,"フィート"],[13108,1,"ブッシェル"],[13109,1,"フラン"],[13110,1,"ヘクタール"],[13111,1,"ペソ"],[13112,1,"ペニヒ"],[13113,1,"ヘルツ"],[13114,1,"ペンス"],[13115,1,"ページ"],[13116,1,"ベータ"],[13117,1,"ポイント"],[13118,1,"ボルト"],[13119,1,"ホン"],[13120,1,"ポンド"],[13121,1,"ホール"],[13122,1,"ホーン"],[13123,1,"マイクロ"],[13124,1,"マイル"],[13125,1,"マッハ"],[13126,1,"マルク"],[13127,1,"マンション"],[13128,1,"ミクロン"],[13129,1,"ミリ"],[13130,1,"ミリバール"],[13131,1,"メガ"],[13132,1,"メガトン"],[13133,1,"メートル"],[13134,1,"ヤード"],[13135,1,"ヤール"],[13136,1,"ユアン"],[13137,1,"リットル"],[13138,1,"リラ"],[13139,1,"ルピー"],[13140,1,"ルーブル"],[13141,1,"レム"],[13142,1,"レントゲン"],[13143,1,"ワット"],[13144,1,"0点"],[13145,1,"1点"],[13146,1,"2点"],[13147,1,"3点"],[13148,1,"4点"],[13149,1,"5点"],[13150,1,"6点"],[13151,1,"7点"],[13152,1,"8点"],[13153,1,"9点"],[13154,1,"10点"],[13155,1,"11点"],[13156,1,"12点"],[13157,1,"13点"],[13158,1,"14点"],[13159,1,"15点"],[13160,1,"16点"],[13161,1,"17点"],[13162,1,"18点"],[13163,1,"19点"],[13164,1,"20点"],[13165,1,"21点"],[13166,1,"22点"],[13167,1,"23点"],[13168,1,"24点"],[13169,1,"hpa"],[13170,1,"da"],[13171,1,"au"],[13172,1,"bar"],[13173,1,"ov"],[13174,1,"pc"],[13175,1,"dm"],[13176,1,"dm2"],[13177,1,"dm3"],[13178,1,"iu"],[13179,1,"平成"],[13180,1,"昭和"],[13181,1,"大正"],[13182,1,"明治"],[13183,1,"株式会社"],[13184,1,"pa"],[13185,1,"na"],[13186,1,"μa"],[13187,1,"ma"],[13188,1,"ka"],[13189,1,"kb"],[13190,1,"mb"],[13191,1,"gb"],[13192,1,"cal"],[13193,1,"kcal"],[13194,1,"pf"],[13195,1,"nf"],[13196,1,"μf"],[13197,1,"μg"],[13198,1,"mg"],[13199,1,"kg"],[13200,1,"hz"],[13201,1,"khz"],[13202,1,"mhz"],[13203,1,"ghz"],[13204,1,"thz"],[13205,1,"μl"],[13206,1,"ml"],[13207,1,"dl"],[13208,1,"kl"],[13209,1,"fm"],[13210,1,"nm"],[13211,1,"μm"],[13212,1,"mm"],[13213,1,"cm"],[13214,1,"km"],[13215,1,"mm2"],[13216,1,"cm2"],[13217,1,"m2"],[13218,1,"km2"],[13219,1,"mm3"],[13220,1,"cm3"],[13221,1,"m3"],[13222,1,"km3"],[13223,1,"m∕s"],[13224,1,"m∕s2"],[13225,1,"pa"],[13226,1,"kpa"],[13227,1,"mpa"],[13228,1,"gpa"],[13229,1,"rad"],[13230,1,"rad∕s"],[13231,1,"rad∕s2"],[13232,1,"ps"],[13233,1,"ns"],[13234,1,"μs"],[13235,1,"ms"],[13236,1,"pv"],[13237,1,"nv"],[13238,1,"μv"],[13239,1,"mv"],[13240,1,"kv"],[13241,1,"mv"],[13242,1,"pw"],[13243,1,"nw"],[13244,1,"μw"],[13245,1,"mw"],[13246,1,"kw"],[13247,1,"mw"],[13248,1,"kω"],[13249,1,"mω"],[13250,3],[13251,1,"bq"],[13252,1,"cc"],[13253,1,"cd"],[13254,1,"c∕kg"],[13255,3],[13256,1,"db"],[13257,1,"gy"],[13258,1,"ha"],[13259,1,"hp"],[13260,1,"in"],[13261,1,"kk"],[13262,1,"km"],[13263,1,"kt"],[13264,1,"lm"],[13265,1,"ln"],[13266,1,"log"],[13267,1,"lx"],[13268,1,"mb"],[13269,1,"mil"],[13270,1,"mol"],[13271,1,"ph"],[13272,3],[13273,1,"ppm"],[13274,1,"pr"],[13275,1,"sr"],[13276,1,"sv"],[13277,1,"wb"],[13278,1,"v∕m"],[13279,1,"a∕m"],[13280,1,"1日"],[13281,1,"2日"],[13282,1,"3日"],[13283,1,"4日"],[13284,1,"5日"],[13285,1,"6日"],[13286,1,"7日"],[13287,1,"8日"],[13288,1,"9日"],[13289,1,"10日"],[13290,1,"11日"],[13291,1,"12日"],[13292,1,"13日"],[13293,1,"14日"],[13294,1,"15日"],[13295,1,"16日"],[13296,1,"17日"],[13297,1,"18日"],[13298,1,"19日"],[13299,1,"20日"],[13300,1,"21日"],[13301,1,"22日"],[13302,1,"23日"],[13303,1,"24日"],[13304,1,"25日"],[13305,1,"26日"],[13306,1,"27日"],[13307,1,"28日"],[13308,1,"29日"],[13309,1,"30日"],[13310,1,"31日"],[13311,1,"gal"],[[13312,19893],2],[[19894,19903],2],[[19904,19967],2],[[19968,40869],2],[[40870,40891],2],[[40892,40899],2],[[40900,40907],2],[40908,2],[[40909,40917],2],[[40918,40938],2],[[40939,40943],2],[[40944,40956],2],[[40957,40959],2],[[40960,42124],2],[[42125,42127],3],[[42128,42145],2],[[42146,42147],2],[[42148,42163],2],[42164,2],[[42165,42176],2],[42177,2],[[42178,42180],2],[42181,2],[42182,2],[[42183,42191],3],[[42192,42237],2],[[42238,42239],2],[[42240,42508],2],[[42509,42511],2],[[42512,42539],2],[[42540,42559],3],[42560,1,"ꙁ"],[42561,2],[42562,1,"ꙃ"],[42563,2],[42564,1,"ꙅ"],[42565,2],[42566,1,"ꙇ"],[42567,2],[42568,1,"ꙉ"],[42569,2],[42570,1,"ꙋ"],[42571,2],[42572,1,"ꙍ"],[42573,2],[42574,1,"ꙏ"],[42575,2],[42576,1,"ꙑ"],[42577,2],[42578,1,"ꙓ"],[42579,2],[42580,1,"ꙕ"],[42581,2],[42582,1,"ꙗ"],[42583,2],[42584,1,"ꙙ"],[42585,2],[42586,1,"ꙛ"],[42587,2],[42588,1,"ꙝ"],[42589,2],[42590,1,"ꙟ"],[42591,2],[42592,1,"ꙡ"],[42593,2],[42594,1,"ꙣ"],[42595,2],[42596,1,"ꙥ"],[42597,2],[42598,1,"ꙧ"],[42599,2],[42600,1,"ꙩ"],[42601,2],[42602,1,"ꙫ"],[42603,2],[42604,1,"ꙭ"],[[42605,42607],2],[[42608,42611],2],[[42612,42619],2],[[42620,42621],2],[42622,2],[42623,2],[42624,1,"ꚁ"],[42625,2],[42626,1,"ꚃ"],[42627,2],[42628,1,"ꚅ"],[42629,2],[42630,1,"ꚇ"],[42631,2],[42632,1,"ꚉ"],[42633,2],[42634,1,"ꚋ"],[42635,2],[42636,1,"ꚍ"],[42637,2],[42638,1,"ꚏ"],[42639,2],[42640,1,"ꚑ"],[42641,2],[42642,1,"ꚓ"],[42643,2],[42644,1,"ꚕ"],[42645,2],[42646,1,"ꚗ"],[42647,2],[42648,1,"ꚙ"],[42649,2],[42650,1,"ꚛ"],[42651,2],[42652,1,"ъ"],[42653,1,"ь"],[42654,2],[42655,2],[[42656,42725],2],[[42726,42735],2],[[42736,42737],2],[[42738,42743],2],[[42744,42751],3],[[42752,42774],2],[[42775,42778],2],[[42779,42783],2],[[42784,42785],2],[42786,1,"ꜣ"],[42787,2],[42788,1,"ꜥ"],[42789,2],[42790,1,"ꜧ"],[42791,2],[42792,1,"ꜩ"],[42793,2],[42794,1,"ꜫ"],[42795,2],[42796,1,"ꜭ"],[42797,2],[42798,1,"ꜯ"],[[42799,42801],2],[42802,1,"ꜳ"],[42803,2],[42804,1,"ꜵ"],[42805,2],[42806,1,"ꜷ"],[42807,2],[42808,1,"ꜹ"],[42809,2],[42810,1,"ꜻ"],[42811,2],[42812,1,"ꜽ"],[42813,2],[42814,1,"ꜿ"],[42815,2],[42816,1,"ꝁ"],[42817,2],[42818,1,"ꝃ"],[42819,2],[42820,1,"ꝅ"],[42821,2],[42822,1,"ꝇ"],[42823,2],[42824,1,"ꝉ"],[42825,2],[42826,1,"ꝋ"],[42827,2],[42828,1,"ꝍ"],[42829,2],[42830,1,"ꝏ"],[42831,2],[42832,1,"ꝑ"],[42833,2],[42834,1,"ꝓ"],[42835,2],[42836,1,"ꝕ"],[42837,2],[42838,1,"ꝗ"],[42839,2],[42840,1,"ꝙ"],[42841,2],[42842,1,"ꝛ"],[42843,2],[42844,1,"ꝝ"],[42845,2],[42846,1,"ꝟ"],[42847,2],[42848,1,"ꝡ"],[42849,2],[42850,1,"ꝣ"],[42851,2],[42852,1,"ꝥ"],[42853,2],[42854,1,"ꝧ"],[42855,2],[42856,1,"ꝩ"],[42857,2],[42858,1,"ꝫ"],[42859,2],[42860,1,"ꝭ"],[42861,2],[42862,1,"ꝯ"],[42863,2],[42864,1,"ꝯ"],[[42865,42872],2],[42873,1,"ꝺ"],[42874,2],[42875,1,"ꝼ"],[42876,2],[42877,1,"ᵹ"],[42878,1,"ꝿ"],[42879,2],[42880,1,"ꞁ"],[42881,2],[42882,1,"ꞃ"],[42883,2],[42884,1,"ꞅ"],[42885,2],[42886,1,"ꞇ"],[[42887,42888],2],[[42889,42890],2],[42891,1,"ꞌ"],[42892,2],[42893,1,"ɥ"],[42894,2],[42895,2],[42896,1,"ꞑ"],[42897,2],[42898,1,"ꞓ"],[42899,2],[[42900,42901],2],[42902,1,"ꞗ"],[42903,2],[42904,1,"ꞙ"],[42905,2],[42906,1,"ꞛ"],[42907,2],[42908,1,"ꞝ"],[42909,2],[42910,1,"ꞟ"],[42911,2],[42912,1,"ꞡ"],[42913,2],[42914,1,"ꞣ"],[42915,2],[42916,1,"ꞥ"],[42917,2],[42918,1,"ꞧ"],[42919,2],[42920,1,"ꞩ"],[42921,2],[42922,1,"ɦ"],[42923,1,"ɜ"],[42924,1,"ɡ"],[42925,1,"ɬ"],[42926,1,"ɪ"],[42927,2],[42928,1,"ʞ"],[42929,1,"ʇ"],[42930,1,"ʝ"],[42931,1,"ꭓ"],[42932,1,"ꞵ"],[42933,2],[42934,1,"ꞷ"],[42935,2],[42936,1,"ꞹ"],[42937,2],[42938,1,"ꞻ"],[42939,2],[42940,1,"ꞽ"],[42941,2],[42942,1,"ꞿ"],[42943,2],[42944,1,"ꟁ"],[42945,2],[42946,1,"ꟃ"],[42947,2],[42948,1,"ꞔ"],[42949,1,"ʂ"],[42950,1,"ᶎ"],[42951,1,"ꟈ"],[42952,2],[42953,1,"ꟊ"],[42954,2],[[42955,42959],3],[42960,1,"ꟑ"],[42961,2],[42962,3],[42963,2],[42964,3],[42965,2],[42966,1,"ꟗ"],[42967,2],[42968,1,"ꟙ"],[42969,2],[[42970,42993],3],[42994,1,"c"],[42995,1,"f"],[42996,1,"q"],[42997,1,"ꟶ"],[42998,2],[42999,2],[43000,1,"ħ"],[43001,1,"œ"],[43002,2],[[43003,43007],2],[[43008,43047],2],[[43048,43051],2],[43052,2],[[43053,43055],3],[[43056,43065],2],[[43066,43071],3],[[43072,43123],2],[[43124,43127],2],[[43128,43135],3],[[43136,43204],2],[43205,2],[[43206,43213],3],[[43214,43215],2],[[43216,43225],2],[[43226,43231],3],[[43232,43255],2],[[43256,43258],2],[43259,2],[43260,2],[43261,2],[[43262,43263],2],[[43264,43309],2],[[43310,43311],2],[[43312,43347],2],[[43348,43358],3],[43359,2],[[43360,43388],2],[[43389,43391],3],[[43392,43456],2],[[43457,43469],2],[43470,3],[[43471,43481],2],[[43482,43485],3],[[43486,43487],2],[[43488,43518],2],[43519,3],[[43520,43574],2],[[43575,43583],3],[[43584,43597],2],[[43598,43599],3],[[43600,43609],2],[[43610,43611],3],[[43612,43615],2],[[43616,43638],2],[[43639,43641],2],[[43642,43643],2],[[43644,43647],2],[[43648,43714],2],[[43715,43738],3],[[43739,43741],2],[[43742,43743],2],[[43744,43759],2],[[43760,43761],2],[[43762,43766],2],[[43767,43776],3],[[43777,43782],2],[[43783,43784],3],[[43785,43790],2],[[43791,43792],3],[[43793,43798],2],[[43799,43807],3],[[43808,43814],2],[43815,3],[[43816,43822],2],[43823,3],[[43824,43866],2],[43867,2],[43868,1,"ꜧ"],[43869,1,"ꬷ"],[43870,1,"ɫ"],[43871,1,"ꭒ"],[[43872,43875],2],[[43876,43877],2],[[43878,43879],2],[43880,2],[43881,1,"ʍ"],[[43882,43883],2],[[43884,43887],3],[43888,1,"Ꭰ"],[43889,1,"Ꭱ"],[43890,1,"Ꭲ"],[43891,1,"Ꭳ"],[43892,1,"Ꭴ"],[43893,1,"Ꭵ"],[43894,1,"Ꭶ"],[43895,1,"Ꭷ"],[43896,1,"Ꭸ"],[43897,1,"Ꭹ"],[43898,1,"Ꭺ"],[43899,1,"Ꭻ"],[43900,1,"Ꭼ"],[43901,1,"Ꭽ"],[43902,1,"Ꭾ"],[43903,1,"Ꭿ"],[43904,1,"Ꮀ"],[43905,1,"Ꮁ"],[43906,1,"Ꮂ"],[43907,1,"Ꮃ"],[43908,1,"Ꮄ"],[43909,1,"Ꮅ"],[43910,1,"Ꮆ"],[43911,1,"Ꮇ"],[43912,1,"Ꮈ"],[43913,1,"Ꮉ"],[43914,1,"Ꮊ"],[43915,1,"Ꮋ"],[43916,1,"Ꮌ"],[43917,1,"Ꮍ"],[43918,1,"Ꮎ"],[43919,1,"Ꮏ"],[43920,1,"Ꮐ"],[43921,1,"Ꮑ"],[43922,1,"Ꮒ"],[43923,1,"Ꮓ"],[43924,1,"Ꮔ"],[43925,1,"Ꮕ"],[43926,1,"Ꮖ"],[43927,1,"Ꮗ"],[43928,1,"Ꮘ"],[43929,1,"Ꮙ"],[43930,1,"Ꮚ"],[43931,1,"Ꮛ"],[43932,1,"Ꮜ"],[43933,1,"Ꮝ"],[43934,1,"Ꮞ"],[43935,1,"Ꮟ"],[43936,1,"Ꮠ"],[43937,1,"Ꮡ"],[43938,1,"Ꮢ"],[43939,1,"Ꮣ"],[43940,1,"Ꮤ"],[43941,1,"Ꮥ"],[43942,1,"Ꮦ"],[43943,1,"Ꮧ"],[43944,1,"Ꮨ"],[43945,1,"Ꮩ"],[43946,1,"Ꮪ"],[43947,1,"Ꮫ"],[43948,1,"Ꮬ"],[43949,1,"Ꮭ"],[43950,1,"Ꮮ"],[43951,1,"Ꮯ"],[43952,1,"Ꮰ"],[43953,1,"Ꮱ"],[43954,1,"Ꮲ"],[43955,1,"Ꮳ"],[43956,1,"Ꮴ"],[43957,1,"Ꮵ"],[43958,1,"Ꮶ"],[43959,1,"Ꮷ"],[43960,1,"Ꮸ"],[43961,1,"Ꮹ"],[43962,1,"Ꮺ"],[43963,1,"Ꮻ"],[43964,1,"Ꮼ"],[43965,1,"Ꮽ"],[43966,1,"Ꮾ"],[43967,1,"Ꮿ"],[[43968,44010],2],[44011,2],[[44012,44013],2],[[44014,44015],3],[[44016,44025],2],[[44026,44031],3],[[44032,55203],2],[[55204,55215],3],[[55216,55238],2],[[55239,55242],3],[[55243,55291],2],[[55292,55295],3],[[55296,57343],3],[[57344,63743],3],[63744,1,"豈"],[63745,1,"更"],[63746,1,"車"],[63747,1,"賈"],[63748,1,"滑"],[63749,1,"串"],[63750,1,"句"],[[63751,63752],1,"龜"],[63753,1,"契"],[63754,1,"金"],[63755,1,"喇"],[63756,1,"奈"],[63757,1,"懶"],[63758,1,"癩"],[63759,1,"羅"],[63760,1,"蘿"],[63761,1,"螺"],[63762,1,"裸"],[63763,1,"邏"],[63764,1,"樂"],[63765,1,"洛"],[63766,1,"烙"],[63767,1,"珞"],[63768,1,"落"],[63769,1,"酪"],[63770,1,"駱"],[63771,1,"亂"],[63772,1,"卵"],[63773,1,"欄"],[63774,1,"爛"],[63775,1,"蘭"],[63776,1,"鸞"],[63777,1,"嵐"],[63778,1,"濫"],[63779,1,"藍"],[63780,1,"襤"],[63781,1,"拉"],[63782,1,"臘"],[63783,1,"蠟"],[63784,1,"廊"],[63785,1,"朗"],[63786,1,"浪"],[63787,1,"狼"],[63788,1,"郎"],[63789,1,"來"],[63790,1,"冷"],[63791,1,"勞"],[63792,1,"擄"],[63793,1,"櫓"],[63794,1,"爐"],[63795,1,"盧"],[63796,1,"老"],[63797,1,"蘆"],[63798,1,"虜"],[63799,1,"路"],[63800,1,"露"],[63801,1,"魯"],[63802,1,"鷺"],[63803,1,"碌"],[63804,1,"祿"],[63805,1,"綠"],[63806,1,"菉"],[63807,1,"錄"],[63808,1,"鹿"],[63809,1,"論"],[63810,1,"壟"],[63811,1,"弄"],[63812,1,"籠"],[63813,1,"聾"],[63814,1,"牢"],[63815,1,"磊"],[63816,1,"賂"],[63817,1,"雷"],[63818,1,"壘"],[63819,1,"屢"],[63820,1,"樓"],[63821,1,"淚"],[63822,1,"漏"],[63823,1,"累"],[63824,1,"縷"],[63825,1,"陋"],[63826,1,"勒"],[63827,1,"肋"],[63828,1,"凜"],[63829,1,"凌"],[63830,1,"稜"],[63831,1,"綾"],[63832,1,"菱"],[63833,1,"陵"],[63834,1,"讀"],[63835,1,"拏"],[63836,1,"樂"],[63837,1,"諾"],[63838,1,"丹"],[63839,1,"寧"],[63840,1,"怒"],[63841,1,"率"],[63842,1,"異"],[63843,1,"北"],[63844,1,"磻"],[63845,1,"便"],[63846,1,"復"],[63847,1,"不"],[63848,1,"泌"],[63849,1,"數"],[63850,1,"索"],[63851,1,"參"],[63852,1,"塞"],[63853,1,"省"],[63854,1,"葉"],[63855,1,"說"],[63856,1,"殺"],[63857,1,"辰"],[63858,1,"沈"],[63859,1,"拾"],[63860,1,"若"],[63861,1,"掠"],[63862,1,"略"],[63863,1,"亮"],[63864,1,"兩"],[63865,1,"凉"],[63866,1,"梁"],[63867,1,"糧"],[63868,1,"良"],[63869,1,"諒"],[63870,1,"量"],[63871,1,"勵"],[63872,1,"呂"],[63873,1,"女"],[63874,1,"廬"],[63875,1,"旅"],[63876,1,"濾"],[63877,1,"礪"],[63878,1,"閭"],[63879,1,"驪"],[63880,1,"麗"],[63881,1,"黎"],[63882,1,"力"],[63883,1,"曆"],[63884,1,"歷"],[63885,1,"轢"],[63886,1,"年"],[63887,1,"憐"],[63888,1,"戀"],[63889,1,"撚"],[63890,1,"漣"],[63891,1,"煉"],[63892,1,"璉"],[63893,1,"秊"],[63894,1,"練"],[63895,1,"聯"],[63896,1,"輦"],[63897,1,"蓮"],[63898,1,"連"],[63899,1,"鍊"],[63900,1,"列"],[63901,1,"劣"],[63902,1,"咽"],[63903,1,"烈"],[63904,1,"裂"],[63905,1,"說"],[63906,1,"廉"],[63907,1,"念"],[63908,1,"捻"],[63909,1,"殮"],[63910,1,"簾"],[63911,1,"獵"],[63912,1,"令"],[63913,1,"囹"],[63914,1,"寧"],[63915,1,"嶺"],[63916,1,"怜"],[63917,1,"玲"],[63918,1,"瑩"],[63919,1,"羚"],[63920,1,"聆"],[63921,1,"鈴"],[63922,1,"零"],[63923,1,"靈"],[63924,1,"領"],[63925,1,"例"],[63926,1,"禮"],[63927,1,"醴"],[63928,1,"隸"],[63929,1,"惡"],[63930,1,"了"],[63931,1,"僚"],[63932,1,"寮"],[63933,1,"尿"],[63934,1,"料"],[63935,1,"樂"],[63936,1,"燎"],[63937,1,"療"],[63938,1,"蓼"],[63939,1,"遼"],[63940,1,"龍"],[63941,1,"暈"],[63942,1,"阮"],[63943,1,"劉"],[63944,1,"杻"],[63945,1,"柳"],[63946,1,"流"],[63947,1,"溜"],[63948,1,"琉"],[63949,1,"留"],[63950,1,"硫"],[63951,1,"紐"],[63952,1,"類"],[63953,1,"六"],[63954,1,"戮"],[63955,1,"陸"],[63956,1,"倫"],[63957,1,"崙"],[63958,1,"淪"],[63959,1,"輪"],[63960,1,"律"],[63961,1,"慄"],[63962,1,"栗"],[63963,1,"率"],[63964,1,"隆"],[63965,1,"利"],[63966,1,"吏"],[63967,1,"履"],[63968,1,"易"],[63969,1,"李"],[63970,1,"梨"],[63971,1,"泥"],[63972,1,"理"],[63973,1,"痢"],[63974,1,"罹"],[63975,1,"裏"],[63976,1,"裡"],[63977,1,"里"],[63978,1,"離"],[63979,1,"匿"],[63980,1,"溺"],[63981,1,"吝"],[63982,1,"燐"],[63983,1,"璘"],[63984,1,"藺"],[63985,1,"隣"],[63986,1,"鱗"],[63987,1,"麟"],[63988,1,"林"],[63989,1,"淋"],[63990,1,"臨"],[63991,1,"立"],[63992,1,"笠"],[63993,1,"粒"],[63994,1,"狀"],[63995,1,"炙"],[63996,1,"識"],[63997,1,"什"],[63998,1,"茶"],[63999,1,"刺"],[64000,1,"切"],[64001,1,"度"],[64002,1,"拓"],[64003,1,"糖"],[64004,1,"宅"],[64005,1,"洞"],[64006,1,"暴"],[64007,1,"輻"],[64008,1,"行"],[64009,1,"降"],[64010,1,"見"],[64011,1,"廓"],[64012,1,"兀"],[64013,1,"嗀"],[[64014,64015],2],[64016,1,"塚"],[64017,2],[64018,1,"晴"],[[64019,64020],2],[64021,1,"凞"],[64022,1,"猪"],[64023,1,"益"],[64024,1,"礼"],[64025,1,"神"],[64026,1,"祥"],[64027,1,"福"],[64028,1,"靖"],[64029,1,"精"],[64030,1,"羽"],[64031,2],[64032,1,"蘒"],[64033,2],[64034,1,"諸"],[[64035,64036],2],[64037,1,"逸"],[64038,1,"都"],[[64039,64041],2],[64042,1,"飯"],[64043,1,"飼"],[64044,1,"館"],[64045,1,"鶴"],[64046,1,"郞"],[64047,1,"隷"],[64048,1,"侮"],[64049,1,"僧"],[64050,1,"免"],[64051,1,"勉"],[64052,1,"勤"],[64053,1,"卑"],[64054,1,"喝"],[64055,1,"嘆"],[64056,1,"器"],[64057,1,"塀"],[64058,1,"墨"],[64059,1,"層"],[64060,1,"屮"],[64061,1,"悔"],[64062,1,"慨"],[64063,1,"憎"],[64064,1,"懲"],[64065,1,"敏"],[64066,1,"既"],[64067,1,"暑"],[64068,1,"梅"],[64069,1,"海"],[64070,1,"渚"],[64071,1,"漢"],[64072,1,"煮"],[64073,1,"爫"],[64074,1,"琢"],[64075,1,"碑"],[64076,1,"社"],[64077,1,"祉"],[64078,1,"祈"],[64079,1,"祐"],[64080,1,"祖"],[64081,1,"祝"],[64082,1,"禍"],[64083,1,"禎"],[64084,1,"穀"],[64085,1,"突"],[64086,1,"節"],[64087,1,"練"],[64088,1,"縉"],[64089,1,"繁"],[64090,1,"署"],[64091,1,"者"],[64092,1,"臭"],[[64093,64094],1,"艹"],[64095,1,"著"],[64096,1,"褐"],[64097,1,"視"],[64098,1,"謁"],[64099,1,"謹"],[64100,1,"賓"],[64101,1,"贈"],[64102,1,"辶"],[64103,1,"逸"],[64104,1,"難"],[64105,1,"響"],[64106,1,"頻"],[64107,1,"恵"],[64108,1,"𤋮"],[64109,1,"舘"],[[64110,64111],3],[64112,1,"並"],[64113,1,"况"],[64114,1,"全"],[64115,1,"侀"],[64116,1,"充"],[64117,1,"冀"],[64118,1,"勇"],[64119,1,"勺"],[64120,1,"喝"],[64121,1,"啕"],[64122,1,"喙"],[64123,1,"嗢"],[64124,1,"塚"],[64125,1,"墳"],[64126,1,"奄"],[64127,1,"奔"],[64128,1,"婢"],[64129,1,"嬨"],[64130,1,"廒"],[64131,1,"廙"],[64132,1,"彩"],[64133,1,"徭"],[64134,1,"惘"],[64135,1,"慎"],[64136,1,"愈"],[64137,1,"憎"],[64138,1,"慠"],[64139,1,"懲"],[64140,1,"戴"],[64141,1,"揄"],[64142,1,"搜"],[64143,1,"摒"],[64144,1,"敖"],[64145,1,"晴"],[64146,1,"朗"],[64147,1,"望"],[64148,1,"杖"],[64149,1,"歹"],[64150,1,"殺"],[64151,1,"流"],[64152,1,"滛"],[64153,1,"滋"],[64154,1,"漢"],[64155,1,"瀞"],[64156,1,"煮"],[64157,1,"瞧"],[64158,1,"爵"],[64159,1,"犯"],[64160,1,"猪"],[64161,1,"瑱"],[64162,1,"甆"],[64163,1,"画"],[64164,1,"瘝"],[64165,1,"瘟"],[64166,1,"益"],[64167,1,"盛"],[64168,1,"直"],[64169,1,"睊"],[64170,1,"着"],[64171,1,"磌"],[64172,1,"窱"],[64173,1,"節"],[64174,1,"类"],[64175,1,"絛"],[64176,1,"練"],[64177,1,"缾"],[64178,1,"者"],[64179,1,"荒"],[64180,1,"華"],[64181,1,"蝹"],[64182,1,"襁"],[64183,1,"覆"],[64184,1,"視"],[64185,1,"調"],[64186,1,"諸"],[64187,1,"請"],[64188,1,"謁"],[64189,1,"諾"],[64190,1,"諭"],[64191,1,"謹"],[64192,1,"變"],[64193,1,"贈"],[64194,1,"輸"],[64195,1,"遲"],[64196,1,"醙"],[64197,1,"鉶"],[64198,1,"陼"],[64199,1,"難"],[64200,1,"靖"],[64201,1,"韛"],[64202,1,"響"],[64203,1,"頋"],[64204,1,"頻"],[64205,1,"鬒"],[64206,1,"龜"],[64207,1,"𢡊"],[64208,1,"𢡄"],[64209,1,"𣏕"],[64210,1,"㮝"],[64211,1,"䀘"],[64212,1,"䀹"],[64213,1,"𥉉"],[64214,1,"𥳐"],[64215,1,"𧻓"],[64216,1,"齃"],[64217,1,"龎"],[[64218,64255],3],[64256,1,"ff"],[64257,1,"fi"],[64258,1,"fl"],[64259,1,"ffi"],[64260,1,"ffl"],[[64261,64262],1,"st"],[[64263,64274],3],[64275,1,"մն"],[64276,1,"մե"],[64277,1,"մի"],[64278,1,"վն"],[64279,1,"մխ"],[[64280,64284],3],[64285,1,"יִ"],[64286,2],[64287,1,"ײַ"],[64288,1,"ע"],[64289,1,"א"],[64290,1,"ד"],[64291,1,"ה"],[64292,1,"כ"],[64293,1,"ל"],[64294,1,"ם"],[64295,1,"ר"],[64296,1,"ת"],[64297,5,"+"],[64298,1,"שׁ"],[64299,1,"שׂ"],[64300,1,"שּׁ"],[64301,1,"שּׂ"],[64302,1,"אַ"],[64303,1,"אָ"],[64304,1,"אּ"],[64305,1,"בּ"],[64306,1,"גּ"],[64307,1,"דּ"],[64308,1,"הּ"],[64309,1,"וּ"],[64310,1,"זּ"],[64311,3],[64312,1,"טּ"],[64313,1,"יּ"],[64314,1,"ךּ"],[64315,1,"כּ"],[64316,1,"לּ"],[64317,3],[64318,1,"מּ"],[64319,3],[64320,1,"נּ"],[64321,1,"סּ"],[64322,3],[64323,1,"ףּ"],[64324,1,"פּ"],[64325,3],[64326,1,"צּ"],[64327,1,"קּ"],[64328,1,"רּ"],[64329,1,"שּ"],[64330,1,"תּ"],[64331,1,"וֹ"],[64332,1,"בֿ"],[64333,1,"כֿ"],[64334,1,"פֿ"],[64335,1,"אל"],[[64336,64337],1,"ٱ"],[[64338,64341],1,"ٻ"],[[64342,64345],1,"پ"],[[64346,64349],1,"ڀ"],[[64350,64353],1,"ٺ"],[[64354,64357],1,"ٿ"],[[64358,64361],1,"ٹ"],[[64362,64365],1,"ڤ"],[[64366,64369],1,"ڦ"],[[64370,64373],1,"ڄ"],[[64374,64377],1,"ڃ"],[[64378,64381],1,"چ"],[[64382,64385],1,"ڇ"],[[64386,64387],1,"ڍ"],[[64388,64389],1,"ڌ"],[[64390,64391],1,"ڎ"],[[64392,64393],1,"ڈ"],[[64394,64395],1,"ژ"],[[64396,64397],1,"ڑ"],[[64398,64401],1,"ک"],[[64402,64405],1,"گ"],[[64406,64409],1,"ڳ"],[[64410,64413],1,"ڱ"],[[64414,64415],1,"ں"],[[64416,64419],1,"ڻ"],[[64420,64421],1,"ۀ"],[[64422,64425],1,"ہ"],[[64426,64429],1,"ھ"],[[64430,64431],1,"ے"],[[64432,64433],1,"ۓ"],[[64434,64449],2],[64450,2],[[64451,64466],3],[[64467,64470],1,"ڭ"],[[64471,64472],1,"ۇ"],[[64473,64474],1,"ۆ"],[[64475,64476],1,"ۈ"],[64477,1,"ۇٴ"],[[64478,64479],1,"ۋ"],[[64480,64481],1,"ۅ"],[[64482,64483],1,"ۉ"],[[64484,64487],1,"ې"],[[64488,64489],1,"ى"],[[64490,64491],1,"ئا"],[[64492,64493],1,"ئە"],[[64494,64495],1,"ئو"],[[64496,64497],1,"ئۇ"],[[64498,64499],1,"ئۆ"],[[64500,64501],1,"ئۈ"],[[64502,64504],1,"ئې"],[[64505,64507],1,"ئى"],[[64508,64511],1,"ی"],[64512,1,"ئج"],[64513,1,"ئح"],[64514,1,"ئم"],[64515,1,"ئى"],[64516,1,"ئي"],[64517,1,"بج"],[64518,1,"بح"],[64519,1,"بخ"],[64520,1,"بم"],[64521,1,"بى"],[64522,1,"بي"],[64523,1,"تج"],[64524,1,"تح"],[64525,1,"تخ"],[64526,1,"تم"],[64527,1,"تى"],[64528,1,"تي"],[64529,1,"ثج"],[64530,1,"ثم"],[64531,1,"ثى"],[64532,1,"ثي"],[64533,1,"جح"],[64534,1,"جم"],[64535,1,"حج"],[64536,1,"حم"],[64537,1,"خج"],[64538,1,"خح"],[64539,1,"خم"],[64540,1,"سج"],[64541,1,"سح"],[64542,1,"سخ"],[64543,1,"سم"],[64544,1,"صح"],[64545,1,"صم"],[64546,1,"ضج"],[64547,1,"ضح"],[64548,1,"ضخ"],[64549,1,"ضم"],[64550,1,"طح"],[64551,1,"طم"],[64552,1,"ظم"],[64553,1,"عج"],[64554,1,"عم"],[64555,1,"غج"],[64556,1,"غم"],[64557,1,"فج"],[64558,1,"فح"],[64559,1,"فخ"],[64560,1,"فم"],[64561,1,"فى"],[64562,1,"في"],[64563,1,"قح"],[64564,1,"قم"],[64565,1,"قى"],[64566,1,"قي"],[64567,1,"كا"],[64568,1,"كج"],[64569,1,"كح"],[64570,1,"كخ"],[64571,1,"كل"],[64572,1,"كم"],[64573,1,"كى"],[64574,1,"كي"],[64575,1,"لج"],[64576,1,"لح"],[64577,1,"لخ"],[64578,1,"لم"],[64579,1,"لى"],[64580,1,"لي"],[64581,1,"مج"],[64582,1,"مح"],[64583,1,"مخ"],[64584,1,"مم"],[64585,1,"مى"],[64586,1,"مي"],[64587,1,"نج"],[64588,1,"نح"],[64589,1,"نخ"],[64590,1,"نم"],[64591,1,"نى"],[64592,1,"ني"],[64593,1,"هج"],[64594,1,"هم"],[64595,1,"هى"],[64596,1,"هي"],[64597,1,"يج"],[64598,1,"يح"],[64599,1,"يخ"],[64600,1,"يم"],[64601,1,"يى"],[64602,1,"يي"],[64603,1,"ذٰ"],[64604,1,"رٰ"],[64605,1,"ىٰ"],[64606,5," ٌّ"],[64607,5," ٍّ"],[64608,5," َّ"],[64609,5," ُّ"],[64610,5," ِّ"],[64611,5," ّٰ"],[64612,1,"ئر"],[64613,1,"ئز"],[64614,1,"ئم"],[64615,1,"ئن"],[64616,1,"ئى"],[64617,1,"ئي"],[64618,1,"بر"],[64619,1,"بز"],[64620,1,"بم"],[64621,1,"بن"],[64622,1,"بى"],[64623,1,"بي"],[64624,1,"تر"],[64625,1,"تز"],[64626,1,"تم"],[64627,1,"تن"],[64628,1,"تى"],[64629,1,"تي"],[64630,1,"ثر"],[64631,1,"ثز"],[64632,1,"ثم"],[64633,1,"ثن"],[64634,1,"ثى"],[64635,1,"ثي"],[64636,1,"فى"],[64637,1,"في"],[64638,1,"قى"],[64639,1,"قي"],[64640,1,"كا"],[64641,1,"كل"],[64642,1,"كم"],[64643,1,"كى"],[64644,1,"كي"],[64645,1,"لم"],[64646,1,"لى"],[64647,1,"لي"],[64648,1,"ما"],[64649,1,"مم"],[64650,1,"نر"],[64651,1,"نز"],[64652,1,"نم"],[64653,1,"نن"],[64654,1,"نى"],[64655,1,"ني"],[64656,1,"ىٰ"],[64657,1,"ير"],[64658,1,"يز"],[64659,1,"يم"],[64660,1,"ين"],[64661,1,"يى"],[64662,1,"يي"],[64663,1,"ئج"],[64664,1,"ئح"],[64665,1,"ئخ"],[64666,1,"ئم"],[64667,1,"ئه"],[64668,1,"بج"],[64669,1,"بح"],[64670,1,"بخ"],[64671,1,"بم"],[64672,1,"به"],[64673,1,"تج"],[64674,1,"تح"],[64675,1,"تخ"],[64676,1,"تم"],[64677,1,"ته"],[64678,1,"ثم"],[64679,1,"جح"],[64680,1,"جم"],[64681,1,"حج"],[64682,1,"حم"],[64683,1,"خج"],[64684,1,"خم"],[64685,1,"سج"],[64686,1,"سح"],[64687,1,"سخ"],[64688,1,"سم"],[64689,1,"صح"],[64690,1,"صخ"],[64691,1,"صم"],[64692,1,"ضج"],[64693,1,"ضح"],[64694,1,"ضخ"],[64695,1,"ضم"],[64696,1,"طح"],[64697,1,"ظم"],[64698,1,"عج"],[64699,1,"عم"],[64700,1,"غج"],[64701,1,"غم"],[64702,1,"فج"],[64703,1,"فح"],[64704,1,"فخ"],[64705,1,"فم"],[64706,1,"قح"],[64707,1,"قم"],[64708,1,"كج"],[64709,1,"كح"],[64710,1,"كخ"],[64711,1,"كل"],[64712,1,"كم"],[64713,1,"لج"],[64714,1,"لح"],[64715,1,"لخ"],[64716,1,"لم"],[64717,1,"له"],[64718,1,"مج"],[64719,1,"مح"],[64720,1,"مخ"],[64721,1,"مم"],[64722,1,"نج"],[64723,1,"نح"],[64724,1,"نخ"],[64725,1,"نم"],[64726,1,"نه"],[64727,1,"هج"],[64728,1,"هم"],[64729,1,"هٰ"],[64730,1,"يج"],[64731,1,"يح"],[64732,1,"يخ"],[64733,1,"يم"],[64734,1,"يه"],[64735,1,"ئم"],[64736,1,"ئه"],[64737,1,"بم"],[64738,1,"به"],[64739,1,"تم"],[64740,1,"ته"],[64741,1,"ثم"],[64742,1,"ثه"],[64743,1,"سم"],[64744,1,"سه"],[64745,1,"شم"],[64746,1,"شه"],[64747,1,"كل"],[64748,1,"كم"],[64749,1,"لم"],[64750,1,"نم"],[64751,1,"نه"],[64752,1,"يم"],[64753,1,"يه"],[64754,1,"ـَّ"],[64755,1,"ـُّ"],[64756,1,"ـِّ"],[64757,1,"طى"],[64758,1,"طي"],[64759,1,"عى"],[64760,1,"عي"],[64761,1,"غى"],[64762,1,"غي"],[64763,1,"سى"],[64764,1,"سي"],[64765,1,"شى"],[64766,1,"شي"],[64767,1,"حى"],[64768,1,"حي"],[64769,1,"جى"],[64770,1,"جي"],[64771,1,"خى"],[64772,1,"خي"],[64773,1,"صى"],[64774,1,"صي"],[64775,1,"ضى"],[64776,1,"ضي"],[64777,1,"شج"],[64778,1,"شح"],[64779,1,"شخ"],[64780,1,"شم"],[64781,1,"شر"],[64782,1,"سر"],[64783,1,"صر"],[64784,1,"ضر"],[64785,1,"طى"],[64786,1,"طي"],[64787,1,"عى"],[64788,1,"عي"],[64789,1,"غى"],[64790,1,"غي"],[64791,1,"سى"],[64792,1,"سي"],[64793,1,"شى"],[64794,1,"شي"],[64795,1,"حى"],[64796,1,"حي"],[64797,1,"جى"],[64798,1,"جي"],[64799,1,"خى"],[64800,1,"خي"],[64801,1,"صى"],[64802,1,"صي"],[64803,1,"ضى"],[64804,1,"ضي"],[64805,1,"شج"],[64806,1,"شح"],[64807,1,"شخ"],[64808,1,"شم"],[64809,1,"شر"],[64810,1,"سر"],[64811,1,"صر"],[64812,1,"ضر"],[64813,1,"شج"],[64814,1,"شح"],[64815,1,"شخ"],[64816,1,"شم"],[64817,1,"سه"],[64818,1,"شه"],[64819,1,"طم"],[64820,1,"سج"],[64821,1,"سح"],[64822,1,"سخ"],[64823,1,"شج"],[64824,1,"شح"],[64825,1,"شخ"],[64826,1,"طم"],[64827,1,"ظم"],[[64828,64829],1,"اً"],[[64830,64831],2],[[64832,64847],2],[64848,1,"تجم"],[[64849,64850],1,"تحج"],[64851,1,"تحم"],[64852,1,"تخم"],[64853,1,"تمج"],[64854,1,"تمح"],[64855,1,"تمخ"],[[64856,64857],1,"جمح"],[64858,1,"حمي"],[64859,1,"حمى"],[64860,1,"سحج"],[64861,1,"سجح"],[64862,1,"سجى"],[[64863,64864],1,"سمح"],[64865,1,"سمج"],[[64866,64867],1,"سمم"],[[64868,64869],1,"صحح"],[64870,1,"صمم"],[[64871,64872],1,"شحم"],[64873,1,"شجي"],[[64874,64875],1,"شمخ"],[[64876,64877],1,"شمم"],[64878,1,"ضحى"],[[64879,64880],1,"ضخم"],[[64881,64882],1,"طمح"],[64883,1,"طمم"],[64884,1,"طمي"],[64885,1,"عجم"],[[64886,64887],1,"عمم"],[64888,1,"عمى"],[64889,1,"غمم"],[64890,1,"غمي"],[64891,1,"غمى"],[[64892,64893],1,"فخم"],[64894,1,"قمح"],[64895,1,"قمم"],[64896,1,"لحم"],[64897,1,"لحي"],[64898,1,"لحى"],[[64899,64900],1,"لجج"],[[64901,64902],1,"لخم"],[[64903,64904],1,"لمح"],[64905,1,"محج"],[64906,1,"محم"],[64907,1,"محي"],[64908,1,"مجح"],[64909,1,"مجم"],[64910,1,"مخج"],[64911,1,"مخم"],[[64912,64913],3],[64914,1,"مجخ"],[64915,1,"همج"],[64916,1,"همم"],[64917,1,"نحم"],[64918,1,"نحى"],[[64919,64920],1,"نجم"],[64921,1,"نجى"],[64922,1,"نمي"],[64923,1,"نمى"],[[64924,64925],1,"يمم"],[64926,1,"بخي"],[64927,1,"تجي"],[64928,1,"تجى"],[64929,1,"تخي"],[64930,1,"تخى"],[64931,1,"تمي"],[64932,1,"تمى"],[64933,1,"جمي"],[64934,1,"جحى"],[64935,1,"جمى"],[64936,1,"سخى"],[64937,1,"صحي"],[64938,1,"شحي"],[64939,1,"ضحي"],[64940,1,"لجي"],[64941,1,"لمي"],[64942,1,"يحي"],[64943,1,"يجي"],[64944,1,"يمي"],[64945,1,"ممي"],[64946,1,"قمي"],[64947,1,"نحي"],[64948,1,"قمح"],[64949,1,"لحم"],[64950,1,"عمي"],[64951,1,"كمي"],[64952,1,"نجح"],[64953,1,"مخي"],[64954,1,"لجم"],[64955,1,"كمم"],[64956,1,"لجم"],[64957,1,"نجح"],[64958,1,"جحي"],[64959,1,"حجي"],[64960,1,"مجي"],[64961,1,"فمي"],[64962,1,"بحي"],[64963,1,"كمم"],[64964,1,"عجم"],[64965,1,"صمم"],[64966,1,"سخي"],[64967,1,"نجي"],[[64968,64974],3],[64975,2],[[64976,65007],3],[65008,1,"صلے"],[65009,1,"قلے"],[65010,1,"الله"],[65011,1,"اكبر"],[65012,1,"محمد"],[65013,1,"صلعم"],[65014,1,"رسول"],[65015,1,"عليه"],[65016,1,"وسلم"],[65017,1,"صلى"],[65018,5,"صلى الله عليه وسلم"],[65019,5,"جل جلاله"],[65020,1,"ریال"],[65021,2],[[65022,65023],2],[[65024,65039],7],[65040,5,","],[65041,1,"、"],[65042,3],[65043,5,":"],[65044,5,";"],[65045,5,"!"],[65046,5,"?"],[65047,1,"〖"],[65048,1,"〗"],[65049,3],[[65050,65055],3],[[65056,65059],2],[[65060,65062],2],[[65063,65069],2],[[65070,65071],2],[65072,3],[65073,1,"—"],[65074,1,"–"],[[65075,65076],5,"_"],[65077,5,"("],[65078,5,")"],[65079,5,"{"],[65080,5,"}"],[65081,1,"〔"],[65082,1,"〕"],[65083,1,"【"],[65084,1,"】"],[65085,1,"《"],[65086,1,"》"],[65087,1,"〈"],[65088,1,"〉"],[65089,1,"「"],[65090,1,"」"],[65091,1,"『"],[65092,1,"』"],[[65093,65094],2],[65095,5,"["],[65096,5,"]"],[[65097,65100],5," ̅"],[[65101,65103],5,"_"],[65104,5,","],[65105,1,"、"],[65106,3],[65107,3],[65108,5,";"],[65109,5,":"],[65110,5,"?"],[65111,5,"!"],[65112,1,"—"],[65113,5,"("],[65114,5,")"],[65115,5,"{"],[65116,5,"}"],[65117,1,"〔"],[65118,1,"〕"],[65119,5,"#"],[65120,5,"&"],[65121,5,"*"],[65122,5,"+"],[65123,1,"-"],[65124,5,"<"],[65125,5,">"],[65126,5,"="],[65127,3],[65128,5,"\\\\"],[65129,5,"$"],[65130,5,"%"],[65131,5,"@"],[[65132,65135],3],[65136,5," ً"],[65137,1,"ـً"],[65138,5," ٌ"],[65139,2],[65140,5," ٍ"],[65141,3],[65142,5," َ"],[65143,1,"ـَ"],[65144,5," ُ"],[65145,1,"ـُ"],[65146,5," ِ"],[65147,1,"ـِ"],[65148,5," ّ"],[65149,1,"ـّ"],[65150,5," ْ"],[65151,1,"ـْ"],[65152,1,"ء"],[[65153,65154],1,"آ"],[[65155,65156],1,"أ"],[[65157,65158],1,"ؤ"],[[65159,65160],1,"إ"],[[65161,65164],1,"ئ"],[[65165,65166],1,"ا"],[[65167,65170],1,"ب"],[[65171,65172],1,"ة"],[[65173,65176],1,"ت"],[[65177,65180],1,"ث"],[[65181,65184],1,"ج"],[[65185,65188],1,"ح"],[[65189,65192],1,"خ"],[[65193,65194],1,"د"],[[65195,65196],1,"ذ"],[[65197,65198],1,"ر"],[[65199,65200],1,"ز"],[[65201,65204],1,"س"],[[65205,65208],1,"ش"],[[65209,65212],1,"ص"],[[65213,65216],1,"ض"],[[65217,65220],1,"ط"],[[65221,65224],1,"ظ"],[[65225,65228],1,"ع"],[[65229,65232],1,"غ"],[[65233,65236],1,"ف"],[[65237,65240],1,"ق"],[[65241,65244],1,"ك"],[[65245,65248],1,"ل"],[[65249,65252],1,"م"],[[65253,65256],1,"ن"],[[65257,65260],1,"ه"],[[65261,65262],1,"و"],[[65263,65264],1,"ى"],[[65265,65268],1,"ي"],[[65269,65270],1,"لآ"],[[65271,65272],1,"لأ"],[[65273,65274],1,"لإ"],[[65275,65276],1,"لا"],[[65277,65278],3],[65279,7],[65280,3],[65281,5,"!"],[65282,5,"\\""],[65283,5,"#"],[65284,5,"$"],[65285,5,"%"],[65286,5,"&"],[65287,5,"\'"],[65288,5,"("],[65289,5,")"],[65290,5,"*"],[65291,5,"+"],[65292,5,","],[65293,1,"-"],[65294,1,"."],[65295,5,"/"],[65296,1,"0"],[65297,1,"1"],[65298,1,"2"],[65299,1,"3"],[65300,1,"4"],[65301,1,"5"],[65302,1,"6"],[65303,1,"7"],[65304,1,"8"],[65305,1,"9"],[65306,5,":"],[65307,5,";"],[65308,5,"<"],[65309,5,"="],[65310,5,">"],[65311,5,"?"],[65312,5,"@"],[65313,1,"a"],[65314,1,"b"],[65315,1,"c"],[65316,1,"d"],[65317,1,"e"],[65318,1,"f"],[65319,1,"g"],[65320,1,"h"],[65321,1,"i"],[65322,1,"j"],[65323,1,"k"],[65324,1,"l"],[65325,1,"m"],[65326,1,"n"],[65327,1,"o"],[65328,1,"p"],[65329,1,"q"],[65330,1,"r"],[65331,1,"s"],[65332,1,"t"],[65333,1,"u"],[65334,1,"v"],[65335,1,"w"],[65336,1,"x"],[65337,1,"y"],[65338,1,"z"],[65339,5,"["],[65340,5,"\\\\"],[65341,5,"]"],[65342,5,"^"],[65343,5,"_"],[65344,5,"`"],[65345,1,"a"],[65346,1,"b"],[65347,1,"c"],[65348,1,"d"],[65349,1,"e"],[65350,1,"f"],[65351,1,"g"],[65352,1,"h"],[65353,1,"i"],[65354,1,"j"],[65355,1,"k"],[65356,1,"l"],[65357,1,"m"],[65358,1,"n"],[65359,1,"o"],[65360,1,"p"],[65361,1,"q"],[65362,1,"r"],[65363,1,"s"],[65364,1,"t"],[65365,1,"u"],[65366,1,"v"],[65367,1,"w"],[65368,1,"x"],[65369,1,"y"],[65370,1,"z"],[65371,5,"{"],[65372,5,"|"],[65373,5,"}"],[65374,5,"~"],[65375,1,"⦅"],[65376,1,"⦆"],[65377,1,"."],[65378,1,"「"],[65379,1,"」"],[65380,1,"、"],[65381,1,"・"],[65382,1,"ヲ"],[65383,1,"ァ"],[65384,1,"ィ"],[65385,1,"ゥ"],[65386,1,"ェ"],[65387,1,"ォ"],[65388,1,"ャ"],[65389,1,"ュ"],[65390,1,"ョ"],[65391,1,"ッ"],[65392,1,"ー"],[65393,1,"ア"],[65394,1,"イ"],[65395,1,"ウ"],[65396,1,"エ"],[65397,1,"オ"],[65398,1,"カ"],[65399,1,"キ"],[65400,1,"ク"],[65401,1,"ケ"],[65402,1,"コ"],[65403,1,"サ"],[65404,1,"シ"],[65405,1,"ス"],[65406,1,"セ"],[65407,1,"ソ"],[65408,1,"タ"],[65409,1,"チ"],[65410,1,"ツ"],[65411,1,"テ"],[65412,1,"ト"],[65413,1,"ナ"],[65414,1,"ニ"],[65415,1,"ヌ"],[65416,1,"ネ"],[65417,1,"ノ"],[65418,1,"ハ"],[65419,1,"ヒ"],[65420,1,"フ"],[65421,1,"ヘ"],[65422,1,"ホ"],[65423,1,"マ"],[65424,1,"ミ"],[65425,1,"ム"],[65426,1,"メ"],[65427,1,"モ"],[65428,1,"ヤ"],[65429,1,"ユ"],[65430,1,"ヨ"],[65431,1,"ラ"],[65432,1,"リ"],[65433,1,"ル"],[65434,1,"レ"],[65435,1,"ロ"],[65436,1,"ワ"],[65437,1,"ン"],[65438,1,"゙"],[65439,1,"゚"],[65440,3],[65441,1,"ᄀ"],[65442,1,"ᄁ"],[65443,1,"ᆪ"],[65444,1,"ᄂ"],[65445,1,"ᆬ"],[65446,1,"ᆭ"],[65447,1,"ᄃ"],[65448,1,"ᄄ"],[65449,1,"ᄅ"],[65450,1,"ᆰ"],[65451,1,"ᆱ"],[65452,1,"ᆲ"],[65453,1,"ᆳ"],[65454,1,"ᆴ"],[65455,1,"ᆵ"],[65456,1,"ᄚ"],[65457,1,"ᄆ"],[65458,1,"ᄇ"],[65459,1,"ᄈ"],[65460,1,"ᄡ"],[65461,1,"ᄉ"],[65462,1,"ᄊ"],[65463,1,"ᄋ"],[65464,1,"ᄌ"],[65465,1,"ᄍ"],[65466,1,"ᄎ"],[65467,1,"ᄏ"],[65468,1,"ᄐ"],[65469,1,"ᄑ"],[65470,1,"ᄒ"],[[65471,65473],3],[65474,1,"ᅡ"],[65475,1,"ᅢ"],[65476,1,"ᅣ"],[65477,1,"ᅤ"],[65478,1,"ᅥ"],[65479,1,"ᅦ"],[[65480,65481],3],[65482,1,"ᅧ"],[65483,1,"ᅨ"],[65484,1,"ᅩ"],[65485,1,"ᅪ"],[65486,1,"ᅫ"],[65487,1,"ᅬ"],[[65488,65489],3],[65490,1,"ᅭ"],[65491,1,"ᅮ"],[65492,1,"ᅯ"],[65493,1,"ᅰ"],[65494,1,"ᅱ"],[65495,1,"ᅲ"],[[65496,65497],3],[65498,1,"ᅳ"],[65499,1,"ᅴ"],[65500,1,"ᅵ"],[[65501,65503],3],[65504,1,"¢"],[65505,1,"£"],[65506,1,"¬"],[65507,5," ̄"],[65508,1,"¦"],[65509,1,"¥"],[65510,1,"₩"],[65511,3],[65512,1,"│"],[65513,1,"←"],[65514,1,"↑"],[65515,1,"→"],[65516,1,"↓"],[65517,1,"■"],[65518,1,"○"],[[65519,65528],3],[[65529,65531],3],[65532,3],[65533,3],[[65534,65535],3],[[65536,65547],2],[65548,3],[[65549,65574],2],[65575,3],[[65576,65594],2],[65595,3],[[65596,65597],2],[65598,3],[[65599,65613],2],[[65614,65615],3],[[65616,65629],2],[[65630,65663],3],[[65664,65786],2],[[65787,65791],3],[[65792,65794],2],[[65795,65798],3],[[65799,65843],2],[[65844,65846],3],[[65847,65855],2],[[65856,65930],2],[[65931,65932],2],[[65933,65934],2],[65935,3],[[65936,65947],2],[65948,2],[[65949,65951],3],[65952,2],[[65953,65999],3],[[66000,66044],2],[66045,2],[[66046,66175],3],[[66176,66204],2],[[66205,66207],3],[[66208,66256],2],[[66257,66271],3],[66272,2],[[66273,66299],2],[[66300,66303],3],[[66304,66334],2],[66335,2],[[66336,66339],2],[[66340,66348],3],[[66349,66351],2],[[66352,66368],2],[66369,2],[[66370,66377],2],[66378,2],[[66379,66383],3],[[66384,66426],2],[[66427,66431],3],[[66432,66461],2],[66462,3],[66463,2],[[66464,66499],2],[[66500,66503],3],[[66504,66511],2],[[66512,66517],2],[[66518,66559],3],[66560,1,"𐐨"],[66561,1,"𐐩"],[66562,1,"𐐪"],[66563,1,"𐐫"],[66564,1,"𐐬"],[66565,1,"𐐭"],[66566,1,"𐐮"],[66567,1,"𐐯"],[66568,1,"𐐰"],[66569,1,"𐐱"],[66570,1,"𐐲"],[66571,1,"𐐳"],[66572,1,"𐐴"],[66573,1,"𐐵"],[66574,1,"𐐶"],[66575,1,"𐐷"],[66576,1,"𐐸"],[66577,1,"𐐹"],[66578,1,"𐐺"],[66579,1,"𐐻"],[66580,1,"𐐼"],[66581,1,"𐐽"],[66582,1,"𐐾"],[66583,1,"𐐿"],[66584,1,"𐑀"],[66585,1,"𐑁"],[66586,1,"𐑂"],[66587,1,"𐑃"],[66588,1,"𐑄"],[66589,1,"𐑅"],[66590,1,"𐑆"],[66591,1,"𐑇"],[66592,1,"𐑈"],[66593,1,"𐑉"],[66594,1,"𐑊"],[66595,1,"𐑋"],[66596,1,"𐑌"],[66597,1,"𐑍"],[66598,1,"𐑎"],[66599,1,"𐑏"],[[66600,66637],2],[[66638,66717],2],[[66718,66719],3],[[66720,66729],2],[[66730,66735],3],[66736,1,"𐓘"],[66737,1,"𐓙"],[66738,1,"𐓚"],[66739,1,"𐓛"],[66740,1,"𐓜"],[66741,1,"𐓝"],[66742,1,"𐓞"],[66743,1,"𐓟"],[66744,1,"𐓠"],[66745,1,"𐓡"],[66746,1,"𐓢"],[66747,1,"𐓣"],[66748,1,"𐓤"],[66749,1,"𐓥"],[66750,1,"𐓦"],[66751,1,"𐓧"],[66752,1,"𐓨"],[66753,1,"𐓩"],[66754,1,"𐓪"],[66755,1,"𐓫"],[66756,1,"𐓬"],[66757,1,"𐓭"],[66758,1,"𐓮"],[66759,1,"𐓯"],[66760,1,"𐓰"],[66761,1,"𐓱"],[66762,1,"𐓲"],[66763,1,"𐓳"],[66764,1,"𐓴"],[66765,1,"𐓵"],[66766,1,"𐓶"],[66767,1,"𐓷"],[66768,1,"𐓸"],[66769,1,"𐓹"],[66770,1,"𐓺"],[66771,1,"𐓻"],[[66772,66775],3],[[66776,66811],2],[[66812,66815],3],[[66816,66855],2],[[66856,66863],3],[[66864,66915],2],[[66916,66926],3],[66927,2],[66928,1,"𐖗"],[66929,1,"𐖘"],[66930,1,"𐖙"],[66931,1,"𐖚"],[66932,1,"𐖛"],[66933,1,"𐖜"],[66934,1,"𐖝"],[66935,1,"𐖞"],[66936,1,"𐖟"],[66937,1,"𐖠"],[66938,1,"𐖡"],[66939,3],[66940,1,"𐖣"],[66941,1,"𐖤"],[66942,1,"𐖥"],[66943,1,"𐖦"],[66944,1,"𐖧"],[66945,1,"𐖨"],[66946,1,"𐖩"],[66947,1,"𐖪"],[66948,1,"𐖫"],[66949,1,"𐖬"],[66950,1,"𐖭"],[66951,1,"𐖮"],[66952,1,"𐖯"],[66953,1,"𐖰"],[66954,1,"𐖱"],[66955,3],[66956,1,"𐖳"],[66957,1,"𐖴"],[66958,1,"𐖵"],[66959,1,"𐖶"],[66960,1,"𐖷"],[66961,1,"𐖸"],[66962,1,"𐖹"],[66963,3],[66964,1,"𐖻"],[66965,1,"𐖼"],[66966,3],[[66967,66977],2],[66978,3],[[66979,66993],2],[66994,3],[[66995,67001],2],[67002,3],[[67003,67004],2],[[67005,67071],3],[[67072,67382],2],[[67383,67391],3],[[67392,67413],2],[[67414,67423],3],[[67424,67431],2],[[67432,67455],3],[67456,2],[67457,1,"ː"],[67458,1,"ˑ"],[67459,1,"æ"],[67460,1,"ʙ"],[67461,1,"ɓ"],[67462,3],[67463,1,"ʣ"],[67464,1,"ꭦ"],[67465,1,"ʥ"],[67466,1,"ʤ"],[67467,1,"ɖ"],[67468,1,"ɗ"],[67469,1,"ᶑ"],[67470,1,"ɘ"],[67471,1,"ɞ"],[67472,1,"ʩ"],[67473,1,"ɤ"],[67474,1,"ɢ"],[67475,1,"ɠ"],[67476,1,"ʛ"],[67477,1,"ħ"],[67478,1,"ʜ"],[67479,1,"ɧ"],[67480,1,"ʄ"],[67481,1,"ʪ"],[67482,1,"ʫ"],[67483,1,"ɬ"],[67484,1,"𝼄"],[67485,1,"ꞎ"],[67486,1,"ɮ"],[67487,1,"𝼅"],[67488,1,"ʎ"],[67489,1,"𝼆"],[67490,1,"ø"],[67491,1,"ɶ"],[67492,1,"ɷ"],[67493,1,"q"],[67494,1,"ɺ"],[67495,1,"𝼈"],[67496,1,"ɽ"],[67497,1,"ɾ"],[67498,1,"ʀ"],[67499,1,"ʨ"],[67500,1,"ʦ"],[67501,1,"ꭧ"],[67502,1,"ʧ"],[67503,1,"ʈ"],[67504,1,"ⱱ"],[67505,3],[67506,1,"ʏ"],[67507,1,"ʡ"],[67508,1,"ʢ"],[67509,1,"ʘ"],[67510,1,"ǀ"],[67511,1,"ǁ"],[67512,1,"ǂ"],[67513,1,"𝼊"],[67514,1,"𝼞"],[[67515,67583],3],[[67584,67589],2],[[67590,67591],3],[67592,2],[67593,3],[[67594,67637],2],[67638,3],[[67639,67640],2],[[67641,67643],3],[67644,2],[[67645,67646],3],[67647,2],[[67648,67669],2],[67670,3],[[67671,67679],2],[[67680,67702],2],[[67703,67711],2],[[67712,67742],2],[[67743,67750],3],[[67751,67759],2],[[67760,67807],3],[[67808,67826],2],[67827,3],[[67828,67829],2],[[67830,67834],3],[[67835,67839],2],[[67840,67861],2],[[67862,67865],2],[[67866,67867],2],[[67868,67870],3],[67871,2],[[67872,67897],2],[[67898,67902],3],[67903,2],[[67904,67967],3],[[67968,68023],2],[[68024,68027],3],[[68028,68029],2],[[68030,68031],2],[[68032,68047],2],[[68048,68049],3],[[68050,68095],2],[[68096,68099],2],[68100,3],[[68101,68102],2],[[68103,68107],3],[[68108,68115],2],[68116,3],[[68117,68119],2],[68120,3],[[68121,68147],2],[[68148,68149],2],[[68150,68151],3],[[68152,68154],2],[[68155,68158],3],[68159,2],[[68160,68167],2],[68168,2],[[68169,68175],3],[[68176,68184],2],[[68185,68191],3],[[68192,68220],2],[[68221,68223],2],[[68224,68252],2],[[68253,68255],2],[[68256,68287],3],[[68288,68295],2],[68296,2],[[68297,68326],2],[[68327,68330],3],[[68331,68342],2],[[68343,68351],3],[[68352,68405],2],[[68406,68408],3],[[68409,68415],2],[[68416,68437],2],[[68438,68439],3],[[68440,68447],2],[[68448,68466],2],[[68467,68471],3],[[68472,68479],2],[[68480,68497],2],[[68498,68504],3],[[68505,68508],2],[[68509,68520],3],[[68521,68527],2],[[68528,68607],3],[[68608,68680],2],[[68681,68735],3],[68736,1,"𐳀"],[68737,1,"𐳁"],[68738,1,"𐳂"],[68739,1,"𐳃"],[68740,1,"𐳄"],[68741,1,"𐳅"],[68742,1,"𐳆"],[68743,1,"𐳇"],[68744,1,"𐳈"],[68745,1,"𐳉"],[68746,1,"𐳊"],[68747,1,"𐳋"],[68748,1,"𐳌"],[68749,1,"𐳍"],[68750,1,"𐳎"],[68751,1,"𐳏"],[68752,1,"𐳐"],[68753,1,"𐳑"],[68754,1,"𐳒"],[68755,1,"𐳓"],[68756,1,"𐳔"],[68757,1,"𐳕"],[68758,1,"𐳖"],[68759,1,"𐳗"],[68760,1,"𐳘"],[68761,1,"𐳙"],[68762,1,"𐳚"],[68763,1,"𐳛"],[68764,1,"𐳜"],[68765,1,"𐳝"],[68766,1,"𐳞"],[68767,1,"𐳟"],[68768,1,"𐳠"],[68769,1,"𐳡"],[68770,1,"𐳢"],[68771,1,"𐳣"],[68772,1,"𐳤"],[68773,1,"𐳥"],[68774,1,"𐳦"],[68775,1,"𐳧"],[68776,1,"𐳨"],[68777,1,"𐳩"],[68778,1,"𐳪"],[68779,1,"𐳫"],[68780,1,"𐳬"],[68781,1,"𐳭"],[68782,1,"𐳮"],[68783,1,"𐳯"],[68784,1,"𐳰"],[68785,1,"𐳱"],[68786,1,"𐳲"],[[68787,68799],3],[[68800,68850],2],[[68851,68857],3],[[68858,68863],2],[[68864,68903],2],[[68904,68911],3],[[68912,68921],2],[[68922,69215],3],[[69216,69246],2],[69247,3],[[69248,69289],2],[69290,3],[[69291,69292],2],[69293,2],[[69294,69295],3],[[69296,69297],2],[[69298,69375],3],[[69376,69404],2],[[69405,69414],2],[69415,2],[[69416,69423],3],[[69424,69456],2],[[69457,69465],2],[[69466,69487],3],[[69488,69509],2],[[69510,69513],2],[[69514,69551],3],[[69552,69572],2],[[69573,69579],2],[[69580,69599],3],[[69600,69622],2],[[69623,69631],3],[[69632,69702],2],[[69703,69709],2],[[69710,69713],3],[[69714,69733],2],[[69734,69743],2],[[69744,69749],2],[[69750,69758],3],[69759,2],[[69760,69818],2],[[69819,69820],2],[69821,3],[[69822,69825],2],[69826,2],[[69827,69836],3],[69837,3],[[69838,69839],3],[[69840,69864],2],[[69865,69871],3],[[69872,69881],2],[[69882,69887],3],[[69888,69940],2],[69941,3],[[69942,69951],2],[[69952,69955],2],[[69956,69958],2],[69959,2],[[69960,69967],3],[[69968,70003],2],[[70004,70005],2],[70006,2],[[70007,70015],3],[[70016,70084],2],[[70085,70088],2],[[70089,70092],2],[70093,2],[[70094,70095],2],[[70096,70105],2],[70106,2],[70107,2],[70108,2],[[70109,70111],2],[70112,3],[[70113,70132],2],[[70133,70143],3],[[70144,70161],2],[70162,3],[[70163,70199],2],[[70200,70205],2],[70206,2],[[70207,70271],3],[[70272,70278],2],[70279,3],[70280,2],[70281,3],[[70282,70285],2],[70286,3],[[70287,70301],2],[70302,3],[[70303,70312],2],[70313,2],[[70314,70319],3],[[70320,70378],2],[[70379,70383],3],[[70384,70393],2],[[70394,70399],3],[70400,2],[[70401,70403],2],[70404,3],[[70405,70412],2],[[70413,70414],3],[[70415,70416],2],[[70417,70418],3],[[70419,70440],2],[70441,3],[[70442,70448],2],[70449,3],[[70450,70451],2],[70452,3],[[70453,70457],2],[70458,3],[70459,2],[[70460,70468],2],[[70469,70470],3],[[70471,70472],2],[[70473,70474],3],[[70475,70477],2],[[70478,70479],3],[70480,2],[[70481,70486],3],[70487,2],[[70488,70492],3],[[70493,70499],2],[[70500,70501],3],[[70502,70508],2],[[70509,70511],3],[[70512,70516],2],[[70517,70655],3],[[70656,70730],2],[[70731,70735],2],[[70736,70745],2],[70746,2],[70747,2],[70748,3],[70749,2],[70750,2],[70751,2],[[70752,70753],2],[[70754,70783],3],[[70784,70853],2],[70854,2],[70855,2],[[70856,70863],3],[[70864,70873],2],[[70874,71039],3],[[71040,71093],2],[[71094,71095],3],[[71096,71104],2],[[71105,71113],2],[[71114,71127],2],[[71128,71133],2],[[71134,71167],3],[[71168,71232],2],[[71233,71235],2],[71236,2],[[71237,71247],3],[[71248,71257],2],[[71258,71263],3],[[71264,71276],2],[[71277,71295],3],[[71296,71351],2],[71352,2],[71353,2],[[71354,71359],3],[[71360,71369],2],[[71370,71423],3],[[71424,71449],2],[71450,2],[[71451,71452],3],[[71453,71467],2],[[71468,71471],3],[[71472,71481],2],[[71482,71487],2],[[71488,71494],2],[[71495,71679],3],[[71680,71738],2],[71739,2],[[71740,71839],3],[71840,1,"𑣀"],[71841,1,"𑣁"],[71842,1,"𑣂"],[71843,1,"𑣃"],[71844,1,"𑣄"],[71845,1,"𑣅"],[71846,1,"𑣆"],[71847,1,"𑣇"],[71848,1,"𑣈"],[71849,1,"𑣉"],[71850,1,"𑣊"],[71851,1,"𑣋"],[71852,1,"𑣌"],[71853,1,"𑣍"],[71854,1,"𑣎"],[71855,1,"𑣏"],[71856,1,"𑣐"],[71857,1,"𑣑"],[71858,1,"𑣒"],[71859,1,"𑣓"],[71860,1,"𑣔"],[71861,1,"𑣕"],[71862,1,"𑣖"],[71863,1,"𑣗"],[71864,1,"𑣘"],[71865,1,"𑣙"],[71866,1,"𑣚"],[71867,1,"𑣛"],[71868,1,"𑣜"],[71869,1,"𑣝"],[71870,1,"𑣞"],[71871,1,"𑣟"],[[71872,71913],2],[[71914,71922],2],[[71923,71934],3],[71935,2],[[71936,71942],2],[[71943,71944],3],[71945,2],[[71946,71947],3],[[71948,71955],2],[71956,3],[[71957,71958],2],[71959,3],[[71960,71989],2],[71990,3],[[71991,71992],2],[[71993,71994],3],[[71995,72003],2],[[72004,72006],2],[[72007,72015],3],[[72016,72025],2],[[72026,72095],3],[[72096,72103],2],[[72104,72105],3],[[72106,72151],2],[[72152,72153],3],[[72154,72161],2],[72162,2],[[72163,72164],2],[[72165,72191],3],[[72192,72254],2],[[72255,72262],2],[72263,2],[[72264,72271],3],[[72272,72323],2],[[72324,72325],2],[[72326,72345],2],[[72346,72348],2],[72349,2],[[72350,72354],2],[[72355,72367],3],[[72368,72383],2],[[72384,72440],2],[[72441,72703],3],[[72704,72712],2],[72713,3],[[72714,72758],2],[72759,3],[[72760,72768],2],[[72769,72773],2],[[72774,72783],3],[[72784,72793],2],[[72794,72812],2],[[72813,72815],3],[[72816,72817],2],[[72818,72847],2],[[72848,72849],3],[[72850,72871],2],[72872,3],[[72873,72886],2],[[72887,72959],3],[[72960,72966],2],[72967,3],[[72968,72969],2],[72970,3],[[72971,73014],2],[[73015,73017],3],[73018,2],[73019,3],[[73020,73021],2],[73022,3],[[73023,73031],2],[[73032,73039],3],[[73040,73049],2],[[73050,73055],3],[[73056,73061],2],[73062,3],[[73063,73064],2],[73065,3],[[73066,73102],2],[73103,3],[[73104,73105],2],[73106,3],[[73107,73112],2],[[73113,73119],3],[[73120,73129],2],[[73130,73439],3],[[73440,73462],2],[[73463,73464],2],[[73465,73647],3],[73648,2],[[73649,73663],3],[[73664,73713],2],[[73714,73726],3],[73727,2],[[73728,74606],2],[[74607,74648],2],[74649,2],[[74650,74751],3],[[74752,74850],2],[[74851,74862],2],[74863,3],[[74864,74867],2],[74868,2],[[74869,74879],3],[[74880,75075],2],[[75076,77711],3],[[77712,77808],2],[[77809,77810],2],[[77811,77823],3],[[77824,78894],2],[78895,3],[[78896,78904],3],[[78905,82943],3],[[82944,83526],2],[[83527,92159],3],[[92160,92728],2],[[92729,92735],3],[[92736,92766],2],[92767,3],[[92768,92777],2],[[92778,92781],3],[[92782,92783],2],[[92784,92862],2],[92863,3],[[92864,92873],2],[[92874,92879],3],[[92880,92909],2],[[92910,92911],3],[[92912,92916],2],[92917,2],[[92918,92927],3],[[92928,92982],2],[[92983,92991],2],[[92992,92995],2],[[92996,92997],2],[[92998,93007],3],[[93008,93017],2],[93018,3],[[93019,93025],2],[93026,3],[[93027,93047],2],[[93048,93052],3],[[93053,93071],2],[[93072,93759],3],[93760,1,"𖹠"],[93761,1,"𖹡"],[93762,1,"𖹢"],[93763,1,"𖹣"],[93764,1,"𖹤"],[93765,1,"𖹥"],[93766,1,"𖹦"],[93767,1,"𖹧"],[93768,1,"𖹨"],[93769,1,"𖹩"],[93770,1,"𖹪"],[93771,1,"𖹫"],[93772,1,"𖹬"],[93773,1,"𖹭"],[93774,1,"𖹮"],[93775,1,"𖹯"],[93776,1,"𖹰"],[93777,1,"𖹱"],[93778,1,"𖹲"],[93779,1,"𖹳"],[93780,1,"𖹴"],[93781,1,"𖹵"],[93782,1,"𖹶"],[93783,1,"𖹷"],[93784,1,"𖹸"],[93785,1,"𖹹"],[93786,1,"𖹺"],[93787,1,"𖹻"],[93788,1,"𖹼"],[93789,1,"𖹽"],[93790,1,"𖹾"],[93791,1,"𖹿"],[[93792,93823],2],[[93824,93850],2],[[93851,93951],3],[[93952,94020],2],[[94021,94026],2],[[94027,94030],3],[94031,2],[[94032,94078],2],[[94079,94087],2],[[94088,94094],3],[[94095,94111],2],[[94112,94175],3],[94176,2],[94177,2],[94178,2],[94179,2],[94180,2],[[94181,94191],3],[[94192,94193],2],[[94194,94207],3],[[94208,100332],2],[[100333,100337],2],[[100338,100343],2],[[100344,100351],3],[[100352,101106],2],[[101107,101589],2],[[101590,101631],3],[[101632,101640],2],[[101641,110575],3],[[110576,110579],2],[110580,3],[[110581,110587],2],[110588,3],[[110589,110590],2],[110591,3],[[110592,110593],2],[[110594,110878],2],[[110879,110882],2],[[110883,110927],3],[[110928,110930],2],[[110931,110947],3],[[110948,110951],2],[[110952,110959],3],[[110960,111355],2],[[111356,113663],3],[[113664,113770],2],[[113771,113775],3],[[113776,113788],2],[[113789,113791],3],[[113792,113800],2],[[113801,113807],3],[[113808,113817],2],[[113818,113819],3],[113820,2],[[113821,113822],2],[113823,2],[[113824,113827],7],[[113828,118527],3],[[118528,118573],2],[[118574,118575],3],[[118576,118598],2],[[118599,118607],3],[[118608,118723],2],[[118724,118783],3],[[118784,119029],2],[[119030,119039],3],[[119040,119078],2],[[119079,119080],3],[119081,2],[[119082,119133],2],[119134,1,"𝅗𝅥"],[119135,1,"𝅘𝅥"],[119136,1,"𝅘𝅥𝅮"],[119137,1,"𝅘𝅥𝅯"],[119138,1,"𝅘𝅥𝅰"],[119139,1,"𝅘𝅥𝅱"],[119140,1,"𝅘𝅥𝅲"],[[119141,119154],2],[[119155,119162],3],[[119163,119226],2],[119227,1,"𝆹𝅥"],[119228,1,"𝆺𝅥"],[119229,1,"𝆹𝅥𝅮"],[119230,1,"𝆺𝅥𝅮"],[119231,1,"𝆹𝅥𝅯"],[119232,1,"𝆺𝅥𝅯"],[[119233,119261],2],[[119262,119272],2],[[119273,119274],2],[[119275,119295],3],[[119296,119365],2],[[119366,119519],3],[[119520,119539],2],[[119540,119551],3],[[119552,119638],2],[[119639,119647],3],[[119648,119665],2],[[119666,119672],2],[[119673,119807],3],[119808,1,"a"],[119809,1,"b"],[119810,1,"c"],[119811,1,"d"],[119812,1,"e"],[119813,1,"f"],[119814,1,"g"],[119815,1,"h"],[119816,1,"i"],[119817,1,"j"],[119818,1,"k"],[119819,1,"l"],[119820,1,"m"],[119821,1,"n"],[119822,1,"o"],[119823,1,"p"],[119824,1,"q"],[119825,1,"r"],[119826,1,"s"],[119827,1,"t"],[119828,1,"u"],[119829,1,"v"],[119830,1,"w"],[119831,1,"x"],[119832,1,"y"],[119833,1,"z"],[119834,1,"a"],[119835,1,"b"],[119836,1,"c"],[119837,1,"d"],[119838,1,"e"],[119839,1,"f"],[119840,1,"g"],[119841,1,"h"],[119842,1,"i"],[119843,1,"j"],[119844,1,"k"],[119845,1,"l"],[119846,1,"m"],[119847,1,"n"],[119848,1,"o"],[119849,1,"p"],[119850,1,"q"],[119851,1,"r"],[119852,1,"s"],[119853,1,"t"],[119854,1,"u"],[119855,1,"v"],[119856,1,"w"],[119857,1,"x"],[119858,1,"y"],[119859,1,"z"],[119860,1,"a"],[119861,1,"b"],[119862,1,"c"],[119863,1,"d"],[119864,1,"e"],[119865,1,"f"],[119866,1,"g"],[119867,1,"h"],[119868,1,"i"],[119869,1,"j"],[119870,1,"k"],[119871,1,"l"],[119872,1,"m"],[119873,1,"n"],[119874,1,"o"],[119875,1,"p"],[119876,1,"q"],[119877,1,"r"],[119878,1,"s"],[119879,1,"t"],[119880,1,"u"],[119881,1,"v"],[119882,1,"w"],[119883,1,"x"],[119884,1,"y"],[119885,1,"z"],[119886,1,"a"],[119887,1,"b"],[119888,1,"c"],[119889,1,"d"],[119890,1,"e"],[119891,1,"f"],[119892,1,"g"],[119893,3],[119894,1,"i"],[119895,1,"j"],[119896,1,"k"],[119897,1,"l"],[119898,1,"m"],[119899,1,"n"],[119900,1,"o"],[119901,1,"p"],[119902,1,"q"],[119903,1,"r"],[119904,1,"s"],[119905,1,"t"],[119906,1,"u"],[119907,1,"v"],[119908,1,"w"],[119909,1,"x"],[119910,1,"y"],[119911,1,"z"],[119912,1,"a"],[119913,1,"b"],[119914,1,"c"],[119915,1,"d"],[119916,1,"e"],[119917,1,"f"],[119918,1,"g"],[119919,1,"h"],[119920,1,"i"],[119921,1,"j"],[119922,1,"k"],[119923,1,"l"],[119924,1,"m"],[119925,1,"n"],[119926,1,"o"],[119927,1,"p"],[119928,1,"q"],[119929,1,"r"],[119930,1,"s"],[119931,1,"t"],[119932,1,"u"],[119933,1,"v"],[119934,1,"w"],[119935,1,"x"],[119936,1,"y"],[119937,1,"z"],[119938,1,"a"],[119939,1,"b"],[119940,1,"c"],[119941,1,"d"],[119942,1,"e"],[119943,1,"f"],[119944,1,"g"],[119945,1,"h"],[119946,1,"i"],[119947,1,"j"],[119948,1,"k"],[119949,1,"l"],[119950,1,"m"],[119951,1,"n"],[119952,1,"o"],[119953,1,"p"],[119954,1,"q"],[119955,1,"r"],[119956,1,"s"],[119957,1,"t"],[119958,1,"u"],[119959,1,"v"],[119960,1,"w"],[119961,1,"x"],[119962,1,"y"],[119963,1,"z"],[119964,1,"a"],[119965,3],[119966,1,"c"],[119967,1,"d"],[[119968,119969],3],[119970,1,"g"],[[119971,119972],3],[119973,1,"j"],[119974,1,"k"],[[119975,119976],3],[119977,1,"n"],[119978,1,"o"],[119979,1,"p"],[119980,1,"q"],[119981,3],[119982,1,"s"],[119983,1,"t"],[119984,1,"u"],[119985,1,"v"],[119986,1,"w"],[119987,1,"x"],[119988,1,"y"],[119989,1,"z"],[119990,1,"a"],[119991,1,"b"],[119992,1,"c"],[119993,1,"d"],[119994,3],[119995,1,"f"],[119996,3],[119997,1,"h"],[119998,1,"i"],[119999,1,"j"],[120000,1,"k"],[120001,1,"l"],[120002,1,"m"],[120003,1,"n"],[120004,3],[120005,1,"p"],[120006,1,"q"],[120007,1,"r"],[120008,1,"s"],[120009,1,"t"],[120010,1,"u"],[120011,1,"v"],[120012,1,"w"],[120013,1,"x"],[120014,1,"y"],[120015,1,"z"],[120016,1,"a"],[120017,1,"b"],[120018,1,"c"],[120019,1,"d"],[120020,1,"e"],[120021,1,"f"],[120022,1,"g"],[120023,1,"h"],[120024,1,"i"],[120025,1,"j"],[120026,1,"k"],[120027,1,"l"],[120028,1,"m"],[120029,1,"n"],[120030,1,"o"],[120031,1,"p"],[120032,1,"q"],[120033,1,"r"],[120034,1,"s"],[120035,1,"t"],[120036,1,"u"],[120037,1,"v"],[120038,1,"w"],[120039,1,"x"],[120040,1,"y"],[120041,1,"z"],[120042,1,"a"],[120043,1,"b"],[120044,1,"c"],[120045,1,"d"],[120046,1,"e"],[120047,1,"f"],[120048,1,"g"],[120049,1,"h"],[120050,1,"i"],[120051,1,"j"],[120052,1,"k"],[120053,1,"l"],[120054,1,"m"],[120055,1,"n"],[120056,1,"o"],[120057,1,"p"],[120058,1,"q"],[120059,1,"r"],[120060,1,"s"],[120061,1,"t"],[120062,1,"u"],[120063,1,"v"],[120064,1,"w"],[120065,1,"x"],[120066,1,"y"],[120067,1,"z"],[120068,1,"a"],[120069,1,"b"],[120070,3],[120071,1,"d"],[120072,1,"e"],[120073,1,"f"],[120074,1,"g"],[[120075,120076],3],[120077,1,"j"],[120078,1,"k"],[120079,1,"l"],[120080,1,"m"],[120081,1,"n"],[120082,1,"o"],[120083,1,"p"],[120084,1,"q"],[120085,3],[120086,1,"s"],[120087,1,"t"],[120088,1,"u"],[120089,1,"v"],[120090,1,"w"],[120091,1,"x"],[120092,1,"y"],[120093,3],[120094,1,"a"],[120095,1,"b"],[120096,1,"c"],[120097,1,"d"],[120098,1,"e"],[120099,1,"f"],[120100,1,"g"],[120101,1,"h"],[120102,1,"i"],[120103,1,"j"],[120104,1,"k"],[120105,1,"l"],[120106,1,"m"],[120107,1,"n"],[120108,1,"o"],[120109,1,"p"],[120110,1,"q"],[120111,1,"r"],[120112,1,"s"],[120113,1,"t"],[120114,1,"u"],[120115,1,"v"],[120116,1,"w"],[120117,1,"x"],[120118,1,"y"],[120119,1,"z"],[120120,1,"a"],[120121,1,"b"],[120122,3],[120123,1,"d"],[120124,1,"e"],[120125,1,"f"],[120126,1,"g"],[120127,3],[120128,1,"i"],[120129,1,"j"],[120130,1,"k"],[120131,1,"l"],[120132,1,"m"],[120133,3],[120134,1,"o"],[[120135,120137],3],[120138,1,"s"],[120139,1,"t"],[120140,1,"u"],[120141,1,"v"],[120142,1,"w"],[120143,1,"x"],[120144,1,"y"],[120145,3],[120146,1,"a"],[120147,1,"b"],[120148,1,"c"],[120149,1,"d"],[120150,1,"e"],[120151,1,"f"],[120152,1,"g"],[120153,1,"h"],[120154,1,"i"],[120155,1,"j"],[120156,1,"k"],[120157,1,"l"],[120158,1,"m"],[120159,1,"n"],[120160,1,"o"],[120161,1,"p"],[120162,1,"q"],[120163,1,"r"],[120164,1,"s"],[120165,1,"t"],[120166,1,"u"],[120167,1,"v"],[120168,1,"w"],[120169,1,"x"],[120170,1,"y"],[120171,1,"z"],[120172,1,"a"],[120173,1,"b"],[120174,1,"c"],[120175,1,"d"],[120176,1,"e"],[120177,1,"f"],[120178,1,"g"],[120179,1,"h"],[120180,1,"i"],[120181,1,"j"],[120182,1,"k"],[120183,1,"l"],[120184,1,"m"],[120185,1,"n"],[120186,1,"o"],[120187,1,"p"],[120188,1,"q"],[120189,1,"r"],[120190,1,"s"],[120191,1,"t"],[120192,1,"u"],[120193,1,"v"],[120194,1,"w"],[120195,1,"x"],[120196,1,"y"],[120197,1,"z"],[120198,1,"a"],[120199,1,"b"],[120200,1,"c"],[120201,1,"d"],[120202,1,"e"],[120203,1,"f"],[120204,1,"g"],[120205,1,"h"],[120206,1,"i"],[120207,1,"j"],[120208,1,"k"],[120209,1,"l"],[120210,1,"m"],[120211,1,"n"],[120212,1,"o"],[120213,1,"p"],[120214,1,"q"],[120215,1,"r"],[120216,1,"s"],[120217,1,"t"],[120218,1,"u"],[120219,1,"v"],[120220,1,"w"],[120221,1,"x"],[120222,1,"y"],[120223,1,"z"],[120224,1,"a"],[120225,1,"b"],[120226,1,"c"],[120227,1,"d"],[120228,1,"e"],[120229,1,"f"],[120230,1,"g"],[120231,1,"h"],[120232,1,"i"],[120233,1,"j"],[120234,1,"k"],[120235,1,"l"],[120236,1,"m"],[120237,1,"n"],[120238,1,"o"],[120239,1,"p"],[120240,1,"q"],[120241,1,"r"],[120242,1,"s"],[120243,1,"t"],[120244,1,"u"],[120245,1,"v"],[120246,1,"w"],[120247,1,"x"],[120248,1,"y"],[120249,1,"z"],[120250,1,"a"],[120251,1,"b"],[120252,1,"c"],[120253,1,"d"],[120254,1,"e"],[120255,1,"f"],[120256,1,"g"],[120257,1,"h"],[120258,1,"i"],[120259,1,"j"],[120260,1,"k"],[120261,1,"l"],[120262,1,"m"],[120263,1,"n"],[120264,1,"o"],[120265,1,"p"],[120266,1,"q"],[120267,1,"r"],[120268,1,"s"],[120269,1,"t"],[120270,1,"u"],[120271,1,"v"],[120272,1,"w"],[120273,1,"x"],[120274,1,"y"],[120275,1,"z"],[120276,1,"a"],[120277,1,"b"],[120278,1,"c"],[120279,1,"d"],[120280,1,"e"],[120281,1,"f"],[120282,1,"g"],[120283,1,"h"],[120284,1,"i"],[120285,1,"j"],[120286,1,"k"],[120287,1,"l"],[120288,1,"m"],[120289,1,"n"],[120290,1,"o"],[120291,1,"p"],[120292,1,"q"],[120293,1,"r"],[120294,1,"s"],[120295,1,"t"],[120296,1,"u"],[120297,1,"v"],[120298,1,"w"],[120299,1,"x"],[120300,1,"y"],[120301,1,"z"],[120302,1,"a"],[120303,1,"b"],[120304,1,"c"],[120305,1,"d"],[120306,1,"e"],[120307,1,"f"],[120308,1,"g"],[120309,1,"h"],[120310,1,"i"],[120311,1,"j"],[120312,1,"k"],[120313,1,"l"],[120314,1,"m"],[120315,1,"n"],[120316,1,"o"],[120317,1,"p"],[120318,1,"q"],[120319,1,"r"],[120320,1,"s"],[120321,1,"t"],[120322,1,"u"],[120323,1,"v"],[120324,1,"w"],[120325,1,"x"],[120326,1,"y"],[120327,1,"z"],[120328,1,"a"],[120329,1,"b"],[120330,1,"c"],[120331,1,"d"],[120332,1,"e"],[120333,1,"f"],[120334,1,"g"],[120335,1,"h"],[120336,1,"i"],[120337,1,"j"],[120338,1,"k"],[120339,1,"l"],[120340,1,"m"],[120341,1,"n"],[120342,1,"o"],[120343,1,"p"],[120344,1,"q"],[120345,1,"r"],[120346,1,"s"],[120347,1,"t"],[120348,1,"u"],[120349,1,"v"],[120350,1,"w"],[120351,1,"x"],[120352,1,"y"],[120353,1,"z"],[120354,1,"a"],[120355,1,"b"],[120356,1,"c"],[120357,1,"d"],[120358,1,"e"],[120359,1,"f"],[120360,1,"g"],[120361,1,"h"],[120362,1,"i"],[120363,1,"j"],[120364,1,"k"],[120365,1,"l"],[120366,1,"m"],[120367,1,"n"],[120368,1,"o"],[120369,1,"p"],[120370,1,"q"],[120371,1,"r"],[120372,1,"s"],[120373,1,"t"],[120374,1,"u"],[120375,1,"v"],[120376,1,"w"],[120377,1,"x"],[120378,1,"y"],[120379,1,"z"],[120380,1,"a"],[120381,1,"b"],[120382,1,"c"],[120383,1,"d"],[120384,1,"e"],[120385,1,"f"],[120386,1,"g"],[120387,1,"h"],[120388,1,"i"],[120389,1,"j"],[120390,1,"k"],[120391,1,"l"],[120392,1,"m"],[120393,1,"n"],[120394,1,"o"],[120395,1,"p"],[120396,1,"q"],[120397,1,"r"],[120398,1,"s"],[120399,1,"t"],[120400,1,"u"],[120401,1,"v"],[120402,1,"w"],[120403,1,"x"],[120404,1,"y"],[120405,1,"z"],[120406,1,"a"],[120407,1,"b"],[120408,1,"c"],[120409,1,"d"],[120410,1,"e"],[120411,1,"f"],[120412,1,"g"],[120413,1,"h"],[120414,1,"i"],[120415,1,"j"],[120416,1,"k"],[120417,1,"l"],[120418,1,"m"],[120419,1,"n"],[120420,1,"o"],[120421,1,"p"],[120422,1,"q"],[120423,1,"r"],[120424,1,"s"],[120425,1,"t"],[120426,1,"u"],[120427,1,"v"],[120428,1,"w"],[120429,1,"x"],[120430,1,"y"],[120431,1,"z"],[120432,1,"a"],[120433,1,"b"],[120434,1,"c"],[120435,1,"d"],[120436,1,"e"],[120437,1,"f"],[120438,1,"g"],[120439,1,"h"],[120440,1,"i"],[120441,1,"j"],[120442,1,"k"],[120443,1,"l"],[120444,1,"m"],[120445,1,"n"],[120446,1,"o"],[120447,1,"p"],[120448,1,"q"],[120449,1,"r"],[120450,1,"s"],[120451,1,"t"],[120452,1,"u"],[120453,1,"v"],[120454,1,"w"],[120455,1,"x"],[120456,1,"y"],[120457,1,"z"],[120458,1,"a"],[120459,1,"b"],[120460,1,"c"],[120461,1,"d"],[120462,1,"e"],[120463,1,"f"],[120464,1,"g"],[120465,1,"h"],[120466,1,"i"],[120467,1,"j"],[120468,1,"k"],[120469,1,"l"],[120470,1,"m"],[120471,1,"n"],[120472,1,"o"],[120473,1,"p"],[120474,1,"q"],[120475,1,"r"],[120476,1,"s"],[120477,1,"t"],[120478,1,"u"],[120479,1,"v"],[120480,1,"w"],[120481,1,"x"],[120482,1,"y"],[120483,1,"z"],[120484,1,"ı"],[120485,1,"ȷ"],[[120486,120487],3],[120488,1,"α"],[120489,1,"β"],[120490,1,"γ"],[120491,1,"δ"],[120492,1,"ε"],[120493,1,"ζ"],[120494,1,"η"],[120495,1,"θ"],[120496,1,"ι"],[120497,1,"κ"],[120498,1,"λ"],[120499,1,"μ"],[120500,1,"ν"],[120501,1,"ξ"],[120502,1,"ο"],[120503,1,"π"],[120504,1,"ρ"],[120505,1,"θ"],[120506,1,"σ"],[120507,1,"τ"],[120508,1,"υ"],[120509,1,"φ"],[120510,1,"χ"],[120511,1,"ψ"],[120512,1,"ω"],[120513,1,"∇"],[120514,1,"α"],[120515,1,"β"],[120516,1,"γ"],[120517,1,"δ"],[120518,1,"ε"],[120519,1,"ζ"],[120520,1,"η"],[120521,1,"θ"],[120522,1,"ι"],[120523,1,"κ"],[120524,1,"λ"],[120525,1,"μ"],[120526,1,"ν"],[120527,1,"ξ"],[120528,1,"ο"],[120529,1,"π"],[120530,1,"ρ"],[[120531,120532],1,"σ"],[120533,1,"τ"],[120534,1,"υ"],[120535,1,"φ"],[120536,1,"χ"],[120537,1,"ψ"],[120538,1,"ω"],[120539,1,"∂"],[120540,1,"ε"],[120541,1,"θ"],[120542,1,"κ"],[120543,1,"φ"],[120544,1,"ρ"],[120545,1,"π"],[120546,1,"α"],[120547,1,"β"],[120548,1,"γ"],[120549,1,"δ"],[120550,1,"ε"],[120551,1,"ζ"],[120552,1,"η"],[120553,1,"θ"],[120554,1,"ι"],[120555,1,"κ"],[120556,1,"λ"],[120557,1,"μ"],[120558,1,"ν"],[120559,1,"ξ"],[120560,1,"ο"],[120561,1,"π"],[120562,1,"ρ"],[120563,1,"θ"],[120564,1,"σ"],[120565,1,"τ"],[120566,1,"υ"],[120567,1,"φ"],[120568,1,"χ"],[120569,1,"ψ"],[120570,1,"ω"],[120571,1,"∇"],[120572,1,"α"],[120573,1,"β"],[120574,1,"γ"],[120575,1,"δ"],[120576,1,"ε"],[120577,1,"ζ"],[120578,1,"η"],[120579,1,"θ"],[120580,1,"ι"],[120581,1,"κ"],[120582,1,"λ"],[120583,1,"μ"],[120584,1,"ν"],[120585,1,"ξ"],[120586,1,"ο"],[120587,1,"π"],[120588,1,"ρ"],[[120589,120590],1,"σ"],[120591,1,"τ"],[120592,1,"υ"],[120593,1,"φ"],[120594,1,"χ"],[120595,1,"ψ"],[120596,1,"ω"],[120597,1,"∂"],[120598,1,"ε"],[120599,1,"θ"],[120600,1,"κ"],[120601,1,"φ"],[120602,1,"ρ"],[120603,1,"π"],[120604,1,"α"],[120605,1,"β"],[120606,1,"γ"],[120607,1,"δ"],[120608,1,"ε"],[120609,1,"ζ"],[120610,1,"η"],[120611,1,"θ"],[120612,1,"ι"],[120613,1,"κ"],[120614,1,"λ"],[120615,1,"μ"],[120616,1,"ν"],[120617,1,"ξ"],[120618,1,"ο"],[120619,1,"π"],[120620,1,"ρ"],[120621,1,"θ"],[120622,1,"σ"],[120623,1,"τ"],[120624,1,"υ"],[120625,1,"φ"],[120626,1,"χ"],[120627,1,"ψ"],[120628,1,"ω"],[120629,1,"∇"],[120630,1,"α"],[120631,1,"β"],[120632,1,"γ"],[120633,1,"δ"],[120634,1,"ε"],[120635,1,"ζ"],[120636,1,"η"],[120637,1,"θ"],[120638,1,"ι"],[120639,1,"κ"],[120640,1,"λ"],[120641,1,"μ"],[120642,1,"ν"],[120643,1,"ξ"],[120644,1,"ο"],[120645,1,"π"],[120646,1,"ρ"],[[120647,120648],1,"σ"],[120649,1,"τ"],[120650,1,"υ"],[120651,1,"φ"],[120652,1,"χ"],[120653,1,"ψ"],[120654,1,"ω"],[120655,1,"∂"],[120656,1,"ε"],[120657,1,"θ"],[120658,1,"κ"],[120659,1,"φ"],[120660,1,"ρ"],[120661,1,"π"],[120662,1,"α"],[120663,1,"β"],[120664,1,"γ"],[120665,1,"δ"],[120666,1,"ε"],[120667,1,"ζ"],[120668,1,"η"],[120669,1,"θ"],[120670,1,"ι"],[120671,1,"κ"],[120672,1,"λ"],[120673,1,"μ"],[120674,1,"ν"],[120675,1,"ξ"],[120676,1,"ο"],[120677,1,"π"],[120678,1,"ρ"],[120679,1,"θ"],[120680,1,"σ"],[120681,1,"τ"],[120682,1,"υ"],[120683,1,"φ"],[120684,1,"χ"],[120685,1,"ψ"],[120686,1,"ω"],[120687,1,"∇"],[120688,1,"α"],[120689,1,"β"],[120690,1,"γ"],[120691,1,"δ"],[120692,1,"ε"],[120693,1,"ζ"],[120694,1,"η"],[120695,1,"θ"],[120696,1,"ι"],[120697,1,"κ"],[120698,1,"λ"],[120699,1,"μ"],[120700,1,"ν"],[120701,1,"ξ"],[120702,1,"ο"],[120703,1,"π"],[120704,1,"ρ"],[[120705,120706],1,"σ"],[120707,1,"τ"],[120708,1,"υ"],[120709,1,"φ"],[120710,1,"χ"],[120711,1,"ψ"],[120712,1,"ω"],[120713,1,"∂"],[120714,1,"ε"],[120715,1,"θ"],[120716,1,"κ"],[120717,1,"φ"],[120718,1,"ρ"],[120719,1,"π"],[120720,1,"α"],[120721,1,"β"],[120722,1,"γ"],[120723,1,"δ"],[120724,1,"ε"],[120725,1,"ζ"],[120726,1,"η"],[120727,1,"θ"],[120728,1,"ι"],[120729,1,"κ"],[120730,1,"λ"],[120731,1,"μ"],[120732,1,"ν"],[120733,1,"ξ"],[120734,1,"ο"],[120735,1,"π"],[120736,1,"ρ"],[120737,1,"θ"],[120738,1,"σ"],[120739,1,"τ"],[120740,1,"υ"],[120741,1,"φ"],[120742,1,"χ"],[120743,1,"ψ"],[120744,1,"ω"],[120745,1,"∇"],[120746,1,"α"],[120747,1,"β"],[120748,1,"γ"],[120749,1,"δ"],[120750,1,"ε"],[120751,1,"ζ"],[120752,1,"η"],[120753,1,"θ"],[120754,1,"ι"],[120755,1,"κ"],[120756,1,"λ"],[120757,1,"μ"],[120758,1,"ν"],[120759,1,"ξ"],[120760,1,"ο"],[120761,1,"π"],[120762,1,"ρ"],[[120763,120764],1,"σ"],[120765,1,"τ"],[120766,1,"υ"],[120767,1,"φ"],[120768,1,"χ"],[120769,1,"ψ"],[120770,1,"ω"],[120771,1,"∂"],[120772,1,"ε"],[120773,1,"θ"],[120774,1,"κ"],[120775,1,"φ"],[120776,1,"ρ"],[120777,1,"π"],[[120778,120779],1,"ϝ"],[[120780,120781],3],[120782,1,"0"],[120783,1,"1"],[120784,1,"2"],[120785,1,"3"],[120786,1,"4"],[120787,1,"5"],[120788,1,"6"],[120789,1,"7"],[120790,1,"8"],[120791,1,"9"],[120792,1,"0"],[120793,1,"1"],[120794,1,"2"],[120795,1,"3"],[120796,1,"4"],[120797,1,"5"],[120798,1,"6"],[120799,1,"7"],[120800,1,"8"],[120801,1,"9"],[120802,1,"0"],[120803,1,"1"],[120804,1,"2"],[120805,1,"3"],[120806,1,"4"],[120807,1,"5"],[120808,1,"6"],[120809,1,"7"],[120810,1,"8"],[120811,1,"9"],[120812,1,"0"],[120813,1,"1"],[120814,1,"2"],[120815,1,"3"],[120816,1,"4"],[120817,1,"5"],[120818,1,"6"],[120819,1,"7"],[120820,1,"8"],[120821,1,"9"],[120822,1,"0"],[120823,1,"1"],[120824,1,"2"],[120825,1,"3"],[120826,1,"4"],[120827,1,"5"],[120828,1,"6"],[120829,1,"7"],[120830,1,"8"],[120831,1,"9"],[[120832,121343],2],[[121344,121398],2],[[121399,121402],2],[[121403,121452],2],[[121453,121460],2],[121461,2],[[121462,121475],2],[121476,2],[[121477,121483],2],[[121484,121498],3],[[121499,121503],2],[121504,3],[[121505,121519],2],[[121520,122623],3],[[122624,122654],2],[[122655,122879],3],[[122880,122886],2],[122887,3],[[122888,122904],2],[[122905,122906],3],[[122907,122913],2],[122914,3],[[122915,122916],2],[122917,3],[[122918,122922],2],[[122923,123135],3],[[123136,123180],2],[[123181,123183],3],[[123184,123197],2],[[123198,123199],3],[[123200,123209],2],[[123210,123213],3],[123214,2],[123215,2],[[123216,123535],3],[[123536,123566],2],[[123567,123583],3],[[123584,123641],2],[[123642,123646],3],[123647,2],[[123648,124895],3],[[124896,124902],2],[124903,3],[[124904,124907],2],[124908,3],[[124909,124910],2],[124911,3],[[124912,124926],2],[124927,3],[[124928,125124],2],[[125125,125126],3],[[125127,125135],2],[[125136,125142],2],[[125143,125183],3],[125184,1,"𞤢"],[125185,1,"𞤣"],[125186,1,"𞤤"],[125187,1,"𞤥"],[125188,1,"𞤦"],[125189,1,"𞤧"],[125190,1,"𞤨"],[125191,1,"𞤩"],[125192,1,"𞤪"],[125193,1,"𞤫"],[125194,1,"𞤬"],[125195,1,"𞤭"],[125196,1,"𞤮"],[125197,1,"𞤯"],[125198,1,"𞤰"],[125199,1,"𞤱"],[125200,1,"𞤲"],[125201,1,"𞤳"],[125202,1,"𞤴"],[125203,1,"𞤵"],[125204,1,"𞤶"],[125205,1,"𞤷"],[125206,1,"𞤸"],[125207,1,"𞤹"],[125208,1,"𞤺"],[125209,1,"𞤻"],[125210,1,"𞤼"],[125211,1,"𞤽"],[125212,1,"𞤾"],[125213,1,"𞤿"],[125214,1,"𞥀"],[125215,1,"𞥁"],[125216,1,"𞥂"],[125217,1,"𞥃"],[[125218,125258],2],[125259,2],[[125260,125263],3],[[125264,125273],2],[[125274,125277],3],[[125278,125279],2],[[125280,126064],3],[[126065,126132],2],[[126133,126208],3],[[126209,126269],2],[[126270,126463],3],[126464,1,"ا"],[126465,1,"ب"],[126466,1,"ج"],[126467,1,"د"],[126468,3],[126469,1,"و"],[126470,1,"ز"],[126471,1,"ح"],[126472,1,"ط"],[126473,1,"ي"],[126474,1,"ك"],[126475,1,"ل"],[126476,1,"م"],[126477,1,"ن"],[126478,1,"س"],[126479,1,"ع"],[126480,1,"ف"],[126481,1,"ص"],[126482,1,"ق"],[126483,1,"ر"],[126484,1,"ش"],[126485,1,"ت"],[126486,1,"ث"],[126487,1,"خ"],[126488,1,"ذ"],[126489,1,"ض"],[126490,1,"ظ"],[126491,1,"غ"],[126492,1,"ٮ"],[126493,1,"ں"],[126494,1,"ڡ"],[126495,1,"ٯ"],[126496,3],[126497,1,"ب"],[126498,1,"ج"],[126499,3],[126500,1,"ه"],[[126501,126502],3],[126503,1,"ح"],[126504,3],[126505,1,"ي"],[126506,1,"ك"],[126507,1,"ل"],[126508,1,"م"],[126509,1,"ن"],[126510,1,"س"],[126511,1,"ع"],[126512,1,"ف"],[126513,1,"ص"],[126514,1,"ق"],[126515,3],[126516,1,"ش"],[126517,1,"ت"],[126518,1,"ث"],[126519,1,"خ"],[126520,3],[126521,1,"ض"],[126522,3],[126523,1,"غ"],[[126524,126529],3],[126530,1,"ج"],[[126531,126534],3],[126535,1,"ح"],[126536,3],[126537,1,"ي"],[126538,3],[126539,1,"ل"],[126540,3],[126541,1,"ن"],[126542,1,"س"],[126543,1,"ع"],[126544,3],[126545,1,"ص"],[126546,1,"ق"],[126547,3],[126548,1,"ش"],[[126549,126550],3],[126551,1,"خ"],[126552,3],[126553,1,"ض"],[126554,3],[126555,1,"غ"],[126556,3],[126557,1,"ں"],[126558,3],[126559,1,"ٯ"],[126560,3],[126561,1,"ب"],[126562,1,"ج"],[126563,3],[126564,1,"ه"],[[126565,126566],3],[126567,1,"ح"],[126568,1,"ط"],[126569,1,"ي"],[126570,1,"ك"],[126571,3],[126572,1,"م"],[126573,1,"ن"],[126574,1,"س"],[126575,1,"ع"],[126576,1,"ف"],[126577,1,"ص"],[126578,1,"ق"],[126579,3],[126580,1,"ش"],[126581,1,"ت"],[126582,1,"ث"],[126583,1,"خ"],[126584,3],[126585,1,"ض"],[126586,1,"ظ"],[126587,1,"غ"],[126588,1,"ٮ"],[126589,3],[126590,1,"ڡ"],[126591,3],[126592,1,"ا"],[126593,1,"ب"],[126594,1,"ج"],[126595,1,"د"],[126596,1,"ه"],[126597,1,"و"],[126598,1,"ز"],[126599,1,"ح"],[126600,1,"ط"],[126601,1,"ي"],[126602,3],[126603,1,"ل"],[126604,1,"م"],[126605,1,"ن"],[126606,1,"س"],[126607,1,"ع"],[126608,1,"ف"],[126609,1,"ص"],[126610,1,"ق"],[126611,1,"ر"],[126612,1,"ش"],[126613,1,"ت"],[126614,1,"ث"],[126615,1,"خ"],[126616,1,"ذ"],[126617,1,"ض"],[126618,1,"ظ"],[126619,1,"غ"],[[126620,126624],3],[126625,1,"ب"],[126626,1,"ج"],[126627,1,"د"],[126628,3],[126629,1,"و"],[126630,1,"ز"],[126631,1,"ح"],[126632,1,"ط"],[126633,1,"ي"],[126634,3],[126635,1,"ل"],[126636,1,"م"],[126637,1,"ن"],[126638,1,"س"],[126639,1,"ع"],[126640,1,"ف"],[126641,1,"ص"],[126642,1,"ق"],[126643,1,"ر"],[126644,1,"ش"],[126645,1,"ت"],[126646,1,"ث"],[126647,1,"خ"],[126648,1,"ذ"],[126649,1,"ض"],[126650,1,"ظ"],[126651,1,"غ"],[[126652,126703],3],[[126704,126705],2],[[126706,126975],3],[[126976,127019],2],[[127020,127023],3],[[127024,127123],2],[[127124,127135],3],[[127136,127150],2],[[127151,127152],3],[[127153,127166],2],[127167,2],[127168,3],[[127169,127183],2],[127184,3],[[127185,127199],2],[[127200,127221],2],[[127222,127231],3],[127232,3],[127233,5,"0,"],[127234,5,"1,"],[127235,5,"2,"],[127236,5,"3,"],[127237,5,"4,"],[127238,5,"5,"],[127239,5,"6,"],[127240,5,"7,"],[127241,5,"8,"],[127242,5,"9,"],[[127243,127244],2],[[127245,127247],2],[127248,5,"(a)"],[127249,5,"(b)"],[127250,5,"(c)"],[127251,5,"(d)"],[127252,5,"(e)"],[127253,5,"(f)"],[127254,5,"(g)"],[127255,5,"(h)"],[127256,5,"(i)"],[127257,5,"(j)"],[127258,5,"(k)"],[127259,5,"(l)"],[127260,5,"(m)"],[127261,5,"(n)"],[127262,5,"(o)"],[127263,5,"(p)"],[127264,5,"(q)"],[127265,5,"(r)"],[127266,5,"(s)"],[127267,5,"(t)"],[127268,5,"(u)"],[127269,5,"(v)"],[127270,5,"(w)"],[127271,5,"(x)"],[127272,5,"(y)"],[127273,5,"(z)"],[127274,1,"〔s〕"],[127275,1,"c"],[127276,1,"r"],[127277,1,"cd"],[127278,1,"wz"],[127279,2],[127280,1,"a"],[127281,1,"b"],[127282,1,"c"],[127283,1,"d"],[127284,1,"e"],[127285,1,"f"],[127286,1,"g"],[127287,1,"h"],[127288,1,"i"],[127289,1,"j"],[127290,1,"k"],[127291,1,"l"],[127292,1,"m"],[127293,1,"n"],[127294,1,"o"],[127295,1,"p"],[127296,1,"q"],[127297,1,"r"],[127298,1,"s"],[127299,1,"t"],[127300,1,"u"],[127301,1,"v"],[127302,1,"w"],[127303,1,"x"],[127304,1,"y"],[127305,1,"z"],[127306,1,"hv"],[127307,1,"mv"],[127308,1,"sd"],[127309,1,"ss"],[127310,1,"ppv"],[127311,1,"wc"],[[127312,127318],2],[127319,2],[[127320,127326],2],[127327,2],[[127328,127337],2],[127338,1,"mc"],[127339,1,"md"],[127340,1,"mr"],[[127341,127343],2],[[127344,127352],2],[127353,2],[127354,2],[[127355,127356],2],[[127357,127358],2],[127359,2],[[127360,127369],2],[[127370,127373],2],[[127374,127375],2],[127376,1,"dj"],[[127377,127386],2],[[127387,127404],2],[127405,2],[[127406,127461],3],[[127462,127487],2],[127488,1,"ほか"],[127489,1,"ココ"],[127490,1,"サ"],[[127491,127503],3],[127504,1,"手"],[127505,1,"字"],[127506,1,"双"],[127507,1,"デ"],[127508,1,"二"],[127509,1,"多"],[127510,1,"解"],[127511,1,"天"],[127512,1,"交"],[127513,1,"映"],[127514,1,"無"],[127515,1,"料"],[127516,1,"前"],[127517,1,"後"],[127518,1,"再"],[127519,1,"新"],[127520,1,"初"],[127521,1,"終"],[127522,1,"生"],[127523,1,"販"],[127524,1,"声"],[127525,1,"吹"],[127526,1,"演"],[127527,1,"投"],[127528,1,"捕"],[127529,1,"一"],[127530,1,"三"],[127531,1,"遊"],[127532,1,"左"],[127533,1,"中"],[127534,1,"右"],[127535,1,"指"],[127536,1,"走"],[127537,1,"打"],[127538,1,"禁"],[127539,1,"空"],[127540,1,"合"],[127541,1,"満"],[127542,1,"有"],[127543,1,"月"],[127544,1,"申"],[127545,1,"割"],[127546,1,"営"],[127547,1,"配"],[[127548,127551],3],[127552,1,"〔本〕"],[127553,1,"〔三〕"],[127554,1,"〔二〕"],[127555,1,"〔安〕"],[127556,1,"〔点〕"],[127557,1,"〔打〕"],[127558,1,"〔盗〕"],[127559,1,"〔勝〕"],[127560,1,"〔敗〕"],[[127561,127567],3],[127568,1,"得"],[127569,1,"可"],[[127570,127583],3],[[127584,127589],2],[[127590,127743],3],[[127744,127776],2],[[127777,127788],2],[[127789,127791],2],[[127792,127797],2],[127798,2],[[127799,127868],2],[127869,2],[[127870,127871],2],[[127872,127891],2],[[127892,127903],2],[[127904,127940],2],[127941,2],[[127942,127946],2],[[127947,127950],2],[[127951,127955],2],[[127956,127967],2],[[127968,127984],2],[[127985,127991],2],[[127992,127999],2],[[128000,128062],2],[128063,2],[128064,2],[128065,2],[[128066,128247],2],[128248,2],[[128249,128252],2],[[128253,128254],2],[128255,2],[[128256,128317],2],[[128318,128319],2],[[128320,128323],2],[[128324,128330],2],[[128331,128335],2],[[128336,128359],2],[[128360,128377],2],[128378,2],[[128379,128419],2],[128420,2],[[128421,128506],2],[[128507,128511],2],[128512,2],[[128513,128528],2],[128529,2],[[128530,128532],2],[128533,2],[128534,2],[128535,2],[128536,2],[128537,2],[128538,2],[128539,2],[[128540,128542],2],[128543,2],[[128544,128549],2],[[128550,128551],2],[[128552,128555],2],[128556,2],[128557,2],[[128558,128559],2],[[128560,128563],2],[128564,2],[[128565,128576],2],[[128577,128578],2],[[128579,128580],2],[[128581,128591],2],[[128592,128639],2],[[128640,128709],2],[[128710,128719],2],[128720,2],[[128721,128722],2],[[128723,128724],2],[128725,2],[[128726,128727],2],[[128728,128732],3],[[128733,128735],2],[[128736,128748],2],[[128749,128751],3],[[128752,128755],2],[[128756,128758],2],[[128759,128760],2],[128761,2],[128762,2],[[128763,128764],2],[[128765,128767],3],[[128768,128883],2],[[128884,128895],3],[[128896,128980],2],[[128981,128984],2],[[128985,128991],3],[[128992,129003],2],[[129004,129007],3],[129008,2],[[129009,129023],3],[[129024,129035],2],[[129036,129039],3],[[129040,129095],2],[[129096,129103],3],[[129104,129113],2],[[129114,129119],3],[[129120,129159],2],[[129160,129167],3],[[129168,129197],2],[[129198,129199],3],[[129200,129201],2],[[129202,129279],3],[[129280,129291],2],[129292,2],[[129293,129295],2],[[129296,129304],2],[[129305,129310],2],[129311,2],[[129312,129319],2],[[129320,129327],2],[129328,2],[[129329,129330],2],[[129331,129342],2],[129343,2],[[129344,129355],2],[129356,2],[[129357,129359],2],[[129360,129374],2],[[129375,129387],2],[[129388,129392],2],[129393,2],[129394,2],[[129395,129398],2],[[129399,129400],2],[129401,2],[129402,2],[129403,2],[[129404,129407],2],[[129408,129412],2],[[129413,129425],2],[[129426,129431],2],[[129432,129442],2],[[129443,129444],2],[[129445,129450],2],[[129451,129453],2],[[129454,129455],2],[[129456,129465],2],[[129466,129471],2],[129472,2],[[129473,129474],2],[[129475,129482],2],[129483,2],[129484,2],[[129485,129487],2],[[129488,129510],2],[[129511,129535],2],[[129536,129619],2],[[129620,129631],3],[[129632,129645],2],[[129646,129647],3],[[129648,129651],2],[129652,2],[[129653,129655],3],[[129656,129658],2],[[129659,129660],2],[[129661,129663],3],[[129664,129666],2],[[129667,129670],2],[[129671,129679],3],[[129680,129685],2],[[129686,129704],2],[[129705,129708],2],[[129709,129711],3],[[129712,129718],2],[[129719,129722],2],[[129723,129727],3],[[129728,129730],2],[[129731,129733],2],[[129734,129743],3],[[129744,129750],2],[[129751,129753],2],[[129754,129759],3],[[129760,129767],2],[[129768,129775],3],[[129776,129782],2],[[129783,129791],3],[[129792,129938],2],[129939,3],[[129940,129994],2],[[129995,130031],3],[130032,1,"0"],[130033,1,"1"],[130034,1,"2"],[130035,1,"3"],[130036,1,"4"],[130037,1,"5"],[130038,1,"6"],[130039,1,"7"],[130040,1,"8"],[130041,1,"9"],[[130042,131069],3],[[131070,131071],3],[[131072,173782],2],[[173783,173789],2],[[173790,173791],2],[[173792,173823],3],[[173824,177972],2],[[177973,177976],2],[[177977,177983],3],[[177984,178205],2],[[178206,178207],3],[[178208,183969],2],[[183970,183983],3],[[183984,191456],2],[[191457,194559],3],[194560,1,"丽"],[194561,1,"丸"],[194562,1,"乁"],[194563,1,"𠄢"],[194564,1,"你"],[194565,1,"侮"],[194566,1,"侻"],[194567,1,"倂"],[194568,1,"偺"],[194569,1,"備"],[194570,1,"僧"],[194571,1,"像"],[194572,1,"㒞"],[194573,1,"𠘺"],[194574,1,"免"],[194575,1,"兔"],[194576,1,"兤"],[194577,1,"具"],[194578,1,"𠔜"],[194579,1,"㒹"],[194580,1,"內"],[194581,1,"再"],[194582,1,"𠕋"],[194583,1,"冗"],[194584,1,"冤"],[194585,1,"仌"],[194586,1,"冬"],[194587,1,"况"],[194588,1,"𩇟"],[194589,1,"凵"],[194590,1,"刃"],[194591,1,"㓟"],[194592,1,"刻"],[194593,1,"剆"],[194594,1,"割"],[194595,1,"剷"],[194596,1,"㔕"],[194597,1,"勇"],[194598,1,"勉"],[194599,1,"勤"],[194600,1,"勺"],[194601,1,"包"],[194602,1,"匆"],[194603,1,"北"],[194604,1,"卉"],[194605,1,"卑"],[194606,1,"博"],[194607,1,"即"],[194608,1,"卽"],[[194609,194611],1,"卿"],[194612,1,"𠨬"],[194613,1,"灰"],[194614,1,"及"],[194615,1,"叟"],[194616,1,"𠭣"],[194617,1,"叫"],[194618,1,"叱"],[194619,1,"吆"],[194620,1,"咞"],[194621,1,"吸"],[194622,1,"呈"],[194623,1,"周"],[194624,1,"咢"],[194625,1,"哶"],[194626,1,"唐"],[194627,1,"啓"],[194628,1,"啣"],[[194629,194630],1,"善"],[194631,1,"喙"],[194632,1,"喫"],[194633,1,"喳"],[194634,1,"嗂"],[194635,1,"圖"],[194636,1,"嘆"],[194637,1,"圗"],[194638,1,"噑"],[194639,1,"噴"],[194640,1,"切"],[194641,1,"壮"],[194642,1,"城"],[194643,1,"埴"],[194644,1,"堍"],[194645,1,"型"],[194646,1,"堲"],[194647,1,"報"],[194648,1,"墬"],[194649,1,"𡓤"],[194650,1,"売"],[194651,1,"壷"],[194652,1,"夆"],[194653,1,"多"],[194654,1,"夢"],[194655,1,"奢"],[194656,1,"𡚨"],[194657,1,"𡛪"],[194658,1,"姬"],[194659,1,"娛"],[194660,1,"娧"],[194661,1,"姘"],[194662,1,"婦"],[194663,1,"㛮"],[194664,3],[194665,1,"嬈"],[[194666,194667],1,"嬾"],[194668,1,"𡧈"],[194669,1,"寃"],[194670,1,"寘"],[194671,1,"寧"],[194672,1,"寳"],[194673,1,"𡬘"],[194674,1,"寿"],[194675,1,"将"],[194676,3],[194677,1,"尢"],[194678,1,"㞁"],[194679,1,"屠"],[194680,1,"屮"],[194681,1,"峀"],[194682,1,"岍"],[194683,1,"𡷤"],[194684,1,"嵃"],[194685,1,"𡷦"],[194686,1,"嵮"],[194687,1,"嵫"],[194688,1,"嵼"],[194689,1,"巡"],[194690,1,"巢"],[194691,1,"㠯"],[194692,1,"巽"],[194693,1,"帨"],[194694,1,"帽"],[194695,1,"幩"],[194696,1,"㡢"],[194697,1,"𢆃"],[194698,1,"㡼"],[194699,1,"庰"],[194700,1,"庳"],[194701,1,"庶"],[194702,1,"廊"],[194703,1,"𪎒"],[194704,1,"廾"],[[194705,194706],1,"𢌱"],[194707,1,"舁"],[[194708,194709],1,"弢"],[194710,1,"㣇"],[194711,1,"𣊸"],[194712,1,"𦇚"],[194713,1,"形"],[194714,1,"彫"],[194715,1,"㣣"],[194716,1,"徚"],[194717,1,"忍"],[194718,1,"志"],[194719,1,"忹"],[194720,1,"悁"],[194721,1,"㤺"],[194722,1,"㤜"],[194723,1,"悔"],[194724,1,"𢛔"],[194725,1,"惇"],[194726,1,"慈"],[194727,1,"慌"],[194728,1,"慎"],[194729,1,"慌"],[194730,1,"慺"],[194731,1,"憎"],[194732,1,"憲"],[194733,1,"憤"],[194734,1,"憯"],[194735,1,"懞"],[194736,1,"懲"],[194737,1,"懶"],[194738,1,"成"],[194739,1,"戛"],[194740,1,"扝"],[194741,1,"抱"],[194742,1,"拔"],[194743,1,"捐"],[194744,1,"𢬌"],[194745,1,"挽"],[194746,1,"拼"],[194747,1,"捨"],[194748,1,"掃"],[194749,1,"揤"],[194750,1,"𢯱"],[194751,1,"搢"],[194752,1,"揅"],[194753,1,"掩"],[194754,1,"㨮"],[194755,1,"摩"],[194756,1,"摾"],[194757,1,"撝"],[194758,1,"摷"],[194759,1,"㩬"],[194760,1,"敏"],[194761,1,"敬"],[194762,1,"𣀊"],[194763,1,"旣"],[194764,1,"書"],[194765,1,"晉"],[194766,1,"㬙"],[194767,1,"暑"],[194768,1,"㬈"],[194769,1,"㫤"],[194770,1,"冒"],[194771,1,"冕"],[194772,1,"最"],[194773,1,"暜"],[194774,1,"肭"],[194775,1,"䏙"],[194776,1,"朗"],[194777,1,"望"],[194778,1,"朡"],[194779,1,"杞"],[194780,1,"杓"],[194781,1,"𣏃"],[194782,1,"㭉"],[194783,1,"柺"],[194784,1,"枅"],[194785,1,"桒"],[194786,1,"梅"],[194787,1,"𣑭"],[194788,1,"梎"],[194789,1,"栟"],[194790,1,"椔"],[194791,1,"㮝"],[194792,1,"楂"],[194793,1,"榣"],[194794,1,"槪"],[194795,1,"檨"],[194796,1,"𣚣"],[194797,1,"櫛"],[194798,1,"㰘"],[194799,1,"次"],[194800,1,"𣢧"],[194801,1,"歔"],[194802,1,"㱎"],[194803,1,"歲"],[194804,1,"殟"],[194805,1,"殺"],[194806,1,"殻"],[194807,1,"𣪍"],[194808,1,"𡴋"],[194809,1,"𣫺"],[194810,1,"汎"],[194811,1,"𣲼"],[194812,1,"沿"],[194813,1,"泍"],[194814,1,"汧"],[194815,1,"洖"],[194816,1,"派"],[194817,1,"海"],[194818,1,"流"],[194819,1,"浩"],[194820,1,"浸"],[194821,1,"涅"],[194822,1,"𣴞"],[194823,1,"洴"],[194824,1,"港"],[194825,1,"湮"],[194826,1,"㴳"],[194827,1,"滋"],[194828,1,"滇"],[194829,1,"𣻑"],[194830,1,"淹"],[194831,1,"潮"],[194832,1,"𣽞"],[194833,1,"𣾎"],[194834,1,"濆"],[194835,1,"瀹"],[194836,1,"瀞"],[194837,1,"瀛"],[194838,1,"㶖"],[194839,1,"灊"],[194840,1,"災"],[194841,1,"灷"],[194842,1,"炭"],[194843,1,"𠔥"],[194844,1,"煅"],[194845,1,"𤉣"],[194846,1,"熜"],[194847,3],[194848,1,"爨"],[194849,1,"爵"],[194850,1,"牐"],[194851,1,"𤘈"],[194852,1,"犀"],[194853,1,"犕"],[194854,1,"𤜵"],[194855,1,"𤠔"],[194856,1,"獺"],[194857,1,"王"],[194858,1,"㺬"],[194859,1,"玥"],[[194860,194861],1,"㺸"],[194862,1,"瑇"],[194863,1,"瑜"],[194864,1,"瑱"],[194865,1,"璅"],[194866,1,"瓊"],[194867,1,"㼛"],[194868,1,"甤"],[194869,1,"𤰶"],[194870,1,"甾"],[194871,1,"𤲒"],[194872,1,"異"],[194873,1,"𢆟"],[194874,1,"瘐"],[194875,1,"𤾡"],[194876,1,"𤾸"],[194877,1,"𥁄"],[194878,1,"㿼"],[194879,1,"䀈"],[194880,1,"直"],[194881,1,"𥃳"],[194882,1,"𥃲"],[194883,1,"𥄙"],[194884,1,"𥄳"],[194885,1,"眞"],[[194886,194887],1,"真"],[194888,1,"睊"],[194889,1,"䀹"],[194890,1,"瞋"],[194891,1,"䁆"],[194892,1,"䂖"],[194893,1,"𥐝"],[194894,1,"硎"],[194895,1,"碌"],[194896,1,"磌"],[194897,1,"䃣"],[194898,1,"𥘦"],[194899,1,"祖"],[194900,1,"𥚚"],[194901,1,"𥛅"],[194902,1,"福"],[194903,1,"秫"],[194904,1,"䄯"],[194905,1,"穀"],[194906,1,"穊"],[194907,1,"穏"],[194908,1,"𥥼"],[[194909,194910],1,"𥪧"],[194911,3],[194912,1,"䈂"],[194913,1,"𥮫"],[194914,1,"篆"],[194915,1,"築"],[194916,1,"䈧"],[194917,1,"𥲀"],[194918,1,"糒"],[194919,1,"䊠"],[194920,1,"糨"],[194921,1,"糣"],[194922,1,"紀"],[194923,1,"𥾆"],[194924,1,"絣"],[194925,1,"䌁"],[194926,1,"緇"],[194927,1,"縂"],[194928,1,"繅"],[194929,1,"䌴"],[194930,1,"𦈨"],[194931,1,"𦉇"],[194932,1,"䍙"],[194933,1,"𦋙"],[194934,1,"罺"],[194935,1,"𦌾"],[194936,1,"羕"],[194937,1,"翺"],[194938,1,"者"],[194939,1,"𦓚"],[194940,1,"𦔣"],[194941,1,"聠"],[194942,1,"𦖨"],[194943,1,"聰"],[194944,1,"𣍟"],[194945,1,"䏕"],[194946,1,"育"],[194947,1,"脃"],[194948,1,"䐋"],[194949,1,"脾"],[194950,1,"媵"],[194951,1,"𦞧"],[194952,1,"𦞵"],[194953,1,"𣎓"],[194954,1,"𣎜"],[194955,1,"舁"],[194956,1,"舄"],[194957,1,"辞"],[194958,1,"䑫"],[194959,1,"芑"],[194960,1,"芋"],[194961,1,"芝"],[194962,1,"劳"],[194963,1,"花"],[194964,1,"芳"],[194965,1,"芽"],[194966,1,"苦"],[194967,1,"𦬼"],[194968,1,"若"],[194969,1,"茝"],[194970,1,"荣"],[194971,1,"莭"],[194972,1,"茣"],[194973,1,"莽"],[194974,1,"菧"],[194975,1,"著"],[194976,1,"荓"],[194977,1,"菊"],[194978,1,"菌"],[194979,1,"菜"],[194980,1,"𦰶"],[194981,1,"𦵫"],[194982,1,"𦳕"],[194983,1,"䔫"],[194984,1,"蓱"],[194985,1,"蓳"],[194986,1,"蔖"],[194987,1,"𧏊"],[194988,1,"蕤"],[194989,1,"𦼬"],[194990,1,"䕝"],[194991,1,"䕡"],[194992,1,"𦾱"],[194993,1,"𧃒"],[194994,1,"䕫"],[194995,1,"虐"],[194996,1,"虜"],[194997,1,"虧"],[194998,1,"虩"],[194999,1,"蚩"],[195000,1,"蚈"],[195001,1,"蜎"],[195002,1,"蛢"],[195003,1,"蝹"],[195004,1,"蜨"],[195005,1,"蝫"],[195006,1,"螆"],[195007,3],[195008,1,"蟡"],[195009,1,"蠁"],[195010,1,"䗹"],[195011,1,"衠"],[195012,1,"衣"],[195013,1,"𧙧"],[195014,1,"裗"],[195015,1,"裞"],[195016,1,"䘵"],[195017,1,"裺"],[195018,1,"㒻"],[195019,1,"𧢮"],[195020,1,"𧥦"],[195021,1,"䚾"],[195022,1,"䛇"],[195023,1,"誠"],[195024,1,"諭"],[195025,1,"變"],[195026,1,"豕"],[195027,1,"𧲨"],[195028,1,"貫"],[195029,1,"賁"],[195030,1,"贛"],[195031,1,"起"],[195032,1,"𧼯"],[195033,1,"𠠄"],[195034,1,"跋"],[195035,1,"趼"],[195036,1,"跰"],[195037,1,"𠣞"],[195038,1,"軔"],[195039,1,"輸"],[195040,1,"𨗒"],[195041,1,"𨗭"],[195042,1,"邔"],[195043,1,"郱"],[195044,1,"鄑"],[195045,1,"𨜮"],[195046,1,"鄛"],[195047,1,"鈸"],[195048,1,"鋗"],[195049,1,"鋘"],[195050,1,"鉼"],[195051,1,"鏹"],[195052,1,"鐕"],[195053,1,"𨯺"],[195054,1,"開"],[195055,1,"䦕"],[195056,1,"閷"],[195057,1,"𨵷"],[195058,1,"䧦"],[195059,1,"雃"],[195060,1,"嶲"],[195061,1,"霣"],[195062,1,"𩅅"],[195063,1,"𩈚"],[195064,1,"䩮"],[195065,1,"䩶"],[195066,1,"韠"],[195067,1,"𩐊"],[195068,1,"䪲"],[195069,1,"𩒖"],[[195070,195071],1,"頋"],[195072,1,"頩"],[195073,1,"𩖶"],[195074,1,"飢"],[195075,1,"䬳"],[195076,1,"餩"],[195077,1,"馧"],[195078,1,"駂"],[195079,1,"駾"],[195080,1,"䯎"],[195081,1,"𩬰"],[195082,1,"鬒"],[195083,1,"鱀"],[195084,1,"鳽"],[195085,1,"䳎"],[195086,1,"䳭"],[195087,1,"鵧"],[195088,1,"𪃎"],[195089,1,"䳸"],[195090,1,"𪄅"],[195091,1,"𪈎"],[195092,1,"𪊑"],[195093,1,"麻"],[195094,1,"䵖"],[195095,1,"黹"],[195096,1,"黾"],[195097,1,"鼅"],[195098,1,"鼏"],[195099,1,"鼖"],[195100,1,"鼻"],[195101,1,"𪘀"],[[195102,196605],3],[[196606,196607],3],[[196608,201546],2],[[201547,262141],3],[[262142,262143],3],[[262144,327677],3],[[327678,327679],3],[[327680,393213],3],[[393214,393215],3],[[393216,458749],3],[[458750,458751],3],[[458752,524285],3],[[524286,524287],3],[[524288,589821],3],[[589822,589823],3],[[589824,655357],3],[[655358,655359],3],[[655360,720893],3],[[720894,720895],3],[[720896,786429],3],[[786430,786431],3],[[786432,851965],3],[[851966,851967],3],[[851968,917501],3],[[917502,917503],3],[917504,3],[917505,3],[[917506,917535],3],[[917536,917631],3],[[917632,917759],3],[[917760,917999],7],[[918000,983037],3],[[983038,983039],3],[[983040,1048573],3],[[1048574,1048575],3],[[1048576,1114109],3],[[1114110,1114111],3]]')},45952:function(module){module.exports=JSON.parse('{"866":"IBM866","unicode-1-1-utf-8":"UTF-8","unicode11utf8":"UTF-8","unicode20utf8":"UTF-8","utf-8":"UTF-8","utf8":"UTF-8","x-unicode20utf8":"UTF-8","cp866":"IBM866","csibm866":"IBM866","ibm866":"IBM866","csisolatin2":"ISO-8859-2","iso-8859-2":"ISO-8859-2","iso-ir-101":"ISO-8859-2","iso8859-2":"ISO-8859-2","iso88592":"ISO-8859-2","iso_8859-2":"ISO-8859-2","iso_8859-2:1987":"ISO-8859-2","l2":"ISO-8859-2","latin2":"ISO-8859-2","csisolatin3":"ISO-8859-3","iso-8859-3":"ISO-8859-3","iso-ir-109":"ISO-8859-3","iso8859-3":"ISO-8859-3","iso88593":"ISO-8859-3","iso_8859-3":"ISO-8859-3","iso_8859-3:1988":"ISO-8859-3","l3":"ISO-8859-3","latin3":"ISO-8859-3","csisolatin4":"ISO-8859-4","iso-8859-4":"ISO-8859-4","iso-ir-110":"ISO-8859-4","iso8859-4":"ISO-8859-4","iso88594":"ISO-8859-4","iso_8859-4":"ISO-8859-4","iso_8859-4:1988":"ISO-8859-4","l4":"ISO-8859-4","latin4":"ISO-8859-4","csisolatincyrillic":"ISO-8859-5","cyrillic":"ISO-8859-5","iso-8859-5":"ISO-8859-5","iso-ir-144":"ISO-8859-5","iso8859-5":"ISO-8859-5","iso88595":"ISO-8859-5","iso_8859-5":"ISO-8859-5","iso_8859-5:1988":"ISO-8859-5","arabic":"ISO-8859-6","asmo-708":"ISO-8859-6","csiso88596e":"ISO-8859-6","csiso88596i":"ISO-8859-6","csisolatinarabic":"ISO-8859-6","ecma-114":"ISO-8859-6","iso-8859-6":"ISO-8859-6","iso-8859-6-e":"ISO-8859-6","iso-8859-6-i":"ISO-8859-6","iso-ir-127":"ISO-8859-6","iso8859-6":"ISO-8859-6","iso88596":"ISO-8859-6","iso_8859-6":"ISO-8859-6","iso_8859-6:1987":"ISO-8859-6","csisolatingreek":"ISO-8859-7","ecma-118":"ISO-8859-7","elot_928":"ISO-8859-7","greek":"ISO-8859-7","greek8":"ISO-8859-7","iso-8859-7":"ISO-8859-7","iso-ir-126":"ISO-8859-7","iso8859-7":"ISO-8859-7","iso88597":"ISO-8859-7","iso_8859-7":"ISO-8859-7","iso_8859-7:1987":"ISO-8859-7","sun_eu_greek":"ISO-8859-7","csiso88598e":"ISO-8859-8","csisolatinhebrew":"ISO-8859-8","hebrew":"ISO-8859-8","iso-8859-8":"ISO-8859-8","iso-8859-8-e":"ISO-8859-8","iso-ir-138":"ISO-8859-8","iso8859-8":"ISO-8859-8","iso88598":"ISO-8859-8","iso_8859-8":"ISO-8859-8","iso_8859-8:1988":"ISO-8859-8","visual":"ISO-8859-8","csisolatin6":"ISO-8859-10","iso-8859-10":"ISO-8859-10","iso-ir-157":"ISO-8859-10","iso8859-10":"ISO-8859-10","iso885910":"ISO-8859-10","l6":"ISO-8859-10","latin6":"ISO-8859-10","iso-8859-13":"ISO-8859-13","iso8859-13":"ISO-8859-13","iso885913":"ISO-8859-13","iso-8859-14":"ISO-8859-14","iso8859-14":"ISO-8859-14","iso885914":"ISO-8859-14","csisolatin9":"ISO-8859-15","iso-8859-15":"ISO-8859-15","iso8859-15":"ISO-8859-15","iso885915":"ISO-8859-15","iso_8859-15":"ISO-8859-15","l9":"ISO-8859-15","iso-8859-16":"ISO-8859-16","cskoi8r":"KOI8-R","koi":"KOI8-R","koi8":"KOI8-R","koi8-r":"KOI8-R","koi8_r":"KOI8-R","koi8-ru":"KOI8-U","koi8-u":"KOI8-U","csmacintosh":"macintosh","mac":"macintosh","macintosh":"macintosh","x-mac-roman":"macintosh","dos-874":"windows-874","iso-8859-11":"windows-874","iso8859-11":"windows-874","iso885911":"windows-874","tis-620":"windows-874","windows-874":"windows-874","cp1250":"windows-1250","windows-1250":"windows-1250","x-cp1250":"windows-1250","cp1251":"windows-1251","windows-1251":"windows-1251","x-cp1251":"windows-1251","ansi_x3.4-1968":"windows-1252","ascii":"windows-1252","cp1252":"windows-1252","cp819":"windows-1252","csisolatin1":"windows-1252","ibm819":"windows-1252","iso-8859-1":"windows-1252","iso-ir-100":"windows-1252","iso8859-1":"windows-1252","iso88591":"windows-1252","iso_8859-1":"windows-1252","iso_8859-1:1987":"windows-1252","l1":"windows-1252","latin1":"windows-1252","us-ascii":"windows-1252","windows-1252":"windows-1252","x-cp1252":"windows-1252","cp1253":"windows-1253","windows-1253":"windows-1253","x-cp1253":"windows-1253","cp1254":"windows-1254","csisolatin5":"windows-1254","iso-8859-9":"windows-1254","iso-ir-148":"windows-1254","iso8859-9":"windows-1254","iso88599":"windows-1254","iso_8859-9":"windows-1254","iso_8859-9:1989":"windows-1254","l5":"windows-1254","latin5":"windows-1254","windows-1254":"windows-1254","x-cp1254":"windows-1254","cp1255":"windows-1255","windows-1255":"windows-1255","x-cp1255":"windows-1255","cp1256":"windows-1256","windows-1256":"windows-1256","x-cp1256":"windows-1256","cp1257":"windows-1257","windows-1257":"windows-1257","x-cp1257":"windows-1257","cp1258":"windows-1258","windows-1258":"windows-1258","x-cp1258":"windows-1258","chinese":"GBK","csgb2312":"GBK","csiso58gb231280":"GBK","gb2312":"GBK","gb_2312":"GBK","gb_2312-80":"GBK","gbk":"GBK","iso-ir-58":"GBK","x-gbk":"GBK","gb18030":"gb18030","big5":"Big5","big5-hkscs":"Big5","cn-big5":"Big5","csbig5":"Big5","x-x-big5":"Big5","cseucpkdfmtjapanese":"EUC-JP","euc-jp":"EUC-JP","x-euc-jp":"EUC-JP","csshiftjis":"Shift_JIS","ms932":"Shift_JIS","ms_kanji":"Shift_JIS","shift-jis":"Shift_JIS","shift_jis":"Shift_JIS","sjis":"Shift_JIS","windows-31j":"Shift_JIS","x-sjis":"Shift_JIS","cseuckr":"EUC-KR","csksc56011987":"EUC-KR","euc-kr":"EUC-KR","iso-ir-149":"EUC-KR","korean":"EUC-KR","ks_c_5601-1987":"EUC-KR","ks_c_5601-1989":"EUC-KR","ksc5601":"EUC-KR","ksc_5601":"EUC-KR","windows-949":"EUC-KR","unicodefffe":"UTF-16BE","utf-16be":"UTF-16BE","csunicode":"UTF-16LE","iso-10646-ucs-2":"UTF-16LE","ucs-2":"UTF-16LE","unicode":"UTF-16LE","unicodefeff":"UTF-16LE","utf-16":"UTF-16LE","utf-16le":"UTF-16LE"}')},30394:function(module){module.exports=JSON.parse('["UTF-8","IBM866","ISO-8859-2","ISO-8859-3","ISO-8859-4","ISO-8859-5","ISO-8859-6","ISO-8859-7","ISO-8859-8","ISO-8859-10","ISO-8859-13","ISO-8859-14","ISO-8859-15","ISO-8859-16","KOI8-R","KOI8-U","macintosh","windows-874","windows-1250","windows-1251","windows-1252","windows-1253","windows-1254","windows-1255","windows-1256","windows-1257","windows-1258","GBK","gb18030","Big5","EUC-JP","Shift_JIS","EUC-KR","UTF-16BE","UTF-16LE"]')}},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}__webpack_require__.n=function(module){var getter=module&&module.__esModule?function(){return module.default}:function(){return module};return __webpack_require__.d(getter,{a:getter}),getter},getProto=Object.getPrototypeOf?function(obj){return Object.getPrototypeOf(obj)}:function(obj){return obj.__proto__},__webpack_require__.t=function(value,mode){if(1&mode&&(value=this(value)),8&mode)return value;if("object"==typeof value&&value){if(4&mode&&value.__esModule)return value;if(16&mode&&"function"==typeof value.then)return value}var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;"object"==typeof current&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach((function(key){def[key]=function(){return value[key]}}));return def.default=function(){return value},__webpack_require__.d(ns,def),ns},__webpack_require__.d=function(exports,definition){for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=function(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)},__webpack_require__.r=function(exports){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.nmd=function(module){return module.paths=[],module.children||(module.children=[]),module},function(){var asn1_namespaceObject={};__webpack_require__.r(asn1_namespaceObject),__webpack_require__.d(asn1_namespaceObject,{Any:function(){return Any},BaseBlock:function(){return BaseBlock},BitString:function(){return BitString},BmpString:function(){return BmpString},Boolean:function(){return asn1_Boolean},CharacterString:function(){return CharacterString},Choice:function(){return Choice},Constructed:function(){return Constructed},DATE:function(){return DATE},DateTime:function(){return DateTime},Duration:function(){return Duration},EndOfContent:function(){return EndOfContent},Enumerated:function(){return Enumerated},GeneralString:function(){return GeneralString},GeneralizedTime:function(){return GeneralizedTime},GraphicString:function(){return GraphicString},HexBlock:function(){return HexBlock},IA5String:function(){return IA5String},Integer:function(){return Integer},Null:function(){return Null},NumericString:function(){return NumericString},ObjectIdentifier:function(){return ObjectIdentifier},OctetString:function(){return OctetString},Primitive:function(){return Primitive},PrintableString:function(){return PrintableString},RawData:function(){return RawData},RelativeObjectIdentifier:function(){return RelativeObjectIdentifier},Repeated:function(){return Repeated},Sequence:function(){return Sequence},Set:function(){return asn1_Set},TIME:function(){return TIME},TeletexString:function(){return TeletexString},TimeOfDay:function(){return TimeOfDay},UTCTime:function(){return UTCTime},UniversalString:function(){return UniversalString},Utf8String:function(){return Utf8String},ValueBlock:function(){return ValueBlock},VideotexString:function(){return VideotexString},VisibleString:function(){return VisibleString},compareSchema:function(){return compareSchema},fromBER:function(){return fromBER},fromJSON:function(){return fromJSON},verifySchema:function(){return verifySchema}});var tem,ua,M,sayswho,esm_typeof=__webpack_require__(71002);__webpack_require__(74916),__webpack_require__(4723),__webpack_require__(15306),__webpack_require__(69600),__webpack_require__(47042),__webpack_require__(40561);"object"===("undefined"==typeof window?"undefined":(0,esm_typeof.Z)(window))&&(ua=navigator.userAgent,M=ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[],sayswho=/trident/i.test(M[1])?"IE "+((tem=/\brv[ :]+(\d+)/g.exec(ua)||[])[1]||""):"Chrome"===M[1]&&null!=(tem=ua.match(/\b(OPR|Edge)\/(\d+)/))?tem.slice(1).join(" ").replace("OPR","Opera"):(M=M[2]?[M[1],M[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(tem=ua.match(/version\/(\d+)/i))&&M.splice(1,1,tem[1]),M.join(" ")),document.querySelector("h1").innerHTML+=" "+sayswho);__webpack_require__(89554),__webpack_require__(41539),__webpack_require__(54747);var chai=__webpack_require__(14960);const expect=chai.expect;chai.version,chai.Assertion,chai.AssertionError,chai.util,chai.config,chai.use,chai.should,chai.assert,chai.core;var node_modules_chai=chai,classCallCheck=(__webpack_require__(12419),__webpack_require__(68309),__webpack_require__(91038),__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(32165),__webpack_require__(15671)),createClass=__webpack_require__(43144),inherits=__webpack_require__(60136),possibleConstructorReturn=__webpack_require__(82963),getPrototypeOf=__webpack_require__(61120),namespace=(__webpack_require__(66992),__webpack_require__(70189),__webpack_require__(78783),__webpack_require__(88921),__webpack_require__(96248),__webpack_require__(13599),__webpack_require__(11477),__webpack_require__(64362),__webpack_require__(15389),__webpack_require__(90401),__webpack_require__(45164),__webpack_require__(91238),__webpack_require__(54837),__webpack_require__(87485),__webpack_require__(56767),__webpack_require__(76651),__webpack_require__(61437),__webpack_require__(35285),__webpack_require__(39865),__webpack_require__(33948),__webpack_require__(92222),__webpack_require__(28970)),base=__webpack_require__(14599),validate=__webpack_require__(78268);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}var LogEntry=function(_Base){(0,inherits.Z)(LogEntry,_Base);var _super=_createSuper(LogEntry);function LogEntry(loglevel){var _this;(0,classCallCheck.Z)(this,LogEntry),_this=_super.call(this),(0,validate.bv)(loglevel),_this.loglevel=loglevel;for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return _this.arguments=args,_this}return(0,createClass.Z)(LogEntry,[{key:"getLogLevel",value:function getLogLevel(){return this.loglevel}},{key:"getArguments",value:function getArguments(){return this.arguments}}]),LogEntry}(base.X);function handler_createSuper(Derived){var hasNativeReflectConstruct=function handler_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Logging",LogEntry);var Handler=function(_Base){(0,inherits.Z)(Handler,_Base);var _super=handler_createSuper(Handler);function Handler(){var _this;return(0,classCallCheck.Z)(this,Handler),(_this=_super.call(this)).loglevel=OFF,_this}return(0,createClass.Z)(Handler,[{key:"log",value:function log(entry){return(0,validate.dh)(entry,LogEntry),!(this.loglevel<entry.getLogLevel())}},{key:"setLogLevel",value:function setLogLevel(loglevel){return(0,validate.bv)(loglevel),this.loglevel=loglevel,this}},{key:"getLogLevel",value:function getLogLevel(){return this.loglevel}},{key:"setAll",value:function setAll(){return this.setLogLevel(ALL),this}},{key:"setTrace",value:function setTrace(){return this.setLogLevel(TRACE),this}},{key:"setDebug",value:function setDebug(){return this.setLogLevel(DEBUG),this}},{key:"setInfo",value:function setInfo(){return this.setLogLevel(INFO),this}},{key:"setWarn",value:function setWarn(){return this.setLogLevel(WARN),this}},{key:"setError",value:function setError(){return this.setLogLevel(ERROR),this}},{key:"setFatal",value:function setFatal(){return this.setLogLevel(FATAL),this}},{key:"setOff",value:function setOff(){return this.setLogLevel(OFF),this}}]),Handler}(base.X);function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function logger_createSuper(Derived){var hasNativeReflectConstruct=function logger_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Logging",Handler);var ALL=255,TRACE=64,DEBUG=32,INFO=16,WARN=8,ERROR=4,FATAL=2,OFF=0,Logger=function(_Base){(0,inherits.Z)(Logger,_Base);var _super=logger_createSuper(Logger);function Logger(){var _this;return(0,classCallCheck.Z)(this,Logger),(_this=_super.call(this)).handler=new Set,_this}return(0,createClass.Z)(Logger,[{key:"addHandler",value:function addHandler(handler){if((0,validate.FF)(handler),!(handler instanceof Handler))throw new Error("the handler must be an instance of Handler");return this.handler.add(handler),this}},{key:"removeHandler",value:function removeHandler(handler){if((0,validate.FF)(handler),!(handler instanceof Handler))throw new Error("the handler must be an instance of Handler");return this.handler.delete(handler),this}},{key:"logTrace",value:function logTrace(){return triggerLog.apply(this,[TRACE].concat(Array.prototype.slice.call(arguments))),this}},{key:"logDebug",value:function logDebug(){return triggerLog.apply(this,[DEBUG].concat(Array.prototype.slice.call(arguments))),this}},{key:"logInfo",value:function logInfo(){return triggerLog.apply(this,[INFO].concat(Array.prototype.slice.call(arguments))),this}},{key:"logWarn",value:function logWarn(){return triggerLog.apply(this,[WARN].concat(Array.prototype.slice.call(arguments))),this}},{key:"logError",value:function logError(){return triggerLog.apply(this,[ERROR].concat(Array.prototype.slice.call(arguments))),this}},{key:"logFatal",value:function logFatal(){return triggerLog.apply(this,[FATAL].concat(Array.prototype.slice.call(arguments))),this}},{key:"getLabel",value:function getLabel(level){return(0,validate.bv)(level),level===ALL?"ALL":level===TRACE?"TRACE":level===DEBUG?"DEBUG":level===INFO?"INFO":level===WARN?"WARN":level===ERROR?"ERROR":level===FATAL?"FATAL":level===OFF?"OFF":"unknown"}},{key:"getLevel",value:function getLevel(label){return(0,validate.Cp)(label),"ALL"===label?ALL:"TRACE"===label?TRACE:"DEBUG"===label?DEBUG:"INFO"===label?INFO:"WARN"===label?WARN:"ERROR"===label?ERROR:"FATAL"===label?FATAL:"OFF"===label?OFF:0}}]),Logger}(base.X);function triggerLog(loglevel){for(var logger=this,_len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var _step,_iterator=_createForOfIteratorHelper(logger.handler);try{for(_iterator.s();!(_step=_iterator.n()).done;){var handler=_step.value;handler.log(new LogEntry(loglevel,args))}}catch(err){_iterator.e(err)}finally{_iterator.f()}return logger}(0,namespace.O)("Monster.Logging",Logger),describe("Logging",(function(){describe("new Logger",(function(){it("should return instanceof Logger",(function(){expect(new Logger).to.instanceOf(Logger)}))})),describe("Logger.logTrace()",(function(){it("should return instanceof Logger",(function(){expect((new Logger).logTrace("test")).to.instanceOf(Logger)}))})),describe("Logger.logDebug()",(function(){it("should return instanceof Logger",(function(){expect((new Logger).logDebug("test")).to.instanceOf(Logger)}))})),describe("Logger.logInfo()",(function(){it("should return instanceof Logger",(function(){expect((new Logger).logInfo("test")).to.instanceOf(Logger)}))})),describe("Logger.logWarn()",(function(){it("should return instanceof Logger",(function(){expect((new Logger).logWarn("test")).to.instanceOf(Logger)}))})),describe("Logger.logError()",(function(){it("should return instanceof Logger",(function(){expect((new Logger).logError("test")).to.instanceOf(Logger)}))})),describe("Logger.logFatal()",(function(){it("should return instanceof Logger",(function(){expect((new Logger).logFatal("test")).to.instanceOf(Logger)}))})),describe("Logger.getLevel()",(function(){[["ALL",ALL],["TRACE",TRACE],["DEBUG",DEBUG],["INFO",INFO],["WARN",WARN],["ERROR",ERROR],["FATAL",FATAL],["OFF",OFF]].forEach((function(data){var a=data.shift(),b=data.shift();it(a+" should return "+b,(function(){expect((new Logger).getLevel(a)).to.be.equals(b)}))}))})),describe("Logger.getLabel()",(function(){[["ALL",ALL],["TRACE",TRACE],["DEBUG",DEBUG],["INFO",INFO],["WARN",WARN],["ERROR",ERROR],["FATAL",FATAL],["OFF",OFF]].forEach((function(data){var a=data.shift(),b=data.shift();it(a+" should return "+b,(function(){expect((new Logger).getLabel(b)).to.be.equals(a)}))}))}))}));var esm_get=__webpack_require__(11752);function logging_handler_createSuper(Derived){var hasNativeReflectConstruct=function logging_handler_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}describe("Logging",(function(){describe("Handler.setLogLevel().getLogLevel()",(function(){[[ALL],[TRACE],[DEBUG],[INFO],[WARN],[ERROR],[FATAL],[OFF]].forEach((function(data){var a=data.shift();it("the function should return the set value "+a,(function(){expect((new Handler).setLogLevel(a).getLogLevel()).to.be.equal(a)}))}))})),describe("Handler.log()",(function(){it("should return instanceof Handler",(function(){expect((new Handler).log(new LogEntry(0,"test"))).to.be.true}))})),describe("Handler.log()",(function(){var TestHandler=function(_Handler){(0,inherits.Z)(TestHandler,_Handler);var _super=logging_handler_createSuper(TestHandler);function TestHandler(){return(0,classCallCheck.Z)(this,TestHandler),_super.apply(this,arguments)}return(0,createClass.Z)(TestHandler,[{key:"log",value:function log(entry){(0,esm_get.Z)((0,getPrototypeOf.Z)(TestHandler.prototype),"log",this).call(this,entry)}}]),TestHandler}(Handler);beforeEach((function(){new TestHandler})),it("should return instanceof Handler",(function(){expect((new Handler).log(new LogEntry(0,"test"))).to.be.true}))})),describe(".log() with loglevel",(function(){var TestHandler;before((function(){TestHandler=function(_Handler2){(0,inherits.Z)(TestHandler,_Handler2);var _super2=logging_handler_createSuper(TestHandler);function TestHandler(){var _this;return(0,classCallCheck.Z)(this,TestHandler),(_this=_super2.call(this)).calls=0,_this}return(0,createClass.Z)(TestHandler,[{key:"log",value:function log(loglevel){return!0===(0,esm_get.Z)((0,getPrototypeOf.Z)(TestHandler.prototype),"log",this).call(this,loglevel)&&(this.calls++,!0)}}]),TestHandler}(Handler)})),[[ALL,6],[TRACE,6],[DEBUG,5],[INFO,4],[WARN,3],[ERROR,2],[FATAL,1],[OFF,0]].forEach((function(data){var a=data.shift(),b=data.shift();it("is.log("+a+") should log "+b,(function(){var handler=(new TestHandler).setLogLevel(a);handler.log(new LogEntry(TRACE)),handler.log(new LogEntry(DEBUG)),handler.log(new LogEntry(INFO)),handler.log(new LogEntry(WARN)),handler.log(new LogEntry(ERROR)),handler.log(new LogEntry(FATAL)),expect(handler.calls).is.equal(b)}))}))})),describe("Handler.setLogLevel()",(function(){it("should return instanceof Handler",(function(){expect((new Handler).setLogLevel(ALL)).to.instanceOf(Handler)}))})),describe("Handler.getLogLevel()",(function(){it("new logger should be 0",(function(){expect((new Handler).getLogLevel()).to.be.equal(OFF)}))})),describe("Handler.setAll()",(function(){it(" should instanceof Handler",(function(){expect((new Handler).setAll()).to.instanceOf(Handler)}))})),describe("Handler.setTrace()",(function(){it("new logger should instanceof Handler",(function(){expect((new Handler).setTrace()).to.instanceOf(Handler)}))})),describe("Handler.setDebug()",(function(){it(" should instanceof Handler",(function(){expect((new Handler).setDebug()).to.instanceOf(Handler)}))})),describe("Handler.setInfo()",(function(){it("should return instanceof Handler",(function(){expect((new Handler).setInfo()).to.instanceOf(Handler)}))})),describe("Handler.setWarn()",(function(){it(" should instanceof Handler",(function(){expect((new Handler).setWarn()).to.instanceOf(Handler)}))})),describe("Handler.setError()",(function(){it("should return instanceof Handler",(function(){expect((new Handler).setError()).to.instanceOf(Handler)}))})),describe("Handler.setFatal()",(function(){it("should return instanceof Handler",(function(){expect((new Handler).setFatal()).to.instanceOf(Handler)}))})),describe("Handler.setOff()",(function(){it("should return instanceof Handler",(function(){expect((new Handler).setOff()).to.instanceOf(Handler)}))}))})),describe("Log",(function(){describe("new Log",(function(){it("should return instanceof Log",(function(){expect(new LogEntry(1,"a","b","c")).to.instanceOf(LogEntry)}))})),describe("Log.loglevel",(function(){var log;beforeEach((function(){log=new LogEntry(1,!1,"test",99,{a:!0})})),it("should return loglevel 1",(function(){expect(log.getLogLevel()).to.be.equal(1)})),it("should return arguments",(function(){expect(log.getArguments()).to.have.deep.members([!1,"test",99,{a:!0}])}))}))}));__webpack_require__(39714);var global=__webpack_require__(7999);function console_createSuper(Derived){var hasNativeReflectConstruct=function console_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}var ConsoleHandler=function(_Handler){(0,inherits.Z)(ConsoleHandler,_Handler);var _super=console_createSuper(ConsoleHandler);function ConsoleHandler(){return(0,classCallCheck.Z)(this,ConsoleHandler),_super.call(this)}return(0,createClass.Z)(ConsoleHandler,[{key:"log",value:function log(entry){if((0,esm_get.Z)((0,getPrototypeOf.Z)(ConsoleHandler.prototype),"log",this).call(this,entry)){var console=(0,global.Rf)("console");return!!console&&(console.log(entry.toString()),!0)}return!1}}]),ConsoleHandler}(Handler);(0,namespace.O)("Monster.Logging.Handler",ConsoleHandler),describe("Logging",(function(){describe("ConsoleHandler",(function(){it("should create ConsoleHandler",(function(){expect(new ConsoleHandler).to.be.instanceof(ConsoleHandler)})),it("should log to console",(function(){expect((new ConsoleHandler).setAll().log(new LogEntry(FATAL,[1,!0,"message"]))).to.be.true}))}))}));var slicedToArray=__webpack_require__(70885),constants=(__webpack_require__(82772),__webpack_require__(23123),__webpack_require__(73210),__webpack_require__(69720),__webpack_require__(54006)),extend=__webpack_require__(37442),data_pipe=__webpack_require__(47950),data_pathfinder=__webpack_require__(25413);function basewithoptions_createSuper(Derived){var hasNativeReflectConstruct=function basewithoptions_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}var BaseWithOptions=function(_Base){(0,inherits.Z)(BaseWithOptions,_Base);var _super=basewithoptions_createSuper(BaseWithOptions);function BaseWithOptions(options){var _this;return(0,classCallCheck.Z)(this,BaseWithOptions),void 0===options&&(options={}),(_this=_super.call(this))[constants.eB]=(0,extend.l)({},_this.defaults,(0,validate.FF)(options)),_this}return(0,createClass.Z)(BaseWithOptions,[{key:"defaults",get:function get(){return{}}},{key:"getOption",value:function getOption(path,defaultValue){var value;try{value=new data_pathfinder.WV(this[constants.eB]).getVia(path)}catch(e){}return void 0===value?defaultValue:value}}]),BaseWithOptions}(base.X);(0,namespace.O)("Monster.Types",BaseWithOptions);var is=__webpack_require__(83835);function formatter_createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function formatter_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return formatter_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return formatter_arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function formatter_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function formatter_createSuper(Derived){var hasNativeReflectConstruct=function formatter_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}var internalObjectSymbol=Symbol("internalObject"),watchdogSymbol=Symbol("watchdog"),markerOpenIndexSymbol=Symbol("markerOpenIndex"),markerCloseIndexSymbol=Symbol("markercloseIndex"),workingDataSymbol=Symbol("workingData"),Formatter=function(_BaseWithOptions){(0,inherits.Z)(Formatter,_BaseWithOptions);var _super=formatter_createSuper(Formatter);function Formatter(object,options){var _this;return(0,classCallCheck.Z)(this,Formatter),(_this=_super.call(this,options))[internalObjectSymbol]=object||{},_this[markerOpenIndexSymbol]=0,_this[markerCloseIndexSymbol]=0,_this}return(0,createClass.Z)(Formatter,[{key:"defaults",get:function get(){return(0,extend.l)({},(0,esm_get.Z)((0,getPrototypeOf.Z)(Formatter.prototype),"defaults",this),{marker:{open:["${"],close:["}"]},parameter:{delimiter:"::",assignment:"="},callbacks:{}})}},{key:"setParameterChars",value:function setParameterChars(delimiter,assignment){return void 0!==delimiter&&(this[constants.eB].parameter.delimiter=(0,validate.Cp)(delimiter)),void 0!==assignment&&(this[constants.eB].parameter.assignment=(0,validate.Cp)(assignment)),this}},{key:"setMarker",value:function setMarker(open,close){return void 0===close&&(close=open),(0,is.HD)(open)&&(open=[open]),(0,is.HD)(close)&&(close=[close]),this[constants.eB].marker.open=(0,validate.IL)(open),this[constants.eB].marker.close=(0,validate.IL)(close),this}},{key:"format",value:function format(text){return this[watchdogSymbol]=0,this[markerOpenIndexSymbol]=0,this[markerCloseIndexSymbol]=0,this[workingDataSymbol]={},_format.call(this,text)}}]),Formatter}(BaseWithOptions);function _format(text){var _self$internalSymbol$,_self$internalSymbol$2,_self$internalSymbol$3,_self$internalSymbol$4;if(this[watchdogSymbol]++,this[watchdogSymbol]>20)throw new Error("too deep nesting");var openMarker=null===(_self$internalSymbol$=this[constants.eB].marker.open)||void 0===_self$internalSymbol$?void 0:_self$internalSymbol$[this[markerOpenIndexSymbol]],closeMarker=null===(_self$internalSymbol$2=this[constants.eB].marker.close)||void 0===_self$internalSymbol$2?void 0:_self$internalSymbol$2[this[markerCloseIndexSymbol]];if(-1===text.indexOf(openMarker)||-1===text.indexOf(closeMarker))return text;var result=tokenize.call(this,(0,validate.Cp)(text),openMarker,closeMarker);return null!==(_self$internalSymbol$3=this[constants.eB].marker.open)&&void 0!==_self$internalSymbol$3&&_self$internalSymbol$3[this[markerOpenIndexSymbol]+1]&&this[markerOpenIndexSymbol]++,null!==(_self$internalSymbol$4=this[constants.eB].marker.close)&&void 0!==_self$internalSymbol$4&&_self$internalSymbol$4[this[markerCloseIndexSymbol]+1]&&this[markerCloseIndexSymbol]++,result=_format.call(this,result)}function tokenize(text,openMarker,closeMarker){for(var formatted=[],parameterAssignment=this[constants.eB].parameter.assignment,parameterDelimiter=this[constants.eB].parameter.delimiter,callbacks=this[constants.eB].callbacks;;){var _self$workingDataSymb,startIndex=text.indexOf(openMarker);if(-1===startIndex){formatted.push(text);break}startIndex>0&&(formatted.push(text.substring(0,startIndex)),text=text.substring(startIndex));var endIndex=text.substring(openMarker.length).indexOf(closeMarker);-1!==endIndex&&(endIndex+=openMarker.length);var insideStartIndex=text.substring(openMarker.length).indexOf(openMarker);if(-1!==insideStartIndex&&(insideStartIndex+=openMarker.length)<endIndex){var result=tokenize.call(this,text.substring(insideStartIndex),openMarker,closeMarker);-1!==(endIndex=(text=text.substring(0,insideStartIndex)+result).substring(openMarker.length).indexOf(closeMarker))&&(endIndex+=openMarker.length)}if(-1===endIndex)throw new Error("syntax error in formatter template");var key=text.substring(openMarker.length,endIndex),parts=key.split(parameterDelimiter),currentPipe=parts.shift();this[workingDataSymbol]=(0,extend.l)({},this[internalObjectSymbol],this[workingDataSymbol]);var _step,_iterator=formatter_createForOfIteratorHelper(parts);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _kv$split=_step.value.split(parameterAssignment),_kv$split2=(0,slicedToArray.Z)(_kv$split,2),k=_kv$split2[0],v=_kv$split2[1];this[workingDataSymbol][k]=v}}catch(err){_iterator.e(err)}finally{_iterator.f()}var t3=key.split("|").shift().trim().split("::").shift().trim().split(".").shift().trim(),prefix=null!==(_self$workingDataSymb=this[workingDataSymbol])&&void 0!==_self$workingDataSymb&&_self$workingDataSymb[t3]?"path:":"static:",command="";prefix&&0!==key.indexOf(prefix)&&0!==key.indexOf("path:")&&0!==key.indexOf("static:")&&(command=prefix),command+=currentPipe;var pipe=new data_pipe.E(command);if((0,is.Kn)(callbacks))for(var _i=0,_Object$entries=Object.entries(callbacks);_i<_Object$entries.length;_i++){var _Object$entries$_i=(0,slicedToArray.Z)(_Object$entries[_i],2),name=_Object$entries$_i[0],callback=_Object$entries$_i[1];pipe.setCallback(name,callback)}formatted.push((0,validate.Cp)(pipe.run(this[workingDataSymbol]))),text=text.substring(endIndex+closeMarker.length)}return formatted.join("")}(0,namespace.O)("Monster.Text",Formatter),describe("Formatter",(function(){describe("examples",(function(){it("rfc example should run",(function(){expect(new Formatter({a:{b:{c:"Hello"},d:"World",e:1}}).format("${a.b.c} ${a.d | toupper}!")).to.be.equal("Hello WORLD!")})),it("doc example should run",(function(){expect(new Formatter({a:{b:{c:"Hello"},d:"world"}}).format("${a.b.c} ${a.d | ucfirst}!")).to.be.equal("Hello World!")}))})),describe("set marker()",(function(){[["#a#","#",void 0,"test"],["{a}","{","}","test"],["i18n{a}","i18n{","}","test"]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift(),d=data.shift();it("format "+a+" with marker "+b+" and "+c+" should return "+b,(function(){expect(new Formatter({a:"test"}).setMarker(b,c).format(a)).to.equal(d)}))}))})),describe("examples()",(function(){[["${a | tojson}",'{"b":{"c":"Hello"},"d":"World","e":1}'],["click ${a.d} times","click World times"],[" ${a.b.c} "," Hello "],[" ${a.b.c}"," Hello"],["${a.b.c} ","Hello "],["${a.b.c}","Hello"],["${a.b.c}${a.b.c}","HelloHello"],["${a.b.c} ${a.b.c}","Hello Hello"],["${a.b.c} ${a.b.c} ","Hello Hello "],[" ${a.b.c} ${a.b.c} "," Hello Hello "],[" ${a.b.c} ${a.d} "," Hello World "],[" ${a.b.c} ${a.b.c | toupper | length | tostring} "," Hello 5 "]].forEach((function(data){var a=data.shift(),b=data.shift();it("format "+a+" should return "+b,(function(){expect(new Formatter({a:{b:{c:"Hello"},d:"World",e:1}}).format(a)).is.equal(b)}))}))})),describe("Marker in marker",(function(){var text="${mykey${subkey}}";it("format "+text+" should 1",(function(){expect(new Formatter({mykey2:"1",subkey:"2"}).format(text)).is.equal("1")}))})),describe("setParameterChars()",(function(){it("setParameterChars() should return Instance",(function(){expect(new Formatter({}).setParameterChars("a","b")).is.instanceof(Formatter)}))})),describe("with callbacks",(function(){it("add callback",(function(){var formatter=new Formatter({x:"1"},{callbacks:{my:function my(value){return"!"+value+"!"}}});expect(formatter.format("${x | call:my}")).is.equal("!1!")}))})),describe("Marker in marker with parameter",(function(){var text="${mykey::mykey=${subkey}}";it("format "+text+" should 2",(function(){expect(new Formatter({subkey:"2"}).format(text)).is.equal("2")}))})),describe("exceptions",(function(){[["${a.b.x}",TypeError],["${a.b.d | toupper | length}",TypeError],["${a.b.d}",TypeError],["${a.b.d | tolower}",TypeError],["${a | }",Error]].forEach((function(data){var a=data.shift(),b=data.shift();it("format "+a+" should throw "+(0,esm_typeof.Z)(b),(function(){expect((function(){new Formatter({a:{b:{c:"test",d:4}}}).format(a)})).to.throw(b)}))}))}))}));var dom_constants=__webpack_require__(66515);function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__(60285),__webpack_require__(41637),__webpack_require__(88674);var types_id=__webpack_require__(45584),types_observer=__webpack_require__(68635),types_proxyobserver=__webpack_require__(59243);function resource_createSuper(Derived){var hasNativeReflectConstruct=function resource_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}var referenceSymbol=Symbol("reference"),Resource=function(_BaseWithOptions){(0,inherits.Z)(Resource,_BaseWithOptions);var _super=resource_createSuper(Resource);function Resource(options){var _this;(0,classCallCheck.Z)(this,Resource);var uri=(_this=_super.call(this,options)).getOption(_this.constructor.getURLAttribute());if(void 0===uri)throw new Error("missing source");if(uri instanceof URL)uri=uri.toString();else if(!(0,is.HD)(uri))throw new Error("unsupported url type");return _this[constants.eB][_this.constructor.getURLAttribute()]=uri,_this[constants.jp]=new types_proxyobserver.k({loaded:!1,error:void 0}),_this[referenceSymbol]=void 0,_this}return(0,createClass.Z)(Resource,[{key:"isConnected",value:function isConnected(){return this[referenceSymbol]instanceof HTMLElement&&this[referenceSymbol].isConnected}},{key:"create",value:function create(){throw new Error("this method must be implemented by derived classes")}},{key:"connect",value:function connect(){return this[referenceSymbol]instanceof HTMLElement||this.create(),appendToDocument.call(this),this}},{key:"defaults",get:function get(){var _extend;return(0,extend.l)({},(0,esm_get.Z)((0,getPrototypeOf.Z)(Resource.prototype),"defaults",this),(_defineProperty(_extend={},this.constructor.getURLAttribute(),void 0),_defineProperty(_extend,"document",(0,global.Rf)("document")),_defineProperty(_extend,"query","head"),_defineProperty(_extend,"timeout",1e4),_defineProperty(_extend,dom_constants.Wi,new types_id.ID("resource").toString()),_defineProperty(_extend,dom_constants.rt,void 0),_defineProperty(_extend,dom_constants.Zh,void 0),_extend))}},{key:"available",value:function available(){var self=this;return self[referenceSymbol]instanceof HTMLElement?self.isConnected()?!0===self[constants.jp].getSubject().loaded?void 0!==self[constants.jp].getSubject().error?Promise.reject(self[constants.jp].getSubject().error):Promise.resolve():new Promise((function(resolve,reject){var timeout=setTimeout((function(){reject("timeout")}),self.getOption("timeout")),observer=new types_observer.p((function(){clearTimeout(timeout),self[constants.jp].detachObserver(observer),resolve()}));self[constants.jp].attachObserver(observer)})):Promise.reject("element not connected"):Promise.reject("no element")}}],[{key:"getURLAttribute",value:function getURLAttribute(){throw new Error("this method must be implemented by derived classes")}}]),Resource}(BaseWithOptions);function appendToDocument(){var targetNode=document.querySelector(this.getOption("query","head"));if(!(targetNode instanceof HTMLElement))throw new Error("target not found");return addEvents.call(this),targetNode.appendChild(this[referenceSymbol]),this}function addEvents(){var self=this,onError=function onError(){self[referenceSymbol].removeEventListener("error",onError),self[referenceSymbol].removeEventListener("load",onLoad),self[constants.jp].setSubject({loaded:!0,error:self[referenceSymbol][self.constructor.getURLAttribute()]+" is not available"})},onLoad=function onLoad(){self[referenceSymbol].removeEventListener("error",onError),self[referenceSymbol].removeEventListener("load",onLoad),self[constants.jp].getSubject().loaded=!0};return self[referenceSymbol].addEventListener("load",onLoad,!1),self[referenceSymbol].addEventListener("error",onError,!1),self}function script_createSuper(Derived){var hasNativeReflectConstruct=function script_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.DOM",Resource);var Script=function(_Resource){(0,inherits.Z)(Script,_Resource);var _super=script_createSuper(Script);function Script(){return(0,classCallCheck.Z)(this,Script),_super.apply(this,arguments)}return(0,createClass.Z)(Script,[{key:"defaults",get:function get(){return(0,extend.l)({},(0,esm_get.Z)((0,getPrototypeOf.Z)(Script.prototype),"defaults",this),{async:!0,crossOrigin:"anonymous",defer:!1,integrity:void 0,nomodule:!1,nonce:void 0,referrerpolicy:void 0,type:"text/javascript"})}},{key:"create",value:function create(){return createElement.call(this),this}}],[{key:"getURLAttribute",value:function getURLAttribute(){return dom_constants.ob}}]),Script}(Resource);function createElement(){var document=this.getOption("document");this[referenceSymbol]=document.createElement(dom_constants.I$);for(var _i=0,_arr=["crossOrigin","defer","async","integrity","nomodule",dom_constants.j6,"referrerpolicy",dom_constants.h5,dom_constants.ob,dom_constants.Wi,dom_constants.rt,dom_constants.Zh];_i<_arr.length;_i++){var key=_arr[_i];void 0!==this.getOption(key)&&(this[referenceSymbol][key]=this.getOption(key))}return this}(0,namespace.O)("Monster.DOM.Resource",Script);var addedNodes,mutationobserver,dataurl=__webpack_require__(74943);__webpack_require__(21249),__webpack_require__(5212),__webpack_require__(26541);function chaiDom(chai,utils){var flag=utils.flag,elToString=function elToString(el){var desc;return isNodeList(el)?0===el.length?"empty NodeList":(desc=Array.prototype.slice.call(el,0,5).map(elToString).join(", "),el.length>5?desc+"... (+"+(el.length-5)+" more)":desc):isHTMLElement(el)?(desc=el.tagName.toLowerCase(),el.id&&(desc+="#"+el.id),el.className&&(desc+="."+String(el.className).replace(/\s+/g,".")),Array.prototype.forEach.call(el.attributes,(function(attr){"class"!==attr.name&&"id"!==attr.name&&(desc+="["+attr.name+(attr.value?'="'+attr.value+'"]':"]"))})),desc):String(el)},attrAssert=function attrAssert(name,val){var el=flag(this,"object"),actual=el.getAttribute(name);flag(this,"negate")&&void 0!==val||this.assert(!!el.attributes[name],"expected "+elToString(el)+" to have an attribute #{exp}","expected "+elToString(el)+" not to have an attribute #{exp}",name),void 0!==val&&this.assert(val===actual,"expected "+elToString(el)+" to have an attribute "+utils.inspect(name)+" with the value #{exp}, but the value was #{act}","expected "+elToString(el)+" not to have an attribute "+utils.inspect(name)+" with the value #{act}",val,actual),flag(this,"object",actual)},isHTMLElement=function isHTMLElement(el){return 1===el.nodeType},isNodeList=function isNodeList(obj){return"[object NodeList]"===Object.prototype.toString.call(obj)};utils.elToString=elToString,chai.Assertion.addMethod("attr",attrAssert),chai.Assertion.addMethod("attribute",attrAssert),chai.Assertion.addMethod("class",(function(className){var el=flag(this,"object");this.assert(el.classList.contains(className),"expected "+elToString(el)+" to have class #{exp}","expected "+elToString(el)+" not to have class #{exp}",className)})),chai.Assertion.addMethod("id",(function(id){var el=flag(this,"object");this.assert(el.id==id,"expected "+elToString(el)+" to have id #{exp}","expected "+elToString(el)+" not to have id #{exp}",id)})),chai.Assertion.addMethod("html",(function(html){var el=flag(this,"object"),actual=flag(this,"object").innerHTML;flag(this,"contains")?this.assert(actual.indexOf(html)>=0,"expected #{act} to contain HTML #{exp}","expected #{act} not to contain HTML #{exp}",html,actual):this.assert(actual===html,"expected "+elToString(el)+" to have HTML #{exp}, but the HTML was #{act}","expected "+elToString(el)+" not to have HTML #{exp}",html,actual)})),chai.Assertion.addChainableMethod("trimmed",null,(function(){flag(this,"trim-text",!0)})),chai.Assertion.addMethod("text",(function(text){var actual,result,obj=flag(this,"object"),contains=flag(this,"contains"),trim=flag(this,"trim-text");isNodeList(obj)?(actual=Array.prototype.map.call(obj,(function(el){return trim?el.textContent.trim():el.textContent})),Array.isArray(text)?(result=contains?text[flag(this,"negate")?"some":"every"]((function(t){return Array.prototype.some.call(obj,(function(el){return(trim?el.textContent.trim():el.textContent)===t}))})):utils.eql(actual,text),actual=actual.join(),text=text.join()):(actual=actual.join(""),result=contains?actual.indexOf(text)>=0:actual===text)):(actual=trim?obj.textContent.trim():obj.textContent,result=contains?actual.indexOf(text)>=0:actual===text);var objDesc=elToString(obj),textMsg=trim?"trimmed text":"text";contains?this.assert(result,"expected "+objDesc+" to contain #{exp}, but the "+textMsg+" was #{act}","expected "+objDesc+" not to contain #{exp}, but the "+textMsg+" was #{act}",text,actual):this.assert(result,"expected "+objDesc+" to have "+textMsg+" #{exp}, but the "+textMsg+" was #{act}","expected "+objDesc+" not to have "+textMsg+" #{exp}",text,actual)})),chai.Assertion.addMethod("value",(function(value){var el=flag(this,"object"),actual=flag(this,"object").value;this.assert(flag(this,"object").value===value,"expected "+elToString(el)+" to have value #{exp}, but the value was #{act}","expected "+elToString(el)+" not to have value #{exp}",value,actual)})),chai.Assertion.overwriteProperty("exist",(function(_super){return function(){var obj=flag(this,"object");isNodeList(obj)?this.assert(obj.length>0,"expected an empty NodeList to have nodes","expected "+elToString(obj)+" to not exist"):_super.apply(this,arguments)}})),chai.Assertion.overwriteProperty("empty",(function(_super){return function(){var obj=flag(this,"object");isHTMLElement(obj)?this.assert(0===obj.children.length,"expected "+elToString(obj)+" to be empty","expected "+elToString(obj)+" to not be empty"):isNodeList(obj)?this.assert(0===obj.length,"expected "+elToString(obj)+" to be empty","expected "+elToString(obj)+" to not be empty"):_super.apply(this,arguments)}})),chai.Assertion.overwriteChainableMethod("length",(function(_super){return function(length){var obj=flag(this,"object");if(isNodeList(obj)||isHTMLElement(obj)){var actualLength=obj.children?obj.children.length:obj.length;this.assert(actualLength===length,"expected "+elToString(obj)+" to have #{exp} children but it had #{act} children","expected "+elToString(obj)+" to not have #{exp} children",length,actualLength)}else _super.apply(this,arguments)}}),(function(_super){return function(){_super.call(this)}})),chai.Assertion.overwriteMethod("match",(function(_super){return function(selector){var obj=flag(this,"object");isHTMLElement(obj)?this.assert(obj.matches(selector),"expected "+elToString(obj)+" to match #{exp}","expected "+elToString(obj)+" to not match #{exp}",selector):isNodeList(obj)?this.assert(!!obj.length&&Array.prototype.every.call(obj,(function(el){return el.matches(selector)})),"expected "+elToString(obj)+" to match #{exp}","expected "+elToString(obj)+" to not match #{exp}",selector):_super.apply(this,arguments)}})),chai.Assertion.overwriteChainableMethod("contain",(function(_super){return function(subitem){var obj=flag(this,"object");isHTMLElement(obj)?"string"==typeof subitem?this.assert(!!obj.querySelector(subitem),"expected "+elToString(obj)+" to contain #{exp}","expected "+elToString(obj)+" to not contain #{exp}",subitem):this.assert(obj.contains(subitem),"expected "+elToString(obj)+" to contain "+elToString(subitem),"expected "+elToString(obj)+" to not contain "+elToString(subitem)):_super.apply(this,arguments)}}),(function(_super){return function(){_super.call(this)}})),chai.Assertion.addMethod("descendant",(function(subitem){var obj=flag(this,"object"),actual=subitem;"string"==typeof subitem?(actual=obj.querySelector(subitem),this.assert(!!actual,"expected "+elToString(obj)+" to have descendant #{exp}","expected "+elToString(obj)+" to not have descendant #{exp}",subitem)):this.assert(obj.contains(subitem),"expected "+elToString(obj)+" to contain "+elToString(subitem),"expected "+elToString(obj)+" to not contain "+elToString(subitem)),flag(this,"object",actual)})),chai.Assertion.addMethod("descendants",(function(selector){var obj=flag(this,"object"),actual=obj.querySelectorAll(selector);this.assert(!!actual.length,"expected "+elToString(obj)+" to have descendants #{exp}","expected "+elToString(obj)+" to not have descendants #{exp}",selector),flag(this,"object",actual)})),chai.Assertion.addProperty("displayed",(function(){var el=flag(this,"object"),actual=document.body.contains(el)?window.getComputedStyle(el).display:el.style.display;this.assert("none"!==actual,"expected "+elToString(el)+" to be displayed, but it was not","expected "+elToString(el)+" to not be displayed, but it was as "+actual,actual)})),chai.Assertion.addProperty("visible",(function(){var el=flag(this,"object"),actual=document.body.contains(el)?window.getComputedStyle(el).visibility:el.style.visibility;this.assert("hidden"!==actual&&"collapse"!==actual,"expected "+elToString(el)+" to be visible, but it was "+("hidden"===actual?"hidden":"collapsed"),"expected "+elToString(el)+" to not be visible, but it was",actual)}))}function cleanupdom_createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function cleanupdom_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return cleanupdom_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cleanupdom_arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function cleanupdom_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function initMutationObserverForTesting(){void 0===mutationobserver&&function init(){addedNodes=[],mutationobserver=new MutationObserver((function(mutations){mutations.forEach((function(mutation){"childList"===mutation.type&&mutation.removedNodes&&mutation.addedNodes.forEach((function(n){n instanceof HTMLElement&&addedNodes.push(n)}))}))}))}(),mutationobserver.observe(document.querySelector("head"),{childList:!0})}function cleanupDOMFromTesting(){mutationobserver.disconnect();var _step,_iterator=cleanupdom_createForOfIteratorHelper(addedNodes);try{for(_iterator.s();!(_step=_iterator.n()).done;){_step.value.remove()}}catch(err){_iterator.e(err)}finally{_iterator.f()}}new Function("try {return this===window;}catch(e){ return false;}");var isNode=new Function("try {return this===global;}catch(e){return false;}");function initJSDOM(options){if("object"===("undefined"==typeof window?"undefined":(0,esm_typeof.Z)(window))&&window.DOMParser)return Promise.resolve();var g=(0,global.Rd)();return options=(0,extend.l)({},{pretendToBeVisual:!0,contentType:"text/html",includeNodeLocations:!0,storageQuota:1e7,runScripts:"dangerously",resources:"usable"},options||{}),Promise.resolve().then(__webpack_require__.t.bind(__webpack_require__,38868,19)).then((function(_ref){var window=new(0,_ref.JSDOM)('<html>\n<head>\n</head>\n<body>\n<div id="mocks"></div>\n</body>',options).window;return g.window=window,new Promise((function(resolve){return window.addEventListener("load",(function(){["self","HTMLCollection","NodeList","ElementInternals","HTMLDocument","HTMLFormElement","HTMLInputElement","HTMLSelectElement","HTMLTextAreaElement","document","Document","Node","ShadowRoot","Event","CustomEvent","Element","HTMLElement","HTMLDivElement","customElements","DocumentFragment","DOMParser","CSSStyleSheet","HTMLScriptElement","MutationObserver","HTMLTemplateElement","XMLSerializer","NodeFilter","navigator","InputEvent","Blob","CustomEvent"].forEach((function(key){g[key]=window[key]})),resolve()}))}))}))}var script_expect=node_modules_chai.expect;node_modules_chai.use(chaiDom);function data_createSuper(Derived){var hasNativeReflectConstruct=function data_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}describe("Script",(function(){before((function(done){initJSDOM().then((function(){done()}))})),beforeEach((function(){initMutationObserverForTesting()})),afterEach((function(){cleanupDOMFromTesting()})),describe("Script()",(function(){it("setEventTypes()",(function(done){var script=new Script({src:new dataurl.Zl("","text/javascript").toString(),async:!0,crossOrigin:"anonymous",defer:!1,integrity:void 0,nomodule:!1,nonce:void 0,referrerpolicy:void 0,type:"text/javascript"});script.connect().available().then((function(){script.getOption("id");done()})).catch((function(e){return done(e)}))}))})),describe("External JS",(function(){var script,id=new types_id.ID("script").toString(),url="https://monsterjs.org/assets/empty.js?"+id;beforeEach((function(){script=new Script({src:url,async:!0,crossOrigin:"anonymous",defer:!1,integrity:void 0,nomodule:!1,nonce:void 0,referrerpolicy:void 0,type:"text/javascript",id:id})})),it("append and remove script ",(function(done){script_expect(script.isConnected()).to.be.false,script.connect().available().then((function(){script_expect(script.isConnected()).to.be.true,script_expect(document.querySelector('[src="'+url+'"]')).to.exist,document.getElementById(id).remove(),script_expect(script.isConnected()).to.be.false,script_expect(document.querySelector('[src="'+url+'"]')).not.to.exist,script.connect().available().then((function(){script_expect(script.isConnected()).to.be.true,script_expect(document.querySelector('[src="'+url+'"]')).to.exist,document.getElementById(id).remove(),script_expect(document.querySelector('[src="'+url+'"]')).not.to.exist,script_expect(script.isConnected()).to.be.false,done()})).catch((function(e){return done(e)}))})).catch((function(e){return done(e)}))}))}))}));var Data=function(_Resource){(0,inherits.Z)(Data,_Resource);var _super=data_createSuper(Data);function Data(){return(0,classCallCheck.Z)(this,Data),_super.apply(this,arguments)}return(0,createClass.Z)(Data,[{key:"defaults",get:function get(){return(0,extend.l)({},(0,esm_get.Z)((0,getPrototypeOf.Z)(Data.prototype),"defaults",this),{mode:"cors",credentials:"same-origin",type:"application/json"})}},{key:"create",value:function create(){return data_createElement.call(this),this}},{key:"connect",value:function connect(){return this[referenceSymbol]instanceof HTMLElement||this.create(),data_appendToDocument.call(this),this}}],[{key:"getURLAttribute",value:function getURLAttribute(){return dom_constants.ob}}]),Data}(Resource);function data_createElement(){var document=this.getOption("document");this[referenceSymbol]=document.createElement(dom_constants.I$);for(var _i=0,_arr=[dom_constants.h5,dom_constants.Wi,dom_constants.rt,dom_constants.Zh];_i<_arr.length;_i++){var key=_arr[_i];void 0!==this.getOption(key)&&(this[referenceSymbol][key]=this.getOption(key))}return this}function data_appendToDocument(){var self=this,targetNode=document.querySelector(self.getOption("query","head"));if(!(targetNode instanceof HTMLElement))throw new Error("target not found");return targetNode.appendChild(self[referenceSymbol]),(0,global.Ck)("fetch")(self.getOption(dom_constants.ob),{method:"GET",mode:self.getOption("mode","cors"),cache:"no-cache",credentials:self.getOption("credentials","same-origin"),headers:{Accept:self.getOption("type","application/json")},redirect:"follow",referrerPolicy:"no-referrer"}).then((function(response){return response.text()})).then((function(text){var textNode=document.createTextNode(text);self[referenceSymbol].appendChild(textNode),self[constants.jp].getSubject().loaded=!0})).catch((function(e){self[constants.jp].setSubject({loaded:!0,error:e.toString()}),targetNode.setAttribute(dom_constants.Sm,e.toString())})),self}(0,namespace.O)("Monster.DOM.Resource",Data);var data_expect=node_modules_chai.expect;node_modules_chai.use(chaiDom);function link_createSuper(Derived){var hasNativeReflectConstruct=function link_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}describe("Data",(function(){var fetchReference;before((function(done){initJSDOM().then((function(){done()}))})),beforeEach((function(){initMutationObserverForTesting(),200,fetchReference=__webpack_require__.g.fetch,__webpack_require__.g.fetch=function(url,options){if(!url)throw new Error("missing url");return new Promise((function(resolve,reject){resolve({text:function text(){return JSON.stringify({a:"test"})},status:200})}))}})),afterEach((function(){__webpack_require__.g.fetch=fetchReference,cleanupDOMFromTesting()})),describe("Data()",(function(){it("setEventTypes()",(function(done){new Data({src:new dataurl.Zl("","text/javascript").toString()}).connect().available().then((function(){done()})).catch((function(e){return done(e)}))}))})),describe("External Data",(function(){var data,id=new types_id.ID("data").toString(),url="https://monsterjs.org/assets/empty.js?"+id;beforeEach((function(){data=new Data({src:url,id:id})})),it("data is not connected",(function(){data_expect(data.isConnected()).to.be.false})),it("connect and check availability",(function(done){data.connect().available().then((function(){data_expect(data.isConnected(),"isConnected 1").to.be.true,data_expect(document.querySelector('[type="application/json"]'),"exists 1").to.exist;document.getElementById(id).parentElement;document.getElementById(id).remove(),data_expect(data.isConnected(),"isConnected 2").to.be.false,data_expect(document.querySelector('[type="application/json"]'),"exists 2").not.to.exist,data.connect().available().then((function(){data_expect(data.isConnected(),"isConnected 3").to.be.true,data_expect(document.querySelector('[type="application/json"]'),"exists 3").to.exist,document.getElementById(id).remove(),data_expect(document.querySelector('[type="application/json"]'),"exists 4").not.to.exist,data_expect(data.isConnected(),"isConnected 4").to.be.false,done()})).catch((function(e){return done(e)}))})).catch((function(e){return done(e)}))}))}))}));var Link=function(_Resource){(0,inherits.Z)(Link,_Resource);var _super=link_createSuper(Link);function Link(){return(0,classCallCheck.Z)(this,Link),_super.apply(this,arguments)}return(0,createClass.Z)(Link,[{key:"defaults",get:function get(){return(0,extend.l)({},(0,esm_get.Z)((0,getPrototypeOf.Z)(Link.prototype),"defaults",this),{as:void 0,crossOrigin:"anonymous",disabled:void 0,href:void 0,hreflang:void 0,imagesizes:void 0,imagesrcset:void 0,integrity:void 0,media:void 0,prefetch:void 0,referrerpolicy:void 0,rel:void 0,sizes:void 0,type:void 0,nonce:void 0})}},{key:"create",value:function create(){return link_createElement.call(this),this}}],[{key:"getURLAttribute",value:function getURLAttribute(){return dom_constants.cq}}]),Link}(Resource);function link_createElement(){var document=this.getOption("document");this[referenceSymbol]=document.createElement(dom_constants.mE);for(var _i=0,_arr=["as","crossOrigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","prefetch","referrerpolicy","sizes","rel","type",dom_constants.cq,dom_constants.Wi,dom_constants.rt,dom_constants.Zh,dom_constants.j6];_i<_arr.length;_i++){var key=_arr[_i];void 0!==this.getOption(key)&&(this[referenceSymbol][key]=this.getOption(key))}return this}function stylesheet_createSuper(Derived){var hasNativeReflectConstruct=function stylesheet_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.DOM.Resource",Link);var Stylesheet=function(_Link){(0,inherits.Z)(Stylesheet,_Link);var _super=stylesheet_createSuper(Stylesheet);function Stylesheet(){return(0,classCallCheck.Z)(this,Stylesheet),_super.apply(this,arguments)}return(0,createClass.Z)(Stylesheet,[{key:"defaults",get:function get(){return(0,extend.l)({},(0,esm_get.Z)((0,getPrototypeOf.Z)(Stylesheet.prototype),"defaults",this),{rel:"stylesheet"})}}]),Stylesheet}(Link);(0,namespace.O)("Monster.DOM.Resource.Link",Stylesheet);var stylesheet_expect=node_modules_chai.expect;node_modules_chai.use(chaiDom);describe("Stylesheet",(function(){before((function(done){initJSDOM({runScripts:"dangerously",resources:"usable"}).then((function(){done()})).catch((function(e){return done(e)}))})),beforeEach((function(){initMutationObserverForTesting()})),afterEach((function(){cleanupDOMFromTesting()})),describe("Stylesheet()",(function(){it("connect().available()",(function(done){var stylesheet=new Stylesheet({href:new dataurl.Zl("","text/css").toString()});stylesheet.connect().available().then((function(){stylesheet.getOption("id");done()})).catch((function(e){return done(e)}))}))})),describe("External Stylesheet",(function(){var stylesheet,id=new types_id.ID("Stylesheet").toString(),url="https://monsterjs.org/assets/empty.css?"+id;beforeEach((function(){stylesheet=new Stylesheet({href:url,id:id})})),it("append and remove Stylesheet ",(function(done){stylesheet_expect(stylesheet.isConnected()).to.be.false,stylesheet.connect().available().then((function(){stylesheet_expect(stylesheet.isConnected()).to.be.true,stylesheet_expect(document.querySelector('[href="'+url+'"]')).to.exist,document.getElementById(id).remove(),stylesheet_expect(stylesheet.isConnected()).to.be.false,stylesheet_expect(document.querySelector('[href="'+url+'"]')).not.to.exist,stylesheet.connect().available().then((function(){stylesheet_expect(stylesheet.isConnected()).to.be.true,stylesheet_expect(document.querySelector('[href="'+url+'"]')).to.exist,document.getElementById(id).remove(),stylesheet_expect(document.querySelector('[href="'+url+'"]')).not.to.exist,stylesheet_expect(stylesheet.isConnected()).to.be.false,done()})).catch((function(e){return done(e)}))})).catch((function(e){return done(e)}))}))}))}));var link_expect=node_modules_chai.expect;node_modules_chai.use(chaiDom),describe("Link",(function(){var _this=this;before((function(done){initJSDOM().then((function(){done()}))})),beforeEach((function(){initMutationObserverForTesting()})),afterEach((function(){cleanupDOMFromTesting()})),describe("Link()",(function(){this.timeout(5e3),it("connect().available()",(function(done){new Link({href:new dataurl.Zl("","text/css").toString(),rel:"stylesheet"}).connect().available().then((function(){done()})).catch((function(e){return done(e)}))}))})),describe("External Link",(function(){_this.timeout(5e3);var link,id=new types_id.ID("link").toString(),url="https://monsterjs.org/assets/empty.css?"+id;beforeEach((function(){link=new Link({href:url,id:id,rel:"stylesheet"})})),it("append and remove Link ",(function(done){link_expect(link.isConnected()).to.be.false,link.connect().available().then((function(){link_expect(link.isConnected()).to.be.true,link_expect(document.querySelector('[href="'+url+'"]')).to.exist,document.getElementById(id).remove(),link_expect(link.isConnected()).to.be.false,link_expect(document.querySelector('[href="'+url+'"]')).not.to.exist,link.connect().available().then((function(){link_expect(link.isConnected()).to.be.true,link_expect(document.querySelector('[href="'+url+'"]')).to.exist,document.getElementById(id).remove(),link_expect(document.querySelector('[href="'+url+'"]')).not.to.exist,link_expect(link.isConnected()).to.be.false,done()})).catch((function(e){return done(e)}))})).catch((function(e){return done(e)}))}))}))}));var dom_updater=__webpack_require__(13628),updater_expect=node_modules_chai.expect;node_modules_chai.use(chaiDom);describe("DOM",(function(){before((function(done){initJSDOM().then((function(){done()}))})),beforeEach((function(){document.getElementById("mocks").innerHTML='\n <template id="current">\n <li data-monster-replace="path:current | tojson"></li>\n </template>\n <div id="test1">\n <ul data-monster-insert="current path:a.b">\n </ul>\n </div>\n <div id="test2">\n <ul data-monster-insert="current path:a.b | doit">\n </ul>\n </div>\n <div id="test3">\n <div data-monster-attributes="class path:a.b">\n <input data-monster-attributes="value path:a.c" id="input1">\n <input data-monster-attributes="checked path:a.checkbox" type="checkbox" name="checkbox" id="checkbox">\n <input data-monster-attributes="value path:a.text" type="text" name="text" id="text">\n <input data-monster-attributes="checked path:a.radio" type="radio" name="radio" value="r1" id="radio">\n <input type="radio" name="radio" value="r2" id="r2">\n <input type="radio" name="radio" value="rx" id="rx">\n\n <select data-monster-attributes="value path:a.select" name="select" id="select">\n <option value="other-value">value1</option>\n <option>value2</option>\n </select>\n\n <select data-monster-attributes="value path:a.multiselect" name="multiselect" multiple id="multiselect">\n <option>value1</option>\n <option>value2</option>\n <option>value3</option>\n <option>value4</option>\n <option value="other-value5">value5</option>\n </select>\n\n <textarea name="textarea" id="textarea" data-monster-attributes="value path:a.textarea"></textarea>\n\n </div>\n </div>\n\n'})),afterEach((function(){document.getElementById("mocks").innerHTML=""})),describe("Updater()",(function(){describe("test Getter && Setter",(function(){it("setEventTypes()",(function(){var element=document.getElementById("test1");updater_expect(new dom_updater.F(element).setEventTypes(["touch"])).to.be.instanceof(dom_updater.F)})),it("getSubject()",(function(){var element=document.getElementById("test1");updater_expect(new dom_updater.F(element,{a:1}).getSubject().a).to.be.equal(1)}))})),describe("test control methods",(function(){it("enableEventProcessing()",(function(){var element=document.getElementById("test1");updater_expect(new dom_updater.F(element).enableEventProcessing()).to.be.instanceof(dom_updater.F)})),it("disableEventProcessing()",(function(){var element=document.getElementById("test1");updater_expect(new dom_updater.F(element).disableEventProcessing()).to.be.instanceof(dom_updater.F)}))})),describe("test Errors",(function(){it("should throw value is not an instance of HTMLElement Error",(function(){updater_expect((function(){return new dom_updater.F})).to.throw(TypeError)})),it("should throw value is wrong",(function(){var element=document.getElementById("test1");updater_expect((function(){return new dom_updater.F(element,null)})).to.throw(TypeError)})),it("should throw Error: the value is not iterable",(function(done){var element=document.getElementById("test1");new dom_updater.F(element,{a:{x:[]}}).run().then((function(){done(new Error("should never called!"))})).catch((function(e){updater_expect(e).is.instanceOf(Error),updater_expect(e+"").to.be.equal("Error: the value is not iterable"),done()}))}))}))})),describe("Updater()",(function(){describe("new Updater",(function(){it("should return document object",(function(){var element=document.getElementById("test1"),d=new dom_updater.F(element,{});updater_expect((0,esm_typeof.Z)(d)).is.equal("object")}))}))})),describe("Updater()",(function(){describe("Repeat",(function(){it("should build 6 li elements",(function(done){var element=document.getElementById("test1"),d=new dom_updater.F(element,{a:{b:[{i:"0"},{i:"1"},{i:"2"},{i:"3"},{i:"4"},{i:"5"}]}});d.run().then((function(){updater_expect((0,esm_typeof.Z)(d)).is.equal("object");for(var i=0;i<6;i++)updater_expect(element).contain.html('<li data-monster-replace="path:a.b.'+i+' | tojson" data-monster-insert-reference="current-'+i+'">{"i":"'+i+'"}</li>');done()})).catch((function(e){done(new Error(e))}))}))}))})),describe("Updater()",(function(){beforeEach((function(){document.getElementById("mocks").innerHTML='\n <div>\n <form id="form1">\n <input type="checkbox" value="checked" name="checkbox" data-monster-bind="path:state">\n <input type="text" name="text">\n <input type="radio" name="radio" value="r1" id="r1" data-monster-bind="path:radio">\n <input type="radio" name="radio" value="r2" id="r2" data-monster-bind="path:radio">\n <input type="radio" name="radio" value="rx" id="rx" data-comment="not called because no bind attribute">\n <input type="button" name="button">\n\n <select name="select1" id="select1" data-monster-bind="path:select">\n <option>value1</option>\n <option>value2</option>\n </select>\n\n <select name="select2" multiple id="select2" data-monster-bind="path:multiselect">\n <option>value1</option>\n <option>value2</option>\n <option>value3</option>\n <option>value4</option>\n <option>value5</option>\n </select>\n\n <textarea name="textarea" id="textarea" data-monster-bind="path:textarea">\n \n </textarea>\n\n </form>\n </div>\n\n'})),describe("Eventhandling",(function(){var updater,form1,proxyobserver;beforeEach((function(){proxyobserver=new types_proxyobserver.k({}),updater=new dom_updater.F(document.getElementById("form1"),proxyobserver),form1=document.getElementById("form1")})),it("should handle checkbox click events",(function(done){updater.enableEventProcessing();var subject=updater.getSubject();updater_expect(subject).is.equal(proxyobserver.getSubject());var expected=["checked",void 0,"checked"];proxyobserver.attachObserver(new types_observer.p((function(){var e=expected.shift();void 0===e&&0===expected.length&&done(new Error("to many calls")),this.getSubject().state!==e&&done(new Error(this.getSubject().state+" should "+e)),0===expected.length?done():setTimeout((function(){form1.querySelector("[name=checkbox]").click()}),10)}))),setTimeout((function(){form1.querySelector("[name=checkbox]").click()}),10)})),it("should handle radio click events 1",(function(done){updater.enableEventProcessing();var subject=updater.getSubject();updater_expect(subject).is.equal(proxyobserver.getSubject());var expected=["r1","r2","r1"],clickTargets=["r2","r1"];proxyobserver.attachObserver(new types_observer.p((function(){var e=expected.shift();void 0===e&&0===expected.length&&done(new Error("to many calls"));var v=this.getSubject().radio;v!==e&&done(new Error(v+" should "+e)),0===expected.length?done():setTimeout((function(){document.getElementById(clickTargets.shift()).click()}),10)}))),setTimeout((function(){document.getElementById("r1").click()}),10),setTimeout((function(){document.getElementById("rx").click()}),20)})),it("should handle select click events 2",(function(done){var selectElement=document.getElementById("select1");updater.enableEventProcessing();var subject=updater.getSubject();updater_expect(subject).is.equal(proxyobserver.getSubject());var expected=["value2","value1","value2"];proxyobserver.attachObserver(new types_observer.p((function(){var e=expected.shift();void 0===e&&0===expected.length&&done(new Error("to many calls"));var v=this.getSubject().select;v!==e&&done(new Error(v+" should "+e)),0===expected.length?done():setTimeout((function(){selectElement.selectedIndex=1===selectElement.selectedIndex?0:1,selectElement.click()}),10)}))),setTimeout((function(){selectElement.selectedIndex=1,selectElement.click()}),20)})),it("should handle textarea events",(function(done){var textareaElement=document.getElementById("textarea");updater.enableEventProcessing();var subject=updater.getSubject();updater_expect(subject).is.equal(proxyobserver.getSubject());var expected=["testX","lorem ipsum",""],testValues=["lorem ipsum",""];proxyobserver.attachObserver(new types_observer.p((function(){var e=expected.shift();void 0===e&&0===expected.length&&done(new Error("to many calls"));var v=this.getSubject().textarea;JSON.stringify(v)!==JSON.stringify(e)&&done(new Error(JSON.stringify(v)+" should "+JSON.stringify(e))),0===expected.length?done():setTimeout((function(){textareaElement.value=testValues.shift(),textareaElement.click()}),10)}))),setTimeout((function(){textareaElement.value="testX",textareaElement.click()}),20)})),it("should handle multiple select events",(function(done){var selectElement=document.getElementById("select2");updater.enableEventProcessing();var subject=updater.getSubject();updater_expect(subject).is.equal(proxyobserver.getSubject());var expected=[["value1"],["value2","value3","value4"],["value1","value4"]],testSelections=[[!1,!0,!0,!0],[!0,!1,!1,!0]];proxyobserver.attachObserver(new types_observer.p((function(){var e=expected.shift();void 0===e&&0===expected.length&&done(new Error("to many calls"));var v=this.getSubject().multiselect;JSON.stringify(v)!==JSON.stringify(e)&&done(new Error(JSON.stringify(v)+" should "+JSON.stringify(e))),0===expected.length?done():setTimeout((function(){var v=testSelections.shift();selectElement.options[0].selected=v[0],selectElement.options[1].selected=v[1],selectElement.options[2].selected=v[2],selectElement.options[3].selected=v[3],selectElement.click()}),10)}))),setTimeout((function(){selectElement.options[0].selected=!0,selectElement.options[1].selected=!1,selectElement.options[2].selected=!1,selectElement.options[3].selected=!1,selectElement.click()}),20)}))}))})),describe("Updater()",(function(){beforeEach((function(){document.getElementById("mocks").innerHTML='\n <div id="test1">\n <div data-monster-replace="path:text | tolower"></div>\n <div data-monster-replace="path:text | call:myformatter"></div>\n <div data-monster-replace="static:hello\\ "></div>\n </div>\n'})),describe("Replace",(function(){it("should add lower hello and HELLOyes!",(function(done){var element=document.getElementById("test1"),d=new dom_updater.F(element,{text:"HALLO"});d.setCallback("myformatter",(function(a){return a+"yes!"})),setTimeout((function(){d.run().then((function(){return updater_expect((0,esm_typeof.Z)(d)).is.equal("object"),updater_expect(element).contain.html('<div data-monster-replace="path:text | tolower">hallo</div>'),updater_expect(element).contain.html('<div data-monster-replace="path:text | call:myformatter">HALLOyes!</div>'),updater_expect(element).contain.html('<div data-monster-replace="static:hello\\ ">hello </div>'),done()})).catch((function(e){done(new Error(e))}))}),100)}))}))})),describe("Updater()",(function(){beforeEach((function(){document.getElementById("mocks").innerHTML='\n\n <template id="myinnerid">\n <span data-monster-replace="path:myinnerid | tojson"></span>\n </template>\n\n <template id="myid">\n <p data-monster-insert="myinnerid path:a.b"></p>\n </template>\n\n <div id="test1">\n <div data-monster-insert="myid path:a.b"></div>\n </div>\n\n'})),describe("Replace",(function(){it("should ",(function(done){var element=document.getElementById("test1"),d=new dom_updater.F(element,{a:{b:[{i:"0"}]}});d.run().then((function(){updater_expect((0,esm_typeof.Z)(d)).is.equal("object"),updater_expect(element).contain.html('<div data-monster-insert="myid path:a.b">'),updater_expect(element).contain.html('<p data-monster-insert="myinnerid path:a.b" data-monster-insert-reference="myid-0">'),updater_expect(element).contain.html('<span data-monster-replace="path:a.b.0 | tojson" data-monster-insert-reference="myinnerid-0">{"i":"0"}</span>'),done()})).catch((function(e){done(new Error(e))}))}))}))})),describe("Updater()",(function(){describe("Attributes",(function(){it("should change attributes",(function(done){var element=document.getElementById("test3"),text=document.getElementById("text");updater_expect(text.value).to.be.equal("");var radio=document.getElementById("radio");updater_expect(radio.checked).to.be.false;var checkbox=document.getElementById("checkbox");updater_expect(checkbox.checked).to.be.false;var select=document.getElementById("select");updater_expect(select.selectedIndex).to.be.equal(0);var multiselect=document.getElementById("multiselect");updater_expect(multiselect.selectedIndex).to.be.equal(-1);var textarea=document.getElementById("textarea");updater_expect(textarea.value).to.be.equal("");var d=new dom_updater.F(element,{a:{b:"div-class",c:"hello",text:"hello",radio:"true",textarea:"test",multiselect:["value3","value4","other-value5"],select:"value2",checkbox:"true"}});d.run().then((function(){updater_expect(element).contain.html('<div data-monster-attributes="class path:a.b" class="div-class">'),updater_expect(element).contain.html('<input data-monster-attributes="value path:a.c" id="input1" value="hello">'),updater_expect(element).contain.html('<textarea name="textarea" id="textarea" data-monster-attributes="value path:a.textarea" value="test">'),updater_expect(element).contain.html('<input data-monster-attributes="checked path:a.radio" type="radio" name="radio" value="r1" id="radio" checked="true">'),updater_expect(text.value,"text control").to.be.equal(d.getSubject().a.c),updater_expect(radio.checked,"radio control").to.be.equal(!0),updater_expect(textarea.value,"textarea control").to.be.equal(d.getSubject().a.textarea),updater_expect(select.selectedIndex,"select control").to.be.equal(1);for(var multiselectSelectedOptions=[],_i=0,_Object$entries=Object.entries(multiselect.selectedOptions);_i<_Object$entries.length;_i++){var _Object$entries$_i=(0,slicedToArray.Z)(_Object$entries[_i],2),obj=(_Object$entries$_i[0],_Object$entries$_i[1]);multiselectSelectedOptions.push(obj.value)}updater_expect(JSON.stringify(multiselectSelectedOptions),"multiselect control").to.be.equal(JSON.stringify(d.getSubject().a.multiselect)),updater_expect(checkbox.checked,"checkbox control").to.be.true,done()})).catch((function(e){done(new Error(e))}))}))}))})),describe("Get Attribute Pipe",(function(){var id,mocks;beforeEach((function(){mocks=document.getElementById("mocks"),id=new types_id.ID("monster"),mocks.innerHTML=' <div id="'+id+'"\n data-monster-replace="path:a | if:value:\\ "></div>'})),afterEach((function(){mocks.innerHTML=""})),it("should include space",(function(){var pipe=document.getElementById(id.toString()).getAttribute("data-monster-replace");updater_expect(pipe.length).to.be.equal(20)}))})),describe("manuel update",(function(){var id,mocks;beforeEach((function(){mocks=document.getElementById("mocks"),id=new types_id.ID("monster").toString(),mocks.innerHTML='<input id="'+id+'"data-monster-bind="path:myvalue">'})),afterEach((function(){mocks.innerHTML=""})),it("should get value",(function(){document.getElementById(id).value="hello";var updater=new dom_updater.F(mocks),subject=updater.getSubject();updater_expect(subject).to.not.have.property("myvalue"),updater.retrieve(),updater_expect(subject).to.have.property("myvalue")}))})),describe("Updater() 20220107",(function(){beforeEach((function(){document.getElementById("mocks").innerHTML='\n\n <div id="container">\n <div data-monster-replace="path:content"></div>\n </div>\n\n\n '})),describe("Bugfix #112",(function(){it("should add ",(function(done){var containerElement=document.getElementById("container"),newElement=document.createElement("div");newElement.innerHTML="yeah! <b>Test</b>!";containerElement.innerHTML,newElement.innerHTML;var d=new dom_updater.F(containerElement,{content:newElement});setTimeout((function(){d.run().then((function(){try{updater_expect(containerElement).contain.html("<div>yeah! <b>Test</b>!</div>")}catch(e){return done(e)}done()}))}),100)}))}))}))}));var attributes_html1,attributes_html2,attributes_html3,attributes=__webpack_require__(79340);function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}describe("Attributes",(function(){before((function(done){attributes_html1='<div id="test1"></div>',attributes_html2='<div id="test1">\n <div id="sub1">\n <div id="sub2">\n <div id="sub3">\n <div id="sub4">\n <div id="sub5"></div>\n </div>\n </div>\n </div>\n </div>\n</div>\n',attributes_html3='<div data-monster-role="test1">\n <div data-monster-role="sub1" id="a1" class="sub1">\n <div data-monster-role="sub2" id="a2" class="sub2">\n <div data-monster-role="sub3" id="a3" class="sub3">\n <div data-monster-role="sub4" id="a4" class="sub4">\n <div data-monster-role="sub5" id="a5" class="sub5"></div>\n </div>\n </div>\n </div>\n </div>\n</div>\n',initJSDOM().then((function(){done()})).catch((function(e){return done(e)}))})),describe("ObjectLink",(function(){var symbol=Symbol("mytest");beforeEach((function(){document.getElementById("mocks").innerHTML=attributes_html1})),afterEach((function(){document.getElementById("mocks").innerHTML=""})),it("should handle object-links",(function(){var obj={a:1},element=document.getElementById("test1");expect((0,attributes.LH)(element,symbol)).to.be.false,(0,attributes.Ze)(element,symbol,obj),expect((0,attributes.LH)(element,symbol)).to.be.true;var o=(0,attributes.Df)(element,symbol).next();expect(o.value).to.equal(obj),(0,attributes.xB)(element,symbol),expect((0,attributes.LH)(element,symbol)).to.be.false,expect((function(){return(0,attributes.Df)(element,symbol)})).to.throw(Error)}))})),describe("findClosestObjectLink()",(function(){var symbol=Symbol("mytest");beforeEach((function(){document.getElementById("mocks").innerHTML=attributes_html2})),afterEach((function(){document.getElementById("mocks").innerHTML=""})),it("should return objectlink",(function(){var sub4=document.getElementById("sub4"),sub2=document.getElementById("sub2");expect((0,attributes.LH)(sub2,symbol)).to.be.false,(0,attributes.Ze)(sub2,symbol,{}),expect((0,attributes.LH)(sub2,symbol)).to.be.true;var element=(0,attributes.it)(sub4);expect(element).is.instanceOf(HTMLDivElement),expect(element.getAttribute("id")).to.be.equal("sub2")}))})),describe("Attributes",(function(){beforeEach((function(){document.getElementById("mocks").innerHTML=attributes_html3})),afterEach((function(){document.getElementById("mocks").innerHTML=""})),describe("find closest Attributes",(function(){[["a5","data-monster-role",void 0,"sub5"],["a5","data-monster-role","sub3","sub3"],["a5","data-monster-role","sub1","sub1"],["a4","data-monster-role","sub1","sub1"],["a3","data-monster-role","sub1","sub1"],["a2","data-monster-role",void 0,"sub2"],["a5","data-monster-role","sub5","sub5"]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift(),d=data.shift();it("findClosestByAttribute("+a+", "+b+","+c+") should return "+d,(function(){expect((0,attributes.iE)(document.getElementById(a),b,c).getAttribute("data-monster-role")).to.be.equal(d)}))}))})),describe("find closest Element with class",(function(){[["a5","sub3","sub3"],["a5","sub1","sub1"],["a4","sub1","sub1"],["a3","sub1","sub1"],["a5","sub5","sub5"]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("findClosestByClass("+a+", "+b+") should return "+c,(function(){expect((0,attributes.Dn)(document.getElementById(a),b).getAttribute("class")).to.be.equal(c)}))}))}))})),describe("Attributes",(function(){beforeEach((function(){document.getElementById("mocks").innerHTML=attributes_html1})),afterEach((function(){document.getElementById("mocks").innerHTML=""}));it("toggleAttributeToken(element, key, value)",(function(){var element=document.getElementById("test1");expect(element.hasAttribute("data-test")).to.be.false,element.setAttribute("data-test","apple bananna"),(0,attributes.H3)(element,"data-test","pinapple"),expect(element.getAttribute("data-test")).to.be.equal("apple bananna pinapple"),(0,attributes.H3)(element,"data-test","pinapple"),expect(element.getAttribute("data-test")).to.be.equal("apple bananna")})),it("addAttributeToken(element, key, value)",(function(){var element=document.getElementById("test1");expect(element.hasAttribute("data-test")).to.be.false,(0,attributes.aG)(element,"data-test","pinapple"),expect(element.getAttribute("data-test")).to.be.equal("pinapple"),(0,attributes.aG)(element,"data-test","bananna"),expect(element.getAttribute("data-test")).to.be.equal("pinapple bananna")})),it("removeAttributeToken(element, key, value)",(function(){var element=document.getElementById("test1");element.setAttribute("data-test","apple bananna lemmon"),(0,attributes.qH)(element,"data-test","pinapple"),expect(element.getAttribute("data-test")).to.be.equal("apple bananna lemmon"),(0,attributes.qH)(element,"data-test","bananna"),expect(element.getAttribute("data-test")).to.be.equal("apple lemmon")})),it("containsAttributeToken(element, key, value)",(function(){var element=document.getElementById("test1");expect((0,attributes.gs)(element,"data-test","pinapple")).to.be.false,element.setAttribute("data-test","apple bananna"),expect((0,attributes.gs)(element,"data-test","pinapple")).to.be.false,expect((0,attributes.gs)(element,"data-test","bananna")).to.be.true,expect((0,attributes.gs)(element,"data-test","apple")).to.be.true})),it(" replaceAttributeToken(element, key, value)",(function(){var element=document.getElementById("test1");element.setAttribute("data-test","apple bananna tomato"),(0,attributes.Z$)(element,"data-test","tomato","lemmon"),expect(element.getAttribute("data-test")).to.be.equal("apple bananna lemmon"),(0,attributes.Z$)(element,"data-test","bananna","pear"),expect(element.getAttribute("data-test")).to.be.equal("apple pear lemmon")})),it("clearAttributeTokens(element, key)",(function(){var element=document.getElementById("test1");element.setAttribute("data-test","apple bananna"),(0,attributes.x1)(element,"data-test"),expect(element.getAttribute("data-test")).to.be.equal("")}))}))}));var regenerator=__webpack_require__(87757),regenerator_default=__webpack_require__.n(regenerator),dom_template=__webpack_require__(66374);describe("Template",(function(){before(_asyncToGenerator(regenerator_default().mark((function _callee(){return regenerator_default().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:initJSDOM();case 1:case"end":return _context.stop()}}),_callee)})))),beforeEach((function(){document.getElementById("mocks").innerHTML='\n <template id="mytemplate"></template>'})),afterEach((function(){document.getElementById("mocks").innerHTML=""})),describe("create HTMLFragment",(function(){[["<div>first</div><div>second</div>"],["<div>first</div>"],["<div>first</div><p>second</p>"]].forEach((function(data){var a=data.shift();it("new Template().getNewDocumentFragmentAsString() should return string",(function(){var template=document.createElement("template");template.innerHTML=a;var t=new dom_template.YS(template),container=document.createElement("div");container.appendChild(t.createDocumentFragment()),expect(container.innerHTML).to.be.equal(a)}))}))})),describe("create instance",(function(){it("new Template() should return document object",(function(){var d=new dom_template.YS(document.createElement("template"));expect(d).to.be.instanceOf(dom_template.YS)}))})),describe(".getTemplateElement()",(function(){it("new Template().getTemplateElement() should return HTMLTemplateElement object",(function(){var d=new dom_template.YS(document.createElement("template"));expect(d.getTemplateElement()).to.be.instanceOf(HTMLTemplateElement)}))})),describe(".findDocumentTemplate()",(function(){it("should throw Template not found",(function(){var div=document.createElement("div");expect((function(){(0,dom_template.HO)("noway",div)})).to.throws(Error)}))})),describe(".findDocumentTemplate()",(function(){describe("Template",(function(){it("should find template over ownerDocument",(function(){var div=document.createElement("div");div.remove();var t=(0,dom_template.HO)("mytemplate",div);expect(t).is.instanceof(dom_template.YS)}))})),describe("Thmened Template",(function(){var memAttributeValue;beforeEach((function(){document.getElementById("mocks").innerHTML='\n <template id="mytemplate"><p>1</p></template>\n <template id="mytemplate-monster"><p>2</p></template>\n <template id="mytemplate-testtheme"><p>4</p></template>\n <template id="myprefix-mytemplate-monster"><p>3</p></template>\n ';var html=document.querySelector("html");html.hasAttribute(dom_constants.Te)&&(memAttributeValue=html.getAttribute(dom_constants.Te))})),afterEach((function(){document.getElementById("mocks").innerHTML="";var html=document.querySelector("html");html.hasAttribute(dom_constants.Te)&&html.removeAttribute(dom_constants.Te),memAttributeValue&&html.setAttribute(dom_constants.Te,memAttributeValue)})),it("should find template over ownerDocument",(function(){var html=document.querySelector("html"),div=document.createElement("div");div.setAttribute("data-monster-template-prefix","myprefix"),div.remove();var t1=(0,dom_template.HO)("mytemplate",div);expect(t1).is.instanceof(dom_template.YS),expect(t1.createDocumentFragment().textContent).is.equal("3"),div.removeAttribute("data-monster-template-prefix");var t2=(0,dom_template.HO)("mytemplate",div);expect(t2).is.instanceof(dom_template.YS),expect(t2.createDocumentFragment().textContent).is.equal("2"),html.setAttribute(dom_constants.Te,"testtheme");html.outerHTML;var t3=(0,dom_template.HO)("mytemplate",div);expect(t3).is.instanceof(dom_template.YS),expect(t3.createDocumentFragment().textContent).is.equal("4")}))}))}))}));var windowReady,domReady,dom_util=__webpack_require__(72287);describe("DOM",(function(){before(_asyncToGenerator(regenerator_default().mark((function _callee(){return regenerator_default().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:initJSDOM();case 1:case"end":return _context.stop()}}),_callee)})))),describe("getDocument()",(function(){it("should return document object",(function(){var d=(0,dom_util.Me)();expect((0,esm_typeof.Z)(d)).is.equal("object")}))})),describe("getWindow()",(function(){it("should return document object",(function(){var d=(0,dom_util.Jj)();expect((0,esm_typeof.Z)(d)).is.equal("object")}))})),describe("getDocumentFragmentFromString()",(function(){[["<div></div>"],["<div><div>2</div></div>"],["<div><div>2</div>","<div><div>2</div></div>"]].forEach((function(data){var a=data.shift(),b=data.shift();b||(b=a),it("should return documentFragment object "+a,(function(){var fragment=(0,dom_util.yR)(a);expect(fragment).to.be.instanceOf(DocumentFragment);var div=document.createElement("div");div.appendChild(fragment.cloneNode(!0)),expect(div.innerHTML).to.be.equal(b)}))}))}))})),describe("Ready",(function(){before((function(done){initJSDOM().then((function(){Promise.resolve().then(__webpack_require__.bind(__webpack_require__,77562)).then((function(m){domReady=m.domReady,windowReady=m.windowReady,done()}))}))})),describe("domReady",(function(){it("resolve promise",(function(done){domReady.then(done).catch((function(e){return done(e)}))}))})),describe("windowReady",(function(){it("resolve promise",(function(done){windowReady.then(done).catch((function(e){return done(e)}))}))}))}));__webpack_require__(19601);function resourcemanager_createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function resourcemanager_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return resourcemanager_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return resourcemanager_arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function resourcemanager_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function resourcemanager_createSuper(Derived){var hasNativeReflectConstruct=function resourcemanager_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}var ResourceManager=function(_BaseWithOptions){(0,inherits.Z)(ResourceManager,_BaseWithOptions);var _super=resourcemanager_createSuper(ResourceManager);function ResourceManager(options){var _this;if((0,classCallCheck.Z)(this,ResourceManager),!((_this=_super.call(this,options)).getOption("document")instanceof Document))throw new Error("unsupported document type");return _this}return(0,createClass.Z)(ResourceManager,[{key:"getBaseURL",value:function getBaseURL(){var _this$getOption;null===(_this$getOption=this.getOption("document"))||void 0===_this$getOption||_this$getOption.baseURL}},{key:"defaults",get:function get(){return Object.assign({},(0,esm_get.Z)((0,getPrototypeOf.Z)(ResourceManager.prototype),"defaults",this),{document:(0,global.Rf)("document"),resources:{scripts:[],stylesheets:[],data:[]}})}},{key:"connect",value:function connect(){return runResourceMethod.call(this,"connect"),this}},{key:"available",value:function available(){return Promise.all(runResourceMethod.call(this,"available"))}},{key:"addScript",value:function addScript(url,options){return addResource.call(this,"scripts",url,options)}},{key:"addStylesheet",value:function addStylesheet(url,options){return addResource.call(this,"stylesheets",url,options)}},{key:"addData",value:function addData(url,options){return addResource.call(this,"data",url,options)}}]),ResourceManager}(BaseWithOptions);function runResourceMethod(method){for(var result=[],_i=0,_arr=["scripts","stylesheets","data"];_i<_arr.length;_i++){var type=_arr[_i],resources=this.getOption("resources."+type);if((0,is.kJ)(resources)){var _step,_iterator=resourcemanager_createForOfIteratorHelper(resources);try{for(_iterator.s();!(_step=_iterator.n()).done;){var resource=_step.value;if(!(resource instanceof Resource))throw new Error("unsupported resource definition");result.push(resource[method]())}}catch(err){_iterator.e(err)}finally{_iterator.f()}}}return result}function addResource(type,url,options){var _self$getOption,resource;switch(url instanceof URL&&(url=url.toString()),options=options||{},type){case"scripts":resource=new Script((0,extend.l)({},options,_defineProperty({},dom_constants.ob,url)));break;case"stylesheets":resource=new Stylesheet((0,extend.l)({},options,_defineProperty({},dom_constants.cq,url)));break;case"data":resource=new Data((0,extend.l)({},options,_defineProperty({},dom_constants.ob,url)));break;default:throw new Error("unsupported type "+type)}return(null===(_self$getOption=this.getOption("resources"))||void 0===_self$getOption?void 0:_self$getOption[type]).push(resource),this}(0,namespace.O)("Monster.DOM",ResourceManager),describe("ResourceManager",(function(){var fetchReference;before((function(done){initJSDOM().then((function(){done()})).catch((function(e){return done(e)}))})),afterEach((function(){__webpack_require__.g.fetch=fetchReference,cleanupDOMFromTesting()})),beforeEach((function(){initMutationObserverForTesting(),200,fetchReference=__webpack_require__.g.fetch,__webpack_require__.g.fetch=function(url,options){if(!url)throw new Error("missing url");return new Promise((function(resolve,reject){resolve({text:function text(){return JSON.stringify({a:"test"})},status:200})}))}})),describe("new",(function(){it("new ResourceManager() should return ResourceManager object",(function(){var d=new ResourceManager;expect(d).to.be.instanceOf(ResourceManager)}))})),describe("load resources",(function(){var manager;beforeEach((function(){manager=new ResourceManager})),it("add script should instance of ResourceManager",(function(){expect(manager.addScript("/example.js")).to.be.instanceOf(ResourceManager)})),it("add style should instance of ResourceManager",(function(){expect(manager.addStylesheet("/style.js")).to.be.instanceOf(ResourceManager)})),it("add data should instance of ResourceManager",(function(){expect(manager.addData("/data.json")).to.be.instanceOf(ResourceManager)})),describe("connect resources",(function(){it("add script and connect should instance of ResourceManager",(function(){expect(manager.addScript("/example.js").connect()).to.be.instanceOf(ResourceManager)})),it("add style and connect should instance of ResourceManager",(function(){expect(manager.addStylesheet("/style.js").connect()).to.be.instanceOf(ResourceManager)})),it("add data and connect should instance of ResourceManager",(function(){expect(manager.addData("/data.json").connect()).to.be.instanceOf(ResourceManager)}))})),describe("check availability resources",(function(){it("add script and check availability should return Promise",(function(){expect(manager.addScript("/example.js").available()).to.be.instanceOf(Promise)})),it("add style and check availability should should return Promise",(function(){expect(manager.addStylesheet("/style.js").available()).to.be.instanceOf(Promise)})),it("add data and check availability should should return Promise",(function(){expect(manager.addData("/data.json").available()).to.be.instanceOf(Promise)}))})),describe("check availability example.json",(function(){it("add data and check content",(function(done){manager.addData("https://example.com/example.json").connect().available().then((function(r){expect(document.querySelector("html").outerHTML).contains('>{"a":"test"}<\/script></head>'),done()})).catch((function(e){return done(e)}))}))}))}))}));__webpack_require__(24603),__webpack_require__(83475);var clone=__webpack_require__(69080);function locale_createSuper(Derived){var hasNativeReflectConstruct=function locale_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}var propertiesSymbol=Symbol("properties"),localeStringSymbol=Symbol("localeString"),Locale=function(_Base){(0,inherits.Z)(Locale,_Base);var _super=locale_createSuper(Locale);function Locale(language,region,script,variants,extlang,privateUse){var _this;(0,classCallCheck.Z)(this,Locale),(_this=_super.call(this))[propertiesSymbol]={language:void 0===language?void 0:(0,validate.Cp)(language),script:void 0===script?void 0:(0,validate.Cp)(script),region:void 0===region?void 0:(0,validate.Cp)(region),variants:void 0===variants?void 0:(0,validate.Cp)(variants),extlang:void 0===extlang?void 0:(0,validate.Cp)(extlang),privateUse:void 0===privateUse?void 0:(0,validate.Cp)(privateUse)};var s=[];if(void 0!==language&&s.push(language),void 0!==script&&s.push(script),void 0!==region&&s.push(region),void 0!==variants&&s.push(variants),void 0!==extlang&&s.push(extlang),void 0!==privateUse&&s.push(privateUse),0===s.length)throw new Error("unsupported locale");return _this[localeStringSymbol]=s.join("-"),_this}return(0,createClass.Z)(Locale,[{key:"localeString",get:function get(){return this[localeStringSymbol]}},{key:"language",get:function get(){return this[propertiesSymbol].language}},{key:"region",get:function get(){return this[propertiesSymbol].region}},{key:"script",get:function get(){return this[propertiesSymbol].script}},{key:"variants",get:function get(){return this[propertiesSymbol].variants}},{key:"extlang",get:function get(){return this[propertiesSymbol].extlang}},{key:"privateUse",get:function get(){return this[propertiesSymbol].privateValue}},{key:"toString",value:function toString(){return""+this.localeString}},{key:"getMap",value:function getMap(){return(0,clone.d)(this[propertiesSymbol])}}]),Locale}(base.X);function parseLocale(locale){locale=(0,validate.Cp)(locale).replace(/_/g,"-");var language,region,variants,parts,script,extlang,match,regex=new RegExp("^(((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))|((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+))$");if(null!==(match=regex.exec(locale))&&match.index===regex.lastIndex&®ex.lastIndex++,null==match)throw new Error("unsupported locale");return void 0!==match[6]&&(parts=(language=match[6]).split("-")).length>1&&(language=parts[0],extlang=parts[1]),void 0!==match[14]&&(region=match[14]),void 0!==match[12]&&(script=match[12]),void 0!==match[16]&&(variants=match[16]),new Locale(language,region,script,variants,extlang)}(0,namespace.O)("Monster.I18n",Locale,parseLocale);function getLocaleOfDocument(){var html=(0,dom_util.Me)().querySelector("html");if(html instanceof HTMLElement&&html.hasAttribute("lang")){var locale=html.getAttribute("lang");if(locale)return new parseLocale(locale)}return parseLocale("en")}(0,namespace.O)("Monster.DOM",getLocaleOfDocument),describe("Attributes",(function(){before((function(done){initJSDOM().then((function(){done()}))})),describe("getLocaleOfDocument",(function(){[["de"],["sl-IT-nedis"],["en-GB"]].forEach((function(data){var a=data.shift();it("return language "+a,(function(){document.getElementsByTagName("html").item(0).setAttribute("lang",a),expect(getLocaleOfDocument().toString()).to.be.equal(a)}))}))}))}));__webpack_require__(26699),__webpack_require__(32023);function customcontrol_createSuper(Derived){var hasNativeReflectConstruct=function customcontrol_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}var customcontrol_expect=node_modules_chai.expect;node_modules_chai.use(chaiDom);function assembler_createSuper(Derived){var hasNativeReflectConstruct=function assembler_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}describe("DOM",(function(){var CustomControl,registerCustomElement,TestComponent,document,jsdomFlag;describe("CustomControl()",(function(){before((function(done){initJSDOM().then((function(){jsdomFlag=navigator.userAgent.includes("jsdom"),Promise.resolve().then(__webpack_require__.bind(__webpack_require__,56133)).then((function(m){registerCustomElement=m.registerCustomElement,Promise.resolve().then(__webpack_require__.bind(__webpack_require__,99205)).then((function(m){document=(0,dom_util.Me)();try{CustomControl=m.CustomControl,registerCustomElement(TestComponent=function(_CustomControl){(0,inherits.Z)(TestComponent,_CustomControl);var _super=customcontrol_createSuper(TestComponent);function TestComponent(){return(0,classCallCheck.Z)(this,TestComponent),_super.apply(this,arguments)}return(0,createClass.Z)(TestComponent,null,[{key:"getTag",value:function getTag(){return"monster-customcontrol"}}]),TestComponent}(CustomControl)),done()}catch(e){done(e)}}))}))}))})),beforeEach((function(){document.getElementById("mocks").innerHTML='\n <div id="test1">\n </div>\n'})),afterEach((function(){document.getElementById("mocks").innerHTML=""})),describe("create",(function(){it("should return custom-element object",(function(){var d=new TestComponent;customcontrol_expect((0,esm_typeof.Z)(d)).is.equal("object")}))})),describe("connect empty element",(function(){it("document should contain monster-customcontrol",(function(){var d=document.createElement("monster-customcontrol");document.getElementById("test1").appendChild(d),customcontrol_expect(document.getElementsByTagName("monster-customcontrol").length).is.equal(1),customcontrol_expect(document.getElementById("test1")).contain.html("<monster-customcontrol></monster-customcontrol>")}))})),describe("Options change",(function(){it("delegatesFocus should change from true to false",(function(){var element=document.createElement("monster-customcontrol");customcontrol_expect(element.getOption("delegatesFocus")).to.be.true,element.setAttribute(dom_constants.MO,JSON.stringify({delegatesFocus:!1})),customcontrol_expect(element.getOption("delegatesFocus")).to.be.false}))})),describe("Test ElementInternals",(function(){var form;beforeEach((function(){form=document.createElement("form")})),it("formAssociated",(function(){var d=document.createElement("monster-customcontrol");form.appendChild(d),customcontrol_expect(d.constructor.formAssociated).to.be.true})),it("form",(function(){var d=document.createElement("monster-customcontrol");form.appendChild(d),jsdomFlag?customcontrol_expect((function(){return d.form})).to.throw(Error):customcontrol_expect(d.form).to.be.instanceof(HTMLFormElement)})),it("value getter",(function(){var d=document.createElement("monster-customcontrol");form.appendChild(d),customcontrol_expect((function(){return d.value})).to.throw(Error)})),it("value setter",(function(){var d=document.createElement("monster-customcontrol");form.appendChild(d),customcontrol_expect((function(){return d.value=4})).to.throw(Error)})),it("setFormValue",(function(){var d=document.createElement("monster-customcontrol");form.appendChild(d),jsdomFlag&&customcontrol_expect((function(){return d.setFormValue()})).to.throw(Error)})),it("name getter",(function(){var d=document.createElement("monster-customcontrol");form.appendChild(d),customcontrol_expect(d.name).to.be.null})),it("type getter",(function(){var d=document.createElement("monster-customcontrol");form.appendChild(d),customcontrol_expect(d.type).to.be.equal("monster-customcontrol")})),it("validity getter",(function(){var d=document.createElement("monster-customcontrol");form.appendChild(d),jsdomFlag&&customcontrol_expect((function(){return d.validity})).to.throw(Error)})),it("validationMessage getter",(function(){var d=document.createElement("monster-customcontrol");form.appendChild(d),jsdomFlag&&customcontrol_expect((function(){return d.validity})).to.throw(Error)})),it("willValidate getter",(function(){var d=document.createElement("monster-customcontrol");form.appendChild(d),jsdomFlag&&customcontrol_expect((function(){return d.willValidate})).to.throw(Error)})),it("checkValidity()",(function(){var d=document.createElement("monster-customcontrol");form.appendChild(d),jsdomFlag&&customcontrol_expect((function(){return d.checkValidity()})).to.throw(Error)})),it("reportValidity()",(function(){var d=document.createElement("monster-customcontrol");form.appendChild(d),jsdomFlag&&customcontrol_expect((function(){return d.reportValidity()})).to.throw(Error)})),it("setValidity()",(function(){var d=document.createElement("monster-customcontrol");form.appendChild(d),jsdomFlag?customcontrol_expect((function(){return d.setValidity()})).to.throw(Error):customcontrol_expect(d.setValidity({valueMissing:!0},"my message")).to.be.undefined}))}))}))}));var Assembler=function(_Base){(0,inherits.Z)(Assembler,_Base);var _super=assembler_createSuper(Assembler);function Assembler(fragment){var _this;return(0,classCallCheck.Z)(this,Assembler),(_this=_super.call(this)).attributePrefix="data-monster-",(0,validate.dh)(fragment,(0,global.Ck)("DocumentFragment")),_this.fragment=fragment,_this}return(0,createClass.Z)(Assembler,[{key:"setAttributePrefix",value:function setAttributePrefix(prefix){return(0,validate.Cp)(prefix),this.attributePrefix=prefix,this}},{key:"getAttributePrefix",value:function getAttributePrefix(){return this.attributePrefix}},{key:"createDocumentFragment",value:function createDocumentFragment(data){return void 0===data&&(data=new types_proxyobserver.k({})),(0,validate.dh)(data,types_proxyobserver.k),this.fragment.cloneNode(!0)}}]),Assembler}(base.X);(0,namespace.O)("Monster.DOM",Assembler),describe("Assembler",(function(){before(_asyncToGenerator(regenerator_default().mark((function _callee(){return regenerator_default().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:initJSDOM();case 1:case"end":return _context.stop()}}),_callee)})))),describe("createDocumentFragment()",(function(){it("should return <div>One</div><div>Two</div>",(function(){var fragment=document.createRange().createContextualFragment("<div>One</div><div>Two</div>"),f=new Assembler(fragment),container=document.createElement("div");container.appendChild(f.createDocumentFragment().cloneNode(!0)),expect(container.innerHTML).to.be.equal("<div>One</div><div>Two</div>")}))})),describe("createDocumentFragment()",(function(){it("should return DocumentFragment object",(function(){var d=new Assembler(document.createDocumentFragment());expect(d.createDocumentFragment()).to.be.instanceOf(DocumentFragment)}))})),describe("new",(function(){it("new Renderer() should return Assembler object",(function(){var d=new Assembler(document.createDocumentFragment());expect(d).to.be.instanceOf(Assembler)}))})),describe("getAttributePrefix()",(function(){it("should return data-monster-",(function(){var d=new Assembler(document.createDocumentFragment());expect(d.getAttributePrefix()).to.be.equal("data-monster-")}))})),describe("setAttributePrefix().getAttributePrefix()",(function(){it("should return same value",(function(){var d=new Assembler(document.createDocumentFragment());expect(d.setAttributePrefix("test01").getAttributePrefix()).to.be.equal("test01")}))}))}));var theme=__webpack_require__(53358);describe("Theme",(function(){before((function(done){initJSDOM().then((function(){done()}))})),describe("new Theme()",(function(){it("should return Theme object",(function(){expect(new theme.Q2("my-theme")).is.a.instanceOf(theme.Q2)})),it("should return Theme-Name",(function(){expect(new theme.Q2("my-theme").getName()).is.equal("my-theme")})),it("should throw Error because empty argument",(function(){expect((function(){return new theme.Q2})).to.throw(TypeError)})),it("should throw Error because no string argument",(function(){expect((function(){return new theme.Q2(2)})).to.throw(TypeError)}))})),describe("getDocumentTheme()",(function(){it("should return Theme object",(function(){expect((0,theme.Rm)()).is.a.instanceOf(theme.Q2)})),it("should return Default Theme name",(function(){expect((0,theme.Rm)().getName()).is.equal("monster")}))})),describe("getDocumentTheme()",(function(){beforeEach((function(){document.querySelector("html").setAttribute("data-monster-theme-name","testtheme")})),afterEach((function(){document.querySelector("html").removeAttribute("data-monster-theme-name")})),it("should return testtheme Theme name",(function(){expect((0,theme.Rm)().getName()).is.equal("testtheme")}))}))}));var assertThisInitialized=__webpack_require__(97326);__webpack_require__(4129),__webpack_require__(78206);function factory_createSuper(Derived){var hasNativeReflectConstruct=function factory_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}var Factory=function(_Base){(0,inherits.Z)(Factory,_Base);var _super=factory_createSuper(Factory);function Factory(){var _this;return(0,classCallCheck.Z)(this,Factory),_this=_super.call(this),_defineProperty((0,assertThisInitialized.Z)(_this),"createFromURL",(function(url,messageHandler,errorHandler){url instanceof URL&&(url=url.toString());var worker=new((0,global.Ck)("Worker"))((0,validate.Cp)(url));return(0,is.mf)(messageHandler)&&(worker.onmessage=function(event){messageHandler.call(worker,event)}),(0,is.mf)(errorHandler)&&(worker.onerror=function(event){errorHandler.call(worker,event)}),worker})),_defineProperty((0,assertThisInitialized.Z)(_this),"createFromScript",(function(content,messageHandler,errorHandler){var blob=new new global.Ck("Blob")([(0,validate.Cp)(content)],{type:"script/javascript"}),url=(0,global.Ck)("URL").createObjectURL(blob),worker=this.createFromURL(url,messageHandler,errorHandler);return this[constants.eB].worker.set(worker,url),worker})),_this[constants.eB]={worker:new WeakMap},_this}return(0,createClass.Z)(Factory,[{key:"terminate",value:function terminate(worker){var workerClass=(0,global.Ck)("Worker");if((0,validate.dh)(worker,workerClass),worker.terminate(),this[constants.eB].worker.has(worker)){var url=this[constants.eB].worker.get(worker);URL.revokeObjectURL(url)}return this}}]),Factory}(base.X);(0,namespace.O)("Monster.DOM.Worker",Factory);var factory_global=(0,global.Rd)();describe("Worker",(function(){before((function(done){if(isNode()){Object.defineProperty(factory_global.URL,"createObjectURL",{writable:!0,value:function value(){return"/example.js"}}),factory_global.Worker=function(){function _class(){(0,classCallCheck.Z)(this,_class)}return(0,createClass.Z)(_class,[{key:"terminate",value:function terminate(){}},{key:"onerror",value:function onerror(){}},{key:"onmessage",value:function onmessage(){}}]),_class}();(0,esm_typeof.Z)(factory_global.Worker),"undefined"==typeof Worker||(0,esm_typeof.Z)(Worker)}initJSDOM().then((function(){done()}))})),describe("Factory",(function(){it("create worker",(function(){var factory=new Factory,worker=factory.createFromScript('console.log("hello world");');expect(worker).is.instanceof(Worker),expect(factory.terminate(worker)).is.instanceof(Factory)}))}))}));var toConsumableArray=__webpack_require__(42982),types_stack=(__webpack_require__(57327),__webpack_require__(10252));function focusmanager_createSuper(Derived){var hasNativeReflectConstruct=function focusmanager_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}var stackSymbol=Symbol("stack"),FocusManager=function(_BaseWithOptions){(0,inherits.Z)(FocusManager,_BaseWithOptions);var _super=focusmanager_createSuper(FocusManager);function FocusManager(options){var _this;return(0,classCallCheck.Z)(this,FocusManager),_this=_super.call(this,options),(0,validate.dh)(_this.getOption("document"),HTMLDocument),_this[stackSymbol]=new types_stack.K,_this}return(0,createClass.Z)(FocusManager,[{key:"defaults",get:function get(){var _extend;return(0,extend.l)({},(0,esm_get.Z)((0,getPrototypeOf.Z)(FocusManager.prototype),"defaults",this),(_defineProperty(_extend={},"document",(0,global.Rf)("document")),_defineProperty(_extend,"context",void 0),_extend))}},{key:"storeFocus",value:function storeFocus(){var active=this.getActive();return active instanceof Node&&this[stackSymbol].push(active),this}},{key:"restoreFocus",value:function restoreFocus(){var last=this[stackSymbol].pop();return last instanceof Node&&this.focus(last),this}},{key:"focus",value:function focus(element,preventScroll){return(0,validate.dh)(element,Node),element.focus({preventScroll:null!=preventScroll&&preventScroll}),this}},{key:"getActive",value:function getActive(){return this.getOption("document").activeElement}},{key:"getFocusable",value:function getFocusable(query){var contextElement=this.getOption("context");return void 0===contextElement&&(contextElement=this.getOption("document")),(0,validate.dh)(contextElement,Node),void 0!==query&&(0,validate.Cp)(query),(0,toConsumableArray.Z)(contextElement.querySelectorAll('details, button, input, [tabindex]:not([tabindex="-1"]), select, textarea, a[href], body')).filter((function(element){if(void 0!==query&&!element.matches(query))return!1;if(element.hasAttribute("disabled"))return!1;if("true"===element.getAttribute("aria-hidden"))return!1;var rect=element.getBoundingClientRect();return 0!==rect.width&&0!==rect.height}))}},{key:"focusNext",value:function focusNext(query){var current=this.getActive(),focusable=this.getFocusable(query);if(!(0,is.kJ)(focusable)||0===focusable.length)return this;if(current instanceof Node){var index=focusable.indexOf(current);index>-1?this.focus(focusable[index+1]||focusable[0]):this.focus(focusable[0])}else this.focus(focusable[0]);return this}},{key:"focusPrev",value:function focusPrev(query){var current=this.getActive(),focusable=this.getFocusable(query);if(!(0,is.kJ)(focusable)||0===focusable.length)return this;if(current instanceof Node){var index=focusable.indexOf(current);index>-1?this.focus(focusable[index-1]||focusable[focusable.length-1]):this.focus(focusable[focusable.length-1])}else this.focus(focusable[focusable.length-1]);return this}}]),FocusManager}(BaseWithOptions);(0,namespace.O)("Monster.DOM",FocusManager),describe("FocusManager",(function(){before((function(done){initJSDOM().then((function(){done()}))})),beforeEach((function(){initMutationObserverForTesting()})),afterEach((function(){cleanupDOMFromTesting(),document.getElementById("mocks").innerHTML=""})),describe("new",(function(){it("should instance of FocusManager",(function(){expect(new FocusManager).is.instanceof(FocusManager)}))})),describe("store and restore",(function(){var manager;beforeEach((function(){manager=new FocusManager,document.getElementById("mocks").innerHTML='\n <input class="testit" id="tx1">\n <input class="testit" id="tx2">\n <input class="testit" id="tx3" disabled>\n <input class="testit" id="tx4">\n <p class="testit" tabindex="2" id="tx5">hello</p>\n <input class="testit" id="tx6" aria-hidden="true">\n <button class="testit" id="tx7"></button>\n ';for(var _i=0,_Object$entries=Object.entries(document.querySelectorAll(".testit"));_i<_Object$entries.length;_i++){(0,slicedToArray.Z)(_Object$entries[_i],2)[1].getBoundingClientRect=function(){return{width:200,height:200,top:0,left:0,right:200,bottom:200}}}})),it("run ist",(function(){manager.focus(document.getElementById("tx1")),manager.storeFocus();var e1=manager.getActive();expect(e1.getAttribute("id"),"error1").to.be.equal("tx1"),manager.focus(document.getElementById("tx2")),manager.storeFocus(),expect(manager.getActive().getAttribute("id"),"error2").to.be.equal("tx2"),manager.focusNext(),expect(manager.getActive().getAttribute("id"),"error3").to.be.equal("tx4"),manager.focusNext(),expect(manager.getActive().getAttribute("id"),"error4").to.be.equal("tx5"),manager.restoreFocus(),expect(manager.getActive().getAttribute("id"),"error5").to.be.equal("tx2"),manager.restoreFocus(),expect(manager.getActive().getAttribute("id"),"error6").to.be.equal("tx1"),manager.restoreFocus(),expect(manager.getActive().getAttribute("id"),"error7").to.be.equal("tx1")}))})),describe("returntype",(function(){var focusmanager;beforeEach((function(){focusmanager=new FocusManager})),it("check returns",(function(){expect(focusmanager.getFocusable()).is.instanceof(Array),expect(focusmanager.getActive()).is.instanceof(HTMLElement),expect(focusmanager.focusNext()).is.instanceof(FocusManager),expect(focusmanager.focusPrev()).is.instanceof(FocusManager),expect(focusmanager.storeFocus()).is.instanceof(FocusManager),expect(focusmanager.focus(document.body)).is.instanceof(FocusManager),expect(focusmanager.restoreFocus()).is.instanceof(FocusManager)}))}))}));var events=__webpack_require__(51708);describe("Events",(function(){before(_asyncToGenerator(regenerator_default().mark((function _callee(){return regenerator_default().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:initJSDOM();case 1:case"end":return _context.stop()}}),_callee)})))),describe("findTargetElementFromEvent()",(function(){it("find object",(function(done){var container=document.createElement("div");container.setAttribute("data-monster","hello");var div=document.createElement("div");container.appendChild(div),div.addEventListener("click",(function(event){var e=(0,events.PJ)(event,"data-monster");expect(e.getAttribute("data-monster")).to.be.equal("hello"),done()})),setTimeout((function(){(0,events.BX)(div,"click")}),0)}))})),describe("fireEvent()",(function(){it("should fire a click event",(function(done){var div=document.createElement("div");div.addEventListener("click",(function(){done()})),(0,events.BX)(div,"click")})),it("should fire a touch event",(function(done){var div=document.createElement("div");div.addEventListener("touch",(function(){done()})),(0,events.BX)(div,"touch")})),it("should fire a touch event on collection",(function(done){var div=document.createElement("div");div.addEventListener("touch",(function(){done()})),div.appendChild(document.createElement("div"));var collection=div.querySelectorAll("div");(0,events.BX)(collection,"touch")})),it("should fire a touch event",(function(done){var div=document.createElement("div");div.addEventListener("touch",(function(){done()})),div.appendChild(document.createElement("div"));var collection=div.querySelectorAll("div");(0,events.BX)(collection,"touch")})),it("should throw error",(function(){expect((function(){return(0,events.BX)({},"touch")})).to.throw(Error)}))})),describe("fireCustomEvent()",(function(){it("should fire a click event",(function(done){var div=document.createElement("div");div.addEventListener("click",(function(){done()})),(0,events.LI)(div,"click")})),it("should fire a touch event",(function(done){var div=document.createElement("div");div.addEventListener("touch",(function(){done()})),(0,events.LI)(div,"touch")})),it("should fire a touch event on collection1",(function(done){var div=document.createElement("div");div.addEventListener("touch",(function(e){"hello world"!==e.detail.detail&&done("error"),done()})),div.appendChild(document.createElement("div"));var collection=div.querySelectorAll("div");(0,events.LI)(collection,"touch","hello world")})),it("should fire a touch event on collection2",(function(done){var div=document.createElement("div");div.addEventListener("touch",(function(e){"hello world"!==e.detail.a&&done("error"),done()})),div.appendChild(document.createElement("div"));var collection=div.querySelectorAll("div");(0,events.LI)(collection,"touch",{a:"hello world"})})),it("should fire a touch event",(function(done){var div=document.createElement("div");div.addEventListener("touch",(function(){done()})),div.appendChild(document.createElement("div"));var collection=div.querySelectorAll("div");(0,events.LI)(collection,"touch")})),it("should throw error",(function(){expect((function(){return(0,events.LI)({},"touch")})).to.throw(Error)}))}))}));__webpack_require__(43304);function customelement_createSuper(Derived){var hasNativeReflectConstruct=function customelement_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}var customelement_expect=node_modules_chai.expect;node_modules_chai.use(chaiDom);var customelement_html1='\n <div id="test1">\n </div>\n';describe("DOM",(function(){var CustomElement,registerCustomElement,TestComponent,document;describe("CustomElement()",(function(){before((function(done){initJSDOM().then((function(){Promise.resolve().then(__webpack_require__.bind(__webpack_require__,56133)).then((function(m){try{CustomElement=m.CustomElement,(registerCustomElement=m.registerCustomElement)(TestComponent=function(_CustomElement){(0,inherits.Z)(TestComponent,_CustomElement);var _super=customelement_createSuper(TestComponent);function TestComponent(){return(0,classCallCheck.Z)(this,TestComponent),_super.apply(this,arguments)}return(0,createClass.Z)(TestComponent,null,[{key:"getTag",value:function getTag(){return"monster-testclass"}}]),TestComponent}(CustomElement)),registerCustomElement(function(_CustomElement2){(0,inherits.Z)(TestComponent2,_CustomElement2);var _super2=customelement_createSuper(TestComponent2);function TestComponent2(){return(0,classCallCheck.Z)(this,TestComponent2),_super2.apply(this,arguments)}return(0,createClass.Z)(TestComponent2,[{key:"defaults",get:function get(){return Object.assign({},(0,esm_get.Z)((0,getPrototypeOf.Z)(TestComponent2.prototype),"defaults",this),{demotest:void 0,templates:{main:'<h1></h1><article><p>test</p><div id="container"></div></article>'}})}}],[{key:"getTag",value:function getTag(){return"monster-testclass2"}}]),TestComponent2}(CustomElement)),document=(0,dom_util.Me)(),done()}catch(e){done(e)}}))}))})),beforeEach((function(){document.getElementById("mocks").innerHTML=customelement_html1})),afterEach((function(){document.getElementById("mocks").innerHTML=""})),describe("CustomElement() with Config",(function(){it("should read config from tag",(function(){document.getElementById("mocks").innerHTML='\n \n <script id="config1" type="application/json">\n {\n "demotest":1425\n }\n <\/script>\n \n <monster-testclass2 id="thisisatest" data-monster-options-selector="#config1">\n </monster-testclass2>\n ';var monster=document.getElementById("thisisatest");customelement_expect(monster.getOption("demotest")).is.eql(1425)}))})),describe("create",(function(){it("should return custom-element object",(function(){var d=new TestComponent;customelement_expect((0,esm_typeof.Z)(d)).is.equal("object")}))})),describe("connect empty element",(function(){it("document should contain monster-testclass",(function(){var d=document.createElement("monster-testclass");document.getElementById("test1").appendChild(d),customelement_expect(document.getElementsByTagName("monster-testclass").length).is.equal(1),customelement_expect(document.getElementById("test1")).contain.html("<monster-testclass></monster-testclass>")}))})),describe("connect element with html",(function(){it("document should contain monster-testclass2",(function(done){var d=document.createElement("monster-testclass2");document.getElementById("test1").appendChild(d),setTimeout((function(){try{return customelement_expect(document.getElementsByTagName("monster-testclass2").length).is.equal(1),customelement_expect(document.getElementsByTagName("monster-testclass2").item(0).shadowRoot.innerHTML).is.equal('<h1></h1><article><p>test</p><div id="container"></div></article>'),customelement_expect(document.getElementById("test1")).contain.html('<monster-testclass2 data-monster-objectlink="Symbol(monsterUpdater)"></monster-testclass2>'),done()}catch(e){done(e)}}),10)}))})),describe("Options change",(function(){it("delegatesFocus should change from true to false",(function(){var element=document.createElement("monster-testclass"),o=element[constants.eB].realSubject;customelement_expect(Object.is(element[constants.eB].realSubject,o)).to.be.true,customelement_expect(element[constants.eB].realSubject.options.delegatesFocus).to.be.true,customelement_expect(element[constants.eB].subject.options.delegatesFocus).to.be.true,customelement_expect(element.getOption("delegatesFocus")).to.be.true,customelement_expect(Object.is(element[constants.eB].realSubject,o)).to.be.true,element.setAttribute(dom_constants.MO,JSON.stringify({delegatesFocus:!1})),customelement_expect(Object.is(element[constants.eB].realSubject,o)).to.be.true,customelement_expect(element.getOption("delegatesFocus")).to.be.false,customelement_expect(element[constants.eB].realSubject.options.delegatesFocus).to.be.false,customelement_expect(Object.is(element[constants.eB].realSubject,o)).to.be.true}))})),describe("setOptions()",(function(){[["shadowMode","x1"],["templates.main","x2"],["delegatesFocus","x4"]].forEach((function(data){var key=data.shift(),newValue=data.shift(),text=key+" should return "+newValue;void 0!==newValue&&(text=key+" was not set, therefore default "+newValue),it(text,(function(){var d=document.createElement("monster-testclass");customelement_expect(d.getOption(key)).to.be.not.equal(newValue);d.setOption(key,newValue);customelement_expect(d.getOption(key)).to.be.equal(newValue)}))}))})),describe("getOptions()",(function(){[["shadowMode","open"],["templates.main",void 0],["delegatesFocus",!0],["x.y.z",!0,!0],["x",!0,!0]].forEach((function(data){var key=data.shift(),value=data.shift(),defaultValue=data.shift(),text=key+" should return "+value;void 0!==defaultValue&&(text=key+" was not set, therefore default "+defaultValue),it(text,(function(){var x=document.createElement("monster-testclass").getOption(key,defaultValue);customelement_expect(x).to.be.equal(value)}))}))})),describe("Assign CSSStyle as Array with wrong type",(function(){var htmlTAG="monster-testclass-x1";beforeEach((function(){document.getElementById("mocks").innerHTML=customelement_html1,registerCustomElement(function(_CustomElement3){(0,inherits.Z)(TestComponentX1,_CustomElement3);var _super3=customelement_createSuper(TestComponentX1);function TestComponentX1(){return(0,classCallCheck.Z)(this,TestComponentX1),_super3.apply(this,arguments)}return(0,createClass.Z)(TestComponentX1,[{key:"defaults",get:function get(){return Object.assign({},(0,esm_get.Z)((0,getPrototypeOf.Z)(TestComponentX1.prototype),"defaults",this),{templates:{main:"<h1>test</h1>"}})}}],[{key:"getTag",value:function getTag(){return htmlTAG}},{key:"getCSSStyleSheet",value:function getCSSStyleSheet(){return[!0]}}]),TestComponentX1}(CustomElement))})),it(htmlTAG+" should throw Exception",(function(done){var d=document.createElement(htmlTAG),div=document.getElementById("test1");div.append(d),customelement_expect(div).contain.html('data-monster-error="TypeError: value is not an instance of CSSStyleSheet"'),done()}))})),describe("Assign CSSStyle as Array and CSSStylesheet",(function(){var htmlTAG="monster-testclass-x113-2";beforeEach((function(){document.getElementById("mocks").innerHTML=customelement_html1,registerCustomElement(function(_CustomElement4){(0,inherits.Z)(TestComponentX113X2,_CustomElement4);var _super4=customelement_createSuper(TestComponentX113X2);function TestComponentX113X2(){return(0,classCallCheck.Z)(this,TestComponentX113X2),_super4.apply(this,arguments)}return(0,createClass.Z)(TestComponentX113X2,[{key:"defaults",get:function get(){return Object.assign({},(0,esm_get.Z)((0,getPrototypeOf.Z)(TestComponentX113X2.prototype),"defaults",this),{templates:{main:"<h1>test</h1>"}})}}],[{key:"getTag",value:function getTag(){return htmlTAG}},{key:"getCSSStyleSheet",value:function getCSSStyleSheet(){var s=new CSSStyleSheet;return s.insertRule("a { color : red}"),[s]}}]),TestComponentX113X2}(CustomElement))})),it(htmlTAG+" should throw Exception 2",(function(done){var d=document.createElement(htmlTAG);document.getElementById("test1").append(d),customelement_expect(d.shadowRoot.innerHTML).is.eq("<h1>test</h1>"),done()}))})),describe("Assign CSSStyle as Array and CSS as string",(function(){var htmlTAG="monster-testclass-x113-21";beforeEach((function(){document.getElementById("mocks").innerHTML=customelement_html1,registerCustomElement(function(_CustomElement5){(0,inherits.Z)(TestComponentX113X22,_CustomElement5);var _super5=customelement_createSuper(TestComponentX113X22);function TestComponentX113X22(){return(0,classCallCheck.Z)(this,TestComponentX113X22),_super5.apply(this,arguments)}return(0,createClass.Z)(TestComponentX113X22,[{key:"defaults",get:function get(){return Object.assign({},(0,esm_get.Z)((0,getPrototypeOf.Z)(TestComponentX113X22.prototype),"defaults",this),{templates:{main:"<h1>test</h1>"}})}}],[{key:"getTag",value:function getTag(){return htmlTAG}},{key:"getCSSStyleSheet",value:function getCSSStyleSheet(){return"a { color:red }"}}]),TestComponentX113X22}(CustomElement))})),it(htmlTAG+" should eq <style>a { color:red }</style><h1>test</h1>",(function(done){var d=document.createElement(htmlTAG);document.getElementById("test1").append(d),customelement_expect(d.shadowRoot.innerHTML).is.eq("<style>a { color:red }</style><h1>test</h1>"),done()}))})),describe("Assign CSSStyle as Array and CSS as string",(function(){var htmlTAG="monster-testclass-x113-22";beforeEach((function(){document.getElementById("mocks").innerHTML=customelement_html1,registerCustomElement(function(_CustomElement6){(0,inherits.Z)(TestComponentX113X223,_CustomElement6);var _super6=customelement_createSuper(TestComponentX113X223);function TestComponentX113X223(){return(0,classCallCheck.Z)(this,TestComponentX113X223),_super6.apply(this,arguments)}return(0,createClass.Z)(TestComponentX113X223,[{key:"defaults",get:function get(){return Object.assign({},(0,esm_get.Z)((0,getPrototypeOf.Z)(TestComponentX113X223.prototype),"defaults",this),{templates:{main:"<h1>test</h1>"}})}}],[{key:"getTag",value:function getTag(){return htmlTAG}},{key:"getCSSStyleSheet",value:function getCSSStyleSheet(){return["a { color:red }"]}}]),TestComponentX113X223}(CustomElement))})),it(htmlTAG+" should eq <style>a { color:red }</style><h1>test</h1>",(function(done){var d=document.createElement(htmlTAG);document.getElementById("test1").append(d),customelement_expect(d.shadowRoot.innerHTML).is.eq("<style>a { color:red }</style><h1>test</h1>"),done()}))})),describe("hasNode()",(function(){beforeEach((function(){document.getElementById("mocks").innerHTML=customelement_html1})),it("hasNode monster-testclass should return ...",(function(){var d=document.createElement("monster-testclass"),p1=document.createElement("p"),t1=document.createTextNode("test1");p1.appendChild(t1);var p=document.createElement("div"),t=document.createTextNode("test");p.appendChild(p1),p.appendChild(t),d.appendChild(p),document.getElementById("test1").append(d);var n1=document.createElement("p");customelement_expect(d.hasNode(n1)).to.be.false,customelement_expect(d.hasNode(t)).to.be.true,customelement_expect(d.hasNode(p)).to.be.true,customelement_expect(d.hasNode(p1)).to.be.true,customelement_expect(d.hasNode(t1)).to.be.true})),it("hasNode monster-testclass2 should return ...",(function(){var d=document.createElement("monster-testclass2"),p1=document.createElement("p"),t1=document.createTextNode("test1");p1.appendChild(t1);var p=document.createElement("div"),t=document.createTextNode("test");p.appendChild(p1),p.appendChild(t),document.getElementById("test1").append(d);d.shadowRoot.getElementById("container");d.shadowRoot.getElementById("container").appendChild(p);var n1=document.createElement("p");customelement_expect(d.hasNode(n1)).to.be.false,customelement_expect(d.hasNode(t)).to.be.true,customelement_expect(d.hasNode(p)).to.be.true,customelement_expect(d.hasNode(p1)).to.be.true,customelement_expect(d.hasNode(t1)).to.be.true}))}))}))}));__webpack_require__(51532),__webpack_require__(10072),__webpack_require__(99137),__webpack_require__(71957),__webpack_require__(96306),__webpack_require__(103),__webpack_require__(74592),__webpack_require__(58276),__webpack_require__(35082),__webpack_require__(12813),__webpack_require__(18222),__webpack_require__(38563),__webpack_require__(50336),__webpack_require__(7512);function translations_createSuper(Derived){var hasNativeReflectConstruct=function translations_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}var Translations=function(_Base){(0,inherits.Z)(Translations,_Base);var _super=translations_createSuper(Translations);function Translations(locale){var _this;return(0,classCallCheck.Z)(this,Translations),_this=_super.call(this),(0,is.HD)(locale)&&(locale=parseLocale(locale)),_this.locale=(0,validate.dh)(locale,Locale),_this.storage=new Map,_this}return(0,createClass.Z)(Translations,[{key:"getText",value:function getText(key,defaultText){if(!this.storage.has(key)){if(void 0===defaultText)throw new Error("key "+key+" not found");return(0,validate.Cp)(defaultText)}var r=this.storage.get(key);return(0,is.Kn)(r)?this.getPluralRuleText(key,"other",defaultText):this.storage.get(key)}},{key:"getPluralRuleText",value:function getPluralRuleText(key,count,defaultText){if(!this.storage.has(key))return(0,validate.Cp)(defaultText);var keyword,r=(0,validate.FF)(this.storage.get(key));if((0,is.HD)(count))keyword=count.toLocaleString();else{if(0===(count=(0,validate.bv)(count))&&r.hasOwnProperty("zero"))return(0,validate.Cp)(r.zero);keyword=new Intl.PluralRules(this.locale.toString()).select((0,validate.bv)(count))}return r.hasOwnProperty(keyword)?(0,validate.Cp)(r[keyword]):r.hasOwnProperty(DEFAULT_KEY)?(0,validate.Cp)(r[DEFAULT_KEY]):(0,validate.Cp)(defaultText)}},{key:"setText",value:function setText(key,text){if((0,is.HD)(text)||(0,is.Kn)(text))return this.storage.set((0,validate.Cp)(key),text),this;throw new TypeError("value is not a string or object")}},{key:"assignTranslations",value:function assignTranslations(translations){(0,validate.FF)(translations);for(var _i=0,_Object$entries=Object.entries(translations);_i<_Object$entries.length;_i++){var _Object$entries$_i=(0,slicedToArray.Z)(_Object$entries[_i],2),k=_Object$entries$_i[0],v=_Object$entries$_i[1];this.setText(k,v)}return this}}]),Translations}(base.X);function i18n_formatter_createSuper(Derived){var hasNativeReflectConstruct=function i18n_formatter_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.I18n",Translations);var internalTranslationSymbol=Symbol("internalTranslation"),formatter_Formatter=function(_TextFormatter){(0,inherits.Z)(Formatter,_TextFormatter);var _super=i18n_formatter_createSuper(Formatter);function Formatter(object,translation,options){var _this;return(0,classCallCheck.Z)(this,Formatter),(_this=_super.call(this,object,options))[internalTranslationSymbol]=(0,validate.dh)(translation,Translations),_this}return(0,createClass.Z)(Formatter,[{key:"defaults",get:function get(){var self=this;return(0,extend.l)({},(0,esm_get.Z)((0,getPrototypeOf.Z)(Formatter.prototype),"defaults",this),{callbacks:{i18n:function i18n(value){return self[internalTranslationSymbol].getText((0,validate.Cp)(value))}},marker:{open:["i18n{","${"],close:["}"]}})}},{key:"format",value:function format(text){var _this$internalSymbol$,_this$internalSymbol$2;(0,validate.Cp)(text);var openMarker=null===(_this$internalSymbol$=this[constants.eB].marker.open)||void 0===_this$internalSymbol$?void 0:_this$internalSymbol$[0],closeMarker=null===(_this$internalSymbol$2=this[constants.eB].marker.close)||void 0===_this$internalSymbol$2?void 0:_this$internalSymbol$2[0];if(0===text.indexOf(openMarker)){if((text=text.substring(openMarker.length)).indexOf(closeMarker)!==text.length-closeMarker.length)throw new Error("the closing marker is missing");text=text.substring(0,text.length-closeMarker.length)}var parts=(0,validate.Cp)(text).split("::"),translationKey=parts.shift().trim(),parameter=parts.join("::").trim(),assembledText=openMarker+"static:"+translationKey+" | call:i18n";return parameter.length>0&&(assembledText+="::"+parameter),assembledText+=closeMarker,(0,esm_get.Z)((0,getPrototypeOf.Z)(Formatter.prototype),"format",this).call(this,assembledText)}}]),Formatter}(Formatter);function provider_createSuper(Derived){var hasNativeReflectConstruct=function provider_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.I18n",formatter_Formatter),describe("Formatter",(function(){describe("example",(function(){it("should run with marker",(function(){var translations=new Translations("en").assignTranslations({thekey:"${animal} has eaten the ${food}!"}),f=new formatter_Formatter({},translations);expect(f.format("i18n{thekey::animal=dog::food=cake}")).to.be.equal("dog has eaten the cake!")})),it("should run without marker",(function(){var translations=new Translations("en").assignTranslations({thekey:"${animal} has eaten the ${food}!"});expect(new formatter_Formatter({},translations).format("thekey::animal=dog::food=cake")).to.be.equal("dog has eaten the cake!")}))})),describe("format",(function(){[["i18n{translationkey::a=3::b=5}","test is 3 and 5"]].forEach((function(data){var a=data.shift(),b=data.shift();it("format "+a+" should "+b,(function(){var translations=new Translations("de").assignTranslations({translationkey:"test is ${a} and ${b}"});expect(new formatter_Formatter({},translations).format(a)).to.equal(b)}))}))}))}));var Provider=function(_BaseWithOptions){(0,inherits.Z)(Provider,_BaseWithOptions);var _super=provider_createSuper(Provider);function Provider(){return(0,classCallCheck.Z)(this,Provider),_super.apply(this,arguments)}return(0,createClass.Z)(Provider,[{key:"getTranslations",value:function getTranslations(locale){return new Promise((function(resolve,reject){try{resolve(new Translations(locale))}catch(e){reject(e)}}))}}]),Provider}(BaseWithOptions);function fetch_createSuper(Derived){var hasNativeReflectConstruct=function fetch_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.I18n",Provider);var Fetch=function(_Provider){(0,inherits.Z)(Fetch,_Provider);var _super=fetch_createSuper(Fetch);function Fetch(url,options){var _thisSuper,_this;return(0,classCallCheck.Z)(this,Fetch),_this=_super.call(this,options),(0,is.$O)(url,URL)&&(url=url.toString()),void 0===options&&(options={}),(0,validate.Cp)(url),_this.url=url,_this[constants.eB]=(0,extend.l)({},(0,esm_get.Z)((_thisSuper=(0,assertThisInitialized.Z)(_this),(0,getPrototypeOf.Z)(Fetch.prototype)),"defaults",_thisSuper),_this.defaults,(0,validate.FF)(options)),_this}return(0,createClass.Z)(Fetch,[{key:"defaults",get:function get(){return{fetch:{method:"GET",mode:"cors",cache:"no-cache",credentials:"omit",redirect:"follow",referrerPolicy:"no-referrer"}}}},{key:"getTranslations",value:function getTranslations(locale){(0,is.HD)(locale)&&(locale=parseLocale(locale));var formatter=new Formatter(locale.getMap());return(0,global.Ck)("fetch")(formatter.format(this.url),this.getOption("fetch",{})).then((function(response){return response.json()})).then((function(data){return new Translations(locale).assignTranslations(data)}))}}]),Fetch}(Provider);(0,namespace.O)("Monster.I18n.Providers",Fetch);var fetchReference,fetch_global=(0,global.Rd)();describe("Translation Provider Fetch",(function(){afterEach((function(){fetch_global.fetch=fetchReference})),beforeEach((function(){fetchReference=fetch_global.fetch,fetch_global.fetch=function(url,options){return new Promise((function(resolve,reject){resolve({json:function json(){return{a:"test"}}})}))}})),describe("fetch mock data and create translation",(function(){it("fetch",(function(done){var p=new Fetch(new URL("http://example.com")).getTranslations("en");expect(p).is.instanceof(Promise),p.then((function(r){try{expect(r).is.instanceof(Translations),done()}catch(e){done(e)}})).catch((function(e){done(e)}))}))}))})),describe("Translations",(function(){describe("Instance and Init",(function(){var translation;beforeEach((function(){(translation=new Translations(parseLocale("en-GB"))).assignTranslations({test1:"abc",test2:{other:"xyz"}})})),it("create instance",(function(){expect(new Translations(parseLocale("en-GB"))).is.instanceof(Translations)})),it("init translations",(function(){expect(translation.assignTranslations({test1:"abc",test2:{other:"xyz"}})).is.instanceof(Translations)}))})),describe("getText",(function(){var translation;beforeEach((function(){(translation=new Translations(parseLocale("en-GB"))).assignTranslations({test1:"abc",test2:{other:"xyz"}})})),it("create, set and get en-GB",(function(){expect(translation.getText("test1")).is.equal("abc")})),it("create, set and get en-GB with pluralrules",(function(){expect(translation.getText("test2")).is.equal("xyz")}))}))})),describe("Locale",(function(){describe("new instance",(function(){[["zh",void 0,"Hant",void 0,void 0,void 0,"zh-Hant"],["de","CH",void 0,"1901",void 0,void 0,"de-CH-1901"],["sl","IT",void 0,"nedis",void 0,void 0,"sl-IT-nedis"],["hy","IT","Latn","arevela",void 0,void 0,"hy-Latn-IT-arevela"],["zh","CN","Hans",void 0,void 0,void 0,"zh-Hans-CN"],["sr","RS","Latn",void 0,void 0,void 0,"sr-Latn-RS"]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift(),d=data.shift(),e=data.shift(),f=data.shift(),g=data.shift();it("new Locale("+a+","+b+","+c+","+d+","+e+","+f+") should return "+g,(function(){expect(new Locale(a,b,c,d,e,f).toString()).is.equal(g)}))}))})),describe("parseLocale()",(function(){[["zh",void 0,"Hant",void 0,void 0,void 0,"zh-Hant"],["de","CH",void 0,"1901",void 0,void 0,"de-CH-1901"],["sl","IT",void 0,"nedis",void 0,void 0,"sl-IT-nedis"],["hy","IT","Latn","arevela",void 0,void 0,"hy-Latn-IT-arevela"],["zh","CN","Hans",void 0,void 0,void 0,"zh-Hans-CN"],["sr","RS","Latn",void 0,void 0,void 0,"sr-Latn-RS"]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift(),d=data.shift(),e=data.shift(),f=data.shift(),g=data.shift();it("new Locale("+a+","+b+","+c+","+d+","+e+","+f+") should return "+g,(function(){var locale=parseLocale(g);expect(locale.localeString).to.be.equal(g),expect(locale.language).to.be.equal(a),expect(locale.region).to.be.equal(b),expect(locale.script).to.be.equal(c),expect(locale.variants).to.be.equal(d),expect(locale.extlang).to.be.equal(e),expect(locale.privateUse).to.be.equal(f),expect(new Locale(a,b,c,d,e,f).toString()).is.equal(g)}))}))}))})),describe("Provider",(function(){describe("Instance and Init",(function(){it("create instance",(function(){expect((new Provider).getTranslations("en")).is.instanceof(Promise)}))}))}));var types_queue=__webpack_require__(62188);describe("Queue",(function(){var queue;beforeEach((function(){queue=new types_queue.c})),describe("isEmpty()",(function(){it("first it should empty",(function(){expect(queue.isEmpty()).to.be.true}))})),describe("add sequence peek and poll",(function(){it("result a,a,a,b",(function(){expect(queue.add("a")).to.be.instanceOf(types_queue.c),expect(queue.isEmpty()).to.be.false,expect(queue.add("b")).to.be.instanceOf(types_queue.c),expect(queue.add("c")).to.be.instanceOf(types_queue.c),expect(queue.peek()).to.be.equal("a"),expect(queue.peek()).to.be.equal("a"),expect(queue.poll()).to.be.equal("a"),expect(queue.peek()).to.be.equal("b"),expect(queue.isEmpty()).to.be.false}))})),describe("add and clear",(function(){it("should empty",(function(){expect(queue.isEmpty()).to.be.true,expect(queue.add("a")).to.be.instanceOf(types_queue.c),expect(queue.isEmpty()).to.be.false,expect(queue.clear()).to.be.instanceOf(types_queue.c),expect(queue.isEmpty()).to.be.true}))}))}));__webpack_require__(39575),__webpack_require__(8255),__webpack_require__(92990),__webpack_require__(18927),__webpack_require__(33105),__webpack_require__(35035),__webpack_require__(74345),__webpack_require__(7174),__webpack_require__(32846),__webpack_require__(44731),__webpack_require__(77209),__webpack_require__(96319),__webpack_require__(58867),__webpack_require__(37789),__webpack_require__(33739),__webpack_require__(29368),__webpack_require__(14483),__webpack_require__(12056),__webpack_require__(3462),__webpack_require__(30678),__webpack_require__(27462),__webpack_require__(33824),__webpack_require__(55021),__webpack_require__(12974),__webpack_require__(15016),__webpack_require__(82472);function toBinary(string){for(var codeUnits=new Uint16Array((0,validate.Cp)(string).length),i=0;i<codeUnits.length;i++)codeUnits[i]=string.charCodeAt(i);for(var charCodes=new Uint8Array(codeUnits.buffer),result="",_i=0;_i<charCodes.byteLength;_i++)result+=String.fromCharCode(charCodes[_i]);return result}function fromBinary(binary){for(var bytes=new Uint8Array((0,validate.Cp)(binary).length),i=0;i<bytes.length;i++)bytes[i]=binary.charCodeAt(i);for(var charCodes=new Uint16Array(bytes.buffer),result="",_i2=0;_i2<charCodes.length;_i2++)result+=String.fromCharCode(charCodes[_i2]);return result}(0,namespace.O)("Monster.Types",toBinary,fromBinary),describe("Binary",(function(){[["a","a\0"],["☹","9&"],["Iñtërnâtiônàlizætiøn","I\0ñ\0t\0ë\0r\0n\0â\0t\0i\0ô\0n\0à\0l\0i\0z\0æ\0t\0i\0ø\0n\0"]].forEach((function(data){var a=data.shift(),b=data.shift();it("fromBinary(toBinary("+a+")) should work",(function(){var r=toBinary(a);expect(r).to.be.equal(b),expect(fromBinary(r)).to.be.equal(a)}))}))}));var build=__webpack_require__(72043);function getParametersValue(parameters,name,defaultValue){return parameters instanceof Object==!1?defaultValue:name in parameters?parameters[name]:defaultValue}function bufferToHexCodes(inputBuffer,inputOffset=0,inputLength=inputBuffer.byteLength-inputOffset,insertSpace=!1){let result="";for(const item of new Uint8Array(inputBuffer,inputOffset,inputLength)){const str=item.toString(16).toUpperCase();1===str.length&&(result+="0"),result+=str,insertSpace&&(result+=" ")}return result.trim()}function checkBufferParams(baseBlock,inputBuffer,inputOffset,inputLength){return inputBuffer instanceof ArrayBuffer==!1?(baseBlock.error='Wrong parameter: inputBuffer must be "ArrayBuffer"',!1):0===inputBuffer.byteLength?(baseBlock.error="Wrong parameter: inputBuffer has zero length",!1):inputOffset<0?(baseBlock.error="Wrong parameter: inputOffset less than zero",!1):inputLength<0?(baseBlock.error="Wrong parameter: inputLength less than zero",!1):!(inputBuffer.byteLength-inputOffset-inputLength<0)||(baseBlock.error="End of input reached before message was fully decoded (inconsistent offset and length values)",!1)}function utilFromBase(inputBuffer,inputBase){let result=0;if(1===inputBuffer.length)return inputBuffer[0];for(let i=inputBuffer.length-1;i>=0;i--)result+=inputBuffer[inputBuffer.length-1-i]*Math.pow(2,inputBase*i);return result}function utilToBase(value,base,reserved=-1){const internalReserved=reserved;let internalValue=value,result=0,biggest=Math.pow(2,base);for(let i=1;i<8;i++){if(value<biggest){let retBuf;if(internalReserved<0)retBuf=new ArrayBuffer(i),result=i;else{if(internalReserved<i)return new ArrayBuffer(0);retBuf=new ArrayBuffer(internalReserved),result=internalReserved}const retView=new Uint8Array(retBuf);for(let j=i-1;j>=0;j--){const basis=Math.pow(2,j*base);retView[result-j-1]=Math.floor(internalValue/basis),internalValue-=retView[result-j-1]*basis}return retBuf}biggest*=Math.pow(2,base)}return new ArrayBuffer(0)}function utilConcatBuf(...buffers){let outputLength=0,prevLength=0;for(const buffer of buffers)outputLength+=buffer.byteLength;const retBuf=new ArrayBuffer(outputLength),retView=new Uint8Array(retBuf);for(const buffer of buffers)retView.set(new Uint8Array(buffer),prevLength),prevLength+=buffer.byteLength;return retBuf}function utilConcatView(...views){let outputLength=0,prevLength=0;for(const view of views)outputLength+=view.length;const retBuf=new ArrayBuffer(outputLength),retView=new Uint8Array(retBuf);for(const view of views)retView.set(view,prevLength),prevLength+=view.length;return retView}function utilDecodeTC(){const buf=new Uint8Array(this.valueHex);if(this.valueHex.byteLength>=2){const condition1=255===buf[0]&&128&buf[1],condition2=0===buf[0]&&0==(128&buf[1]);(condition1||condition2)&&this.warnings.push("Needlessly long format")}const bigIntBuffer=new ArrayBuffer(this.valueHex.byteLength),bigIntView=new Uint8Array(bigIntBuffer);for(let i=0;i<this.valueHex.byteLength;i++)bigIntView[i]=0;bigIntView[0]=128&buf[0];const bigInt=utilFromBase(bigIntView,8),smallIntBuffer=new ArrayBuffer(this.valueHex.byteLength),smallIntView=new Uint8Array(smallIntBuffer);for(let j=0;j<this.valueHex.byteLength;j++)smallIntView[j]=buf[j];smallIntView[0]&=127;return utilFromBase(smallIntView,8)-bigInt}function isEqualBuffer(inputBuffer1,inputBuffer2){if(inputBuffer1.byteLength!==inputBuffer2.byteLength)return!1;const view1=new Uint8Array(inputBuffer1),view2=new Uint8Array(inputBuffer2);for(let i=0;i<view1.length;i++)if(view1[i]!==view2[i])return!1;return!0}function padNumber(inputNumber,fullLength){const str=inputNumber.toString(10);if(fullLength<str.length)return"";const dif=fullLength-str.length,padding=new Array(dif);for(let i=0;i<dif;i++)padding[i]="0";return padding.join("").concat(str)}Math.log(2);function assertBigInt(){if("undefined"==typeof BigInt)throw new Error("BigInt is not defined. Your environment doesn't implement BigInt.")}const powers2=[new Uint8Array([1])];class LocalBaseBlock{constructor(parameters={}){this.blockLength=getParametersValue(parameters,"blockLength",0),this.error=getParametersValue(parameters,"error",""),this.warnings=getParametersValue(parameters,"warnings",[]),this.valueBeforeDecode="valueBeforeDecode"in parameters?parameters.valueBeforeDecode.slice(0):new ArrayBuffer(0)}static blockName(){return"baseBlock"}toJSON(){return{blockName:this.constructor.blockName(),blockLength:this.blockLength,error:this.error,warnings:this.warnings,valueBeforeDecode:bufferToHexCodes(this.valueBeforeDecode,0,this.valueBeforeDecode.byteLength)}}}const HexBlock=BaseClass=>class LocalHexBlockMixin extends BaseClass{constructor(parameters={}){super(parameters),this.isHexOnly=getParametersValue(parameters,"isHexOnly",!1),this.valueHex="valueHex"in parameters?parameters.valueHex.slice(0):new ArrayBuffer(0)}static blockName(){return"hexBlock"}fromBER(inputBuffer,inputOffset,inputLength){if(!1===checkBufferParams(this,inputBuffer,inputOffset,inputLength))return-1;return 0===new Uint8Array(inputBuffer,inputOffset,inputLength).length?(this.warnings.push("Zero buffer length"),inputOffset):(this.valueHex=inputBuffer.slice(inputOffset,inputOffset+inputLength),this.blockLength=inputLength,inputOffset+inputLength)}toBER(sizeOnly=!1){return!0!==this.isHexOnly?(this.error='Flag "isHexOnly" is not set, abort',new ArrayBuffer(0)):!0===sizeOnly?new ArrayBuffer(this.valueHex.byteLength):this.valueHex.slice(0)}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.blockName=this.constructor.blockName(),object.isHexOnly=this.isHexOnly,object.valueHex=bufferToHexCodes(this.valueHex,0,this.valueHex.byteLength),object}};class LocalIdentificationBlock extends(HexBlock(LocalBaseBlock)){constructor(parameters={}){super(),"idBlock"in parameters?(this.isHexOnly=getParametersValue(parameters.idBlock,"isHexOnly",!1),this.valueHex=getParametersValue(parameters.idBlock,"valueHex",new ArrayBuffer(0)),this.tagClass=getParametersValue(parameters.idBlock,"tagClass",-1),this.tagNumber=getParametersValue(parameters.idBlock,"tagNumber",-1),this.isConstructed=getParametersValue(parameters.idBlock,"isConstructed",!1)):(this.tagClass=-1,this.tagNumber=-1,this.isConstructed=!1)}static blockName(){return"identificationBlock"}toBER(sizeOnly=!1){let retBuf,retView,firstOctet=0;switch(this.tagClass){case 1:firstOctet|=0;break;case 2:firstOctet|=64;break;case 3:firstOctet|=128;break;case 4:firstOctet|=192;break;default:return this.error="Unknown tag class",new ArrayBuffer(0)}if(this.isConstructed&&(firstOctet|=32),this.tagNumber<31&&!this.isHexOnly){if(retBuf=new ArrayBuffer(1),retView=new Uint8Array(retBuf),!sizeOnly){let number=this.tagNumber;number&=31,firstOctet|=number,retView[0]=firstOctet}return retBuf}if(!1===this.isHexOnly){const encodedBuf=utilToBase(this.tagNumber,7),encodedView=new Uint8Array(encodedBuf),size=encodedBuf.byteLength;if(retBuf=new ArrayBuffer(size+1),retView=new Uint8Array(retBuf),retView[0]=31|firstOctet,!sizeOnly){for(let i=0;i<size-1;i++)retView[i+1]=128|encodedView[i];retView[size]=encodedView[size-1]}return retBuf}if(retBuf=new ArrayBuffer(this.valueHex.byteLength+1),retView=new Uint8Array(retBuf),retView[0]=31|firstOctet,!1===sizeOnly){const curView=new Uint8Array(this.valueHex);for(let i=0;i<curView.length-1;i++)retView[i+1]=128|curView[i];retView[this.valueHex.byteLength]=curView[curView.length-1]}return retBuf}fromBER(inputBuffer,inputOffset,inputLength){if(!1===checkBufferParams(this,inputBuffer,inputOffset,inputLength))return-1;const intBuffer=new Uint8Array(inputBuffer,inputOffset,inputLength);if(0===intBuffer.length)return this.error="Zero buffer length",-1;switch(192&intBuffer[0]){case 0:this.tagClass=1;break;case 64:this.tagClass=2;break;case 128:this.tagClass=3;break;case 192:this.tagClass=4;break;default:return this.error="Unknown tag class",-1}this.isConstructed=32==(32&intBuffer[0]),this.isHexOnly=!1;const tagNumberMask=31&intBuffer[0];if(31!==tagNumberMask)this.tagNumber=tagNumberMask,this.blockLength=1;else{let count=1;this.valueHex=new ArrayBuffer(255);let tagNumberBufferMaxLength=255,intTagNumberBuffer=new Uint8Array(this.valueHex);for(;128&intBuffer[count];){if(intTagNumberBuffer[count-1]=127&intBuffer[count],count++,count>=intBuffer.length)return this.error="End of input reached before message was fully decoded",-1;if(count===tagNumberBufferMaxLength){tagNumberBufferMaxLength+=255;const tempBuffer=new ArrayBuffer(tagNumberBufferMaxLength),tempBufferView=new Uint8Array(tempBuffer);for(let i=0;i<intTagNumberBuffer.length;i++)tempBufferView[i]=intTagNumberBuffer[i];this.valueHex=new ArrayBuffer(tagNumberBufferMaxLength),intTagNumberBuffer=new Uint8Array(this.valueHex)}}this.blockLength=count+1,intTagNumberBuffer[count-1]=127&intBuffer[count];const tempBuffer=new ArrayBuffer(count),tempBufferView=new Uint8Array(tempBuffer);for(let i=0;i<count;i++)tempBufferView[i]=intTagNumberBuffer[i];this.valueHex=new ArrayBuffer(count),intTagNumberBuffer=new Uint8Array(this.valueHex),intTagNumberBuffer.set(tempBufferView),this.blockLength<=9?this.tagNumber=utilFromBase(intTagNumberBuffer,7):(this.isHexOnly=!0,this.warnings.push("Tag too long, represented as hex-coded"))}if(1===this.tagClass&&this.isConstructed)switch(this.tagNumber){case 1:case 2:case 5:case 6:case 9:case 13:case 14:case 23:case 24:case 31:case 32:case 33:case 34:return this.error="Constructed encoding used for primitive type",-1}return inputOffset+this.blockLength}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.blockName=this.constructor.blockName(),object.tagClass=this.tagClass,object.tagNumber=this.tagNumber,object.isConstructed=this.isConstructed,object}}class LocalLengthBlock extends LocalBaseBlock{constructor(parameters={}){super(),"lenBlock"in parameters?(this.isIndefiniteForm=getParametersValue(parameters.lenBlock,"isIndefiniteForm",!1),this.longFormUsed=getParametersValue(parameters.lenBlock,"longFormUsed",!1),this.length=getParametersValue(parameters.lenBlock,"length",0)):(this.isIndefiniteForm=!1,this.longFormUsed=!1,this.length=0)}static blockName(){return"lengthBlock"}fromBER(inputBuffer,inputOffset,inputLength){if(!1===checkBufferParams(this,inputBuffer,inputOffset,inputLength))return-1;const intBuffer=new Uint8Array(inputBuffer,inputOffset,inputLength);if(0===intBuffer.length)return this.error="Zero buffer length",-1;if(255===intBuffer[0])return this.error="Length block 0xFF is reserved by standard",-1;if(this.isIndefiniteForm=128===intBuffer[0],!0===this.isIndefiniteForm)return this.blockLength=1,inputOffset+this.blockLength;if(this.longFormUsed=!!(128&intBuffer[0]),!1===this.longFormUsed)return this.length=intBuffer[0],this.blockLength=1,inputOffset+this.blockLength;const count=127&intBuffer[0];if(count>8)return this.error="Too big integer",-1;if(count+1>intBuffer.length)return this.error="End of input reached before message was fully decoded",-1;const lengthBufferView=new Uint8Array(count);for(let i=0;i<count;i++)lengthBufferView[i]=intBuffer[i+1];return 0===lengthBufferView[count-1]&&this.warnings.push("Needlessly long encoded length"),this.length=utilFromBase(lengthBufferView,8),this.longFormUsed&&this.length<=127&&this.warnings.push("Unnecessary usage of long length form"),this.blockLength=count+1,inputOffset+this.blockLength}toBER(sizeOnly=!1){let retBuf,retView;if(this.length>127&&(this.longFormUsed=!0),this.isIndefiniteForm)return retBuf=new ArrayBuffer(1),!1===sizeOnly&&(retView=new Uint8Array(retBuf),retView[0]=128),retBuf;if(!0===this.longFormUsed){const encodedBuf=utilToBase(this.length,8);if(encodedBuf.byteLength>127)return this.error="Too big length",new ArrayBuffer(0);if(retBuf=new ArrayBuffer(encodedBuf.byteLength+1),!0===sizeOnly)return retBuf;const encodedView=new Uint8Array(encodedBuf);retView=new Uint8Array(retBuf),retView[0]=128|encodedBuf.byteLength;for(let i=0;i<encodedBuf.byteLength;i++)retView[i+1]=encodedView[i];return retBuf}return retBuf=new ArrayBuffer(1),!1===sizeOnly&&(retView=new Uint8Array(retBuf),retView[0]=this.length),retBuf}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.blockName=this.constructor.blockName(),object.isIndefiniteForm=this.isIndefiniteForm,object.longFormUsed=this.longFormUsed,object.length=this.length,object}}class ValueBlock extends LocalBaseBlock{constructor(parameters={}){super(parameters)}static blockName(){return"valueBlock"}fromBER(inputBuffer,inputOffset,inputLength){throw TypeError('User need to make a specific function in a class which extends "ValueBlock"')}toBER(sizeOnly=!1){throw TypeError('User need to make a specific function in a class which extends "ValueBlock"')}}class BaseBlock extends LocalBaseBlock{constructor(parameters={},valueBlockType=ValueBlock){super(parameters),"name"in parameters&&(this.name=parameters.name),"optional"in parameters&&(this.optional=parameters.optional),"primitiveSchema"in parameters&&(this.primitiveSchema=parameters.primitiveSchema),this.idBlock=new LocalIdentificationBlock(parameters),this.lenBlock=new LocalLengthBlock(parameters),this.valueBlock=new valueBlockType(parameters)}static blockName(){return"BaseBlock"}fromBER(inputBuffer,inputOffset,inputLength){const resultOffset=this.valueBlock.fromBER(inputBuffer,inputOffset,!0===this.lenBlock.isIndefiniteForm?inputLength:this.lenBlock.length);return-1===resultOffset?(this.error=this.valueBlock.error,resultOffset):(0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),resultOffset)}toBER(sizeOnly=!1){let retBuf;const idBlockBuf=this.idBlock.toBER(sizeOnly),valueBlockSizeBuf=this.valueBlock.toBER(!0);this.lenBlock.length=valueBlockSizeBuf.byteLength;let valueBlockBuf;if(retBuf=utilConcatBuf(idBlockBuf,this.lenBlock.toBER(sizeOnly)),valueBlockBuf=!1===sizeOnly?this.valueBlock.toBER(sizeOnly):new ArrayBuffer(this.lenBlock.length),retBuf=utilConcatBuf(retBuf,valueBlockBuf),!0===this.lenBlock.isIndefiniteForm){const indefBuf=new ArrayBuffer(2);if(!1===sizeOnly){const indefView=new Uint8Array(indefBuf);indefView[0]=0,indefView[1]=0}retBuf=utilConcatBuf(retBuf,indefBuf)}return retBuf}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.idBlock=this.idBlock.toJSON(),object.lenBlock=this.lenBlock.toJSON(),object.valueBlock=this.valueBlock.toJSON(),"name"in this&&(object.name=this.name),"optional"in this&&(object.optional=this.optional),"primitiveSchema"in this&&(object.primitiveSchema=this.primitiveSchema.toJSON()),object}toString(){return`${this.constructor.blockName()} : ${bufferToHexCodes(this.valueBlock.valueHex)}`}}class LocalPrimitiveValueBlock extends ValueBlock{constructor(parameters={}){super(parameters),this.valueHex="valueHex"in parameters?parameters.valueHex.slice(0):new ArrayBuffer(0),this.isHexOnly=getParametersValue(parameters,"isHexOnly",!0)}fromBER(inputBuffer,inputOffset,inputLength){if(!1===checkBufferParams(this,inputBuffer,inputOffset,inputLength))return-1;const intBuffer=new Uint8Array(inputBuffer,inputOffset,inputLength);if(0===intBuffer.length)return this.warnings.push("Zero buffer length"),inputOffset;this.valueHex=new ArrayBuffer(intBuffer.length);const valueHexView=new Uint8Array(this.valueHex);for(let i=0;i<intBuffer.length;i++)valueHexView[i]=intBuffer[i];return this.blockLength=inputLength,inputOffset+inputLength}toBER(sizeOnly=!1){return this.valueHex.slice(0)}static blockName(){return"PrimitiveValueBlock"}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.valueHex=bufferToHexCodes(this.valueHex,0,this.valueHex.byteLength),object.isHexOnly=this.isHexOnly,object}}class Primitive extends BaseBlock{constructor(parameters={}){super(parameters,LocalPrimitiveValueBlock),this.idBlock.isConstructed=!1}static blockName(){return"PRIMITIVE"}}class LocalConstructedValueBlock extends ValueBlock{constructor(parameters={}){super(parameters),this.value=getParametersValue(parameters,"value",[]),this.isIndefiniteForm=getParametersValue(parameters,"isIndefiniteForm",!1)}fromBER(inputBuffer,inputOffset,inputLength){const initialOffset=inputOffset,initialLength=inputLength;if(!1===checkBufferParams(this,inputBuffer,inputOffset,inputLength))return-1;if(0===new Uint8Array(inputBuffer,inputOffset,inputLength).length)return this.warnings.push("Zero buffer length"),inputOffset;let currentOffset=inputOffset;for(;indefiniteLength=this.isIndefiniteForm,length=inputLength,(!0===indefiniteLength?1:length)>0;){const returnObject=LocalFromBER(inputBuffer,currentOffset,inputLength);if(-1===returnObject.offset)return this.error=returnObject.result.error,this.warnings.concat(returnObject.result.warnings),-1;if(currentOffset=returnObject.offset,this.blockLength+=returnObject.result.blockLength,inputLength-=returnObject.result.blockLength,this.value.push(returnObject.result),!0===this.isIndefiniteForm&&returnObject.result.constructor.blockName()===EndOfContent.blockName())break}var indefiniteLength,length;return!0===this.isIndefiniteForm&&(this.value[this.value.length-1].constructor.blockName()===EndOfContent.blockName()?this.value.pop():this.warnings.push("No EndOfContent block encoded")),this.valueBeforeDecode=inputBuffer.slice(initialOffset,initialOffset+initialLength),currentOffset}toBER(sizeOnly=!1){let retBuf=new ArrayBuffer(0);for(let i=0;i<this.value.length;i++){retBuf=utilConcatBuf(retBuf,this.value[i].toBER(sizeOnly))}return retBuf}static blockName(){return"ConstructedValueBlock"}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}object.isIndefiniteForm=this.isIndefiniteForm,object.value=[];for(let i=0;i<this.value.length;i++)object.value.push(this.value[i].toJSON());return object}}class Constructed extends BaseBlock{constructor(parameters={}){super(parameters,LocalConstructedValueBlock),this.idBlock.isConstructed=!0}static blockName(){return"CONSTRUCTED"}fromBER(inputBuffer,inputOffset,inputLength){this.valueBlock.isIndefiniteForm=this.lenBlock.isIndefiniteForm;const resultOffset=this.valueBlock.fromBER(inputBuffer,inputOffset,!0===this.lenBlock.isIndefiniteForm?inputLength:this.lenBlock.length);return-1===resultOffset?(this.error=this.valueBlock.error,resultOffset):(0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),resultOffset)}toString(){const values=[];for(const value of this.valueBlock.value)values.push(value.toString().split("\n").map((o=>` ${o}`)).join("\n"));const blockName=3===this.idBlock.tagClass?`[${this.idBlock.tagNumber}]`:this.constructor.blockName();return values.length?`${blockName} :\n${values.join("\n")}`:`${blockName} :`}}class LocalEndOfContentValueBlock extends ValueBlock{constructor(parameters={}){super(parameters)}fromBER(inputBuffer,inputOffset,inputLength){return inputOffset}toBER(sizeOnly=!1){return new ArrayBuffer(0)}static blockName(){return"EndOfContentValueBlock"}}class EndOfContent extends BaseBlock{constructor(paramaters={}){super(paramaters,LocalEndOfContentValueBlock),this.idBlock.tagClass=1,this.idBlock.tagNumber=0}static blockName(){return"EndOfContent"}}class LocalBooleanValueBlock extends ValueBlock{constructor(parameters={}){if(super(parameters),this.value=getParametersValue(parameters,"value",!1),this.isHexOnly=getParametersValue(parameters,"isHexOnly",!1),"valueHex"in parameters)this.valueHex=parameters.valueHex.slice(0);else if(this.valueHex=new ArrayBuffer(1),!0===this.value){new Uint8Array(this.valueHex)[0]=255}}fromBER(inputBuffer,inputOffset,inputLength){if(!1===checkBufferParams(this,inputBuffer,inputOffset,inputLength))return-1;const intBuffer=new Uint8Array(inputBuffer,inputOffset,inputLength);inputLength>1&&this.warnings.push("Boolean value encoded in more then 1 octet"),this.isHexOnly=!0,this.valueHex=new ArrayBuffer(intBuffer.length);const view=new Uint8Array(this.valueHex);for(let i=0;i<intBuffer.length;i++)view[i]=intBuffer[i];return 0!==utilDecodeTC.call(this)?this.value=!0:this.value=!1,this.blockLength=inputLength,inputOffset+inputLength}toBER(sizeOnly=!1){return this.valueHex}static blockName(){return"BooleanValueBlock"}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.value=this.value,object.isHexOnly=this.isHexOnly,object.valueHex=bufferToHexCodes(this.valueHex,0,this.valueHex.byteLength),object}}class asn1_Boolean extends BaseBlock{constructor(parameters={}){super(parameters,LocalBooleanValueBlock),this.idBlock.tagClass=1,this.idBlock.tagNumber=1}static blockName(){return"BOOLEAN"}toString(){return`${this.constructor.blockName()} : ${this.valueBlock.value}`}}class Sequence extends Constructed{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=16}static blockName(){return"SEQUENCE"}}class asn1_Set extends Constructed{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=17}static blockName(){return"SET"}}class Null extends BaseBlock{constructor(parameters={}){super(parameters,LocalBaseBlock),this.idBlock.tagClass=1,this.idBlock.tagNumber=5}static blockName(){return"NULL"}fromBER(inputBuffer,inputOffset,inputLength){return this.lenBlock.length>0&&this.warnings.push("Non-zero length of value block for Null type"),0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),this.blockLength+=inputLength,inputOffset+inputLength>inputBuffer.byteLength?(this.error="End of input reached before message was fully decoded (inconsistent offset and length values)",-1):inputOffset+inputLength}toBER(sizeOnly=!1){const retBuf=new ArrayBuffer(2);if(!0===sizeOnly)return retBuf;const retView=new Uint8Array(retBuf);return retView[0]=5,retView[1]=0,retBuf}toString(){return`${this.constructor.blockName()}`}}class LocalOctetStringValueBlock extends(HexBlock(LocalConstructedValueBlock)){constructor(parameters={}){super(parameters),this.isConstructed=getParametersValue(parameters,"isConstructed",!1)}fromBER(inputBuffer,inputOffset,inputLength){let resultOffset=0;if(!0===this.isConstructed){if(this.isHexOnly=!1,resultOffset=LocalConstructedValueBlock.prototype.fromBER.call(this,inputBuffer,inputOffset,inputLength),-1===resultOffset)return resultOffset;for(let i=0;i<this.value.length;i++){const currentBlockName=this.value[i].constructor.blockName();if(currentBlockName===EndOfContent.blockName()){if(!0===this.isIndefiniteForm)break;return this.error="EndOfContent is unexpected, OCTET STRING may consists of OCTET STRINGs only",-1}if(currentBlockName!==OctetString.blockName())return this.error="OCTET STRING may consists of OCTET STRINGs only",-1}}else this.isHexOnly=!0,resultOffset=super.fromBER(inputBuffer,inputOffset,inputLength),this.blockLength=inputLength;return resultOffset}toBER(sizeOnly=!1){if(!0===this.isConstructed)return LocalConstructedValueBlock.prototype.toBER.call(this,sizeOnly);let retBuf=new ArrayBuffer(this.valueHex.byteLength);return!0===sizeOnly||0===this.valueHex.byteLength||(retBuf=this.valueHex.slice(0)),retBuf}static blockName(){return"OctetStringValueBlock"}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.isConstructed=this.isConstructed,object.isHexOnly=this.isHexOnly,object.valueHex=bufferToHexCodes(this.valueHex,0,this.valueHex.byteLength),object}}class OctetString extends BaseBlock{constructor(parameters={}){super(parameters,LocalOctetStringValueBlock),this.idBlock.tagClass=1,this.idBlock.tagNumber=4}fromBER(inputBuffer,inputOffset,inputLength){if(this.valueBlock.isConstructed=this.idBlock.isConstructed,this.valueBlock.isIndefiniteForm=this.lenBlock.isIndefiniteForm,0===inputLength)return 0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),inputOffset;if(!this.valueBlock.isConstructed){const buf=inputBuffer.slice(inputOffset,inputOffset+inputLength);try{const asn=fromBER(buf);-1!==asn.offset&&asn.offset===inputLength&&(this.valueBlock.value=[asn.result])}catch(e){}}return super.fromBER(inputBuffer,inputOffset,inputLength)}static blockName(){return"OCTET STRING"}isEqual(octetString){return octetString instanceof OctetString!=!1&&JSON.stringify(this)===JSON.stringify(octetString)}toString(){return this.valueBlock.isConstructed||this.valueBlock.value&&this.valueBlock.value.length?Constructed.prototype.toString.call(this):`${this.constructor.blockName()} : ${bufferToHexCodes(this.valueBlock.valueHex)}`}}class LocalBitStringValueBlock extends(HexBlock(LocalConstructedValueBlock)){constructor(parameters={}){super(parameters),this.unusedBits=getParametersValue(parameters,"unusedBits",0),this.isConstructed=getParametersValue(parameters,"isConstructed",!1),this.blockLength=this.valueHex.byteLength}fromBER(inputBuffer,inputOffset,inputLength){if(0===inputLength)return inputOffset;let resultOffset=-1;if(!0===this.isConstructed){if(resultOffset=LocalConstructedValueBlock.prototype.fromBER.call(this,inputBuffer,inputOffset,inputLength),-1===resultOffset)return resultOffset;for(let i=0;i<this.value.length;i++){const currentBlockName=this.value[i].constructor.blockName();if(currentBlockName===EndOfContent.blockName()){if(!0===this.isIndefiniteForm)break;return this.error="EndOfContent is unexpected, BIT STRING may consists of BIT STRINGs only",-1}if(currentBlockName!==BitString.blockName())return this.error="BIT STRING may consists of BIT STRINGs only",-1;if(this.unusedBits>0&&this.value[i].valueBlock.unusedBits>0)return this.error='Using of "unused bits" inside constructive BIT STRING allowed for least one only',-1;if(this.unusedBits=this.value[i].valueBlock.unusedBits,this.unusedBits>7)return this.error="Unused bits for BitString must be in range 0-7",-1}return resultOffset}if(!1===checkBufferParams(this,inputBuffer,inputOffset,inputLength))return-1;const intBuffer=new Uint8Array(inputBuffer,inputOffset,inputLength);if(this.unusedBits=intBuffer[0],this.unusedBits>7)return this.error="Unused bits for BitString must be in range 0-7",-1;if(!this.unusedBits){const buf=inputBuffer.slice(inputOffset+1,inputOffset+inputLength);try{const asn=fromBER(buf);-1!==asn.offset&&asn.offset===inputLength-1&&(this.value=[asn.result])}catch(e){}}this.valueHex=new ArrayBuffer(intBuffer.length-1);const view=new Uint8Array(this.valueHex);for(let i=0;i<inputLength-1;i++)view[i]=intBuffer[i+1];return this.blockLength=intBuffer.length,inputOffset+inputLength}toBER(sizeOnly=!1){if(!0===this.isConstructed)return LocalConstructedValueBlock.prototype.toBER.call(this,sizeOnly);if(!0===sizeOnly)return new ArrayBuffer(this.valueHex.byteLength+1);if(0===this.valueHex.byteLength)return new ArrayBuffer(0);const curView=new Uint8Array(this.valueHex),retBuf=new ArrayBuffer(this.valueHex.byteLength+1),retView=new Uint8Array(retBuf);retView[0]=this.unusedBits;for(let i=0;i<this.valueHex.byteLength;i++)retView[i+1]=curView[i];return retBuf}static blockName(){return"BitStringValueBlock"}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.unusedBits=this.unusedBits,object.isConstructed=this.isConstructed,object.isHexOnly=this.isHexOnly,object.valueHex=bufferToHexCodes(this.valueHex,0,this.valueHex.byteLength),object}}class BitString extends BaseBlock{constructor(parameters={}){super(parameters,LocalBitStringValueBlock),this.idBlock.tagClass=1,this.idBlock.tagNumber=3}static blockName(){return"BIT STRING"}fromBER(inputBuffer,inputOffset,inputLength){return 0===inputLength?inputOffset:(this.valueBlock.isConstructed=this.idBlock.isConstructed,this.valueBlock.isIndefiniteForm=this.lenBlock.isIndefiniteForm,super.fromBER(inputBuffer,inputOffset,inputLength))}isEqual(bitString){return bitString instanceof BitString!=!1&&JSON.stringify(this)===JSON.stringify(bitString)}toString(){if(this.valueBlock.isConstructed||this.valueBlock.value&&this.valueBlock.value.length)return Constructed.prototype.toString.call(this);{const bits=[],valueHex=new Uint8Array(this.valueBlock.valueHex);for(const byte of valueHex)bits.push(byte.toString(2).padStart(8,"0"));return`${this.constructor.blockName()} : ${bits.join("")}`}}}class LocalIntegerValueBlock extends(HexBlock(ValueBlock)){constructor(parameters={}){super(parameters),"value"in parameters&&(this.valueDec=parameters.value)}set valueHex(_value){this._valueHex=_value.slice(0),_value.byteLength>=4?(this.warnings.push("Too big Integer for decoding, hex only"),this.isHexOnly=!0,this._valueDec=0):(this.isHexOnly=!1,_value.byteLength>0&&(this._valueDec=utilDecodeTC.call(this)))}get valueHex(){return this._valueHex}set valueDec(_value){this._valueDec=_value,this.isHexOnly=!1,this._valueHex=function utilEncodeTC(value){const modValue=value<0?-1*value:value;let bigInt=128;for(let i=1;i<8;i++){if(modValue<=bigInt){if(value<0){const retBuf=utilToBase(bigInt-modValue,8,i);return new Uint8Array(retBuf)[0]|=128,retBuf}let retBuf=utilToBase(modValue,8,i),retView=new Uint8Array(retBuf);if(128&retView[0]){const tempBuf=retBuf.slice(0),tempView=new Uint8Array(tempBuf);retBuf=new ArrayBuffer(retBuf.byteLength+1),retView=new Uint8Array(retBuf);for(let k=0;k<tempBuf.byteLength;k++)retView[k+1]=tempView[k];retView[0]=0}return retBuf}bigInt*=Math.pow(2,8)}return new ArrayBuffer(0)}(_value)}get valueDec(){return this._valueDec}fromDER(inputBuffer,inputOffset,inputLength,expectedLength=0){const offset=this.fromBER(inputBuffer,inputOffset,inputLength);if(-1===offset)return offset;const view=new Uint8Array(this._valueHex);if(0===view[0]&&0!=(128&view[1])){const updatedValueHex=new ArrayBuffer(this._valueHex.byteLength-1);new Uint8Array(updatedValueHex).set(new Uint8Array(this._valueHex,1,this._valueHex.byteLength-1)),this._valueHex=updatedValueHex.slice(0)}else if(0!==expectedLength&&this._valueHex.byteLength<expectedLength){expectedLength-this._valueHex.byteLength>1&&(expectedLength=this._valueHex.byteLength+1);const updatedValueHex=new ArrayBuffer(expectedLength);new Uint8Array(updatedValueHex).set(view,expectedLength-this._valueHex.byteLength),this._valueHex=updatedValueHex.slice(0)}return offset}toDER(sizeOnly=!1){const view=new Uint8Array(this._valueHex);switch(!0){case 0!=(128&view[0]):{const updatedValueHex=new ArrayBuffer(this._valueHex.byteLength+1),updatedView=new Uint8Array(updatedValueHex);updatedView[0]=0,updatedView.set(view,1),this._valueHex=updatedValueHex.slice(0)}break;case 0===view[0]&&0==(128&view[1]):{const updatedValueHex=new ArrayBuffer(this._valueHex.byteLength-1);new Uint8Array(updatedValueHex).set(new Uint8Array(this._valueHex,1,this._valueHex.byteLength-1)),this._valueHex=updatedValueHex.slice(0)}}return this.toBER(sizeOnly)}fromBER(inputBuffer,inputOffset,inputLength){const resultOffset=super.fromBER(inputBuffer,inputOffset,inputLength);return-1===resultOffset?resultOffset:(this.blockLength=inputLength,inputOffset+inputLength)}toBER(sizeOnly=!1){return this.valueHex.slice(0)}static blockName(){return"IntegerValueBlock"}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.valueDec=this.valueDec,object}toString(){function viewAdd(first,second){const c=new Uint8Array([0]);let firstView=new Uint8Array(first),secondView=new Uint8Array(second),firstViewCopy=firstView.slice(0);const firstViewCopyLength=firstViewCopy.length-1;let secondViewCopy=secondView.slice(0);const secondViewCopyLength=secondViewCopy.length-1;let value=0;let counter=0;for(let i=secondViewCopyLength<firstViewCopyLength?firstViewCopyLength:secondViewCopyLength;i>=0;i--,counter++){switch(!0){case counter<secondViewCopy.length:value=firstViewCopy[firstViewCopyLength-counter]+secondViewCopy[secondViewCopyLength-counter]+c[0];break;default:value=firstViewCopy[firstViewCopyLength-counter]+c[0]}switch(c[0]=value/10,!0){case counter>=firstViewCopy.length:firstViewCopy=utilConcatView(new Uint8Array([value%10]),firstViewCopy);break;default:firstViewCopy[firstViewCopyLength-counter]=value%10}}return c[0]>0&&(firstViewCopy=utilConcatView(c,firstViewCopy)),firstViewCopy.slice(0)}function power2(n){if(n>=powers2.length)for(let p=powers2.length;p<=n;p++){const c=new Uint8Array([0]);let digits=powers2[p-1].slice(0);for(let i=digits.length-1;i>=0;i--){const newValue=new Uint8Array([(digits[i]<<1)+c[0]]);c[0]=newValue[0]/10,digits[i]=newValue[0]%10}c[0]>0&&(digits=utilConcatView(c,digits)),powers2.push(digits)}return powers2[n]}function viewSub(first,second){let b=0,firstView=new Uint8Array(first),secondView=new Uint8Array(second),firstViewCopy=firstView.slice(0);const firstViewCopyLength=firstViewCopy.length-1;let secondViewCopy=secondView.slice(0);const secondViewCopyLength=secondViewCopy.length-1;let value,counter=0;for(let i=secondViewCopyLength;i>=0;i--,counter++)switch(value=firstViewCopy[firstViewCopyLength-counter]-secondViewCopy[secondViewCopyLength-counter]-b,!0){case value<0:b=1,firstViewCopy[firstViewCopyLength-counter]=value+10;break;default:b=0,firstViewCopy[firstViewCopyLength-counter]=value}if(b>0)for(let i=firstViewCopyLength-secondViewCopyLength+1;i>=0;i--,counter++){if(value=firstViewCopy[firstViewCopyLength-counter]-b,!(value<0)){b=0,firstViewCopy[firstViewCopyLength-counter]=value;break}b=1,firstViewCopy[firstViewCopyLength-counter]=value+10}return firstViewCopy.slice()}const firstBit=8*this._valueHex.byteLength-1;let currentByte,digits=new Uint8Array(8*this._valueHex.byteLength/3),bitNumber=0;const asn1View=new Uint8Array(this._valueHex);let result="",flag=!1;for(let byteNumber=this._valueHex.byteLength-1;byteNumber>=0;byteNumber--){currentByte=asn1View[byteNumber];for(let i=0;i<8;i++){if(1==(1¤tByte))switch(bitNumber){case firstBit:digits=viewSub(power2(bitNumber),digits),result="-";break;default:digits=viewAdd(digits,power2(bitNumber))}bitNumber++,currentByte>>=1}}for(let i=0;i<digits.length;i++)digits[i]&&(flag=!0),flag&&(result+="0123456789".charAt(digits[i]));return!1===flag&&(result+="0123456789".charAt(0)),result}}class Integer extends BaseBlock{constructor(parameters={}){super(parameters,LocalIntegerValueBlock),this.idBlock.tagClass=1,this.idBlock.tagNumber=2}static blockName(){return"INTEGER"}isEqual(otherValue){return otherValue instanceof Integer?this.valueBlock.isHexOnly&&otherValue.valueBlock.isHexOnly?isEqualBuffer(this.valueBlock.valueHex,otherValue.valueBlock.valueHex):this.valueBlock.isHexOnly===otherValue.valueBlock.isHexOnly&&this.valueBlock.valueDec===otherValue.valueBlock.valueDec:otherValue instanceof ArrayBuffer&&isEqualBuffer(this.valueBlock.valueHex,otherValue)}convertToDER(){const integer=new Integer({valueHex:this.valueBlock.valueHex});return integer.valueBlock.toDER(),integer}convertFromDER(){const expectedLength=this.valueBlock.valueHex.byteLength%2?this.valueBlock.valueHex.byteLength+1:this.valueBlock.valueHex.byteLength,integer=new Integer({valueHex:this.valueBlock.valueHex});return integer.valueBlock.fromDER(integer.valueBlock.valueHex,0,integer.valueBlock.valueHex.byteLength,expectedLength),integer}toString(){assertBigInt();const hex=bufferToHexCodes(this.valueBlock.valueHex),bigInt=BigInt(`0x${hex}`);return`${this.constructor.blockName()} : ${bigInt.toString()}`}}class Enumerated extends Integer{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=10}static blockName(){return"ENUMERATED"}}class LocalSidValueBlock extends(HexBlock(LocalBaseBlock)){constructor(parameters={}){super(parameters),this.valueDec=getParametersValue(parameters,"valueDec",-1),this.isFirstSid=getParametersValue(parameters,"isFirstSid",!1)}static blockName(){return"sidBlock"}fromBER(inputBuffer,inputOffset,inputLength){if(0===inputLength)return inputOffset;if(!1===checkBufferParams(this,inputBuffer,inputOffset,inputLength))return-1;const intBuffer=new Uint8Array(inputBuffer,inputOffset,inputLength);this.valueHex=new ArrayBuffer(inputLength);let view=new Uint8Array(this.valueHex);for(let i=0;i<inputLength&&(view[i]=127&intBuffer[i],this.blockLength++,0!=(128&intBuffer[i]));i++);const tempValueHex=new ArrayBuffer(this.blockLength),tempView=new Uint8Array(tempValueHex);for(let i=0;i<this.blockLength;i++)tempView[i]=view[i];return this.valueHex=tempValueHex.slice(0),view=new Uint8Array(this.valueHex),0!=(128&intBuffer[this.blockLength-1])?(this.error="End of input reached before message was fully decoded",-1):(0===view[0]&&this.warnings.push("Needlessly long format of SID encoding"),this.blockLength<=8?this.valueDec=utilFromBase(view,7):(this.isHexOnly=!0,this.warnings.push("Too big SID for decoding, hex only")),inputOffset+this.blockLength)}set valueBigInt(value){assertBigInt();let bits=BigInt(value).toString(2);for(;bits.length%7;)bits="0"+bits;const bytes=new Uint8Array(bits.length/7);for(let i=0;i<bytes.length;i++)bytes[i]=parseInt(bits.slice(7*i,7*i+7),2)+(i+1<bytes.length?128:0);this.fromBER(bytes.buffer,0,bytes.length)}toBER(sizeOnly=!1){let retBuf,retView;if(this.isHexOnly){if(!0===sizeOnly)return new ArrayBuffer(this.valueHex.byteLength);const curView=new Uint8Array(this.valueHex);retBuf=new ArrayBuffer(this.blockLength),retView=new Uint8Array(retBuf);for(let i=0;i<this.blockLength-1;i++)retView[i]=128|curView[i];return retView[this.blockLength-1]=curView[this.blockLength-1],retBuf}const encodedBuf=utilToBase(this.valueDec,7);if(0===encodedBuf.byteLength)return this.error="Error during encoding SID value",new ArrayBuffer(0);if(retBuf=new ArrayBuffer(encodedBuf.byteLength),!1===sizeOnly){const encodedView=new Uint8Array(encodedBuf);retView=new Uint8Array(retBuf);for(let i=0;i<encodedBuf.byteLength-1;i++)retView[i]=128|encodedView[i];retView[encodedBuf.byteLength-1]=encodedView[encodedBuf.byteLength-1]}return retBuf}toString(){let result="";if(!0===this.isHexOnly)result=bufferToHexCodes(this.valueHex,0,this.valueHex.byteLength);else if(this.isFirstSid){let sidValue=this.valueDec;this.valueDec<=39?result="0.":this.valueDec<=79?(result="1.",sidValue-=40):(result="2.",sidValue-=80),result+=sidValue.toString()}else result=this.valueDec.toString();return result}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.valueDec=this.valueDec,object.isFirstSid=this.isFirstSid,object}}class LocalObjectIdentifierValueBlock extends ValueBlock{constructor(parameters={}){super(parameters),this.fromString(getParametersValue(parameters,"value",""))}fromBER(inputBuffer,inputOffset,inputLength){let resultOffset=inputOffset;for(;inputLength>0;){const sidBlock=new LocalSidValueBlock;if(resultOffset=sidBlock.fromBER(inputBuffer,resultOffset,inputLength),-1===resultOffset)return this.blockLength=0,this.error=sidBlock.error,resultOffset;0===this.value.length&&(sidBlock.isFirstSid=!0),this.blockLength+=sidBlock.blockLength,inputLength-=sidBlock.blockLength,this.value.push(sidBlock)}return resultOffset}toBER(sizeOnly=!1){let retBuf=new ArrayBuffer(0);for(let i=0;i<this.value.length;i++){const valueBuf=this.value[i].toBER(sizeOnly);if(0===valueBuf.byteLength)return this.error=this.value[i].error,new ArrayBuffer(0);retBuf=utilConcatBuf(retBuf,valueBuf)}return retBuf}fromString(string){this.value=[];let pos1=0,pos2=0,sid="",flag=!1;do{if(pos2=string.indexOf(".",pos1),sid=-1===pos2?string.substr(pos1):string.substr(pos1,pos2-pos1),pos1=pos2+1,flag){const sidBlock=this.value[0];let plus=0;switch(sidBlock.valueDec){case 0:break;case 1:plus=40;break;case 2:plus=80;break;default:return this.value=[],!1}const parsedSID=parseInt(sid,10);if(isNaN(parsedSID))return!0;sidBlock.valueDec=parsedSID+plus,flag=!1}else{const sidBlock=new LocalSidValueBlock;if(sid>Number.MAX_SAFE_INTEGER){assertBigInt();const sidValue=BigInt(sid);sidBlock.valueBigInt=sidValue}else if(sidBlock.valueDec=parseInt(sid,10),isNaN(sidBlock.valueDec))return!0;0===this.value.length&&(sidBlock.isFirstSid=!0,flag=!0),this.value.push(sidBlock)}}while(-1!==pos2);return!0}toString(){let result="",isHexOnly=!1;for(let i=0;i<this.value.length;i++){isHexOnly=this.value[i].isHexOnly;let sidStr=this.value[i].toString();0!==i&&(result=`${result}.`),isHexOnly?(sidStr=`{${sidStr}}`,this.value[i].isFirstSid?result=`2.{${sidStr} - 80}`:result+=sidStr):result+=sidStr}return result}static blockName(){return"ObjectIdentifierValueBlock"}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}object.value=this.toString(),object.sidArray=[];for(let i=0;i<this.value.length;i++)object.sidArray.push(this.value[i].toJSON());return object}}class ObjectIdentifier extends BaseBlock{constructor(parameters={}){super(parameters,LocalObjectIdentifierValueBlock),this.idBlock.tagClass=1,this.idBlock.tagNumber=6}static blockName(){return"OBJECT IDENTIFIER"}toString(){return`${this.constructor.blockName()} : ${this.valueBlock.toString()}`}}class LocalUtf8StringValueBlock extends(HexBlock(LocalBaseBlock)){constructor(parameters={}){super(parameters),this.isHexOnly=!0,this.value=""}static blockName(){return"Utf8StringValueBlock"}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.value=this.value,object}}class Utf8String extends BaseBlock{constructor(parameters={}){super(parameters,LocalUtf8StringValueBlock),"value"in parameters&&this.fromString(parameters.value),this.idBlock.tagClass=1,this.idBlock.tagNumber=12}static blockName(){return"UTF8String"}fromBER(inputBuffer,inputOffset,inputLength){const resultOffset=this.valueBlock.fromBER(inputBuffer,inputOffset,!0===this.lenBlock.isIndefiniteForm?inputLength:this.lenBlock.length);return-1===resultOffset?(this.error=this.valueBlock.error,resultOffset):(this.fromBuffer(this.valueBlock.valueHex),0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),resultOffset)}fromBuffer(inputBuffer){this.valueBlock.value=String.fromCharCode.apply(null,new Uint8Array(inputBuffer));try{this.valueBlock.value=decodeURIComponent(escape(this.valueBlock.value))}catch(ex){this.warnings.push(`Error during "decodeURIComponent": ${ex}, using raw string`)}}fromString(inputString){const str=unescape(encodeURIComponent(inputString)),strLen=str.length;this.valueBlock.valueHex=new ArrayBuffer(strLen);const view=new Uint8Array(this.valueBlock.valueHex);for(let i=0;i<strLen;i++)view[i]=str.charCodeAt(i);this.valueBlock.value=inputString}toString(){return`${this.constructor.blockName()} : ${this.valueBlock.value}`}}class LocalRelativeSidValueBlock extends(HexBlock(LocalBaseBlock)){constructor(parameters={}){super(parameters),this.valueDec=getParametersValue(parameters,"valueDec",-1)}static blockName(){return"relativeSidBlock"}fromBER(inputBuffer,inputOffset,inputLength){if(0===inputLength)return inputOffset;if(!1===checkBufferParams(this,inputBuffer,inputOffset,inputLength))return-1;const intBuffer=new Uint8Array(inputBuffer,inputOffset,inputLength);this.valueHex=new ArrayBuffer(inputLength);let view=new Uint8Array(this.valueHex);for(let i=0;i<inputLength&&(view[i]=127&intBuffer[i],this.blockLength++,0!=(128&intBuffer[i]));i++);const tempValueHex=new ArrayBuffer(this.blockLength),tempView=new Uint8Array(tempValueHex);for(let i=0;i<this.blockLength;i++)tempView[i]=view[i];return this.valueHex=tempValueHex.slice(0),view=new Uint8Array(this.valueHex),0!=(128&intBuffer[this.blockLength-1])?(this.error="End of input reached before message was fully decoded",-1):(0===view[0]&&this.warnings.push("Needlessly long format of SID encoding"),this.blockLength<=8?this.valueDec=utilFromBase(view,7):(this.isHexOnly=!0,this.warnings.push("Too big SID for decoding, hex only")),inputOffset+this.blockLength)}toBER(sizeOnly=!1){let retBuf,retView;if(this.isHexOnly){if(!0===sizeOnly)return new ArrayBuffer(this.valueHex.byteLength);const curView=new Uint8Array(this.valueHex);retBuf=new ArrayBuffer(this.blockLength),retView=new Uint8Array(retBuf);for(let i=0;i<this.blockLength-1;i++)retView[i]=128|curView[i];return retView[this.blockLength-1]=curView[this.blockLength-1],retBuf}const encodedBuf=utilToBase(this.valueDec,7);if(0===encodedBuf.byteLength)return this.error="Error during encoding SID value",new ArrayBuffer(0);if(retBuf=new ArrayBuffer(encodedBuf.byteLength),!1===sizeOnly){const encodedView=new Uint8Array(encodedBuf);retView=new Uint8Array(retBuf);for(let i=0;i<encodedBuf.byteLength-1;i++)retView[i]=128|encodedView[i];retView[encodedBuf.byteLength-1]=encodedView[encodedBuf.byteLength-1]}return retBuf}toString(){let result="";return result=!0===this.isHexOnly?bufferToHexCodes(this.valueHex,0,this.valueHex.byteLength):this.valueDec.toString(),result}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.valueDec=this.valueDec,object}}class LocalRelativeObjectIdentifierValueBlock extends ValueBlock{constructor(parameters={}){super(parameters),this.fromString(getParametersValue(parameters,"value",""))}fromBER(inputBuffer,inputOffset,inputLength){let resultOffset=inputOffset;for(;inputLength>0;){const sidBlock=new LocalRelativeSidValueBlock;if(resultOffset=sidBlock.fromBER(inputBuffer,resultOffset,inputLength),-1===resultOffset)return this.blockLength=0,this.error=sidBlock.error,resultOffset;this.blockLength+=sidBlock.blockLength,inputLength-=sidBlock.blockLength,this.value.push(sidBlock)}return resultOffset}toBER(sizeOnly=!1){let retBuf=new ArrayBuffer(0);for(let i=0;i<this.value.length;i++){const valueBuf=this.value[i].toBER(sizeOnly);if(0===valueBuf.byteLength)return this.error=this.value[i].error,new ArrayBuffer(0);retBuf=utilConcatBuf(retBuf,valueBuf)}return retBuf}fromString(string){this.value=[];let pos1=0,pos2=0,sid="";do{pos2=string.indexOf(".",pos1),sid=-1===pos2?string.substr(pos1):string.substr(pos1,pos2-pos1),pos1=pos2+1;const sidBlock=new LocalRelativeSidValueBlock;if(sidBlock.valueDec=parseInt(sid,10),isNaN(sidBlock.valueDec))return!0;this.value.push(sidBlock)}while(-1!==pos2);return!0}toString(){let result="",isHexOnly=!1;for(let i=0;i<this.value.length;i++){isHexOnly=this.value[i].isHexOnly;let sidStr=this.value[i].toString();0!==i&&(result=`${result}.`),isHexOnly?(sidStr=`{${sidStr}}`,result+=sidStr):result+=sidStr}return result}static blockName(){return"RelativeObjectIdentifierValueBlock"}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}object.value=this.toString(),object.sidArray=[];for(let i=0;i<this.value.length;i++)object.sidArray.push(this.value[i].toJSON());return object}}class RelativeObjectIdentifier extends BaseBlock{constructor(parameters={}){super(parameters,LocalRelativeObjectIdentifierValueBlock),this.idBlock.tagClass=1,this.idBlock.tagNumber=13}static blockName(){return"RelativeObjectIdentifier"}}class LocalBmpStringValueBlock extends(HexBlock(LocalBaseBlock)){constructor(parameters={}){super(parameters),this.isHexOnly=!0,this.value=""}static blockName(){return"BmpStringValueBlock"}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.value=this.value,object}}class BmpString extends BaseBlock{constructor(parameters={}){super(parameters,LocalBmpStringValueBlock),"value"in parameters&&this.fromString(parameters.value),this.idBlock.tagClass=1,this.idBlock.tagNumber=30}static blockName(){return"BMPString"}fromBER(inputBuffer,inputOffset,inputLength){const resultOffset=this.valueBlock.fromBER(inputBuffer,inputOffset,!0===this.lenBlock.isIndefiniteForm?inputLength:this.lenBlock.length);return-1===resultOffset?(this.error=this.valueBlock.error,resultOffset):(this.fromBuffer(this.valueBlock.valueHex),0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),resultOffset)}fromBuffer(inputBuffer){const copyBuffer=inputBuffer.slice(0),valueView=new Uint8Array(copyBuffer);for(let i=0;i<valueView.length;i+=2){const temp=valueView[i];valueView[i]=valueView[i+1],valueView[i+1]=temp}this.valueBlock.value=String.fromCharCode.apply(null,new Uint16Array(copyBuffer))}fromString(inputString){const strLength=inputString.length;this.valueBlock.valueHex=new ArrayBuffer(2*strLength);const valueHexView=new Uint8Array(this.valueBlock.valueHex);for(let i=0;i<strLength;i++){const codeBuf=utilToBase(inputString.charCodeAt(i),8),codeView=new Uint8Array(codeBuf);if(codeView.length>2)continue;const dif=2-codeView.length;for(let j=codeView.length-1;j>=0;j--)valueHexView[2*i+j+dif]=codeView[j]}this.valueBlock.value=inputString}toString(){return`${this.constructor.blockName()} : ${this.valueBlock.value}`}}class LocalUniversalStringValueBlock extends(HexBlock(LocalBaseBlock)){constructor(parameters={}){super(parameters),this.isHexOnly=!0,this.value=""}static blockName(){return"UniversalStringValueBlock"}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.value=this.value,object}}class UniversalString extends BaseBlock{constructor(parameters={}){super(parameters,LocalUniversalStringValueBlock),"value"in parameters&&this.fromString(parameters.value),this.idBlock.tagClass=1,this.idBlock.tagNumber=28}static blockName(){return"UniversalString"}fromBER(inputBuffer,inputOffset,inputLength){const resultOffset=this.valueBlock.fromBER(inputBuffer,inputOffset,!0===this.lenBlock.isIndefiniteForm?inputLength:this.lenBlock.length);return-1===resultOffset?(this.error=this.valueBlock.error,resultOffset):(this.fromBuffer(this.valueBlock.valueHex),0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),resultOffset)}fromBuffer(inputBuffer){const copyBuffer=inputBuffer.slice(0),valueView=new Uint8Array(copyBuffer);for(let i=0;i<valueView.length;i+=4)valueView[i]=valueView[i+3],valueView[i+1]=valueView[i+2],valueView[i+2]=0,valueView[i+3]=0;this.valueBlock.value=String.fromCharCode.apply(null,new Uint32Array(copyBuffer))}fromString(inputString){const strLength=inputString.length;this.valueBlock.valueHex=new ArrayBuffer(4*strLength);const valueHexView=new Uint8Array(this.valueBlock.valueHex);for(let i=0;i<strLength;i++){const codeBuf=utilToBase(inputString.charCodeAt(i),8),codeView=new Uint8Array(codeBuf);if(codeView.length>4)continue;const dif=4-codeView.length;for(let j=codeView.length-1;j>=0;j--)valueHexView[4*i+j+dif]=codeView[j]}this.valueBlock.value=inputString}toString(){return`${this.constructor.blockName()} : ${this.valueBlock.value}`}}class LocalSimpleStringValueBlock extends(HexBlock(LocalBaseBlock)){constructor(parameters={}){super(parameters),this.value="",this.isHexOnly=!0}static blockName(){return"SimpleStringValueBlock"}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.value=this.value,object}}class LocalSimpleStringBlock extends BaseBlock{constructor(parameters={}){super(parameters,LocalSimpleStringValueBlock),"value"in parameters&&this.fromString(parameters.value)}static blockName(){return"SIMPLESTRING"}fromBER(inputBuffer,inputOffset,inputLength){const resultOffset=this.valueBlock.fromBER(inputBuffer,inputOffset,!0===this.lenBlock.isIndefiniteForm?inputLength:this.lenBlock.length);return-1===resultOffset?(this.error=this.valueBlock.error,resultOffset):(this.fromBuffer(this.valueBlock.valueHex),0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),resultOffset)}fromBuffer(inputBuffer){this.valueBlock.value=String.fromCharCode.apply(null,new Uint8Array(inputBuffer))}fromString(inputString){const strLen=inputString.length;this.valueBlock.valueHex=new ArrayBuffer(strLen);const view=new Uint8Array(this.valueBlock.valueHex);for(let i=0;i<strLen;i++)view[i]=inputString.charCodeAt(i);this.valueBlock.value=inputString}toString(){return`${this.constructor.blockName()} : ${this.valueBlock.value}`}}class NumericString extends LocalSimpleStringBlock{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=18}static blockName(){return"NumericString"}}class PrintableString extends LocalSimpleStringBlock{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=19}static blockName(){return"PrintableString"}}class TeletexString extends LocalSimpleStringBlock{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=20}static blockName(){return"TeletexString"}}class VideotexString extends LocalSimpleStringBlock{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=21}static blockName(){return"VideotexString"}}class IA5String extends LocalSimpleStringBlock{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=22}static blockName(){return"IA5String"}}class GraphicString extends LocalSimpleStringBlock{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=25}static blockName(){return"GraphicString"}}class VisibleString extends LocalSimpleStringBlock{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=26}static blockName(){return"VisibleString"}}class GeneralString extends LocalSimpleStringBlock{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=27}static blockName(){return"GeneralString"}}class CharacterString extends LocalSimpleStringBlock{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=29}static blockName(){return"CharacterString"}}class UTCTime extends VisibleString{constructor(parameters={}){if(super(parameters),this.year=0,this.month=0,this.day=0,this.hour=0,this.minute=0,this.second=0,"value"in parameters){this.fromString(parameters.value),this.valueBlock.valueHex=new ArrayBuffer(parameters.value.length);const view=new Uint8Array(this.valueBlock.valueHex);for(let i=0;i<parameters.value.length;i++)view[i]=parameters.value.charCodeAt(i)}"valueDate"in parameters&&(this.fromDate(parameters.valueDate),this.valueBlock.valueHex=this.toBuffer()),this.idBlock.tagClass=1,this.idBlock.tagNumber=23}fromBER(inputBuffer,inputOffset,inputLength){const resultOffset=this.valueBlock.fromBER(inputBuffer,inputOffset,!0===this.lenBlock.isIndefiniteForm?inputLength:this.lenBlock.length);return-1===resultOffset?(this.error=this.valueBlock.error,resultOffset):(this.fromBuffer(this.valueBlock.valueHex),0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),resultOffset)}fromBuffer(inputBuffer){this.fromString(String.fromCharCode.apply(null,new Uint8Array(inputBuffer)))}toBuffer(){const str=this.toString(),buffer=new ArrayBuffer(str.length),view=new Uint8Array(buffer);for(let i=0;i<str.length;i++)view[i]=str.charCodeAt(i);return buffer}fromDate(inputDate){this.year=inputDate.getUTCFullYear(),this.month=inputDate.getUTCMonth()+1,this.day=inputDate.getUTCDate(),this.hour=inputDate.getUTCHours(),this.minute=inputDate.getUTCMinutes(),this.second=inputDate.getUTCSeconds()}toDate(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second))}fromString(inputString){const parserArray=/(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})Z/gi.exec(inputString);if(null===parserArray)return void(this.error="Wrong input string for convertion");const year=parseInt(parserArray[1],10);this.year=year>=50?1900+year:2e3+year,this.month=parseInt(parserArray[2],10),this.day=parseInt(parserArray[3],10),this.hour=parseInt(parserArray[4],10),this.minute=parseInt(parserArray[5],10),this.second=parseInt(parserArray[6],10)}toString(){const outputArray=new Array(7);return outputArray[0]=padNumber(this.year<2e3?this.year-1900:this.year-2e3,2),outputArray[1]=padNumber(this.month,2),outputArray[2]=padNumber(this.day,2),outputArray[3]=padNumber(this.hour,2),outputArray[4]=padNumber(this.minute,2),outputArray[5]=padNumber(this.second,2),outputArray[6]="Z",outputArray.join("")}static blockName(){return"UTCTime"}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.year=this.year,object.month=this.month,object.day=this.day,object.hour=this.hour,object.minute=this.minute,object.second=this.second,object}}class GeneralizedTime extends VisibleString{constructor(parameters={}){if(super(parameters),this.year=0,this.month=0,this.day=0,this.hour=0,this.minute=0,this.second=0,this.millisecond=0,"value"in parameters){this.fromString(parameters.value),this.valueBlock.valueHex=new ArrayBuffer(parameters.value.length);const view=new Uint8Array(this.valueBlock.valueHex);for(let i=0;i<parameters.value.length;i++)view[i]=parameters.value.charCodeAt(i)}"valueDate"in parameters&&(this.fromDate(parameters.valueDate),this.valueBlock.valueHex=this.toBuffer()),this.idBlock.tagClass=1,this.idBlock.tagNumber=24}fromBER(inputBuffer,inputOffset,inputLength){const resultOffset=this.valueBlock.fromBER(inputBuffer,inputOffset,!0===this.lenBlock.isIndefiniteForm?inputLength:this.lenBlock.length);return-1===resultOffset?(this.error=this.valueBlock.error,resultOffset):(this.fromBuffer(this.valueBlock.valueHex),0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),resultOffset)}fromBuffer(inputBuffer){this.fromString(String.fromCharCode.apply(null,new Uint8Array(inputBuffer)))}toBuffer(){const str=this.toString(),buffer=new ArrayBuffer(str.length),view=new Uint8Array(buffer);for(let i=0;i<str.length;i++)view[i]=str.charCodeAt(i);return buffer}fromDate(inputDate){this.year=inputDate.getUTCFullYear(),this.month=inputDate.getUTCMonth()+1,this.day=inputDate.getUTCDate(),this.hour=inputDate.getUTCHours(),this.minute=inputDate.getUTCMinutes(),this.second=inputDate.getUTCSeconds(),this.millisecond=inputDate.getUTCMilliseconds()}toDate(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond))}fromString(inputString){let parser,isUTC=!1,timeString="",dateTimeString="",fractionPart=0,hourDifference=0,minuteDifference=0;if("Z"===inputString[inputString.length-1])timeString=inputString.substr(0,inputString.length-1),isUTC=!0;else{const number=new Number(inputString[inputString.length-1]);if(isNaN(number.valueOf()))throw new Error("Wrong input string for convertion");timeString=inputString}if(isUTC){if(-1!==timeString.indexOf("+"))throw new Error("Wrong input string for convertion");if(-1!==timeString.indexOf("-"))throw new Error("Wrong input string for convertion")}else{let multiplier=1,differencePosition=timeString.indexOf("+"),differenceString="";if(-1===differencePosition&&(differencePosition=timeString.indexOf("-"),multiplier=-1),-1!==differencePosition){if(differenceString=timeString.substr(differencePosition+1),timeString=timeString.substr(0,differencePosition),2!==differenceString.length&&4!==differenceString.length)throw new Error("Wrong input string for convertion");let number=new Number(differenceString.substr(0,2));if(isNaN(number.valueOf()))throw new Error("Wrong input string for convertion");if(hourDifference=multiplier*number,4===differenceString.length){if(number=new Number(differenceString.substr(2,2)),isNaN(number.valueOf()))throw new Error("Wrong input string for convertion");minuteDifference=multiplier*number}}}let fractionPointPosition=timeString.indexOf(".");if(-1===fractionPointPosition&&(fractionPointPosition=timeString.indexOf(",")),-1!==fractionPointPosition){const fractionPartCheck=new Number(`0${timeString.substr(fractionPointPosition)}`);if(isNaN(fractionPartCheck.valueOf()))throw new Error("Wrong input string for convertion");fractionPart=fractionPartCheck.valueOf(),dateTimeString=timeString.substr(0,fractionPointPosition)}else dateTimeString=timeString;switch(!0){case 8===dateTimeString.length:if(parser=/(\d{4})(\d{2})(\d{2})/gi,-1!==fractionPointPosition)throw new Error("Wrong input string for convertion");break;case 10===dateTimeString.length:if(parser=/(\d{4})(\d{2})(\d{2})(\d{2})/gi,-1!==fractionPointPosition){let fractionResult=60*fractionPart;this.minute=Math.floor(fractionResult),fractionResult=60*(fractionResult-this.minute),this.second=Math.floor(fractionResult),fractionResult=1e3*(fractionResult-this.second),this.millisecond=Math.floor(fractionResult)}break;case 12===dateTimeString.length:if(parser=/(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})/gi,-1!==fractionPointPosition){let fractionResult=60*fractionPart;this.second=Math.floor(fractionResult),fractionResult=1e3*(fractionResult-this.second),this.millisecond=Math.floor(fractionResult)}break;case 14===dateTimeString.length:if(parser=/(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})/gi,-1!==fractionPointPosition){const fractionResult=1e3*fractionPart;this.millisecond=Math.floor(fractionResult)}break;default:throw new Error("Wrong input string for convertion")}const parserArray=parser.exec(dateTimeString);if(null===parserArray)throw new Error("Wrong input string for convertion");for(let j=1;j<parserArray.length;j++)switch(j){case 1:this.year=parseInt(parserArray[j],10);break;case 2:this.month=parseInt(parserArray[j],10);break;case 3:this.day=parseInt(parserArray[j],10);break;case 4:this.hour=parseInt(parserArray[j],10)+hourDifference;break;case 5:this.minute=parseInt(parserArray[j],10)+minuteDifference;break;case 6:this.second=parseInt(parserArray[j],10);break;default:throw new Error("Wrong input string for convertion")}if(!1===isUTC){const tempDate=new Date(this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond);this.year=tempDate.getUTCFullYear(),this.month=tempDate.getUTCMonth(),this.day=tempDate.getUTCDay(),this.hour=tempDate.getUTCHours(),this.minute=tempDate.getUTCMinutes(),this.second=tempDate.getUTCSeconds(),this.millisecond=tempDate.getUTCMilliseconds()}}toString(){const outputArray=[];return outputArray.push(padNumber(this.year,4)),outputArray.push(padNumber(this.month,2)),outputArray.push(padNumber(this.day,2)),outputArray.push(padNumber(this.hour,2)),outputArray.push(padNumber(this.minute,2)),outputArray.push(padNumber(this.second,2)),0!==this.millisecond&&(outputArray.push("."),outputArray.push(padNumber(this.millisecond,3))),outputArray.push("Z"),outputArray.join("")}static blockName(){return"GeneralizedTime"}toJSON(){let object={};try{object=super.toJSON()}catch(ex){}return object.year=this.year,object.month=this.month,object.day=this.day,object.hour=this.hour,object.minute=this.minute,object.second=this.second,object.millisecond=this.millisecond,object}}class DATE extends Utf8String{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=31}static blockName(){return"DATE"}}class TimeOfDay extends Utf8String{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=32}static blockName(){return"TimeOfDay"}}class DateTime extends Utf8String{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=33}static blockName(){return"DateTime"}}class Duration extends Utf8String{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=34}static blockName(){return"Duration"}}class TIME extends Utf8String{constructor(parameters={}){super(parameters),this.idBlock.tagClass=1,this.idBlock.tagNumber=14}static blockName(){return"TIME"}}class Choice{constructor(parameters={}){this.value=getParametersValue(parameters,"value",[]),this.optional=getParametersValue(parameters,"optional",!1)}}class Any{constructor(parameters={}){this.name=getParametersValue(parameters,"name",""),this.optional=getParametersValue(parameters,"optional",!1)}}class Repeated{constructor(parameters={}){this.name=getParametersValue(parameters,"name",""),this.optional=getParametersValue(parameters,"optional",!1),this.value=getParametersValue(parameters,"value",new Any),this.local=getParametersValue(parameters,"local",!1)}}class RawData{constructor(parameters={}){this.data=getParametersValue(parameters,"data",new ArrayBuffer(0))}fromBER(inputBuffer,inputOffset,inputLength){return this.data=inputBuffer.slice(inputOffset,inputLength),inputOffset+inputLength}toBER(sizeOnly=!1){return this.data}}function LocalFromBER(inputBuffer,inputOffset,inputLength){const incomingOffset=inputOffset;let returnObject=new BaseBlock({},Object);const baseBlock=new LocalBaseBlock;if(!1===checkBufferParams(baseBlock,inputBuffer,inputOffset,inputLength))return returnObject.error=baseBlock.error,{offset:-1,result:returnObject};if(0===new Uint8Array(inputBuffer,inputOffset,inputLength).length)return returnObject.error="Zero buffer length",{offset:-1,result:returnObject};let resultOffset=returnObject.idBlock.fromBER(inputBuffer,inputOffset,inputLength);if(returnObject.warnings.concat(returnObject.idBlock.warnings),-1===resultOffset)return returnObject.error=returnObject.idBlock.error,{offset:-1,result:returnObject};if(inputOffset=resultOffset,inputLength-=returnObject.idBlock.blockLength,resultOffset=returnObject.lenBlock.fromBER(inputBuffer,inputOffset,inputLength),returnObject.warnings.concat(returnObject.lenBlock.warnings),-1===resultOffset)return returnObject.error=returnObject.lenBlock.error,{offset:-1,result:returnObject};if(inputOffset=resultOffset,inputLength-=returnObject.lenBlock.blockLength,!1===returnObject.idBlock.isConstructed&&!0===returnObject.lenBlock.isIndefiniteForm)return returnObject.error="Indefinite length form used for primitive encoding form",{offset:-1,result:returnObject};let newASN1Type=BaseBlock;switch(returnObject.idBlock.tagClass){case 1:if(returnObject.idBlock.tagNumber>=37&&!1===returnObject.idBlock.isHexOnly)return returnObject.error="UNIVERSAL 37 and upper tags are reserved by ASN.1 standard",{offset:-1,result:returnObject};switch(returnObject.idBlock.tagNumber){case 0:if(!0===returnObject.idBlock.isConstructed&&returnObject.lenBlock.length>0)return returnObject.error="Type [UNIVERSAL 0] is reserved",{offset:-1,result:returnObject};newASN1Type=EndOfContent;break;case 1:newASN1Type=asn1_Boolean;break;case 2:newASN1Type=Integer;break;case 3:newASN1Type=BitString;break;case 4:newASN1Type=OctetString;break;case 5:newASN1Type=Null;break;case 6:newASN1Type=ObjectIdentifier;break;case 10:newASN1Type=Enumerated;break;case 12:newASN1Type=Utf8String;break;case 13:newASN1Type=RelativeObjectIdentifier;break;case 14:newASN1Type=TIME;break;case 15:return returnObject.error="[UNIVERSAL 15] is reserved by ASN.1 standard",{offset:-1,result:returnObject};case 16:newASN1Type=Sequence;break;case 17:newASN1Type=asn1_Set;break;case 18:newASN1Type=NumericString;break;case 19:newASN1Type=PrintableString;break;case 20:newASN1Type=TeletexString;break;case 21:newASN1Type=VideotexString;break;case 22:newASN1Type=IA5String;break;case 23:newASN1Type=UTCTime;break;case 24:newASN1Type=GeneralizedTime;break;case 25:newASN1Type=GraphicString;break;case 26:newASN1Type=VisibleString;break;case 27:newASN1Type=GeneralString;break;case 28:newASN1Type=UniversalString;break;case 29:newASN1Type=CharacterString;break;case 30:newASN1Type=BmpString;break;case 31:newASN1Type=DATE;break;case 32:newASN1Type=TimeOfDay;break;case 33:newASN1Type=DateTime;break;case 34:newASN1Type=Duration;break;default:{let newObject;newObject=!0===returnObject.idBlock.isConstructed?new Constructed:new Primitive,newObject.idBlock=returnObject.idBlock,newObject.lenBlock=returnObject.lenBlock,newObject.warnings=returnObject.warnings,returnObject=newObject}}break;case 2:case 3:case 4:default:newASN1Type=!0===returnObject.idBlock.isConstructed?Constructed:Primitive}return returnObject=function localChangeType(inputObject,newType){if(inputObject instanceof newType)return inputObject;const newObject=new newType;return newObject.idBlock=inputObject.idBlock,newObject.lenBlock=inputObject.lenBlock,newObject.warnings=inputObject.warnings,newObject.valueBeforeDecode=inputObject.valueBeforeDecode.slice(0),newObject}(returnObject,newASN1Type),resultOffset=returnObject.fromBER(inputBuffer,inputOffset,!0===returnObject.lenBlock.isIndefiniteForm?inputLength:returnObject.lenBlock.length),returnObject.valueBeforeDecode=inputBuffer.slice(incomingOffset,incomingOffset+returnObject.blockLength),{offset:resultOffset,result:returnObject}}function fromBER(inputBuffer){if(0===inputBuffer.byteLength){const result=new BaseBlock({},Object);return result.error="Input buffer has zero length",{offset:-1,result:result}}return LocalFromBER(inputBuffer,0,inputBuffer.byteLength)}function compareSchema(root,inputData,inputSchema){if(inputSchema instanceof Choice){const choiceResult=!1;for(let j=0;j<inputSchema.value.length;j++){if(!0===compareSchema(root,inputData,inputSchema.value[j]).verified)return{verified:!0,result:root}}if(!1===choiceResult){const _result={verified:!1,result:{error:"Wrong values for Choice type"}};return inputSchema.hasOwnProperty("name")&&(_result.name=inputSchema.name),_result}}if(inputSchema instanceof Any)return inputSchema.hasOwnProperty("name")&&(root[inputSchema.name]=inputData),{verified:!0,result:root};if(root instanceof Object==!1)return{verified:!1,result:{error:"Wrong root object"}};if(inputData instanceof Object==!1)return{verified:!1,result:{error:"Wrong ASN.1 data"}};if(inputSchema instanceof Object==!1)return{verified:!1,result:{error:"Wrong ASN.1 schema"}};if("idBlock"in inputSchema==!1)return{verified:!1,result:{error:"Wrong ASN.1 schema"}};if("fromBER"in inputSchema.idBlock==!1)return{verified:!1,result:{error:"Wrong ASN.1 schema"}};if("toBER"in inputSchema.idBlock==!1)return{verified:!1,result:{error:"Wrong ASN.1 schema"}};const encodedId=inputSchema.idBlock.toBER(!1);if(0===encodedId.byteLength)return{verified:!1,result:{error:"Error encoding idBlock for ASN.1 schema"}};if(-1===inputSchema.idBlock.fromBER(encodedId,0,encodedId.byteLength))return{verified:!1,result:{error:"Error decoding idBlock for ASN.1 schema"}};if(!1===inputSchema.idBlock.hasOwnProperty("tagClass"))return{verified:!1,result:{error:"Wrong ASN.1 schema"}};if(inputSchema.idBlock.tagClass!==inputData.idBlock.tagClass)return{verified:!1,result:root};if(!1===inputSchema.idBlock.hasOwnProperty("tagNumber"))return{verified:!1,result:{error:"Wrong ASN.1 schema"}};if(inputSchema.idBlock.tagNumber!==inputData.idBlock.tagNumber)return{verified:!1,result:root};if(!1===inputSchema.idBlock.hasOwnProperty("isConstructed"))return{verified:!1,result:{error:"Wrong ASN.1 schema"}};if(inputSchema.idBlock.isConstructed!==inputData.idBlock.isConstructed)return{verified:!1,result:root};if("isHexOnly"in inputSchema.idBlock==!1)return{verified:!1,result:{error:"Wrong ASN.1 schema"}};if(inputSchema.idBlock.isHexOnly!==inputData.idBlock.isHexOnly)return{verified:!1,result:root};if(!0===inputSchema.idBlock.isHexOnly){if("valueHex"in inputSchema.idBlock==!1)return{verified:!1,result:{error:"Wrong ASN.1 schema"}};const schemaView=new Uint8Array(inputSchema.idBlock.valueHex),asn1View=new Uint8Array(inputData.idBlock.valueHex);if(schemaView.length!==asn1View.length)return{verified:!1,result:root};for(let i=0;i<schemaView.length;i++)if(schemaView[i]!==asn1View[1])return{verified:!1,result:root}}if(inputSchema.hasOwnProperty("name")&&(inputSchema.name=inputSchema.name.replace(/^\s+|\s+$/g,""),""!==inputSchema.name&&(root[inputSchema.name]=inputData)),!0===inputSchema.idBlock.isConstructed){let admission=0,result={verified:!1},maxLength=inputSchema.valueBlock.value.length;if(maxLength>0&&inputSchema.valueBlock.value[0]instanceof Repeated&&(maxLength=inputData.valueBlock.value.length),0===maxLength)return{verified:!0,result:root};if(0===inputData.valueBlock.value.length&&0!==inputSchema.valueBlock.value.length){let _optional=!0;for(let i=0;i<inputSchema.valueBlock.value.length;i++)_optional=_optional&&(inputSchema.valueBlock.value[i].optional||!1);return!0===_optional?{verified:!0,result:root}:(inputSchema.hasOwnProperty("name")&&(inputSchema.name=inputSchema.name.replace(/^\s+|\s+$/g,""),""!==inputSchema.name&&delete root[inputSchema.name]),root.error="Inconsistent object length",{verified:!1,result:root})}for(let i=0;i<maxLength;i++)if(i-admission>=inputData.valueBlock.value.length){if(!1===inputSchema.valueBlock.value[i].optional){const _result={verified:!1,result:root};return root.error="Inconsistent length between ASN.1 data and schema",inputSchema.hasOwnProperty("name")&&(inputSchema.name=inputSchema.name.replace(/^\s+|\s+$/g,""),""!==inputSchema.name&&(delete root[inputSchema.name],_result.name=inputSchema.name)),_result}}else if(inputSchema.valueBlock.value[0]instanceof Repeated){if(result=compareSchema(root,inputData.valueBlock.value[i],inputSchema.valueBlock.value[0].value),!1===result.verified){if(!0!==inputSchema.valueBlock.value[0].optional)return inputSchema.hasOwnProperty("name")&&(inputSchema.name=inputSchema.name.replace(/^\s+|\s+$/g,""),""!==inputSchema.name&&delete root[inputSchema.name]),result;admission++}if("name"in inputSchema.valueBlock.value[0]&&inputSchema.valueBlock.value[0].name.length>0){let arrayRoot={};arrayRoot="local"in inputSchema.valueBlock.value[0]&&!0===inputSchema.valueBlock.value[0].local?inputData:root,void 0===arrayRoot[inputSchema.valueBlock.value[0].name]&&(arrayRoot[inputSchema.valueBlock.value[0].name]=[]),arrayRoot[inputSchema.valueBlock.value[0].name].push(inputData.valueBlock.value[i])}}else if(result=compareSchema(root,inputData.valueBlock.value[i-admission],inputSchema.valueBlock.value[i]),!1===result.verified){if(!0!==inputSchema.valueBlock.value[i].optional)return inputSchema.hasOwnProperty("name")&&(inputSchema.name=inputSchema.name.replace(/^\s+|\s+$/g,""),""!==inputSchema.name&&delete root[inputSchema.name]),result;admission++}if(!1===result.verified){const _result={verified:!1,result:root};return inputSchema.hasOwnProperty("name")&&(inputSchema.name=inputSchema.name.replace(/^\s+|\s+$/g,""),""!==inputSchema.name&&(delete root[inputSchema.name],_result.name=inputSchema.name)),_result}return{verified:!0,result:root}}if("primitiveSchema"in inputSchema&&"valueHex"in inputData.valueBlock){const asn1=fromBER(inputData.valueBlock.valueHex);if(-1===asn1.offset){const _result={verified:!1,result:asn1.result};return inputSchema.hasOwnProperty("name")&&(inputSchema.name=inputSchema.name.replace(/^\s+|\s+$/g,""),""!==inputSchema.name&&(delete root[inputSchema.name],_result.name=inputSchema.name)),_result}return compareSchema(root,asn1.result,inputSchema.primitiveSchema)}return{verified:!0,result:root}}function verifySchema(inputBuffer,inputSchema){if(inputSchema instanceof Object==!1)return{verified:!1,result:{error:"Wrong ASN.1 schema type"}};const asn1=fromBER(inputBuffer);return-1===asn1.offset?{verified:!1,result:asn1.result}:compareSchema(asn1.result,asn1.result,inputSchema)}function fromJSON(json){}var AsnTypeTypes,AsnPropTypes;!function(AsnTypeTypes){AsnTypeTypes[AsnTypeTypes.Sequence=0]="Sequence",AsnTypeTypes[AsnTypeTypes.Set=1]="Set",AsnTypeTypes[AsnTypeTypes.Choice=2]="Choice"}(AsnTypeTypes||(AsnTypeTypes={})),function(AsnPropTypes){AsnPropTypes[AsnPropTypes.Any=1]="Any",AsnPropTypes[AsnPropTypes.Boolean=2]="Boolean",AsnPropTypes[AsnPropTypes.OctetString=3]="OctetString",AsnPropTypes[AsnPropTypes.BitString=4]="BitString",AsnPropTypes[AsnPropTypes.Integer=5]="Integer",AsnPropTypes[AsnPropTypes.Enumerated=6]="Enumerated",AsnPropTypes[AsnPropTypes.ObjectIdentifier=7]="ObjectIdentifier",AsnPropTypes[AsnPropTypes.Utf8String=8]="Utf8String",AsnPropTypes[AsnPropTypes.BmpString=9]="BmpString",AsnPropTypes[AsnPropTypes.UniversalString=10]="UniversalString",AsnPropTypes[AsnPropTypes.NumericString=11]="NumericString",AsnPropTypes[AsnPropTypes.PrintableString=12]="PrintableString",AsnPropTypes[AsnPropTypes.TeletexString=13]="TeletexString",AsnPropTypes[AsnPropTypes.VideotexString=14]="VideotexString",AsnPropTypes[AsnPropTypes.IA5String=15]="IA5String",AsnPropTypes[AsnPropTypes.GraphicString=16]="GraphicString",AsnPropTypes[AsnPropTypes.VisibleString=17]="VisibleString",AsnPropTypes[AsnPropTypes.GeneralString=18]="GeneralString",AsnPropTypes[AsnPropTypes.CharacterString=19]="CharacterString",AsnPropTypes[AsnPropTypes.UTCTime=20]="UTCTime",AsnPropTypes[AsnPropTypes.GeneralizedTime=21]="GeneralizedTime",AsnPropTypes[AsnPropTypes.DATE=22]="DATE",AsnPropTypes[AsnPropTypes.TimeOfDay=23]="TimeOfDay",AsnPropTypes[AsnPropTypes.DateTime=24]="DateTime",AsnPropTypes[AsnPropTypes.Duration=25]="Duration",AsnPropTypes[AsnPropTypes.TIME=26]="TIME",AsnPropTypes[AsnPropTypes.Null=27]="Null"}(AsnPropTypes||(AsnPropTypes={}));const AsnAnyConverter={fromASN:value=>value instanceof Null?null:value.valueBeforeDecode,toASN:value=>{if(null===value)return new Null;const schema=fromBER(value);if(schema.result.error)throw new Error(schema.result.error);return schema.result}},AsnIntegerConverter={fromASN:value=>value.valueBlock.valueHex.byteLength>4?value.valueBlock.toString():value.valueBlock.valueDec,toASN:value=>new Integer({value:value})},AsnEnumeratedConverter={fromASN:value=>value.valueBlock.valueDec,toASN:value=>new Enumerated({value:value})},AsnBitStringConverter={fromASN:value=>value.valueBlock.valueHex,toASN:value=>new BitString({valueHex:value})},AsnObjectIdentifierConverter={fromASN:value=>value.valueBlock.toString(),toASN:value=>new ObjectIdentifier({value:value})},AsnBooleanConverter={fromASN:value=>value.valueBlock.value,toASN:value=>new asn1_Boolean({value:value})},AsnOctetStringConverter={fromASN:value=>value.valueBlock.valueHex,toASN:value=>new OctetString({valueHex:value})};function createStringConverter(Asn1Type){return{fromASN:value=>value.valueBlock.value,toASN:value=>new Asn1Type({value:value})}}const AsnUtf8StringConverter=createStringConverter(Utf8String),AsnBmpStringConverter=createStringConverter(BmpString),AsnUniversalStringConverter=createStringConverter(UniversalString),AsnNumericStringConverter=createStringConverter(NumericString),AsnPrintableStringConverter=createStringConverter(PrintableString),AsnTeletexStringConverter=createStringConverter(TeletexString),AsnVideotexStringConverter=createStringConverter(VideotexString),AsnIA5StringConverter=createStringConverter(IA5String),AsnGraphicStringConverter=createStringConverter(GraphicString),AsnVisibleStringConverter=createStringConverter(VisibleString),AsnGeneralStringConverter=createStringConverter(GeneralString),AsnCharacterStringConverter=createStringConverter(CharacterString),AsnUTCTimeConverter={fromASN:value=>value.toDate(),toASN:value=>new UTCTime({valueDate:value})},AsnGeneralizedTimeConverter={fromASN:value=>value.toDate(),toASN:value=>new GeneralizedTime({valueDate:value})},AsnNullConverter={fromASN:value=>null,toASN:value=>new Null};function converters_defaultConverter(type){switch(type){case AsnPropTypes.Any:return AsnAnyConverter;case AsnPropTypes.BitString:return AsnBitStringConverter;case AsnPropTypes.BmpString:return AsnBmpStringConverter;case AsnPropTypes.Boolean:return AsnBooleanConverter;case AsnPropTypes.CharacterString:return AsnCharacterStringConverter;case AsnPropTypes.Enumerated:return AsnEnumeratedConverter;case AsnPropTypes.GeneralString:return AsnGeneralStringConverter;case AsnPropTypes.GeneralizedTime:return AsnGeneralizedTimeConverter;case AsnPropTypes.GraphicString:return AsnGraphicStringConverter;case AsnPropTypes.IA5String:return AsnIA5StringConverter;case AsnPropTypes.Integer:return AsnIntegerConverter;case AsnPropTypes.Null:return AsnNullConverter;case AsnPropTypes.NumericString:return AsnNumericStringConverter;case AsnPropTypes.ObjectIdentifier:return AsnObjectIdentifierConverter;case AsnPropTypes.OctetString:return AsnOctetStringConverter;case AsnPropTypes.PrintableString:return AsnPrintableStringConverter;case AsnPropTypes.TeletexString:return AsnTeletexStringConverter;case AsnPropTypes.UTCTime:return AsnUTCTimeConverter;case AsnPropTypes.UniversalString:return AsnUniversalStringConverter;case AsnPropTypes.Utf8String:return AsnUtf8StringConverter;case AsnPropTypes.VideotexString:return AsnVideotexStringConverter;case AsnPropTypes.VisibleString:return AsnVisibleStringConverter;default:return null}}function isConvertible(target){return target&&target.prototype?!(!target.prototype.toASN||!target.prototype.fromASN)||isConvertible(target.prototype):!!(target&&target.toASN&&target.fromASN)}function isTypeOfArray(target){var _a;if(target){const proto=Object.getPrototypeOf(target);return(null===(_a=null==proto?void 0:proto.prototype)||void 0===_a?void 0:_a.constructor)===Array||isTypeOfArray(proto)}return!1}function isArrayEqual(bytes1,bytes2){if(!bytes1||!bytes2)return!1;if(bytes1.byteLength!==bytes2.byteLength)return!1;const b1=new Uint8Array(bytes1),b2=new Uint8Array(bytes2);for(let i=0;i<bytes1.byteLength;i++)if(b1[i]!==b2[i])return!1;return!0}const schemaStorage=new class AsnSchemaStorage{constructor(){this.items=new WeakMap}has(target){return this.items.has(target)}get(target){var _a,_b,_c,_d;const schema=this.items.get(target);if(!schema)throw new Error(`Cannot get schema for '${null!==(_d=null===(_c=null===(_b=null===(_a=target)||void 0===_a?void 0:_a.prototype)||void 0===_b?void 0:_b.constructor)||void 0===_c?void 0:_c.name)&&void 0!==_d?_d:target}' target`);return schema}cache(target){const schema=this.get(target);schema.schema||(schema.schema=this.create(target,!0))}createDefault(target){const schema={type:AsnTypeTypes.Sequence,items:{}},parentSchema=this.findParentSchema(target);return parentSchema&&(Object.assign(schema,parentSchema),schema.items=Object.assign({},schema.items,parentSchema.items)),schema}create(target,useNames){const schema=this.items.get(target)||this.createDefault(target),asn1Value=[];for(const key in schema.items){const item=schema.items[key],name=useNames?key:"";let asn1Item;if("number"==typeof item.type){const Asn1TypeName=AsnPropTypes[item.type],Asn1Type=asn1_namespaceObject[Asn1TypeName];if(!Asn1Type)throw new Error(`Cannot get ASN1 class by name '${Asn1TypeName}'`);asn1Item=new Asn1Type({name:name})}else if(isConvertible(item.type)){asn1Item=(new item.type).toSchema(name)}else if(item.optional){this.get(item.type).type===AsnTypeTypes.Choice?asn1Item=new Any({name:name}):(asn1Item=this.create(item.type,!1),asn1Item.name=name)}else asn1Item=new Any({name:name});const optional=!!item.optional||void 0!==item.defaultValue;if(item.repeated){asn1Item.name="";asn1Item=new("set"===item.repeated?asn1_Set:Sequence)({name:"",value:[new Repeated({name:name,value:asn1Item})]})}if(null!==item.context&&void 0!==item.context)if(item.implicit)if("number"==typeof item.type||isConvertible(item.type)){const Container=item.repeated?Constructed:Primitive;asn1Value.push(new Container({name:name,optional:optional,idBlock:{tagClass:3,tagNumber:item.context}}))}else{this.cache(item.type);const isRepeated=!!item.repeated;let value=isRepeated?asn1Item:this.get(item.type).schema;value=value.valueBlock?value.valueBlock.value:value.value,asn1Value.push(new Constructed({name:isRepeated?"":name,optional:optional,idBlock:{tagClass:3,tagNumber:item.context},value:value}))}else asn1Value.push(new Constructed({optional:optional,idBlock:{tagClass:3,tagNumber:item.context},value:[asn1Item]}));else asn1Item.optional=optional,asn1Value.push(asn1Item)}switch(schema.type){case AsnTypeTypes.Sequence:return new Sequence({value:asn1Value,name:""});case AsnTypeTypes.Set:return new asn1_Set({value:asn1Value,name:""});case AsnTypeTypes.Choice:return new Choice({value:asn1Value,name:""});default:throw new Error("Unsupported ASN1 type in use")}}set(target,schema){return this.items.set(target,schema),this}findParentSchema(target){const parent=target.__proto__;if(parent){return this.items.get(parent)||this.findParentSchema(parent)}return null}},AsnType=options=>target=>{let schema;schemaStorage.has(target)?schema=schemaStorage.get(target):(schema=schemaStorage.createDefault(target),schemaStorage.set(target,schema)),Object.assign(schema,options)},AsnProp=options=>(target,propertyKey)=>{let schema;schemaStorage.has(target.constructor)?schema=schemaStorage.get(target.constructor):(schema=schemaStorage.createDefault(target.constructor),schemaStorage.set(target.constructor,schema));const copyOptions=Object.assign({},options);if("number"==typeof copyOptions.type&&!copyOptions.converter){const defaultConverter=converters_defaultConverter(options.type);if(!defaultConverter)throw new Error(`Cannot get default converter for property '${propertyKey}' of ${target.constructor.name}`);copyOptions.converter=defaultConverter}schema.items[propertyKey]=copyOptions};class AsnSchemaValidationError extends Error{constructor(){super(...arguments),this.schemas=[]}}var Buffer=__webpack_require__(48764).Buffer;class AsnParser{static parse(data,target){let buf;if(data instanceof ArrayBuffer)buf=data;else if(void 0!==Buffer&&Buffer.isBuffer(data))buf=new Uint8Array(data).buffer;else{if(!(ArrayBuffer.isView(data)||data.buffer instanceof ArrayBuffer))throw new TypeError("Wrong type of 'data' argument");buf=data.buffer}const asn1Parsed=fromBER(buf);if(asn1Parsed.result.error)throw new Error(asn1Parsed.result.error);return this.fromASN(asn1Parsed.result,target)}static fromASN(asn1Schema,target){var _a;try{if(isConvertible(target)){return(new target).fromASN(asn1Schema)}const schema=schemaStorage.get(target);schemaStorage.cache(target);let targetSchema=schema.schema;if(asn1Schema.constructor===Constructed&&schema.type!==AsnTypeTypes.Choice){targetSchema=new Constructed({idBlock:{tagClass:3,tagNumber:asn1Schema.idBlock.tagNumber},value:schema.schema.valueBlock.value});for(const key in schema.items)delete asn1Schema[key]}const asn1ComparedSchema=compareSchema(asn1Schema,asn1Schema,targetSchema);if(!asn1ComparedSchema.verified)throw new AsnSchemaValidationError(`Data does not match to ${target.name} ASN1 schema. ${asn1ComparedSchema.result.error}`);const res=new target;if(isTypeOfArray(target)){if("number"==typeof schema.itemType){const converter=converters_defaultConverter(schema.itemType);if(!converter)throw new Error(`Cannot get default converter for array item of ${target.name} ASN1 schema`);return target.from(asn1Schema.valueBlock.value,(element=>converter.fromASN(element)))}return target.from(asn1Schema.valueBlock.value,(element=>this.fromASN(element,schema.itemType)))}for(const key in schema.items){if(!asn1Schema[key])continue;const schemaItem=schema.items[key];if("number"==typeof schemaItem.type||isConvertible(schemaItem.type)){const converter=null!==(_a=schemaItem.converter)&&void 0!==_a?_a:isConvertible(schemaItem.type)?new schemaItem.type:null;if(!converter)throw new Error("Converter is empty");if(schemaItem.repeated)if(schemaItem.implicit){const newItem=new("sequence"===schemaItem.repeated?Sequence:asn1_Set);newItem.valueBlock=asn1Schema[key].valueBlock;const value=fromBER(newItem.toBER(!1)).result.valueBlock.value;res[key]=Array.from(value,(element=>converter.fromASN(element)))}else res[key]=Array.from(asn1Schema[key],(element=>converter.fromASN(element)));else{let value=asn1Schema[key];if(schemaItem.implicit){let newItem;if(isConvertible(schemaItem.type))newItem=(new schemaItem.type).toSchema("");else{const Asn1TypeName=AsnPropTypes[schemaItem.type],Asn1Type=asn1_namespaceObject[Asn1TypeName];if(!Asn1Type)throw new Error(`Cannot get '${Asn1TypeName}' class from asn1js module`);newItem=new Asn1Type}newItem.valueBlock=value.valueBlock,value=fromBER(newItem.toBER(!1)).result}res[key]=converter.fromASN(value)}}else schemaItem.repeated?res[key]=Array.from(asn1Schema[key],(element=>this.fromASN(element,schemaItem.type))):res[key]=this.fromASN(asn1Schema[key],schemaItem.type)}return res}catch(error){throw error instanceof AsnSchemaValidationError&&error.schemas.push(target.name),error}}}class AsnSerializer{static serialize(obj){return obj instanceof BaseBlock?obj.toBER(!1):this.toASN(obj).toBER(!1)}static toASN(obj){if(obj&&isConvertible(obj.constructor))return obj.toASN();const target=obj.constructor,schema=schemaStorage.get(target);schemaStorage.cache(target);let asnSchema,asn1Value=[];if(schema.itemType)if("number"==typeof schema.itemType){const converter=converters_defaultConverter(schema.itemType);if(!converter)throw new Error(`Cannot get default converter for array item of ${target.name} ASN1 schema`);asn1Value=obj.map((o=>converter.toASN(o)))}else asn1Value=obj.map((o=>this.toAsnItem({type:schema.itemType},"[]",target,o)));else for(const key in schema.items){const schemaItem=schema.items[key],objProp=obj[key];if(void 0===objProp||schemaItem.defaultValue===objProp||"object"==typeof schemaItem.defaultValue&&"object"==typeof objProp&&isArrayEqual(this.serialize(schemaItem.defaultValue),this.serialize(objProp)))continue;let asn1Item=AsnSerializer.toAsnItem(schemaItem,key,target,objProp);if("number"==typeof schemaItem.context)if(schemaItem.implicit)if(schemaItem.repeated||"number"!=typeof schemaItem.type&&!isConvertible(schemaItem.type))asn1Value.push(new Constructed({optional:schemaItem.optional,idBlock:{tagClass:3,tagNumber:schemaItem.context},value:asn1Item.valueBlock.value}));else{const value={};value.valueHex=asn1Item instanceof Null?asn1Item.valueBeforeDecode:asn1Item.valueBlock.toBER(),asn1Value.push(new Primitive(Object.assign({optional:schemaItem.optional,idBlock:{tagClass:3,tagNumber:schemaItem.context}},value)))}else asn1Value.push(new Constructed({optional:schemaItem.optional,idBlock:{tagClass:3,tagNumber:schemaItem.context},value:[asn1Item]}));else schemaItem.repeated?asn1Value=asn1Value.concat(asn1Item):asn1Value.push(asn1Item)}switch(schema.type){case AsnTypeTypes.Sequence:asnSchema=new Sequence({value:asn1Value});break;case AsnTypeTypes.Set:asnSchema=new asn1_Set({value:asn1Value});break;case AsnTypeTypes.Choice:if(!asn1Value[0])throw new Error(`Schema '${target.name}' has wrong data. Choice cannot be empty.`);asnSchema=asn1Value[0]}return asnSchema}static toAsnItem(schemaItem,key,target,objProp){let asn1Item;if("number"==typeof schemaItem.type){const converter=schemaItem.converter;if(!converter)throw new Error(`Property '${key}' doesn't have converter for type ${AsnPropTypes[schemaItem.type]} in schema '${target.name}'`);if(schemaItem.repeated){const items=Array.from(objProp,(element=>converter.toASN(element)));asn1Item=new("sequence"===schemaItem.repeated?Sequence:asn1_Set)({value:items})}else asn1Item=converter.toASN(objProp)}else if(schemaItem.repeated){const items=Array.from(objProp,(element=>this.toASN(element)));asn1Item=new("sequence"===schemaItem.repeated?Sequence:asn1_Set)({value:items})}else asn1Item=this.toASN(objProp);return asn1Item}}class AsnConvert{static serialize(obj){return AsnSerializer.serialize(obj)}static parse(data,target){return AsnParser.parse(data,target)}static toString(data){const asn=fromBER(build.BufferSourceConverter.isBufferSource(data)?build.BufferSourceConverter.toArrayBuffer(data):AsnConvert.serialize(data));if(-1===asn.offset)throw new Error(`Cannot decode ASN.1 data. ${asn.result.error}`);return asn.result.toString()}}function __decorate(decorators,target,key,desc){var d,c=arguments.length,r=c<3?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r}Object.create;var JsonPropTypes;Object.create;class JsonError extends Error{constructor(message,innerError){super(innerError?`${message}. See the inner exception for more details.`:message),this.message=message,this.innerError=innerError}}class TransformError extends JsonError{constructor(schema,message,innerError){super(message,innerError),this.schema=schema}}class ParserError extends TransformError{constructor(schema,message,innerError){super(schema,`JSON doesn't match to '${schema.target.name}' schema. ${message}`,innerError)}}class ValidationError extends JsonError{}class SerializerError extends JsonError{constructor(schemaName,message,innerError){super(`Cannot serialize by '${schemaName}' schema. ${message}`,innerError),this.schemaName=schemaName}}class KeyError extends ParserError{constructor(schema,keys,errors={}){super(schema,"Some keys doesn't match to schema"),this.keys=keys,this.errors=errors}}function throwIfTypeIsWrong(value,type){if(!function checkType(value,type){switch(type){case JsonPropTypes.Boolean:return"boolean"==typeof value;case JsonPropTypes.Number:return"number"==typeof value;case JsonPropTypes.String:return"string"==typeof value}return!0}(value,type))throw new TypeError(`Value must be ${JsonPropTypes[type]}`)}function index_es_isConvertible(target){return target&&target.prototype?!(!target.prototype.toJSON||!target.prototype.fromJSON)||index_es_isConvertible(target.prototype):!!(target&&target.toJSON&&target.fromJSON)}!function(JsonPropTypes){JsonPropTypes[JsonPropTypes.Any=0]="Any",JsonPropTypes[JsonPropTypes.Boolean=1]="Boolean",JsonPropTypes[JsonPropTypes.Number=2]="Number",JsonPropTypes[JsonPropTypes.String=3]="String"}(JsonPropTypes||(JsonPropTypes={}));const index_es_schemaStorage=new class JsonSchemaStorage{constructor(){this.items=new Map}has(target){return this.items.has(target)||!!this.findParentSchema(target)}get(target){const schema=this.items.get(target)||this.findParentSchema(target);if(!schema)throw new Error("Cannot get schema for current target");return schema}create(target){const schema={names:{}},parentSchema=this.findParentSchema(target);if(parentSchema){Object.assign(schema,parentSchema),schema.names={};for(const name in parentSchema.names)schema.names[name]=Object.assign({},parentSchema.names[name])}return schema.target=target,schema}set(target,schema){return this.items.set(target,schema),this}findParentSchema(target){const parent=target.__proto__;if(parent){return this.items.get(parent)||this.findParentSchema(parent)}return null}};class PatternValidation{constructor(pattern){this.pattern=new RegExp(pattern)}validate(value){const pattern=new RegExp(this.pattern.source,this.pattern.flags);if("string"!=typeof value)throw new ValidationError("Incoming value must be string");if(!pattern.exec(value))throw new ValidationError(`Value doesn't match to pattern '${pattern.toString()}'`)}}class InclusiveValidation{constructor(min=Number.MIN_VALUE,max=Number.MAX_VALUE){this.min=min,this.max=max}validate(value){if(throwIfTypeIsWrong(value,JsonPropTypes.Number),!(this.min<=value&&value<=this.max)){const min=this.min===Number.MIN_VALUE?"MIN":this.min,max=this.max===Number.MAX_VALUE?"MAX":this.max;throw new ValidationError(`Value doesn't match to diapason [${min},${max}]`)}}}class ExclusiveValidation{constructor(min=Number.MIN_VALUE,max=Number.MAX_VALUE){this.min=min,this.max=max}validate(value){if(throwIfTypeIsWrong(value,JsonPropTypes.Number),!(this.min<value&&value<this.max)){const min=this.min===Number.MIN_VALUE?"MIN":this.min,max=this.max===Number.MAX_VALUE?"MAX":this.max;throw new ValidationError(`Value doesn't match to diapason (${min},${max})`)}}}class LengthValidation{constructor(length,minLength,maxLength){this.length=length,this.minLength=minLength,this.maxLength=maxLength}validate(value){if(void 0===this.length){if(void 0!==this.minLength&&value.length<this.minLength)throw new ValidationError(`Value length must be more than ${this.minLength}.`);if(void 0!==this.maxLength&&value.length>this.maxLength)throw new ValidationError(`Value length must be less than ${this.maxLength}.`)}else if(value.length!==this.length)throw new ValidationError(`Value length must be exactly ${this.length}.`)}}class EnumerationValidation{constructor(enumeration){this.enumeration=enumeration}validate(value){if(throwIfTypeIsWrong(value,JsonPropTypes.String),!this.enumeration.includes(value))throw new ValidationError(`Value must be one of ${this.enumeration.map((v=>`'${v}'`)).join(", ")}`)}}class JsonTransform{static checkValues(data,schemaItem){const values=Array.isArray(data)?data:[data];for(const value of values)for(const validation of schemaItem.validations)validation instanceof LengthValidation&&schemaItem.repeated?validation.validate(data):validation.validate(value)}static checkTypes(value,schemaItem){if(schemaItem.repeated&&!Array.isArray(value))throw new TypeError("Value must be Array");if("number"==typeof schemaItem.type){const values=Array.isArray(value)?value:[value];for(const v of values)throwIfTypeIsWrong(v,schemaItem.type)}}static getSchemaByName(schema,name="default"){return{...schema.names.default,...schema.names[name]}}}class JsonSerializer extends JsonTransform{static serialize(obj,options,replacer,space){const json=this.toJSON(obj,options);return JSON.stringify(json,replacer,space)}static toJSON(obj,options={}){let res,targetSchema=options.targetSchema;const schemaName=options.schemaName||"default";if(index_es_isConvertible(obj))return obj.toJSON();if(Array.isArray(obj)){res=[];for(const item of obj)res.push(this.toJSON(item,options))}else if("object"==typeof obj){if(targetSchema&&!index_es_schemaStorage.has(targetSchema))throw new JsonError("Cannot get schema for `targetSchema` param");if(targetSchema=targetSchema||obj.constructor,index_es_schemaStorage.has(targetSchema)){const schema=index_es_schemaStorage.get(targetSchema);res={};const namedSchema=this.getSchemaByName(schema,schemaName);for(const key in namedSchema)try{const item=namedSchema[key],objItem=obj[key];let value;if(item.optional&&void 0===objItem||void 0!==item.defaultValue&&objItem===item.defaultValue)continue;if(!item.optional&&void 0===objItem)throw new SerializerError(targetSchema.name,`Property '${key}' is required.`);value="number"==typeof item.type?item.converter?item.repeated?objItem.map((el=>item.converter.toJSON(el,obj))):item.converter.toJSON(objItem,obj):objItem:item.repeated?objItem.map((el=>this.toJSON(el,{schemaName:schemaName}))):this.toJSON(objItem,{schemaName:schemaName}),this.checkTypes(value,item),this.checkValues(value,item),res[item.name||key]=value}catch(e){throw e instanceof SerializerError?e:new SerializerError(schema.target.name,`Property '${key}' is wrong. ${e.message}`,e)}}else{res={};for(const key in obj)res[key]=this.toJSON(obj[key],{schemaName:schemaName})}}else res=obj;return res}}class JsonParser extends JsonTransform{static parse(data,options){const obj=JSON.parse(data);return this.fromJSON(obj,options)}static fromJSON(target,options){const targetSchema=options.targetSchema,schemaName=options.schemaName||"default",obj=new targetSchema;if(index_es_isConvertible(obj))return obj.fromJSON(target);const schema=index_es_schemaStorage.get(targetSchema),namedSchema=this.getSchemaByName(schema,schemaName),keyErrors={};options.strictProperty&&!Array.isArray(target)&&JsonParser.checkStrictProperty(target,namedSchema,schema);for(const key in namedSchema)try{const item=namedSchema[key],name=item.name||key,value=target[name];if(void 0===value&&(item.optional||void 0!==item.defaultValue))continue;if(!item.optional&&void 0===value)throw new ParserError(schema,`Property '${name}' is required.`);if(this.checkTypes(value,item),this.checkValues(value,item),"number"==typeof item.type)item.converter?item.repeated?obj[key]=value.map((el=>item.converter.fromJSON(el,obj))):obj[key]=item.converter.fromJSON(value,obj):obj[key]=value;else{const newOptions={...options,targetSchema:item.type,schemaName:schemaName};item.repeated?obj[key]=value.map((el=>this.fromJSON(el,newOptions))):obj[key]=this.fromJSON(value,newOptions)}}catch(e){if(e instanceof ParserError||(e=new ParserError(schema,`Property '${key}' is wrong. ${e.message}`,e)),!options.strictAllKeys)throw e;keyErrors[key]=e}const keys=Object.keys(keyErrors);if(keys.length)throw new KeyError(schema,keys,keyErrors);return obj}static checkStrictProperty(target,namedSchema,schema){const jsonProps=Object.keys(target),schemaProps=Object.keys(namedSchema),keys=[];for(const key of jsonProps)-1===schemaProps.indexOf(key)&&keys.push(key);if(keys.length)throw new KeyError(schema,keys)}}const JsonProp=(options={})=>(target,propertyKey)=>{const errorMessage=`Cannot set type for ${propertyKey} property of ${target.constructor.name} schema`;let schema;index_es_schemaStorage.has(target.constructor)?(schema=index_es_schemaStorage.get(target.constructor),schema.target!==target.constructor&&(schema=index_es_schemaStorage.create(target.constructor),index_es_schemaStorage.set(target.constructor,schema))):(schema=index_es_schemaStorage.create(target.constructor),index_es_schemaStorage.set(target.constructor,schema));const defaultSchema={type:JsonPropTypes.Any,validations:[]},copyOptions=Object.assign(defaultSchema,options);if(copyOptions.validations=function getValidations(item){const validations=[];return item.pattern&&validations.push(new PatternValidation(item.pattern)),item.type!==JsonPropTypes.Number&&item.type!==JsonPropTypes.Any||(void 0===item.minInclusive&&void 0===item.maxInclusive||validations.push(new InclusiveValidation(item.minInclusive,item.maxInclusive)),void 0===item.minExclusive&&void 0===item.maxExclusive||validations.push(new ExclusiveValidation(item.minExclusive,item.maxExclusive)),void 0!==item.enumeration&&validations.push(new EnumerationValidation(item.enumeration))),(item.type===JsonPropTypes.String||item.repeated||item.type===JsonPropTypes.Any)&&(void 0===item.length&&void 0===item.minLength&&void 0===item.maxLength||validations.push(new LengthValidation(item.length,item.minLength,item.maxLength))),validations}(copyOptions),"number"!=typeof copyOptions.type&&!index_es_schemaStorage.has(copyOptions.type)&&!index_es_isConvertible(copyOptions.type))throw new Error(`${errorMessage}. Assigning type doesn't have schema.`);let schemaNames;schemaNames=Array.isArray(options.schema)?options.schema:[options.schema||"default"];for(const schemaName of schemaNames){schema.names[schemaName]||(schema.names[schemaName]={});schema.names[schemaName][propertyKey]=copyOptions}};var webcrypto_core_es_Buffer=__webpack_require__(48764).Buffer;class CryptoError extends Error{}class AlgorithmError extends CryptoError{}class UnsupportedOperationError extends CryptoError{constructor(methodName){super("Unsupported operation: "+(methodName?`${methodName}`:""))}}class OperationError extends CryptoError{}class RequiredPropertyError extends CryptoError{constructor(propName){super(`${propName}: Missing required property`)}}class ProviderCrypto{async digest(...args){return this.checkDigest.apply(this,args),this.onDigest.apply(this,args)}checkDigest(algorithm,data){this.checkAlgorithmName(algorithm)}async onDigest(algorithm,data){throw new UnsupportedOperationError("digest")}async generateKey(...args){return this.checkGenerateKey.apply(this,args),this.onGenerateKey.apply(this,args)}checkGenerateKey(algorithm,extractable,keyUsages,...args){if(this.checkAlgorithmName(algorithm),this.checkGenerateKeyParams(algorithm),!keyUsages||!keyUsages.length)throw new TypeError("Usages cannot be empty when creating a key.");let allowedUsages;allowedUsages=Array.isArray(this.usages)?this.usages:this.usages.privateKey.concat(this.usages.publicKey),this.checkKeyUsages(keyUsages,allowedUsages)}checkGenerateKeyParams(algorithm){}async onGenerateKey(algorithm,extractable,keyUsages,...args){throw new UnsupportedOperationError("generateKey")}async sign(...args){return this.checkSign.apply(this,args),this.onSign.apply(this,args)}checkSign(algorithm,key,data,...args){this.checkAlgorithmName(algorithm),this.checkAlgorithmParams(algorithm),this.checkCryptoKey(key,"sign")}async onSign(algorithm,key,data,...args){throw new UnsupportedOperationError("sign")}async verify(...args){return this.checkVerify.apply(this,args),this.onVerify.apply(this,args)}checkVerify(algorithm,key,signature,data,...args){this.checkAlgorithmName(algorithm),this.checkAlgorithmParams(algorithm),this.checkCryptoKey(key,"verify")}async onVerify(algorithm,key,signature,data,...args){throw new UnsupportedOperationError("verify")}async encrypt(...args){return this.checkEncrypt.apply(this,args),this.onEncrypt.apply(this,args)}checkEncrypt(algorithm,key,data,options={},...args){this.checkAlgorithmName(algorithm),this.checkAlgorithmParams(algorithm),this.checkCryptoKey(key,options.keyUsage?"encrypt":void 0)}async onEncrypt(algorithm,key,data,...args){throw new UnsupportedOperationError("encrypt")}async decrypt(...args){return this.checkDecrypt.apply(this,args),this.onDecrypt.apply(this,args)}checkDecrypt(algorithm,key,data,options={},...args){this.checkAlgorithmName(algorithm),this.checkAlgorithmParams(algorithm),this.checkCryptoKey(key,options.keyUsage?"decrypt":void 0)}async onDecrypt(algorithm,key,data,...args){throw new UnsupportedOperationError("decrypt")}async deriveBits(...args){return this.checkDeriveBits.apply(this,args),this.onDeriveBits.apply(this,args)}checkDeriveBits(algorithm,baseKey,length,options={},...args){if(this.checkAlgorithmName(algorithm),this.checkAlgorithmParams(algorithm),this.checkCryptoKey(baseKey,options.keyUsage?"deriveBits":void 0),length%8!=0)throw new OperationError("length: Is not multiple of 8")}async onDeriveBits(algorithm,baseKey,length,...args){throw new UnsupportedOperationError("deriveBits")}async exportKey(...args){return this.checkExportKey.apply(this,args),this.onExportKey.apply(this,args)}checkExportKey(format,key,...args){if(this.checkKeyFormat(format),this.checkCryptoKey(key),!key.extractable)throw new CryptoError("key: Is not extractable")}async onExportKey(format,key,...args){throw new UnsupportedOperationError("exportKey")}async importKey(...args){return this.checkImportKey.apply(this,args),this.onImportKey.apply(this,args)}checkImportKey(format,keyData,algorithm,extractable,keyUsages,...args){this.checkKeyFormat(format),this.checkKeyData(format,keyData),this.checkAlgorithmName(algorithm),this.checkImportParams(algorithm),Array.isArray(this.usages)&&this.checkKeyUsages(keyUsages,this.usages)}async onImportKey(format,keyData,algorithm,extractable,keyUsages,...args){throw new UnsupportedOperationError("importKey")}checkAlgorithmName(algorithm){if(algorithm.name.toLowerCase()!==this.name.toLowerCase())throw new AlgorithmError("Unrecognized name")}checkAlgorithmParams(algorithm){}checkDerivedKeyParams(algorithm){}checkKeyUsages(usages,allowed){for(const usage of usages)if(-1===allowed.indexOf(usage))throw new TypeError("Cannot create a key using the specified key usages")}checkCryptoKey(key,keyUsage){if(this.checkAlgorithmName(key.algorithm),keyUsage&&-1===key.usages.indexOf(keyUsage))throw new CryptoError("key does not match that of operation")}checkRequiredProperty(data,propName){if(!(propName in data))throw new RequiredPropertyError(propName)}checkHashAlgorithm(algorithm,hashAlgorithms){for(const item of hashAlgorithms)if(item.toLowerCase()===algorithm.name.toLowerCase())return;throw new OperationError(`hash: Must be one of ${hashAlgorithms.join(", ")}`)}checkImportParams(algorithm){}checkKeyFormat(format){switch(format){case"raw":case"pkcs8":case"spki":case"jwk":break;default:throw new TypeError("format: Is invalid value. Must be 'jwk', 'raw', 'spki', or 'pkcs8'")}}checkKeyData(format,keyData){if(!keyData)throw new TypeError("keyData: Cannot be empty on empty on key importing");if("jwk"===format){if(!function isJWK(data){return"object"==typeof data&&"kty"in data}(keyData))throw new TypeError("keyData: Is not JsonWebToken")}else if(!build.BufferSourceConverter.isBufferSource(keyData))throw new TypeError("keyData: Is not ArrayBufferView or ArrayBuffer")}prepareData(data){return build.BufferSourceConverter.toArrayBuffer(data)}}class AesProvider extends ProviderCrypto{checkGenerateKeyParams(algorithm){if(this.checkRequiredProperty(algorithm,"length"),"number"!=typeof algorithm.length)throw new TypeError("length: Is not of type Number");switch(algorithm.length){case 128:case 192:case 256:break;default:throw new TypeError("length: Must be 128, 192, or 256")}}checkDerivedKeyParams(algorithm){this.checkGenerateKeyParams(algorithm)}}class webcrypto_core_es_AesCbcProvider extends AesProvider{constructor(){super(...arguments),this.name="AES-CBC",this.usages=["encrypt","decrypt","wrapKey","unwrapKey"]}checkAlgorithmParams(algorithm){if(this.checkRequiredProperty(algorithm,"iv"),!(algorithm.iv instanceof ArrayBuffer||ArrayBuffer.isView(algorithm.iv)))throw new TypeError("iv: Is not of type '(ArrayBuffer or ArrayBufferView)'");if(16!==algorithm.iv.byteLength)throw new TypeError("iv: Must have length 16 bytes")}}class webcrypto_core_es_AesCmacProvider extends AesProvider{constructor(){super(...arguments),this.name="AES-CMAC",this.usages=["sign","verify"]}checkAlgorithmParams(algorithm){if(this.checkRequiredProperty(algorithm,"length"),"number"!=typeof algorithm.length)throw new TypeError("length: Is not a Number");if(algorithm.length<1)throw new OperationError("length: Must be more than 0")}}class webcrypto_core_es_AesCtrProvider extends AesProvider{constructor(){super(...arguments),this.name="AES-CTR",this.usages=["encrypt","decrypt","wrapKey","unwrapKey"]}checkAlgorithmParams(algorithm){if(this.checkRequiredProperty(algorithm,"counter"),!(algorithm.counter instanceof ArrayBuffer||ArrayBuffer.isView(algorithm.counter)))throw new TypeError("counter: Is not of type '(ArrayBuffer or ArrayBufferView)'");if(16!==algorithm.counter.byteLength)throw new TypeError("iv: Must have length 16 bytes");if(this.checkRequiredProperty(algorithm,"length"),"number"!=typeof algorithm.length)throw new TypeError("length: Is not a Number");if(algorithm.length<1)throw new OperationError("length: Must be more than 0")}}class webcrypto_core_es_AesEcbProvider extends AesProvider{constructor(){super(...arguments),this.name="AES-ECB",this.usages=["encrypt","decrypt","wrapKey","unwrapKey"]}}class webcrypto_core_es_AesGcmProvider extends AesProvider{constructor(){super(...arguments),this.name="AES-GCM",this.usages=["encrypt","decrypt","wrapKey","unwrapKey"]}checkAlgorithmParams(algorithm){if(this.checkRequiredProperty(algorithm,"iv"),!(algorithm.iv instanceof ArrayBuffer||ArrayBuffer.isView(algorithm.iv)))throw new TypeError("iv: Is not of type '(ArrayBuffer or ArrayBufferView)'");if(algorithm.iv.byteLength<1)throw new OperationError("iv: Must have length more than 0 and less than 2^64 - 1");switch("tagLength"in algorithm||(algorithm.tagLength=128),algorithm.tagLength){case 32:case 64:case 96:case 104:case 112:case 120:case 128:break;default:throw new OperationError("tagLength: Must be one of 32, 64, 96, 104, 112, 120 or 128")}}}class webcrypto_core_es_AesKwProvider extends AesProvider{constructor(){super(...arguments),this.name="AES-KW",this.usages=["wrapKey","unwrapKey"]}}class DesProvider extends ProviderCrypto{constructor(){super(...arguments),this.usages=["encrypt","decrypt","wrapKey","unwrapKey"]}checkAlgorithmParams(algorithm){if(this.ivSize){if(this.checkRequiredProperty(algorithm,"iv"),!(algorithm.iv instanceof ArrayBuffer||ArrayBuffer.isView(algorithm.iv)))throw new TypeError("iv: Is not of type '(ArrayBuffer or ArrayBufferView)'");if(algorithm.iv.byteLength!==this.ivSize)throw new TypeError(`iv: Must have length ${this.ivSize} bytes`)}}checkGenerateKeyParams(algorithm){if(this.checkRequiredProperty(algorithm,"length"),"number"!=typeof algorithm.length)throw new TypeError("length: Is not of type Number");if(algorithm.length!==this.keySizeBits)throw new OperationError(`algorithm.length: Must be ${this.keySizeBits}`)}checkDerivedKeyParams(algorithm){this.checkGenerateKeyParams(algorithm)}}class RsaProvider extends ProviderCrypto{constructor(){super(...arguments),this.hashAlgorithms=["SHA-1","SHA-256","SHA-384","SHA-512"]}checkGenerateKeyParams(algorithm){if(this.checkRequiredProperty(algorithm,"hash"),this.checkHashAlgorithm(algorithm.hash,this.hashAlgorithms),this.checkRequiredProperty(algorithm,"publicExponent"),!(algorithm.publicExponent&&algorithm.publicExponent instanceof Uint8Array))throw new TypeError("publicExponent: Missing or not a Uint8Array");const publicExponent=build.Convert.ToBase64(algorithm.publicExponent);if("Aw=="!==publicExponent&&"AQAB"!==publicExponent)throw new TypeError("publicExponent: Must be [3] or [1,0,1]");if(this.checkRequiredProperty(algorithm,"modulusLength"),algorithm.modulusLength%8||algorithm.modulusLength<256||algorithm.modulusLength>16384)throw new TypeError("The modulus length must be a multiple of 8 bits and >= 256 and <= 16384")}checkImportParams(algorithm){this.checkRequiredProperty(algorithm,"hash"),this.checkHashAlgorithm(algorithm.hash,this.hashAlgorithms)}}class webcrypto_core_es_RsaSsaProvider extends RsaProvider{constructor(){super(...arguments),this.name="RSASSA-PKCS1-v1_5",this.usages={privateKey:["sign"],publicKey:["verify"]}}}class webcrypto_core_es_RsaPssProvider extends RsaProvider{constructor(){super(...arguments),this.name="RSA-PSS",this.usages={privateKey:["sign"],publicKey:["verify"]}}checkAlgorithmParams(algorithm){if(this.checkRequiredProperty(algorithm,"saltLength"),"number"!=typeof algorithm.saltLength)throw new TypeError("saltLength: Is not a Number");if(algorithm.saltLength<0)throw new RangeError("saltLength: Must be positive number")}}class webcrypto_core_es_RsaOaepProvider extends RsaProvider{constructor(){super(...arguments),this.name="RSA-OAEP",this.usages={privateKey:["decrypt","unwrapKey"],publicKey:["encrypt","wrapKey"]}}checkAlgorithmParams(algorithm){if(algorithm.label&&!(algorithm.label instanceof ArrayBuffer||ArrayBuffer.isView(algorithm.label)))throw new TypeError("label: Is not of type '(ArrayBuffer or ArrayBufferView)'")}}class EllipticProvider extends ProviderCrypto{checkGenerateKeyParams(algorithm){this.checkRequiredProperty(algorithm,"namedCurve"),this.checkNamedCurve(algorithm.namedCurve)}checkNamedCurve(namedCurve){for(const item of this.namedCurves)if(item.toLowerCase()===namedCurve.toLowerCase())return;throw new OperationError(`namedCurve: Must be one of ${this.namedCurves.join(", ")}`)}}class webcrypto_core_es_EcdsaProvider extends EllipticProvider{constructor(){super(...arguments),this.name="ECDSA",this.hashAlgorithms=["SHA-1","SHA-256","SHA-384","SHA-512"],this.usages={privateKey:["sign"],publicKey:["verify"]},this.namedCurves=["P-256","P-384","P-521","K-256"]}checkAlgorithmParams(algorithm){this.checkRequiredProperty(algorithm,"hash"),this.checkHashAlgorithm(algorithm.hash,this.hashAlgorithms)}}const KEY_TYPES=["secret","private","public"];class webcrypto_core_es_CryptoKey{static create(algorithm,type,extractable,usages){const key=new this;return key.algorithm=algorithm,key.type=type,key.extractable=extractable,key.usages=usages,key}static isKeyType(data){return-1!==KEY_TYPES.indexOf(data)}get[Symbol.toStringTag](){return"CryptoKey"}}class webcrypto_core_es_EcdhProvider extends EllipticProvider{constructor(){super(...arguments),this.name="ECDH",this.usages={privateKey:["deriveBits","deriveKey"],publicKey:[]},this.namedCurves=["P-256","P-384","P-521","K-256"]}checkAlgorithmParams(algorithm){if(this.checkRequiredProperty(algorithm,"public"),!(algorithm.public instanceof webcrypto_core_es_CryptoKey))throw new TypeError("public: Is not a CryptoKey");if("public"!==algorithm.public.type)throw new OperationError("public: Is not a public key");if(algorithm.public.algorithm.name!==this.name)throw new OperationError(`public: Is not ${this.name} key`)}}class webcrypto_core_es_EcdhEsProvider extends webcrypto_core_es_EcdhProvider{constructor(){super(...arguments),this.name="ECDH-ES",this.namedCurves=["X25519","X448"]}}class webcrypto_core_es_EdDsaProvider extends EllipticProvider{constructor(){super(...arguments),this.name="EdDSA",this.usages={privateKey:["sign"],publicKey:["verify"]},this.namedCurves=["Ed25519","Ed448"]}}let webcrypto_core_es_ObjectIdentifier=class ObjectIdentifier{constructor(value){value&&(this.value=value)}};__decorate([AsnProp({type:AsnPropTypes.ObjectIdentifier})],webcrypto_core_es_ObjectIdentifier.prototype,"value",void 0),webcrypto_core_es_ObjectIdentifier=__decorate([AsnType({type:AsnTypeTypes.Choice})],webcrypto_core_es_ObjectIdentifier);class AlgorithmIdentifier{constructor(params){Object.assign(this,params)}}__decorate([AsnProp({type:AsnPropTypes.ObjectIdentifier})],AlgorithmIdentifier.prototype,"algorithm",void 0),__decorate([AsnProp({type:AsnPropTypes.Any,optional:!0})],AlgorithmIdentifier.prototype,"parameters",void 0);class PrivateKeyInfo{constructor(){this.version=0,this.privateKeyAlgorithm=new AlgorithmIdentifier,this.privateKey=new ArrayBuffer(0)}}__decorate([AsnProp({type:AsnPropTypes.Integer})],PrivateKeyInfo.prototype,"version",void 0),__decorate([AsnProp({type:AlgorithmIdentifier})],PrivateKeyInfo.prototype,"privateKeyAlgorithm",void 0),__decorate([AsnProp({type:AsnPropTypes.OctetString})],PrivateKeyInfo.prototype,"privateKey",void 0),__decorate([AsnProp({type:AsnPropTypes.Any,optional:!0})],PrivateKeyInfo.prototype,"attributes",void 0);class PublicKeyInfo{constructor(){this.publicKeyAlgorithm=new AlgorithmIdentifier,this.publicKey=new ArrayBuffer(0)}}__decorate([AsnProp({type:AlgorithmIdentifier})],PublicKeyInfo.prototype,"publicKeyAlgorithm",void 0),__decorate([AsnProp({type:AsnPropTypes.BitString})],PublicKeyInfo.prototype,"publicKey",void 0);const JsonBase64UrlArrayBufferConverter={fromJSON:value=>build.Convert.FromBase64Url(value),toJSON:value=>build.Convert.ToBase64Url(new Uint8Array(value))},webcrypto_core_es_AsnIntegerArrayBufferConverter={fromASN:value=>{const valueHex=value.valueBlock.valueHex;return new Uint8Array(valueHex)[0]?value.valueBlock.valueHex:value.valueBlock.valueHex.slice(1)},toASN:value=>{const valueHex=new Uint8Array(value)[0]>127?webcrypto_core_es_Buffer.concat([webcrypto_core_es_Buffer.from([0]),webcrypto_core_es_Buffer.from(value)]):webcrypto_core_es_Buffer.from(value);return new Integer({valueHex:new Uint8Array(valueHex).buffer})}};class RsaPrivateKey{constructor(){this.version=0,this.modulus=new ArrayBuffer(0),this.publicExponent=new ArrayBuffer(0),this.privateExponent=new ArrayBuffer(0),this.prime1=new ArrayBuffer(0),this.prime2=new ArrayBuffer(0),this.exponent1=new ArrayBuffer(0),this.exponent2=new ArrayBuffer(0),this.coefficient=new ArrayBuffer(0)}}__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerConverter})],RsaPrivateKey.prototype,"version",void 0),__decorate([AsnProp({type:AsnPropTypes.Integer,converter:webcrypto_core_es_AsnIntegerArrayBufferConverter}),JsonProp({name:"n",converter:JsonBase64UrlArrayBufferConverter})],RsaPrivateKey.prototype,"modulus",void 0),__decorate([AsnProp({type:AsnPropTypes.Integer,converter:webcrypto_core_es_AsnIntegerArrayBufferConverter}),JsonProp({name:"e",converter:JsonBase64UrlArrayBufferConverter})],RsaPrivateKey.prototype,"publicExponent",void 0),__decorate([AsnProp({type:AsnPropTypes.Integer,converter:webcrypto_core_es_AsnIntegerArrayBufferConverter}),JsonProp({name:"d",converter:JsonBase64UrlArrayBufferConverter})],RsaPrivateKey.prototype,"privateExponent",void 0),__decorate([AsnProp({type:AsnPropTypes.Integer,converter:webcrypto_core_es_AsnIntegerArrayBufferConverter}),JsonProp({name:"p",converter:JsonBase64UrlArrayBufferConverter})],RsaPrivateKey.prototype,"prime1",void 0),__decorate([AsnProp({type:AsnPropTypes.Integer,converter:webcrypto_core_es_AsnIntegerArrayBufferConverter}),JsonProp({name:"q",converter:JsonBase64UrlArrayBufferConverter})],RsaPrivateKey.prototype,"prime2",void 0),__decorate([AsnProp({type:AsnPropTypes.Integer,converter:webcrypto_core_es_AsnIntegerArrayBufferConverter}),JsonProp({name:"dp",converter:JsonBase64UrlArrayBufferConverter})],RsaPrivateKey.prototype,"exponent1",void 0),__decorate([AsnProp({type:AsnPropTypes.Integer,converter:webcrypto_core_es_AsnIntegerArrayBufferConverter}),JsonProp({name:"dq",converter:JsonBase64UrlArrayBufferConverter})],RsaPrivateKey.prototype,"exponent2",void 0),__decorate([AsnProp({type:AsnPropTypes.Integer,converter:webcrypto_core_es_AsnIntegerArrayBufferConverter}),JsonProp({name:"qi",converter:JsonBase64UrlArrayBufferConverter})],RsaPrivateKey.prototype,"coefficient",void 0),__decorate([AsnProp({type:AsnPropTypes.Any,optional:!0})],RsaPrivateKey.prototype,"otherPrimeInfos",void 0);class RsaPublicKey{constructor(){this.modulus=new ArrayBuffer(0),this.publicExponent=new ArrayBuffer(0)}}__decorate([AsnProp({type:AsnPropTypes.Integer,converter:webcrypto_core_es_AsnIntegerArrayBufferConverter}),JsonProp({name:"n",converter:JsonBase64UrlArrayBufferConverter})],RsaPublicKey.prototype,"modulus",void 0),__decorate([AsnProp({type:AsnPropTypes.Integer,converter:webcrypto_core_es_AsnIntegerArrayBufferConverter}),JsonProp({name:"e",converter:JsonBase64UrlArrayBufferConverter})],RsaPublicKey.prototype,"publicExponent",void 0);let EcPublicKey=class EcPublicKey{constructor(value){this.value=new ArrayBuffer(0),value&&(this.value=value)}toJSON(){let bytes=new Uint8Array(this.value);if(4!==bytes[0])throw new CryptoError("Wrong ECPoint. Current version supports only Uncompressed (0x04) point");bytes=new Uint8Array(this.value.slice(1));const size=bytes.length/2;return{x:build.Convert.ToBase64Url(bytes.buffer.slice(0,0+size)),y:build.Convert.ToBase64Url(bytes.buffer.slice(0+size,0+size+size))}}fromJSON(json){if(!("x"in json))throw new Error("x: Missing required property");if(!("y"in json))throw new Error("y: Missing required property");const x=build.Convert.FromBase64Url(json.x),y=build.Convert.FromBase64Url(json.y),value=webcrypto_core_es_Buffer.concat([new Uint8Array([4]),new Uint8Array(x),new Uint8Array(y)]);return this.value=new Uint8Array(value).buffer,this}};__decorate([AsnProp({type:AsnPropTypes.OctetString})],EcPublicKey.prototype,"value",void 0),EcPublicKey=__decorate([AsnType({type:AsnTypeTypes.Choice})],EcPublicKey);class EcPrivateKey{constructor(){this.version=1,this.privateKey=new ArrayBuffer(0)}fromJSON(json){if(!("d"in json))throw new Error("d: Missing required property");if(this.privateKey=build.Convert.FromBase64Url(json.d),"x"in json){const publicKey=new EcPublicKey;publicKey.fromJSON(json),this.publicKey=AsnSerializer.toASN(publicKey).valueBlock.valueHex}return this}toJSON(){const jwk={};return jwk.d=build.Convert.ToBase64Url(this.privateKey),this.publicKey&&Object.assign(jwk,new EcPublicKey(this.publicKey).toJSON()),jwk}}__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerConverter})],EcPrivateKey.prototype,"version",void 0),__decorate([AsnProp({type:AsnPropTypes.OctetString})],EcPrivateKey.prototype,"privateKey",void 0),__decorate([AsnProp({context:0,type:AsnPropTypes.Any,optional:!0})],EcPrivateKey.prototype,"parameters",void 0),__decorate([AsnProp({context:1,type:AsnPropTypes.BitString,optional:!0})],EcPrivateKey.prototype,"publicKey",void 0);const AsnIntegerWithoutPaddingConverter={fromASN:value=>{const bytes=new Uint8Array(value.valueBlock.valueHex);return 0===bytes[0]?bytes.buffer.slice(1):bytes.buffer},toASN:value=>{const bytes=new Uint8Array(value);if(bytes[0]>127){const newValue=new Uint8Array(bytes.length+1);return newValue.set(bytes,1),new Integer({valueHex:newValue.buffer})}return new Integer({valueHex:value})}};var index$2=Object.freeze({__proto__:null,AsnIntegerWithoutPaddingConverter:AsnIntegerWithoutPaddingConverter});class EcUtils{static decodePoint(data,pointSize){const view=build.BufferSourceConverter.toUint8Array(data);if(0===view.length||4!==view[0])throw new Error("Only uncompressed point format supported");const n=(view.length-1)/2;if(n!==Math.ceil(pointSize/8))throw new Error("Point does not match field size");return{x:view.slice(1,n+1),y:view.slice(n+1,n+1+n)}}static encodePoint(point,pointSize){const size=Math.ceil(pointSize/8);if(point.x.byteLength!==size||point.y.byteLength!==size)throw new Error("X,Y coordinates don't match point size criteria");const x=build.BufferSourceConverter.toUint8Array(point.x),y=build.BufferSourceConverter.toUint8Array(point.y),res=new Uint8Array(2*size+1);return res[0]=4,res.set(x,1),res.set(y,size+1),res}static getSize(pointSize){return Math.ceil(pointSize/8)}static encodeSignature(signature,pointSize){const size=this.getSize(pointSize),r=build.BufferSourceConverter.toUint8Array(signature.r),s=build.BufferSourceConverter.toUint8Array(signature.s),res=new Uint8Array(2*size);return res.set(this.padStart(r,size)),res.set(this.padStart(s,size),size),res}static decodeSignature(data,pointSize){const size=this.getSize(pointSize),view=build.BufferSourceConverter.toUint8Array(data);if(view.length!==2*size)throw new Error("Incorrect size of the signature");const r=view.slice(0,size),s=view.slice(size);return{r:this.trimStart(r),s:this.trimStart(s)}}static trimStart(data){let i=0;for(;i<data.length-1&&0===data[i];)i++;return 0===i?data:data.slice(i,data.length)}static padStart(data,size){if(size===data.length)return data;const res=new Uint8Array(size);return res.set(data,size-data.length),res}}class EcDsaSignature{constructor(){this.r=new ArrayBuffer(0),this.s=new ArrayBuffer(0)}static fromWebCryptoSignature(value){const pointSize=value.byteLength/2,point=EcUtils.decodeSignature(value,8*pointSize),ecSignature=new EcDsaSignature;return ecSignature.r=build.BufferSourceConverter.toArrayBuffer(point.r),ecSignature.s=build.BufferSourceConverter.toArrayBuffer(point.s),ecSignature}toWebCryptoSignature(pointSize){null!=pointSize||(pointSize=8*Math.max(this.r.byteLength,this.s.byteLength));return EcUtils.encodeSignature(this,pointSize).buffer}}__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerWithoutPaddingConverter})],EcDsaSignature.prototype,"r",void 0),__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerWithoutPaddingConverter})],EcDsaSignature.prototype,"s",void 0);let CurvePrivateKey=class CurvePrivateKey{};__decorate([AsnProp({type:AsnPropTypes.OctetString}),JsonProp({type:JsonPropTypes.String,converter:JsonBase64UrlArrayBufferConverter})],CurvePrivateKey.prototype,"d",void 0),CurvePrivateKey=__decorate([AsnType({type:AsnTypeTypes.Choice})],CurvePrivateKey);const idVersionOne="1.3.36.3.3.2.8.1.1",idBrainpoolP160r1=`${idVersionOne}.1`,idBrainpoolP160t1=`${idVersionOne}.2`,idBrainpoolP192r1=`${idVersionOne}.3`,idBrainpoolP192t1=`${idVersionOne}.4`,idBrainpoolP224r1=`${idVersionOne}.5`,idBrainpoolP224t1=`${idVersionOne}.6`,idBrainpoolP256r1=`${idVersionOne}.7`,idBrainpoolP256t1=`${idVersionOne}.8`,idBrainpoolP320r1=`${idVersionOne}.9`,idBrainpoolP320t1=`${idVersionOne}.10`,idBrainpoolP384r1=`${idVersionOne}.11`,idBrainpoolP384t1=`${idVersionOne}.12`,idBrainpoolP512r1=`${idVersionOne}.13`,idBrainpoolP512t1=`${idVersionOne}.14`;var index$1=Object.freeze({__proto__:null,converters:index$2,get ObjectIdentifier(){return webcrypto_core_es_ObjectIdentifier},AlgorithmIdentifier:AlgorithmIdentifier,PrivateKeyInfo:PrivateKeyInfo,PublicKeyInfo:PublicKeyInfo,RsaPrivateKey:RsaPrivateKey,RsaPublicKey:RsaPublicKey,EcPrivateKey:EcPrivateKey,get EcPublicKey(){return EcPublicKey},EcDsaSignature:EcDsaSignature,get CurvePrivateKey(){return CurvePrivateKey},idSecp256r1:"1.2.840.10045.3.1.7",idEllipticCurve:"1.3.132.0",idSecp384r1:"1.3.132.0.34",idSecp521r1:"1.3.132.0.35",idSecp256k1:"1.3.132.0.10",idVersionOne:idVersionOne,idBrainpoolP160r1:idBrainpoolP160r1,idBrainpoolP160t1:idBrainpoolP160t1,idBrainpoolP192r1:idBrainpoolP192r1,idBrainpoolP192t1:idBrainpoolP192t1,idBrainpoolP224r1:idBrainpoolP224r1,idBrainpoolP224t1:idBrainpoolP224t1,idBrainpoolP256r1:idBrainpoolP256r1,idBrainpoolP256t1:idBrainpoolP256t1,idBrainpoolP320r1:idBrainpoolP320r1,idBrainpoolP320t1:idBrainpoolP320t1,idBrainpoolP384r1:idBrainpoolP384r1,idBrainpoolP384t1:idBrainpoolP384t1,idBrainpoolP512r1:idBrainpoolP512r1,idBrainpoolP512t1:idBrainpoolP512t1,idX25519:"1.3.101.110",idX448:"1.3.101.111",idEd25519:"1.3.101.112",idEd448:"1.3.101.113"});class EcCurves{constructor(){}static register(item){const oid=new webcrypto_core_es_ObjectIdentifier;oid.value=item.id;const raw=AsnConvert.serialize(oid);this.items.push({...item,raw:raw}),this.names.push(item.name)}static find(nameOrId){nameOrId=nameOrId.toUpperCase();for(const item of this.items)if(item.name.toUpperCase()===nameOrId||item.id.toUpperCase()===nameOrId)return item;return null}static get(nameOrId){const res=this.find(nameOrId);if(!res)throw new Error(`Unsupported EC named curve '${nameOrId}'`);return res}}EcCurves.items=[],EcCurves.names=[],EcCurves.register({name:"P-256",id:"1.2.840.10045.3.1.7",size:256}),EcCurves.register({name:"P-384",id:"1.3.132.0.34",size:384}),EcCurves.register({name:"P-521",id:"1.3.132.0.35",size:521}),EcCurves.register({name:"K-256",id:"1.3.132.0.10",size:256}),EcCurves.register({name:"brainpoolP160r1",id:idBrainpoolP160r1,size:160}),EcCurves.register({name:"brainpoolP160t1",id:idBrainpoolP160t1,size:160}),EcCurves.register({name:"brainpoolP192r1",id:idBrainpoolP192r1,size:192}),EcCurves.register({name:"brainpoolP192t1",id:idBrainpoolP192t1,size:192}),EcCurves.register({name:"brainpoolP224r1",id:idBrainpoolP224r1,size:224}),EcCurves.register({name:"brainpoolP224t1",id:idBrainpoolP224t1,size:224}),EcCurves.register({name:"brainpoolP256r1",id:idBrainpoolP256r1,size:256}),EcCurves.register({name:"brainpoolP256t1",id:idBrainpoolP256t1,size:256}),EcCurves.register({name:"brainpoolP320r1",id:idBrainpoolP320r1,size:320}),EcCurves.register({name:"brainpoolP320t1",id:idBrainpoolP320t1,size:320}),EcCurves.register({name:"brainpoolP384r1",id:idBrainpoolP384r1,size:384}),EcCurves.register({name:"brainpoolP384t1",id:idBrainpoolP384t1,size:384}),EcCurves.register({name:"brainpoolP512r1",id:idBrainpoolP512r1,size:512}),EcCurves.register({name:"brainpoolP512t1",id:idBrainpoolP512t1,size:512});class webcrypto_core_es_HmacProvider extends ProviderCrypto{constructor(){super(...arguments),this.name="HMAC",this.hashAlgorithms=["SHA-1","SHA-256","SHA-384","SHA-512"],this.usages=["sign","verify"]}getDefaultLength(algName){switch(algName.toUpperCase()){case"SHA-1":case"SHA-256":case"SHA-384":case"SHA-512":return 512;default:throw new Error(`Unknown algorithm name '${algName}'`)}}checkGenerateKeyParams(algorithm){if(this.checkRequiredProperty(algorithm,"hash"),this.checkHashAlgorithm(algorithm.hash,this.hashAlgorithms),"length"in algorithm){if("number"!=typeof algorithm.length)throw new TypeError("length: Is not a Number");if(algorithm.length<1)throw new RangeError("length: Number is out of range")}}checkImportParams(algorithm){this.checkRequiredProperty(algorithm,"hash"),this.checkHashAlgorithm(algorithm.hash,this.hashAlgorithms)}}class webcrypto_core_es_Pbkdf2Provider extends ProviderCrypto{constructor(){super(...arguments),this.name="PBKDF2",this.hashAlgorithms=["SHA-1","SHA-256","SHA-384","SHA-512"],this.usages=["deriveBits","deriveKey"]}checkAlgorithmParams(algorithm){if(this.checkRequiredProperty(algorithm,"hash"),this.checkHashAlgorithm(algorithm.hash,this.hashAlgorithms),this.checkRequiredProperty(algorithm,"salt"),!(algorithm.salt instanceof ArrayBuffer||ArrayBuffer.isView(algorithm.salt)))throw new TypeError("salt: Is not of type '(ArrayBuffer or ArrayBufferView)'");if(this.checkRequiredProperty(algorithm,"iterations"),"number"!=typeof algorithm.iterations)throw new TypeError("iterations: Is not a Number");if(algorithm.iterations<1)throw new TypeError("iterations: Is less than 1")}checkImportKey(format,keyData,algorithm,extractable,keyUsages,...args){if(super.checkImportKey(format,keyData,algorithm,extractable,keyUsages),extractable)throw new SyntaxError("extractable: Must be 'false'")}}class webcrypto_core_es_HkdfProvider extends ProviderCrypto{constructor(){super(...arguments),this.name="HKDF",this.hashAlgorithms=["SHA-1","SHA-256","SHA-384","SHA-512"],this.usages=["deriveKey","deriveBits"]}checkAlgorithmParams(algorithm){if(this.checkRequiredProperty(algorithm,"hash"),this.checkHashAlgorithm(algorithm.hash,this.hashAlgorithms),this.checkRequiredProperty(algorithm,"salt"),!build.BufferSourceConverter.isBufferSource(algorithm.salt))throw new TypeError("salt: Is not of type '(ArrayBuffer or ArrayBufferView)'");if(this.checkRequiredProperty(algorithm,"info"),!build.BufferSourceConverter.isBufferSource(algorithm.info))throw new TypeError("salt: Is not of type '(ArrayBuffer or ArrayBufferView)'")}checkImportKey(format,keyData,algorithm,extractable,keyUsages,...args){if(super.checkImportKey(format,keyData,algorithm,extractable,keyUsages),extractable)throw new SyntaxError("extractable: Must be 'false'")}}class webcrypto_core_es_Crypto{get[Symbol.toStringTag](){return"Crypto"}}class ProviderStorage{constructor(){this.items={}}get(algorithmName){return this.items[algorithmName.toLowerCase()]||null}set(provider){this.items[provider.name.toLowerCase()]=provider}removeAt(algorithmName){const provider=this.get(algorithmName.toLowerCase());return provider&&delete this.items[algorithmName],provider}has(name){return!!this.get(name)}get length(){return Object.keys(this.items).length}get algorithms(){const algorithms=[];for(const key in this.items){const provider=this.items[key];algorithms.push(provider.name)}return algorithms.sort()}}class webcrypto_core_es_SubtleCrypto{constructor(){this.providers=new ProviderStorage}static isHashedAlgorithm(data){return!!(data&&"object"==typeof data&&"name"in data&&"hash"in data)}get[Symbol.toStringTag](){return"SubtleCrypto"}async digest(...args){this.checkRequiredArguments(args,2,"digest");const[algorithm,data,...params]=args,preparedAlgorithm=this.prepareAlgorithm(algorithm),preparedData=build.BufferSourceConverter.toArrayBuffer(data),provider=this.getProvider(preparedAlgorithm.name);return await provider.digest(preparedAlgorithm,preparedData,...params)}async generateKey(...args){this.checkRequiredArguments(args,3,"generateKey");const[algorithm,extractable,keyUsages,...params]=args,preparedAlgorithm=this.prepareAlgorithm(algorithm),provider=this.getProvider(preparedAlgorithm.name);return await provider.generateKey({...preparedAlgorithm,name:provider.name},extractable,keyUsages,...params)}async sign(...args){this.checkRequiredArguments(args,3,"sign");const[algorithm,key,data,...params]=args;this.checkCryptoKey(key);const preparedAlgorithm=this.prepareAlgorithm(algorithm),preparedData=build.BufferSourceConverter.toArrayBuffer(data),provider=this.getProvider(preparedAlgorithm.name);return await provider.sign({...preparedAlgorithm,name:provider.name},key,preparedData,...params)}async verify(...args){this.checkRequiredArguments(args,4,"verify");const[algorithm,key,signature,data,...params]=args;this.checkCryptoKey(key);const preparedAlgorithm=this.prepareAlgorithm(algorithm),preparedData=build.BufferSourceConverter.toArrayBuffer(data),preparedSignature=build.BufferSourceConverter.toArrayBuffer(signature),provider=this.getProvider(preparedAlgorithm.name);return await provider.verify({...preparedAlgorithm,name:provider.name},key,preparedSignature,preparedData,...params)}async encrypt(...args){this.checkRequiredArguments(args,3,"encrypt");const[algorithm,key,data,...params]=args;this.checkCryptoKey(key);const preparedAlgorithm=this.prepareAlgorithm(algorithm),preparedData=build.BufferSourceConverter.toArrayBuffer(data),provider=this.getProvider(preparedAlgorithm.name);return await provider.encrypt({...preparedAlgorithm,name:provider.name},key,preparedData,{keyUsage:!0},...params)}async decrypt(...args){this.checkRequiredArguments(args,3,"decrypt");const[algorithm,key,data,...params]=args;this.checkCryptoKey(key);const preparedAlgorithm=this.prepareAlgorithm(algorithm),preparedData=build.BufferSourceConverter.toArrayBuffer(data),provider=this.getProvider(preparedAlgorithm.name);return await provider.decrypt({...preparedAlgorithm,name:provider.name},key,preparedData,{keyUsage:!0},...params)}async deriveBits(...args){this.checkRequiredArguments(args,3,"deriveBits");const[algorithm,baseKey,length,...params]=args;this.checkCryptoKey(baseKey);const preparedAlgorithm=this.prepareAlgorithm(algorithm),provider=this.getProvider(preparedAlgorithm.name);return await provider.deriveBits({...preparedAlgorithm,name:provider.name},baseKey,length,{keyUsage:!0},...params)}async deriveKey(...args){this.checkRequiredArguments(args,5,"deriveKey");const[algorithm,baseKey,derivedKeyType,extractable,keyUsages,...params]=args,preparedDerivedKeyType=this.prepareAlgorithm(derivedKeyType);this.getProvider(preparedDerivedKeyType.name).checkDerivedKeyParams(preparedDerivedKeyType);const preparedAlgorithm=this.prepareAlgorithm(algorithm),provider=this.getProvider(preparedAlgorithm.name);provider.checkCryptoKey(baseKey,"deriveKey");const derivedBits=await provider.deriveBits({...preparedAlgorithm,name:provider.name},baseKey,derivedKeyType.length||512,{keyUsage:!1},...params);return this.importKey("raw",derivedBits,derivedKeyType,extractable,keyUsages,...params)}async exportKey(...args){this.checkRequiredArguments(args,2,"exportKey");const[format,key,...params]=args;this.checkCryptoKey(key);const provider=this.getProvider(key.algorithm.name);return await provider.exportKey(format,key,...params)}async importKey(...args){this.checkRequiredArguments(args,5,"importKey");const[format,keyData,algorithm,extractable,keyUsages,...params]=args,preparedAlgorithm=this.prepareAlgorithm(algorithm),provider=this.getProvider(preparedAlgorithm.name);if(-1!==["pkcs8","spki","raw"].indexOf(format)){const preparedData=build.BufferSourceConverter.toArrayBuffer(keyData);return provider.importKey(format,preparedData,{...preparedAlgorithm,name:provider.name},extractable,keyUsages,...params)}if(!keyData.kty)throw new TypeError("keyData: Is not JSON");return provider.importKey(format,keyData,{...preparedAlgorithm,name:provider.name},extractable,keyUsages,...params)}async wrapKey(format,key,wrappingKey,wrapAlgorithm,...args){let keyData=await this.exportKey(format,key,...args);if("jwk"===format){const json=JSON.stringify(keyData);keyData=build.Convert.FromUtf8String(json)}const preparedAlgorithm=this.prepareAlgorithm(wrapAlgorithm),preparedData=build.BufferSourceConverter.toArrayBuffer(keyData),provider=this.getProvider(preparedAlgorithm.name);return provider.encrypt({...preparedAlgorithm,name:provider.name},wrappingKey,preparedData,{keyUsage:!1},...args)}async unwrapKey(format,wrappedKey,unwrappingKey,unwrapAlgorithm,unwrappedKeyAlgorithm,extractable,keyUsages,...args){const preparedAlgorithm=this.prepareAlgorithm(unwrapAlgorithm),preparedData=build.BufferSourceConverter.toArrayBuffer(wrappedKey),provider=this.getProvider(preparedAlgorithm.name);let keyData=await provider.decrypt({...preparedAlgorithm,name:provider.name},unwrappingKey,preparedData,{keyUsage:!1},...args);if("jwk"===format)try{keyData=JSON.parse(build.Convert.ToUtf8String(keyData))}catch(e){const error=new TypeError("wrappedKey: Is not a JSON");throw error.internal=e,error}return this.importKey(format,keyData,unwrappedKeyAlgorithm,extractable,keyUsages,...args)}checkRequiredArguments(args,size,methodName){if(args.length<size)throw new TypeError(`Failed to execute '${methodName}' on 'SubtleCrypto': ${size} arguments required, but only ${args.length} present`)}prepareAlgorithm(algorithm){if("string"==typeof algorithm)return{name:algorithm};if(webcrypto_core_es_SubtleCrypto.isHashedAlgorithm(algorithm)){const preparedAlgorithm={...algorithm};return preparedAlgorithm.hash=this.prepareAlgorithm(algorithm.hash),preparedAlgorithm}return{...algorithm}}getProvider(name){const provider=this.providers.get(name);if(!provider)throw new AlgorithmError("Unrecognized name");return provider}checkCryptoKey(key){if(!(key instanceof webcrypto_core_es_CryptoKey))throw new TypeError("Key is not of type 'CryptoKey'")}}var crypto_browserify=__webpack_require__(55835),browser=__webpack_require__(34155),webcrypto_es_Buffer=__webpack_require__(48764).Buffer;const JsonBase64UrlConverter={fromJSON:value=>webcrypto_es_Buffer.from(build.Convert.FromBase64Url(value)),toJSON:value=>build.Convert.ToBase64Url(value)};class CryptoKey extends webcrypto_core_es_CryptoKey{constructor(){super(...arguments),this.data=webcrypto_es_Buffer.alloc(0),this.algorithm={name:""},this.extractable=!1,this.type="secret",this.usages=[],this.kty="oct",this.alg=""}}__decorate([JsonProp({name:"ext",type:JsonPropTypes.Boolean,optional:!0})],CryptoKey.prototype,"extractable",void 0),__decorate([JsonProp({name:"key_ops",type:JsonPropTypes.String,repeated:!0,optional:!0})],CryptoKey.prototype,"usages",void 0),__decorate([JsonProp({type:JsonPropTypes.String})],CryptoKey.prototype,"kty",void 0),__decorate([JsonProp({type:JsonPropTypes.String,optional:!0})],CryptoKey.prototype,"alg",void 0);class SymmetricKey extends CryptoKey{constructor(){super(...arguments),this.kty="oct",this.type="secret"}}class AsymmetricKey extends CryptoKey{}class AesCryptoKey extends SymmetricKey{get alg(){switch(this.algorithm.name.toUpperCase()){case"AES-CBC":return`A${this.algorithm.length}CBC`;case"AES-CTR":return`A${this.algorithm.length}CTR`;case"AES-GCM":return`A${this.algorithm.length}GCM`;case"AES-KW":return`A${this.algorithm.length}KW`;case"AES-CMAC":return`A${this.algorithm.length}CMAC`;case"AES-ECB":return`A${this.algorithm.length}ECB`;default:throw new AlgorithmError("Unsupported algorithm name")}}set alg(value){}}__decorate([JsonProp({name:"k",converter:JsonBase64UrlConverter})],AesCryptoKey.prototype,"data",void 0);const keyStorage=new WeakMap;function getCryptoKey(key){const res=keyStorage.get(key);if(!res)throw new OperationError("Cannot get CryptoKey from secure storage");return res}function setCryptoKey(value){const key=webcrypto_core_es_CryptoKey.create(value.algorithm,value.type,value.extractable,value.usages);return Object.freeze(key),keyStorage.set(key,value),key}class AesCrypto{static async generateKey(algorithm,extractable,keyUsages){const key=new AesCryptoKey;return key.algorithm=algorithm,key.extractable=extractable,key.usages=keyUsages,key.data=crypto_browserify.randomBytes(algorithm.length>>3),key}static async exportKey(format,key){if(!(key instanceof AesCryptoKey))throw new Error("key: Is not AesCryptoKey");switch(format.toLowerCase()){case"jwk":return JsonSerializer.toJSON(key);case"raw":return new Uint8Array(key.data).buffer;default:throw new OperationError("format: Must be 'jwk' or 'raw'")}}static async importKey(format,keyData,algorithm,extractable,keyUsages){let key;switch(format.toLowerCase()){case"jwk":key=JsonParser.fromJSON(keyData,{targetSchema:AesCryptoKey});break;case"raw":key=new AesCryptoKey,key.data=webcrypto_es_Buffer.from(keyData);break;default:throw new OperationError("format: Must be 'jwk' or 'raw'")}switch(key.algorithm=algorithm,key.algorithm.length=key.data.length<<3,key.extractable=extractable,key.usages=keyUsages,key.algorithm.length){case 128:case 192:case 256:break;default:throw new OperationError("keyData: Is wrong key length")}return key}static async encrypt(algorithm,key,data){switch(algorithm.name.toUpperCase()){case"AES-CBC":return this.encryptAesCBC(algorithm,key,webcrypto_es_Buffer.from(data));case"AES-CTR":return this.encryptAesCTR(algorithm,key,webcrypto_es_Buffer.from(data));case"AES-GCM":return this.encryptAesGCM(algorithm,key,webcrypto_es_Buffer.from(data));case"AES-KW":return this.encryptAesKW(algorithm,key,webcrypto_es_Buffer.from(data));case"AES-ECB":return this.encryptAesECB(algorithm,key,webcrypto_es_Buffer.from(data));default:throw new OperationError("algorithm: Is not recognized")}}static async decrypt(algorithm,key,data){if(!(key instanceof AesCryptoKey))throw new Error("key: Is not AesCryptoKey");switch(algorithm.name.toUpperCase()){case"AES-CBC":return this.decryptAesCBC(algorithm,key,webcrypto_es_Buffer.from(data));case"AES-CTR":return this.decryptAesCTR(algorithm,key,webcrypto_es_Buffer.from(data));case"AES-GCM":return this.decryptAesGCM(algorithm,key,webcrypto_es_Buffer.from(data));case"AES-KW":return this.decryptAesKW(algorithm,key,webcrypto_es_Buffer.from(data));case"AES-ECB":return this.decryptAesECB(algorithm,key,webcrypto_es_Buffer.from(data));default:throw new OperationError("algorithm: Is not recognized")}}static async encryptAesCBC(algorithm,key,data){const cipher=crypto_browserify.createCipheriv(`aes-${key.algorithm.length}-cbc`,key.data,new Uint8Array(algorithm.iv));let enc=cipher.update(data);enc=webcrypto_es_Buffer.concat([enc,cipher.final()]);return new Uint8Array(enc).buffer}static async decryptAesCBC(algorithm,key,data){const decipher=crypto_browserify.createDecipheriv(`aes-${key.algorithm.length}-cbc`,key.data,new Uint8Array(algorithm.iv));let dec=decipher.update(data);return dec=webcrypto_es_Buffer.concat([dec,decipher.final()]),new Uint8Array(dec).buffer}static async encryptAesCTR(algorithm,key,data){const cipher=crypto_browserify.createCipheriv(`aes-${key.algorithm.length}-ctr`,key.data,webcrypto_es_Buffer.from(algorithm.counter));let enc=cipher.update(data);enc=webcrypto_es_Buffer.concat([enc,cipher.final()]);return new Uint8Array(enc).buffer}static async decryptAesCTR(algorithm,key,data){const decipher=crypto_browserify.createDecipheriv(`aes-${key.algorithm.length}-ctr`,key.data,new Uint8Array(algorithm.counter));let dec=decipher.update(data);return dec=webcrypto_es_Buffer.concat([dec,decipher.final()]),new Uint8Array(dec).buffer}static async encryptAesGCM(algorithm,key,data){const cipher=crypto_browserify.createCipheriv(`aes-${key.algorithm.length}-gcm`,key.data,webcrypto_es_Buffer.from(algorithm.iv),{authTagLength:(algorithm.tagLength||128)>>3});algorithm.additionalData&&cipher.setAAD(webcrypto_es_Buffer.from(algorithm.additionalData));let enc=cipher.update(data);enc=webcrypto_es_Buffer.concat([enc,cipher.final(),cipher.getAuthTag()]);return new Uint8Array(enc).buffer}static async decryptAesGCM(algorithm,key,data){const decipher=crypto_browserify.createDecipheriv(`aes-${key.algorithm.length}-gcm`,key.data,new Uint8Array(algorithm.iv)),tagLength=(algorithm.tagLength||128)>>3,enc=data.slice(0,data.length-tagLength),tag=data.slice(data.length-tagLength);algorithm.additionalData&&decipher.setAAD(webcrypto_es_Buffer.from(algorithm.additionalData)),decipher.setAuthTag(tag);let dec=decipher.update(enc);return dec=webcrypto_es_Buffer.concat([dec,decipher.final()]),new Uint8Array(dec).buffer}static async encryptAesKW(algorithm,key,data){const cipher=crypto_browserify.createCipheriv(`id-aes${key.algorithm.length}-wrap`,key.data,this.AES_KW_IV);let enc=cipher.update(data);return enc=webcrypto_es_Buffer.concat([enc,cipher.final()]),new Uint8Array(enc).buffer}static async decryptAesKW(algorithm,key,data){const decipher=crypto_browserify.createDecipheriv(`id-aes${key.algorithm.length}-wrap`,key.data,this.AES_KW_IV);let dec=decipher.update(data);return dec=webcrypto_es_Buffer.concat([dec,decipher.final()]),new Uint8Array(dec).buffer}static async encryptAesECB(algorithm,key,data){const cipher=crypto_browserify.createCipheriv(`aes-${key.algorithm.length}-ecb`,key.data,new Uint8Array(0));let enc=cipher.update(data);enc=webcrypto_es_Buffer.concat([enc,cipher.final()]);return new Uint8Array(enc).buffer}static async decryptAesECB(algorithm,key,data){const decipher=crypto_browserify.createDecipheriv(`aes-${key.algorithm.length}-ecb`,key.data,new Uint8Array(0));let dec=decipher.update(data);return dec=webcrypto_es_Buffer.concat([dec,decipher.final()]),new Uint8Array(dec).buffer}}AesCrypto.AES_KW_IV=webcrypto_es_Buffer.from("A6A6A6A6A6A6A6A6","hex");class AesCbcProvider extends webcrypto_core_es_AesCbcProvider{async onGenerateKey(algorithm,extractable,keyUsages){return setCryptoKey(await AesCrypto.generateKey({name:this.name,length:algorithm.length},extractable,keyUsages))}async onEncrypt(algorithm,key,data){return AesCrypto.encrypt(algorithm,getCryptoKey(key),new Uint8Array(data))}async onDecrypt(algorithm,key,data){return AesCrypto.decrypt(algorithm,getCryptoKey(key),new Uint8Array(data))}async onExportKey(format,key){return AesCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){return setCryptoKey(await AesCrypto.importKey(format,keyData,{name:algorithm.name},extractable,keyUsages))}checkCryptoKey(key,keyUsage){if(super.checkCryptoKey(key,keyUsage),!(getCryptoKey(key)instanceof AesCryptoKey))throw new TypeError("key: Is not a AesCryptoKey")}}const zero=webcrypto_es_Buffer.from([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),rb=webcrypto_es_Buffer.from([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,135]);function bitShiftLeft(buffer){const shifted=webcrypto_es_Buffer.alloc(buffer.length),last=buffer.length-1;for(let index=0;index<last;index++)shifted[index]=buffer[index]<<1,128&buffer[index+1]&&(shifted[index]+=1);return shifted[last]=buffer[last]<<1,shifted}function xor(a,b){const length=Math.min(a.length,b.length),output=webcrypto_es_Buffer.alloc(length);for(let index=0;index<length;index++)output[index]=a[index]^b[index];return output}function aes(key,message){const cipher=crypto_browserify.createCipheriv("aes"+(key.length<<3),key,zero),result=cipher.update(message);return cipher.final(),result}function getMessageBlock(message,blockIndex){const block=webcrypto_es_Buffer.alloc(16),start=16*blockIndex,end=start+16;return message.copy(block,0,start,end),block}function aesCmac(key,message){const subkeys=function generateSubkeys(key){const l=aes(key,zero);let subkey1=bitShiftLeft(l);128&l[0]&&(subkey1=xor(subkey1,rb));let subkey2=bitShiftLeft(subkey1);return 128&subkey1[0]&&(subkey2=xor(subkey2,rb)),{subkey1:subkey1,subkey2:subkey2}}(key);let lastBlockCompleteFlag,lastBlock,blockCount=Math.ceil(message.length/16);0===blockCount?(blockCount=1,lastBlockCompleteFlag=!1):lastBlockCompleteFlag=message.length%16==0;const lastBlockIndex=blockCount-1;lastBlock=lastBlockCompleteFlag?xor(getMessageBlock(message,lastBlockIndex),subkeys.subkey1):xor(function getPaddedMessageBlock(message,blockIndex){const block=webcrypto_es_Buffer.alloc(16),start=16*blockIndex,end=message.length;return block.fill(0),message.copy(block,0,start,end),block[end-start]=128,block}(message,lastBlockIndex),subkeys.subkey2);let y,x=zero;for(let index=0;index<lastBlockIndex;index++)y=xor(x,getMessageBlock(message,index)),x=aes(key,y);return y=xor(lastBlock,x),aes(key,y)}class AesCmacProvider extends webcrypto_core_es_AesCmacProvider{async onGenerateKey(algorithm,extractable,keyUsages){return setCryptoKey(await AesCrypto.generateKey({name:this.name,length:algorithm.length},extractable,keyUsages))}async onSign(algorithm,key,data){const result=aesCmac(getCryptoKey(key).data,webcrypto_es_Buffer.from(data));return new Uint8Array(result).buffer}async onVerify(algorithm,key,signature,data){const signature2=await this.sign(algorithm,key,data);return 0===webcrypto_es_Buffer.from(signature).compare(webcrypto_es_Buffer.from(signature2))}async onExportKey(format,key){return AesCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){return setCryptoKey(await AesCrypto.importKey(format,keyData,{name:algorithm.name},extractable,keyUsages))}checkCryptoKey(key,keyUsage){if(super.checkCryptoKey(key,keyUsage),!(getCryptoKey(key)instanceof AesCryptoKey))throw new TypeError("key: Is not a AesCryptoKey")}}class AesCtrProvider extends webcrypto_core_es_AesCtrProvider{async onGenerateKey(algorithm,extractable,keyUsages){return setCryptoKey(await AesCrypto.generateKey({name:this.name,length:algorithm.length},extractable,keyUsages))}async onEncrypt(algorithm,key,data){return AesCrypto.encrypt(algorithm,getCryptoKey(key),new Uint8Array(data))}async onDecrypt(algorithm,key,data){return AesCrypto.decrypt(algorithm,getCryptoKey(key),new Uint8Array(data))}async onExportKey(format,key){return AesCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){return setCryptoKey(await AesCrypto.importKey(format,keyData,{name:algorithm.name},extractable,keyUsages))}checkCryptoKey(key,keyUsage){if(super.checkCryptoKey(key,keyUsage),!(getCryptoKey(key)instanceof AesCryptoKey))throw new TypeError("key: Is not a AesCryptoKey")}}class AesGcmProvider extends webcrypto_core_es_AesGcmProvider{async onGenerateKey(algorithm,extractable,keyUsages){return setCryptoKey(await AesCrypto.generateKey({name:this.name,length:algorithm.length},extractable,keyUsages))}async onEncrypt(algorithm,key,data){return AesCrypto.encrypt(algorithm,getCryptoKey(key),new Uint8Array(data))}async onDecrypt(algorithm,key,data){return AesCrypto.decrypt(algorithm,getCryptoKey(key),new Uint8Array(data))}async onExportKey(format,key){return AesCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){return setCryptoKey(await AesCrypto.importKey(format,keyData,{name:algorithm.name},extractable,keyUsages))}checkCryptoKey(key,keyUsage){if(super.checkCryptoKey(key,keyUsage),!(getCryptoKey(key)instanceof AesCryptoKey))throw new TypeError("key: Is not a AesCryptoKey")}}class AesKwProvider extends webcrypto_core_es_AesKwProvider{async onGenerateKey(algorithm,extractable,keyUsages){return setCryptoKey(await AesCrypto.generateKey({name:this.name,length:algorithm.length},extractable,keyUsages))}async onExportKey(format,key){return AesCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){return setCryptoKey(await AesCrypto.importKey(format,keyData,{name:algorithm.name},extractable,keyUsages))}async onEncrypt(algorithm,key,data){return AesCrypto.encrypt(algorithm,getCryptoKey(key),new Uint8Array(data))}async onDecrypt(algorithm,key,data){return AesCrypto.decrypt(algorithm,getCryptoKey(key),new Uint8Array(data))}checkCryptoKey(key,keyUsage){if(super.checkCryptoKey(key,keyUsage),!(getCryptoKey(key)instanceof AesCryptoKey))throw new TypeError("key: Is not a AesCryptoKey")}}class AesEcbProvider extends webcrypto_core_es_AesEcbProvider{async onGenerateKey(algorithm,extractable,keyUsages){return setCryptoKey(await AesCrypto.generateKey({name:this.name,length:algorithm.length},extractable,keyUsages))}async onEncrypt(algorithm,key,data){return AesCrypto.encrypt(algorithm,getCryptoKey(key),new Uint8Array(data))}async onDecrypt(algorithm,key,data){return AesCrypto.decrypt(algorithm,getCryptoKey(key),new Uint8Array(data))}async onExportKey(format,key){return AesCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){return setCryptoKey(await AesCrypto.importKey(format,keyData,{name:algorithm.name},extractable,keyUsages))}checkCryptoKey(key,keyUsage){if(super.checkCryptoKey(key,keyUsage),!(getCryptoKey(key)instanceof AesCryptoKey))throw new TypeError("key: Is not a AesCryptoKey")}}class DesCryptoKey extends SymmetricKey{get alg(){switch(this.algorithm.name.toUpperCase()){case"DES-CBC":return"DES-CBC";case"DES-EDE3-CBC":return"3DES-CBC";default:throw new AlgorithmError("Unsupported algorithm name")}}set alg(value){}}__decorate([JsonProp({name:"k",converter:JsonBase64UrlConverter})],DesCryptoKey.prototype,"data",void 0);class DesCrypto{static async generateKey(algorithm,extractable,keyUsages){const key=new DesCryptoKey;return key.algorithm=algorithm,key.extractable=extractable,key.usages=keyUsages,key.data=crypto_browserify.randomBytes(algorithm.length>>3),key}static async exportKey(format,key){switch(format.toLowerCase()){case"jwk":return JsonSerializer.toJSON(key);case"raw":return new Uint8Array(key.data).buffer;default:throw new OperationError("format: Must be 'jwk' or 'raw'")}}static async importKey(format,keyData,algorithm,extractable,keyUsages){let key;switch(format.toLowerCase()){case"jwk":key=JsonParser.fromJSON(keyData,{targetSchema:DesCryptoKey});break;case"raw":key=new DesCryptoKey,key.data=webcrypto_es_Buffer.from(keyData);break;default:throw new OperationError("format: Must be 'jwk' or 'raw'")}return key.algorithm=algorithm,key.extractable=extractable,key.usages=keyUsages,key}static async encrypt(algorithm,key,data){switch(algorithm.name.toUpperCase()){case"DES-CBC":return this.encryptDesCBC(algorithm,key,webcrypto_es_Buffer.from(data));case"DES-EDE3-CBC":return this.encryptDesEDE3CBC(algorithm,key,webcrypto_es_Buffer.from(data));default:throw new OperationError("algorithm: Is not recognized")}}static async decrypt(algorithm,key,data){if(!(key instanceof DesCryptoKey))throw new Error("key: Is not DesCryptoKey");switch(algorithm.name.toUpperCase()){case"DES-CBC":return this.decryptDesCBC(algorithm,key,webcrypto_es_Buffer.from(data));case"DES-EDE3-CBC":return this.decryptDesEDE3CBC(algorithm,key,webcrypto_es_Buffer.from(data));default:throw new OperationError("algorithm: Is not recognized")}}static async encryptDesCBC(algorithm,key,data){const cipher=crypto_browserify.createCipheriv("des-cbc",key.data,new Uint8Array(algorithm.iv));let enc=cipher.update(data);enc=webcrypto_es_Buffer.concat([enc,cipher.final()]);return new Uint8Array(enc).buffer}static async decryptDesCBC(algorithm,key,data){const decipher=crypto_browserify.createDecipheriv("des-cbc",key.data,new Uint8Array(algorithm.iv));let dec=decipher.update(data);return dec=webcrypto_es_Buffer.concat([dec,decipher.final()]),new Uint8Array(dec).buffer}static async encryptDesEDE3CBC(algorithm,key,data){const cipher=crypto_browserify.createCipheriv("des-ede3-cbc",key.data,webcrypto_es_Buffer.from(algorithm.iv));let enc=cipher.update(data);enc=webcrypto_es_Buffer.concat([enc,cipher.final()]);return new Uint8Array(enc).buffer}static async decryptDesEDE3CBC(algorithm,key,data){const decipher=crypto_browserify.createDecipheriv("des-ede3-cbc",key.data,new Uint8Array(algorithm.iv));let dec=decipher.update(data);return dec=webcrypto_es_Buffer.concat([dec,decipher.final()]),new Uint8Array(dec).buffer}}class DesCbcProvider extends DesProvider{constructor(){super(...arguments),this.keySizeBits=64,this.ivSize=8,this.name="DES-CBC"}async onGenerateKey(algorithm,extractable,keyUsages){return setCryptoKey(await DesCrypto.generateKey({name:this.name,length:this.keySizeBits},extractable,keyUsages))}async onEncrypt(algorithm,key,data){return DesCrypto.encrypt(algorithm,getCryptoKey(key),new Uint8Array(data))}async onDecrypt(algorithm,key,data){return DesCrypto.decrypt(algorithm,getCryptoKey(key),new Uint8Array(data))}async onExportKey(format,key){return DesCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){const key=await DesCrypto.importKey(format,keyData,{name:this.name,length:this.keySizeBits},extractable,keyUsages);if(key.data.length!==this.keySizeBits>>3)throw new OperationError("keyData: Wrong key size");return setCryptoKey(key)}checkCryptoKey(key,keyUsage){if(super.checkCryptoKey(key,keyUsage),!(getCryptoKey(key)instanceof DesCryptoKey))throw new TypeError("key: Is not a DesCryptoKey")}}class DesEde3CbcProvider extends DesProvider{constructor(){super(...arguments),this.keySizeBits=192,this.ivSize=8,this.name="DES-EDE3-CBC"}async onGenerateKey(algorithm,extractable,keyUsages){return setCryptoKey(await DesCrypto.generateKey({name:this.name,length:this.keySizeBits},extractable,keyUsages))}async onEncrypt(algorithm,key,data){return DesCrypto.encrypt(algorithm,getCryptoKey(key),new Uint8Array(data))}async onDecrypt(algorithm,key,data){return DesCrypto.decrypt(algorithm,getCryptoKey(key),new Uint8Array(data))}async onExportKey(format,key){return DesCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){const key=await DesCrypto.importKey(format,keyData,{name:this.name,length:this.keySizeBits},extractable,keyUsages);if(key.data.length!==this.keySizeBits>>3)throw new OperationError("keyData: Wrong key size");return setCryptoKey(key)}checkCryptoKey(key,keyUsage){if(super.checkCryptoKey(key,keyUsage),!(getCryptoKey(key)instanceof DesCryptoKey))throw new TypeError("key: Is not a DesCryptoKey")}}function getJwkAlgorithm(algorithm){switch(algorithm.name.toUpperCase()){case"RSA-OAEP":{const mdSize=/(\d+)$/.exec(algorithm.hash.name)[1];return"RSA-OAEP"+("1"!==mdSize?`-${mdSize}`:"")}case"RSASSA-PKCS1-V1_5":return`RS${/(\d+)$/.exec(algorithm.hash.name)[1]}`;case"RSA-PSS":return`PS${/(\d+)$/.exec(algorithm.hash.name)[1]}`;case"RSA-PKCS1":return"RS1";default:throw new OperationError("algorithm: Is not recognized")}}class webcrypto_es_RsaPrivateKey extends AsymmetricKey{constructor(){super(...arguments),this.type="private"}getKey(){const keyInfo=AsnParser.parse(this.data,index$1.PrivateKeyInfo);return AsnParser.parse(keyInfo.privateKey,index$1.RsaPrivateKey)}toJSON(){const key=this.getKey(),json={kty:"RSA",alg:getJwkAlgorithm(this.algorithm),key_ops:this.usages,ext:this.extractable};return Object.assign(json,JsonSerializer.toJSON(key))}fromJSON(json){const key=JsonParser.fromJSON(json,{targetSchema:index$1.RsaPrivateKey}),keyInfo=new index$1.PrivateKeyInfo;keyInfo.privateKeyAlgorithm.algorithm="1.2.840.113549.1.1.1",keyInfo.privateKeyAlgorithm.parameters=null,keyInfo.privateKey=AsnSerializer.serialize(key),this.data=webcrypto_es_Buffer.from(AsnSerializer.serialize(keyInfo))}}class webcrypto_es_RsaPublicKey extends AsymmetricKey{constructor(){super(...arguments),this.type="public"}getKey(){const keyInfo=AsnParser.parse(this.data,index$1.PublicKeyInfo);return AsnParser.parse(keyInfo.publicKey,index$1.RsaPublicKey)}toJSON(){const key=this.getKey(),json={kty:"RSA",alg:getJwkAlgorithm(this.algorithm),key_ops:this.usages,ext:this.extractable};return Object.assign(json,JsonSerializer.toJSON(key))}fromJSON(json){const key=JsonParser.fromJSON(json,{targetSchema:index$1.RsaPublicKey}),keyInfo=new index$1.PublicKeyInfo;keyInfo.publicKeyAlgorithm.algorithm="1.2.840.113549.1.1.1",keyInfo.publicKeyAlgorithm.parameters=null,keyInfo.publicKey=AsnSerializer.serialize(key),this.data=webcrypto_es_Buffer.from(AsnSerializer.serialize(keyInfo))}}class RsaCrypto{static async generateKey(algorithm,extractable,keyUsages){const privateKey=new webcrypto_es_RsaPrivateKey;privateKey.algorithm=algorithm,privateKey.extractable=extractable,privateKey.usages=keyUsages.filter((usage=>-1!==this.privateKeyUsages.indexOf(usage)));const publicKey=new webcrypto_es_RsaPublicKey;publicKey.algorithm=algorithm,publicKey.extractable=!0,publicKey.usages=keyUsages.filter((usage=>-1!==this.publicKeyUsages.indexOf(usage)));const publicExponent=webcrypto_es_Buffer.concat([webcrypto_es_Buffer.alloc(4-algorithm.publicExponent.byteLength,0),webcrypto_es_Buffer.from(algorithm.publicExponent)]).readInt32BE(0),keys=crypto_browserify.generateKeyPairSync("rsa",{modulusLength:algorithm.modulusLength,publicExponent:publicExponent,publicKeyEncoding:{format:"der",type:"spki"},privateKeyEncoding:{format:"der",type:"pkcs8"}});privateKey.data=keys.privateKey,publicKey.data=keys.publicKey;return{privateKey:privateKey,publicKey:publicKey}}static async exportKey(format,key){switch(format.toLowerCase()){case"jwk":return JsonSerializer.toJSON(key);case"pkcs8":case"spki":return new Uint8Array(key.data).buffer;default:throw new OperationError("format: Must be 'jwk', 'pkcs8' or 'spki'")}}static async importKey(format,keyData,algorithm,extractable,keyUsages){switch(format.toLowerCase()){case"jwk":if(keyData.d){const asnKey=JsonParser.fromJSON(keyData,{targetSchema:index$1.RsaPrivateKey});return this.importPrivateKey(asnKey,algorithm,extractable,keyUsages)}{const asnKey=JsonParser.fromJSON(keyData,{targetSchema:index$1.RsaPublicKey});return this.importPublicKey(asnKey,algorithm,extractable,keyUsages)}case"spki":{const keyInfo=AsnParser.parse(new Uint8Array(keyData),index$1.PublicKeyInfo),asnKey=AsnParser.parse(keyInfo.publicKey,index$1.RsaPublicKey);return this.importPublicKey(asnKey,algorithm,extractable,keyUsages)}case"pkcs8":{const keyInfo=AsnParser.parse(new Uint8Array(keyData),index$1.PrivateKeyInfo),asnKey=AsnParser.parse(keyInfo.privateKey,index$1.RsaPrivateKey);return this.importPrivateKey(asnKey,algorithm,extractable,keyUsages)}default:throw new OperationError("format: Must be 'jwk', 'pkcs8' or 'spki'")}}static async sign(algorithm,key,data){switch(algorithm.name.toUpperCase()){case"RSA-PSS":case"RSASSA-PKCS1-V1_5":return this.signRsa(algorithm,key,data);default:throw new OperationError("algorithm: Is not recognized")}}static async verify(algorithm,key,signature,data){switch(algorithm.name.toUpperCase()){case"RSA-PSS":case"RSASSA-PKCS1-V1_5":return this.verifySSA(algorithm,key,data,signature);default:throw new OperationError("algorithm: Is not recognized")}}static async encrypt(algorithm,key,data){switch(algorithm.name.toUpperCase()){case"RSA-OAEP":return this.encryptOAEP(algorithm,key,data);default:throw new OperationError("algorithm: Is not recognized")}}static async decrypt(algorithm,key,data){switch(algorithm.name.toUpperCase()){case"RSA-OAEP":return this.decryptOAEP(algorithm,key,data);default:throw new OperationError("algorithm: Is not recognized")}}static importPrivateKey(asnKey,algorithm,extractable,keyUsages){const keyInfo=new index$1.PrivateKeyInfo;keyInfo.privateKeyAlgorithm.algorithm="1.2.840.113549.1.1.1",keyInfo.privateKeyAlgorithm.parameters=null,keyInfo.privateKey=AsnSerializer.serialize(asnKey);const key=new webcrypto_es_RsaPrivateKey;return key.data=webcrypto_es_Buffer.from(AsnSerializer.serialize(keyInfo)),key.algorithm=Object.assign({},algorithm),key.algorithm.publicExponent=new Uint8Array(asnKey.publicExponent),key.algorithm.modulusLength=asnKey.modulus.byteLength<<3,key.extractable=extractable,key.usages=keyUsages,key}static importPublicKey(asnKey,algorithm,extractable,keyUsages){const keyInfo=new index$1.PublicKeyInfo;keyInfo.publicKeyAlgorithm.algorithm="1.2.840.113549.1.1.1",keyInfo.publicKeyAlgorithm.parameters=null,keyInfo.publicKey=AsnSerializer.serialize(asnKey);const key=new webcrypto_es_RsaPublicKey;return key.data=webcrypto_es_Buffer.from(AsnSerializer.serialize(keyInfo)),key.algorithm=Object.assign({},algorithm),key.algorithm.publicExponent=new Uint8Array(asnKey.publicExponent),key.algorithm.modulusLength=asnKey.modulus.byteLength<<3,key.extractable=extractable,key.usages=keyUsages,key}static getCryptoAlgorithm(alg){switch(alg.hash.name.toUpperCase()){case"SHA-1":return"RSA-SHA1";case"SHA-256":return"RSA-SHA256";case"SHA-384":return"RSA-SHA384";case"SHA-512":return"RSA-SHA512";default:throw new OperationError("algorithm.hash: Is not recognized")}}static signRsa(algorithm,key,data){const cryptoAlg=this.getCryptoAlgorithm(key.algorithm),signer=crypto_browserify.createSign(cryptoAlg);signer.update(webcrypto_es_Buffer.from(data)),key.pem||(key.pem=`-----BEGIN PRIVATE KEY-----\n${key.data.toString("base64")}\n-----END PRIVATE KEY-----`);const options={key:key.pem};"RSA-PSS"===algorithm.name.toUpperCase()&&(options.padding=crypto_browserify.constants.RSA_PKCS1_PSS_PADDING,options.saltLength=algorithm.saltLength);const signature=signer.sign(options);return new Uint8Array(signature).buffer}static verifySSA(algorithm,key,data,signature){const cryptoAlg=this.getCryptoAlgorithm(key.algorithm),signer=crypto_browserify.createVerify(cryptoAlg);signer.update(webcrypto_es_Buffer.from(data)),key.pem||(key.pem=`-----BEGIN PUBLIC KEY-----\n${key.data.toString("base64")}\n-----END PUBLIC KEY-----`);const options={key:key.pem};"RSA-PSS"===algorithm.name.toUpperCase()&&(options.padding=crypto_browserify.constants.RSA_PKCS1_PSS_PADDING,options.saltLength=algorithm.saltLength);return signer.verify(options,signature)}static encryptOAEP(algorithm,key,data){const options={key:`-----BEGIN PUBLIC KEY-----\n${key.data.toString("base64")}\n-----END PUBLIC KEY-----`,padding:crypto_browserify.constants.RSA_PKCS1_OAEP_PADDING};return algorithm.label,new Uint8Array(crypto_browserify.publicEncrypt(options,data)).buffer}static decryptOAEP(algorithm,key,data){const options={key:`-----BEGIN PRIVATE KEY-----\n${key.data.toString("base64")}\n-----END PRIVATE KEY-----`,padding:crypto_browserify.constants.RSA_PKCS1_OAEP_PADDING};return algorithm.label,new Uint8Array(crypto_browserify.privateDecrypt(options,data)).buffer}}RsaCrypto.publicKeyUsages=["verify","encrypt","wrapKey"],RsaCrypto.privateKeyUsages=["sign","decrypt","unwrapKey"];class RsaSsaProvider extends webcrypto_core_es_RsaSsaProvider{async onGenerateKey(algorithm,extractable,keyUsages){const keys=await RsaCrypto.generateKey({...algorithm,name:this.name},extractable,keyUsages);return{privateKey:setCryptoKey(keys.privateKey),publicKey:setCryptoKey(keys.publicKey)}}async onSign(algorithm,key,data){return RsaCrypto.sign(algorithm,getCryptoKey(key),new Uint8Array(data))}async onVerify(algorithm,key,signature,data){return RsaCrypto.verify(algorithm,getCryptoKey(key),new Uint8Array(signature),new Uint8Array(data))}async onExportKey(format,key){return RsaCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){return setCryptoKey(await RsaCrypto.importKey(format,keyData,{...algorithm,name:this.name},extractable,keyUsages))}checkCryptoKey(key,keyUsage){super.checkCryptoKey(key,keyUsage);const internalKey=getCryptoKey(key);if(!(internalKey instanceof webcrypto_es_RsaPrivateKey||internalKey instanceof webcrypto_es_RsaPublicKey))throw new TypeError("key: Is not RSA CryptoKey")}}class RsaPssProvider extends webcrypto_core_es_RsaPssProvider{async onGenerateKey(algorithm,extractable,keyUsages){const keys=await RsaCrypto.generateKey({...algorithm,name:this.name},extractable,keyUsages);return{privateKey:setCryptoKey(keys.privateKey),publicKey:setCryptoKey(keys.publicKey)}}async onSign(algorithm,key,data){return RsaCrypto.sign(algorithm,getCryptoKey(key),new Uint8Array(data))}async onVerify(algorithm,key,signature,data){return RsaCrypto.verify(algorithm,getCryptoKey(key),new Uint8Array(signature),new Uint8Array(data))}async onExportKey(format,key){return RsaCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){return setCryptoKey(await RsaCrypto.importKey(format,keyData,{...algorithm,name:this.name},extractable,keyUsages))}checkCryptoKey(key,keyUsage){super.checkCryptoKey(key,keyUsage);const internalKey=getCryptoKey(key);if(!(internalKey instanceof webcrypto_es_RsaPrivateKey||internalKey instanceof webcrypto_es_RsaPublicKey))throw new TypeError("key: Is not RSA CryptoKey")}}class ShaCrypto{static size(algorithm){switch(algorithm.name.toUpperCase()){case"SHA-1":return 160;case"SHA-256":return 256;case"SHA-384":return 384;case"SHA-512":return 512;default:throw new Error("Unrecognized name")}}static digest(algorithm,data){const hash=crypto_browserify.createHash(algorithm.name.replace("-","")).update(webcrypto_es_Buffer.from(data)).digest();return new Uint8Array(hash).buffer}}class RsaOaepProvider extends webcrypto_core_es_RsaOaepProvider{async onGenerateKey(algorithm,extractable,keyUsages){const keys=await RsaCrypto.generateKey({...algorithm,name:this.name},extractable,keyUsages);return{privateKey:setCryptoKey(keys.privateKey),publicKey:setCryptoKey(keys.publicKey)}}async onEncrypt(algorithm,key,data){const internalKey=getCryptoKey(key),dataView=new Uint8Array(data),keySize=Math.ceil(internalKey.algorithm.modulusLength>>3),hashSize=ShaCrypto.size(internalKey.algorithm.hash)>>3,dataLength=dataView.byteLength,psLength=keySize-dataLength-2*hashSize-2;if(dataLength>keySize-2*hashSize-2)throw new Error("Data too large");const message=new Uint8Array(keySize),seed=message.subarray(1,hashSize+1),dataBlock=message.subarray(hashSize+1);dataBlock.set(dataView,hashSize+psLength+1);const labelHash=crypto_browserify.createHash(internalKey.algorithm.hash.name.replace("-","")).update(build.BufferSourceConverter.toUint8Array(algorithm.label||new Uint8Array(0))).digest();dataBlock.set(labelHash,0),dataBlock[hashSize+psLength]=1,crypto_browserify.randomFillSync(seed);const dataBlockMask=this.mgf1(internalKey.algorithm.hash,seed,dataBlock.length);for(let i=0;i<dataBlock.length;i++)dataBlock[i]^=dataBlockMask[i];const seedMask=this.mgf1(internalKey.algorithm.hash,dataBlock,seed.length);for(let i=0;i<seed.length;i++)seed[i]^=seedMask[i];internalKey.pem||(internalKey.pem=`-----BEGIN PUBLIC KEY-----\n${internalKey.data.toString("base64")}\n-----END PUBLIC KEY-----`);const pkcs0=crypto_browserify.publicEncrypt({key:internalKey.pem,padding:crypto_browserify.constants.RSA_NO_PADDING},webcrypto_es_Buffer.from(message));return new Uint8Array(pkcs0).buffer}async onDecrypt(algorithm,key,data){const internalKey=getCryptoKey(key),keySize=Math.ceil(internalKey.algorithm.modulusLength>>3),hashSize=ShaCrypto.size(internalKey.algorithm.hash)>>3;if(data.byteLength!==keySize)throw new Error("Bad data");internalKey.pem||(internalKey.pem=`-----BEGIN PRIVATE KEY-----\n${internalKey.data.toString("base64")}\n-----END PRIVATE KEY-----`);let pkcs0=crypto_browserify.privateDecrypt({key:internalKey.pem,padding:crypto_browserify.constants.RSA_NO_PADDING},webcrypto_es_Buffer.from(data));const z=pkcs0[0],seed=pkcs0.subarray(1,hashSize+1),dataBlock=pkcs0.subarray(hashSize+1);if(0!==z)throw new Error("Decryption failed");const seedMask=this.mgf1(internalKey.algorithm.hash,dataBlock,seed.length);for(let i=0;i<seed.length;i++)seed[i]^=seedMask[i];const dataBlockMask=this.mgf1(internalKey.algorithm.hash,seed,dataBlock.length);for(let i=0;i<dataBlock.length;i++)dataBlock[i]^=dataBlockMask[i];const labelHash=crypto_browserify.createHash(internalKey.algorithm.hash.name.replace("-","")).update(build.BufferSourceConverter.toUint8Array(algorithm.label||new Uint8Array(0))).digest();for(let i=0;i<hashSize;i++)if(labelHash[i]!==dataBlock[i])throw new Error("Decryption failed");let psEnd=hashSize;for(;psEnd<dataBlock.length;psEnd++){const psz=dataBlock[psEnd];if(1===psz)break;if(0!==psz)throw new Error("Decryption failed")}if(psEnd===dataBlock.length)throw new Error("Decryption failed");return pkcs0=dataBlock.subarray(psEnd+1),new Uint8Array(pkcs0).buffer}async onExportKey(format,key){return RsaCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){return setCryptoKey(await RsaCrypto.importKey(format,keyData,{...algorithm,name:this.name},extractable,keyUsages))}checkCryptoKey(key,keyUsage){super.checkCryptoKey(key,keyUsage);const internalKey=getCryptoKey(key);if(!(internalKey instanceof webcrypto_es_RsaPrivateKey||internalKey instanceof webcrypto_es_RsaPublicKey))throw new TypeError("key: Is not RSA CryptoKey")}mgf1(algorithm,seed,length=0){const hashSize=ShaCrypto.size(algorithm)>>3,mask=new Uint8Array(length),counter=new Uint8Array(4),chunks=Math.ceil(length/hashSize);for(let i=0;i<chunks;i++){counter[0]=i>>>24,counter[1]=i>>>16&255,counter[2]=i>>>8&255,counter[3]=255&i;const submask=mask.subarray(i*hashSize);let chunk=crypto_browserify.createHash(algorithm.name.replace("-","")).update(seed).update(counter).digest();chunk.length>submask.length&&(chunk=chunk.subarray(0,submask.length)),submask.set(chunk)}return mask}}class RsaEsProvider extends ProviderCrypto{constructor(){super(...arguments),this.name="RSAES-PKCS1-v1_5",this.usages={publicKey:["encrypt","wrapKey"],privateKey:["decrypt","unwrapKey"]}}async onGenerateKey(algorithm,extractable,keyUsages){const keys=await RsaCrypto.generateKey({...algorithm,name:this.name},extractable,keyUsages);return{privateKey:setCryptoKey(keys.privateKey),publicKey:setCryptoKey(keys.publicKey)}}checkGenerateKeyParams(algorithm){if(this.checkRequiredProperty(algorithm,"publicExponent"),!(algorithm.publicExponent&&algorithm.publicExponent instanceof Uint8Array))throw new TypeError("publicExponent: Missing or not a Uint8Array");const publicExponent=build.Convert.ToBase64(algorithm.publicExponent);if("Aw=="!==publicExponent&&"AQAB"!==publicExponent)throw new TypeError("publicExponent: Must be [3] or [1,0,1]");switch(this.checkRequiredProperty(algorithm,"modulusLength"),algorithm.modulusLength){case 1024:case 2048:case 4096:break;default:throw new TypeError("modulusLength: Must be 1024, 2048, or 4096")}}async onEncrypt(algorithm,key,data){const options=this.toCryptoOptions(key),enc=crypto_browserify.publicEncrypt(options,new Uint8Array(data));return new Uint8Array(enc).buffer}async onDecrypt(algorithm,key,data){const options=this.toCryptoOptions(key),dec=crypto_browserify.privateDecrypt(options,new Uint8Array(data));return new Uint8Array(dec).buffer}async onExportKey(format,key){return RsaCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){return setCryptoKey(await RsaCrypto.importKey(format,keyData,{...algorithm,name:this.name},extractable,keyUsages))}checkCryptoKey(key,keyUsage){super.checkCryptoKey(key,keyUsage);const internalKey=getCryptoKey(key);if(!(internalKey instanceof webcrypto_es_RsaPrivateKey||internalKey instanceof webcrypto_es_RsaPublicKey))throw new TypeError("key: Is not RSA CryptoKey")}toCryptoOptions(key){const type=key.type.toUpperCase();return{key:`-----BEGIN ${type} KEY-----\n${getCryptoKey(key).data.toString("base64")}\n-----END ${type} KEY-----`,padding:crypto_browserify.constants.RSA_PKCS1_PADDING}}}const namedOIDs={"1.2.840.10045.3.1.7":"P-256","P-256":"1.2.840.10045.3.1.7","1.3.132.0.34":"P-384","P-384":"1.3.132.0.34","1.3.132.0.35":"P-521","P-521":"1.3.132.0.35","1.3.132.0.10":"K-256","K-256":"1.3.132.0.10",brainpoolP160r1:"1.3.36.3.3.2.8.1.1.1","1.3.36.3.3.2.8.1.1.1":"brainpoolP160r1",brainpoolP160t1:"1.3.36.3.3.2.8.1.1.2","1.3.36.3.3.2.8.1.1.2":"brainpoolP160t1",brainpoolP192r1:"1.3.36.3.3.2.8.1.1.3","1.3.36.3.3.2.8.1.1.3":"brainpoolP192r1",brainpoolP192t1:"1.3.36.3.3.2.8.1.1.4","1.3.36.3.3.2.8.1.1.4":"brainpoolP192t1",brainpoolP224r1:"1.3.36.3.3.2.8.1.1.5","1.3.36.3.3.2.8.1.1.5":"brainpoolP224r1",brainpoolP224t1:"1.3.36.3.3.2.8.1.1.6","1.3.36.3.3.2.8.1.1.6":"brainpoolP224t1",brainpoolP256r1:"1.3.36.3.3.2.8.1.1.7","1.3.36.3.3.2.8.1.1.7":"brainpoolP256r1",brainpoolP256t1:"1.3.36.3.3.2.8.1.1.8","1.3.36.3.3.2.8.1.1.8":"brainpoolP256t1",brainpoolP320r1:"1.3.36.3.3.2.8.1.1.9","1.3.36.3.3.2.8.1.1.9":"brainpoolP320r1",brainpoolP320t1:"1.3.36.3.3.2.8.1.1.10","1.3.36.3.3.2.8.1.1.10":"brainpoolP320t1",brainpoolP384r1:"1.3.36.3.3.2.8.1.1.11","1.3.36.3.3.2.8.1.1.11":"brainpoolP384r1",brainpoolP384t1:"1.3.36.3.3.2.8.1.1.12","1.3.36.3.3.2.8.1.1.12":"brainpoolP384t1",brainpoolP512r1:"1.3.36.3.3.2.8.1.1.13","1.3.36.3.3.2.8.1.1.13":"brainpoolP512r1",brainpoolP512t1:"1.3.36.3.3.2.8.1.1.14","1.3.36.3.3.2.8.1.1.14":"brainpoolP512t1"};function getOidByNamedCurve$1(namedCurve){const oid=namedOIDs[namedCurve];if(!oid)throw new OperationError(`Cannot convert WebCrypto named curve '${namedCurve}' to OID`);return oid}class webcrypto_es_EcPrivateKey extends AsymmetricKey{constructor(){super(...arguments),this.type="private"}getKey(){const keyInfo=AsnParser.parse(this.data,index$1.PrivateKeyInfo);return AsnParser.parse(keyInfo.privateKey,index$1.EcPrivateKey)}toJSON(){const key=this.getKey(),json={kty:"EC",crv:this.algorithm.namedCurve,key_ops:this.usages,ext:this.extractable};return Object.assign(json,JsonSerializer.toJSON(key))}fromJSON(json){if(!json.crv)throw new OperationError("Cannot get named curve from JWK. Property 'crv' is required");const keyInfo=new index$1.PrivateKeyInfo;keyInfo.privateKeyAlgorithm.algorithm="1.2.840.10045.2.1",keyInfo.privateKeyAlgorithm.parameters=AsnSerializer.serialize(new index$1.ObjectIdentifier(getOidByNamedCurve$1(json.crv)));const key=JsonParser.fromJSON(json,{targetSchema:index$1.EcPrivateKey});return keyInfo.privateKey=AsnSerializer.serialize(key),this.data=webcrypto_es_Buffer.from(AsnSerializer.serialize(keyInfo)),this}}class webcrypto_es_EcPublicKey extends AsymmetricKey{constructor(){super(...arguments),this.type="public"}getKey(){const keyInfo=AsnParser.parse(this.data,index$1.PublicKeyInfo);return new index$1.EcPublicKey(keyInfo.publicKey)}toJSON(){const key=this.getKey(),json={kty:"EC",crv:this.algorithm.namedCurve,key_ops:this.usages,ext:this.extractable};return Object.assign(json,JsonSerializer.toJSON(key))}fromJSON(json){if(!json.crv)throw new OperationError("Cannot get named curve from JWK. Property 'crv' is required");const key=JsonParser.fromJSON(json,{targetSchema:index$1.EcPublicKey}),keyInfo=new index$1.PublicKeyInfo;return keyInfo.publicKeyAlgorithm.algorithm="1.2.840.10045.2.1",keyInfo.publicKeyAlgorithm.parameters=AsnSerializer.serialize(new index$1.ObjectIdentifier(getOidByNamedCurve$1(json.crv))),keyInfo.publicKey=AsnSerializer.toASN(key).valueHex,this.data=webcrypto_es_Buffer.from(AsnSerializer.serialize(keyInfo)),this}}class EcCrypto{static async generateKey(algorithm,extractable,keyUsages){const privateKey=new webcrypto_es_EcPrivateKey;privateKey.algorithm=algorithm,privateKey.extractable=extractable,privateKey.usages=keyUsages.filter((usage=>-1!==this.privateKeyUsages.indexOf(usage)));const publicKey=new webcrypto_es_EcPublicKey;publicKey.algorithm=algorithm,publicKey.extractable=!0,publicKey.usages=keyUsages.filter((usage=>-1!==this.publicKeyUsages.indexOf(usage)));const keys=crypto_browserify.generateKeyPairSync("ec",{namedCurve:this.getOpenSSLNamedCurve(algorithm.namedCurve),publicKeyEncoding:{format:"der",type:"spki"},privateKeyEncoding:{format:"der",type:"pkcs8"}});privateKey.data=keys.privateKey,publicKey.data=keys.publicKey;return{privateKey:privateKey,publicKey:publicKey}}static async sign(algorithm,key,data){const cryptoAlg=algorithm.hash.name.replace("-",""),signer=crypto_browserify.createSign(cryptoAlg);signer.update(webcrypto_es_Buffer.from(data)),key.pem||(key.pem=`-----BEGIN PRIVATE KEY-----\n${key.data.toString("base64")}\n-----END PRIVATE KEY-----`);const options={key:key.pem},signature=signer.sign(options),ecSignature=AsnParser.parse(signature,index$1.EcDsaSignature);return EcUtils.encodeSignature(ecSignature,EcCurves.get(key.algorithm.namedCurve).size).buffer}static async verify(algorithm,key,signature,data){const cryptoAlg=algorithm.hash.name.replace("-",""),signer=crypto_browserify.createVerify(cryptoAlg);signer.update(webcrypto_es_Buffer.from(data)),key.pem||(key.pem=`-----BEGIN PUBLIC KEY-----\n${key.data.toString("base64")}\n-----END PUBLIC KEY-----`);const options={key:key.pem},ecSignature=new index$1.EcDsaSignature,namedCurve=EcCurves.get(key.algorithm.namedCurve),signaturePoint=EcUtils.decodeSignature(signature,namedCurve.size);ecSignature.r=build.BufferSourceConverter.toArrayBuffer(signaturePoint.r),ecSignature.s=build.BufferSourceConverter.toArrayBuffer(signaturePoint.s);const ecSignatureRaw=webcrypto_es_Buffer.from(AsnSerializer.serialize(ecSignature));return signer.verify(options,ecSignatureRaw)}static async deriveBits(algorithm,baseKey,length){const cryptoAlg=this.getOpenSSLNamedCurve(baseKey.algorithm.namedCurve),ecdh=crypto_browserify.createECDH(cryptoAlg),asnPrivateKey=AsnParser.parse(baseKey.data,index$1.PrivateKeyInfo),asnEcPrivateKey=AsnParser.parse(asnPrivateKey.privateKey,index$1.EcPrivateKey);ecdh.setPrivateKey(webcrypto_es_Buffer.from(asnEcPrivateKey.privateKey));const asnPublicKey=AsnParser.parse(algorithm.public.data,index$1.PublicKeyInfo),bits=ecdh.computeSecret(webcrypto_es_Buffer.from(asnPublicKey.publicKey));return new Uint8Array(bits).buffer.slice(0,length>>3)}static async exportKey(format,key){switch(format.toLowerCase()){case"jwk":return JsonSerializer.toJSON(key);case"pkcs8":case"spki":return new Uint8Array(key.data).buffer;case"raw":return AsnParser.parse(key.data,index$1.PublicKeyInfo).publicKey;default:throw new OperationError("format: Must be 'jwk', 'raw', pkcs8' or 'spki'")}}static async importKey(format,keyData,algorithm,extractable,keyUsages){switch(format.toLowerCase()){case"jwk":if(keyData.d){const asnKey=JsonParser.fromJSON(keyData,{targetSchema:index$1.EcPrivateKey});return this.importPrivateKey(asnKey,algorithm,extractable,keyUsages)}{const asnKey=JsonParser.fromJSON(keyData,{targetSchema:index$1.EcPublicKey});return this.importPublicKey(asnKey,algorithm,extractable,keyUsages)}case"raw":{const asnKey=new index$1.EcPublicKey(keyData);return this.importPublicKey(asnKey,algorithm,extractable,keyUsages)}case"spki":{const keyInfo=AsnParser.parse(new Uint8Array(keyData),index$1.PublicKeyInfo),asnKey=new index$1.EcPublicKey(keyInfo.publicKey);return this.assertKeyParameters(keyInfo.publicKeyAlgorithm.parameters,algorithm.namedCurve),this.importPublicKey(asnKey,algorithm,extractable,keyUsages)}case"pkcs8":{const keyInfo=AsnParser.parse(new Uint8Array(keyData),index$1.PrivateKeyInfo),asnKey=AsnParser.parse(keyInfo.privateKey,index$1.EcPrivateKey);return this.assertKeyParameters(keyInfo.privateKeyAlgorithm.parameters,algorithm.namedCurve),this.importPrivateKey(asnKey,algorithm,extractable,keyUsages)}default:throw new OperationError("format: Must be 'jwk', 'raw', 'pkcs8' or 'spki'")}}static assertKeyParameters(parameters,namedCurve){if(!parameters)throw new CryptoError("Key info doesn't have required parameters");let namedCurveIdentifier="";try{namedCurveIdentifier=AsnParser.parse(parameters,index$1.ObjectIdentifier).value}catch(e){throw new CryptoError("Cannot read key info parameters")}if(getOidByNamedCurve$1(namedCurve)!==namedCurveIdentifier)throw new CryptoError("Key info parameter doesn't match to named curve")}static async importPrivateKey(asnKey,algorithm,extractable,keyUsages){const keyInfo=new index$1.PrivateKeyInfo;keyInfo.privateKeyAlgorithm.algorithm="1.2.840.10045.2.1",keyInfo.privateKeyAlgorithm.parameters=AsnSerializer.serialize(new index$1.ObjectIdentifier(getOidByNamedCurve$1(algorithm.namedCurve))),keyInfo.privateKey=AsnSerializer.serialize(asnKey);const key=new webcrypto_es_EcPrivateKey;return key.data=webcrypto_es_Buffer.from(AsnSerializer.serialize(keyInfo)),key.algorithm=Object.assign({},algorithm),key.extractable=extractable,key.usages=keyUsages,key}static async importPublicKey(asnKey,algorithm,extractable,keyUsages){const keyInfo=new index$1.PublicKeyInfo;keyInfo.publicKeyAlgorithm.algorithm="1.2.840.10045.2.1";const namedCurve=getOidByNamedCurve$1(algorithm.namedCurve);keyInfo.publicKeyAlgorithm.parameters=AsnSerializer.serialize(new index$1.ObjectIdentifier(namedCurve)),keyInfo.publicKey=asnKey.value;const key=new webcrypto_es_EcPublicKey;return key.data=webcrypto_es_Buffer.from(AsnSerializer.serialize(keyInfo)),key.algorithm=Object.assign({},algorithm),key.extractable=extractable,key.usages=keyUsages,key}static getOpenSSLNamedCurve(curve){switch(curve.toUpperCase()){case"P-256":return"prime256v1";case"K-256":return"secp256k1";case"P-384":return"secp384r1";case"P-521":return"secp521r1";default:return curve}}}EcCrypto.publicKeyUsages=["verify"],EcCrypto.privateKeyUsages=["sign","deriveKey","deriveBits"];class EcdsaProvider extends webcrypto_core_es_EcdsaProvider{constructor(){super(...arguments),this.namedCurves=EcCurves.names}async onGenerateKey(algorithm,extractable,keyUsages){const keys=await EcCrypto.generateKey({...algorithm,name:this.name},extractable,keyUsages);return{privateKey:setCryptoKey(keys.privateKey),publicKey:setCryptoKey(keys.publicKey)}}async onSign(algorithm,key,data){return EcCrypto.sign(algorithm,getCryptoKey(key),new Uint8Array(data))}async onVerify(algorithm,key,signature,data){return EcCrypto.verify(algorithm,getCryptoKey(key),new Uint8Array(signature),new Uint8Array(data))}async onExportKey(format,key){return EcCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){return setCryptoKey(await EcCrypto.importKey(format,keyData,{...algorithm,name:this.name},extractable,keyUsages))}checkCryptoKey(key,keyUsage){super.checkCryptoKey(key,keyUsage);const internalKey=getCryptoKey(key);if(!(internalKey instanceof webcrypto_es_EcPrivateKey||internalKey instanceof webcrypto_es_EcPublicKey))throw new TypeError("key: Is not EC CryptoKey")}}class EcdhProvider extends webcrypto_core_es_EcdhProvider{constructor(){super(...arguments),this.namedCurves=EcCurves.names}async onGenerateKey(algorithm,extractable,keyUsages){const keys=await EcCrypto.generateKey({...algorithm,name:this.name},extractable,keyUsages);return{privateKey:setCryptoKey(keys.privateKey),publicKey:setCryptoKey(keys.publicKey)}}async onExportKey(format,key){return EcCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){return setCryptoKey(await EcCrypto.importKey(format,keyData,{...algorithm,name:this.name},extractable,keyUsages))}checkCryptoKey(key,keyUsage){super.checkCryptoKey(key,keyUsage);const internalKey=getCryptoKey(key);if(!(internalKey instanceof webcrypto_es_EcPrivateKey||internalKey instanceof webcrypto_es_EcPublicKey))throw new TypeError("key: Is not EC CryptoKey")}async onDeriveBits(algorithm,baseKey,length){return await EcCrypto.deriveBits({...algorithm,public:getCryptoKey(algorithm.public)},getCryptoKey(baseKey),length)}}const edOIDs={[index$1.idEd448]:"Ed448",ed448:index$1.idEd448,[index$1.idX448]:"X448",x448:index$1.idX448,[index$1.idEd25519]:"Ed25519",ed25519:index$1.idEd25519,[index$1.idX25519]:"X25519",x25519:index$1.idX25519};function getOidByNamedCurve(namedCurve){const oid=edOIDs[namedCurve.toLowerCase()];if(!oid)throw new OperationError(`Cannot convert WebCrypto named curve '${namedCurve}' to OID`);return oid}class EdPrivateKey extends AsymmetricKey{constructor(){super(...arguments),this.type="private"}getKey(){const keyInfo=AsnParser.parse(this.data,index$1.PrivateKeyInfo);return AsnParser.parse(keyInfo.privateKey,index$1.CurvePrivateKey)}toJSON(){const key=this.getKey(),json={kty:"OKP",crv:this.algorithm.namedCurve,key_ops:this.usages,ext:this.extractable};return Object.assign(json,JsonSerializer.toJSON(key))}fromJSON(json){if(!json.crv)throw new OperationError("Cannot get named curve from JWK. Property 'crv' is required");const keyInfo=new index$1.PrivateKeyInfo;keyInfo.privateKeyAlgorithm.algorithm=getOidByNamedCurve(json.crv);const key=JsonParser.fromJSON(json,{targetSchema:index$1.CurvePrivateKey});return keyInfo.privateKey=AsnSerializer.serialize(key),this.data=webcrypto_es_Buffer.from(AsnSerializer.serialize(keyInfo)),this}}class EdPublicKey extends AsymmetricKey{constructor(){super(...arguments),this.type="public"}getKey(){return AsnParser.parse(this.data,index$1.PublicKeyInfo).publicKey}toJSON(){const key=this.getKey(),json={kty:"OKP",crv:this.algorithm.namedCurve,key_ops:this.usages,ext:this.extractable};return Object.assign(json,{x:build.Convert.ToBase64Url(key)})}fromJSON(json){if(!json.crv)throw new OperationError("Cannot get named curve from JWK. Property 'crv' is required");if(!json.x)throw new OperationError("Cannot get property from JWK. Property 'x' is required");const keyInfo=new index$1.PublicKeyInfo;return keyInfo.publicKeyAlgorithm.algorithm=getOidByNamedCurve(json.crv),keyInfo.publicKey=build.Convert.FromBase64Url(json.x),this.data=webcrypto_es_Buffer.from(AsnSerializer.serialize(keyInfo)),this}}class EdCrypto{static async generateKey(algorithm,extractable,keyUsages){const privateKey=new EdPrivateKey;privateKey.algorithm=algorithm,privateKey.extractable=extractable,privateKey.usages=keyUsages.filter((usage=>-1!==this.privateKeyUsages.indexOf(usage)));const publicKey=new EdPublicKey;publicKey.algorithm=algorithm,publicKey.extractable=!0,publicKey.usages=keyUsages.filter((usage=>-1!==this.publicKeyUsages.indexOf(usage)));const type=algorithm.namedCurve.toLowerCase(),keys=crypto_browserify.generateKeyPairSync(type,{publicKeyEncoding:{format:"der",type:"spki"},privateKeyEncoding:{format:"der",type:"pkcs8"}});privateKey.data=keys.privateKey,publicKey.data=keys.publicKey;return{privateKey:privateKey,publicKey:publicKey}}static async sign(algorithm,key,data){key.pem||(key.pem=`-----BEGIN PRIVATE KEY-----\n${key.data.toString("base64")}\n-----END PRIVATE KEY-----`);const options={key:key.pem},signature=crypto_browserify.sign(null,webcrypto_es_Buffer.from(data),options);return build.BufferSourceConverter.toArrayBuffer(signature)}static async verify(algorithm,key,signature,data){key.pem||(key.pem=`-----BEGIN PUBLIC KEY-----\n${key.data.toString("base64")}\n-----END PUBLIC KEY-----`);const options={key:key.pem};return crypto_browserify.verify(null,webcrypto_es_Buffer.from(data),options,webcrypto_es_Buffer.from(signature))}static async deriveBits(algorithm,baseKey,length){const publicKey=crypto_browserify.createPublicKey({key:algorithm.public.data,format:"der",type:"spki"}),privateKey=crypto_browserify.createPrivateKey({key:baseKey.data,format:"der",type:"pkcs8"}),bits=crypto_browserify.diffieHellman({publicKey:publicKey,privateKey:privateKey});return new Uint8Array(bits).buffer.slice(0,length>>3)}static async exportKey(format,key){switch(format.toLowerCase()){case"jwk":return JsonSerializer.toJSON(key);case"pkcs8":case"spki":return new Uint8Array(key.data).buffer;case"raw":return AsnParser.parse(key.data,index$1.PublicKeyInfo).publicKey;default:throw new OperationError("format: Must be 'jwk', 'raw', pkcs8' or 'spki'")}}static async importKey(format,keyData,algorithm,extractable,keyUsages){switch(format.toLowerCase()){case"jwk":{const jwk=keyData;if(jwk.d){const asnKey=JsonParser.fromJSON(keyData,{targetSchema:index$1.CurvePrivateKey});return this.importPrivateKey(asnKey,algorithm,extractable,keyUsages)}if(!jwk.x)throw new TypeError("keyData: Cannot get required 'x' filed");return this.importPublicKey(build.Convert.FromBase64Url(jwk.x),algorithm,extractable,keyUsages)}case"raw":return this.importPublicKey(keyData,algorithm,extractable,keyUsages);case"spki":{const keyInfo=AsnParser.parse(new Uint8Array(keyData),index$1.PublicKeyInfo);return this.importPublicKey(keyInfo.publicKey,algorithm,extractable,keyUsages)}case"pkcs8":{const keyInfo=AsnParser.parse(new Uint8Array(keyData),index$1.PrivateKeyInfo),asnKey=AsnParser.parse(keyInfo.privateKey,index$1.CurvePrivateKey);return this.importPrivateKey(asnKey,algorithm,extractable,keyUsages)}default:throw new OperationError("format: Must be 'jwk', 'raw', 'pkcs8' or 'spki'")}}static importPrivateKey(asnKey,algorithm,extractable,keyUsages){const key=new EdPrivateKey;return key.fromJSON({crv:algorithm.namedCurve,d:build.Convert.ToBase64Url(asnKey.d)}),key.algorithm=Object.assign({},algorithm),key.extractable=extractable,key.usages=keyUsages,key}static async importPublicKey(asnKey,algorithm,extractable,keyUsages){const key=new EdPublicKey;return key.fromJSON({crv:algorithm.namedCurve,x:build.Convert.ToBase64Url(asnKey)}),key.algorithm=Object.assign({},algorithm),key.extractable=extractable,key.usages=keyUsages,key}}EdCrypto.publicKeyUsages=["verify"],EdCrypto.privateKeyUsages=["sign","deriveKey","deriveBits"];class EdDsaProvider extends webcrypto_core_es_EdDsaProvider{async onGenerateKey(algorithm,extractable,keyUsages){const keys=await EdCrypto.generateKey({name:this.name,namedCurve:algorithm.namedCurve.replace(/^ed/i,"Ed")},extractable,keyUsages);return{privateKey:setCryptoKey(keys.privateKey),publicKey:setCryptoKey(keys.publicKey)}}async onSign(algorithm,key,data){return EdCrypto.sign(algorithm,getCryptoKey(key),new Uint8Array(data))}async onVerify(algorithm,key,signature,data){return EdCrypto.verify(algorithm,getCryptoKey(key),new Uint8Array(signature),new Uint8Array(data))}async onExportKey(format,key){return EdCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){return setCryptoKey(await EdCrypto.importKey(format,keyData,{...algorithm,name:this.name},extractable,keyUsages))}}class EcdhEsProvider extends webcrypto_core_es_EcdhEsProvider{async onGenerateKey(algorithm,extractable,keyUsages){const keys=await EdCrypto.generateKey({name:this.name,namedCurve:algorithm.namedCurve.toUpperCase()},extractable,keyUsages);return{privateKey:setCryptoKey(keys.privateKey),publicKey:setCryptoKey(keys.publicKey)}}async onDeriveBits(algorithm,baseKey,length){return await EdCrypto.deriveBits({...algorithm,public:getCryptoKey(algorithm.public)},getCryptoKey(baseKey),length)}async onExportKey(format,key){return EdCrypto.exportKey(format,getCryptoKey(key))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){return setCryptoKey(await EdCrypto.importKey(format,keyData,{...algorithm,name:this.name},extractable,keyUsages))}}class Sha1Provider extends ProviderCrypto{constructor(){super(...arguments),this.name="SHA-1",this.usages=[]}async onDigest(algorithm,data){return ShaCrypto.digest(algorithm,data)}}class Sha256Provider extends ProviderCrypto{constructor(){super(...arguments),this.name="SHA-256",this.usages=[]}async onDigest(algorithm,data){return ShaCrypto.digest(algorithm,data)}}class Sha384Provider extends ProviderCrypto{constructor(){super(...arguments),this.name="SHA-384",this.usages=[]}async onDigest(algorithm,data){return ShaCrypto.digest(algorithm,data)}}class Sha512Provider extends ProviderCrypto{constructor(){super(...arguments),this.name="SHA-512",this.usages=[]}async onDigest(algorithm,data){return ShaCrypto.digest(algorithm,data)}}class PbkdfCryptoKey extends CryptoKey{}class Pbkdf2Provider extends webcrypto_core_es_Pbkdf2Provider{async onDeriveBits(algorithm,baseKey,length){return new Promise(((resolve,reject)=>{const salt=build.BufferSourceConverter.toArrayBuffer(algorithm.salt),hash=algorithm.hash.name.replace("-","");crypto_browserify.pbkdf2(getCryptoKey(baseKey).data,webcrypto_es_Buffer.from(salt),algorithm.iterations,length>>3,hash,((err,derivedBits)=>{err?reject(err):resolve(new Uint8Array(derivedBits).buffer)}))}))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){if("raw"===format){const key=new PbkdfCryptoKey;return key.data=webcrypto_es_Buffer.from(keyData),key.algorithm={name:this.name},key.extractable=!1,key.usages=keyUsages,setCryptoKey(key)}throw new OperationError("format: Must be 'raw'")}checkCryptoKey(key,keyUsage){if(super.checkCryptoKey(key,keyUsage),!(getCryptoKey(key)instanceof PbkdfCryptoKey))throw new TypeError("key: Is not PBKDF CryptoKey")}}class HmacCryptoKey extends CryptoKey{get alg(){return`HS${this.algorithm.hash.name.toUpperCase().replace("SHA-","")}`}set alg(value){}}__decorate([JsonProp({name:"k",converter:JsonBase64UrlConverter})],HmacCryptoKey.prototype,"data",void 0);class HmacProvider extends webcrypto_core_es_HmacProvider{async onGenerateKey(algorithm,extractable,keyUsages){const length=(algorithm.length||this.getDefaultLength(algorithm.hash.name))>>3<<3,key=new HmacCryptoKey;return key.algorithm={...algorithm,length:length,name:this.name},key.extractable=extractable,key.usages=keyUsages,key.data=crypto_browserify.randomBytes(length>>3),setCryptoKey(key)}async onSign(algorithm,key,data){const hash=key.algorithm.hash.name.replace("-",""),hmac=crypto_browserify.createHmac(hash,getCryptoKey(key).data).update(webcrypto_es_Buffer.from(data)).digest();return new Uint8Array(hmac).buffer}async onVerify(algorithm,key,signature,data){const hash=key.algorithm.hash.name.replace("-","");return 0===crypto_browserify.createHmac(hash,getCryptoKey(key).data).update(webcrypto_es_Buffer.from(data)).digest().compare(webcrypto_es_Buffer.from(signature))}async onImportKey(format,keyData,algorithm,extractable,keyUsages){let key;switch(format.toLowerCase()){case"jwk":key=JsonParser.fromJSON(keyData,{targetSchema:HmacCryptoKey});break;case"raw":key=new HmacCryptoKey,key.data=webcrypto_es_Buffer.from(keyData);break;default:throw new OperationError("format: Must be 'jwk' or 'raw'")}return key.algorithm={hash:{name:algorithm.hash.name},name:this.name,length:key.data.length<<3},key.extractable=extractable,key.usages=keyUsages,setCryptoKey(key)}async onExportKey(format,key){switch(format.toLowerCase()){case"jwk":return JsonSerializer.toJSON(getCryptoKey(key));case"raw":return new Uint8Array(getCryptoKey(key).data).buffer;default:throw new OperationError("format: Must be 'jwk' or 'raw'")}}checkCryptoKey(key,keyUsage){if(super.checkCryptoKey(key,keyUsage),!(getCryptoKey(key)instanceof HmacCryptoKey))throw new TypeError("key: Is not HMAC CryptoKey")}}class HkdfCryptoKey extends CryptoKey{}class HkdfProvider extends webcrypto_core_es_HkdfProvider{async onImportKey(format,keyData,algorithm,extractable,keyUsages){if("raw"!==format.toLowerCase())throw new OperationError("Operation not supported");const key=new HkdfCryptoKey;return key.data=webcrypto_es_Buffer.from(keyData),key.algorithm={name:this.name},key.extractable=extractable,key.usages=keyUsages,setCryptoKey(key)}async onDeriveBits(params,baseKey,length){const hash=params.hash.name.replace("-",""),hashLength=crypto_browserify.createHash(hash).digest().length,byteLength=length/8,info=build.BufferSourceConverter.toUint8Array(params.info),PRK=crypto_browserify.createHmac(hash,build.BufferSourceConverter.toUint8Array(params.salt)).update(build.BufferSourceConverter.toUint8Array(getCryptoKey(baseKey).data)).digest(),blocks=[webcrypto_es_Buffer.alloc(0)],blockCount=Math.ceil(byteLength/hashLength)+1;for(let i=1;i<blockCount;++i)blocks.push(crypto_browserify.createHmac(hash,PRK).update(webcrypto_es_Buffer.concat([blocks[i-1],info,webcrypto_es_Buffer.from([i])])).digest());return webcrypto_es_Buffer.concat(blocks).slice(0,byteLength)}checkCryptoKey(key,keyUsage){if(super.checkCryptoKey(key,keyUsage),!(getCryptoKey(key)instanceof HkdfCryptoKey))throw new TypeError("key: Is not HKDF CryptoKey")}}class SubtleCrypto extends webcrypto_core_es_SubtleCrypto{constructor(){var _a;super(),this.providers.set(new AesCbcProvider),this.providers.set(new AesCtrProvider),this.providers.set(new AesGcmProvider),this.providers.set(new AesCmacProvider),this.providers.set(new AesKwProvider),this.providers.set(new AesEcbProvider),this.providers.set(new DesCbcProvider),this.providers.set(new DesEde3CbcProvider),this.providers.set(new RsaSsaProvider),this.providers.set(new RsaPssProvider),this.providers.set(new RsaOaepProvider),this.providers.set(new RsaEsProvider),this.providers.set(new EcdsaProvider),this.providers.set(new EcdhProvider),this.providers.set(new Sha1Provider),this.providers.set(new Sha256Provider),this.providers.set(new Sha384Provider),this.providers.set(new Sha512Provider),this.providers.set(new Pbkdf2Provider),this.providers.set(new HmacProvider),this.providers.set(new HkdfProvider);const nodeMajorVersion=null===(_a=/^v(\d+)/.exec(browser.version))||void 0===_a?void 0:_a[1];nodeMajorVersion&&parseInt(nodeMajorVersion,10)>=14&&(this.providers.set(new EdDsaProvider),this.providers.set(new EcdhEsProvider))}}class Crypto extends webcrypto_core_es_Crypto{constructor(){super(...arguments),this.subtle=new SubtleCrypto}getRandomValues(array){if(!ArrayBuffer.isView(array))throw new TypeError("Failed to execute 'getRandomValues' on 'Crypto': parameter 1 is not of type 'ArrayBufferView'");const buffer=webcrypto_es_Buffer.from(array.buffer,array.byteOffset,array.byteLength);return crypto_browserify.randomFillSync(buffer),array}}function escapeString(value){return(0,validate.Cp)(value).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(0,namespace.O)("Monster.Types",escapeString),__webpack_require__.g.crypto||(__webpack_require__.g.crypto=new Crypto),describe("escapeString",(function(){[["test1","test1"],["${","\\$\\{"],["i18n{","i18n\\{"],["//","//"],["\\","\\\\"]].forEach((function(data){var a=data.shift(),b=data.shift();it("escapeString("+a+") should return "+b,(function(){expect(escapeString(a)).is.equal(b)}))}))})),describe("Observer",(function(){var callback=function callback(){},observer=new types_observer.p(callback);describe(".addTag()",(function(){[["test1"],["test2"]].forEach((function(data){var a=data.shift();it("addTag("+a+") should return instanceof Observer",(function(){expect(observer.addTag(a)).is.instanceOf(types_observer.p)}))}))})),describe(".removeTag()",(function(){[["test1"],["test2"]].forEach((function(data){var a=data.shift();it("removeTag("+a+") should return instanceof Observer",(function(){expect(observer.removeTag(a)).is.instanceOf(types_observer.p)}))}))})),describe(".hasTag()",(function(){[["test1",!0],["test2",!0],["test3",!1],["test4",!1]].forEach((function(data){var tempObserver=new types_observer.p(callback),a=data.shift(),b=data.shift();it("observer.hastTag("+a+") should return "+b,(function(){!0===b?(tempObserver.addTag(a),expect(tempObserver.hasTag(a)).is.be.true):expect(tempObserver.hasTag(a)).is.be.false}))}))})),describe(".update()",(function(){var obj={};it("observer.update("+obj+") is 136",(function(done){new types_observer.p((function(a,b,c){return a+b+c}),1,3,6).update(obj).then((function(a){expect(a).is.equal(10),done()}))}))})),describe("run function .update() several times",(function(){var obj={};it("observer.update("+obj+") is 136",(function(done){var tempObserver=new types_observer.p((function(a,b,c){0}));tempObserver.update(obj),tempObserver.update(obj),tempObserver.update(obj),tempObserver.update(obj),tempObserver.update(obj).then((function(_){done()}))}))})),describe(".getTags()",(function(){[[["test1","test2","test3","test4"],4],[["test1","test1","test3","test4"],3],[["test1","test1","test1","test4"],2]].forEach((function(data){for(var tempObserver=new types_observer.p(callback),a=data.shift(),b=data.shift(),i=0,max=a.length;i<max;i++)tempObserver.addTag(a[i]);it("observer.getTags("+a+") is array",(function(){expect(tempObserver.getTags()).to.be.an("array")})),it("observer.getTags("+a+") should return "+b+" tags",(function(){expect(tempObserver.getTags().length).is.equal(b)}))}))}))})),describe("Global",(function(){describe("getGlobal",(function(){it("should return global object",(function(){var t=(0,esm_typeof.Z)((0,global.Rd)());expect(t).to.be.equal("object")}))})),describe("getGlobalFunction",(function(){it("should return global function",(function(){var t=(0,esm_typeof.Z)((0,global.Ck)("parseInt"));expect(t).to.be.equal("function")}))})),describe("getGlobalObject",(function(){it("should return global object",(function(){var t=(0,esm_typeof.Z)((0,global.Rf)("JSON"));expect(t).to.be.equal("object")}))}))}));var observerlist=__webpack_require__(29374);describe("ObserverList",(function(){describe(".attach()",(function(){it("should return instanceof ObserverList",(function(){var result=(new observerlist.B).attach(new types_observer.p((function(){})));expect(result).to.be.instanceOf(observerlist.B)}))})),describe(".detach()",(function(){it("should return instanceof ObserverList",(function(){var result=(new observerlist.B).detach(new types_observer.p((function(){})));expect(result).to.be.instanceOf(observerlist.B)}))})),describe(".notify()",(function(){var o,observerList;beforeEach((function(){o=new types_observer.p((function(){return"Yes!"})),(observerList=new observerlist.B).attach(o)})),it("should instanceof Promise",(function(){expect(observerList.notify({})).to.be.instanceOf(Promise)})),it("should return Yes!",(function(done){observerList.notify({}).then((function(r){expect(r).to.be.an("array").that.includes("Yes!"),done()})).catch((function(e){done(new Error(e))}))}))})),describe(".contains()",(function(){var o1=new types_observer.p((function(){})),o2=new types_observer.p((function(){}));it("should not contain o1 and o2",(function(){var observerList=new observerlist.B;expect(observerList.contains(o1)).to.be.false,expect(observerList.contains(o2)).to.be.false})),it("should contain o2 and not o1",(function(){var observerList=new observerlist.B;observerList.attach(o2),expect(observerList.contains(o1)).to.be.false,expect(observerList.contains(o2)).to.be.true})),it("should contain o1 and not o2",(function(){var observerList=new observerlist.B;observerList.attach(o1),expect(observerList.contains(o1)).to.be.true,expect(observerList.contains(o2)).to.be.false})),it("should contain o2 and o1",(function(){var observerList=new observerlist.B;observerList.attach(o2).attach(o1),expect(observerList.contains(o1)).to.be.true,expect(observerList.contains(o2)).to.be.true}))}))})),describe("BaseWithOptions",(function(){describe("new BaseWithOptions",(function(){it("is instance of BaseWithOptions",(function(){expect(new BaseWithOptions).to.be.instanceOf(BaseWithOptions)})),it("is instance of Object",(function(){expect(new BaseWithOptions).to.be.instanceOf(Object)})),it("get option is true",(function(){expect(new BaseWithOptions({a:!0}).getOption("a")).to.be.true}))}))}));__webpack_require__(91058);__webpack_require__.g.crypto||(__webpack_require__.g.crypto=new Crypto),describe("Is",(function(){describe(".isPrimitive()",(function(){[["test1",!0],[void 0,!0],[null,!0],[function(){},!1],[2,!0],[parseInt("a"),!0],[!1,!0],[!0,!0],[4.5,!0],[{},!1],[[1,2,3],!1],[Symbol("foo"),!0]].forEach((function(data){var a=data.shift(),b=data.shift();it("is.isPrimitive("+(0,esm_typeof.Z)(a)+") should return "+b,(function(){expect((0,is.pt)(a)).is.equal(b)}))}))})),describe(".isSymbol()",(function(){[["test1",!1],[void 0,!1],[null,!1],[function(){},!1],[2,!1],[parseInt("a"),!1],[!1,!1],[!0,!1],[4.5,!1],[{},!1],[[1,2,3],!1],[Symbol("foo"),!0]].forEach((function(data){var a=data.shift(),b=data.shift();it("is.isSymbol("+(0,esm_typeof.Z)(a)+") should return "+b,(function(){expect((0,is.yk)(a)).is.equal(b)}))}))})),describe(".isInteger()",(function(){[["test1",!1],[void 0,!1],[null,!1],[function(){},!1],[2,!0],[parseInt("a"),!1],[!1,!1],[!0,!1],[4.5,!1],[{},!1],[[1,2,3],!1],[Symbol("foo"),!1]].forEach((function(data){var a=data.shift(),b=data.shift();it("is.isInteger("+(0,esm_typeof.Z)(a)+") should return "+b,(function(){expect((0,is.U)(a)).is.equal(b)}))}))})),describe(".isIterable()",(function(){[["test1",!0],[void 0,!1],[null,!1],[function(){},!1],[parseInt("a"),!1],[2,!1],[!1,!1],[!0,!1],[4.5,!1],[{},!1],[[1,2,3],!0],[Symbol("foo"),!1]].forEach((function(data){var a=data.shift(),b=data.shift();it("is.isIterable("+(0,esm_typeof.Z)(a)+") should return "+b,(function(){expect((0,is.TW)(a)).is.equal(b)}))}))})),describe(".isBoolean()",(function(){[["test1",!1],[void 0,!1],[null,!1],[function(){},!1],[2,!1],[!1,!0],[parseInt("a"),!1],[!0,!0],[4.5,!1],[{},!1],[[1,2,3],!1],[Symbol("foo"),!1]].forEach((function(data){var a=data.shift(),b=data.shift();it("is.isBoolean("+(0,esm_typeof.Z)(a)+") should return "+b,(function(){expect((0,is.jn)(a)).is.equal(b)}))}))})),describe(".isString()",(function(){[["test1",!0],[void 0,!1],[null,!1],[function(){},!1],[2,!1],[!1,!1],[parseInt("a"),!1],[!0,!1],[4.5,!1],[{},!1],[[1,2,3],!1],[Symbol("foo"),!1]].forEach((function(data){var a=data.shift(),b=data.shift();it("is.isString("+(0,esm_typeof.Z)(a)+") should return "+b,(function(){expect((0,is.HD)(a)).is.equal(b)}))}))})),describe(".isInstance()",(function(){[[new types_id.ID,types_id.ID,!0],[new types_id.ID,function(){},!1],["test1",void 0,!1],[void 0,void 0,!1],[null,void 0,!1],[function(){},void 0,!1],[2,void 0,!1],[!1,void 0,!1],[parseInt("a"),void 0,!1],[!0,void 0,!1],[4.5,void 0,!1],[{},void 0,!1],[[1,2,3],void 0,!1],[Symbol("foo"),void 0,!1]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("is.isInstance("+JSON.stringify(a)+") should return "+(0,esm_typeof.Z)(b),(function(){expect((0,is.$O)(a,b)).is.equal(c)}))}))})),describe(".isObject()",(function(){[["test1",!1],[void 0,!1],[null,!1],[function(){},!1],[2,!1],[!1,!1],[parseInt("a"),!1],[!0,!1],[4.5,!1],[{},!0],[[1,2,3],!1],[Symbol("foo"),!1]].forEach((function(data){var a=data.shift(),b=data.shift();it("is.isObject("+JSON.stringify(a)+") should return "+b,(function(){expect((0,is.Kn)(a)).is.equal(b)}))}))})),describe(".isArray()",(function(){[["test1",!1],[void 0,!1],[null,!1],[function(){},!1],[2,!1],[!1,!1],[parseInt("a"),!1],[!0,!1],[4.5,!1],[{},!1],[[1,2,3],!0],[Symbol("foo"),!1]].forEach((function(data){var a=data.shift(),b=data.shift();it("is.isArray("+(0,esm_typeof.Z)(a)+") should return "+b,(function(){expect((0,is.kJ)(a)).is.equal(b)}))}))})),describe(".isFunction()",(function(){[["test1",!1],[void 0,!1],[null,!1],[function(){},!0],[2,!1],[!1,!1],[parseInt("a"),!1],[!0,!1],[4.5,!1],[{},!1],[[1,2,3],!1],[Symbol("foo"),!1]].forEach((function(data){var a=data.shift(),b=data.shift();it("is.isFunction("+(0,esm_typeof.Z)(a)+") should return "+b,(function(){expect((0,is.mf)(a)).is.equal(b)}))}))}))}));__webpack_require__(95683),__webpack_require__(83593);describe("ProxyObserver",(function(){describe("create",(function(){it("should return instanceof ProxyObserver",(function(){var o=new types_proxyobserver.k({});(0,extend.l)(o.getSubject(),{a:4}),expect(o.getRealSubject()).is.eql({a:4})}))})),describe("setSubject",(function(){it("should run observer",(function(done){var o=new types_proxyobserver.k({a:1});expect(o.getRealSubject()).is.eql({a:1});var counter=0;o.attachObserver(new types_observer.p((function(){if((0,is.Kn)(this)&&this instanceof types_proxyobserver.k)return 1===++counter?void done():void done("called for error");done(new Error("this is not ProxyObserver"))}))),o.getSubject().c=4,expect(o.getRealSubject()).is.eql({a:1,c:4}),o.setSubject({b:2}),expect(o.getRealSubject()).is.eql({b:2}),o.getSubject().d=5,expect(o.getRealSubject()).is.eql({b:2,d:5})}))})),describe("create",(function(){it("should return instanceof ProxyObserver",(function(){var o=new types_proxyobserver.k({});expect(o).is.instanceOf(types_proxyobserver.k)}))})),describe("proxy objects",(function(){it("Proxy objects should not be recommitted",(function(){var o=new types_proxyobserver.k({a:{b:!0}});o.getSubject().a.b=o.getSubject(),o.getSubject().a.b.a.b=!1}))})),describe("notify observer",(function(){it("should inform observer",(function(done){var counter=0,o=new types_observer.p((function(a){(0,is.Kn)(this)&&this instanceof types_proxyobserver.k?1===++counter&&done():done(new Error("this is not ProxyObserver"))}),!0),p=new types_proxyobserver.k({a:{b:{c:!0},d:5}});expect(p).is.instanceOf(types_proxyobserver.k),expect(p.attachObserver(o)).is.instanceOf(types_proxyobserver.k);var s=p.getSubject();p.getRealSubject();s.a.d=!1,s.a.b.d=2}))})),describe("Reflect",(function(){it("check Reflect.set() with Subject",(function(){var obj=new types_proxyobserver.k({}).getSubject();["yes!",void 0,"no"].forEach((function(value){expect((function(){obj.data=value})).to.not.throw()}))})),[["that",{that:"checked1"}],["that",new Proxy({that:"checked2"},{})],["that",new types_proxyobserver.k({that:"checked3"}).getRealSubject()],["that",new types_proxyobserver.k({that:"checked4"}).getSubject()]].forEach((function(data){var key=data.shift(),target=data.shift();it("check Reflect.set("+key+","+JSON.stringify(target)+") should writable",(function(){["1",void 0,!0,void 0,!1,void 0,void 0].forEach((function(values){expect(Reflect.getOwnPropertyDescriptor(target,key).writable,"writable for undefined should return true").to.be.true,expect(Reflect.set(target,key,undefined),"set for undefined should return true").to.be.true,expect(Reflect.getOwnPropertyDescriptor(target,key).writable,"writable for undefined should return true").to.be.true}))}))}))})),describe("notify observer with changes",(function(){var original,observer,proxy;before((function(){original={},proxy=new types_proxyobserver.k(original)})),[["a",4,JSON.stringify({a:4})],["b",9,JSON.stringify({a:4,b:9})]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("set key "+a+" value "+b+" expect "+c,(function(done){var counter=0;observer=new types_observer.p((function(){counter++,expect(JSON.stringify(this.getRealSubject())).is.equal(c),1===counter&&(this.detachObserver(observer),done())})),proxy.attachObserver(observer),proxy.getSubject()[a]=b}))}))})),describe("notify observer ",(function(){it("should return promise",(function(){var proxy=new types_proxyobserver.k({}),observer=new types_observer.p((function(){}));proxy.attachObserver(observer),expect(proxy.notifyObservers()).is.instanceOf(Promise)}))}))}));var uniquequeue=__webpack_require__(23193);describe("UniqueQueue",(function(){var queue;beforeEach((function(){queue=new uniquequeue.d})),describe("isEmpty()",(function(){it("first it should empty",(function(){expect(queue.isEmpty()).to.be.true}))})),describe("add sequence peek and poll",(function(){it("result a,a,a,b",(function(){expect(queue.add({a:1})).to.be.instanceOf(uniquequeue.d),expect(queue.isEmpty()).to.be.false,expect(queue.add({a:2})).to.be.instanceOf(uniquequeue.d),expect(queue.add({a:3})).to.be.instanceOf(uniquequeue.d),expect(queue.peek()).to.deep.equal({a:1}),expect(queue.peek()).to.deep.equal({a:1}),expect(queue.poll()).to.deep.equal({a:1}),expect(queue.poll()).to.deep.equal({a:2}),expect(queue.isEmpty()).to.be.false,expect(queue.peek()).to.deep.equal({a:3}),expect(queue.poll()).to.deep.equal({a:3}),expect(queue.isEmpty()).to.be.true}))})),describe("add and clear",(function(){it("should empty",(function(){expect(queue.isEmpty()).to.be.true,expect(queue.add({a:1})).to.be.instanceOf(uniquequeue.d),expect(queue.isEmpty()).to.be.false,expect(queue.clear()).to.be.instanceOf(uniquequeue.d),expect(queue.isEmpty()).to.be.true}))})),describe("add no object",(function(){it("should throw error",(function(){expect((function(){queue.add([])})).to.throw(TypeError),expect((function(){queue.add(1)})).to.throw(TypeError),expect((function(){queue.add(!0)})).to.throw(TypeError),expect((function(){queue.add()})).to.throw(TypeError),expect((function(){queue.add(Symbol("1"))})).to.throw(TypeError),expect((function(){queue.add((function(){}))})).to.throw(TypeError)}))}))}));__webpack_require__(83112);var wrapNativeSuper=__webpack_require__(72407);function nodelist_createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function nodelist_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return nodelist_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nodelist_arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function nodelist_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function nodelist_createSuper(Derived){var hasNativeReflectConstruct=function nodelist_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}var NodeList=function(_Set){(0,inherits.Z)(NodeList,_Set);var _super=nodelist_createSuper(NodeList);function NodeList(values){var _this;(0,classCallCheck.Z)(this,NodeList),_this=_super.call(this);var self=(0,assertThisInitialized.Z)(_this);if(void 0===values)return(0,possibleConstructorReturn.Z)(_this);if((0,is.kJ)(values))values.forEach((function(value){return self.add(value)}));else if((0,is.$O)(values,NodeList))values.forEach((function(value){return self.add(value)}));else{if(!(0,is.$O)(values,node_Node))throw new Error("invalid value type");self.add(values)}return _this}return(0,createClass.Z)(NodeList,[{key:"add",value:function add(node){return(0,esm_get.Z)((0,getPrototypeOf.Z)(NodeList.prototype),"add",this).call(this,(0,validate.dh)(node,node_Node)),this}},{key:"remove",value:function remove(node){return(0,esm_get.Z)((0,getPrototypeOf.Z)(NodeList.prototype),"delete",this).call(this,(0,validate.dh)(node,node_Node)),this}},{key:"has",value:function has(node){return(0,esm_get.Z)((0,getPrototypeOf.Z)(NodeList.prototype),"has",this).call(this,(0,validate.dh)(node,node_Node))}},{key:"clear",value:function clear(){return(0,esm_get.Z)((0,getPrototypeOf.Z)(NodeList.prototype),"clear",this).call(this),this}},{key:"toArray",value:function toArray(){return Array.from(this)}},{key:"toJSON",value:function toJSON(){return this.toArray()}},{key:"toString",value:function toString(){var _step,parts=[],_iterator=nodelist_createForOfIteratorHelper(this.toArray());try{for(_iterator.s();!(_step=_iterator.n()).done;){var node=_step.value;parts.push(node.toString())}}catch(err){_iterator.e(err)}finally{_iterator.f()}return parts.join("\n")}},{key:"length",get:function get(){return(0,esm_get.Z)((0,getPrototypeOf.Z)(NodeList.prototype),"size",this)}}]),NodeList}((0,wrapNativeSuper.Z)(Set));function node_createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function node_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return node_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return node_arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function node_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function node_createSuper(Derived){var hasNativeReflectConstruct=function node_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Types",NodeList);var _Symbol$iterator,internalValueSymbol=Symbol("internalData"),treeStructureSymbol=Symbol("treeStructure"),node_Node=function(_Base){(0,inherits.Z)(Node,_Base);var _super=node_createSuper(Node);function Node(value){var _this;return(0,classCallCheck.Z)(this,Node),(_this=_super.call(this))[internalValueSymbol]=value,_this[treeStructureSymbol]={parent:null,childNodes:new NodeList,level:0},_this}return(0,createClass.Z)(Node,[{key:"value",get:function get(){return this[internalValueSymbol]},set:function set(value){this[internalValueSymbol]=value}},{key:"parent",get:function get(){return this[treeStructureSymbol].parent}},{key:"level",get:function get(){return this[treeStructureSymbol].level}},{key:"childNodes",get:function get(){return this[treeStructureSymbol].childNodes},set:function set(childNodes){this[treeStructureSymbol].childNodes=(0,validate.dh)(childNodes,NodeList),setChildLevelAndParent.call(this,this,1)}},{key:"appendChild",value:function appendChild(node){return this[treeStructureSymbol].childNodes.add((0,validate.dh)(node,Node)),node[treeStructureSymbol].parent=this,node[treeStructureSymbol].level=this.level+1,setChildLevelAndParent.call(this,node,1),this}},{key:"removeChild",value:function removeChild(node){return this[treeStructureSymbol].childNodes.remove((0,validate.dh)(node,Node)),node[treeStructureSymbol].parent=null,node[treeStructureSymbol].level=0,setChildLevelAndParent.call(this,node,-1),this}},{key:"hasChildNodes",value:function hasChildNodes(){return this[treeStructureSymbol].childNodes.length>0}},{key:"hasChild",value:function hasChild(node){return this[treeStructureSymbol].childNodes.has((0,validate.dh)(node,Node))}},{key:"toString",value:function toString(){var parts=[];if(this[internalValueSymbol]){var label=this[internalValueSymbol];(0,is.pt)(label)||(label=JSON.stringify(this[internalValueSymbol])),parts.push(label)}if(!this.hasChildNodes())return parts.join("\n");var _step,count=this.childNodes.length,counter=0,_iterator=node_createForOfIteratorHelper(this.childNodes);try{for(_iterator.s();!(_step=_iterator.n()).done;){var node=_step.value,prefix=(count===++counter?"└":"├").padStart(2*node.level," |");parts.push(prefix+node.toString())}}catch(err){_iterator.e(err)}finally{_iterator.f()}return parts.join("\n")}}]),Node}(base.X);function setChildLevelAndParent(node,operand){var self=this;return node!==this&&(node[treeStructureSymbol].parent=this),node[treeStructureSymbol].childNodes.forEach((function(child){child[treeStructureSymbol].parent=node,child[treeStructureSymbol].level=node[treeStructureSymbol].level+operand,setChildLevelAndParent.call(self,child,operand)})),this}function noderecursiveiterator_createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function noderecursiveiterator_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return noderecursiveiterator_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return noderecursiveiterator_arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function noderecursiveiterator_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function noderecursiveiterator_createSuper(Derived){var hasNativeReflectConstruct=function noderecursiveiterator_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Types",node_Node);var isNodeListSymbol=Symbol("isNodeList");_Symbol$iterator=Symbol.iterator;var NodeRecursiveIterator=function(_Base){(0,inherits.Z)(NodeRecursiveIterator,_Base);var _super=noderecursiveiterator_createSuper(NodeRecursiveIterator);function NodeRecursiveIterator(_node){var _this;if((0,classCallCheck.Z)(this,NodeRecursiveIterator),_this=_super.call(this),_defineProperty((0,assertThisInitialized.Z)(_this),_Symbol$iterator,regenerator_default().mark((function _callee(){var childNodes,_iterator,_step,node;return regenerator_default().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:if(void 0!==this[constants.eB]){_context.next=2;break}return _context.abrupt("return");case 2:if(!0===this[isNodeListSymbol]){_context.next=5;break}return _context.next=5,this[constants.eB];case 5:if(!this[constants.eB].hasChildNodes()){_context.next=23;break}childNodes=this[constants.eB].childNodes,_iterator=noderecursiveiterator_createForOfIteratorHelper(childNodes),_context.prev=8,_iterator.s();case 10:if((_step=_iterator.n()).done){_context.next=15;break}return node=_step.value,_context.delegateYield(new NodeRecursiveIterator(node),"t0",13);case 13:_context.next=10;break;case 15:_context.next=20;break;case 17:_context.prev=17,_context.t1=_context.catch(8),_iterator.e(_context.t1);case 20:return _context.prev=20,_iterator.f(),_context.finish(20);case 23:return _context.abrupt("return");case 24:case"end":return _context.stop()}}),_callee,this,[[8,17,20,23]])}))),_this[isNodeListSymbol]=!1,(0,is.$O)(_node,NodeList)){var children=_node;(_node=new node_Node).childNodes=children,_this[isNodeListSymbol]=!0}return _this[constants.eB]=(0,validate.dh)(_node,node_Node),_this}return(0,createClass.Z)(NodeRecursiveIterator,[{key:"forEach",value:function forEach(callback){var _step2,_iterator2=noderecursiveiterator_createForOfIteratorHelper(this);try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){callback(_step2.value)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}return this}}]),NodeRecursiveIterator}(base.X);function types_node_createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function types_node_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return types_node_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return types_node_arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function types_node_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}(0,namespace.O)("Monster.Types",NodeRecursiveIterator),describe("NodeList",(function(){describe("#constructor",(function(){it("should create an empty NodeList",(function(){var nodeList=new NodeList;expect(nodeList.size).to.equal(0)})),it("should create a NodeList from an array",(function(){var nodeList=new NodeList([new node_Node("div"),new node_Node("div"),new node_Node("div")]);expect(nodeList.size).to.equal(3)})),it("should create a NodeList from a NodeList",(function(){var nodeList=new NodeList([new node_Node("div"),new node_Node("div"),new node_Node("div")]),nodeList2=new NodeList(nodeList);expect(nodeList2.size).to.equal(3)}))})),it("create NodeList",(function(){expect(new NodeList).is.instanceof(NodeList)})),it("add Node",(function(){expect((new NodeList).add(new node_Node)).to.be.instanceof(NodeList)})),it("remove Node",(function(){expect((new NodeList).remove(new node_Node)).to.be.instanceof(NodeList)})),it("has unknown Node",(function(){expect((new NodeList).has(new node_Node)).to.be.false})),it("has added Node",(function(){var n=new node_Node;expect((new NodeList).add(n).has(n)).to.be.true})),it("throw exception",(function(){expect((function(){return(new NodeList).add(1)})).to.throw(Error)})),it("check level",(function(){var root=new node_Node("root"),n1=new node_Node("n1"),n2=new node_Node("n2"),n3=new node_Node("n3"),n4=new node_Node("n4"),n11=new node_Node("n11"),n12=new node_Node("n12"),n13=new node_Node("n13"),n21=new node_Node("n21"),n22=new node_Node("n22"),n23=new node_Node("n23"),n41=new node_Node("n41"),n42=new node_Node("n42"),n411=new node_Node("n411"),n412=new node_Node("n412"),n413=new node_Node("n413"),n4121=new node_Node("n4121");root.appendChild(n1).appendChild(n2).appendChild(n3).appendChild(n4),n1.appendChild(n11).appendChild(n12).appendChild(n13),n2.appendChild(n21).appendChild(n22).appendChild(n23),n4.appendChild(n41).appendChild(n42),n41.appendChild(n411).appendChild(n412).appendChild(n413),n412.appendChild(n4121);var _step,iterator=new NodeRecursiveIterator(root),result=[],_iterator=types_node_createForOfIteratorHelper(iterator);try{for(_iterator.s();!(_step=_iterator.n()).done;){var n=_step.value;expect(n).to.be.an.instanceof(node_Node),result.push(n.value+":"+n.level)}}catch(err){_iterator.e(err)}finally{_iterator.f()}expect(result).to.deep.equal(["root:0","n1:1","n11:2","n12:2","n13:2","n2:1","n21:2","n22:2","n23:2","n3:1","n4:1","n41:2","n411:3","n412:3","n4121:4","n413:3","n42:2"]),n4121.appendChild(new node_Node("n41211")),result=[];var _step2,_iterator2=types_node_createForOfIteratorHelper(iterator=new NodeRecursiveIterator(root));try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var _n=_step2.value;expect(_n).to.be.an.instanceof(node_Node),result.push(_n.value+":"+_n.level)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}expect(result).to.deep.equal(["root:0","n1:1","n11:2","n12:2","n13:2","n2:1","n21:2","n22:2","n23:2","n3:1","n4:1","n41:2","n411:3","n412:3","n4121:4","n41211:5","n413:3","n42:2"]);var bb=new node_Node("bb");bb.appendChild(root),result=[];var _step3,_iterator3=types_node_createForOfIteratorHelper(iterator=new NodeRecursiveIterator(bb));try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var _n2=_step3.value;expect(_n2).to.be.an.instanceof(node_Node),result.push(_n2.value+":"+_n2.level)}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}expect(result).to.deep.equal(["bb:0","root:1","n1:2","n11:3","n12:3","n13:3","n2:2","n21:3","n22:3","n23:3","n3:2","n4:2","n41:3","n411:4","n412:4","n4121:5","n41211:6","n413:4","n42:3"])})),describe("Levels",(function(){it("n2 should level 2",(function(){var n0=new node_Node("abc"),n1=new node_Node("def");n0.appendChild(n1);var n2=new node_Node("ghi");n1.appendChild(n2);var n3=new node_Node("jkl");n2.appendChild(n3),expect(n0.level).to.be.equal(0),expect(n1.level).to.be.equal(1),expect(n2.level).to.be.equal(2),expect(n3.level).to.be.equal(3)}))})),describe("toString()",(function(){it("should output empty string",(function(){var node=new node_Node;expect(node.toString()).is.equal("")})),it("should output string",(function(){var n0=new node_Node("abc"),n1=new node_Node("def");n0.appendChild(n1);var n11=new node_Node("ghi");n0.appendChild(n11);var n2=new node_Node("jkl");n1.appendChild(n2);var n3=new node_Node("mno");n1.appendChild(n3);var n4=new node_Node("pqr");n2.appendChild(n4),expect(n2.level).to.be.equal(2),console.log(n0.toString())}))}))}));var tokenlist=__webpack_require__(89881);describe("TokenList",(function(){describe(".toString()",(function(){var result=(new tokenlist.n).toString();it("should return a string",(function(){expect(result).to.be.a("string")})),it("set and remove return a string",(function(){expect(result).to.be.a("string")}))})),describe("init with string iterable",(function(){it("new TokenList("+("undefined"==typeof a?"undefined":(0,esm_typeof.Z)(a))+") throw TypeError ",(function(){var list=new tokenlist.n(["abc","def","ghi"]);expect(list.toString()).is.equal("abc def ghi")}))})),describe("init with iterable without string values",(function(){it("new TokenList("+("undefined"==typeof a?"undefined":(0,esm_typeof.Z)(a))+") throw TypeError ",(function(){var tokens=["abc",4,"ghi"];expect((function(){return new tokenlist.n(tokens)})).to.throw(TypeError)}))})),describe("init values",(function(){[["test1","test1",!1],["test1 test2","test1 test2",!1],[void 0,"",!1],[null,void 0,!0],[parseInt("a"),void 0,!0],[function(){},void 0,!0],[2,void 0,!0],[!1,void 0,!0],[!0,void 0,!0],[4.5,void 0,!0],[{},void 0,!0],[["1","2","3"],"1 2 3",!1],[[1,2,3],void 0,!0],[Symbol("foo"),!1,!0]].forEach((function(data){var a=data.shift(),b=data.shift();!0===data.shift()?it("new TokenList("+(0,esm_typeof.Z)(a)+") throw TypeError ",(function(){expect((function(){return new tokenlist.n(a)})).to.throw(TypeError)})):it("new TokenList("+(0,esm_typeof.Z)(a)+") should return "+b,(function(){expect(new tokenlist.n(a).toString()).is.equal(b)}))}))})),describe("iterator protocol",(function(){var list;it(".add(second) should return TokenList",(function(){list=new tokenlist.n("start"),expect(list.getIterator()).to.be.an("object")})),it(".add(second) should return TokenList",(function(){list=new tokenlist.n("start end"),expect((0,toConsumableArray.Z)(list)).to.be.an("array"),expect((0,toConsumableArray.Z)(list)).to.be.an("array").to.include("start").to.include("end")}))})),describe(".entries()",(function(){var list;it(".entries() should return Array",(function(){list=new tokenlist.n("start"),expect(list.entries()).to.be.an("array")})),it(".entries() should return Array",(function(){list=new tokenlist.n("start end").entries(),expect(list).to.be.an("array").to.include("start").to.include("end")}))})),describe(".forEach()",(function(){var list;it(".forEach() should iterate over tokenlist",(function(){list=new tokenlist.n("aaa bbb ccc ddd eee fff");var result="";list.forEach((function(a){result+="!"+a+"!",expect(a).to.be.an("string")})),expect(result).is.equal("!aaa!!bbb!!ccc!!ddd!!eee!!fff!")})),it(".entries() should return Array",(function(){list=new tokenlist.n("start end").entries(),expect(list).to.be.an("array").to.include("start").to.include("end")}))})),describe("contains values",(function(){var list;it("new TokenList(start, middle end) should contain middle",(function(){list=new tokenlist.n("start middle end"),expect(list.contains("start")).to.be.true,expect(list.contains("middle")).to.be.true,expect(list.contains("end")).to.be.true,expect(list.contains(["end","start","middle"])).to.be.true})),it("new TokenList(start, middle end) should not contain xyz",(function(){list=new tokenlist.n("start middle end"),expect(list.contains("xyz")).to.be.false,expect(list.contains(["end","start","middle","xyz"])).to.be.false})),it("new TokenList(start, middle end) should not contain undefined null NaN",(function(){list=new tokenlist.n("start middle end"),expect(list.contains(void 0)).to.be.false,expect(list.contains(parseInt("a"))).to.be.false,expect(list.contains(null)).to.be.false}))})),describe("toggle values",(function(){var list;it("new TokenList(start middle end).toggle(new-value) should contain new-value",(function(){list=new tokenlist.n("start middle end"),expect(list.toggle("new-value").toString()).is.equal("start middle end new-value")})),it("new TokenList(start middle end).toggle(middle) should not contain middle",(function(){list=new tokenlist.n("start middle end"),expect(list.toggle("middle").toString()).is.equal("start end")})),it("new TokenList().toggle() should ...",(function(){expect(new tokenlist.n("abc def ghi").toggle("def xyz").toString()).to.equal("abc ghi xyz")})),it("new TokenList().toggle() should ...",(function(){expect(new tokenlist.n("abc def ghi").toggle(["abc","xyz"]).toString()).to.equal("def ghi xyz")})),it("new TokenList().toggle() should ...",(function(){expect(new tokenlist.n("abc def ghi").toggle(void 0).toString()).to.equal("abc def ghi")}))})),describe("manipulate values",(function(){var list;it('result TokenList("start") should be "start"',(function(){list=new tokenlist.n("start"),expect(list.toString()).is.equal("start")})),it(".add(second) should return TokenList",(function(){list=new tokenlist.n("start"),expect(list.add("second")).to.be.an.instanceof(tokenlist.n)})),it('.add(second).toString() should return "start second" ',(function(){list=new tokenlist.n("start"),expect(list.add("second").toString()).is.equal("start second")})),it('.add(second third).toString() should return "start second third" ',(function(){list=new tokenlist.n("start"),expect(list.add("second third").toString()).is.equal("start second third")})),it('.add([second,third]).toString() should return "start second third" ',(function(){list=new tokenlist.n("start"),expect(list.add(["second","third"]).toString()).is.equal("start second third")})),it('.clear().toString() should "" ',(function(){list=new tokenlist.n("start"),expect(list.add(["second","third"]).clear().toString()).is.equal("")})),it('new TokenList("start second third end").remove(second) should return TokenList',(function(){list=new tokenlist.n("start second third end"),expect(list.remove("second")).to.be.an.instanceof(tokenlist.n)})),it('new TokenList("start second third end").remove(second).toString() should return "start third end" ',(function(){list=new tokenlist.n("start second third end"),expect(list.remove("second").toString()).is.equal("start third end")})),it('new TokenList("start second third end").remove(second third).toString() should return "start end" ',(function(){list=new tokenlist.n("start second third end"),expect(list.remove("second third").toString()).is.equal("start end")})),it('new TokenList("start second third end").remove([second,third]).toString() should return "start end" ',(function(){list=new tokenlist.n("start second third end"),expect(list.remove(["second","third"]).toString()).is.equal("start end")})),it('new TokenList("start second third end").replace(second, xyz).toString() should return "start xyz third end" ',(function(){list=new tokenlist.n("start second third end"),expect(list.replace("second","xyz")).to.be.instanceOf(tokenlist.n),expect(list.toString()).is.equal("start xyz third end")})),it('new TokenList("start second third end").replace(end, xyz).toString() should return "start second third xyz" ',(function(){list=new tokenlist.n("start second third end"),expect(list.replace("end","xyz")).to.be.instanceOf(tokenlist.n),expect(list.toString()).is.equal("start second third xyz")}))}))}));var types_typeof=__webpack_require__(87029);describe("typeOf",(function(){describe(".typeOf()",(function(){[[!0,"boolean"],[null,"null"],[void 0,"undefined"],[Promise.resolve(),"promise"],[new WeakMap,"weakmap"],[new Map,"map"],[NaN,"number"],[regenerator_default().mark((function _callee(){return regenerator_default().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:case"end":return _context.stop()}}),_callee)})),"generatorfunction"],[5,"number"],[function(){},"function"],[/a/,"regexp"],[new Date,"date"],[{},"object"],[[],"array"],["","string"],[new Error,"error"],[new types_stack.K,"stack"]].forEach((function(data){var a=data.shift(),b=data.shift();it("should return "+b+" when the value "+(0,types_typeof.k)(a),(function(){expect((0,types_typeof.k)(a)).to.be.equal(b)}))}))}))}));__webpack_require__(44914);function random(min,max){if(void 0===min&&(min=0),void 0===max&&(max=MAX),max<min)throw new Error("max must be greater than min");return Math.round(create(min,max))}var MAX=1e9;function create(min,max){var crypt,globalReference=(0,global.Rd)();if(void 0===(crypt=(null==globalReference?void 0:globalReference.crypto)||(null==globalReference?void 0:globalReference.msCrypto)||(null==globalReference?void 0:globalReference.crypto)||void 0))throw new Error("missing crypt");var rval=0,range=max-min;if(range<2)throw new Error("the distance is too small to create a random number.");var bitsNeeded=Math.ceil(Math.log2(range));if(bitsNeeded>53)throw new Error("we cannot generate numbers larger than 53 bits.");var bytesNeeded=Math.ceil(bitsNeeded/8),mask=Math.pow(2,bitsNeeded)-1,byteArray=new Uint8Array(bytesNeeded);crypt.getRandomValues(byteArray);for(var p=8*(bytesNeeded-1),i=0;i<bytesNeeded;i++)rval+=byteArray[i]*Math.pow(2,p),p-=8;return(rval&=mask)>=range?create(min,max):(rval<min&&(rval+=min),rval)}function uuid_createSuper(Derived){var hasNativeReflectConstruct=function uuid_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}Math.log2=Math.log2||function(n){return Math.log(n)/Math.log(2)},(0,namespace.O)("Monster.Math",random);var UUID=function(_Base){(0,inherits.Z)(UUID,_Base);var _super=uuid_createSuper(UUID);function UUID(){var _this;(0,classCallCheck.Z)(this,UUID),_this=_super.call(this);var uuid=function createWithCrypto(){var crypt=(0,global.Rf)("crypto");if(!(0,is.Kn)(crypt))return;if((0,esm_typeof.Z)(null==crypt?void 0:crypt.randomUUID))return;return crypt.randomUUID()}();if(void 0===uuid&&(uuid=function createWithRandom(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(c){var r=16*random(0,65e3)|0;return("x"===c?r:3&r|8).toString(16)[0]}))}()),void 0===uuid)throw new Error("unsupported");return _this[constants.eB]={value:uuid},_this}return(0,createClass.Z)(UUID,[{key:"toString",value:function toString(){return this[constants.eB].value}}]),UUID}(base.X);(0,namespace.O)("Monster.Types",UUID),__webpack_require__.g.crypto||(__webpack_require__.g.crypto=new Crypto),describe("UUID",(function(){describe(".toString()",(function(){var result=(new UUID).toString();it("should return a string",(function(){expect(result).is.a("string"),expect(result.length).is.equal(36)})),it("test format",(function(done){for(var regexExp=/^[A-F\d]{8}-[A-F\d]{4}-4[A-F\d]{3}-[89AB][A-F\d]{3}-[A-F\d]{12}$/i,i=0;i<2e3;i++){var u=(new UUID).toString(),r=regexExp.test(u);if(!0!==r)return void done("no uuid "+u+" => "+r)}done()}))}))}));var mediatype=__webpack_require__(22863);function version_createSuper(Derived){var hasNativeReflectConstruct=function version_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}describe("Dataurl",(function(){[["*/*","*","*"],["text/*","text","*"],["*/test","*","test"],["image/png","image","png"],["audio/mp3","audio","mp3"],["video/mpeg","video","mpeg"],["text/plain","text","plain"],["text/html","text","html"],["text/html;charset=US-ASCII","text","html"],['text/html;charset="US-ASCII"',"text","html"]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("parseMediaType("+a+")",(function(){var d=(0,mediatype.C0)(a);expect(d).is.instanceof(mediatype.DD),expect(d.toString()).to.be.equal(a),expect(d.type).to.be.equal(b),expect(d.subtype).to.be.equal(c),expect(d.parameter).is.instanceof(Map)}))})),[["video/"],["text"],["/mp3"],["text/html;charsetUS-ASCII"],['text/html;charset"US-ASCII"']].forEach((function(data){var a=data.shift();it(a+" should throw exception",(function(){expect((function(){(0,mediatype.C0)(a)})).throw(TypeError)}))}))})),describe("Dataurl",(function(){[[" data:text/html,%3Ch1%3EHello%2C%20World!%3C%2Fh1%3E"],["data:text/html;charset=US-ASCII,%3Ch1%3EHello!%3C%2Fh1%3E"],["data:,A%20brief%20note","data:text/plain;charset=US-ASCII,A%20brief%20note"],["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC"],[" data:,Hello%2C%20World!","data:text/plain;charset=US-ASCII,Hello%2C%20World!"],[" data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIBAMAAAA2IaO4AAAAFVBMVEXk5OTn5+ft7e319fX29vb5+fn///++GUmVAAAALUlEQVQIHWNICnYLZnALTgpmMGYIFWYIZTA2ZFAzTTFlSDFVMwVyQhmAwsYMAKDaBy0axX/iAAAAAElFTkSuQmCC "],[" data:,Hello World!","data:text/plain;charset=US-ASCII,Hello%20World!"],["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIBAMAAAA2IaO4AAAAFVBMVEXk5OTn5+ft7e319fX29vb5+fn///++GUmVAAAALUlEQVQIHWNICnYLZnALTgpmMGYIFWYIZTA2ZFAzTTFlSDFVMwVyQhmAwsYMAKDaBy0axX/iAAAAAElFTkSuQmCC"],[" data:text/plain;base64,SGVsbG8sIFdvcmxkIQ%3D%3D"]].forEach((function(data){var a=data.shift(),b=data.shift();void 0===b&&(b=a.trim()),it("parseDataURL("+a+")",(function(){expect((0,dataurl.yS)(a).toString()).to.be.equal(b)}))})),[["dataxbase64"],["data:HelloWorld"],["data:text/html;charset=,%3Ch1%3EHello!%3C%2Fh1%3E"],["data:text/html;charset,%3Ch1%3EHello!%3C%2Fh1%3E","data:base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC"],[""],["http://wikipedia.org"],["base64"],["iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC"]].forEach((function(data){var a=data.shift();it("should throw exception parseDataURL("+a+")",(function(){expect((function(){return(0,dataurl.yS)(a)})).throw(TypeError)}))}))})),describe("Base",(function(){describe("new Base",(function(){it("is instance of Base",(function(){expect(new base.X).to.be.instanceOf(base.X)})),it("is instance of Object",(function(){expect(new base.X).to.be.instanceOf(Object)}))}))}));var monsterVersion,Version=function(_Base){(0,inherits.Z)(Version,_Base);var _super=version_createSuper(Version);function Version(major,minor,patch){var _this;if((0,classCallCheck.Z)(this,Version),_this=_super.call(this),"string"==typeof major&&void 0===minor&&void 0===patch){var parts=major.toString().split(".");major=parseInt(parts[0]||0),minor=parseInt(parts[1]||0),patch=parseInt(parts[2]||0)}if(void 0===major)throw new Error("major version is undefined");if(void 0===minor&&(minor=0),void 0===patch&&(patch=0),_this.major=parseInt(major),_this.minor=parseInt(minor),_this.patch=parseInt(patch),isNaN(_this.major))throw new Error("major is not a number");if(isNaN(_this.minor))throw new Error("minor is not a number");if(isNaN(_this.patch))throw new Error("patch is not a number");return _this}return(0,createClass.Z)(Version,[{key:"toString",value:function toString(){return this.major+"."+this.minor+"."+this.patch}},{key:"compareTo",value:function compareTo(version){if(version instanceof Version&&(version=version.toString()),"string"!=typeof version)throw new Error("type exception");if(version===this.toString())return 0;for(var a=[this.major,this.minor,this.patch],b=version.split("."),len=Math.max(a.length,b.length),i=0;i<len;i+=1){if(a[i]&&!b[i]&&parseInt(a[i])>0||parseInt(a[i])>parseInt(b[i]))return 1;if(b[i]&&!a[i]&&parseInt(b[i])>0||parseInt(a[i])<parseInt(b[i]))return-1}return 0}}]),Version}(base.X);function randomid_createSuper(Derived){var hasNativeReflectConstruct=function randomid_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Types",Version),(0,namespace.O)("Monster",(function getVersion(){return monsterVersion instanceof Version?monsterVersion:monsterVersion=new Version("1.31.0")})),describe("Version",(function(){describe(".compareTo()",(function(){[["1.2.3","1.2.3",0],["1.2.2","1.2.3",-1],["2","2.0.0",0],["1.2.4","1.2.3",1]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("should return "+c+" when the value "+a+" is "+b,(function(){expect(new Version(a).compareTo(b)).to.be.equal(c)}))}))})),describe(".toString()",(function(){[["1.1.1","2.3",3,"1.2.3"],["1.2.4","1.2.3",5,"1.1.5"]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift(),d=data.shift();it("should return "+d,(function(){expect(new Version(a,b,c).toString()).to.be.equal(d)}))}))}))})),describe("NodeList",(function(){describe("#constructor",(function(){it("should create an empty NodeList",(function(){var nodeList=new NodeList;expect(nodeList.size).to.equal(0)})),it("should create a NodeList from an array",(function(){var nodeList=new NodeList([new node_Node("div"),new node_Node("div"),new node_Node("div")]);expect(nodeList.size).to.equal(3)})),it("should create a NodeList from a NodeList",(function(){var nodeList=new NodeList([new node_Node("div"),new node_Node("div"),new node_Node("div")]),nodeList2=new NodeList(nodeList);expect(nodeList2.size).to.equal(3)}))})),it("create NodeList",(function(){expect(new NodeList).is.instanceof(NodeList)})),it("add Node",(function(){expect((new NodeList).add(new node_Node)).to.be.instanceof(NodeList)})),it("remove Node",(function(){expect((new NodeList).remove(new node_Node)).to.be.instanceof(NodeList)})),it("has unknown Node",(function(){expect((new NodeList).has(new node_Node)).to.be.false})),it("has added Node",(function(){var n=new node_Node;expect((new NodeList).add(n).has(n)).to.be.true})),it("toString",(function(){new node_Node;expect((new NodeList).add(new node_Node("a").appendChild(new node_Node("b"))).toString()).to.be.equal("a\n └b")})),it("throw exception",(function(){expect((function(){return(new NodeList).add(1)})).to.throw(Error)}))})),__webpack_require__.g.crypto||(__webpack_require__.g.crypto=new Crypto),describe("ID",(function(){describe(".toString()",(function(){var result=(new types_id.ID).toString();it("should return a string",(function(){expect(result).is.a("string")})),it("should return a string",(function(){expect(new types_id.ID("text1425id").toString()).is.equal("text1425id1"),expect(new types_id.ID("text1425id").toString()).is.equal("text1425id2"),expect(new types_id.ID("text1425id").toString()).is.equal("text1425id3")}))}))}));var internalCounter=0,RandomID=function(_ID){(0,inherits.Z)(RandomID,_ID);var _super=randomid_createSuper(RandomID);function RandomID(){var _this;return(0,classCallCheck.Z)(this,RandomID),_this=_super.call(this),internalCounter+=1,_this.id=(0,global.Rd)().btoa(random(1,1e4)).replace(/=/g,"").replace(/^[0-9]+/,"X")+internalCounter,_this}return(0,createClass.Z)(RandomID)}(types_id.ID);function types_noderecursiveiterator_createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function types_noderecursiveiterator_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return types_noderecursiveiterator_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return types_noderecursiveiterator_arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function types_noderecursiveiterator_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function abstract_createSuper(Derived){var hasNativeReflectConstruct=function abstract_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Types",RandomID),__webpack_require__.g.crypto||(__webpack_require__.g.crypto=new Crypto),describe("RandomID",(function(){describe(".toString()",(function(){var result=(new RandomID).toString();it("should return a string",(function(){expect(result).is.a("string")}))}))})),describe("NodeRecursiveIterator",(function(){it("should throw exeption",(function(){expect((function(){return new NodeRecursiveIterator})).to.throw(Error)})),it("should be a function",(function(){expect(NodeRecursiveIterator).to.be.a("function")})),it("should be a constructor",(function(){expect(new NodeRecursiveIterator(new node_Node)).to.be.an.instanceof(NodeRecursiveIterator)})),it("undefined should not result in undefined node",(function(){var _step,result=[],_iterator=types_noderecursiveiterator_createForOfIteratorHelper(new NodeRecursiveIterator(new node_Node));try{for(_iterator.s();!(_step=_iterator.n()).done;){var n=_step.value;expect(n).to.be.an.instanceof(node_Node),result.push(n.value)}}catch(err){_iterator.e(err)}finally{_iterator.f()}expect(result).to.deep.equal([void 0])})),it("should iterate",(function(){var node=new node_Node("1");node.appendChild(new node_Node("2").appendChild(new node_Node("2.1")).appendChild(new node_Node("2.2")).appendChild(new node_Node("2.3"))).appendChild(new node_Node("3")).appendChild(new node_Node("4").appendChild(new node_Node("4.1")).appendChild(new node_Node("4.2")));var _step2,result=[],_iterator2=types_noderecursiveiterator_createForOfIteratorHelper(new NodeRecursiveIterator(node));try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var n=_step2.value;expect(n).to.be.an.instanceof(node_Node),result.push(n.value)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}expect(result).to.deep.equal(["1","2","2.1","2.2","2.3","3","4","4.1","4.2"])})),it("should iterate nodelist",(function(){var nodeList=new NodeList;nodeList.add(new node_Node("2").appendChild(new node_Node("2.1")).appendChild(new node_Node("2.2")).appendChild(new node_Node("2.3")).appendChild(new node_Node("3")).appendChild(new node_Node("4").appendChild(new node_Node("4.1")).appendChild(new node_Node("4.2")))),nodeList.add(new node_Node("x"));var _step3,result=[],_iterator3=types_noderecursiveiterator_createForOfIteratorHelper(new NodeRecursiveIterator(nodeList));try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var n=_step3.value;expect(n).to.be.an.instanceof(node_Node),result.push(n.value)}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}expect(result).to.deep.equal(["2","2.1","2.2","2.3","3","4","4.1","4.2","x"])}))})),describe("validate",(function(){describe(".validatePrimitive()",(function(){[["test1",!0],[void 0,!0],[null,!0],[function(){},!1],[2,!0],[!1,!0],[!0,!0],[4.5,!0],[{},!1],[[1,2,3],!1],[Symbol("foo"),!0]].forEach((function(data){var a=data.shift(),b=data.shift();!1===b?it(".validatePrimitive("+(0,esm_typeof.Z)(a)+") should throw TypeException "+b,(function(){expect((function(){return(0,validate.YK)(a)})).to.throw(TypeError)})):it(".validatePrimitive("+(0,esm_typeof.Z)(a)+") should not throw TypeException "+b,(function(){expect((0,validate.YK)(a)).to.be.equal(a)}))}))})),describe(".validateInteger()",(function(){[["test1",!1],[void 0,!1],[null,!1],[function(){},!1],[2,!0],[!1,!1],[!0,!1],[4.5,!1],[{},!1],[[1,2,3],!1],[Symbol("foo"),!1]].forEach((function(data){var a=data.shift(),b=data.shift();!1===b?it(".validateInteger("+(0,esm_typeof.Z)(a)+") should throw TypeException "+b,(function(){expect((function(){return(0,validate.bv)(a)})).to.throw(TypeError)})):it(".validateInteger("+(0,esm_typeof.Z)(a)+") should not throw TypeException "+b,(function(){expect((0,validate.bv)(a)).to.be.equal(a)}))}))})),describe(".validateSymbol()",(function(){[["test1",!1],[void 0,!1],[null,!1],[function(){},!1],[2,!1],[!1,!1],[!0,!1],[4.5,!1],[{},!1],[[1,2,3],!1],[Symbol("foo"),!0]].forEach((function(data){var a=data.shift(),b=data.shift();!1===b?it(".validateSymbol("+(0,esm_typeof.Z)(a)+") should throw TypeException "+b,(function(){expect((function(){return(0,validate.v9)(a)})).to.throw(TypeError)})):it(".validateSymbol("+(0,esm_typeof.Z)(a)+") should not throw TypeException "+b,(function(){expect((0,validate.v9)(a)).to.be.equal(a)}))}))})),describe(".validateIterable()",(function(){[["test1",!0],[void 0,!1],[null,!1],[function(){},!1],[2,!1],[!1,!1],[!0,!1],[4.5,!1],[{},!1],[[1,2,3],!0],[Symbol("foo"),!1]].forEach((function(data){var a=data.shift(),b=data.shift();!1===b?it(".validateIterable("+(0,esm_typeof.Z)(a)+") should throw TypeException "+b,(function(){expect((function(){(0,validate.Dr)(a)})).to.throw(TypeError)})):it(".validateIterable("+(0,esm_typeof.Z)(a)+") should not throw TypeException "+b,(function(){expect((0,validate.Dr)(a)).to.be.equal(a)}))}))})),describe(".validateBoolean()",(function(){[["test1",!1],[void 0,!1],[null,!1],[function(){},!1],[2,!1],[!1,!0],[!0,!0],[4.5,!1],[{},!1],[[1,2,3],!1],[Symbol("foo"),!1]].forEach((function(data){var a=data.shift(),b=data.shift();!1===b?it(".validateBoolean("+(0,esm_typeof.Z)(a)+") should throw TypeException "+b,(function(){expect((function(){(0,validate.US)(a)})).to.throw(TypeError)})):it(".validateBoolean("+(0,esm_typeof.Z)(a)+") should not throw TypeException "+b,(function(){expect((0,validate.US)(a)).to.be.equal(a)}))}))})),describe(".validateString()",(function(){[["test1",!0],[void 0,!1],[null,!1],[function(){},!1],[2,!1],[!1,!1],[!0,!1],[4.5,!1],[{},!1],[[1,2,3],!1],[Symbol("foo"),!1]].forEach((function(data){var a=data.shift(),b=data.shift();!1===b?it(".validateString("+(0,esm_typeof.Z)(a)+") should throw TypeException "+b,(function(){expect((function(){(0,validate.Cp)(a)})).to.throw(TypeError)})):it(".validateString("+(0,esm_typeof.Z)(a)+") should not throw TypeException "+b,(function(){expect((0,validate.Cp)(a)).to.be.equal(a)}))}))})),describe(".validateObject()",(function(){[["test1",!1],[void 0,!1],[null,!1],[function(){},!1],[2,!1],[!1,!1],[!0,!1],[4.5,!1],[{},!0],[[1,2,3],!1],[Symbol("foo"),!1]].forEach((function(data){var a=data.shift(),b=data.shift();!1===b?it(".validateObject("+(0,esm_typeof.Z)(a)+") should throw TypeException "+b,(function(){expect((function(){(0,validate.FF)(a)})).to.throw(TypeError)})):it(".validateObject("+(0,esm_typeof.Z)(a)+") should not throw TypeException "+b,(function(){expect((0,validate.FF)(a)).to.be.equal(a)}))}))})),describe(".validateInstance()",(function(){[["test1",Object],[void 0,Object],[null,Object],[function(){},Object],[2,Object],[!1,Object],[!0,Object],[4.5,Object],[{},base.X],[[1,2,3],Object],[Symbol("foo"),Object]].forEach((function(data){var a=data.shift(),b=data.shift();it(".validateInstance("+(0,esm_typeof.Z)(a)+") should throw TypeException ",(function(){expect((function(){(0,validate.dh)(a,b)})).to.throw(TypeError)}))}))})),describe(".validateInstance()",(function(){[[{},Object,!0],[new base.X,base.X,!0]].forEach((function(data){var a=data.shift(),b=data.shift();it(".validateInstance("+(0,esm_typeof.Z)(a)+") should not throw TypeException ",(function(){expect((0,validate.dh)(a,b)).to.be.equal(a)}))}))})),describe(".validateArray()",(function(){[["test1",!1],[void 0,!1],[null,!1],[function(){},!1],[2,!1],[!1,!1],[!0,!1],[4.5,!1],[{},!1],[[1,2,3],!0],[Symbol("foo"),!1]].forEach((function(data){var a=data.shift(),b=data.shift();!1===b?it(".validateArray("+(0,esm_typeof.Z)(a)+") should throw TypeException "+b,(function(){expect((function(){(0,validate.IL)(a)})).to.throw(TypeError)})):it(".validateArray("+(0,esm_typeof.Z)(a)+") should not throw TypeException "+b,(function(){expect((0,validate.IL)(a)).to.be.equal(a)}))}))})),describe(".validateFunction()",(function(){[["test1",!1],[void 0,!1],[null,!1],[function(){},!0],[2,!1],[!1,!1],[!0,!1],[4.5,!1],[{},!1],[[1,2,3],!1],[Symbol("foo"),!1]].forEach((function(data){var a=data.shift(),b=data.shift();!1===b?it(".validateFunction("+(0,esm_typeof.Z)(a)+") should throw TypeException "+b,(function(){expect((function(){(0,validate.zV)(a)})).to.throw(TypeError)})):it(".validateFunction("+(0,esm_typeof.Z)(a)+") should not throw TypeException "+b,(function(){expect((0,validate.zV)(a)).to.be.equal(a)}))}))}))})),describe("Stack",(function(){var stack;beforeEach((function(){stack=new types_stack.K})),describe("isEmpty()",(function(){it("first it should empty",(function(){expect(stack.isEmpty()).to.be.true}))})),describe("add sequence peek and pull",(function(){it("result a,a,a,b",(function(){expect(stack.push("a")).to.be.instanceOf(types_stack.K),expect(stack.isEmpty()).to.be.false,expect(stack.push("b")).to.be.instanceOf(types_stack.K),expect(stack.push("c")).to.be.instanceOf(types_stack.K),expect(stack.peek()).to.be.equal("c"),expect(stack.peek()).to.be.equal("c"),expect(stack.pop()).to.be.equal("c"),expect(stack.peek()).to.be.equal("b"),expect(stack.isEmpty()).to.be.false}))})),describe("add and clear",(function(){it("should empty",(function(){expect(stack.isEmpty()).to.be.true,expect(stack.push("a")).to.be.instanceOf(types_stack.K),expect(stack.isEmpty()).to.be.false,expect(stack.clear()).to.be.instanceOf(types_stack.K),expect(stack.isEmpty()).to.be.true}))}))}));var AbstractConstraint=function(_Base){(0,inherits.Z)(AbstractConstraint,_Base);var _super=abstract_createSuper(AbstractConstraint);function AbstractConstraint(){return(0,classCallCheck.Z)(this,AbstractConstraint),_super.call(this)}return(0,createClass.Z)(AbstractConstraint,[{key:"isValid",value:function isValid(value){return Promise.reject(value)}}]),AbstractConstraint}(base.X);function isobject_createSuper(Derived){var hasNativeReflectConstruct=function isobject_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Constraints",AbstractConstraint);var IsObject=function(_AbstractConstraint){(0,inherits.Z)(IsObject,_AbstractConstraint);var _super=isobject_createSuper(IsObject);function IsObject(){return(0,classCallCheck.Z)(this,IsObject),_super.apply(this,arguments)}return(0,createClass.Z)(IsObject,[{key:"isValid",value:function isValid(value){return(0,is.Kn)(value)?Promise.resolve(value):Promise.reject(value)}}]),IsObject}(AbstractConstraint);function valid_createSuper(Derived){var hasNativeReflectConstruct=function valid_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Constraints",IsObject),describe("IsObject",(function(){describe(".isValid()",(function(){var constraint=new IsObject;it("should resolve promise",(function(done){constraint.isValid({}).then((function(r){expect(r).is.a("object"),done()})).catch((function(e){done(new Error("should not reached: "+e))}))}))}))}));var Valid=function(_AbstractConstraint){(0,inherits.Z)(Valid,_AbstractConstraint);var _super=valid_createSuper(Valid);function Valid(){return(0,classCallCheck.Z)(this,Valid),_super.apply(this,arguments)}return(0,createClass.Z)(Valid,[{key:"isValid",value:function isValid(value){return Promise.resolve(value)}}]),Valid}(AbstractConstraint);function invalid_createSuper(Derived){var hasNativeReflectConstruct=function invalid_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Constraints",Valid),describe("Valid",(function(){describe(".isValid()",(function(){var constraint=new Valid;it("should resolve promise",(function(done){constraint.isValid({}).then((function(r){done()})).catch((function(e){done(new Error("should not reached: "+e))}))}))}))}));var Invalid=function(_AbstractConstraint){(0,inherits.Z)(Invalid,_AbstractConstraint);var _super=invalid_createSuper(Invalid);function Invalid(){return(0,classCallCheck.Z)(this,Invalid),_super.apply(this,arguments)}return(0,createClass.Z)(Invalid,[{key:"isValid",value:function isValid(value){return Promise.reject(value)}}]),Invalid}(AbstractConstraint);function abstractoperator_createSuper(Derived){var hasNativeReflectConstruct=function abstractoperator_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Constraints",Invalid),describe("Invalid",(function(){describe(".isValid()",(function(){var isvalid=new Invalid;it("should resolve promise",(function(done){isvalid.isValid().catch((function(e){expect(e).to.be.undefined,done()}))}))}))}));var AbstractOperator=function(_AbstractConstraint){(0,inherits.Z)(AbstractOperator,_AbstractConstraint);var _super=abstractoperator_createSuper(AbstractOperator);function AbstractOperator(operantA,operantB){var _this;if((0,classCallCheck.Z)(this,AbstractOperator),_this=_super.call(this),!(operantA instanceof AbstractConstraint&&operantB instanceof AbstractConstraint))throw new TypeError("parameters must be from type AbstractConstraint");return _this.operantA=operantA,_this.operantB=operantB,_this}return(0,createClass.Z)(AbstractOperator)}(AbstractConstraint);function oroperator_createSuper(Derived){var hasNativeReflectConstruct=function oroperator_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Constraints",AbstractOperator);var OrOperator=function(_AbstractOperator){(0,inherits.Z)(OrOperator,_AbstractOperator);var _super=oroperator_createSuper(OrOperator);function OrOperator(){return(0,classCallCheck.Z)(this,OrOperator),_super.apply(this,arguments)}return(0,createClass.Z)(OrOperator,[{key:"isValid",value:function isValid(value){var self=this;return new Promise((function(resolve,reject){var a,b;self.operantA.isValid(value).then((function(){resolve()})).catch((function(){a=!1,!1===b&&reject()})),self.operantB.isValid(value).then((function(){resolve()})).catch((function(){b=!1,!1===a&&reject()}))}))}}]),OrOperator}(AbstractOperator);function andoperator_createSuper(Derived){var hasNativeReflectConstruct=function andoperator_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Constraints",OrOperator),describe("OrOperator",(function(){describe(".isValid()",(function(){[[new Valid,new Valid,!0],[new Valid,new Invalid,!0],[new Invalid,new Valid,!0],[new Invalid,new Invalid,!1]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("constraint.isValid() should return "+c,(function(done){new OrOperator(a,b).isValid().then((function(){!0===c?done():done(new Error)})).catch((function(){!0===c?done(new Error):done()}))}))}))}))}));var AndOperator=function(_AbstractOperator){(0,inherits.Z)(AndOperator,_AbstractOperator);var _super=andoperator_createSuper(AndOperator);function AndOperator(){return(0,classCallCheck.Z)(this,AndOperator),_super.apply(this,arguments)}return(0,createClass.Z)(AndOperator,[{key:"isValid",value:function isValid(value){return Promise.all([this.operantA.isValid(value),this.operantB.isValid(value)])}}]),AndOperator}(AbstractOperator);function isarray_createSuper(Derived){var hasNativeReflectConstruct=function isarray_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Constraints",AndOperator),describe("AndOperator",(function(){describe(".isValid()",(function(){[[new Valid,new Valid,!0],[new Valid,new Invalid,!1],[new Invalid,new Valid,!1],[new Invalid,new Invalid,!1]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("constraint.isValid() should return "+c,(function(done){new AndOperator(a,b).isValid().then((function(){!0===c?done():done(new Error)})).catch((function(){!0===c?done(new Error):done()}))}))}))}))}));var IsArray=function(_AbstractConstraint){(0,inherits.Z)(IsArray,_AbstractConstraint);var _super=isarray_createSuper(IsArray);function IsArray(){return(0,classCallCheck.Z)(this,IsArray),_super.apply(this,arguments)}return(0,createClass.Z)(IsArray,[{key:"isValid",value:function isValid(value){return(0,is.kJ)(value)?Promise.resolve(value):Promise.reject(value)}}]),IsArray}(AbstractConstraint);function deadmansswitch_createSuper(Derived){var hasNativeReflectConstruct=function deadmansswitch_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Constraints",IsArray),describe("IsArray",(function(){describe(".isValid()",(function(){var constraint=new IsArray;it("should resolve promise",(function(done){constraint.isValid([1,2,3]).then((function(r){expect(r).is.a("array"),done()})).catch((function(e){done(new Error("should not reached: "+e))}))}))}))}));var DeadMansSwitch=function(_Base){(0,inherits.Z)(DeadMansSwitch,_Base);var _super=deadmansswitch_createSuper(DeadMansSwitch);function DeadMansSwitch(delay,callback){var _this;return(0,classCallCheck.Z)(this,DeadMansSwitch),_this=_super.call(this),deadmansswitch_init.call((0,assertThisInitialized.Z)(_this),(0,validate.bv)(delay),(0,validate.zV)(callback)),_this}return(0,createClass.Z)(DeadMansSwitch,[{key:"touch",value:function touch(delay){if(!0===this[constants.eB].isAlreadyRun)throw new Error("has already run");if((0,is.U)(delay))this[constants.eB].delay=delay;else if(void 0!==delay)throw new Error("unsupported argument");return clearTimeout(this[constants.eB].timer),initCallback.call(this),this}}]),DeadMansSwitch}(base.X);function initCallback(){var self=this;self[constants.eB].timer=setTimeout((function(){self[constants.eB].isAlreadyRun=!0,self[constants.eB].callback()}),self[constants.eB].delay)}function deadmansswitch_init(delay,callback){this[constants.eB]={callback:callback,delay:delay,isAlreadyRun:!1,timer:void 0},initCallback.call(this)}(0,namespace.O)("Monster.Util",DeadMansSwitch),describe("DeadMansSwitch",(function(){describe("run instance",(function(){it("should run",(function(done){var ms1=Date.now();new DeadMansSwitch(100,(function(){var diff=Date.now()-ms1;diff<100?done("to short "+diff):done()}))}))})),describe("run instance and touch",(function(){it("should run",(function(done){var ms1=Date.now(),deadmansswitch=new DeadMansSwitch(100,(function(){var ms2=Date.now(),diff=ms2-ms1;ms1>ms2?done("timing error"):diff<600?done("to short "+diff):done()}));setTimeout((function(){deadmansswitch.touch(),setTimeout((function(){deadmansswitch.touch(500)}),50)}),50)}))}))}));__webpack_require__(65069);function comparator_createSuper(Derived){var hasNativeReflectConstruct=function comparator_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}var Comparator=function(_Base){(0,inherits.Z)(Comparator,_Base);var _super=comparator_createSuper(Comparator);function Comparator(callback){var _this;if((0,classCallCheck.Z)(this,Comparator),_this=_super.call(this),(0,is.mf)(callback))_this.compare=callback;else{if(void 0!==callback)throw new TypeError("unsupported type");_this.compare=function(a,b){if((0,esm_typeof.Z)(a)!==(0,esm_typeof.Z)(b))throw new TypeError("impractical comparison","types/comparator.js");return a===b?0:a<b?-1:1}}return _this}return(0,createClass.Z)(Comparator,[{key:"reverse",value:function reverse(){var original=this.compare;return this.compare=function(a,b){return original(b,a)},this}},{key:"equal",value:function equal(a,b){return 0===this.compare(a,b)}},{key:"greaterThan",value:function greaterThan(a,b){return this.compare(a,b)>0}},{key:"greaterThanOrEqual",value:function greaterThanOrEqual(a,b){return this.greaterThan(a,b)||this.equal(a,b)}},{key:"lessThanOrEqual",value:function lessThanOrEqual(a,b){return this.lessThan(a,b)||this.equal(a,b)}},{key:"lessThan",value:function lessThan(a,b){return this.compare(a,b)<0}}]),Comparator}(base.X);(0,namespace.O)("Monster.Util",Comparator),describe("Comparator",(function(){describe("create new instance",(function(){it("should return a comparator object",(function(){expect(new Comparator).to.be.a("object")})),it("should return a comparator object",(function(){expect(new Comparator((function(){}))).to.be.a("object")})),it("should throw TypeError",(function(){expect((function(){return new Comparator(!0)})).to.throw(TypeError)})),it("should throw TypeError",(function(){expect((function(){return new Comparator("test")})).to.throw(TypeError)}))})),describe("equal()",(function(){[["test1","test",!1],[5.1,5,!1],[5.1,5.1,!0],[!0,!0,!0],[!1,!0,!1],[!1,!1,!0],[-4,-4,!0]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("should compare "+a+" and "+b+" return "+c,(function(){expect((new Comparator).equal(a,b)).is.equal(c)}))}))})),describe("equal()",(function(){[["test1",!0],["test1",5],["test1",null],["test1",parseInt("a")],[!1,5],[void 0,null]].forEach((function(data){var a=data.shift(),b=data.shift();it("should compare "+a+" and "+b+" throw TypeError",(function(){expect((function(){return(new Comparator).equal(a,b)})).to.throw(TypeError)}))}))})),describe("greaterThan()",(function(){[["test1","test",!0],[5.1,5,!0],[5.1,5.1,!1],[!0,!0,!1],[!1,!0,!1],[!1,!1,!1],[-4,-4,!1],[-4,4,!1]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("should compare "+a+" and "+b+" return "+c,(function(){expect((new Comparator).greaterThan(a,b)).is.equal(c)}))}))})),describe("reverse().greaterThan()",(function(){[["test1","test",!0],[5.1,5,!0],[5.1,5.1,!1],[!0,!0,!1],[!1,!0,!1],[!1,!1,!1],[-4,-4,!1],[-4,4,!1]].forEach((function(data){var b=data.shift(),a=data.shift(),c=data.shift();it("should compare "+a+" and "+b+" return "+c,(function(){expect((new Comparator).reverse().greaterThan(a,b)).is.equal(c)}))}))})),describe("greaterThanOrEqual()",(function(){[["test1","test",!0],[5.1,5,!0],[5.1,5.1,!0],[!0,!0,!0],[!1,!0,!1],[!1,!1,!0],[-4,-4,!0],[-4,4,!1]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("should compare "+a+" and "+b+" return "+c,(function(){expect((new Comparator).greaterThanOrEqual(a,b)).is.equal(c)}))}))})),describe("lessThan()",(function(){[["test1","test",!0],[5.1,5,!0],[5.1,5.1,!1],[!0,!0,!1],[!1,!0,!1],[!1,!1,!1],[-4,-4,!1],[-4,4,!1]].forEach((function(data){var b=data.shift(),a=data.shift(),c=data.shift();it("should compare "+a+" and "+b+" return "+c,(function(){expect((new Comparator).lessThan(a,b)).is.equal(c)}))}))})),describe("documentations",(function(){it("should run ...",(function(){expect((new Comparator).lessThanOrEqual(2,5)).to.be.true,expect((new Comparator).greaterThan(4,2)).to.be.true,expect((new Comparator).equal(4,4)).to.be.true,expect((new Comparator).equal(4,5)).to.be.false})),it("should run with own function ...",(function(){expect(new Comparator((function(a,b){return a.v===b.v?0:a.v<b.v?-1:1})).equal({v:2},{v:2})).to.be.true}))})),describe("lessThanOrEqual()",(function(){[["test1","test",!0],[5.1,5,!0],[5.1,5.1,!0],[!0,!0,!0],[!1,!0,!1],[!1,!1,!0],[-4,-4,!0],[-4,4,!1]].forEach((function(data){var b=data.shift(),a=data.shift(),c=data.shift();it("should compare "+a+" and "+b+" return "+c,(function(){expect((new Comparator).lessThanOrEqual(a,b)).is.equal(c)}))}))}))}));var trimspaces=__webpack_require__(69618);describe("trimSpaces",(function(){[[" value ","value"],[" value\\ ","value\\ "],["\\ value\\ ","\\ value\\ "],[" value ","value"],[" value ","value"]].forEach((function(data){var a=data.shift(),b=data.shift();it("trimSpaces("+JSON.stringify(a)+") should return "+JSON.stringify(b),(function(){expect((0,trimspaces.A)(a)).to.be.equal(b)}))}))})),describe("Clone",(function(){var A=function(){function A(b){(0,classCallCheck.Z)(this,A),this.b=b}return(0,createClass.Z)(A,[{key:"a",value:function a(){}}]),A}(),B=function(){function B(b){(0,classCallCheck.Z)(this,B),this.b=b}return(0,createClass.Z)(B,[{key:"a",value:function a(){}},{key:"getClone",value:function getClone(){return"DONE"}}]),B}();describe(".clone(B) with getClone",(function(){it(".clone(B) should object",(function(){var b=new B({x:{y:1,d:new A(1),z:function z(){}}}),r=(0,clone.d)(b);expect(b).to.be.instanceOf(B),expect(r).not.equal(b),expect(JSON.stringify(r)).equal(JSON.stringify("DONE"))}))})),describe(".clone(A)",(function(){it(".clone(A) should object",(function(){var a=new A({x:{y:1,d:new A(1),z:function z(){}}}),b=(0,clone.d)(a);expect(a).to.be.instanceOf(A),expect(b).to.be.instanceOf(A),expect(b).not.equal(a),expect(JSON.stringify(a)).equal(JSON.stringify(b))}))})),"object"===("undefined"==typeof DocumentFragment?"undefined":(0,esm_typeof.Z)(DocumentFragment))&&describe(".clone(DocumentFragment)",(function(){it(".clone(DocumentFragment) should same DocumentFragment",(function(){var a=document.createDocumentFragment(),b=(0,clone.d)(a);expect(b).equal(a)}))})),describe(".clone(null)",(function(){it(".clone(null) should null",(function(){var a=null,b=(0,clone.d)(a);expect(b).equal(a),expect(b).to.be.null,expect(a).to.be.null}))})),describe(".clone(undefined)",(function(){it(".clone(undefined) should undefined",(function(){var a=void 0,b=(0,clone.d)(a);expect(a===b).to.be.true,expect(void 0===b).to.be.true,expect(!0).to.be.true,expect(void 0===b).to.be.true}))})),describe(".clone(object)",(function(){it(".clone({}) should object",(function(){var b=(0,clone.d)({});expect("object"===(0,esm_typeof.Z)(b)).to.be.true})),it(".clone({x:1}) should object",(function(){var a={x:1},b=(0,clone.d)(a);expect(a.x).is.equal(b.x)}))})),describe(".clone(function)",(function(){it(".clone(function) should function",(function(){var b=(0,clone.d)((function a(){}));expect("function"==typeof b).to.be.true}))})),describe(".clone()",(function(){[["test1","string"],[void 0,"undefined"],[null,"object"],[function(){},"function"],[2,"number"],[!1,"boolean"],[!0,"boolean"],[4.5,"number"],[{},"object"],[[1,2,3],"object"],[Symbol("foo"),"symbol"]].forEach((function(data){var a=data.shift(),b=data.shift();it(".clone("+JSON.stringify(a)+") should "+b+" ",(function(){var c=(0,clone.d)(a);expect((0,esm_typeof.Z)(c)).is.equal(b)}))}))}))}));__webpack_require__(36210),__webpack_require__(43371);function freeze_createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function freeze_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return freeze_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return freeze_arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function freeze_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function deepFreeze(object){(0,validate.FF)(object);var _step,_iterator=freeze_createForOfIteratorHelper(Object.getOwnPropertyNames(object));try{for(_iterator.s();!(_step=_iterator.n()).done;){var name=_step.value,value=object[name];object[name]=value&&"object"===(0,esm_typeof.Z)(value)?deepFreeze(value):value}}catch(err){_iterator.e(err)}finally{_iterator.f()}return Object.freeze(object)}function processing_createSuper(Derived){var hasNativeReflectConstruct=function processing_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Util",deepFreeze),describe("deepFreeze",(function(){describe("deepFreeze an object",(function(){it("should freeze object",(function(){var obj1={a:{b:{c:1}}},obj2={a:{b:{c:2}}};expect(obj2).to.not.eql(obj1),obj1.a.b.c=2,expect(obj2).to.eql(obj1);var obj1Freezed=deepFreeze(obj1);expect(obj2).to.eql(obj1Freezed);try{obj1Freezed.a.b.c=3}catch(_){}expect(obj2).to.eql(obj1Freezed)}))}))}));var Callback=function(){function Callback(callback,time){(0,classCallCheck.Z)(this,Callback),this[constants.eB]={callback:(0,validate.zV)(callback),time:(0,validate.bv)(null!=time?time:0)}}return(0,createClass.Z)(Callback,[{key:"run",value:function run(data){var self=this;return new Promise((function(resolve,reject){(0,global.Ck)("setTimeout")((function(){try{resolve(self[constants.eB].callback(data))}catch(e){reject(e)}}),self[constants.eB].time)}))}}]),Callback}(),Processing=function(_Base){(0,inherits.Z)(Processing,_Base);var _super=processing_createSuper(Processing);function Processing(){var _this;(0,classCallCheck.Z)(this,Processing),(_this=_super.call(this))[constants.eB]={queue:new types_queue.c};for(var time=0,_i=0,_Object$entries=Object.entries(arguments);_i<_Object$entries.length;_i++){var _Object$entries$_i=(0,slicedToArray.Z)(_Object$entries[_i],2),arg=_Object$entries$_i[1];if((0,is.U)(arg)&&arg>=0)time=arg;else{if(!(0,is.mf)(arg))throw new TypeError("the arguments must be either integer or functions");_this[constants.eB].queue.add(new Callback(arg,time))}}return _this}return(0,createClass.Z)(Processing,[{key:"add",value:function add(callback,time){return this[constants.eB].queue.add(new Callback(callback,time)),this}},{key:"run",value:function run(data){var self=this;return this[constants.eB].queue.isEmpty()?Promise.resolve(data):this[constants.eB].queue.poll().run(data).then((function(result){return self.run(result)}))}}]),Processing}(base.X);(0,namespace.O)("Monster.Util",Processing),describe("Processing",(function(){describe("run instance",(function(){it("should run many function",(function(done){var counter=0,t=+new Date;this.timeout(300),new Processing((function(v){return counter++,v}),(function(v){return counter++,v}),(function(v){return counter++,v}),200,(function(v){return counter++,v})).run("test").then((function(v){try{expect(counter).to.be.equal(4),expect("test"===v).to.be.true,expect(+new Date>t+200+1).to.be.true}catch(e){return done(e)}done()}))})),it("should run one function",(function(done){new Processing((function(value){return value})).run("test").then((function(v){try{expect("test"===v).to.be.true}catch(e){return done(e)}done()})).catch((function(e){return done(e)}))})),it("should run no function",(function(done){(new Processing).run("test").then((function(v){try{expect("test"===v).to.be.true}catch(e){return done(e)}done()})).catch((function(e){return done(e)}))}))})),describe("create new instance",(function(){it("should return a Processing object",(function(){expect(new Processing).to.be.a("object")})),it("should return a Processing object",(function(){expect(new Processing((function(){}))).to.be.a("object")})),it("should throw TypeError",(function(){expect((function(){return new Processing(!0)})).to.throw(TypeError)})),it("should throw TypeError",(function(){expect((function(){return new Processing("test")})).to.throw(TypeError)}))}))}));__webpack_require__(38559);describe("Pathfinder",(function(){var convertMapResult=function convertMapResult(r){if(r instanceof Map)if((r=Object.fromEntries(r))instanceof Array)r=r.map((function(e){return convertMapResult(e)}));else if("object"===(0,esm_typeof.Z)(r))for(var _i=0,_Object$entries=Object.entries(r);_i<_Object$entries.length;_i++){var _Object$entries$_i=(0,slicedToArray.Z)(_Object$entries[_i],2),k=_Object$entries$_i[0],o=_Object$entries$_i[1];r[k]=convertMapResult(o)}return r};describe("with Wildcard and Iterations",(function(){var pf,obj;beforeEach((function(){obj={a:[{b:[{c:"1-1"},{c:"1-2"}],d:"!"},{b:[{c:"2-1"},{c:"2-2"}],d:"?"}]},pf=new data_pathfinder.WV(obj)})),[["a.*.b.*",'{"0":{"0":{"c":"1-1"},"1":{"c":"1-2"}},"1":{"0":{"c":"2-1"},"1":{"c":"2-2"}}}'],["a.*.b",'{"0":[{"c":"1-1"},{"c":"1-2"}],"1":[{"c":"2-1"},{"c":"2-2"}]}'],["a.1.b",'[{"c":"2-1"},{"c":"2-2"}]'],["a.0.b",'[{"c":"1-1"},{"c":"1-2"}]']].forEach((function(data){var a=data.shift(),b=data.shift();it(".setVia("+a+") should result in "+b,(function(){var r=pf.getVia(a),i=convertMapResult(r);expect(JSON.stringify(i)).is.equal(b)}))}))})),describe("api tests",(function(){var pathfinder,object,A=function(){function A(){(0,classCallCheck.Z)(this,A)}return(0,createClass.Z)(A,[{key:"a",get:function get(){return 1}}]),A}();beforeEach((function(){object={a:{b:{c:[4,"test1",!1,void 0,parseInt("a")],d:void 0,e:!1,f:[{g:!1,h:3,i:["test2"]}],j:{},k:(new Map).set("m",{n:3}),l:(new Set).add({n:4})}},b:new A},pathfinder=new data_pathfinder.WV(object)})),describe("create new object",(function(){[[12],[void 0],[null],["test"]].forEach((function(data){var a=data.shift(),label=(0,esm_typeof.Z)(a);null===a&&(label="null"),it(label+" should throw error",(function(){expect((function(){new data_pathfinder.WV(a)})).to.throw(Error)}))}))})),describe(".setVia(x)",(function(){var pf,obj;beforeEach((function(){obj={},pf=new data_pathfinder.WV(obj)})),[["a.b.0.0.c",!0,'{"a":{"b":[[{"c":true}]]}}'],["a.b.0.c",!0,'{"a":{"b":[{"c":true}]}}'],["a.b.3.c",!0,'{"a":{"b":[null,null,null,{"c":true}]}}'],["a.b.c",!0,'{"a":{"b":{"c":true}}}']].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it(".setVia("+a+", "+b+") should result in "+c,(function(){pf.setVia(a,b),expect(JSON.stringify(obj)).is.equal(c)}))}))})),describe(".setVia()",(function(){var a,b,c;beforeEach((function(){a="a.x",b="true",c="a.y.d"})),it(".setVia("+a+", "+b+") should return Pathfinder",(function(){expect(pathfinder.setVia(a,b)).is.instanceOf(data_pathfinder.WV)})),it(".setVia("+a+", "+b+") should change object",(function(){pathfinder.setVia(a,b),expect(JSON.stringify(object)).is.equal('{"a":{"b":{"c":[4,"test1",false,null,null],"e":false,"f":[{"g":false,"h":3,"i":["test2"]}],"j":{},"k":{},"l":{}},"x":"true"},"b":{}}')})),it(".setVia("+c+", "+b+") should change object",(function(){pathfinder.setVia(c,b),expect(JSON.stringify(object)).is.equal('{"a":{"b":{"c":[4,"test1",false,null,null],"e":false,"f":[{"g":false,"h":3,"i":["test2"]}],"j":{},"k":{},"l":{}},"y":{"d":"true"}},"b":{}}')}))})),describe(".exists()",(function(){[["a.b.c.1",!0],["b.a",!0],["a.b.x",!1],["a.x",!1],["a.b.q",!1],["a.b.c.0",!0],["a.b.d",!0],["a.b.f.0.g",!0],["a.b.f.0.i.0",!0],["a.b.f.0.i.2",!1],["a.b.e",!0]].forEach((function(data){var a=data.shift(),b=data.shift();it(".exists("+a+") should return "+b+" ",(function(){expect(pathfinder.exists(a)).is.equal(b)}))}))})),describe(".deleteVia()",(function(){[["a.b.e",'{"a":{"b":{"c":[4,"test1",false,null,null],"f":[{"g":false,"h":3,"i":["test2"]}],"j":{},"k":{},"l":{}}},"b":{}}'],["a.b.f",'{"a":{"b":{"c":[4,"test1",false,null,null],"e":false,"j":{},"k":{},"l":{}}},"b":{}}'],["a.b.j",'{"a":{"b":{"c":[4,"test1",false,null,null],"e":false,"f":[{"g":false,"h":3,"i":["test2"]}],"k":{},"l":{}}},"b":{}}']].forEach((function(data){var a=data.shift(),b=data.shift();it(".deleteVia("+a+") should return "+b+" ",(function(){pathfinder.deleteVia(a),expect(JSON.stringify(object)).is.equal(b)}))}))})),describe(".getVia()",(function(){describe(".getVia()",(function(){beforeEach((function(){object={a:{b:{c:[4,"test1",!1,void 0,parseInt("a")],d:void 0,e:!1,f:[{g:!1,h:3,i:["test2"]}],j:{},k:(new Map).set("m",{n:3}),l:(new Set).add({n:4}),o:[{p:{q:1,r:!0}},{p:{q:2,r:!0}},{p:{q:3,r:!0}},{p:{q:4,r:!0}},{p:{q:5,r:!0}}],s:{t:{a:1},u:{a:2},v:{a:3},x:{a:4}}}}},pathfinder=new data_pathfinder.WV(object)})),[["a.*",'[["b",{"c":[4,"test1",false,null,null],"e":false,"f":[{"g":false,"h":3,"i":["test2"]}],"j":{},"k":{},"l":{},"o":[{"p":{"q":1,"r":true}},{"p":{"q":2,"r":true}},{"p":{"q":3,"r":true}},{"p":{"q":4,"r":true}},{"p":{"q":5,"r":true}}],"s":{"t":{"a":1},"u":{"a":2},"v":{"a":3},"x":{"a":4}}}]]'],["a.b.s.*.a",'[["t",1],["u",2],["v",3],["x",4]]'],["a.b.s.*",'[["t",{"a":1}],["u",{"a":2}],["v",{"a":3}],["x",{"a":4}]]'],["a.b.o.*.p.q",'[["0",1],["1",2],["2",3],["3",4],["4",5]]'],["a.b.o.*.p.r",'[["0",true],["1",true],["2",true],["3",true],["4",true]]'],["a.b.o.*.p",'[["0",{"q":1,"r":true}],["1",{"q":2,"r":true}],["2",{"q":3,"r":true}],["3",{"q":4,"r":true}],["4",{"q":5,"r":true}]]']].forEach((function(data){var a=data.shift(),b=data.shift();it(".getVia("+a+") should result "+b,(function(){var r=pathfinder.getVia(a);expect(JSON.stringify(Array.from(r))).is.equal(b)}))}))})),it(".getVia() should result ",(function(){var r=new data_pathfinder.WV({a:{x:[{c:1},{c:2}],y:!0},b:{x:[{c:1,d:!1},{c:2}],y:!0}}).getVia("*.x.*.c");expect(JSON.stringify(function mapToObj(map){var obj={};return map.forEach((function(v,k){v instanceof Map?obj[k]=mapToObj(v):obj[k]=v})),obj}(r))).is.equal('{"a":{"0":1,"1":2},"b":{"0":1,"1":2}}')})),it(".getVia(a.b.l.0.n) with map should return 4 ",(function(){expect(pathfinder.getVia("a.b.l.0.n")).is.equal(4)})),[["a.b.k.m.n",3],["a.b.l.0.n",4],["a.x",void 0],["a.b.q",void 0],["a.b.c.1","test1"],["a.b.c.0",4],["a.b.d",void 0],["a.b.f.0.g",!1],["a.b.f.0.i.0","test2"],["a.b.e",!1]].forEach((function(data){var a=data.shift(),b=data.shift();it(".getVia("+a+") should return "+b+" ",(function(){expect(pathfinder.getVia(a)).is.equal(b)}))})),[["a.b.d.e"],["a.b.d.x"],["a.b.l.e.n"]].forEach((function(data){var a=data.shift();it(".getVia("+a+") should throw Error ",(function(){expect((function(){return pathfinder.getVia(a)})).to.throw(Error)}))}))}))}))})),__webpack_require__.g.crypto||(__webpack_require__.g.crypto=new Crypto),describe("Pipe",(function(){describe("run different pipes",(function(){[["path:b | if:x:\\ ",{a:!0}," "],["path:a | if:x:\\ ",{a:!0},"x"],["nop","abcdefghijklmnop","abcdefghijklmnop"]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("Pipe.run("+JSON.stringify(a)+").run("+JSON.stringify(b)+") should return "+JSON.stringify(c),(function(){var r=new data_pipe.E(a).run(b);expect(r).to.be.eql(c)}))}))})),describe("new Pipe should create new Instance",(function(){it("should return Instance",(function(){expect(new data_pipe.E("")).to.be.instanceOf(data_pipe.E)})),it("should return Instance",(function(){expect(new data_pipe.E("index:a|toupper |prefix:a").run({a:"test"})).to.be.equal("aTEST")})),[["index:a|toupper |prefix:a",{a:"test"},"aTEST"],["path:a.b.c.d | toupper | prefix:Hello\\ ",{a:{b:{c:{d:"world"}}}},"Hello WORLD"],["path:a.b.c|index:d|toupper |suffix:x",{a:{b:{c:{d:"test"}}}},"TESTx"]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("new Pipe("+JSON.stringify(a)+").run("+JSON.stringify(b)+") should return "+JSON.stringify(c)+" ",(function(){var t=new data_pipe.E(a);expect(t.run(b)).to.be.equal(c)}))}))}))}));var MockForExtends=(0,createClass.Z)((function MockForExtends(){(0,classCallCheck.Z)(this,MockForExtends)}));describe("extend",(function(){[['{"thekey":{}}',{},{thekey:new MockForExtends}],['{"a":{"b":["1","2","3"]}}',{a:{b:["1","2","3"]}},{a:{b:[]}}],['{"a":{"b":1,"d":1}}',{a:{b:1}},{a:{d:1}}],['{"a":{"b":1,"d":{"x":["car"],"f":true,"g":[]}}}',{},{a:{b:1,d:{x:["car"]}}},{a:{d:{f:!0,g:[]}}}]].forEach((function(data){var d=data.shift(),a=data;it(".extend("+JSON.stringify(a)+") should result in "+d,(function(){var x=extend.l.apply(this,a);expect(JSON.stringify(x)).is.equal(d)}))})),[[{},{a:{b:1,d:["car"]}},{a:{d:{f:!0,g:[]}}}],[{a:{}},{a:[]}]].forEach((function(data){var a=data;it(".extend("+JSON.stringify(a)+") should throw Error ",(function(){var _this=this;expect((function(){return extend.l.apply(_this,a)})).to.throw(Error)}))}))}));__webpack_require__(28733);var diff=__webpack_require__(18065);describe("Diff",(function(){describe("Diff special cases",(function(){var obj1,obj2;beforeEach((function(){obj1={count:1,reason:null,info:"test",exchange:[]},obj2={count:2,reason:null,info:void 0,exchange:[]}})),it("Diff value with null ",(function(){var d=(0,diff.H)(obj1,obj2);expect(JSON.stringify(d)).is.equal('[{"operator":"update","path":["count"],"first":{"value":1,"type":"number"},"second":{"value":2,"type":"number"}},{"operator":"delete","path":["info"],"first":{"value":"test","type":"string"}}]')})),it("Diff identical value with null ",(function(){var d=(0,diff.H)(obj1,obj1);expect(JSON.stringify(d)).is.equal("[]")}))}));var date1=new Date,date2=Date.parse("01 Jan 1970 00:00:00 GMT"),date3=Date.parse("04 Dec 1995 00:12:00 GMT"),date4=Date.parse("04 Dec 1995 00:12:01 GMT"),date5=new Date(Date.parse("04 Dec 1995 00:12:01 GMT")),date6=new Date(Date.parse("04 Dec 1995 00:12:02 GMT"));[[{},{a:new types_queue.c},'[{"operator":"add","path":["a"],"second":{"value":{"data":[]},"type":"object","instance":"Queue"}}]'],[{a:{b:1},c:{d:2}},{a:{e:3},f:{d:2}},'[{"operator":"delete","path":["a","b"],"first":{"value":1,"type":"number"}},{"operator":"add","path":["a","e"],"second":{"value":3,"type":"number"}},{"operator":"delete","path":["c"],"first":{"value":{"d":2},"type":"object","instance":"Object"}},{"operator":"add","path":["f"],"second":{"value":{"d":2},"type":"object","instance":"Object"}}]'],[{a:date1,c:date4},{a:date2,b:date3},'[{"operator":"update","path":["a"],"first":{"value":"'+date1.toISOString()+'","type":"object","instance":"Date"},"second":{"value":0,"type":"number"}},{"operator":"delete","path":["c"],"first":{"value":818035921000,"type":"number"}},{"operator":"add","path":["b"],"second":{"value":818035920000,"type":"number"}}]'],[{a:date5},{b:date6},'[{"operator":"delete","path":["a"],"first":{"value":"1995-12-04T00:12:01.000Z","type":"object","instance":"Date"}},{"operator":"add","path":["b"],"second":{"value":"1995-12-04T00:12:02.000Z","type":"object","instance":"Date"}}]'],[{a:date1},{a:date1},"[]"],[{},{a:date3},'[{"operator":"add","path":["a"],"second":{"value":818035920000,"type":"number"}}]'],[{a:date2},{a:date3},'[{"operator":"update","path":["a"],"first":{"value":0,"type":"number"},"second":{"value":818035920000,"type":"number"}}]'],[{a:1},{a:2},'[{"operator":"update","path":["a"],"first":{"value":1,"type":"number"},"second":{"value":2,"type":"number"}}]'],[{a:1},{x:1},'[{"operator":"delete","path":["a"],"first":{"value":1,"type":"number"}},{"operator":"add","path":["x"],"second":{"value":1,"type":"number"}}]'],[{a:1},{a:2,x:1},'[{"operator":"update","path":["a"],"first":{"value":1,"type":"number"},"second":{"value":2,"type":"number"}},{"operator":"add","path":["x"],"second":{"value":1,"type":"number"}}]'],[{a:null},{},'[{"operator":"delete","path":["a"],"first":{"value":null,"type":"object"}}]'],[{a:null},{a:null},"[]"],[{},{a:null},'[{"operator":"add","path":["a"],"second":{"value":null,"type":"object"}}]'],[{},{a:void 0},'[{"operator":"add","path":["a"],"second":{"type":"undefined"}}]']].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("Diff should result "+c,(function(){var d=(0,diff.H)(a,b);expect(JSON.stringify(d)).is.equal(c)}))}))}));__webpack_require__(83510),__webpack_require__(85827),__webpack_require__(47941);var setPrototypeOf=__webpack_require__(89611);__webpack_require__(13728),__webpack_require__(27207);function _wrapRegExp(){_wrapRegExp=function _wrapRegExp(re,groups){return new BabelRegExp(re,void 0,groups)};var _super=RegExp.prototype,_groups=new WeakMap;function BabelRegExp(re,flags,groups){var _this=new RegExp(re,flags);return _groups.set(_this,groups||_groups.get(re)),(0,setPrototypeOf.Z)(_this,BabelRegExp.prototype)}function buildGroups(result,re){var g=_groups.get(re);return Object.keys(g).reduce((function(groups,name){return groups[name]=result[g[name]],groups}),Object.create(null))}return(0,inherits.Z)(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(str){var result=_super.exec.call(this,str);return result&&(result.groups=buildGroups(result,this)),result},BabelRegExp.prototype[Symbol.replace]=function(str,substitution){if("string"==typeof substitution){var groups=_groups.get(this);return _super[Symbol.replace].call(this,str,substitution.replace(/\$<([^>]+)>/g,(function(_,name){return"$"+groups[name]})))}if("function"==typeof substitution){var _this=this;return _super[Symbol.replace].call(this,str,(function(){var args=arguments;return"object"!==(0,esm_typeof.Z)(args[args.length-1])&&(args=[].slice.call(args)).push(buildGroups(args,_this)),substitution.apply(this,args)}))}return _super[Symbol.replace].call(this,str,substitution)},_wrapRegExp.apply(this,arguments)}function buildmap_createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function buildmap_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return buildmap_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return buildmap_arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function buildmap_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function buildMap(subject,selector,valueTemplate,keyTemplate,filter){return assembleParts(subject,selector,filter,(function(v,k,m){k=buildmap_build(v,keyTemplate,k),v=buildmap_build(v,valueTemplate),this.set(k,v)}))}function assembleParts(subject,selector,filter,callback){var map,result=new Map;if((0,is.mf)(selector)){if(!((map=selector(subject))instanceof Map))throw new TypeError("the selector callback must return a map")}else{if(!(0,is.HD)(selector))throw new TypeError("selector is neither a string nor a function");map=new Map,buildFlatMap.call(map,subject,selector)}return map instanceof Map?(map.forEach((function(v,k,m){(0,is.mf)(filter)&&!0!==filter.call(m,v,k)||callback.call(result,v,k,m)})),result):result}function buildFlatMap(subject,selector,key,parentMap){var result=this,currentMap=new Map,resultLength=result.size;void 0===key&&(key=[]);var parts=selector.split(data_pathfinder.cF),current="",currentPath=[];do{if(current=parts.shift(),currentPath.push(current),current===data_pathfinder.gt){var finder=new data_pathfinder.WV(subject),map=void 0;try{map=finder.getVia(currentPath.join(data_pathfinder.cF))}catch(e){map=new Map}var _step,_iterator=buildmap_createForOfIteratorHelper(map);try{var _loop=function _loop(){var _step$value=(0,slicedToArray.Z)(_step.value,2),k=_step$value[0],o=_step$value[1],copyKey=(0,clone.d)(key);currentPath.map((function(a){copyKey.push(a===data_pathfinder.gt?k:a)}));var kk=copyKey.join(data_pathfinder.cF),sub=buildFlatMap.call(result,o,parts.join(data_pathfinder.cF),copyKey,o);(0,is.Kn)(sub)&&void 0!==parentMap&&(sub["^"]=parentMap),currentMap.set(kk,sub)};for(_iterator.s();!(_step=_iterator.n()).done;)_loop()}catch(err){_iterator.e(err)}finally{_iterator.f()}}}while(parts.length>0);if(resultLength===result.size){var _step2,_iterator2=buildmap_createForOfIteratorHelper(currentMap);try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var _step2$value=(0,slicedToArray.Z)(_step2.value,2),k=_step2$value[0],o=_step2$value[1];result.set(k,o)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}}return subject}function buildmap_build(subject,definition,defaultValue){if(void 0===definition)return defaultValue||subject;(0,validate.Cp)(definition);var regexp=_wrapRegExp(/(\$\{([a-z\^A-Z.\-_0-9]*)\})/gm,{placeholder:1,path:2}),array=(0,toConsumableArray.Z)(definition.matchAll(regexp)),finder=new data_pathfinder.WV(subject);return 0===array.length?finder.getVia(definition):(array.forEach((function(a){var groups=null==a?void 0:a.groups,placeholder=null==groups?void 0:groups.placeholder;if(void 0!==placeholder){var path=null==groups?void 0:groups.path,v=finder.getVia(path);void 0===v&&(v=defaultValue),definition=definition.replaceAll(placeholder,v)}})),definition)}function datasource_createSuper(Derived){var hasNativeReflectConstruct=function datasource_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Data",buildMap),describe("buildMap",(function(){var convertMapResult=function convertMapResult(r){if(r instanceof Map)if((r=Object.fromEntries(r))instanceof Array)r=r.map((function(e){return convertMapResult(e)}));else if("object"===(0,esm_typeof.Z)(r))for(var _i=0,_Object$entries=Object.entries(r);_i<_Object$entries.length;_i++){var _Object$entries$_i=(0,slicedToArray.Z)(_Object$entries[_i],2),k=_Object$entries$_i[0],o=_Object$entries$_i[1];r[k]=convertMapResult(o)}return r};describe("build Map with callback",(function(){it("definition should return map with sub and parent keys",(function(){var map=buildMap({data:[{id:10,name:"Cassandra",enrichment:{variants:[{sku:1,label:"XXS",price:[{vk:"12.12 €"},{vk:"12.12 €"}]},{sku:2,label:"XS",price:[{vk:"22.12 €"},{vk:"22.12 €"}]},{sku:3,label:"S",price:[{vk:"32.12 €"},{vk:"32.12 €"}]},{sku:4,label:"L",price:[{vk:"42.12 €"},{vk:"42.12 €"}]}]}},{id:20,name:"Yessey!",enrichment:{variants:[{sku:1,label:"XXS",price:[{vk:"12.12 €"},{vk:"12.12 €"}]},{sku:2,label:"XS",price:[{vk:"22.12 €"},{vk:"22.12 €"}]},{sku:3,label:"S",price:[{vk:"32.12 €"},{vk:"32.12 €"}]},{sku:4,label:"L",price:[{vk:"42.12 €"},{vk:"42.12 €"}]}]}}]},(function callback(subject){for(var m=new Map,_i2=0,_Object$entries2=Object.entries(subject.data);_i2<_Object$entries2.length;_i2++)for(var _Object$entries2$_i=(0,slicedToArray.Z)(_Object$entries2[_i2],2),_i3=_Object$entries2$_i[0],b=_Object$entries2$_i[1],key1=_i3,_i4=0,_Object$entries3=Object.entries(b.enrichment.variants);_i4<_Object$entries3.length;_i4++)for(var _Object$entries3$_i=(0,slicedToArray.Z)(_Object$entries3[_i4],2),j=_Object$entries3$_i[0],c=_Object$entries3$_i[1],key2=j,_i5=0,_Object$entries4=Object.entries(c.price);_i5<_Object$entries4.length;_i5++){var _Object$entries4$_i=(0,slicedToArray.Z)(_Object$entries4[_i5],2),k=_Object$entries4$_i[0],d=_Object$entries4$_i[1],key3=k;d.name=b.name,d.label=c.label,d.id=[key1,key2,key3].join("."),m.set(d.id,d)}return m}),"${name} ${label}","${id}"),i=convertMapResult(map);expect(JSON.stringify(i)).to.be.equal('{"0.0.0":"Cassandra XXS","0.0.1":"Cassandra XXS","0.1.0":"Cassandra XS","0.1.1":"Cassandra XS","0.2.0":"Cassandra S","0.2.1":"Cassandra S","0.3.0":"Cassandra L","0.3.1":"Cassandra L","1.0.0":"Yessey! XXS","1.0.1":"Yessey! XXS","1.1.0":"Yessey! XS","1.1.1":"Yessey! XS","1.2.0":"Yessey! S","1.2.1":"Yessey! S","1.3.0":"Yessey! L","1.3.1":"Yessey! L"}')}))})),describe("build submap with *",(function(){it('definition should return {"10":"Cassandra 10","20":"Yessey! 20"}',(function(){var map=buildMap({data:[{id:10,name:"Cassandra"},{id:20,name:"Yessey!"}]},"data.*","${name} ${id}","${id}"),i=convertMapResult(map);expect(JSON.stringify(i)).to.be.equal('{"10":"Cassandra 10","20":"Yessey! 20"}')}))})),describe("build submap with **",(function(){it("definition should return Map",(function(){var map=buildMap({data:[{id:10,name:"Cassandra",enrichment:{variants:[{sku:1,label:"XXS",price:[{vk:"12.12 €",id:1},{vk:"12.12 €",id:2}]},{sku:2,label:"XS",price:[{vk:"22.12 €",id:3},{vk:"22.12 €",id:4}]},{sku:3,label:"S",price:[{vk:"32.12 €",id:5},{vk:"32.12 €",id:6}]},{sku:4,label:"L",price:[{vk:"42.12 €",id:7},{vk:"42.12 €",id:8}]}]}},{id:20,name:"Yessey!",enrichment:{variants:[{sku:1,label:"XXS",price:[{vk:"12.12 €",id:9},{vk:"12.12 €",id:10}]},{sku:2,label:"XS",price:[{vk:"22.12 €",id:11},{vk:"22.12 €",id:12}]},{sku:3,label:"S",price:[{vk:"32.12 €",id:13},{vk:"32.12 €",id:14}]},{sku:4,label:"L",price:[{vk:"42.12 €",id:15},{vk:"42.12 €",id:16},{vk:"44.12 €",id:17}]}]}}]},"data.*.enrichment.variants.*.price.*","${vk} ${^.label} ${^.^.name}","${^.^.sku}"),i=convertMapResult(map);expect(JSON.stringify(i)).to.be.equal('{"data.0.enrichment.variants.0.price.0":"12.12 € XXS Cassandra","data.0.enrichment.variants.0.price.1":"12.12 € XXS Cassandra","data.0.enrichment.variants.1.price.0":"22.12 € XS Cassandra","data.0.enrichment.variants.1.price.1":"22.12 € XS Cassandra","data.0.enrichment.variants.2.price.0":"32.12 € S Cassandra","data.0.enrichment.variants.2.price.1":"32.12 € S Cassandra","data.0.enrichment.variants.3.price.0":"42.12 € L Cassandra","data.0.enrichment.variants.3.price.1":"42.12 € L Cassandra","data.1.enrichment.variants.0.price.0":"12.12 € XXS Yessey!","data.1.enrichment.variants.0.price.1":"12.12 € XXS Yessey!","data.1.enrichment.variants.1.price.0":"22.12 € XS Yessey!","data.1.enrichment.variants.1.price.1":"22.12 € XS Yessey!","data.1.enrichment.variants.2.price.0":"32.12 € S Yessey!","data.1.enrichment.variants.2.price.1":"32.12 € S Yessey!","data.1.enrichment.variants.3.price.0":"42.12 € L Yessey!","data.1.enrichment.variants.3.price.1":"42.12 € L Yessey!","data.1.enrichment.variants.3.price.2":"44.12 € L Yessey!"}')}))})),describe("examplecode",(function(){it("should execute example code",(function(){var map,obj={data:[{id:10,name:"Cassandra",address:{street:"493-4105 Vulputate Street",city:"Saumur",zip:"52628"}},{id:20,name:"Holly",address:{street:"1762 Eget Rd.",city:"Schwalbach",zip:"952340"}},{id:30,name:"Guy",address:{street:"957-388 Sollicitudin Avenue",city:"Panchià",zip:"420729"}}]};map=buildMap(obj,"data.*","${name} (${address.zip} ${address.city})","id"),expect(map).to.be.instanceOf(Map),map=buildMap(obj,"data.*","${name} (${address.zip} ${address.city})"),expect(map).to.be.instanceOf(Map),map=buildMap(obj,"data.*","${name} (${address.zip} ${address.city})","id",(function(value,key){return value.id>=20})),expect(map).to.be.instanceOf(Map)}))})),describe("buildmap()",(function(){var obj1={dataset:{10082:{name:"Test 1",address:"Here 1"},10084:{name:"Test 2",address:"Here 2"}}};it("should return Map Instance.",(function(){expect(buildMap({},"")).to.be.instanceOf(Map)})),[[obj1,"dataset.*","address",'{"dataset.10082":"Here 1","dataset.10084":"Here 2"}'],[obj1,"x",void 0,"{}"],[obj1,"dataset.*","name",'{"dataset.10082":"Test 1","dataset.10084":"Test 2"}']].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift(),d=data.shift();it("buildMap("+JSON.stringify(a)+","+JSON.stringify(b)+","+JSON.stringify(c)+") should return "+JSON.stringify(d)+" ",(function(){var t=buildMap(a,b,c),m=JSON.stringify(convertMapResult(t));expect(m).to.be.equal(d)}))}))}))}));var internalDataSymbol=Symbol("internalData"),Datasource=function(_Base){(0,inherits.Z)(Datasource,_Base);var _super=datasource_createSuper(Datasource);function Datasource(){var _this;return(0,classCallCheck.Z)(this,Datasource),(_this=_super.call(this))[constants.eB]=new types_proxyobserver.k({options:(0,extend.l)({},_this.defaults)}),_this[internalDataSymbol]=new types_proxyobserver.k({}),_this}return(0,createClass.Z)(Datasource,[{key:"attachObserver",value:function attachObserver(observer){return this[internalDataSymbol].attachObserver(observer),this}},{key:"detachObserver",value:function detachObserver(observer){return this[internalDataSymbol].detachObserver(observer),this}},{key:"containsObserver",value:function containsObserver(observer){return this[internalDataSymbol].containsObserver(observer)}},{key:"defaults",get:function get(){return{}}},{key:"setOption",value:function setOption(path,value){return new data_pathfinder.WV(this[constants.eB].getSubject().options).setVia(path,value),this}},{key:"setOptions",value:function setOptions(options){(0,is.HD)(options)&&(options=function parseOptionsJSON(data){if((0,is.HD)(data)){try{data=(0,dataurl.yS)(data).content}catch(e){}try{var obj=JSON.parse(data);return(0,validate.FF)(obj),obj}catch(e){throw new Error("the options does not contain a valid json definition (actual: "+data+").")}}return{}}(options));return(0,extend.l)(this[constants.eB].getSubject().options,this.defaults,options),this}},{key:"getOption",value:function getOption(path,defaultValue){var value;try{value=new data_pathfinder.WV(this[constants.eB].getRealSubject().options).getVia(path)}catch(e){}return void 0===value?defaultValue:value}},{key:"read",value:function read(){throw new Error("this method must be implemented by derived classes")}},{key:"write",value:function write(){throw new Error("this method must be implemented by derived classes")}},{key:"get",value:function get(){return this[internalDataSymbol].getRealSubject()}},{key:"set",value:function set(data){return this[internalDataSymbol].setSubject(data),this}}]),Datasource}(base.X);(0,namespace.O)("Monster.Data",Datasource),describe("Datasource",(function(){it("should instance of Datasource ",(function(){expect(new Datasource).to.be.instanceof(Datasource)})),describe("Options",(function(){it("setOption should change value",(function(){var datasource=new Datasource;expect(datasource.getOption("default")).to.be.undefined,datasource.setOption("default",!0),expect(datasource.getOption("default")).to.be.true})),it("setOptions should set all values",(function(){var datasource=new Datasource;expect(datasource.getOption("default")).to.be.undefined,datasource.setOptions({default:!0}),expect(datasource.getOption("default")).to.be.true}))})),describe("rw",(function(){var datasource=new Datasource;it("read should throw exeption",(function(){expect((function(){return datasource.read()})).to.throw(Error)})),it("write should throw exeption",(function(){expect((function(){return datasource.read()})).to.throw(Error)}))})),describe("get/set",(function(){var datasource=new Datasource;it("get should return undefined",(function(){expect(datasource.get()).to.be.eql({})})),it("write should throw exeption",(function(){expect(datasource.get()).to.be.eql({}),expect(datasource.set({a:"myvalue"})).to.be.instanceof(Datasource),expect(datasource.get()).to.be.eql({a:"myvalue"})}))}))}));var parentSymbol=Symbol("parent"),rootSymbol=Symbol("root");function buildTree(subject,selector,idKey,parentIDKey,options){var _options,nodes=new Map;(0,is.Kn)(options)||(options={});var filter=null===(_options=options=(0,extend.l)({},{rootReferences:[null,void 0],filter:void 0},options))||void 0===_options?void 0:_options.filter,rootReferences=options.rootReferences;(0,is.kJ)(rootReferences)||(rootReferences=[rootReferences]);var childMap=assembleParts(subject,selector,filter,(function(o,k,m){var key=null==o?void 0:o[idKey],ref=null==o?void 0:o[parentIDKey];if(-1!==rootReferences.indexOf(ref)&&(ref=rootSymbol),void 0===key)throw new Error("the object has no value for the specified id");o[parentSymbol]=ref;var node=new node_Node(o);this.has(ref)?this.get(ref).add(node):this.set(ref,(new NodeList).add(node)),nodes.set(key,node)}));nodes.forEach((function(node){var _node$value,id=null==node||null===(_node$value=node.value)||void 0===_node$value?void 0:_node$value[idKey];childMap.has(id)&&(node.childNodes=childMap.get(id),childMap.delete(id))}));var list=new NodeList;return childMap.forEach((function(s){s instanceof Set&&s.forEach((function(n){list.add(n)}))})),list}(0,namespace.O)("Monster.Data",buildTree),describe("buildTree",(function(){describe("example",(function(){it("should run example",(function(){var nodes=buildTree({dataset:{1:{id:"1",name:"vehicle",parent:null},2:{id:"2",name:"car",parent:"1"},3:{id:"3",name:"truck",parent:"1"},4:{id:"4",name:"motorcycle",parent:"1"},5:{id:"5",name:"SUV",parent:"2"},6:{id:"6",name:"sports car",parent:"2"}}},"dataset.*","id","parent");expect(nodes).to.be.instanceOf(NodeList),expect(nodes.length).to.equal(1),expect(nodes.toString()).to.be.equal('{"id":"1","name":"vehicle","parent":null}\n ├{"id":"2","name":"car","parent":"1"}\n | ├{"id":"5","name":"SUV","parent":"2"}\n | └{"id":"6","name":"sports car","parent":"2"}\n ├{"id":"3","name":"truck","parent":"1"}\n └{"id":"4","name":"motorcycle","parent":"1"}')}))})),describe("buildTree()",(function(){var obj1={dataset:{1:{id:"1",name:"Test 1",address:"Here 1",parent:null},2:{id:"2",name:"Test 2",address:"Here 2",parent:"1"},3:{id:"3",name:"Test 3",address:"Here 3",parent:"2"},4:{id:"4",name:"Test 4",address:"Here 4",parent:"2"},5:{id:"5",name:"Test 5",address:"Here 5",parent:"1"},6:{id:"6",name:"Test 6",address:"Here 6",parent:"4"}}};it("should return Node Instance.",(function(){expect(buildTree({},"")).to.be.instanceOf(NodeList)})),[[obj1,"dataset.*",'{"id":"1","name":"Test 1","address":"Here 1","parent":null}\n ├{"id":"2","name":"Test 2","address":"Here 2","parent":"1"}\n | ├{"id":"3","name":"Test 3","address":"Here 3","parent":"2"}\n | └{"id":"4","name":"Test 4","address":"Here 4","parent":"2"}\n | | └{"id":"6","name":"Test 6","address":"Here 6","parent":"4"}\n └{"id":"5","name":"Test 5","address":"Here 5","parent":"1"}'],[obj1,"x",""],[obj1,"dataset.*",'{"id":"1","name":"Test 1","address":"Here 1","parent":null}\n ├{"id":"2","name":"Test 2","address":"Here 2","parent":"1"}\n | ├{"id":"3","name":"Test 3","address":"Here 3","parent":"2"}\n | └{"id":"4","name":"Test 4","address":"Here 4","parent":"2"}\n | | └{"id":"6","name":"Test 6","address":"Here 6","parent":"4"}\n └{"id":"5","name":"Test 5","address":"Here 5","parent":"1"}']].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("buildTree("+JSON.stringify(a)+","+JSON.stringify(b)+") should return "+JSON.stringify(c)+" ",(function(){var nodelist=buildTree(a,b,"id","parent");expect(nodelist.toString()).to.be.eql(c)}))}))})),describe("buildTree() test 2",(function(){var obj1={dataset:{1:{id:"1",name:"Test 1",address:"Here 1",parent:"2"},2:{id:"2",name:"Test 2",address:"Here 2",parent:"0"},3:{id:"3",name:"Test 3",address:"Here 3",parent:"2"},4:{id:"4",name:"Test 4",address:"Here 4",parent:"0"},5:{id:"5",name:"Test 5",address:"Here 5",parent:"0"},6:{id:"6",name:"Test 6",address:"Here 6",parent:"4"},7:{id:"7",name:"Test 7",address:"Here 7",parent:"1"}}};it("should return Node Instance.",(function(){expect(buildTree({},"")).to.be.instanceOf(NodeList)})),[[obj1,"dataset.*",'{"id":"2","name":"Test 2","address":"Here 2","parent":"0"}\n ├{"id":"1","name":"Test 1","address":"Here 1","parent":"2"}\n | └{"id":"7","name":"Test 7","address":"Here 7","parent":"1"}\n └{"id":"3","name":"Test 3","address":"Here 3","parent":"2"}\n{"id":"4","name":"Test 4","address":"Here 4","parent":"0"}\n └{"id":"6","name":"Test 6","address":"Here 6","parent":"4"}\n{"id":"5","name":"Test 5","address":"Here 5","parent":"0"}'],[obj1,"x",""]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("buildTree("+JSON.stringify(a)+","+JSON.stringify(b)+") should return "+JSON.stringify(c)+" ",(function(){var nodelist=buildTree(a,b,"id","parent",{rootReferences:["0"]});expect(nodelist.toString()).to.be.equal(c)}))}))}))}));var transformer=__webpack_require__(73515);function writeerror_createSuper(Derived){var hasNativeReflectConstruct=function writeerror_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}__webpack_require__.g.crypto||(__webpack_require__.g.crypto=new Crypto),describe("Transformer",(function(){before((function(done){initJSDOM().then((function(){done()}))})),describe("Transformer.run()",(function(){[["??:a",null,"a"],["??:a",void 0,"a"],["??:a","true","true"],["??:a",!1,!1],[" if:a: ",!1,void 0],[" if:a:\\ ",!1," "],[" if:a:\\ ",!0,"a"],["default:yes",null,"yes"],["default:yes",void 0,"yes"],["default:1:bool",void 0,!0],["default:on:bool",void 0,!0],["default:true:bool",void 0,!0],["default:yes:bool",void 0,!0],["default:undefined:bool",void 0,!1],["default:false:bool",void 0,!1],["default:1:int",void 0,1],["default:1:string",void 0,"1"],["first-key",{a:1,c:3,b:2},1],["last-key",{a:1,c:3,b:2},3],["nth-last-key:0",{a:1,c:3,b:2},3],["nth-last-key:1",{a:1,c:3,b:2},2],["nth-last-key:2",{a:1,c:3,b:2},1],["nth-key:2",{a:1,b:2,c:3},3],["nth-key:0",{c:3,a:1,b:2},1],["nth-key:2",{a:1,c:3,b:2},3],["prefix:Hello\\ ","test","Hello test"],["tojson",{a:4},'{"a":4}'],["prefix:a\\\\: ","test","a\\test"],["prefix:a\\ ","test","a test"],["static:abc:a:b:x","test","abc:a:b:x"],["tolowercase","A:b:Cse4","a:b:cse4"],["toupper","A:b:Cse4","A:B:CSE4"],["tostring",5,"5"],["tostring",[1,2,3,{}],"1,2,3,[object Object]"],["tointeger","5",5],["trim"," 5 ","5"],["trim"," a","a"],["trim"," ",""],["rawurlencode","üöä","%C3%BC%C3%B6%C3%A4"],["call:testcallback:4:5:6","test","test456"],["plain","t<br>est","test"],["if:a:b",!0,"a"],["if:a:b","on","a"],["if:a:b","true","a"],["if:a:b","false","b"],["if:a:b",9,"a"],["if:a:b","","b"],["if:a:b",void 0,"b"],["if:a:b",!1,"b"],["ucfirst","car","Car"],["ucfirst","cAr","CAr"],["default:test","a","a"],["default:test",void 0,"test"],["fromjson","{}",{}],["fromjson",'{"a":1}',{a:1}],["ucwords","cAr runs","CAr Runs"],["tointeger","6",6],["length","test",4],["to-base64","Hello World!","SGVsbG8gV29ybGQh"],["from-base64","SGVsbG8gV29ybGQh","Hello World!"],["to-base64","test","dGVzdA=="],["from-base64","dGVzdA==","test"],["prefix:a","test","atest"],["suffix:a","test","testa"],["index:a",{a:4},4],["index:2",[2,4,7],7],["index:x:test",[2,4,7],"test"],["path:a.b.c",{a:{b:{c:4}}},4],["path:a.b.d",{a:{b:{c:4}}},void 0],["index:a",(new Map).set("a",5),5],["substring:2:4","abcdefghijklmnop","cdef"],["nop","abcdefghijklmnop","abcdefghijklmnop"]].forEach((function(data){var a=data.shift(),b=data.shift(),c=data.shift();it("Transformer.run("+JSON.stringify(a)+").run("+JSON.stringify(b)+") should return "+JSON.stringify(c),(function(){var t=new transformer.$(a);t.setCallback("testcallback",(function(a,b,c,d){return a+b+c+d}));var r=t.run(b);expect(r).to.be.eql(c)}))}))})),describe("Transformer.run() throws Error",(function(){[["tolowercase",[]],["tolowercase",{}],["tolowercase",4.5],["toupper",!0],["toupper",5],["tointeger","a"],["trim",5],["trim",!0],["trim",{}],["trim",[]],["rawurlencode",[]],["if:a:b",{}],["ucwords",{}],["ucwords",!1],["ucwords",4],["path:a.b.c","",4],["tointeger",{}],["base64",{}],["fromjson",""],["prefix",{}],["suffix",{}],["index","test"],["xxxxxx","test"]].forEach((function(data){var a=data.shift(),b=data.shift();it("Transformer.run("+JSON.stringify(a)+").run("+JSON.stringify(b)+") should throw Error ",(function(){var t=new transformer.$(a);expect((function(){return t.run(b)})).to.throw(Error)}))}))})),describe('new Transformer().run("uniqid")',(function(){it("should return String",(function(){var t=new transformer.$("uniqid");expect(t.run("")).to.be.a("string")}))})),describe('new Transformer().run("default:eyJiIjoxfQ==:object")',(function(){it("should return Object",(function(){var t=new transformer.$("default:eyJiIjoxfQ==:object");expect(t.run(void 0)).to.eql({b:1})}))})),describe("new Transformer()",(function(){it("should return instanceof Transformer",(function(){expect(new transformer.$("")).to.instanceOf(transformer.$)})),it("should return instanceof Transformer",(function(){expect(new transformer.$("suffix:abc")).to.instanceOf(transformer.$)})),it("false as argument should throw TypeError",(function(){expect((function(){new transformer.$(!1)})).to.throw(TypeError)})),it("object as argument should throw TypeError",(function(){expect((function(){new transformer.$({})})).to.throw(TypeError)}))}))}));var WriteError=function(_Error){(0,inherits.Z)(WriteError,_Error);var _super=writeerror_createSuper(WriteError);function WriteError(message,response,validation){var _this;return(0,classCallCheck.Z)(this,WriteError),(_this=_super.call(this,message))[constants.eB]={response:response,validation:validation},_this}return(0,createClass.Z)(WriteError,[{key:"getResponse",value:function getResponse(){return this[constants.eB].response}},{key:"getValidation",value:function getValidation(){return this[constants.eB].validation}}]),WriteError}((0,wrapNativeSuper.Z)(Error));function restapi_createSuper(Derived){var hasNativeReflectConstruct=function restapi_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Data.Datasource.RestAPI",WriteError);var RestAPI=function(_Datasource){(0,inherits.Z)(RestAPI,_Datasource);var _super=restapi_createSuper(RestAPI);function RestAPI(readDefinition,writeDefinition){var _this;(0,classCallCheck.Z)(this,RestAPI),_this=_super.call(this);var options={};return(0,is.Kn)(readDefinition)&&(options.read=readDefinition),(0,is.Kn)(writeDefinition)&&(options.write=writeDefinition),_this.setOptions(options),_this}return(0,createClass.Z)(RestAPI,[{key:"defaults",get:function get(){return Object.assign({},(0,esm_get.Z)((0,getPrototypeOf.Z)(RestAPI.prototype),"defaults",this),{write:{init:{method:"POST"},acceptedStatus:[200,201],url:void 0,mapping:{transformer:void 0,callbacks:[]},report:{path:void 0}},read:{init:{method:"GET"},acceptedStatus:[200],url:void 0,mapping:{transformer:void 0,callbacks:[]}}})}},{key:"read",value:function read(){var response,self=this,init=self.getOption("read.init");return(0,is.Kn)(init)||(init={}),fetch(self.getOption("read.url"),init).then((function(resp){if(response=resp,-1===self.getOption("read.acceptedStatus",[200]).indexOf(resp.status))throw Error("the data cannot be read (response "+resp.status+")");return resp.text()})).then((function(body){var obj;try{obj=JSON.parse(body)}catch(e){throw body.length>100&&(body=body.substring(0,97)+"..."),new Error("the response does not contain a valid json (actual: "+body+").")}var transformation=self.getOption("read.mapping.transformer");void 0!==transformation&&(obj=new data_pipe.E(transformation).run(obj));return self.set(obj),response}))}},{key:"write",value:function write(){var self=this,init=self.getOption("write.init");(0,is.Kn)(init)||(init={}),"object"!==(0,esm_typeof.Z)(init.headers)&&(init.headers={"Content-Type":"application/json"});var obj=self.get(),transformation=self.getOption("write.mapping.transformer");void 0!==transformation&&(obj=new data_pipe.E(transformation).run(obj));var sheathingObject=self.getOption("write.sheathing.object"),sheathingPath=self.getOption("write.sheathing.path"),reportPath=self.getOption("write.report.path");if(sheathingObject&&sheathingPath){var sub=obj;obj=sheathingObject,new data_pathfinder.WV(obj).setVia(sheathingPath,sub)}return init.body=JSON.stringify(obj),fetch(self.getOption("write.url"),init).then((function(response){return-1===self.getOption("write.acceptedStatus",[200,2001]).indexOf(response.status)?response.text().then((function(body){var obj,validation;try{obj=JSON.parse(body),validation=new data_pathfinder.WV(obj).getVia(reportPath)}catch(e){throw body.length>100&&(body=body.substring(0,97)+"..."),new Error("the response does not contain a valid json (actual: "+body+").")}throw new WriteError("the data cannot be written (response "+response.status+")",response,validation)})):response}))}},{key:"getClone",value:function getClone(){return new RestAPI(this[constants.eB].getRealSubject().options.read,this[constants.eB].getRealSubject().options.write)}}]),RestAPI}(Datasource);function storage_createSuper(Derived){var hasNativeReflectConstruct=function storage_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Data.Datasource",RestAPI),describe("RestAPI",(function(){var fetchReference,returnStatus;afterEach((function(){__webpack_require__.g.fetch=fetchReference})),beforeEach((function(){returnStatus=200,fetchReference=__webpack_require__.g.fetch,__webpack_require__.g.fetch=function(url,options){if(!url)throw new Error("missing url");return new Promise((function(resolve,reject){resolve({text:function text(){return JSON.stringify({a:"test"})},status:returnStatus})}))}})),it("should instance of RestAPI ",(function(){expect(new RestAPI("https://monsterjs.org/assets/world.json")).to.be.instanceof(RestAPI)})),describe("rw",(function(){it("read should return object",(function(done){new RestAPI({url:"https://monsterjs.org/assets/world.json"}).read().then((function(data){(0,validate.FF)(data),done()})).catch((function(e){return done(e)}))})),it("write should ",(function(done){new RestAPI({url:"https://monsterjs.org/assets/world.json"},{url:"https://monsterjs.org/assets/world.json"}).write().then((function(data){(0,validate.FF)(data),done()})).catch((function(e){return done(e)}))}))})),describe("rw with errors",(function(){it("read should throw exception",(function(done){returnStatus=400,new RestAPI({url:"https://monsterjs.org/assets/world.json"}).read().then((function(data){done("should not run.")})).catch((function(e){return done()}))})),it("write should ",(function(done){returnStatus=400,new RestAPI({url:"https://monsterjs.org/assets/world.json"},{url:"https://monsterjs.org/assets/world.json"}).write().then((function(data){(0,validate.FF)(data),done("error")})).catch((function(e){return done()}))}))}))}));var storageObjectSymbol=Symbol("storageObject"),Storage=function(_Datasource){(0,inherits.Z)(Storage,_Datasource);var _super=storage_createSuper(Storage);function Storage(key){var _this;return(0,classCallCheck.Z)(this,Storage),(_this=_super.call(this)).setOption("key",(0,validate.Cp)(key)),_this}return(0,createClass.Z)(Storage,[{key:"defaults",get:function get(){return Object.assign({},(0,esm_get.Z)((0,getPrototypeOf.Z)(Storage.prototype),"defaults",this),{key:void 0})}},{key:storageObjectSymbol,value:function value(){throw new Error("this method must be implemented by derived classes")}},{key:"read",value:function read(){var self=this,storage=self[storageObjectSymbol]();return new Promise((function(resolve){var data=JSON.parse(storage.getItem(self.getOption("key")));self.set(null!=data?data:{}),resolve()}))}},{key:"write",value:function write(){var self=this,storage=self[storageObjectSymbol]();return new Promise((function(resolve){var data=self.get();void 0===data?storage.removeItem(self.getOption("key")):storage.setItem(self.getOption("key"),JSON.stringify(data)),resolve()}))}},{key:"getClone",value:function getClone(){return new Storage(this[constants.eB].getRealSubject().options.key)}}]),Storage}(Datasource);function sessionstorage_createSuper(Derived){var hasNativeReflectConstruct=function sessionstorage_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Data.Datasource",Storage);var storageReference,SessionStorage=function(_Storage){(0,inherits.Z)(SessionStorage,_Storage);var _super=sessionstorage_createSuper(SessionStorage);function SessionStorage(){return(0,classCallCheck.Z)(this,SessionStorage),_super.apply(this,arguments)}return(0,createClass.Z)(SessionStorage,[{key:storageObjectSymbol,value:function value(){return(0,global.Rf)("sessionStorage")}},{key:"getClone",value:function getClone(){return new SessionStorage(this[constants.eB].getRealSubject().options.key)}}]),SessionStorage}(Storage);function createStorage(){var UNSET=Symbol(),s={},noopCallback=function noopCallback(){},_itemInsertionCallback=noopCallback;return Object.defineProperty(s,"setItem",{get:function get(){return function(k){var v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:UNSET;if(v===UNSET)throw new TypeError("Failed to execute 'setItem' on 'Storage': 2 arguments required, but only 1 present.");k+="",s.hasOwnProperty(k)||_itemInsertionCallback(s.length),s[k]=v+""}}}),Object.defineProperty(s,"getItem",{get:function get(){return function(k){return k+="",s.hasOwnProperty(k)?s[k]:null}}}),Object.defineProperty(s,"removeItem",{get:function get(){return function(k){k+="",s.hasOwnProperty(k)&&delete s[k]}}}),Object.defineProperty(s,"clear",{get:function get(){return function(){for(var k in s)s.hasOwnProperty(k)&&delete s[k]}}}),Object.defineProperty(s,"length",{get:function get(){return Object.keys(s).length}}),Object.defineProperty(s,"key",{value:function value(k){var key=Object.keys(s)[k];return key||null}}),Object.defineProperty(s,"itemInsertionCallback",{get:function get(){return _itemInsertionCallback},set:function set(v){v&&"function"==typeof v||(v=noopCallback),_itemInsertionCallback=v}}),s}function localstorage_createSuper(Derived){var hasNativeReflectConstruct=function localstorage_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,possibleConstructorReturn.Z)(this,result)}}(0,namespace.O)("Monster.Data.Datasource.Storage",SessionStorage),describe("SessionStorage",(function(){afterEach((function(){__webpack_require__.g.sessionStorage=storageReference})),beforeEach((function(){storageReference=__webpack_require__.g.sessionStorage,__webpack_require__.g.sessionStorage=createStorage()})),it("should instance of SessionStorage ",(function(){expect(new SessionStorage("mykey")).to.be.instanceof(SessionStorage)})),describe("rw",(function(){it("read should return object",(function(done){new SessionStorage("mykey").read().then((function(data){done()})).catch((function(e){return done(e)}))})),it("write should ",(function(done){new SessionStorage("mykey").write().then((function(data){done()})).catch((function(e){return done(e)}))}))}))}));var localStorageReference,LocalStorage=function(_Storage){(0,inherits.Z)(LocalStorage,_Storage);var _super=localstorage_createSuper(LocalStorage);function LocalStorage(){return(0,classCallCheck.Z)(this,LocalStorage),_super.apply(this,arguments)}return(0,createClass.Z)(LocalStorage,[{key:storageObjectSymbol,value:function value(){return(0,global.Rf)("localStorage")}},{key:"getClone",value:function getClone(){return new LocalStorage(this[constants.eB].getRealSubject().options.key)}}]),LocalStorage}(Storage);(0,namespace.O)("Monster.Data.Datasource.Storage",LocalStorage),describe("LocalStorage",(function(){afterEach((function(){__webpack_require__.g.localStorage=localStorageReference})),beforeEach((function(){localStorageReference=__webpack_require__.g.localStorage,__webpack_require__.g.localStorage=createStorage()})),it("should instance of LocalStorage ",(function(){expect(new LocalStorage("mykey")).to.be.instanceof(LocalStorage)})),describe("rw",(function(){it("read should return object",(function(done){new LocalStorage("mykey").read().then((function(data){done()})).catch((function(e){return done(e)}))})),it("write should ",(function(done){new LocalStorage("mykey").write().then((function(data){done()})).catch((function(e){return done(e)}))}))}))}));var random_global=(0,global.Rd)();random_global.crypto||(random_global.crypto=new Crypto),describe("Math",(function(){describe(".random()",(function(){it("a greater b should throw error ",(function(){expect((function(){return random(10,2)})).to.throw(Error)})),it(" should return a number ",(function(){var r=random();expect(r).that.is.a("number")})),it(" should return a number ",(function(){expect((function(){return random(5,6)})).to.throw(Error)})),it(" should throw Error we cannot generate numbers larger than 53 bits.",(function(){expect((function(){return random(-999999999,1e20)})).to.throw(Error)})),[[1,100],[500,600],[100,1e3]].forEach((function(data){var a=data.shift(),b=data.shift(),r=random(a,b);it(r+" should return value between "+a+" "+b,(function(){expect(r>=a).to.be.true,expect(r<=b).to.be.true}))})),[[1,100],[500,600],[100,1e3]].forEach((function(data){for(var a=data.shift(),b=data.shift(),sum=0,i=0;i<500;i++)sum+=random(a,b);var avg=sum/500;it(avg+" should between "+a+" "+b,(function(){expect(avg>a).to.be.true,expect(avg<b).to.be.true}))}))}))})),describe("Monster",(function(){describe(".getVersion()",(function(){var monsterVersion;monsterVersion=new Version("1.31.0");var m=namespace.Q.getVersion();it("should "+monsterVersion+" is "+m,(function(){expect(m.compareTo(monsterVersion)).is.equal(0)}))}))})),describe("Namespace",(function(){describe("assignToNamespace",(function(){it("assignToNamespace() without arguments throw exception",(function(){expect((function(){return(0,namespace.O)()})).to.throw(Error)})),it("assignToNamespace() with wrong arguments throw exception",(function(){expect((function(){return(0,namespace.O)({})})).to.throw(Error)})),it("assignToNamespace() without function arguments throw exception",(function(){expect((function(){return(0,namespace.O)("test")})).to.throw(Error)})),it("assignToNamespace() with wrong arguments throw exception",(function(){expect((function(){return(0,namespace.O)("test",{})})).to.throw(Error)})),it("assignToNamespace() with wrong arguments throw exception",(function(){expect((0,namespace.O)("test",(function testMock(){}))).to.be.an.instanceof(Object)})),it("assignToNamespace() with corrupted function as arguments throw exception",(function(){function testMock(){}delete testMock.name,testMock.toString=function(){return{}},expect((function(){return(0,namespace.O)("test",testMock)})).to.throw(Error)})),it("assignToNamespace() with corrupted function as arguments throw exception",(function(){function testMock(){}delete testMock.name,testMock.toString=function(){return"unsupported"},expect((function(){return(0,namespace.O)("test",testMock)})).to.throw(Error)})),it("assignToNamespace() with corrupted function as arguments throw exception",(function(){function testMock(){}delete testMock.name,expect((0,namespace.O)("test",testMock)).to.be.an.instanceof(Object)})),it("assignToNamespace() without name",(function(){var testMockClass=(0,createClass.Z)((function testMockClass(){(0,classCallCheck.Z)(this,testMockClass)}));delete testMockClass.name,expect((0,namespace.O)("test",testMockClass)).to.be.an.instanceof(Object)})),it("Namespace().toString() should return string",(function(){var testMockClass=(0,createClass.Z)((function testMockClass(){(0,classCallCheck.Z)(this,testMockClass)}));expect((0,namespace.O)("Test",testMockClass).toString()).to.be.equal("Monster.Test")}))}))}))}()}(); \ No newline at end of file diff --git a/project.mk b/project.mk new file mode 100644 index 0000000000000000000000000000000000000000..3df94e0491e3f093db8d7b47a16a3cd3254e1374 --- /dev/null +++ b/project.mk @@ -0,0 +1,7 @@ + +## Node Paths +NODE_ROOT_DIR=$(DEPLOYMENT_PATH) + +## Project directory in which the Makefiles should be located +MAKEFILE_IMPORT_PATH=$(PROJECT_ROOT)deployment/makefiles/ + diff --git a/release.json b/release.json new file mode 100644 index 0000000000000000000000000000000000000000..b607d8445e31d388039fe3a64bd4ad64c4bbfb57 --- /dev/null +++ b/release.json @@ -0,0 +1 @@ +{"version":"0.1.16"}